public class Token extends Object
Constructor and Description |
---|
Token(TokenType type,
String val) |
Token(TokenType type,
String val,
int lineNumber,
int col,
int offset) |
Token(TokenType type,
String val,
String errorMsg) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getCol() |
String |
getErrorMsg() |
int |
getLineNumber() |
int |
getOffset() |
TokenType |
getType() |
String |
getValue() |
String |
toString() |
Copyright © 2024. All rights reserved.