Home | History | Annotate | Download | only in Python3

Lines Matching refs:label

33  *    no label, label, list label  (label/no-label handled together)
59 tokenRef(token,label,elementIndex,terminalOptions={}) ::= <<
62 <label>_tree = <createNodeFromToken(...)>
63 self._adaptor.addChild(root_0, <label>_tree)
68 tokenRefBang(token,label,elementIndex,terminalOptions={}) ::= "<super.tokenRef(...)>"
71 tokenRefRuleRoot(token,label,elementIndex,terminalOptions={}) ::= <<
74 <label>_tree = <createNodeFromToken(...)>
75 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
80 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions={}) ::= <<
82 <listLabel(elem=label,...)>
85 /** label+=TOKEN when output=AST but not rewrite alt */
86 tokenRefAndListLabel(token,label,elementIndex,terminalOptions={}) ::= <<
88 <listLabel(elem=label,...)>
91 /** Match label+=TOKEN^ when output=AST but not rewrite alt */
92 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions={}) ::= <<
94 <listLabel(elem=label,...)>
106 // plus list label plus ... The combinations might require complicated
110 matchSet(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= <%
114 matchRuleBlockSet(s,label,elementIndex,postmatchCode,treeLevel="0",terminalOptions={}) ::= <<
118 matchSetBang(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= "<super.matchSet(...)>"
123 matchSetRuleRoot(s,label,elementIndex,debug,terminalOptions={}) ::= <<
124 <if(label)>
125 <label> = self.input.LT(1)<\n>
133 ruleRef(rule,label,elementIndex,args,scope) ::= <<
135 <finishedBacktracking({self._adaptor.addChild(root_0, <label>.tree)})>
139 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>"
142 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= <<
144 <finishedBacktracking({root_0 = self._adaptor.becomeRoot(<label>.tree, root_0)})>
148 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= <<
150 <listLabel(label, {<label>.tree})>
154 ruleRefBangAndListLabel(rule,label,elementIndex,args,scope) ::= <<
156 <listLabel(label, {<label>.tree})>
160 ruleRefRuleRootAndListLabel(rule,label,elementIndex,args,scope) ::= <<
162 <listLabel(label, {<label>.tree})>
167 wildcard(token,label,elementIndex,terminalOptions={}) ::= <<
170 <label>_tree = self._adaptor.createWithPayload(<label>)
171 self._adaptor.addChild(root_0, <label>_tree)
175 wildcardBang(label,elementIndex) ::= "<super.wildcard(...)>"
177 wildcardRuleRoot(token,label,elementIndex,terminalOptions={}) ::= <<
180 <label>_tree = self._adaptor.createWithPayload(<label>)
181 root_0 = self._adaptor.becomeRoot(<label>_tree, root_0)
185 createNodeFromToken(label,terminalOptions={}) ::= <%
187 <terminalOptions.node>(<label>) <! new MethodNode(IDLabel) !>
189 self._adaptor.createWithPayload(<label>)