/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/ |
H A D | FlexAntTasks.jar | META-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ... |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | BaseRecognizer.as | 142 * not parsing. Once in recovery mode, no errors are generated. 156 // yet successfully, don't report any errors. 278 /** Get number of recognition errors (lexer, parser, tree parser). Each 280 * separate count. Does not count the spurious errors found between
|
H A D | RecognizerSharedState.as | 4 * and recover from errors etc... As a separate state object, it can be 28 * one token/tree node is consumed for two errors.
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
H A D | Antlr.Runtime.Tree.pas | 511 /// <summary>In case we don't have a token payload, what is the line for errors? </summary>
|
H A D | Antlr.Runtime.pas | 287 /// errors and keep going, looking for a valid token. 299 /// characters until it gets a good one; errors are not passed through 480 /// and recover from errors 547 /// one token/tree node is consumed for two errors. 741 /// not parsing. Once in recovery mode, no errors are generated. 906 /// Get number of recognition errors (lexer, parser, tree parser). Each 908 /// separate count. Does not count the spurious errors found between 1493 /// is actually what we wanted next. Used for tree node errors too. 4677 // yet successfully, don't report any errors.
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
H A D | TokenSource.pm | 7 # until you get a good one; errors are not passed through to the parser. 35 errors and keep going, looking for a valid token.
|
/external/antlr/antlr-3.4/runtime/Python/ |
H A D | setup.py | 8 from distutils.errors import *
|
H A D | xmlrunner.py | 133 stream.write('<testsuite errors="%(e)d" failures="%(f)d" ' % \ 134 { "e": len(self.errors), "f": len(self.failures) }) 251 self._try_test_run(TestTest, """<testsuite errors="0" failures="0" name="unittest.TestSuite" tests="0" time="0.000"> 265 self._try_test_run(TestTest, """<testsuite errors="0" failures="0" name="unittest.TestSuite" tests="1" time="0.000"> 280 self._try_test_run(TestTest, """<testsuite errors="0" failures="1" name="unittest.TestSuite" tests="1" time="0.000"> 297 self._try_test_run(TestTest, """<testsuite errors="1" failures="0" name="unittest.TestSuite" tests="1" time="0.000"> 314 self._try_test_run(TestTest, """<testsuite errors="0" failures="0" name="unittest.TestSuite" tests="1" time="0.000"> 330 self._try_test_run(TestTest, """<testsuite errors="0" failures="0" name="unittest.TestSuite" tests="1" time="0.000">
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
H A D | t015calc.py | 10 def _evaluate(self, expr, expected, errors=[]): 17 assert len(parser.reportedErrors) == len(errors), parser.reportedErrors 39 # FIXME: most parse errors result in TypeErrors in action code, because
|
H A D | t057autoAST.py | 847 found, errors = self.execParser(grammar, "decl", "int 34 x=1;", 850 errors) 867 found, errors = self.execParser(grammar, "decl", "int =1;", 869 self.assertEquals(["line 1:4 missing ID at u'='"], errors) 886 found, errors = self.execParser(grammar, "decl", "x=1;", 888 self.assertEquals(["line 1:0 mismatched input u'x' expecting set None"], errors) 903 found, errors = self.execParser(grammar, "a", "abc", expectErrors=True) 904 self.assertEquals(["line 1:3 missing INT at '<EOF>'"], errors) 920 found, errors = self.execParser(grammar, "a", "abc", expectErrors=True) 921 self.assertEquals(["line 1:3 mismatched input '<EOF>' expecting INT"], errors) [all...] |
H A D | t058rewriteAST.py | 1368 found, errors = self.execParser(grammar, "decl", "int 34 x=1;", 1371 errors) 1389 found, errors = self.execParser(grammar, "decl", "int =1;", 1391 self.assertEquals(["line 1:4 missing ID at u'='"], errors) 1408 found, errors = self.execParser(grammar, "decl", "x=1;", 1411 errors); 1426 found, errors = self.execParser(grammar, "a", "abc", 1428 self.assertEquals(["line 1:3 missing INT at '<EOF>'"], errors) 1446 found, errors = self.execParser(grammar, "a", "abc ick 34", 1449 errors) [all...] |
H A D | testbase.py | 12 from distutils.errors import *
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
H A D | error.rb | 98 The base class of the variety of syntax errors that can occur during the 99 recognition process. These errors all typically concern an expectation built in 393 symbols. Thus, NoViableAlternative errors indicate that the current input does
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
H A D | auto-ast.rb | 540 result, errors = parse( <<-'END', :decl, 'int 34 x=1;', true ) 550 errors.should == [ "line 1:4 extraneous input \"34\" expecting ID" ] 555 result, errors = parse( <<-'END', :decl, 'int =1;', true ) 565 errors.should == [ "line 1:4 missing ID at \"=\"" ] 570 result, errors = parse( <<-'END', :decl, 'x=1;', true ) 581 errors.should == [ "line 1:0 mismatched input \"x\" expecting set nil" ] 586 result, errors = parse( <<-'END', :a, 'abc', true ) 595 errors.should == [ "line 0:-1 missing INT at \"<EOF>\"" ] 600 result, errors = parse( <<-'END', :a, 'abc', true ) 610 errors [all...] |
H A D | rewrites.rb | 1133 result, errors = parse( <<-'END', :decl, 'int 34 x=1;', true ) 1144 errors.should == [ 'line 1:4 extraneous input "34" expecting ID' ] 1150 result, errors = parse( <<-'END', :decl, 'int =1;', true ) 1161 errors.should == [ 'line 1:4 missing ID at "="' ] 1167 result, errors = parse( <<-'END', :decl, 'x=1;', true ) 1178 errors.should == [ 'line 1:0 mismatched input "x" expecting set nil' ] 1184 result, errors = parse( <<-'END', :a, 'abc', true ) 1193 errors.should == [ "line 0:-1 missing INT at \"<EOF>\"" ] 1200 result, errors = parse( <<-'END', :a, 'abc ick 34', true ) 1211 errors [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
H A D | backtracking.rb | 48 * as errors within the function itself don't make it fail 49 * to predict that it's a function. Weird errors previously. 51 * because it makes debugging, actions, and errors harder.
|
H A D | calc.rb | 71 errors = parser.reported_errors 72 return [ value, errors ] 87 parser_value, errors = evaluate( expression ) 93 val, errors = evaluate "6 - (2*1" 95 errors.should have( 1 ).thing 96 errors.first.should =~ /mismatched/
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | ErrorManager.java | 50 /** Defines all the errors ANTLR can generator for both the tool and for 62 * find any errors/mismatches rather than leaving a mistyped string in 79 * During initialization of this class, all errors go straight to System.err. 81 * can I do errors properly? For example, if the string template group file 89 * TODO: get antlr.g etc.. parsing errors to come here. 93 // file errors 112 // code gen errors 204 // Dependency sorting errors 261 public int errors; field in class:ErrorManager.ErrorState 273 /** Track the number of errors regardles [all...] |
H A D | GrammarReport.java | 67 int errors; field in class:GrammarReport.ReportData 245 data.errors = ErrorManager.getErrorState().errors; 464 buf.append("Number of errors: "); 465 buf.append(data.errors);
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
H A D | BaseTest.java | 75 * stdout and stderr. This doesn't trap errors from running antlr. 147 /** Return true if all is ok, no errors */ 173 if ( equeue.errors.size()>0 ) { 175 System.err.println("antlr reports errors from "+options); 176 for (int i = 0; i < equeue.errors.size(); i++) { 177 Message msg = (Message) equeue.errors.get(i); 438 System.out.println(equeue.errors); 439 assertTrue("number of errors mismatch", n, equeue.errors.size()); 442 for (int i = 0; i < equeue.errors [all...] |
H A D | ErrorQueue.java | 39 List errors = new LinkedList(); field in class:ErrorQueue 47 errors.add(msg); 55 errors.add(msg); 59 return infos.size() + errors.size() + warnings.size(); 64 "errors: "+errors+
|
H A D | TestAttributes.java | 111 assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size()); 137 assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size()); 165 assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size()); 201 assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size()); 226 assertEquals("unexpected errors: "+equeue, 0, equeue.errors [all...] |
H A D | TestCharDFAConversion.java | 170 Message msg = (Message)equeue.errors.get(0); 350 Message msg = (Message)equeue.errors.get(0);
|
H A D | TestCompositeGrammars.java | 46 assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size()); 227 assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size()); 255 assertEquals("unexpected errors: "+equeue, 1, equeue.errors.size()); 257 assertEquals("unexpected errors: "+equeue, expectedError, equeue.errors.get(0).toString().replaceFirst("\\-[0-9]+","")); 306 assertEquals("unexpected errors: "+equeue, 1, equeue.errors [all...] |