예제 #1
0
파일: Token.cs 프로젝트: zleepy/SqlCleanup
 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);
 }
예제 #2
0
파일: Token.cs 프로젝트: zleepy/SqlCleanup
 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);
 }