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.cpp395 switch (Lex.getCode()) {
430 if (Lex.getCode() != tgtok::Id) {
435 Record *Result = Records.getClass(Lex.getCurStrVal());
437 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
439 Lex.Lex();
449 if (Lex.getCode() != tgtok::Id) {
454 MultiClass *Result = MultiClasses[Lex.getCurStrVal()];
456 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
458 Lex
[all...]
H A DTGParser.h56 TGLexer Lex; member in class:llvm::TGParser
86 Lex(SrcMgr), CurMultiClass(0), Records(records) {}
97 return Error(Lex.getLoc(), Msg);
100 return Lex.getDependencies();
/external/clang/unittests/Lex/
H A DMakefile1 ##===- unittests/Lex/Makefile ------------------------------*- Makefile -*-===##
11 TESTNAME = Lex
/external/llvm/tools/llvm-mcmarkup/
H A Dllvm-mcmarkup.cpp71 MarkupLexer &Lex; member in class:MarkupParser
74 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {}
126 StringRef::const_iterator Start = Lex.getPosition();
128 while(Lex.getNextChar() != ':') {
130 if (Lex.isEOF())
133 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/AsmParser/
H A DLLParser.cpp39 Lex.Lex();
222 switch (Lex.getKind()) {
291 assert(Lex.getKind() == lltok::kw_module);
292 Lex.Lex();
306 assert(Lex.getKind() == lltok::kw_target);
308 switch (Lex.Lex()) {
311 Lex
[all...]
H A DLLParser.h91 LLLexer Lex; member in class:llvm::LLParser
134 Context(m->getContext()), Lex(F, SM, Err, m->getContext()),
143 return Lex.Error(L, Msg);
146 return Error(Lex.getLoc(), Msg);
158 if (Lex.getKind() != T) return false;
159 Lex.Lex();
166 switch (Lex.getKind()) {
167 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continu
[all...]
/external/clang/include/clang/Lex/
H A DPTHLexer.h17 #include "clang/Lex/PreprocessorLexer.h"
70 /// Lex - Return the next token.
71 void Lex(Token &Tok);
91 /// IndirectLex - An indirect call to 'Lex' that can be invoked via
93 void IndirectLex(Token &Result) { Lex(Result); }
/external/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp276 Lex();
280 Lex();
289 Lex();
302 Lex();
331 Lex();
337 Lex();
361 Lex();
373 Lex();
386 Lex();
392 Lex();
[all...]
H A DDarwinAsmParser.cpp366 Lex();
401 Lex();
410 Lex();
426 Lex();
431 Lex();
455 Lex();
461 Lex();
480 Lex();
489 Lex();
519 Lex();
[all...]
H A DELFAsmParser.cpp187 Lex();
191 Lex();
218 Lex();
239 Lex();
250 Lex(); // Consume the "-".
253 Lex();
256 Lex();
364 Lex();
371 Lex();
378 Lex();
[all...]
H A DAsmParser.cpp218 virtual const AsmToken &Lex();
311 /// current token is not set; clients should ensure Lex() is called
581 const AsmToken &AsmParser::Lex() { function in class:AsmParser
582 const AsmToken *tok = &Lexer.Lex();
590 tok = &Lexer.Lex();
606 Lex();
689 Lex();
693 Lex();
701 Lex();
713 Lex();
[all...]
/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
/external/clang/lib/Parse/
H A DParsePragma.cpp15 #include "clang/Lex/Preprocessor.h"
253 PP.Lex(Tok);
264 PP.Lex(Tok);
268 PP.Lex(Tok);
279 PP.Lex(Tok);
289 PP.Lex(Tok);
292 PP.Lex(Tok);
297 PP.Lex(Tok);
300 PP.Lex(Tok);
303 PP.Lex(To
[all...]
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp933 Parser.Lex(); // Eat register token.
957 Parser.Lex(); // Eat dollar token.
963 Parser.Lex(); // Eat the parenthesis.
967 Parser.Lex(); // Eat the dollar
976 Parser.Lex();
1102 Parser.Lex(); // Eat the % token.
1109 Parser.Lex(); // Eat the identifier.
1116 Parser.Lex(); // Eat the '(' token.
1118 Parser.Lex(); // Eat the % token.
1124 Parser.Lex(); // Ea
[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.mk17 lib/Lex \
/external/clang/lib/Lex/
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"
102 /// HandlePragmaDirective - The "\#pragma" directive has been parsed. Lex the
183 Lex(Tok);
190 Lex(Tok);
195 Lex(To
[all...]
/external/clang/include/clang/
H A DMakefile2 DIRS := AST Basic Driver Lex Parse Sema Serialization
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp1231 Parser.Lex();
1243 Parser.Lex(); // Eat '['
1287 Parser.Lex(); // Eat '['
1302 Parser.Lex(); // Eat actual lane
1313 Parser.Lex(); // Eat ']'
1321 Parser.Lex();
1373 Parser.Lex(); // Eat identifier
1380 Parser.Lex();
1392 Parser.Lex(); // Eat '#'
1404 Parser.Lex();
[all...]

Completed in 2658 milliseconds

123