1 write to TokenID
System.Workflow.Activities (1)
Rules\Parser\Token.cs (1)
70
this.
TokenID
= tokenID;
98 references to TokenID
System.Workflow.Activities (98)
Rules\Parser\Intellisense.cs (21)
47
if (token.
TokenID
== TokenID.EndOfInput)
52
if (token.
TokenID
== TokenID.Identifier && ((string)token.Value).Length == 1 && PrevToken().
TokenID
!= TokenID.Dot)
57
else if (token.
TokenID
== TokenID.Dot)
62
else if (token.
TokenID
== TokenID.LParen)
65
if (PrevToken().
TokenID
== TokenID.Identifier)
67
if (PrevToken().
TokenID
== TokenID.Dot)
83
if (CurrentToken.
TokenID
== TokenID.New)
103
while (CurrentToken.
TokenID
== TokenID.Dot)
106
switch (token.
TokenID
)
124
if (CurrentToken.
TokenID
== TokenID.Identifier)
143
} while (CurrentToken.
TokenID
== TokenID.RBracket);
146
if (CurrentToken.
TokenID
== TokenID.Identifier)
151
else if (CurrentToken.
TokenID
== TokenID.RParen)
158
if (CurrentToken.
TokenID
== TokenID.Identifier)
182
if (CurrentToken.
TokenID
== TokenID.Identifier)
202
if (CurrentToken.
TokenID
== TokenID.New)
212
TokenID closeDelimiter = CurrentToken.
TokenID
;
216
while (token.
TokenID
!= TokenID.EndOfInput)
218
if (token.
TokenID
== closeDelimiter)
222
else if (token.
TokenID
== openDelimiter)
Rules\Parser\Parser.cs (75)
944
if (parserContext.NumTokens == 2 && token.
TokenID
== TokenID.Identifier)
947
System.Diagnostics.Debug.Assert(parserContext.NextToken().
TokenID
== TokenID.EndOfInput);
1023
if (parserContext.CurrentToken.
TokenID
== TokenID.EndOfInput)
1028
if (parserContext.CurrentToken.
TokenID
!= TokenID.EndOfInput)
1052
if (parserContext.CurrentToken.
TokenID
!= TokenID.EndOfInput)
1076
while (parserContext.CurrentToken.
TokenID
!= TokenID.EndOfInput)
1086
while (parserContext.CurrentToken.
TokenID
== TokenID.Semicolon)
1104
if (statementToken.
TokenID
== TokenID.Halt)
1111
else if (statementToken.
TokenID
== TokenID.Update)
1117
if (parserContext.CurrentToken.
TokenID
!= TokenID.LParen)
1128
if (updateArgToken.
TokenID
== TokenID.StringLiteral)
1155
if (parserContext.CurrentToken.
TokenID
!= TokenID.RParen)
1173
parserContext.CurrentToken.
TokenID
== TokenID.LParen &&
1226
if (token.
TokenID
== TokenID.Assign)
1278
BinaryOperationDescriptor operationDescriptor = precedenceDescriptor.FindOperation(operatorToken.
TokenID
);
1303
if (currentToken.
TokenID
== TokenID.Not)
1315
else if (currentToken.
TokenID
== TokenID.Minus)
1327
else if (currentToken.
TokenID
== TokenID.LParen)
1338
if (type == null || parserContext.CurrentToken.
TokenID
!= TokenID.RParen)
1354
if (parserContext.CurrentToken.
TokenID
!= TokenID.RParen)
1407
if (parserContext.CurrentToken.
TokenID
== TokenID.Dot)
1411
else if (parserContext.CurrentToken.
TokenID
== TokenID.LBracket)
1423
System.Diagnostics.Debug.Assert(parserContext.CurrentToken.
TokenID
== TokenID.LBracket);
1464
while (parserContext.CurrentToken.
TokenID
== TokenID.Comma)
1472
if (parserContext.CurrentToken.
TokenID
!= TokenID.RBracket)
1494
System.Diagnostics.Debug.Assert(parserContext.CurrentToken.
TokenID
== TokenID.Dot);
1497
if (token.
TokenID
!= TokenID.Identifier)
1499
if (parserContext.provideIntellisense && token.
TokenID
== TokenID.EndOfInput)
1515
if (parserContext.NextToken().
TokenID
== TokenID.LParen)
1529
System.Diagnostics.Debug.Assert(parserContext.CurrentToken.
TokenID
== TokenID.LParen);
1536
if (parserContext.CurrentToken.
TokenID
== TokenID.EndOfInput && parserContext.provideIntellisense)
1556
if (parserContext.CurrentToken.
TokenID
!= TokenID.RParen)
1560
while (parserContext.CurrentToken.
TokenID
== TokenID.Comma)
1568
if (parserContext.CurrentToken.
TokenID
!= TokenID.RParen)
1666
System.Diagnostics.Debug.Assert(parserContext.CurrentToken.
TokenID
== TokenID.LParen);
1674
if (parserContext.CurrentToken.
TokenID
== TokenID.EndOfInput && parserContext.provideIntellisense)
1721
switch (token.
TokenID
)
1772
switch (token.
TokenID
)
1782
if (token.
TokenID
!= TokenID.RParen)
1854
if (parserContext.provideIntellisense && parserContext.CurrentToken.
TokenID
== TokenID.EndOfInput)
1869
if (parserContext.CurrentToken.
TokenID
!= TokenID.LParen)
1912
System.Diagnostics.Debug.Assert(parserContext.CurrentToken.
TokenID
== TokenID.LParen);
1918
if (parserContext.CurrentToken.
TokenID
== TokenID.EndOfInput && parserContext.provideIntellisense)
1969
if (parserContext.CurrentToken.
TokenID
!= TokenID.LCurlyBrace)
1975
if (parserContext.CurrentToken.
TokenID
!= TokenID.RCurlyBrace)
1978
while (parserContext.CurrentToken.
TokenID
== TokenID.Comma)
1984
if (parserContext.CurrentToken.
TokenID
!= TokenID.RCurlyBrace)
2045
if (parserContext.CurrentToken.
TokenID
== TokenID.LParen)
2066
if (token.
TokenID
!= TokenID.Dot)
2070
if (token.
TokenID
!= TokenID.Identifier)
2072
if (parserContext.provideIntellisense && token.
TokenID
== TokenID.EndOfInput)
2105
if (typeSym.GenericArgCount > 0 && token.
TokenID
!= TokenID.Less)
2114
if (token.
TokenID
== TokenID.Less)
2138
if (token.
TokenID
== TokenID.Dot)
2158
if (token.
TokenID
== TokenID.Less)
2184
if (parserContext.CurrentToken.
TokenID
== TokenID.Dot)
2198
if (parserContext.CurrentToken.
TokenID
== TokenID.LParen)
2228
System.Diagnostics.Debug.Assert(parserContext.CurrentToken.
TokenID
== TokenID.Dot);
2232
while (parserContext.CurrentToken.
TokenID
== TokenID.Dot)
2239
if (token.
TokenID
!= TokenID.Identifier)
2241
if (parserContext.provideIntellisense && token.
TokenID
== TokenID.EndOfInput)
2258
if (parserContext.NextToken().
TokenID
== TokenID.Less)
2315
System.Diagnostics.Debug.Assert(parserContext.CurrentToken.
TokenID
== TokenID.Less);
2333
System.Diagnostics.Debug.Assert(parserContext.CurrentToken.
TokenID
== TokenID.Less);
2348
} while (parserContext.CurrentToken.
TokenID
== TokenID.Comma);
2350
if (parserContext.CurrentToken.
TokenID
!= TokenID.Greater)
2374
if (currentToken.
TokenID
== TokenID.TypeName)
2379
else if (currentToken.
TokenID
== TokenID.Identifier)
2411
if ((type != null) && (parserContext.CurrentToken.
TokenID
== TokenID.LBracket))
2415
if (next.
TokenID
!= TokenID.RBracket)
2420
if (parserContext.CurrentToken.
TokenID
!= TokenID.RBracket)
2448
while (parserContext.CurrentToken.
TokenID
== TokenID.LBracket)
2451
while (parserContext.NextToken().
TokenID
== TokenID.Comma)
2454
if (parserContext.CurrentToken.
TokenID
== TokenID.RBracket)
2792
if (parserContext.CurrentToken.
TokenID
== TokenID.Assign && !assignIsEquality)
Rules\Parser\Scanner.cs (2)
136
} while (token.
TokenID
!= TokenID.EndOfInput);
156
} while (token != null && token.
TokenID
!= TokenID.EndOfInput);