forked from xdslproject/xdsl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Create ParserState (NFC) (xdslproject#1114)
`ParserState` is used to encapsulate the state of a given parser. This will allow us to share the state between parsers, so we can better separate the parser code. For instance, when encountering an affine expression, an `AffineParser` will be created with that state, and will take care of parsing the expression.
- Loading branch information
Showing
1 changed file
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters