Skip to content

Visualizer treeview

Zev Spitz edited this page Jun 26, 2019 · 9 revisions

The visualizer shows the various objects that make up the expression tree, in a treeview control:

Expression tree with a loop, a label, and a condition

The emphasis is on displaying the structure of the expression tree:

  • Not every property becomes a child node; only specific types which are part of the expression tree's structure, such as Expression and CaseBlock
  • Properties which return collections -- LambdaExpression.Parameters, Block.RuntimeVariables -- are not rrendered as child nodes. Instead, the individual elements of the collections are rendered as child nodes -- Lambda -> Parameters[0] instead of Lambda -> Parameters -> [0]
Clone this wiki locally