Summary
- Factored out a very complex condition into a helper function and documented it. (details)
- Moved ParseNode's name field down to DeclarationNode, it is not used in any of the other child classes. (details)
- Factored out the ParseNode's next field into a new child type. This is only type safe when used in the given one level curiously reoccurring template pattern, as it is now. This allowed most of the intermedate helpers to be removed. (details)
The file was modified | src/ResolvExpr/Resolver.cc |
The file was modified | src/Parser/DeclarationNode.cc |
The file was modified | src/Parser/DeclarationNode.h |
The file was modified | src/Parser/ParseNode.h |
The file was modified | src/Parser/InitializerNode.h |
The file was modified | src/Parser/parser.yy |
The file was modified | src/Parser/ParseNode.h |
The file was modified | src/Parser/DeclarationNode.cc |
The file was modified | src/Parser/DeclarationNode.h |
The file was modified | src/Parser/ExpressionNode.h |
The file was modified | src/Parser/StatementNode.h |