ASTViewer Module

Windows GUI application example. Parses a single Cmajor source file and displays the abstract syntax tree of it in a tree view. Also displays the source code of it in a source code view.

Files

ASTViewer/Main.cm
ASTViewer/SyntaxNodeAttributeExtractor.cm
ASTViewer/SyntaxTreeBuilder.cm

Classes

class MainWindow
class SyntaxNodeAttributeExtractor
class SyntaxTreeBuilder

Functions

int main()

Function Details

main Function

int main()

Definition
Line 264 of ASTViewer/Main.cm