-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store all information about the AST in FormulaAST (#212)
* Store all information about the AST in FormulaAST Before this commit, for some binary and unary operations FormulaAST was storing opaque function pointers, losing the information about what the operation was. Now we always store the kind of operation as part of the AST node. This patch also makes treatment of different kinds of unary and binary operations more uniform and, during AST evaluation, removes the indirection due to calling code through the function pointer. * Remove Undefined Formula NodeType, it's never used
- Loading branch information
Showing
2 changed files
with
86 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters