Any existing traversal (AST Processing?) can be easily modified to use the AST Rewrite Mechanism's tree traversal alternatively. Then the single static member function to add new strings can be called at any place in the AST.
For internal use only.
This class hides the conversion of strings to AST fragments and the internally is implemented using multiple calls to the EDG parser to generate the intermediate AST (as SgFile objects).
This is a new mechanism and not fully debugged, the test code does not presently pass (31 out of 64 cases pass, as I recall).
Classes | |
| class | AST_FragmentIdentificationInheritedAttributeType |
Inherited attribute used within internal traversal of generated AST from transformation strings (intermediately generated files processed to form ASTs).
| |
| class | AST_FragmentIdentificationSynthesizedAttributeType |
Synthesized attribute used within internal traversal of generated AST from transformation strings (intermediately generated files processed to form ASTs).
| |
| class | AST_FragmentIdentificationTraversal |
Tree traversal definition used within internal traversal of generated AST from transformation strings (intermediately generated files processed to form ASTs).
| |
| class | AST_FragmentString |
Class representing container for string and relative position for string in the AST.
| |
| class | ASTFragmentContainer |
Internal class to hold collections of AST fragments (generated from strings).
| |
| class | ASTFragmentRequirementStrings |
Internal class to hold collections of strings.
| |
| class | RewriteTreeTraversal |
Class representing the traversal associated with AST rewrite mechanism.
| |
| class | SynthesizedAttribute |
Synthesized attribute used with AST_Rewrite::RewriteTreeTraversal
| |
1.4.7