|
Plain AST Editor: Visualization
In the plain AST editor each node appears as a rectangle. Child nodes are indented. A node can have a
- Name
- appears in bold letters. Exported nodes appear in green non-exported ones in black.
- Reference
- appears after the name in violet with an arrow between the name and the reference.
- Value
- appears after the reference in orange. The type of the value is specified in curly brackets.
Note, that the editor automatically wraps the text inside the rectangle if necessary:
![](images/ASTEditor_ScreenShot10.png) |
![](images/Plugin_ScreenShot6.png) |
Swing | Eclipse |
If the mouse cursor is above a reference its AST name appears in a tooltip:
![](images/ASTEditor_ScreenShot11.png)
Invalid nodes (i.e. nodes with didn't pass validation) appear with a red background. A tooltip shows the reason of the failure:
![](images/ASTEditor_ScreenShot22.png) |
![](images/Plugin_ScreenShot7.png) |
Swing | Eclipse |
In the Eclipse version invalid nodes also appear as small red rectangles on the overview bar on the right hand side.
|