mirror of
https://github.com/actions/runner.git
synced 2025-12-20 06:29:53 +00:00
Compare updated template evaluator (#4092)
This commit is contained in:
30
src/Sdk/Expressions/Tokens/TokenKind.cs
Normal file
30
src/Sdk/Expressions/Tokens/TokenKind.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
|
||||
namespace GitHub.Actions.Expressions.Tokens
|
||||
{
|
||||
internal enum TokenKind
|
||||
{
|
||||
// Punctuation
|
||||
StartGroup, // "(" logical grouping
|
||||
StartIndex, // "["
|
||||
StartParameters, // "(" function call
|
||||
EndGroup, // ")" logical grouping
|
||||
EndIndex, // "]"
|
||||
EndParameters, // ")" function call
|
||||
Separator, // ","
|
||||
Dereference, // "."
|
||||
Wildcard, // "*"
|
||||
LogicalOperator, // "!", "==", etc
|
||||
|
||||
// Values
|
||||
Null,
|
||||
Boolean,
|
||||
Number,
|
||||
String,
|
||||
PropertyName,
|
||||
Function,
|
||||
NamedValue,
|
||||
|
||||
Unexpected,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user