mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
13 lines
383 B
C#
13 lines
383 B
C#
using System;
|
|
|
|
namespace Orchard.Scripting.Compiler {
|
|
public class Token {
|
|
public TokenKind Kind { get; set; }
|
|
public int Position { get; set; }
|
|
public object Value { get; set; }
|
|
|
|
public override string ToString() {
|
|
return String.Format("{0} ({1}) at position {2}", Kind, Value ?? "<noval>", Position);
|
|
}
|
|
}
|
|
} |