From ca83da9237c3650ffca2b3540298a2601c1b5b5a Mon Sep 17 00:00:00 2001 From: Sasha Lopoukhine Date: Sun, 8 Dec 2024 11:39:03 +0000 Subject: [PATCH] remove unused helper --- asl_xdsl/frontend/parser.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/asl_xdsl/frontend/parser.py b/asl_xdsl/frontend/parser.py index 858cd70..250c250 100644 --- a/asl_xdsl/frontend/parser.py +++ b/asl_xdsl/frontend/parser.py @@ -47,9 +47,6 @@ def parse_characters(self, chars: str) -> str: lambda parser: parser.parse_optional_characters(chars), chars ) - def peek_characters(self, chars: str) -> bool: - return self.input.content.startswith(chars, self.pos) - def peek_optional(self, pattern: re.Pattern[str]): if (match := pattern.match(self.input.content, self.pos)) is not None: end_pos = match.regs[0][1]