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.
Access
Ribbon |
Code > Schema > Grammars > Grammar Debugger > AST Results |
Toolbar Options
Option |
Action |
See also |
---|---|---|
Open File |
Open a sample input file to test against. |
|
Parse |
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. |
|
Help |
Display this Help topic. |
Learn more