Searched refs:Lex (Results 1 - 25 of 69) sorted by relevance

123

/external/javassist/src/main/javassist/compiler/
H A DSyntaxError.java19 public SyntaxError(Lex lexer) {
H A DCompileError.java22 private Lex lex;
25 public CompileError(String s, Lex l) {
43 public Lex getLex() { return lex; }
H A DLex.java27 public class Lex implements TokenId { class in inherits:TokenId
39 public Lex(String s) { method in class:Lex
/external/llvm/lib/TableGen/
H A DTGParser.cpp401 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
[all...]
H A DTGParser.h56 TGLexer Lex; member in class:llvm::TGParser
88 : Lex(SrcMgr), CurMultiClass(nullptr), Records(records), AnonCounter(0) {}
99 return Error(Lex.getLoc(), Msg);
102 return Lex.getDependencies();
/external/llvm/lib/AsmParser/
H A DLLParser.cpp40 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
[all...]
H A DLLParser.h92 LLLexer Lex; member in class:llvm::LLParser
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(); continu
[all...]
/external/clang/unittests/Lex/
H A DMakefile1 ##===- unittests/Lex/Makefile ------------------------------*- Makefile -*-===##
11 TESTNAME = Lex
/external/llvm/tools/llvm-mcmarkup/
H A Dllvm-mcmarkup.cpp70 MarkupLexer &Lex; member in class:MarkupParser
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);
157 for (int CurChar = Lex.getNextChar();
159 CurChar = Lex
[all...]
/external/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp284 Lex();
288 Lex();
305 Lex();
318 Lex();
347 Lex();
353 Lex();
363 Lex();
372 Lex();
401 Lex();
413 Lex();
[all...]
H A DDarwinAsmParser.cpp379 Lex();
414 Lex();
423 Lex();
459 Lex();
472 Lex();
477 Lex();
501 Lex();
507 Lex();
526 Lex();
535 Lex();
[all...]
H A DELFAsmParser.cpp186 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(); // Ea
[all...]
H A DAsmParser.cpp220 const AsmToken &Lex() override;
310 /// current token is not set; clients should ensure Lex() is called
600 const AsmToken &AsmParser::Lex() { function in class:AsmParser
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/
H A DPTHLexer.h17 #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/
H A DMakefile12 PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis Frontend \
/external/clang/unittests/
H A DMakefile17 PARALLEL_DIRS = Basic Lex Driver libclang
/external/clang/lib/Parse/
H A DParsePragma.cpp15 #include "clang/Lex/Preprocessor.h"
471 PP.Lex(Tok); // pragma kind
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); // Identifier
532 PP.Lex(To
[all...]
/external/clang/lib/Lex/
H A DPreprocessorLexer.cpp14 #include "clang/Lex/PreprocessorLexer.h"
16 #include "clang/Lex/LexDiagnostic.h"
17 #include "clang/Lex/Preprocessor.h"
40 // Lex the filename.
44 PP->Lex(FilenameTok);
H A DPPCaching.cpp15 #include "clang/Lex/Preprocessor.h"
58 Lex(Result);
91 Lex(CachedTokens.back());
H A DPragma.cpp15 #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
185 Lex(Tok);
192 Lex(Tok);
197 Lex(To
[all...]
/external/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h69 const AsmToken &Lex() { return getParser().Lex(); } function in class:llvm::MCAsmParserExtension
/external/clang/lib/Rewrite/Frontend/
H A DRewriteMacros.cpp17 #include "clang/Lex/Preprocessor.h"
106 PP.Lex(PPTok);
119 PP.Lex(PPTok);
160 PP.Lex(PPTok);
199 PP.Lex(PPTok);
/external/clang/
H A DAndroid.mk18 lib/Lex \
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1756 Parser.Lex(); // Eat the % token.
1763 Parser.Lex(); // Eat the identifier.
1770 Parser.Lex(); // Eat the '(' token.
1772 Parser.Lex(); // Eat the % token.
1778 Parser.Lex(); // Eat the identifier.
1788 Parser.Lex(); // Eat the ')' token.
1828 Parser.Lex();
1843 Parser.Lex();
1862 Parser.Lex();
1895 Parser.Lex(); // Ea
[all...]
/external/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp437 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(); // Ea
[all...]

Completed in 368 milliseconds

123