Package rxpy :: Package parser :: Module support
[hide private]
[frames] | no frames]

Module support

source code

Support classes for parsing.
Classes [hide private]
  ParserState
Encapsulate state needed by the parser.
  Builder
Base class for states in the parser (called Builder rather than State to avoid confusion with the parser state).
Functions [hide private]
 
parse(text, state, class_, mutable_flags=True)
Parse the text using the given builder.
source code
Variables [hide private]
  OCTAL = '01234567'
  ALPHANUMERIC = digits+ ascii_letters
Function Details [hide private]

parse(text, state, class_, mutable_flags=True)

source code 

Parse the text using the given builder.

If the expression sets flags then it is parsed again. If it changes flags on the second parse then an error is raised.