Stage 2: BigInt (#588)
* Stage 2: BigInt * Change plugin name to bigInt (camelcase). * Update based on PR review, add test cases. * Use hex for charCodes.
This commit is contained in:
committed by
Henry Zhu
parent
fecdb6feeb
commit
baa5f4dca7
@@ -554,6 +554,9 @@ export default class ExpressionParser extends LValParser {
|
||||
case tt.num:
|
||||
return this.parseLiteral(this.state.value, "NumericLiteral");
|
||||
|
||||
case tt.bigint:
|
||||
return this.parseLiteral(this.state.value, "BigIntLiteral");
|
||||
|
||||
case tt.string:
|
||||
return this.parseLiteral(this.state.value, "StringLiteral");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user