From 8908e51aeaee91d6b63684a21ed1ca16de49916f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 7 Aug 2018 14:24:03 +0300 Subject: full precedence --- src/parser_api.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/parser_api.rs') 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> { self.0.at_compound2(c1, c2) } + pub(crate) fn at_compound3(&self, c1: SyntaxKind, c2: SyntaxKind, c3: SyntaxKind) -> bool { + self.0.at_compound3(c1, c2, c3) + } + /// Checks if the current token is contextual keyword with text `t`. pub(crate) fn at_contextual_kw(&self, t: &str) -> bool { self.0.at_kw(t) -- cgit v1.2.3