Public Member Functions | |
def | getNextToken (self, theExpr) |
def | isKey (self, theExpr) |
def | parseAngle (self, treeNode) |
def | parseExpr (self, treeNode) |
def | parseIF (self, treeNode) |
def | translateForm (self, actExpr) |
Public Attributes | |
resultTree | |
tokenList | |
This class translates a cell-formula from Excel to FreeCAD.
def importXLSX.FormulaTranslator.getNextToken | ( | self, | |
theExpr | |||
) |
This is the recursive tokenizer for an excel formula. It appends all identified tokens to self.tokenList.
References importXLSX.FormulaTranslator.getNextToken(), importXLSX.FormulaTranslator.isKey(), Spreadsheet_legacy.Spreadsheet.isKey(), and importXLSX.FormulaTranslator.tokenList.
Referenced by importXLSX.FormulaTranslator.getNextToken(), and importXLSX.FormulaTranslator.translateForm().
def importXLSX.FormulaTranslator.isKey | ( | self, | |
theExpr | |||
) |
Referenced by Spreadsheet_legacy.Spreadsheet.evaluate(), and importXLSX.FormulaTranslator.getNextToken().
def importXLSX.FormulaTranslator.parseAngle | ( | self, | |
treeNode | |||
) |
References importXLSX.FormulaTranslator.parseExpr().
Referenced by importXLSX.FormulaTranslator.parseExpr().
def importXLSX.FormulaTranslator.parseExpr | ( | self, | |
treeNode | |||
) |
References importXLSX.FormulaTranslator.parseAngle(), importXLSX.FormulaTranslator.parseExpr(), importXLSX.FormulaTranslator.parseIF(), and importXLSX.FormulaTranslator.tokenList.
Referenced by importXLSX.FormulaTranslator.parseAngle(), importXLSX.FormulaTranslator.parseExpr(), and importXLSX.FormulaTranslator.parseIF().
def importXLSX.FormulaTranslator.parseIF | ( | self, | |
treeNode | |||
) |
References importXLSX.FormulaTranslator.parseExpr().
Referenced by importXLSX.FormulaTranslator.parseExpr().
def importXLSX.FormulaTranslator.translateForm | ( | self, | |
actExpr | |||
) |
References importXLSX.FormulaTranslator.getNextToken().
importXLSX.FormulaTranslator.resultTree |
importXLSX.FormulaTranslator.tokenList |
Referenced by importXLSX.FormulaTranslator.getNextToken(), and importXLSX.FormulaTranslator.parseExpr().