[This is preliminary documentation and is subject to change.]
Appends a string containing a representation of the abstract
syntax tree to a StringBuilder.
Declaration Syntax
C# |
public void AppendString( StringBuilder builder, int level )
Parameters
- builder (StringBuilder)
- The StringBuilder to append the representation to.
- level (Int32)
- The level of indentation to use for this node.
Remarks
The representation starts from this node and includes all nodes
below it. The created string contains one line per node and is indented to
show the structure of the tree. This is very useful in understanding the
tree structure which is presented to the code generation phase.