Home
last modified time | relevance | path

Searched refs:ruleScope (Results 1 – 18 of 18) sorted by relevance

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DNameSpaceChecker.java59 if ( r.ruleScope!=null ) { in checkConflicts()
60 List attributes = r.ruleScope.getAttributes(); in checkConflicts()
233 else if ( r.ruleScope!=null && r.ruleScope.getAttribute(label.getText())!=null ) { in checkForLabelConflict()
DRule.java74 public AttributeScope ruleScope; field in Rule
373 if ( ruleScope!=null && ruleScope.getAttribute(name)!=null ) { in getAttributeScope()
374 scope = ruleScope; in getAttributeScope()
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DDefineGrammarItemsWalker.g295 r.ruleScope = grammar.createRuleScope(r.name,$attrs.getToken());
296 r.ruleScope.isDynamicRuleScope = true;
297 r.ruleScope.addAttributes($attrs.text, ';');
299 r.ruleScope.defineNamedAction(action, $AttributeScopeActions::actions.get(action));
DActionTranslator.g162 return scopeRule.ruleScope;
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg505 <rules: {r |<if(r.ruleDescriptor.ruleScope)>
506 <ruleAttributeScopeFuncDecl(scope=r.ruleDescriptor.ruleScope)>
507 <ruleAttributeScopeFuncs(scope=r.ruleDescriptor.ruleScope)>
689 <rules:{r |<ruleAttributeScopeDecl(scope=r.ruleDescriptor.ruleScope)>}>
725 <rules: {r |<if(r.ruleDescriptor.ruleScope)>
726 <ruleAttributeScopeDef(scope=r.ruleDescriptor.ruleScope)>
1205 <rules:{r |<ruleAttributeScopeFuncMacro(scope=r.ruleDescriptor.ruleScope)>}>
1316 <rules: {r |<if(r.ruleDescriptor.ruleScope)>
1317 <ruleAttributeScope(scope=r.ruleDescriptor.ruleScope)><\n>
1372 …<rules: {r |<if(r.ruleDescriptor.ruleScope)><ruleAttributeScopeFree(scope=r.ruleDescriptor.ruleSco…
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg565 <rule.ruleDescriptor:{ ruleDescriptor | <ruleAttributeScopeInterface(scope=ruleDescriptor.ruleScope
572 <rules:{rule | <rule.ruleDescriptor.ruleScope:ruleAttributeScopeDecl(scope=rule.ruleDescriptor.rule…
674 …escriptor:{ ruleDescriptor | <ruleAttributeScopeImplementation(scope=ruleDescriptor.ruleScope)>}>}>
682 <rules:{rule | <rule.ruleDescriptor.ruleScope:ruleAttributeScope()>}>
722 <rules:{rule | <rule.ruleDescriptor.ruleScope:ruleAttributeScopeInit()>}>
910 <ruleDescriptor.ruleScope:{it | [<it.name>_stack push:[<it.name>_Scope new<it.name>_Scope]];}>
916 <ruleDescriptor.ruleScope:{it | [<it.name>_stack pop];}; separator="\n">
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg400 <rules: {r | <ruleAttributeScopeInit(scope=r.ruleDescriptor.ruleScope)>}>
593 <ruleAttributeScopeDeclaration(scope=ruleDescriptor.ruleScope)>
637 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
749 <ruleDescriptor.ruleScope:{<it.name>Stack.Push(T<it.name>Scope.Create);}; separator="\n">
754 <ruleDescriptor.ruleScope:{<it.name>Stack.Pop;}; separator="\n">
846 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg238 <rules:{it|<ruleAttributeScopeClass(scope=it.ruleDescriptor.ruleScope)>}>
261 <rules:{it | <ruleAttributeScopeStack(scope=it.ruleDescriptor.ruleScope)>}>
493 <ruleDescriptor.ruleScope:{it | self.<it.name>_stack.append(<it.name>_scope())}; separator="\n">
498 <ruleDescriptor.ruleScope:{it | self.<it.name>_stack.pop()}; separator="\n">
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg205 <rules:{it | <ruleAttributeScopeClass(.ruleDescriptor.ruleScope)>}>
256 …ributeScopeStack()><\n><endif>}><rules:{it | <ruleAttributeScopeStack(.ruleDescriptor.ruleScope)>}>
550 <ruleDescriptor.useScopes:{it | @<it>_stack.push( @@<it>.new )<\n>}><ruleDescriptor.ruleScope:{it |…
554 <ruleDescriptor.useScopes:{it | @<it>_stack.pop<\n>}><ruleDescriptor.ruleScope:{it | @<it.name>_sta…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/
DCPP.stg408 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
460 <ruleDescriptor.ruleScope:{<it.name>_stack.push(new <it.name>_scope());}; separator="\n">
503 <ruleDescriptor.ruleScope:{<it.name>_stack.pop();}; separator="\n">
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg316 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
381 <ruleDescriptor.ruleScope:{<it.name>_stack.push(new Object());}; separator="\n">
386 <ruleDescriptor.ruleScope:{<it.name>_stack.pop();}; separator="\n">
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg319 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
390 <ruleDescriptor.ruleScope:{this.<it.name>_stack.push({});}; separator="\n">
395 <ruleDescriptor.ruleScope:{this.<it.name>_stack.pop();}; separator="\n">
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg337 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
408 <ruleDescriptor.ruleScope:{<it.name>_stack.push(new <it.name>_scope());}; separator="\n">
413 <ruleDescriptor.ruleScope:{<it.name>_stack.pop();}; separator="\n">
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg366 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
434 <ruleDescriptor.ruleScope:{it |<it.name>_stack.push(new <it.name>_scope());}; separator="\n">
439 <ruleDescriptor.ruleScope:{it |<it.name>_stack.pop();}; separator="\n">
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg343 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
412 <ruleDescriptor.ruleScope:{it | <it.name>_stack.push(new <it.name>_scope())}; separator="\n">
417 <ruleDescriptor.ruleScope:{it | <it.name>_stack.pop()}; separator="\n">
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg508 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
604 <ruleDescriptor.ruleScope:{it|<it.name>_stack.Push(new <it.name>_scope());<it.name>_scopeInit(<it.n…
609 <ruleDescriptor.ruleScope:{it|<it.name>_scopeAfter(<it.name>_stack.Peek());<it.name>_stack.Pop();};…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg489 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)>
582 <ruleDescriptor.ruleScope:{it|<it.name>_stack.Push(new <it.name>_scope(this));<it.name>_scopeInit(<…
587 <ruleDescriptor.ruleScope:{it|<it.name>_scopeAfter(<it.name>_stack.Peek());<it.name>_stack.Pop();};…
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java1090 scope = r.ruleScope; // if not global, might be rule scope in issueInvalidScopeError()