Home
last modified time | relevance | path

Searched refs:currentRuleName (Results 1 – 12 of 12) sorted by relevance

/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g69 private String currentRuleName = null;
79 return currentRuleName;
83 currentRuleName = value;
142 Rule r = grammar.getRule( currentRuleName );
154 grammar.defineRuleRefLabel( currentRuleName, labelTok, elementAST );
185 Rule r = grammar.getRule( currentRuleName );
191 grammar.defineTokenRefLabel( currentRuleName, labelTok, elementAST );
210 Rule r = grammar.getRule( currentRuleName );
240 Rule ruleDescr = grammar.getRule( currentRuleName );
408 currentRuleName = $start.getChild(0).getText();
[all …]
DDefineGrammarItemsWalker.g54 protected String currentRuleName;
101 Rule r = grammar.getRule( currentRuleName );
222 currentRuleName = name;
364 // Rule r = grammar.getRule(currentRuleName);
402 grammar.defineRuleRefLabel(currentRuleName,$id.getToken(),e);
406 grammar.defineWildcardTreeLabel(currentRuleName,$id.getToken(),e);
410 grammar.defineTokenRefLabel(currentRuleName,$id.getToken(),e);
422 grammar.defineRuleListLabel(currentRuleName,$id2.getToken(),a);
426 grammar.defineWildcardTreeListLabel( currentRuleName, $id2.getToken(), a );
430 grammar.defineTokenListLabel(currentRuleName,$id2.getToken(),a);
[all …]
DTreeToNFAConverter.g63 protected String currentRuleName = null;
80 other.currentRuleName = currentRuleName;
88 Rule r = grammar.getLocallyDefinedRule( currentRuleName );
95 other.currentRuleName = currentRuleName;
110 other.currentRuleName = currentRuleName;
219 currentRuleName = $id.text;
220 factory.setCurrentRule(grammar.getLocallyDefinedRule(currentRuleName));
240 if (Rule.getRuleType(currentRuleName) == Grammar.PARSER || grammar.type==Grammar.LEXER)
243 Rule thisR = grammar.getLocallyDefinedRule(currentRuleName);
290 !currentRuleName.equals(Grammar.ARTIFICIAL_TOKENS_RULENAME)}? =>
[all …]
DANTLR.g159 protected String currentRuleName = null;
256 t.enclosingRuleName = _outer.currentRuleName;
264 t.enclosingRuleName = _outer.currentRuleName;
354 Rule.getRuleType(currentRuleName) == Grammar.LEXER) &&
383 String predName = grammar.defineSyntacticPredicate( synpredBlockAST, currentRuleName );
589 currentRuleName=$ruleName.text;
591 grammar.lexerRuleNamesInCombined.add(currentRuleName);
619 $tree.setTreeEnclosingRuleNameDeeply(currentRuleName);
806 …-> {grammarType == Grammar.COMBINED && Rule.getRuleType(currentRuleName) == Grammar.LEXER}? ^(SYNP…
819 : {Rule.getRuleType(currentRuleName) == Grammar.LEXER}? =>
DAssignTokenTypesWalker.g104 protected String currentRuleName;
237 if ( currentRuleName==null && key.equals("tokenVocab") )
300 : id=ID {currentRuleName=$id.text;}
/external/antlr/tool/src/main/java/org/antlr/tool/
DAssignTokenTypesBehavior.java58 currentRuleName = null; in init()
69 if ( currentRuleName==null && grammar.type==Grammar.LEXER ) { in trackString()
94 if ( (currentRuleName==null || in trackString()
95 Character.isLowerCase(currentRuleName.charAt(0))) && in trackString()
DGrammarSanity.java191 String currentRuleName) in checkRuleReference() argument
Dserialize.g62 protected String currentRuleName;
DGrammar.java1496 String currentRuleName) in defineSyntacticPredicate() argument
2073 String currentRuleName) in checkRuleReference() argument
2075 sanity.checkRuleReference(scopeAST, refAST, argsAST, currentRuleName); in checkRuleReference()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DProfiler.cs76 protected Stack<string> currentRuleName = new Stack<string>(); field in Antlr.Runtime.Debug.Profiler
109 currentRuleName.Push(ruleName); in EnterRule()
116 currentRuleName.Pop(); in ExitRule()
186 descriptor.ruleName = currentRuleName.Peek(); in EnterDecision()
715 currentRuleName.Peek(), in LocationDescription()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DProfiler.cs76 protected Stack<string> currentRuleName = new Stack<string>(); field in Antlr.Runtime.Debug.Profiler
106 currentRuleName.Push(ruleName); in EnterRule()
112 currentRuleName.Pop(); in ExitRule()
173 descriptor.ruleName = currentRuleName.Peek(); in EnterDecision()
655 currentRuleName.Peek(), in LocationDescription()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DProfiler.java131 protected Stack<String> currentRuleName = new Stack<String>(); field in Profiler
163 currentRuleName.push( ruleName ); in enterRule()
170 currentRuleName.pop(); in exitRule()
232 descriptor.ruleName = currentRuleName.peek(); in enterDecision()
739 currentRuleName.peek(), in locationDescription()