Home
last modified time | relevance | path

Searched refs:getLexer (Results 1 – 25 of 70) sorted by relevance

123

/external/llvm/lib/MC/MCParser/
DCOFFAsmParser.cpp139 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
150 if (getLexer().is(AsmToken::EndOfStatement)) in ParseDirectiveSymbolAttribute()
153 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
166 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
195 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl()
208 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveType()
227 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSecRel32()
242 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSEHDirectiveStartProc()
275 if (getLexer().isNot(AsmToken::Comma)) in ParseSEHDirectiveHandler()
281 if (getLexer().is(AsmToken::Comma)) { in ParseSEHDirectiveHandler()
[all …]
DELFAsmParser.cpp164 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
175 if (getLexer().is(AsmToken::EndOfStatement)) in ParseDirectiveSymbolAttribute()
178 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
190 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
206 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize()
214 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSize()
224 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName()
227 if (getLexer().is(AsmToken::String)) { in ParseSectionName()
237 SMLoc PrevLoc = getLexer().getLoc(); in ParseSectionName()
238 if (getLexer().is(AsmToken::Minus)) { in ParseSectionName()
[all …]
DDarwinAsmParser.cpp300 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
335 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveDesc()
343 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveDesc()
359 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveDumpOrLoad()
364 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveDumpOrLoad()
387 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveLsym()
395 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveLsym()
410 SMLoc Loc = getLexer().getLoc(); in ParseDirectiveSection()
417 if (!getLexer().is(AsmToken::Comma)) in ParseDirectiveSection()
425 StringRef EOL = getLexer().LexUntilEndOfStatement(); in ParseDirectiveSection()
[all …]
DAsmParser.cpp146 virtual MCAsmLexer &getLexer() { return Lexer; } in getLexer() function in __anon4250552f0111::AsmParser
558 PrintMessage(getLexer().getLoc(), SourceMgr::DK_Error, in Run()
1313 if (getLexer().isNot(AsmToken::Integer)) { in ParseCppHashLineFilenameComment()
1323 if (getLexer().isNot(AsmToken::String)) { in ParseCppHashLineFilenameComment()
1664 SMLoc DollarLoc = getLexer().getLoc(); in ParseIdentifier()
1703 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSet()
1711 assert(getLexer().is(AsmToken::String) && "Unexpected current token!"); in ParseEscapedString()
1771 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveAscii()
1775 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveAscii()
1788 if (getLexer().is(AsmToken::EndOfStatement)) in ParseDirectiveAscii()
[all …]
DMCAsmParser.cpp33 return getLexer().getTok(); in getTok()
37 Error(getLexer().getLoc(), Msg, Ranges); in TokError()
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt022scopes.py27 lexer = self.getLexer(cStream)
35 lexer = self.getLexer(cStream)
48 lexer = self.getLexer(cStream)
64 lexer = self.getLexer(cStream)
86 lexer = self.getLexer(cStream)
112 lexer = self.getLexer(cStream)
129 lexer = self.getLexer(cStream)
143 lexer = self.getLexer(cStream)
157 lexer = self.getLexer(cStream)
Dt030specialStates.py13 lexer = self.getLexer(cStream)
21 lexer = self.getLexer(cStream)
29 lexer = self.getLexer(cStream)
38 lexer = self.getLexer(cStream)
Dt014parser.py12 lexer = self.getLexer(cStream)
28 lexer = self.getLexer(cStream)
42 lexer = self.getLexer(cStream)
58 lexer = self.getLexer(cStream)
Dt012lexerXML.py31 lexer = self.getLexer(stream)
61 lexer = self.getLexer(stream)
85 lexer = self.getLexer(stream)
109 lexer = self.getLexer(stream)
Dt001lexer.py25 lexer = self.getLexer(stream)
36 lexer = self.getLexer(stream)
45 lexer = self.getLexer(stream)
Dt017parser.py25 lexer = self.getLexer(cStream)
35 lexer = self.getLexer(cStream)
47 lexer = self.getLexer(cStream)
Dt005lexer.py25 lexer = self.getLexer(stream)
51 lexer = self.getLexer(stream)
64 lexer = self.getLexer(stream)
Dt013parser.py12 lexer = self.getLexer(cStream)
23 lexer = self.getLexer(cStream)
Dt032subrulePredict.py25 lexer = self.getLexer(cStream)
37 lexer = self.getLexer(cStream)
Dt021hoist.py15 lexer = self.getLexer(cStream)
26 lexer = self.getLexer(cStream)
Dt002lexer.py25 lexer = self.getLexer(stream)
39 lexer = self.getLexer(stream)
Dt003lexer.py25 lexer = self.getLexer(stream)
42 lexer = self.getLexer(stream)
Dt007lexer.py25 lexer = self.getLexer(stream)
45 lexer = self.getLexer(stream)
Dt006lexer.py25 lexer = self.getLexer(stream)
45 lexer = self.getLexer(stream)
Dt009lexer.py25 lexer = self.getLexer(stream)
51 lexer = self.getLexer(stream)
Dt008lexer.py25 lexer = self.getLexer(stream)
51 lexer = self.getLexer(stream)
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp39 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anonf7c364920111::X86AsmParser
522 if (getLexer().isNot(AsmToken::LParen)) in ParseRegister()
611 if (getLexer().isNot(AsmToken::LBrac)) in ParseIntelBracExpression()
615 if (getLexer().is(AsmToken::Identifier)) { in ParseIntelBracExpression()
620 if (getLexer().isNot(AsmToken::RBrac)) in ParseIntelBracExpression()
625 } else if (getLexer().is(AsmToken::Integer)) { in ParseIntelBracExpression()
629 if (getLexer().is(AsmToken::RBrac)) { in ParseIntelBracExpression()
637 } else if (getLexer().is(AsmToken::Star)) { in ParseIntelBracExpression()
648 if (getLexer().is(AsmToken::Plus) || getLexer().is(AsmToken::Minus)) { in ParseIntelBracExpression()
649 bool isPlus = getLexer().is(AsmToken::Plus); in ParseIntelBracExpression()
[all …]
/external/llvm/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp32 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anon6e1ae79c0111::MBlazeAsmParser
394 switch (getLexer().getKind()) { in ParseRegister()
397 RegNo = MatchRegisterName(getLexer().getTok().getIdentifier()); in ParseRegister()
401 getLexer().Lex(); in ParseRegister()
421 switch (getLexer().getKind()) { in ParseFsl()
424 unsigned reg = MatchFslRegister(getLexer().getTok().getIdentifier()); in ParseFsl()
428 getLexer().Lex(); in ParseFsl()
439 switch (getLexer().getKind()) { in ParseImmediate()
491 if (getLexer().is(AsmToken::EndOfStatement)) in ParseInstruction()
498 while (getLexer().isNot(AsmToken::EndOfStatement) && in ParseInstruction()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h55 MCAsmLexer &getLexer() { return getParser().getLexer(); } in getLexer() function
/external/nist-sip/java/gov/nist/javax/sip/parser/
DUserAgentParser.java97 this.getLexer().SPorHT(); in parse()
110 this.getLexer().SPorHT(); in parse()

123