__init__ ( self, expressions )
(expressions)
Match one of a list of alternate expressions. The expressions are
tested in their input order.
For example, Alt( (exp1, exp2, exp3) ) means try to match exp1,
and if that fails try to match exp2, and if that fails, try to
match exp3. If that fails, the match failed.
Exceptions
|
|
TypeError( "Must pass in a list of expressions, not just a single one (put it inside of ()s" )
|
|