diff options
Diffstat (limited to 'src/syntax_kinds.rs')
-rw-r--r-- | src/syntax_kinds.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/syntax_kinds.rs b/src/syntax_kinds.rs index aa19c2adf..cc9e74f8e 100644 --- a/src/syntax_kinds.rs +++ b/src/syntax_kinds.rs | |||
@@ -92,8 +92,12 @@ pub enum SyntaxKind { | |||
92 | ALIAS, | 92 | ALIAS, |
93 | VISIBILITY, | 93 | VISIBILITY, |
94 | 94 | ||
95 | TOMBSTONE = !0 - 1, | 95 | // Technical SyntaxKinds: they appear temporally during parsing, |
96 | EOF = !0, | 96 | // but never end up in the final tree |
97 | #[doc(hidden)] | ||
98 | TOMBSTONE, | ||
99 | #[doc(hidden)] | ||
100 | EOF, | ||
97 | } | 101 | } |
98 | pub(crate) use self::SyntaxKind::*; | 102 | pub(crate) use self::SyntaxKind::*; |
99 | 103 | ||