예제 #1
0
 public SimpleToken(Tokenizer tokenizer, SimpleTokenType type, string text, int lineNumber, int column, int intValue, float floatValue)
 {
     this.tokenizer = tokenizer;
     this.type = type;
     this.text = text;
     this.lineNumber = lineNumber;
     this.column = column;
     this.intValue = intValue;
     this.floatValue = floatValue;
 }
예제 #2
0
파일: Token.cs 프로젝트: mbrezu/JsonMasher
 private record SimpleToken(SimpleTokenType Type) : Token
예제 #3
0
 public SimpleToken(Tokenizer tokenizer, SimpleTokenType type, string text, int lineNumber, int column, int intValue)
     : this(tokenizer, type, text, lineNumber, column, intValue, 0.0f)
 {
 }