Parser package¶
This is an interface to Python’s internal parser.
-
parser.STType¶ alias of
parser.st
-
parser.compilest()¶ Compiles an ST object into a code object.
-
parser.expr()¶ Creates an ST object from an expression.
-
parser.isexpr()¶ Determines if an ST object was created from an expression.
-
parser.issuite()¶ Determines if an ST object was created from a suite.
-
parser.sequence2st()¶ Creates an ST object from a tree representation.
-
parser.st2list()¶ Creates a list-tree representation of an ST.
-
parser.st2tuple()¶ Creates a tuple-tree representation of an ST.
-
parser.suite()¶ Creates an ST object from a suite.
-
parser.tuple2st()¶ Creates an ST object from a tree representation.