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.

Access Tools | Language Grammars > Grammar Debugger > AST Results

Toolbar Options



See also

Open File

Open a sample input file to test against.


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