ANTLRMorph provides a set of special symbols you can use in actions within your morph grammar, and most of these symbols are inherited from ANTLR v3.
Syntax |
Description |
|---|---|
$enclosingRule.attr |
|
$tokenLabel.prop |
|
$rulelabel.attr |
|
$label |
either a token label or token/rule list label like label+=expr. |
$tokenref |
|
$x::y |
the only way to access the attributes within a dynamic scope |
The following symbols are unique in morph.
Syntax |
Description |
|---|---|
$x.get("...") |
x is an enclosing rule. this is used to retrieve the object you put into the parse tree node. |
1 Comment
Hide/Show CommentsJan 03, 2011
Anonymous
Discount [url=http://www.pickshoxshoes.com/\]nike shox[/url] all the hot sales, you will find [url=http://www.pickshoxshoes.com/\]nike shox shoes[/url] will be on the website, welcome to visit [url=http://www.pickshoxshoes.com/\]nike shoes[/url] store