Namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
Classes
- CSharpAmbience
C# ambience. Used to convert type system symbols to text (usually for displaying the symbol to the user; e.g. in editor tooltips)
- CSharpOutputVisitor
Outputs the AST.
- FormattingOptionsFactory
The formatting options factory creates pre defined formatting option styles.
- InsertParenthesesVisitor
Inserts the parentheses into the AST that are needed to ensure the AST can be printed correctly. For example, if the AST contains BinaryOperatorExpresson(2, Mul, BinaryOperatorExpression(1, Add, 1))); printing that AST would incorrectly result in "2 * 1 + 1". By running InsertParenthesesVisitor, the necessary parentheses are inserted: "2 * (1 + 1)".
- TextWriterTokenWriter
Writes C# code into a TextWriter.