Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Providing new DOM AST Nodes"
(New page: Here is a checklist for adding a new DOM AST node: * Add new AST node class to the ''org.eclipse.php.internal.core.ast.nodes'' package. * Add new AST node type to the ''org.eclipse.php.i...) |
|||
Line 3: | Line 3: | ||
* Add new AST node class to the ''org.eclipse.php.internal.core.ast.nodes'' package. | * Add new AST node class to the ''org.eclipse.php.internal.core.ast.nodes'' package. | ||
− | * Add new AST node type to the ''org.eclipse.php.internal.core.ast.nodes.ASTNode'' class | + | * Add new AST node type to the ''org.eclipse.php.internal.core.ast.nodes.ASTNode'' class. |
+ | |||
+ | * Modify ''org.eclipse.php.internal.core.ast.nodes.ASTNode.nodeClassForType(int)'' method. | ||
+ | |||
+ | * Fix the following AST visitor classes and interfaces: | ||
+ | |||
+ | :* ''org.eclipse.php.internal.core.ast.visitor.Visitor'' | ||
+ | :* ''org.eclipse.php.internal.core.ast.rewrite.ASTRewriteAnalyzer'' | ||
+ | :* ''org.eclipse.php.internal.core.ast.rewrite.ASTRewriteFlattener'' | ||
+ | :* ''org.eclipse.php.internal.core.ast.visitor.AbstractVisitor'' | ||
+ | :* ''org.eclipse.php.internal.core.ast.visitor.ApplyAll'' | ||
* Add new match method to the ''org.eclipse.php.internal.core.ast.match.PHPASTMatcher'' class. | * Add new match method to the ''org.eclipse.php.internal.core.ast.match.PHPASTMatcher'' class. | ||
− | * Add Unit tests to the ''org.eclipse.php.test.headless.core.ast'' | + | * Add Unit tests to the following pacakges: |
+ | |||
+ | :* ''org.eclipse.php.test.headless.core.ast'' | ||
+ | :* ''org.eclipse.php.test.headless.core.ast.rewrite'' |
Latest revision as of 07:13, 26 January 2009
Here is a checklist for adding a new DOM AST node:
- Add new AST node class to the org.eclipse.php.internal.core.ast.nodes package.
- Add new AST node type to the org.eclipse.php.internal.core.ast.nodes.ASTNode class.
- Modify org.eclipse.php.internal.core.ast.nodes.ASTNode.nodeClassForType(int) method.
- Fix the following AST visitor classes and interfaces:
- org.eclipse.php.internal.core.ast.visitor.Visitor
- org.eclipse.php.internal.core.ast.rewrite.ASTRewriteAnalyzer
- org.eclipse.php.internal.core.ast.rewrite.ASTRewriteFlattener
- org.eclipse.php.internal.core.ast.visitor.AbstractVisitor
- org.eclipse.php.internal.core.ast.visitor.ApplyAll
- Add new match method to the org.eclipse.php.internal.core.ast.match.PHPASTMatcher class.
- Add Unit tests to the following pacakges:
- org.eclipse.php.test.headless.core.ast
- org.eclipse.php.test.headless.core.ast.rewrite