hch
2025-09-04 62188b271cce5e3aec5ca40d58c30f08643e2f60
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace Jace.Tokenizer
{
    /// <summary>
    /// Represents an input token
    /// </summary>
    public struct Token
    {
        /// <summary>
        /// The start position of the token in the input function text.
        /// </summary>
        public int StartPosition;
        
        /// <summary>
        /// The length of token in the input function text.
        /// </summary>
        public int Length;
 
        /// <summary>
        /// The type of the token.
        /// </summary>
        public TokenType TokenType;
 
        /// <summary>
        /// The value of the token.
        /// </summary>
        public object Value;
    }
}