# HG changeset patch # User Jeff Hammel # Date 1307121379 25200 # Node ID 15fb1081784f802bf69639d551cf1fc12b783dec # Parent 421e26c0299fe31af97b0d686f18b6746893b4b2 add ExpressionParser to the exports diff -r 421e26c0299f -r 15fb1081784f expr.py --- a/expr.py Fri Jun 03 08:36:55 2011 -0700 +++ b/expr.py Fri Jun 03 10:16:19 2011 -0700 @@ -22,10 +22,13 @@ # Identifiers take their values from a mapping dictionary passed as the second # argument. -__all__ = ['parse', 'ParseError'] +__all__ = ['parse', 'ParseError', 'ExpressionParser'] import re # token classes +class token(object): + pass + class ident_token(object): def __init__(self, value): self.value = value