Home
last modified time | relevance | path

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

123

/external/llvm/lib/MC/MCParser/
DCOFFAsmParser.cpp260 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
271 if (getLexer().is(AsmToken::EndOfStatement)) in ParseDirectiveSymbolAttribute()
274 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
287 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
298 if (!getLexer().is(AsmToken::Identifier)) in ParseSectionName()
330 if (getLexer().is(AsmToken::Comma)) { in ParseDirectiveSection()
333 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveSection()
343 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSection()
370 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl()
383 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveType()
[all …]
DELFAsmParser.cpp171 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute()
182 if (getLexer().is(AsmToken::EndOfStatement)) in ParseDirectiveSymbolAttribute()
185 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute()
198 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseSectionSwitch()
216 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize()
224 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSize()
234 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName()
237 if (getLexer().is(AsmToken::String)) { in ParseSectionName()
247 SMLoc PrevLoc = getLexer().getLoc(); in ParseSectionName()
248 if (getLexer().is(AsmToken::Minus)) { in ParseSectionName()
[all …]
DDarwinAsmParser.cpp364 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch()
399 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveDesc()
407 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveDesc()
423 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveDumpOrLoad()
428 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveDumpOrLoad()
446 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveLinkerOption()
456 if (getLexer().is(AsmToken::EndOfStatement)) in ParseDirectiveLinkerOption()
459 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveLinkerOption()
478 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveLsym()
486 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveLsym()
[all …]
DAsmParser.cpp200 virtual MCAsmLexer &getLexer() { return Lexer; } in getLexer() function in __anone9e0c5350111::AsmParser
663 PrintMessage(getLexer().getLoc(), SourceMgr::DK_Error, in Run()
754 SMLoc FirstTokenLoc = getLexer().getLoc(); in ParsePrimaryExpr()
1581 if (getLexer().isNot(AsmToken::Integer)) { in ParseCppHashLineFilenameComment()
1591 if (getLexer().isNot(AsmToken::String)) { in ParseCppHashLineFilenameComment()
2107 SMLoc DollarLoc = getLexer().getLoc(); in parseIdentifier()
2146 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSet()
2154 assert(getLexer().is(AsmToken::String) && "Unexpected current token!"); in parseEscapedString()
2214 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveAscii()
2218 if (getLexer().isNot(AsmToken::String)) 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)
Dt001lexer.py25 lexer = self.getLexer(stream)
36 lexer = self.getLexer(stream)
45 lexer = self.getLexer(stream)
Dt012lexerXML.py31 lexer = self.getLexer(stream)
61 lexer = self.getLexer(stream)
85 lexer = self.getLexer(stream)
109 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)
Dt021hoist.py15 lexer = self.getLexer(cStream)
26 lexer = self.getLexer(cStream)
Dt032subrulePredict.py25 lexer = self.getLexer(cStream)
37 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)
Dt008lexer.py25 lexer = self.getLexer(stream)
51 lexer = self.getLexer(stream)
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp207 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anon5efbd75e0211::MipsAsmParser
950 switch (getLexer().getKind()) { in ParseOperand()
960 if (getLexer().is(AsmToken::LParen)) { in ParseOperand()
964 if (getLexer().isNot(AsmToken::Dollar)) in ParseOperand()
971 if (!getLexer().is(AsmToken::RParen)) in ParseOperand()
1114 if (getLexer().getKind() == AsmToken::LParen) { in parseRelocOperand()
1117 if (getLexer().getKind() == AsmToken::Percent) { in parseRelocOperand()
1125 if (getLexer().getKind() != AsmToken::LParen) in parseRelocOperand()
1133 while (getLexer().getKind() == AsmToken::RParen) in parseRelocOperand()
1155 while (getLexer().getKind() == AsmToken::LParen) in parseMemOffset()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp480 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anone7b60d980111::X86AsmParser
1076 if (getLexer().isNot(AsmToken::LParen)) in ParseRegister()
1266 if (SM.getStopOnLBrac() && getLexer().getKind() == AsmToken::LBrac) in ParseIntelExpression()
1269 switch (getLexer().getKind()) { in ParseIntelExpression()
1338 if (getLexer().isNot(AsmToken::LBrac)) in ParseIntelBracExpression()
1413 getLexer().Lex(); in ParseIntelIdentifier()
1443 if (getLexer().is(AsmToken::Integer)) { in ParseIntelMemOperand()
1449 if (getLexer().isNot(AsmToken::LBrac)) in ParseIntelMemOperand()
1454 if (getLexer().is(AsmToken::LBrac)) in ParseIntelMemOperand()
1459 if (getLexer().isNot(AsmToken::Colon)) in ParseIntelMemOperand()
[all …]
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp180 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() function in __anon6b2e802f0111::PPCAsmParser
1102 switch (getLexer().getKind()) { in ParseOperand()
1141 if (TLSCall && getLexer().is(AsmToken::LParen)) { in ParseOperand()
1148 if (getLexer().isNot(AsmToken::RParen)) in ParseOperand()
1158 if (!TLSCall && getLexer().is(AsmToken::LParen)) { in ParseOperand()
1163 switch (getLexer().getKind()) { in ParseOperand()
1182 if (getLexer().isNot(AsmToken::RParen)) in ParseOperand()
1202 if (getLexer().is(AsmToken::Plus)) { in ParseInstruction()
1203 getLexer().Lex(); in ParseInstruction()
1208 if (getLexer().is(AsmToken::Minus)) { 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