style(compiler): typo fix (#26934)

PR Close #26934
This commit is contained in:
Andrew Grekov 2018-11-03 21:11:33 +03:00 committed by Kara Erickson
parent f536261639
commit e8a8770eee

View File

@ -46,8 +46,8 @@ export class Token {
isString(): boolean { return this.type == TokenType.String; } isString(): boolean { return this.type == TokenType.String; }
isOperator(operater: string): boolean { isOperator(operator: string): boolean {
return this.type == TokenType.Operator && this.strValue == operater; return this.type == TokenType.Operator && this.strValue == operator;
} }
isIdentifier(): boolean { return this.type == TokenType.Identifier; } isIdentifier(): boolean { return this.type == TokenType.Identifier; }