ERights Home elang / kernel 
Back to: Method Node On to: Script Node

Matcher Node


x

BNF:
"match" pattern "{" eExpr "}"
XML DTD:
<!ELEMENT matcher (%pattern;, %eExpr;)>
Java:

Compiles to a Java method named "__match" as if we were compiling

to __match(pattern) :any { eExpr }

This works only because the E-to-Java binding mechanism knows to treat Java "__match" methods specially. XXX document the binding semantics.

Example:
 
in Kernel-E:
 
in XML:
 
in Java:
 

 

x
 
Unless stated otherwise, all text on this page which is either unattributed or by Mark S. Miller is hereby placed in the public domain.
ERights Home elang / kernel 
Back to: Method Node On to: Script Node
Download    FAQ    API    Mail Archive    Donate

report bug (including invalid html)

Golden Key Campaign Blue Ribbon Campaign