Defines classes for parsing and compiling node declarations, which consist of either a plain box name (indicating a macro input or output) or a box name and node name separated by a dot:
<boxname.nodename|boxname>
Represents the abstract syntax for an animation node reference within a connection declaration. Consists of a box name and an optional node name to clarify which of the box’s nodes is involved in the connection. If the node name is blank, it is assumed that the box name by itself is sufficient to deduce the node, as in the case of a macro input or output box.
Initializes a new node syntax object to refer to some optionally named node in a box with the given name.
Compiles this node syntax structure into a NodeDeclaration object as either a source or a destination node.
Parameters: |
|
---|---|
Returns: | The newly created node declaration. |
Raises : | a CompilationError if any static checks fail. |
Parses the given input text to produce a new NodeSyntax object.
Returns: | the newly created syntax object. |
---|---|
Raises : | a ParsingError if the syntax is invalid. |