Exemplo n.º 1
0
 public Token(int offset, int count, char[] source, TokenType type, bool hasError = false)
 {
     Type      = type;
     HasError  = hasError;
     Selection = new Parser.SubArray <char>(source, offset, count);
 }
Exemplo n.º 2
0
 public Token(int offset, int count, char[] source, TokenType type, bool hasError = false)
 {
     Type = type;
     HasError = hasError;
     Selection = new Parser.SubArray<char>(source, offset, count);
 }