Book a Demo
Prev Next

Parsing AST Results

The Abstract Syntax Tree (AST) is the code that Enterprise Architect sees as it processes a grammar.

You parse the text in the bottom half of the Grammar Editor window and review what is displayed as a result. You can either open a file or paste text in. If you have pasted text that corresponds to something that cannot appear at the file level (such as Operation Parameters) you can select an alternative rule to use as a starting point. The parse will then commence from that rule.



Develop > Source Code > Grammar Editor > Grammar Debugger > AST Results

Toolbar Options



See also

Open File

Open a sample input file to test against.


Recently opened source files can be selected from this combo box.


Perform the parse operation. If the parse is successful, the 'AST Results' tab will contain the resulting AST.

Select Rule

This drop down allows you to select an alternative root rule for processing your sample source.


Display this Help topic.

Learn more