HomeSort by relevance Sort by last modified time
    Searched full:lexer (Results 276 - 300 of 912) sorted by null

<<11121314151617181920>>

  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Interp.java 99 Grammar lexer = new Grammar(tool); local
100 lexer.importTokenVocabulary(parser);
101 lexer.fileName = grammarFileName;
102 lexer.setTool(tool);
104 lexer.setGrammarContent(lexerGrammarText);
107 System.err.println("no lexer grammar found in "+grammarFileName);
109 lexer.composite.createNFAs();
113 Interpreter lexEngine = new Interpreter(lexer, input);
118 tokens.setTokenTypeChannel(lexer.getTokenType(tokenName), 99);
  /external/clang/lib/Lex/
CMakeLists.txt 8 Lexer.cpp
  /external/nist-sip/java/gov/nist/javax/sip/parser/
TimeStampParser.java 54 * @param lexer the lexer to use to parse the header
56 protected TimeStampParser(Lexer lexer) {
57 super(lexer);
75 this.lexer.SPorHT();
76 String firstNumber = this.lexer.number();
80 if (lexer.lookAhead(0) == '.') {
81 this.lexer.match('.');
82 String secondNumber = this.lexer.number()
    [all...]
ContentDispositionParser.java 54 * @param lexer the lexer to use to parse the header
56 protected ContentDispositionParser(Lexer lexer) {
57 super(lexer);
76 this.lexer.SPorHT();
77 this.lexer.match(TokenTypes.ID);
79 Token token = lexer.getNextToken();
81 this.lexer.SPorHT();
84 this.lexer.SPorHT()
    [all...]
RouteParser.java 51 protected RouteParser(Lexer lexer) {
52 super(lexer);
65 this.lexer.match(TokenTypes.ROUTE);
66 this.lexer.SPorHT();
67 this.lexer.match(':');
68 this.lexer.SPorHT();
73 this.lexer.SPorHT();
74 char la = lexer.lookAhead(0);
76 this.lexer.match(',')
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/ims/
PChargingFunctionAddressesParser.java 35 import gov.nist.javax.sip.parser.Lexer;
79 protected PChargingFunctionAddressesParser(Lexer lexer) {
80 super(lexer);
96 while (lexer.lookAhead(0) != '\n') {
99 this.lexer.SPorHT();
100 char la = lexer.lookAhead(0);
104 this.lexer.match(';');
105 this.lexer.SPorHT();
PPreferredServiceParser.java 35 import gov.nist.javax.sip.parser.Lexer;
48 protected PPreferredServiceParser(Lexer lexer) {
49 super(lexer);
99 this.lexer.match(TokenTypes.P_PREFERRED_SERVICE);
100 this.lexer.SPorHT();
101 this.lexer.match(':');
102 this.lexer.SPorHT();
105 String urn = this.lexer.getBuffer();
  /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/antlr/antlr-3.4/runtime/C/doxygen/
interop.dox 43 /// to the lexer. When you free the lexer, the allocated memory is returned to the pool. The same applies
44 /// to 'strings' that contain the token text and various other text elements accessed within the lexer.
58 /// concerned with your lexer, parser, or tree parser. The is is the context pointer for your generated
67 /// function for your parser/lexer/tree parser (see code example in "How to build Generated Code" .)
82 /// \section lexermacros Lexer Macros
84 /// There are a number of macros that are useful exclusively within lexer rules. There are additional
87 /// \subsection lexer LEXER
89 /// The <code>LEXER</code> macro returns a pointer to the base lexer object, which is of type #pANTLR3_LEXER. This i
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
t016actions.html 20 lexer = new t016actionsLexer(cstream),
21 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
t019lexer.html 33 lexer = new t019lexer(cstream),
34 tstream = new org.antlr.runtime.CommonTokenStream(lexer);
t023scopes.html 26 lexer = new t023scopesLexer(cstream),
27 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
t024finally.html 26 lexer = new t024finallyLexer(cstream),
27 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
t029synpredgate.html 18 lexer = new t029synpredgate(stream),
21 token = lexer.nextToken();
t033backtracking.html 33 lexer = new t033backtrackingLexer(cstream),
34 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
t038lexerRuleLabel.html 25 lexer = new TLexer(stream),
29 token = lexer.nextToken();
t040bug80.html 25 lexer = new TLexer(stream),
29 token = lexer.nextToken();
t043synpred.html 41 lexer = new TLexer(cstream),
42 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
  /external/antlr/antlr-3.4/runtime/Python/tests/
t015calc.py 12 lexer = self.getLexer(cStream)
13 tStream = antlr3.CommonTokenStream(lexer)
t035ruleLabelPropertyRef.py 32 lexer = self.getLexer(cStream)
33 tStream = antlr3.CommonTokenStream(lexer)
t037rulePropertyRef.py 32 lexer = self.getLexer(cStream)
33 tStream = antlr3.CommonTokenStream(lexer)
t039labels.py 34 lexer = self.getLexer(cStream)
35 tStream = antlr3.CommonTokenStream(lexer)
t056lexer.py 18 lexer = lexerCls(cStream)
19 tStream = antlr3.CommonTokenStream(lexer)
  /external/antlr/antlr-3.4/runtime/Python/unittests/
testrecognizers.py 57 """Lexer.__init__()"""
59 class TLexer(antlr3.Lexer):
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
token.ml 2 * Lexer Tokens
5 (* The lexer returns these 'Kwd' if it is an unknown character, otherwise one of

Completed in 735 milliseconds

<<11121314151617181920>>