/external/nist-sip/java/gov/nist/javax/sip/parser/ |
SIPETagParser.java | 55 * @param lexer the lexer to use to parse the header 57 protected SIPETagParser(Lexer lexer) { 58 super(lexer); 75 this.lexer.SPorHT(); 76 this.lexer.match(TokenTypes.ID); 77 Token token = lexer.getNextToken(); 81 this.lexer.SPorHT(); 82 this.lexer.match('\n') [all...] |
SIPIfMatchParser.java | 55 * @param lexer the lexer to use to parse the header 57 protected SIPIfMatchParser(Lexer lexer) { 58 super(lexer); 75 this.lexer.SPorHT(); 76 this.lexer.match(TokenTypes.ID); 77 Token token = lexer.getNextToken(); 81 this.lexer.SPorHT(); 82 this.lexer.match('\n') [all...] |
AuthenticationInfoParser.java | 53 * @param lexer the lexer to use to parse the header 55 protected AuthenticationInfoParser(Lexer lexer) { 56 super(lexer); 76 this.lexer.SPorHT(); 80 this.lexer.SPorHT(); 81 while (lexer.lookAhead(0) == ',') { 82 this.lexer.match(','); 83 this.lexer.SPorHT() [all...] |
ReasonParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected ReasonParser(Lexer lexer) { 57 super(lexer); 72 this.lexer.SPorHT(); 73 while (lexer.lookAhead(0) != '\n') { 75 this.lexer.match(TokenTypes.ID); 76 Token token = lexer.getNextToken(); 82 if (lexer.lookAhead(0) == ',') [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
grammar.rb | 45 GRAMMAR_TYPES = %w(lexer parser tree combined) 47 'lexer' => 'Lexer', 84 self.name + "::Lexer" 88 if lexer? then base = name 89 elsif combined? then base = name + 'Lexer' 116 @type == 'combined' || @type == 'lexer' 123 def lexer? 124 @type == "lexer" 144 for target_type in %w(lexer parser tree_parser [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
Helpers.java | 359 Lexer lexer = new Lexer(selection, allowedColumns); local 360 parseExpression(lexer); 361 if (lexer.currentToken() != Lexer.TOKEN_END) { 377 private static void parseExpression(Lexer lexer) { 380 if (lexer.currentToken() == Lexer.TOKEN_OPEN_PAREN) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
LexerExtensions.cs | 37 public static void skip( Lexer lexer ) 39 lexer.Skip();
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
LexerExtensions.cs | 37 public static void skip( this Lexer lexer ) 39 lexer.Skip();
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRTokenSource.h | 30 // Anything that responds to -nextToken can be treated as a lexer. 31 // For instance this can be a flex lexer or a handwritten one or even 32 // a proxy for a remotely running token source (database, lexer, whatever).
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRTokenSource.h | 30 // Anything that responds to -nextToken can be treated as a lexer. 31 // For instance this can be a flex lexer or a handwritten one or even 32 // a proxy for a remotely running token source (database, lexer, whatever).
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRTokenSource.h | 30 // Anything that responds to -nextToken can be treated as a lexer. 31 // For instance this can be a flex lexer or a handwritten one or even 32 // a proxy for a remotely running token source (database, lexer, whatever).
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRTokenSource.h | 30 // Anything that responds to -nextToken can be treated as a lexer. 31 // For instance this can be a flex lexer or a handwritten one or even 32 // a proxy for a remotely running token source (database, lexer, whatever).
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
filter.rb | 9 If a lexer grammar specifies the <tt>filter = true</t> option, the generated 10 Lexer code will include this module. It modifies the standard 15 lexer filter mode.
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/ |
via-parser.rb | 91 lexer = TokenRewrites::Lexer.new( input ) 92 tokens = ANTLR3::TokenRewriteStream.new( lexer )
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestCommonTokenStream.java | 40 "lexer grammar t;\n"+ 61 "lexer grammar t;\n"+ 82 "lexer grammar t;\n"+ 112 "lexer grammar t;\n"+ 143 "lexer grammar t;\n"+ 172 TokenSource lexer = // simulate input " x =34 ;\n" local 188 tokens[0].setChannel(Lexer.HIDDEN); 189 tokens[2].setChannel(Lexer.HIDDEN); 190 tokens[5].setChannel(Lexer.HIDDEN); 191 tokens[6].setChannel(Lexer.HIDDEN) [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/smali/smali/src/main/java/org/jf/smali/ |
LexerErrorInterface.java | 32 import org.antlr.runtime.Lexer; 38 //ANTLR doesn't provide any way to add interfaces to the lexer class directly, so this is an intermediate 40 public abstract static class ANTLRLexerWithErrorInterface extends Lexer implements LexerErrorInterface {
|
/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/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/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
CharStream.js | 2 * A source of characters for an ANTLR lexer.
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t012lexerXML.html | 92 lexer = new TLexer(stream), 96 token = lexer.nextToken(); 102 assertEquals(xoutput, lexer.lout.join("\n")); 112 lexer = new TLexer(stream), 117 token = lexer.nextToken(); 138 lexer = new TLexer(stream), 143 token = lexer.nextToken(); 164 lexer = new TLexer(stream), 169 token = lexer.nextToken();
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/ |
SimpleC__.gl | 0 lexer grammar SimpleC;
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/ |
filter-mode.rb | 9 lexer grammar Filter; 90 lexer = Filter::Lexer.new( input ) 91 tokens = lexer.map { |tk| tk } 101 lexer grammar Fuzzy; 238 lexer = Fuzzy::Lexer.new( input ) 239 lexer.each { |tk| tk } 240 lexer.output.should == expected_output
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
AssignTokenTypesBehavior.java | 47 /** Track actual lexer rule defs so we don't get repeated token defs in 48 * generated lexer. 69 // if lexer, don't allow aliasing in tokens section 70 if ( currentRuleName==null && grammar.type==Grammar.LEXER ) { 90 if ( grammar.type==Grammar.LEXER ) { 121 if ( grammar.type==Grammar.LEXER || grammar.type==Grammar.COMBINED ) { 130 // track all lexer rules so we can look for token refs w/o 131 // associated lexer rules. 150 (parent.type==Grammar.LEXER||parent.type==Grammar.PARSER); 152 if ( grammar.type==Grammar.COMBINED || grammar.type==Grammar.LEXER ) { [all...] |