4 instantiations of Token
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (4)
CSharp\Scanner.cs (4)
96
return new
Token
(TokenKind.End);
110
return new
Token
((TokenKind)c);
132
return new
Token
(TokenKind.Identifier, text);
134
return new
Token
(TokenKind.Keyword, text, keywordKind);
13 references to Token
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (13)
CSharp\MemberSignatureParser.cs (8)
19
var builder = ImmutableArray.CreateBuilder<
Token
>();
20
Token
token;
38
private readonly ImmutableArray<
Token
> _tokens;
41
private MemberSignatureParser(ImmutableArray<
Token
> tokens)
47
private
Token
CurrentToken => _tokens[_tokenIndex];
49
private
Token
EatToken()
51
var
token = CurrentToken;
132
var
token = EatToken();
CSharp\Scanner.cs (5)
60
private
Token
_currentToken;
66
_currentToken = default(
Token
);
69
internal
Token
CurrentToken
86
private
Token
Scan()
113
private
Token
ScanIdentifierAfterStartCharacter(bool verbatim)