Logo Search packages:      
Sourcecode: relational version File versions  Download package

relational::parser::node Class Reference

List of all members.

Detailed Description

This class is a node of a relational expression. Leaves are relations and internal nodes are operations.

The kind property says if the node is a binary operator, unary operator or relation.
Since relations are leaves, a relation node will have no attribute for children.

If the node is a binary operator, it will have left and right properties.

If the node is a unary operator, it will have a child, pointing to the child node and a prop containing
the string with the props of the operation.

This class is used to convert an expression into python code.

Definition at line 30 of file parser.py.

Public Member Functions

def __eq__
def __init__
def __str__
def result_format
def toPython

Public Attributes


Static Public Attributes

 kind = None

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index