Home
last modified time | relevance | path

Searched refs:CreateToken (Results 1 – 16 of 16) sorted by relevance

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DRewriteRuleXxxxStreamFixture.cs53 "RewriteRuleTokenStream test2", CreateToken(1, in CheckRewriteRuleTokenStreamConstructors()
68 "RewriteRuleSubtreeStream test2", CreateToken(1, in CheckRewriteRuleSubtreeStreamConstructors()
82 "RewriteRuleNodeStream test2", CreateToken(1, in CheckRewriteRuleNodeStreamConstructors()
194 IToken token1 = CreateToken(1, "test token without any real context"); in CheckRRTokenStreamBehaviourWithElements()
232 IToken token2 = CreateToken(2, "test token without any real context"); in CheckRRTokenStreamBehaviourWithElements()
259 IToken token1 = CreateToken(1, "test token without any real context"); in CheckRRSubtreeStreamBehaviourWithElements()
287 IToken token2 = CreateToken(2, "test token without any real context"); in CheckRRSubtreeStreamBehaviourWithElements()
313 IToken token1 = CreateToken(1, "test token without any real context"); in CheckRRNodeStreamBehaviourWithElements()
342 IToken token2 = CreateToken(2, "test token without any real context"); in CheckRRNodeStreamBehaviourWithElements()
377 private IToken CreateToken(int type, string text) { in CreateToken() method in Antlr.Runtime.Tests.RewriteRuleXxxxStreamFixture
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTreeAdaptor.cs199 fromToken = CreateToken(fromToken); in Create()
210 fromToken = CreateToken(fromToken); in Create()
218 IToken fromToken = CreateToken(tokenType, text); in Create()
283 public abstract IToken CreateToken(int tokenType, string text); in CreateToken() method in Antlr.Runtime.Tree.BaseTreeAdaptor
303 public abstract IToken CreateToken(IToken fromToken); in CreateToken() method in Antlr.Runtime.Tree.BaseTreeAdaptor
DCommonTreeAdaptor.cs83 public override IToken CreateToken(int tokenType, string text) { in CreateToken() method in Antlr.Runtime.Tree.CommonTreeAdaptor
105 public override IToken CreateToken(IToken fromToken) { in CreateToken() method in Antlr.Runtime.Tree.CommonTreeAdaptor
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTreeAdaptor.cs244 fromToken = CreateToken( fromToken ); in Create()
255 fromToken = CreateToken( fromToken ); in Create()
267 fromToken = CreateToken(fromToken); in Create()
275 IToken fromToken = CreateToken( tokenType, text ); in Create()
371 public abstract IToken CreateToken( int tokenType, string text ); in CreateToken() method in Antlr.Runtime.Tree.BaseTreeAdaptor
391 public abstract IToken CreateToken( IToken fromToken ); in CreateToken() method in Antlr.Runtime.Tree.BaseTreeAdaptor
DCommonTreeAdaptor.cs69 public override IToken CreateToken( int tokenType, string text ) in CreateToken() method in Antlr.Runtime.Tree.CommonTreeAdaptor
92 public override IToken CreateToken( IToken fromToken ) in CreateToken() method in Antlr.Runtime.Tree.CommonTreeAdaptor
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp320 static std::unique_ptr<SparcOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() function in __anoncba7d3b40111::SparcOperand
585 Operands.push_back(SparcOperand::CreateToken(Name, NameLoc)); in ParseInstruction()
727 Operands.push_back(SparcOperand::CreateToken("[", in parseOperand()
755 Operands.push_back(SparcOperand::CreateToken("]", in parseOperand()
807 Op = SparcOperand::CreateToken("%psr", S); in parseSparcAsmOperand()
810 Op = SparcOperand::CreateToken("%fsr", S); in parseSparcAsmOperand()
813 Op = SparcOperand::CreateToken("%wim", S); in parseSparcAsmOperand()
816 Op = SparcOperand::CreateToken("%tbr", S); in parseSparcAsmOperand()
820 Op = SparcOperand::CreateToken("%xcc", S); in parseSparcAsmOperand()
822 Op = SparcOperand::CreateToken("%icc", S); in parseSparcAsmOperand()
[all …]
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp573 static std::unique_ptr<HexagonOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() function
1117 Operands.push_back(HexagonOperand::CreateToken(HeadTail.first, Loc)); in splitIdentifier()
1119 Operands.push_back(HexagonOperand::CreateToken( in splitIdentifier()
1145 Operands.push_back(HexagonOperand::CreateToken(LParen, Begin)); in parseOperand()
1151 Operands.push_back(HexagonOperand::CreateToken(RParen, Begin)); in parseOperand()
1161 HexagonOperand::CreateToken(LParen, Begin)); in parseOperand()
1167 Operands.push_back(HexagonOperand::CreateToken(RParen, Begin)); in parseOperand()
1360 HexagonOperand::CreateToken(Token.getString(), Token.getLoc())); in parseInstruction()
1367 HexagonOperand::CreateToken(Token.getString(), Token.getLoc())); in parseInstruction()
1382 Operands.push_back(HexagonOperand::CreateToken( in parseInstruction()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp1629 CreateToken(StringRef Str, bool IsSuffix, SMLoc S, MCContext &Ctx) { in CreateToken() function in __anon26fd99540211::AArch64Operand
2481 AArch64Operand::CreateToken("sys", false, NameLoc, getContext())); in parseSysAlias()
2854 AArch64Operand::CreateToken(Kind, false, S, getContext())); in tryParseVectorRegister()
2915 AArch64Operand::CreateToken("[", false, LBracS, getContext())); in parseRegister()
2917 AArch64Operand::CreateToken("1", false, IntS, getContext())); in parseRegister()
2919 AArch64Operand::CreateToken("]", false, RBracS, getContext())); in parseRegister()
3181 Operands.push_back(AArch64Operand::CreateToken("[", false, Loc, in parseOperand()
3251 AArch64Operand::CreateToken("#0", false, S, getContext())); in parseOperand()
3253 AArch64Operand::CreateToken(".0", false, S, getContext())); in parseOperand()
3293 Operands[0] = AArch64Operand::CreateToken("movz", false, Loc, Ctx); in parseOperand()
[all …]
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas91 function CreateToken(const TokenType: Integer; const Text: String): IToken; in CreateToken() function
1230 function TestIRewriteRuleXxxxStream.CreateToken(const TokenType: Integer; in CreateToken() function
1274 CreateToken(1,'test token without any real context'));
1289 CreateToken(1,'test token without any real context'));
1304 CreateToken(1, 'test token without any real context'));
1347 Token1 := CreateToken(1, 'test token without any real context');
1374 Token2 := CreateToken(2, 'test token without any real context');
1428 Token1 := CreateToken(1, 'test token without any real context');
1454 Token2 := CreateToken(2, 'test token without any real context');
1518 Token1 := CreateToken(1, 'test token without any real context');
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1498 return X86Operand::CreateToken("{sae}", consumedToken); in ParseRoundingModeOp()
1859 Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive, in HandleAVX512Operand()
1866 Operands.push_back(X86Operand::CreateToken("{", consumedToken)); in HandleAVX512Operand()
1872 Operands.push_back(X86Operand::CreateToken("}", consumeToken())); in HandleAVX512Operand()
1876 Operands.push_back(X86Operand::CreateToken("{z}", consumeToken())); in HandleAVX512Operand()
2122 Operands.push_back(X86Operand::CreateToken(PatchedName.slice(0, CCIdx), in ParseInstruction()
2150 Operands.push_back(X86Operand::CreateToken("vpcmp", NameLoc)); in ParseInstruction()
2177 Operands.push_back(X86Operand::CreateToken("vpcom", NameLoc)); in ParseInstruction()
2187 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
2204 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseInstruction()
[all …]
DX86Operand.h466 static std::unique_ptr<X86Operand> CreateToken(StringRef Str, SMLoc Loc) { in CreateToken() function
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas653 function CreateToken(const TokenType: Integer; const Text: String): IToken; overload; in CreateToken() function
670 function CreateToken(const FromToken: IToken): IToken; overload; in CreateToken() function
1308 …function CreateToken(const TokenType: Integer; const Text: String): IToken; overload; virtual; abs… in CreateToken() function
1309 function CreateToken(const FromToken: IToken): IToken; overload; virtual; abstract; in CreateToken() function
1336 function CreateToken(const TokenType: Integer; const Text: String): IToken; overload; override; in CreateToken() function
1337 function CreateToken(const FromToken: IToken): IToken; overload; override; in CreateToken() function
2725 Token := CreateToken(FromToken);
2735 Token := CreateToken(TokenType, Text);
2744 Token := CreateToken(FromToken);
2887 function TCommonTreeAdaptor.CreateToken(const TokenType: Integer; in TCommonTreeAdaptor.CreateToken() function
[all …]
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp290 static std::unique_ptr<AMDGPUOperand> CreateToken(StringRef Str, SMLoc Loc, in CreateToken() function in __anon2fa8e53e0111::AMDGPUOperand
1193 Operands.push_back(AMDGPUOperand::CreateToken(Parser.getTok().getString(), in parseOperand()
1217 Operands.push_back(AMDGPUOperand::CreateToken(Name, NameLoc)); in ParseInstruction()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp2523 static std::unique_ptr<ARMOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() function in __anonef5d38c20311::ARMOperand
3086 Operands.push_back(ARMOperand::CreateToken(ExclaimTok.getString(), in tryParseRegisterWithWriteBack()
3452 Operands.push_back(ARMOperand::CreateToken("^",Parser.getTok().getLoc())); in parseRegisterList()
4724 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
4781 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
4830 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
4874 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
5065 Operands.push_back(ARMOperand::CreateToken("APSR_nzcv", S)); in parseOperand()
5115 Operands.push_back(ARMOperand::CreateToken(Parser.getTok().getString(), in parseOperand()
5710 Operands.push_back(ARMOperand::CreateToken(Mnemonic, NameLoc)); in ParseInstruction()
[all …]
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp694 static std::unique_ptr<PPCOperand> CreateToken(StringRef Str, SMLoc S, in CreateToken() function
1655 Operands.push_back(PPCOperand::CreateToken(Mnemonic, NameLoc, isPPC64())); in ParseInstruction()
1663 Operands.push_back(PPCOperand::CreateToken(DotStr, DotLoc, isPPC64())); in ParseInstruction()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp1146 static std::unique_ptr<MipsOperand> CreateToken(StringRef Str, SMLoc S, in CreateToken() function in __anond0efcad40311::MipsOperand
4667 MipsOperand::CreateToken("(", getLexer().getLoc(), *this)); in parseParenSuffix()
4680 MipsOperand::CreateToken(")", getLexer().getLoc(), *this)); in parseParenSuffix()
4697 MipsOperand::CreateToken("[", getLexer().getLoc(), *this)); in parseBracketSuffix()
4710 MipsOperand::CreateToken("]", getLexer().getLoc(), *this)); in parseBracketSuffix()
4730 Operands.push_back(MipsOperand::CreateToken(Name, NameLoc, *this)); in ParseInstruction()