diff options
author | Aleksey Kladov <[email protected]> | 2018-08-07 12:24:03 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-07 12:24:03 +0100 |
commit | 8908e51aeaee91d6b63684a21ed1ca16de49916f (patch) | |
tree | 30fa7b9ac02c7326d3c7fbd192ebe2ef46b82d58 /src/parser_api.rs | |
parent | 498098a5d968f06f08fa093f1fd5a43a9a61ecf3 (diff) |
full precedence
Diffstat (limited to 'src/parser_api.rs')
-rw-r--r-- | src/parser_api.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser_api.rs b/src/parser_api.rs index fef21c5fd..c739b1321 100644 --- a/src/parser_api.rs +++ b/src/parser_api.rs | |||
@@ -62,6 +62,10 @@ impl<'t> Parser<'t> { | |||
62 | self.0.at_compound2(c1, c2) | 62 | self.0.at_compound2(c1, c2) |
63 | } | 63 | } |
64 | 64 | ||
65 | pub(crate) fn at_compound3(&self, c1: SyntaxKind, c2: SyntaxKind, c3: SyntaxKind) -> bool { | ||
66 | self.0.at_compound3(c1, c2, c3) | ||
67 | } | ||
68 | |||
65 | /// Checks if the current token is contextual keyword with text `t`. | 69 | /// Checks if the current token is contextual keyword with text `t`. |
66 | pub(crate) fn at_contextual_kw(&self, t: &str) -> bool { | 70 | pub(crate) fn at_contextual_kw(&self, t: &str) -> bool { |
67 | self.0.at_kw(t) | 71 | self.0.at_kw(t) |