Home | Trees | Indices | Help |
|
---|
|
object --+ | LogicNode
Objects which can be represented as nodes in the AST of a constraint logic graph should inherit from this class, which defines methods for overloading built-in operations.
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Overloads +Logic may be defined by using addition to sum logic nodes: > query.set_logic(con_a + con_b + con_c) > str(query.logic) ... A and B and C |
Overloads &Logic may be defined by using the & operator: > query.set_logic(con_a & con_b) > sr(query.logic) ... A and B |
Overloads |Logic may be defined by using the | operator: > query.set_logic(con_a | con_b) > str(query.logic) ... A or B |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Mar 21 13:40:33 2013 | http://epydoc.sourceforge.net |