Skip to content

Commit

Permalink
remove unused helper
Browse files Browse the repository at this point in the history
  • Loading branch information
superlopuh committed Dec 8, 2024
1 parent 60ff7ec commit ca83da9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions asl_xdsl/frontend/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit ca83da9

Please sign in to comment.