/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
Lexer.js | 1 /** A lexer is recognizer that draws input symbols from a character stream. 2 * lexer grammars result in a subclass of this object. A Lexer object 6 org.antlr.runtime.Lexer = function(input, state) { 8 org.antlr.runtime.Lexer.superclass.constructor.call(this, state); 15 org.antlr.lang.extend(org.antlr.runtime.Lexer, org.antlr.runtime.BaseRecognizer, { 18 org.antlr.runtime.Lexer.superclass.reset.call(this); 71 /** Instruct the lexer to skip creating a token for current lexer rule 73 * a lexer rule finishes with token set to SKIP_TOKEN. Recall tha [all...] |
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
Lexer.cpp | 7 #include "Lexer.h" 12 Lexer::~Lexer()
|
Lexer.h | 15 class Lexer 18 virtual ~Lexer();
|
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
Lexer.pm | 1 package Test::ANTLR::Runtime::Lexer; 6 use ANTLR::Runtime::Lexer; 14 my $lexer = ANTLR::Runtime::Lexer->new({ input => $input }); 15 ok defined $lexer;
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
lexer.ml | 2 * Lexer
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
lexer.ml | 2 * Lexer
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
lexer.ml | 2 * Lexer
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
lexer.ml | 2 * Lexer
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
lexer.ml | 2 * Lexer
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
lexer.ml | 2 * Lexer
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
Lexer.as | 30 /** A lexer is recognizer that draws input symbols from a character stream. 31 * lexer grammars result in a subclass of this object. A Lexer object 35 public class Lexer extends BaseRecognizer implements TokenSource { 36 /** Where is the lexer drawing characters from? */ 39 public function Lexer(input:CharStream = null, state:RecognizerSharedState = null) { 46 // wack Lexer state variables 99 /** Instruct the lexer to skip creating a token for current lexer rule 101 * a lexer rule finishes with token set to SKIP_TOKEN. Recall tha [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
Lexer.cs | 37 * A lexer is recognizer that draws input symbols from a character stream. 38 * lexer grammars result in a subclass of this object. A Lexer object 43 public abstract class Lexer : BaseRecognizer, ITokenSource { 44 /** <summary>Where is the lexer drawing characters from?</summary> */ 47 public Lexer() { 50 public Lexer(ICharStream input) { 54 public Lexer(ICharStream input, RecognizerSharedState state) 93 // wack Lexer state variables 143 * Instruct the lexer to skip creating a token for current lexer rul [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
Lexer.cs | 38 * A lexer is recognizer that draws input symbols from a character stream. 39 * lexer grammars result in a subclass of this object. A Lexer object 44 public abstract class Lexer : BaseRecognizer, ITokenSource 46 /** <summary>Where is the lexer drawing characters from?</summary> */ 49 public Lexer() 53 public Lexer( ICharStream input ) 58 public Lexer( ICharStream input, RecognizerSharedState state ) 109 // wack Lexer state variables 177 * Instruct the lexer to skip creating a token for current lexer rul [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
Lexer.pm | 1 package ANTLR::Runtime::Lexer; 29 # wack Lexer state variables 92 # Instruct the lexer to skip creating a token for current lexer rule 94 # a lexer rule finishes with token set to SKIP_TOKEN. Recall that 104 # This is the lexer entry point that sets instance var 'token' 109 # Set the char stream and reset the lexer
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
group-file-lexer.rb | 59 # - - - - - - begin action @lexer::header - - - - - - 66 # - - - - - - end action @lexer::header - - - - - - - 86 class Lexer < ANTLR3::Lexer 111 # - - - - - - - - - - - lexer rules - - - - - - - - - - - - 112 # lexer rule t__10! (T__10) 136 # lexer rule t__11! (T__11) 160 # lexer rule t__12! (T__12) 184 # lexer rule t__13! (T__13) 208 # lexer rule t__14! (T__14 [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
lexer.py | 24 class Lexer(object): 110 #sys.stderr.write( "lexer ignoring '%s'\n"%s[i] ) 199 #sys.stderr.write( "lexer ignoring '%s'\n"%s[i] ) 200 sys.stderr.write( "lexer ignoring '%s' lno=%d\n"%(s[i],self.lno+1) )
|
cparse.py | 12 from lexer import Lexer 102 def parse(self,lexer,symbols): 105 #lexer.get_token() 106 if lexer.tok != ')': 107 if not lexer.tok: 108 self.parse_error(lexer) 109 #lexer.unget_token() # unget start of decl 110 while lexer.tok != ')': 112 node.parse(lexer,symbols [all...] |
/external/chromium_org/tools/idl_parser/ |
idl_lexer.py | 6 """ Lexer for PPAPI IDL 8 The lexer uses the PLY library to build a tokenizer which understands both 36 # IDL Lexer 116 # These need to be methods for lexer construction, despite not using self. 167 line = self.Lexer().lineno 176 self.index.append(self.Lexer().lexpos - offs) 179 pos = self.Lexer().lexpos - self.index[line] 186 # Set the lexer position for the beginning of the next line. In the case 190 self.Lexer().lineno += count 192 self.index.append(self.Lexer().lexpos [all...] |
/external/clang/include/clang/Lex/ |
Lexer.h | 1 //===--- Lexer.h - C Language Family Lexer ----------------------*- C++ -*-===// 10 // This file defines the Lexer interface. 29 /// ConflictMarkerKind - Kinds of conflict marker which the lexer might be 42 /// Lexer - This provides a simple interface that turns a text buffer into a 46 class Lexer : public PreprocessorLexer { 50 // Constant configuration values for this lexer. 55 bool Is_PragmaLexer; // True if lexer for _Pragma handling. 61 /// ExtendedTokenMode - The lexer can optionally keep comments and whitespace 73 // in Lexer::isNextPPTokenLParen [all...] |
/external/nist-sip/java/gov/nist/core/ |
HostNameParser.java | 37 //import gov.nist.javax.sdp.parser.Lexer; 52 private static LexerCore Lexer; 66 this.lexer = new LexerCore("charLexer", hname); 73 * The lexer is initialized with the buffer. 75 public HostNameParser(LexerCore lexer) { 76 this.lexer = lexer; 77 lexer.selectLexer("charLexer"); 89 lexer.consumeValidChars(VALID_DOMAIN_LABEL_CHAR); 104 while (lexer.hasMoreChars()) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
Lexer.java | 30 /** A lexer is recognizer that draws input symbols from a character stream. 31 * lexer grammars result in a subclass of this object. A Lexer object 35 public abstract class Lexer extends BaseRecognizer implements TokenSource { 36 /** Where is the lexer drawing characters from? */ 39 public Lexer() { 42 public Lexer(CharStream input) { 46 public Lexer(CharStream input, RecognizerSharedState state) { 53 // wack Lexer state variables 113 /** Instruct the lexer to skip creating a token for current lexer rul [all...] |
/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/chromium_org/mojo/public/bindings/parse/ |
mojo_parser.py | 44 class Lexer(object): 126 t.lexer.lineno += t.value.count("\n") 130 t.lexer.skip(1) 135 def __init__(self, lexer): 136 self.tokens = lexer.tokens 256 lexer = Lexer() 257 parser = Parser(lexer) 259 lex.lex(object=lexer)
|
/external/chromium_org/third_party/ply/ |
lex.py | 103 # The following Lexer class implements the lexer runtime. There are only 106 # input() - Store a new string in the lexer 108 # clone() - Clone the lexer 114 class Lexer: 121 self.lexstatere = {} # Dictionary mapping lexer states to master regexs 122 self.lexstateretext = {} # Dictionary mapping lexer states to regex strings 123 self.lexstaterenames = {} # Dictionary mapping lexer states to symbol names 124 self.lexstate = "INITIAL" # Current lexer state 125 self.lexstatestack = [] # Stack of lexer state [all...] |
/external/clang/include/clang/AST/ |
CommentLexer.h | 1 //===--- CommentLexer.h - Lexer for structured comments ---------*- C++ -*-===// 10 // This file defines lexer for structured comments and supporting token class. 28 class Lexer; 58 friend class Lexer; 218 void dump(const Lexer &L, const SourceManager &SM) const; 221 /// \brief Comment lexer. 222 class Lexer { 224 Lexer(const Lexer &) LLVM_DELETED_FUNCTION; 225 void operator=(const Lexer &) LLVM_DELETED_FUNCTION [all...] |