HomeSort by relevance Sort by last modified time
    Searched refs:Lex (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/javassist/src/main/javassist/compiler/
SyntaxError.java 19 public SyntaxError(Lex lexer) {
CompileError.java 22 private Lex lex; field in class:CompileError
25 public CompileError(String s, Lex l) {
27 lex = l;
32 lex = null;
43 public Lex getLex() { return lex; }
Lex.java 27 public class Lex implements TokenId {
39 public Lex(String s) {
  /external/llvm/lib/TableGen/
TGParser.cpp 401 switch (Lex.getCode()) {
436 if (Lex.getCode() != tgtok::Id) {
441 Record *Result = Records.getClass(Lex.getCurStrVal());
443 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
445 Lex.Lex();
455 if (Lex.getCode() != tgtok::Id) {
460 MultiClass *Result = MultiClasses[Lex.getCurStrVal()];
462 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
464 Lex.Lex()
    [all...]
TGParser.h 56 TGLexer Lex;
88 : Lex(SrcMgr), CurMultiClass(nullptr), Records(records), AnonCounter(0) {}
99 return Error(Lex.getLoc(), Msg);
102 return Lex.getDependencies();
  /external/llvm/lib/AsmParser/
LLParser.cpp 40 Lex.Lex();
234 switch (Lex.getKind()) {
300 assert(Lex.getKind() == lltok::kw_module);
301 Lex.Lex();
315 assert(Lex.getKind() == lltok::kw_target);
317 switch (Lex.Lex()) {
320 Lex.Lex()
    [all...]
LLParser.h 92 LLLexer Lex;
140 Context(m->getContext()), Lex(F, SM, Err, m->getContext()),
149 return Lex.Error(L, Msg);
152 return Error(Lex.getLoc(), Msg);
168 if (Lex.getKind() != T) return false;
169 Lex.Lex();
176 switch (Lex.getKind()) {
177 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue
    [all...]
  /external/clang/unittests/Lex/
Makefile 1 ##===- unittests/Lex/Makefile ------------------------------*- Makefile -*-===##
11 TESTNAME = Lex
  /external/llvm/tools/llvm-mcmarkup/
llvm-mcmarkup.cpp 70 MarkupLexer &Lex;
73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {}
125 StringRef::const_iterator Start = Lex.getPosition();
127 while(Lex.getNextChar() != ':') {
129 if (Lex.isEOF())
132 StringRef RawTag(Start, Lex.getPosition() - Start - 1);
152 MarkupLexer Lex(InputSource);
153 MarkupParser Parser(Lex, SrcMgr)
    [all...]
  /external/llvm/lib/MC/MCParser/
COFFAsmParser.cpp 284 Lex();
288 Lex();
305 Lex();
318 Lex();
347 Lex();
353 Lex();
363 Lex();
372 Lex();
401 Lex();
413 Lex();
    [all...]
DarwinAsmParser.cpp 379 Lex();
414 Lex();
423 Lex();
459 Lex();
472 Lex();
477 Lex();
501 Lex();
507 Lex();
526 Lex();
535 Lex();
    [all...]
ELFAsmParser.cpp 186 Lex();
190 Lex();
217 Lex();
238 Lex();
248 Lex(); // Consume the "-".
251 Lex();
254 Lex();
355 Lex(); // Eat the #.
372 Lex(); // Eat the flag.
376 Lex(); // Eat the comma
    [all...]
AsmParser.cpp 220 const AsmToken &Lex() override;
310 /// current token is not set; clients should ensure Lex() is called
600 const AsmToken &AsmParser::Lex() {
601 const AsmToken *tok = &Lexer.Lex();
609 tok = &Lexer.Lex();
625 Lex();
712 Lex();
716 Lex();
723 Lex();
734 Lex();
    [all...]
  /external/clang/include/clang/Lex/
PTHLexer.h 17 #include "clang/Lex/PreprocessorLexer.h"
70 /// Lex - Return the next token.
71 bool Lex(Token &Tok);
91 /// IndirectLex - An indirect call to 'Lex' that can be invoked via
93 void IndirectLex(Token &Result) override { Lex(Result); }
  /external/clang/lib/
Makefile 12 PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis Frontend \
  /external/clang/unittests/
Makefile 17 PARALLEL_DIRS = Basic Lex Driver libclang
  /external/clang/lib/Parse/
ParsePragma.cpp 15 #include "clang/Lex/Preprocessor.h"
471 PP.Lex(Tok); // pragma kind
473 // because lex shouldn't emit the annotation token for unrecognized pragmas.
485 PP.Lex(Tok);
486 PP.Lex(Tok);
494 PP.Lex(Tok); // (
502 PP.Lex(Tok); // ,
523 PP.Lex(Tok);
524 PP.Lex(Tok);
528 PP.Lex(Tok); // Identifie
    [all...]
  /external/clang/lib/Lex/
PreprocessorLexer.cpp 14 #include "clang/Lex/PreprocessorLexer.h"
16 #include "clang/Lex/LexDiagnostic.h"
17 #include "clang/Lex/Preprocessor.h"
30 /// \brief After the preprocessor has parsed a \#include, lex and
40 // Lex the filename.
44 PP->Lex(FilenameTok);
PPCaching.cpp 15 #include "clang/Lex/Preprocessor.h"
21 // make the Preprocessor re-lex the same tokens.
38 // Make Preprocessor re-lex the tokens that were lexed since
58 Lex(Result);
91 Lex(CachedTokens.back());
Pragma.cpp 15 #include "clang/Lex/Pragma.h"
18 #include "clang/Lex/HeaderSearch.h"
19 #include "clang/Lex/LexDiagnostic.h"
20 #include "clang/Lex/LiteralSupport.h"
21 #include "clang/Lex/MacroInfo.h"
22 #include "clang/Lex/Preprocessor.h"
104 /// HandlePragmaDirective - The "\#pragma" directive has been parsed. Lex the
169 // In that case we don't actually "activate" the pragma now, we only lex it
185 Lex(Tok);
192 Lex(Tok)
    [all...]
  /external/llvm/include/llvm/MC/MCParser/
MCAsmParserExtension.h 69 const AsmToken &Lex() { return getParser().Lex(); }
  /external/clang/lib/Rewrite/Frontend/
RewriteMacros.cpp 17 #include "clang/Lex/Preprocessor.h"
66 // Create a lexer to lex all the tokens of the main file in raw mode. Even
106 PP.Lex(PPTok);
119 PP.Lex(PPTok);
160 PP.Lex(PPTok);
199 PP.Lex(PPTok);
  /external/clang/
Android.mk 18 lib/Lex \
  /external/llvm/lib/Target/Mips/AsmParser/
MipsAsmParser.cpp     [all...]
  /external/llvm/lib/Target/Sparc/AsmParser/
SparcAsmParser.cpp 437 Parser.Lex();
440 Parser.Lex();
476 Parser.Lex(); // Eat the comma.
490 Parser.Lex(); // Consume the EndOfStatement.
539 Parser.Lex();
542 Parser.Lex();
566 Parser.Lex(); // Eat the '+'
599 Parser.Lex(); // Eat the [
605 Parser.Lex(); // eat %
611 Parser.Lex(); // Eat the identifier token
    [all...]

Completed in 504 milliseconds

1 2 3