HomeSort by relevance Sort by last modified time
    Searched refs:Lexer (Results 151 - 175 of 298) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
toy.ml 22 let stream = Lexer.lex (Stream.of_channel stdin) in
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
lexer.ml 2 * Lexer
toy.ml 22 let stream = Lexer.lex (Stream.of_channel stdin) in
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
lexer.ml 2 * Lexer
toy.ml 23 let stream = Lexer.lex (Stream.of_channel stdin) in
  /external/nist-sip/java/gov/nist/javax/sip/parser/
HeaderParser.java 52 String tok = lexer.ttoken();
84 String s1 = lexer.number();
89 lexer.match(' ');
90 String month = lexer.ttoken().toLowerCase();
116 lexer.match(' ');
117 String s2 = lexer.number();
133 String s = lexer.number();
136 lexer.match(':');
137 s = lexer.number();
140 lexer.match(':')
    [all...]
RetryAfterParser.java 56 * @param lexer the lexer to use to parse the header
58 protected RetryAfterParser(Lexer lexer) {
59 super(lexer);
77 String value = lexer.number();
87 this.lexer.SPorHT();
88 if (lexer.lookAhead(0) == '(') {
89 String comment = this.lexer.comment();
92 this.lexer.SPorHT()
    [all...]
SubscriptionStateParser.java 54 * @param lexer the lexer to use to parse the header
56 protected SubscriptionStateParser(Lexer lexer) {
57 super(lexer);
77 lexer.match(TokenTypes.ID);
78 Token token = lexer.getNextToken();
81 while (lexer.lookAhead(0) == ';') {
82 this.lexer.match(';');
83 this.lexer.SPorHT()
    [all...]
WarningParser.java 60 * @param lexer -
61 * the lexer to use.
63 protected WarningParser(Lexer lexer) {
64 super(lexer);
82 while (lexer.lookAhead(0) != '\n') {
87 this.lexer.match(TokenTypes.ID);
88 Token token = lexer.getNextToken();
97 this.lexer.SPorHT();
100 this.lexer.match(TokenTypes.ID)
    [all...]
  /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/bison/data/
lalr1.java 113 public interface Lexer {
146 b4_lexer_if([[private class YYLexer implements Lexer {
147 ]b4_percent_code_get([[lexer]])[
151 private Lexer yylexer;
169 b4_lexer_if([[protected]], [[public]]) b4_parser_class_name[ (]b4_parse_param_decl([[Lexer yylexer]])[) {
  /external/clang/lib/Rewrite/Core/
TokenRewriter.cpp 17 #include "clang/Lex/Lexer.h"
25 // Create a lexer to lex all the tokens of the main file in raw mode.
27 Lexer RawLex(FID, FromFile, SM, LangOpts);
93 // TODO: Form a whole lexer around this and relex the token! For now, just
  /external/clang/lib/Tooling/
RefactoringCallbacks.cpp 12 #include "clang/Lex/Lexer.h"
32 return replaceStmtWithText(Sources, From, Lexer::getSourceText(
  /external/clang/lib/Edit/
Commit.cpp 13 #include "clang/Lex/Lexer.h"
252 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts);
269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts);
298 range = Lexer::makeFileCharRange(range, SM, LangOpts);
341 return Lexer::isAtStartOfMacroExpansion(loc, SourceMgr, LangOpts, MacroBegin);
345 return Lexer::isAtEndOfMacroExpansion(loc, SourceMgr, LangOpts, MacroEnd);
EditedSource.cpp 15 #include "clang/Lex/Lexer.h"
247 return !(Lexer::isIdentifierBodyChar(left, LangOpts) &&
248 Lexer::isIdentifierBodyChar(right, LangOpts));
271 SourceLocation BeginTokLoc = Lexer::GetBeginningOfToken(Loc, SM, LangOpts);
381 return Lexer::getSourceText(CharSourceRange::getCharRange(BLoc, ELoc),
  /external/clang/lib/Rewrite/Frontend/
InclusionRewriter.cpp 76 void CommentOutDirective(Lexer &DirectivesLex, const Token &StartToken,
79 bool HandleHasInclude(FileID FileId, Lexer &RawLex,
83 StringRef NextIdentifierName(Lexer &RawLex, Token &RawToken);
242 void InclusionRewriter::CommentOutDirective(Lexer &DirectiveLex,
265 StringRef InclusionRewriter::NextIdentifierName(Lexer &RawLex,
278 FileID FileId, Lexer &RawLex, const DirectoryLookup *Lookup, Token &Tok,
289 // Since the raw lexer doesn't give us angle_literals we have to parse them
345 /// Use a raw lexer to analyze \p FileId, incrementally copying parts of it
355 Lexer RawLex(FileId, &FromFile, PP.getSourceManager(), PP.getLangOpts());
370 // the lexer handled a BOM
    [all...]
  /external/clang/lib/ARCMigrate/
Transforms.cpp 18 #include "clang/Lex/Lexer.h"
141 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc))
144 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts());
158 Lexer lexer(SM.getLocForStartOfFile(locInfo.first),
162 lexer.LexFromRawLexer(tok);
408 Lexer lexer(SM.getLocForStartOfFile(locInfo.first),
412 lexer.LexFromRawLexer(tok);
414 lexer.LexFromRawLexer(tok)
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
template.rb 77 | does not appear to have an associated lexer class
91 autoload :Lexer, 'antlr3/template/group-file'
96 lexer = Lexer.new( source, options )
97 parser = Parser.new( lexer, options )
110 lexer = Lexer.new( input, options )
111 parser = Parser.new( lexer, options )
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
backtracking.rb 238 lexer = Backtrack::Lexer.new( 'int a;' )
239 parser = Backtrack::Parser.new lexer
calc.rb 68 lexer = TestCalc::Lexer.new( expression )
69 parser = TestCalc::Parser.new lexer
ll-star.rb 120 lexer = LLStar::Lexer.new( <<-'END'.fixed_indent( 0 ) )
134 parser = LLStar::Parser.new lexer
  /external/clang/lib/AST/
CommentBriefParser.cpp 58 BriefParser::BriefParser(Lexer &L, const CommandTraits &Traits) :
  /external/clang/lib/Frontend/
HeaderIncludeGen.cpp 116 Lexer::Stringify(Filename);
  /external/owasp/sanitizer/src/main/org/owasp/html/
CssTokens.java 86 Lexer lexer = new Lexer(css); local
87 lexer.lex();
88 return lexer.build();
293 private static final class Lexer {
329 Lexer(String css) {
    [all...]
  /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...]

Completed in 614 milliseconds

1 2 3 4 5 67 8 91011>>