NAME ^

TGE::Instance - the runtime engine for TGE

DESCRIPTION ^

new ^

Returns a simple initialized TGE::Instance object. Doesn't accept any constructor parameters.

get ^

  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.

AUTHOR ^

Allison Randal <allison@perl.org>


parrot