Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NonterminalNode ¶
type NonterminalNode interface { rql.ASTNode MatchedNode() rql.ASTNode SetMatchedNode(rql.ASTNode) NonterminalNode SetMatchErrMsg(msg string) NonterminalNode }
A NonterminalNode is a node that can be matched by one or more other nodes when it is unmarshaled. MatchedNode returns the matched node
func NewNonterminalNode ¶
func NewNonterminalNode(n rql.ASTNode, ns ...rql.ASTNode) NonterminalNode
NewNonterminalNode returns a new nonterminal node. This is structured as "n, ns" to indicate at compile-time that the method takes at least one argument.
Click to show internal directories.
Click to hide internal directories.