Home | History | Annotate | Download | only in Antlr3.Runtime

Lines Matching refs:tokentype

246     property TokenType: Integer read GetTokenType write SetTokenType;
621 property TokenType: Integer read GetTokenType write SetTokenType;
675 property TokenType: Integer read GetTokenType write SetTokenType;
721 function Match(const Input: IIntStream; const TokenType: Integer;
725 const TokenType: Integer): Boolean;
817 procedure ConsumeUntil(const Input: IIntStream; const TokenType: Integer); overload;
979 TokenType: Integer): IList<IToken>; overload;
2023 procedure Mismatch(const Input: IIntStream; const TokenType: Integer;
2058 const TokenType: Integer; const Follow: IBitSet): IANTLRInterface; virtual;
2252 function Match(const Input: IIntStream; const TokenType: Integer;
2255 const TokenType: Integer): Boolean;
2272 procedure ConsumeUntil(const Input: IIntStream; const TokenType: Integer); overload; virtual;
2305 /// <summary><![CDATA[Map<tokentype, channel>]]> to override some Tokens' channel numbers </summary>
2308 /// <summary><![CDATA[Set<tokentype>;]]> discard any tokens with this type </summary>
2375 TokenType: Integer): IList<IToken>; overload;
2941 Result := FToken.TokenType
4024 FTokenType := AOldToken.TokenType;
4042 FTokenType := AOldToken.TokenType;
4207 const TokenType: Integer);
4212 while (TType <> TToken.EOF) and (TType <> TokenType) do
4471 if (T.TokenType = TToken.EOF) then
4474 Result := '<' + IntToStr(T.TokenType) + '>';
4489 const TokenType: Integer; const Follow: IBitSet): IANTLRInterface;
4492 if (Input.LA(1) = TokenType) then
4503 Mismatch(Input, TokenType, Follow);
4504 Result := RecoverFromMismatchedToken(Input, TokenType, Follow);
4534 const TokenType: Integer; const Follow: IBitSet);
4536 if MismatchIsUnwantedToken(Input, TokenType) then
4537 raise EUnwantedTokenException.Create(TokenType, Input)
4540 raise EMissingTokenException.Create(TokenType, Input, nil)
4542 raise EMismatchedTokenException.Create(TokenType, Input);
4582 const TokenType: Integer): Boolean;
4584 Result := (Input.LA(2) = TokenType);
4640 const TokenType: Integer; const Follow: IBitSet): IANTLRInterface;
4645 if MismatchIsUnwantedToken(Input, TokenType) then
4647 E := EUnwantedTokenException.Create(TokenType, Input);
4662 Result := GetMissingSymbol(Input, E, TokenType, Follow);
4663 E := EMissingTokenException.Create(TokenType, Input, Result);
4669 raise EMismatchedTokenException.Create(TokenType, Input);
4792 while Assigned(T) and (T.TokenType <> Integer(cscEOF)) do
4797 if FChannelOverrideMap.ContainsKey(T.TokenType) then
4798 T.Channel := FChannelOverrideMap[T.TokenType];
4800 if Assigned(FDiscardSet) and FDiscardSet.ContainsKey(T.TokenType) then
4837 TokenType: Integer): IList<IToken>;
4839 Result := GetTokens(Start, Stop, TBitSet.BitSetOf(TokenType));
4860 if (Types = nil) or Types.Member(T.TokenType) then
4893 Result := LT(I).TokenType;
5345 Result := TCommonToken.Create(FInput, FState.TokenType, FState.Channel,
5580 FState.TokenType := TToken.INVALID_TOKEN_TYPE;
5663 if (Current.TokenType = TToken.EOF) then