mirror of
https://github.com/danog/parser.git
synced 2024-11-30 04:29:13 +01:00
chore: add true, false, and null as reserved keywords
Signed-off-by: azjezz <azjezz@protonmail.com>
This commit is contained in:
parent
b72751d3c7
commit
2db9d4641b
@ -103,6 +103,9 @@ pub fn is_reserved_ident(kind: &TokenKind) -> bool {
|
|||||||
| TokenKind::Parent
|
| TokenKind::Parent
|
||||||
| TokenKind::Self_
|
| TokenKind::Self_
|
||||||
| TokenKind::Abstract
|
| TokenKind::Abstract
|
||||||
|
| TokenKind::True
|
||||||
|
| TokenKind::False
|
||||||
|
| TokenKind::Null
|
||||||
| TokenKind::Final
|
| TokenKind::Final
|
||||||
| TokenKind::For
|
| TokenKind::For
|
||||||
| TokenKind::Private
|
| TokenKind::Private
|
||||||
|
Loading…
Reference in New Issue
Block a user