Trees | Index | Help |
|
---|
Package formulaparser :: Module FormulaToAST :: Class FormulaToAST |
|
Method Summary | |
---|---|
__init__(self)
| |
tuple (bool, ast.ASTNode , string)
|
Given a formula string, return its AST representation. |
Method Details |
---|
parseToAST(self, stringToParse)Given a formula string, return its AST representation. Note: A tuple is returned to propagate possible errors. The first element of the tuple is a boolean flag set to true if the parse was a success. The second element is the actual parse tree (None on failure). Finally, the last element of the tuple is the error message.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Aug 17 18:20:07 2004 | http://epydoc.sf.net |