/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/ |
parser.py | 30 from .lexer import Lexer 49 def __init__(self, lexer, source, filename): 50 self.tokens = lexer.tokens 376 lexer = Lexer(filename) 377 parser = Parser(lexer, source, filename) 379 lex.lex(object=lexer)
|
/external/chromium_org/v8/tools/ |
lexer-shell.gyp | 36 'target_name': 'lexer-shell', 54 'lexer-shell.cc',
|
/external/clang/include/clang/AST/ |
CommentBriefParser.h | 31 Lexer &L; 45 BriefParser(Lexer &L, const CommandTraits &Traits);
|
/external/chromium_org/third_party/jinja2/ |
lexer.py | 3 jinja2.lexer 6 This module implements a Jinja / Python combination lexer. The 7 `Lexer` class provided by this module is used to do some preprocessing 28 # environments with the same lexer 214 Used by the `Lexer` to specify known errors. 362 argument as :meth:`jinja2.lexer.Token.test`. 382 """Return a lexer which is probably cached.""" 395 lexer = _lexer_cache.get(key) 396 if lexer is None: 397 lexer = Lexer(environment [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Grammar.java | 53 /** used for generating lexer temp files */ 64 public static final int CHAR_LABEL = 5; // used in lexer for x='a' 104 public static final int LEXER = 1; 110 "lexer", 118 "Lexer", 121 "Parser" // if combined grammar, gen Parser and Lexer will be done later 126 * validDelegations.get(LEXER) gives list of the kinds of delegators 132 map(LEXER, LEXER); 133 map(LEXER, PARSER) 630 ANTLRLexer lexer; local 883 ANTLRLexer lexer = new ANTLRLexer(new ANTLRStringStream(ruleText)); local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
recognizers.rb | 77 holds newly constructed tokens for lexer rules 180 For all effective purposes, the class and its immediate subclasses Lexer, 682 # If you change what tokens must be created by the lexer, 911 =begin rdoc ANTLR3::Lexer 913 = Lexer 915 Lexer is the default superclass of all lexers generated by ANTLR. The class 921 A lexer's job is to take input text and break it up into _tokens_ -- objects 923 position of the text with respect to the input. Thus, a lexer is essentially a 927 the lexer converts text into tokens for use by a parser, which recognizes larger 938 == ANTLR Lexers and the Lexer AP [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
TokenConstants.as | 18 /** In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
RecognizerSharedState.cs | 108 // LEXER FIELDS (must be in same state object to avoid casting 109 // constantly in generated code and Lexer object) :( 113 * The goal of all lexer rules/methods is to create a token object. 116 * matching lexer rule(s). If you subclass to allow multiple token
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
RecognizerSharedState.cs | 110 // LEXER FIELDS (must be in same state object to avoid casting 111 // constantly in generated code and Lexer object) :( 115 * The goal of all lexer rules/methods is to create a token object. 118 * matching lexer rule(s). If you subclass to allow multiple token
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
RecognizerSharedState.java | 83 // LEXER FIELDS (must be in same state object to avoid casting 84 // constantly in generated code and Lexer object) :( 87 /** The goal of all lexer rules/methods is to create a token object. 90 * matching lexer rule(s). If you subclass to allow multiple token
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
Token.js | 27 /** In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t019lexer.g | 0 lexer grammar t019lexer;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/ |
TestLexer.m | 6 * - for the lexer : TestLexerLexer 29 /** As per Terence: No returns for lexer rules! */ 60 /* ObjC Start of actions.lexer.methods */ 61 /* ObjC end of actions.lexer.methods */
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/ |
TreeRewriteLexer.m | 6 * - for the lexer : TreeRewriteLexerLexer 29 /** As per Terence: No returns for lexer rules! */ 60 /* ObjC Start of actions.lexer.methods */ 61 /* ObjC end of actions.lexer.methods */
|
/external/antlr/antlr-3.4/runtime/Perl5/ |
README | 28 Or use the lexer/parser in an example.
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
TokenSource.pm | 28 Errors from the lexer are never passed to the parser. Either you want
|
/external/antlr/antlr-3.4/runtime/Python/ |
ChangeLog | 20 class - and thus to Lexer.
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
__init__.py | 23 - Lexer: Base class for lexers. 33 ANTLR3 application. It is used as the input for a Lexer. 43 Lexer): 58 A Lexer emits Token objects which are usually buffered by a TokenStream. A
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t019lexer.g | 0 lexer grammar t019lexer;
|
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
test-recognizers.rb | 38 class TLexer < Lexer
|
/external/bison/examples/calc++/ |
calc++-driver.hh | 8 // Tell Flex the lexer's prototype ...
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
generate_parser.sh | 28 patch --silent --forward < 64bit-lexer-safety.patch
|
/external/clang/include/clang/Basic/ |
TokenKinds.def | 629 // The lexer produces these so that they only take effect when the parser 634 // The lexer produces these so that they only take effect when the parser 639 // The lexer produces these so that they only take effect when the parser 644 // The lexer produces these so that they only take effect when the parser 649 // The lexer produces these so that they only take effect when the parser 654 // The lexer produces these so that they only take effect when the parser 659 // The lexer produces these so that they only take effect when the parser 664 // The lexer produces these so that they only take effect when the parser 669 // The lexer produces these so that they only take effect when the parser 674 // The lexer produces these so that they only take effect when the parse [all...] |
/external/clang/lib/Lex/ |
Android.mk | 15 Lexer.cpp \
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
toy.ml | 15 let stream = Lexer.lex (Stream.of_channel stdin) in
|