-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTokenType.cs
40 lines (39 loc) · 936 Bytes
/
TokenType.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;
using System.Collections.Generic;
using System.Text;
namespace piaine
{
public enum TokenType
{
/// <summary>
/// No token defined.
/// </summary>
Undefined,
/// <summary>
/// {
/// Variables will be enclosed in parenthesis. This is the opening of a parentesi
/// </summary>
LeftParenthesis,
/// <summary>
/// }
/// </summary>
RightParenthesis,
/// <summary>
/// !
/// I am using bangs to identify variables
/// </summary>
Variable,
/// <summary>
/// This is not the best way to do this.
/// </summary>
foreachLoop,
/// <summary>
/// For html not in scope of the processing.
/// </summary>
Unscoped,
/// <summary>
/// End of file token.
/// </summary>
EndOfFile
}
}