Lines Matching refs:IToken
229 IToken = interface(IANTLRInterface) interface
302 function NextToken: IToken; in NextToken()
330 function LT(const K: Integer): IToken; in LT()
340 function Get(const I: Integer): IToken; in Get()
355 function ToString(const Start, Stop: IToken): String; overload; in ToString() argument
508 function GetToken: IToken; in GetToken()
509 procedure SetToken(const Value: IToken); argument
598 property Token: IToken read GetToken write SetToken;
630 ICommonToken = interface(IToken)
657 IClassicToken = interface(IToken)
797 function GetTokenErrorDisplay(const T: IToken): String; in GetTokenErrorDisplay() argument
852 function ToStrings(const Tokens: IList<IToken>): IList<String>; in ToStrings() argument
965 function GetTokens: IList<IToken>; overload; in GetTokens()
966 function GetTokens(const Start, Stop: Integer): IList<IToken>; overload; in GetTokens()
973 const Types: IBitSet): IList<IToken>; overload;
976 const Types: IList<Integer>): IList<IToken>; overload;
979 TokenType: Integer): IList<IToken>; overload; in GetTokens()
1061 function NextToken: IToken; in NextToken()
1080 procedure Emit(const Token: IToken); overload; argument
1092 function Emit: IToken; overload; in Emit()
1287 procedure InsertAfter(const T: IToken; const Text: IANTLRInterface); overload;
1289 procedure InsertAfter(const ProgramName: String; const T: IToken; argument
1293 procedure InsertAfter(const T: IToken; const Text: String); overload;
1295 procedure InsertAfter(const ProgramName: String; const T: IToken; argument
1300 procedure InsertBefore(const T: IToken; const Text: IANTLRInterface); overload;
1302 procedure InsertBefore(const ProgramName: String; const T: IToken; argument
1306 procedure InsertBefore(const T: IToken; const Text: String); overload;
1308 procedure InsertBefore(const ProgramName: String; const T: IToken; argument
1315 procedure Replace(const IndexT: IToken; const Text: IANTLRInterface); overload;
1316 procedure Replace(const Start, Stop: IToken; const Text: IANTLRInterface); overload;
1319 procedure Replace(const ProgramName: String; const Start, Stop: IToken; argument
1323 procedure Replace(const IndexT: IToken; const Text: String); overload;
1324 procedure Replace(const Start, Stop: IToken; const Text: String); overload;
1327 procedure Replace(const ProgramName: String; const Start, Stop: IToken; argument
1332 procedure Delete(const IndexT: IToken); overload; argument
1333 procedure Delete(const Start, Stop: IToken); overload; argument
1335 procedure Delete(const ProgramName: String; const Start, Stop: IToken); overload; argument
1395 FToken: IToken;
1431 property Token: IToken read FToken write FToken;
1484 function GetUnexpectedToken: IToken; in GetUnexpectedToken()
1486 property UnexpectedToken: IToken read GetUnexpectedToken;
1790 FToken: IToken;
1816 function GetToken: IToken; in GetToken()
1817 procedure SetToken(const Value: IToken); argument
1834 TCommonToken = class(TANTLRObject, ICommonToken, IToken)
1885 constructor Create(const AOldToken: IToken); overload; argument
1890 TClassicToken = class(TANTLRObject, IClassicToken, IToken)
1918 constructor Create(const AOldToken: IToken); overload; argument
1954 EOF_TOKEN: IToken;
1955 INVALID_TOKEN: IToken;
1960 SKIP_TOKEN: IToken;
2267 function GetTokenErrorDisplay(const T: IToken): String; virtual; in GetTokenErrorDisplay() argument
2277 function ToStrings(const Tokens: IList<IToken>): IList<String>; virtual; in ToStrings() argument
2303 FTokens: IList<IToken>;
2333 function LB(const K: Integer): IToken; virtual; in LB()
2359 function LT(const K: Integer): IToken; virtual; in LT()
2360 function Get(const I: Integer): IToken; virtual; in Get()
2362 function ToString(const Start, Stop: IToken): String; reintroduce; overload; virtual; in ToString() argument
2368 function GetTokens: IList<IToken>; overload; in GetTokens()
2369 function GetTokens(const Start, Stop: Integer): IList<IToken>; overload; in GetTokens()
2371 const Types: IBitSet): IList<IToken>; overload;
2373 const Types: IList<Integer>): IList<IToken>; overload;
2375 TokenType: Integer): IList<IToken>; overload; in GetTokens()
2458 function NextToken: IToken; virtual; in NextToken()
2461 procedure Emit(const Token: IToken); overload; virtual; argument
2462 function Emit: IToken; overload; virtual; in Emit()
2523 FStart: IToken;
2524 FStop: IToken;
2673 procedure InsertAfter(const T: IToken; const Text: IANTLRInterface); overload; virtual;
2675 procedure InsertAfter(const ProgramName: String; const T: IToken; argument
2679 procedure InsertAfter(const T: IToken; const Text: String); overload;
2681 procedure InsertAfter(const ProgramName: String; const T: IToken; argument
2686 procedure InsertBefore(const T: IToken; const Text: IANTLRInterface); overload; virtual;
2688 procedure InsertBefore(const ProgramName: String; const T: IToken; argument
2692 procedure InsertBefore(const T: IToken; const Text: String); overload;
2694 procedure InsertBefore(const ProgramName: String; const T: IToken; argument
2701 procedure Replace(const IndexT: IToken; const Text: IANTLRInterface); overload; virtual;
2702 procedure Replace(const Start, Stop: IToken; const Text: IANTLRInterface); overload; virtual;
2705 procedure Replace(const ProgramName: String; const Start, Stop: IToken; argument
2709 procedure Replace(const IndexT: IToken; const Text: String); overload;
2710 procedure Replace(const Start, Stop: IToken; const Text: String); overload;
2713 procedure Replace(const ProgramName: String; const Start, Stop: IToken; argument
2718 procedure Delete(const IndexT: IToken); overload; virtual; argument
2719 procedure Delete(const Start, Stop: IToken); overload; virtual; argument
2721 procedure Delete(const ProgramName: String; const Start, Stop: IToken); overload; virtual; argument
2814 function Def(const X: IToken): IToken; overload; in Def() argument
2878 Payload, PriorPayload: IToken;
2969 function EUnwantedTokenException.GetUnexpectedToken: IToken; in EUnwantedTokenException.GetUnexpectedToken()
3758 function TRecognizerSharedState.GetToken: IToken; in TRecognizerSharedState.GetToken()
3833 procedure TRecognizerSharedState.SetToken(const Value: IToken); argument
4018 constructor TCommonToken.Create(const AOldToken: IToken); argument
4038 constructor TClassicToken.Create(const AOldToken: IToken); argument
4466 function TBaseRecognizer.GetTokenErrorDisplay(const T: IToken): String; in GetTokenErrorDisplay() argument
4710 function TBaseRecognizer.ToStrings(const Tokens: IList<IToken>): IList<String>; in ToStrings() argument
4712 Token: IToken;
4762 FTokens := TList<IToken>.Create;
4787 T: IToken;
4820 function TCommonTokenStream.Get(const I: Integer): IToken; in TCommonTokenStream.Get()
4831 const Types: IList<Integer>): IList<IToken>;
4837 TokenType: Integer): IList<IToken>; in GetTokens()
4843 const Types: IBitSet): IList<IToken>;
4846 T: IToken;
4856 Result := TList<IToken>.Create;
4868 function TCommonTokenStream.GetTokens: IList<IToken>; in GetTokens()
4876 Stop: Integer): IList<IToken>; in GetTokens()
4901 function TCommonTokenStream.LB(const K: Integer): IToken; in LB()
4930 function TCommonTokenStream.LT(const K: Integer): IToken; in LT()
5045 T: IToken;
5071 function TCommonTokenStream.ToString(const Start, Stop: IToken): String; in TCommonTokenStream.ToString() argument
5343 function TLexer.Emit: IToken; in Emit()
5353 procedure TLexer.Emit(const Token: IToken); argument
5521 function TLexer.NextToken: IToken; in NextToken()
5655 Current: IToken;
5756 FStart := Value as IToken;
5761 FStop := Value as IToken;
5766 procedure TTokenRewriteStream.Delete(const Start, Stop: IToken); argument
5771 procedure TTokenRewriteStream.Delete(const IndexT: IToken); argument
5824 Stop: IToken);
5905 const T: IToken; const Text: IANTLRInterface);
5936 procedure TTokenRewriteStream.InsertAfter(const T: IToken; argument
5955 const T: IToken; const Text: IANTLRInterface);
5969 procedure TTokenRewriteStream.InsertBefore(const T: IToken; argument
5975 procedure TTokenRewriteStream.Replace(const Start, Stop: IToken; argument
5981 procedure TTokenRewriteStream.Replace(const IndexT: IToken; argument
6109 Stop: IToken; const Text: IANTLRInterface);
6207 Tokens: IList<IToken>;
6208 T: IToken;
6281 procedure TTokenRewriteStream.InsertBefore(const T: IToken; const Text: String);
6299 const T: IToken; const Text: String);
6316 procedure TTokenRewriteStream.InsertAfter(const T: IToken; const Text: String);
6334 const T: IToken; const Text: String);
6342 procedure TTokenRewriteStream.Replace(const IndexT: IToken; const Text: String);
6368 Stop: IToken; const Text: String);
6385 procedure TTokenRewriteStream.Replace(const Start, Stop: IToken; argument
6533 EmptyToken: IToken = nil;
6536 function Def(const X: IToken): IToken; overload; in Def() argument