hydrus.hydraspec.legacy package

hydrus.hydraspec.legacy.crud_template module

hydrus.hydraspec.legacy.parser module

This is an interface to Python’s internal parser.

parser.ASTType

alias of st

exception parser.ParserError

Bases: exceptions.Exception

parser.STType

alias of st

parser.ast2list()

Creates a list-tree representation of an ST.

parser.ast2tuple()

Creates a tuple-tree representation of an ST.

parser.compileast()

Compiles an ST object into a code object.

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.sequence2ast()

Creates an ST object from a tree representation.

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.tuple2ast()

Creates an ST object from a tree representation.

parser.tuple2st()

Creates an ST object from a tree representation.