Home
last modified time | relevance | path

Searched refs:alreadyParsedRule (Results 1 – 25 of 29) sorted by relevance

12

/external/doclava/src/com/google/doclava/parser/
DJavaParser.java474 if ( state.backtracking>0 && alreadyParsedRule(input, 1) ) { return ; } in compilationUnit()
662 if ( state.backtracking>0 && alreadyParsedRule(input, 2) ) { return ; } in packageDeclaration()
713 if ( state.backtracking>0 && alreadyParsedRule(input, 3) ) { return ; } in importDeclaration()
1019 if ( state.backtracking>0 && alreadyParsedRule(input, 4) ) { return ; } in qualifiedImportName()
1100 if ( state.backtracking>0 && alreadyParsedRule(input, 5) ) { return ; } in typeDeclaration()
1182 if ( state.backtracking>0 && alreadyParsedRule(input, 6) ) { return ; } in classOrInterfaceDeclaration()
1260 if ( state.backtracking>0 && alreadyParsedRule(input, 7) ) { return ; } in modifiers()
1452 if ( state.backtracking>0 && alreadyParsedRule(input, 8) ) { return ; } in variableModifiers()
1546 if ( state.backtracking>0 && alreadyParsedRule(input, 9) ) { return ; } in classDeclaration()
1624 if ( state.backtracking>0 && alreadyParsedRule(input, 10) ) { return ; } in normalClassDeclaration()
[all …]
/external/antlr/runtime/C/include/
Dantlr3baserecognizer.h286 ANTLR3_BOOLEAN (*alreadyParsedRule) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, member
/external/antlr/runtime/Cpp/include/
Dantlr3baserecognizer.hpp434 bool alreadyParsedRule(ANTLR_MARKER ruleIndex);
Dantlr3parser.inl295 return this->get_rec()->alreadyParsedRule(ruleIndex);
Dantlr3lexer.inl545 return this->get_rec()->alreadyParsedRule(ruleIndex);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DDbg.stg79 - (BOOL) alreadyParsedRule:(id<IntStream>) input Index:(NSInteger) ruleIndex
82 return super.alreadyParsedRule(input, ruleIndex);
DObjC.stg445 - (BOOL)alreadyParsedRule:(id\<IntStream\>)anInput RuleIndex:(NSInteger)ruleIndex
447 if ( state.backtracking > 1 ) return [super alreadyParsedRule:anInput RuleIndex:ruleIndex];
840 if ( state.backtracking > 0 && [self alreadyParsedRule:input RuleIndex:<ruleDescriptor.index>] ) { …
/external/antlr/runtime/ObjC/Framework/
DBaseRecognizer.h160 - (BOOL) alreadyParsedRule:(id<IntStream>)anInput RuleIndex:(NSInteger)ruleIndex;
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DDbg.stg65 public boolean alreadyParsedRule(IntStream input, int ruleIndex) {
68 return super.alreadyParsedRule(input, ruleIndex);
DJava.stg193 public boolean alreadyParsedRule(IntStream input, int ruleIndex) {
194 if ( state.backtracking>1 ) return super.alreadyParsedRule(input, ruleIndex);
352 if ( state.backtracking>0 && alreadyParsedRule(input, <ruleDescriptor.index>) ) { <returnStatement(…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DDbg.stg102 public boolean alreadyParsedRule(IntStream input, int ruleIndex) {
104 return super.alreadyParsedRule(input, ruleIndex);
DPython3.stg212 def alreadyParsedRule(self, input, ruleIndex):
214 return super().alreadyParsedRule(input, ruleIndex)
391 if self._state.backtracking > 0 and self.alreadyParsedRule(self.input, <ruleDescriptor.index>):
392 # for cached failed rules, alreadyParsedRule will raise an exception
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DDbg.stg102 public boolean alreadyParsedRule(IntStream input, int ruleIndex) {
104 return super.alreadyParsedRule(input, ruleIndex);
DPython.stg209 def alreadyParsedRule(self, input, ruleIndex):
211 return super(<grammar.recognizerName>, self).alreadyParsedRule(input, ruleIndex)
384 if self._state.backtracking > 0 and self.alreadyParsedRule(self.input, <ruleDescriptor.index>):
385 # for cached failed rules, alreadyParsedRule will raise an exception
/external/antlr/runtime/C/src/
Dantlr3baserecognizer.c73 static ANTLR3_BOOLEAN alreadyParsedRule (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleI…
154 recognizer->alreadyParsedRule = alreadyParsedRule; in antlr3BaseRecognizerNew()
1918 alreadyParsedRule (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex) in alreadyParsedRule() function
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DBaseRecognizer.js866 alreadyParsedRule: function(input, ruleIndex) {
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DBaseRecognizer.java814 public boolean alreadyParsedRule(IntStream input, int ruleIndex) { in alreadyParsedRule() method in BaseRecognizer
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg135 alreadyParsedRule: function(input, ruleIndex) {
137 …return <grammar.recognizerName>.superclass.prototype.alreadyParsedRule.call(this, input, ruleIndex…
301 if ( this.state.backtracking>0 && this.alreadyParsedRule(this.input, <ruleDescriptor.index>) ) { re…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg177 public boolean alreadyParsedRule(IntStream input, int ruleIndex) {
178 if ( backtracking>1 ) return super.alreadyParsedRule(input, ruleIndex);
315 if ( backtracking>0 && alreadyParsedRule(input, <ruleDescriptor.index>) ) { return <ruleReturnValue…
/external/antlr/runtime/Python/antlr3/
Drecognizers.py928 def alreadyParsedRule(self, input, ruleIndex): member in BaseRecognizer
/external/antlr/runtime/Python3/antlr3/
Drecognizers.py903 def alreadyParsedRule(self, input, ruleIndex): member in BaseRecognizer
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg170 override def alreadyParsedRule(input: IntStream, ruleIndex: Int):Boolean {
171 if ( state.backtracking>1 ) return super.alreadyParsedRule(input, ruleIndex)
325 if ( state.backtracking>0 && alreadyParsedRule(input, <ruleDescriptor.index>) ) { return <ruleRetur…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg158 public override function alreadyParsedRule(input:IntStream, ruleIndex:int):Boolean {
159 if ( this.state.backtracking>1 ) return super.alreadyParsedRule(input, ruleIndex);
305 if ( this.state.backtracking>0 && alreadyParsedRule(input, <ruleDescriptor.index>) ) { return <rule…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg270 #define HAVEPARSEDRULE(r) RECOGNIZER->alreadyParsedRule(RECOGNIZER, r)
371 #define HAVEPARSEDRULE(r) RECOGNIZER->alreadyParsedRule(RECOGNIZER, r)
451 #define HAVEPARSEDRULE(r) RECOGNIZER->alreadyParsedRule(RECOGNIZER, r)
876 #define HAVEPARSEDRULE(r) if (BACKTRACKING>1) { RECOGNIZER->alreadyParsedRule(RECOGNIZER, r) }
/external/antlr/runtime/ObjC/Framework/examples/fuzzy/
DFuzzy.m126 - (BOOL)alreadyParsedRule:(id<IntStream>)anInput RuleIndex:(NSInteger)ruleIndex
128 if ( state.backtracking > 1 ) return [super alreadyParsedRule:anInput RuleIndex:ruleIndex];

12