mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-12 03:01:32 +00:00
15 lines
408 B
C#
15 lines
408 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Compiler.XSharp {
|
|
public class Token {
|
|
public enum TokenType { Comment, Literal, Register, Assignment, ValueNumber, BracketLeft, BracketRight, Plus, Minus, Inc, Dec}
|
|
|
|
public TokenType Type;
|
|
public int SrcPosStart;
|
|
public int SrcPosEnd;
|
|
public string Value;
|
|
}
|
|
}
|