Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81498 / Project / Wizard / Tokenizing / Token.cs
diff options
context:
space:
mode:
1 files changed, 0 insertions, 33 deletions
-rw-r--r--homework/81498/Project/Wizard/Tokenizing/Token.cs33
diff --git a/homework/81498/Project/Wizard/Tokenizing/Token.cs b/homework/81498/Project/Wizard/Tokenizing/Token.cs
deleted file mode 100644
index 1d68e8e..0000000
--- a/homework/81498/Project/Wizard/Tokenizing/Token.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Wizard
-{
- public class Token
- {
- public Token(TokenType type, int line, string lexeme, string location, decimal? number)
- {
- Type = type;
- Line = line;
- Lexeme = lexeme;
- Location = location;
- Number = number;
-
- }
-
- public TokenType Type { get; private set; }
- public int Line { get; private set; }
- public string Lexeme { get; private set; }
- public decimal? Number { get; private set; }
- public string Location { get; private set; }
-
- public override string ToString()
- {
- return Type.ToString() + " " + Lexeme + " " + Number;
- }
-
- }
-}