5 instantiations of Token
System.Workflow.Activities (5)
Rules\Parser\Intellisense.cs (2)
18
tokens.Add(new
Token
(TokenID.EndOfInput, 0, null));
96
postfixTokens.Add(new
Token
(TokenID.EndOfInput, 0, null));
Rules\Parser\Scanner.cs (3)
153
token = new
Token
(TokenID.Illegal, 0, null);
196
return new
Token
(TokenID.EndOfInput, currentPosition, null);
358
Token token = new
Token
(tokenID, tokenStartPosition, tokenValue);
39 references to Token
System.Workflow.Activities (39)
Rules\Parser\Intellisense.cs (8)
11
private List<
Token
> tokens = new List<
Token
>();
23
private
Token
CurrentToken
28
private
Token
PrevToken()
42
Token
token = CurrentToken;
95
List<
Token
> postfixTokens = tokens.GetRange(tokenIndex + 1, endTokenIndex - tokenIndex);
105
Token
token = PrevToken();
215
Token
token = PrevToken(); // Eat the close delimiter
Rules\Parser\Parser.cs (25)
179
private List<
Token
> tokens;
189
tokens = new List<
Token
>();
193
internal ParserContext(List<
Token
> tokens)
200
internal
Token
CurrentToken
205
internal
Token
NextToken()
940
Token
token = parserContext.CurrentToken;
1103
Token
statementToken = parserContext.CurrentToken;
1127
Token
updateArgToken = parserContext.CurrentToken;
1225
Token
token = parserContext.CurrentToken;
1274
Token
operatorToken = parserContext.CurrentToken;
1300
Token
currentToken = parserContext.CurrentToken;
1496
Token
token = parserContext.NextToken(); // Consume the '.'
1717
Token
token = parserContext.CurrentToken;
1770
Token
token = parserContext.CurrentToken;
1849
Token
token = parserContext.CurrentToken;
2009
Token
token = parserContext.CurrentToken;
2039
Token
token = parserContext.CurrentToken;
2065
Token
token = parserContext.NextToken();
2103
Token
token = parserContext.NextToken();
2150
Token
token = parserContext.CurrentToken;
2238
Token
token = parserContext.NextToken();
2337
Token
token;
2373
Token
currentToken = parserContext.CurrentToken;
2407
Token
currentToken = parserContext.CurrentToken;
2413
Token
next = parserContext.NextToken(); // skip '['
Rules\Parser\Scanner.cs (6)
129
internal void Tokenize(List<
Token
> tokenList)
131
Token
token = null;
139
internal void TokenizeForIntellisense(List<
Token
> tokenList)
141
Token
token = null;
186
private
Token
NextToken()
358
Token
token = new Token(tokenID, tokenStartPosition, tokenValue);