added ast definition and parser
This commit is contained in:
@@ -155,7 +155,7 @@ class Concat(Parser):
|
||||
return Result(combined_value, right_result.pos)
|
||||
return None
|
||||
|
||||
class Alternate(Parser):
|
||||
class Alternate(Parser):
|
||||
"""The alternate combinator. Parses using either of two parsers."""
|
||||
def __init__(self, left, right):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user