parrotcode: the runtime engine for TGE | |
Contents | Compilers |
TGE::Instance - the runtime engine for TGE
Returns a simple initialized TGE::Instance object. Doesn't accept any constructor parameters.
value = AGI.get('attrname')
Fetches the value of a particular attribute from the root node of the grammar.
value = AGI.get('attrname', node)
value = AGI.get('attrname', node, 'type')
Fetches the value of a particular attribute from the node passed in. When working with a tree where the nodes don't know their type (PGE match objects, for example), you must also tell get
the type of the node.
Allison Randal <allison@perl.org>
|