From: Baptiste L. <gai...@fr...> - 2002-10-26 13:50:47
|
I change ASTNode type and property represents. Instead of string, they are now full fledge object, ASTNodeType and ASTNodeProperty. Both provide a list of feature supported by the node type or property. This will help when visiting the AST knowing which node are statements for example, or which node can be mutated... Also, the type and property declarations, which used to be in StatementASTNode.h and ExpressionASTNode.h have been moved to include/rfta/parser/ASTNodes.h. ASTNodes.h declares two classes: ASTNodeTypes and ASTNodeProperties which contain the declaration of type and property. Baptiste. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/ |