Searched refs:parameterScope (Results 1 – 17 of 17) sorted by relevance
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | NameSpaceChecker.java | 81 Set conflictingKeys = r.returnScope.intersection(r.parameterScope); in checkForRuleArgumentAndReturnValueConflicts() 206 (r.parameterScope!=null&&r.parameterScope.getAttribute(attrName)!=null) ) in checkForRuleScopeAttributeConflict() 238 (r.parameterScope!=null&&r.parameterScope.getAttribute(label.getText())!=null) ) in checkForLabelConflict()
|
D | Rule.java | 71 public AttributeScope parameterScope; field in Rule 385 else if ( parameterScope!=null && parameterScope.getAttribute(name)!=null ) { in getLocalAttributeScope() 386 scope = parameterScope; in getLocalAttributeScope()
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | Delphi.stg | 228 procedure m<rule.ruleName>(<rule.ruleDescriptor.parameterScope:parameterScope(scope=rule)>);<\n> 449 function <ruleDescriptor.name>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>): I<returnT… 452 function <ruleDescriptor.name>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>): <returnTy… 454 procedure <ruleDescriptor.name>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>);<\n> 461 …grammar.recognizerName>.<ruleDescriptor.name>(<ruleDescriptor.parameterScope:parameterScope(scope=… 464 …grammar.recognizerName>.<ruleDescriptor.name>(<ruleDescriptor.parameterScope:parameterScope(scope=… 466 …grammar.recognizerName>.<ruleDescriptor.name>(<ruleDescriptor.parameterScope:parameterScope(scope=… 470 …r:delegateName()>.Implementor).<ruleDescriptor.name>(<ruleDescriptor.parameterScope.attributes:{a|… 506 …T<grammar.recognizerName>.<ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope(scope=… 643 function T<grammar.recognizerName>.<ruleName>(<ruleDescriptor.parameterScope:parameterScope(scope=i… [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | Ruby.stg | 283 def <ruleName><if(ruleDescriptor.parameterScope)>( <ruleDescriptor.parameterScope:parameterScope()>… 304 def <ruleName><if(ruleDescriptor.parameterScope)>( <ruleDescriptor.parameterScope:parameterScope()>… 318 def <ruleDescriptor.name><if(ruleDescriptor.parameterScope)>( <ruleDescriptor.parameterScope:parame… 319 …ruleDescriptor.grammar, n=ruleDescriptor.name, args={<ruleDescriptor.parameterScope.attributes:{it… 389 parameterScope(scope) ::= << 1216 …eName; format="lexerRule"><if(ruleDescriptor.parameterScope)>( <ruleDescriptor.parameterScope:para… 1449 ….name; format="lexerRule"><if(ruleDescriptor.parameterScope)>( <ruleDescriptor.parameterScope:para… 1450 …mar, n={<ruleDescriptor.name; format="lexerRule">}, args=ruleDescriptor.parameterScope.attributes)>
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 730 …e>_Ctx_struct * ctx<if(r.ruleDescriptor.parameterScope)>, <endif><r.ruleDescriptor.parameterScope:… 733 …e>_Ctx_struct * ctx<if(r.ruleDescriptor.parameterScope)>, <endif><r.ruleDescriptor.parameterScope:… 738 …name>_Ctx_struct * ctx<if(ruleDescriptor.parameterScope)>, <endif><ruleDescriptor.parameterScope:p… 881 …me> (p<name> ctx<if(r.ruleDescriptor.parameterScope)>, <endif><r.ruleDescriptor.parameterScope:… 1210 …me> (p<name> ctx<if(r.ruleDescriptor.parameterScope)>, <endif><r.ruleDescriptor.parameterScope:… 1220 …ptor.name>(p<name> ctx<if(ruleDescriptor.parameterScope)>, <endif><ruleDescriptor.parameterScope:p… 1449 …name>(p<name> ctx<if(ruleDescriptor.parameterScope.attributes)>, <endif><ruleDescriptor.parameterS… 1451 ….grammar:delegateName()><if(ruleDescriptor.parameterScope.attributes)>, <endif><ruleDescriptor.par… 1520 static void <ruleName>_fragment(p<name> ctx <ruleDescriptor.parameterScope:parameterScope()>) 1616 <ruleName>(p<name> ctx<if(ruleDescriptor.parameterScope)>, <endif><ruleDescriptor.parameterScope:pa… [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ActionScript.stg | 214 …parameterScope:parameterScope(scope=it)>):<returnType()> \{ <if(ruleDescriptor.hasReturnValue)>ret… 256 public final function <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope(scope=it)>)… 319 public final function <ruleName>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>):<returnT… 447 public final function m<ruleName>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>):void { 1123 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | JavaScript.stg | 207 …parameterScope:parameterScope(scope=it)>) \{ <if(ruleDescriptor.hasReturnValue)>return <endif>this… 260 <ruleName>_fragment: function(<ruleDescriptor.parameterScope:parameterScope(scope=it)>) { 325 <ruleName>: function(<ruleDescriptor.parameterScope:parameterScope(scope=it)>) { 456 m<ruleName>: function(<ruleDescriptor.parameterScope:parameterScope(scope=it)>) { 1173 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
D | Scala.stg | 236 …parameterScope:parameterScope()>): <returnType()> = \{ <if(ruleDescriptor.hasReturnValue)>return <… 282 def <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope()>): Unit = { 349 final def <ruleName>(<ruleDescriptor.parameterScope:parameterScope()>): <returnType()> = { 480 final def m<ruleName>(<ruleDescriptor.parameterScope:parameterScope()>): Unit = { 1219 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | Java.stg | 251 …parameterScope:parameterScope()>) throws <ruleDescriptor.throwsSpec; separator=", "> { <if(ruleDes… 306 public final void <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope()>) throws <rul… 371 public final <returnType()> <ruleName>(<ruleDescriptor.parameterScope:parameterScope()>) throws <ru… 501 public final void m<ruleName>(<ruleDescriptor.parameterScope:parameterScope()>) throws RecognitionE… 1235 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | Python.stg | 297 def <ruleDescriptor.name>(self, <ruleDescriptor.parameterScope:parameterScope()>): 298 …riptor.grammar:delegateName()>.<ruleDescriptor.name>(<ruleDescriptor.parameterScope.attributes:{a|… 339 def <ruleName>_fragment(self, <ruleDescriptor.parameterScope:parameterScope()>): 408 def <ruleName>(self, <ruleDescriptor.parameterScope:parameterScope()>): 564 def m<ruleName>(self, <ruleDescriptor.parameterScope:parameterScope()>): 1299 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ObjC.stg | 273 …e>_fragment<endif> <if(rule.ruleDescriptor.parameterScope)><rule.ruleDescriptor.parameterScope:par… 604 …me>_fragment<endif><if(rule.ruleDescriptor.parameterScope)><rule.ruleDescriptor.parameterScope:par… 842 - (<returnType()>) <ruleName><ruleDescriptor.parameterScope:parameterScope()> 974 - (void) m<ruleName><if(ruleDescriptor.parameterScope)><ruleDescriptor.parameterScope:parameterScop… 1915 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
D | CPP.stg | 339 public void <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope(scope=it)>) throws Re… 413 public <returnType()> <ruleName>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>) throw(an… 518 void m<ruleName>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>) throw(antlr3::BaseRecogn… 1221 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | CSharp2.stg | 323 …parameterScope:parameterScope()>) <!throws RecognitionException !>{ <if(ruleDescriptor.hasReturnVa… 434 public <!final !>void <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope()>) 519 …turnType(ruleDescriptor)> <ruleName; format="id">(<ruleDescriptor.parameterScope:parameterScope()>) 687 …,ruleDescriptor=ruleDescriptor)> void m<ruleName>(<ruleDescriptor.parameterScope:parameterScope()>) 1533 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | CSharp3.stg | 315 …parameterScope:parameterScope()>) <!throws RecognitionException !>{ <if(ruleDescriptor.hasReturnVa… 415 public <!final !>void <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope()>) 497 …turnType(ruleDescriptor)> <ruleName; format="id">(<ruleDescriptor.parameterScope:parameterScope()>) 663 …,ruleDescriptor=ruleDescriptor)> void m<ruleName>(<ruleDescriptor.parameterScope:parameterScope()>) 1517 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | Perl5.stg | 272 # <ruleDescriptor.parameterScope:parameterScope(scope=it)> 343 my ($self, <ruleDescriptor.parameterScope:parameterScope(scope=it)>) = @_; 475 # <ruleDescriptor.parameterScope:parameterScope(scope=it)> 1212 parameterScope(scope) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | DefineGrammarItemsWalker.g | 234 r.parameterScope = grammar.createParameterScope(name,$args.getToken()); 235 r.parameterScope.addAttributes($args.text, ',');
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestAttributes.java | 155 AttributeScope parameters = r.parameterScope; in testBracketArgParsing() 268 List<Attribute> attrs = ra.parameterScope.getAttributes(); in testGenericsAsArgumentDefinition() 297 List<Attribute> attrs = ra.parameterScope.getAttributes(); in testGenericsAsArgumentDefinition2()
|