/external/antlr/antlr-3.4/runtime/Ruby/ |
README.txt | 23 While it does provide implementation for basic lexer and parser classes, the 85 # see how the lexer tokenizes some input
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
error.rb | 71 # the various reporting methods in Parser and Lexer can be overridden 281 lexer = MissingTokenExample::Lexer.new( "ac" ) # <= notice the missing 'b' 282 tokens = ANTLR3::CommonTokenStream.new( lexer ) 430 lexer grammar EarlyExitDemo; 439 lexer = EarlyExitDemo::Lexer.new( input ) 440 lexer.next_token
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarSerializerFoo.java | 174 if ( g.type!=Grammar.LEXER ) { 179 // else lexer???
|
NameSpaceChecker.java | 105 else if ( grammar.type==Grammar.LEXER && 123 * If you ref ID in a combined grammar and don't define ID as a lexer rule 147 // associated lexer rule.
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestJavaCodeGeneration.java | 56 "lexer grammar T;\n" + 115 "lexer grammar T; \n" +
|
TestSymbolDefinitions.java | 71 "lexer grammar t;\n" + 111 // 'x' is token and char in lexer rule 121 "lexer grammar t;" + newline + 346 "lexer grammar t;\n" + 377 "lexer grammar t;\n"+ 459 "lexer grammar t;\n"+ 528 "lexer grammar t;\n"+ 781 "lexer grammar B; \n" +
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
DirectiveParser.cpp | 110 void skipUntilEOD(pp::Lexer *lexer, pp::Token *token) 114 lexer->lex(token); 143 class DefinedParser : public Lexer 146 DefinedParser(Lexer *lexer, 149 : mLexer(lexer), 203 Lexer *mLexer;
|
/external/owasp/sanitizer/ |
CHANGE_LOG.html | 17 filtering, and replaces the old CSS lexer that used regular 42 <li value="104">Changed lexer to treat <code><?…></code>
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRLexer.m | 81 // wack Lexer state variables 114 // this method may be overridden in the generated lexer if we generate a filtering lexer. 250 // try to change all those occurrences to -LT: if possible (i.e. if ANTLR can be made to generate LA only for lexer code) 320 /** TODO: not thought about recovery in lexer yet.
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
LL1Analyzer.java | 177 if ( grammar.type!=Grammar.LEXER && look.member(Label.EOR_TOKEN_TYPE) ) { 185 else if ( grammar.type==Grammar.LEXER && look.member(Label.EOT) ) { 204 if ( grammar.type==Grammar.LEXER ) { 251 if ( grammar.type!=Grammar.LEXER && tset.member(Label.EOR_TOKEN_TYPE) ) { 300 if ( grammar.type==Grammar.LEXER ) {
|
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
Lexer.java | 19 * $Id: Lexer.java 524810 2007-04-02 15:51:55Z zongaro $ 32 class Lexer 73 * Create a Lexer object. 75 * @param compiler The owning compiler for this lexer. 80 Lexer(Compiler compiler, PrefixResolver resolver,
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
auto-ast.rb | 13 grammar_module::Lexer.send( :include, ANTLR3::Test::CollectErrors ) 14 grammar_module::Lexer.send( :include, ANTLR3::Test::CaptureOutput ) 18 lexer = grammar_module::Lexer.new( input ) 19 parser = grammar_module::Parser.new( lexer ) 41 grammar_module::Lexer.send( :include, ANTLR3::Test::CollectErrors ) 42 grammar_module::Lexer.send( :include, ANTLR3::Test::CaptureOutput ) 48 lexer = grammar_module::Lexer.new( input ) 49 parser = grammar.module::Parser.new( lexer ) [all...] |
/external/chromium_org/third_party/ply/ |
yacc.py | 195 self.lexer = None 257 def parse(self,input=None,lexer=None,debug=0,tracking=0,tokenfunc=None): 261 return self.parsedebug(input,lexer,debug,tracking,tokenfunc) 263 return self.parseopt(input,lexer,debug,tracking,tokenfunc) 265 return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc) 282 def parsedebug(self,input=None,lexer=None,debug=None,tracking=0,tokenfunc=None): 295 # If no lexer was given, we will try to use the lex module 296 if not lexer: 298 lexer = lex.lexer [all...] |
/packages/apps/Calculator/ |
arity-2.1.2.jar | |
/cts/tools/dasm/src/java_cup/ |
Main.java | 164 if (lexer.error_count == 0) 440 lexer.emit_error("Internal error: Unexpected exception"); 475 lexer.warning_count++; 494 lexer.warning_count++; 573 lexer.error_count++; 626 System.err.println(" " + lexer.error_count + " error" + 627 plural(lexer.error_count) + " and " + lexer.warning_count + 628 " warning" + plural(lexer.warning_count));
|
parser.java | 326 lexer.init(); 333 return lexer.next_token(); 345 lexer.emit_error(message); 352 lexer.emit_error(message); 481 lexer.emit_error( "Symbol \"" + (/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val + 509 lexer.emit_error("Symbol \"" + (/*term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val + 600 if (lexer.error_count == 0) 601 lexer.emit_error("Symbol \"" + (/*symid*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + 690 lexer.emit_error("Syntax Error"); 713 if (lexer.error_count == 0 [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
BufferedTokenStream.java | 36 * lexer. Useful when the parser or lexer has to set context/mode info before 260 /** Get all tokens from lexer until EOF */
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
ANTLRStringStream.js | 3 * fed to a lexer. 146 * rewind(mark()) should not affect the input cursor. The Lexer 306 * pass the buck all the way to the lexer who can ask its input stream
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
Python.g | 43 * Starting with Loring's preliminary lexer for Python, I modified it 51 * way. Resist changing the lexer unless you've used ANTLR a lot. ;) 66 @lexer::members {
|
rhino-python.extensions | 49 Upon NEWLINE token from the lexer, however, an INDENT or DEDENT token 57 lexer grammar must set the text of the LEADING_WS token to be 64 are generated. Before asking the lexer for another token via
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/ |
CombinedLexer.m | 6 * - for the lexer : CombinedLexerLexer * 56 /** As per Terence: No returns for lexer rules! */ 87 /* Start of actions.lexer.methods */
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
Target.java | 125 case Grammar.LEXER : 126 if ( scope.equals("lexer") ) {return true;} 133 if ( scope.equals("lexer") ) {return true;}
|
/external/bison/data/ |
java.m4 | 82 [b4_percent_code_ifdef([[lexer]], [$1], [$2])]) 256 # Delegating the lexer parameters to the lexer constructor.
|
/external/clang/lib/AST/ |
RawCommentList.cpp | 44 // Comment lexer does not understand escapes in comment markers, so pretend 127 comments::Lexer L(Allocator, Context.getDiagnostics(), 149 comments::Lexer L(Context.getAllocator(), Context.getDiagnostics(),
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Lexer.java | 38 * Lexer class for the parser. 46 public class Lexer extends LexerCore { 68 public Lexer(String lexerName, String buffer) {
|