parent
7d2a746090
commit
e6a0c45674
|
@ -46,8 +46,8 @@ export class Token {
|
|||
|
||||
isString(): boolean { return this.type == TokenType.String; }
|
||||
|
||||
isOperator(operater: string): boolean {
|
||||
return this.type == TokenType.Operator && this.strValue == operater;
|
||||
isOperator(operator: string): boolean {
|
||||
return this.type == TokenType.Operator && this.strValue == operator;
|
||||
}
|
||||
|
||||
isIdentifier(): boolean { return this.type == TokenType.Identifier; }
|
||||
|
|
Loading…
Reference in New Issue