I want to draw a parse tree have multiple statements if the condition is true, and multiple statements if the condition is false.
I know how to draw for 1 statement.

I want to draw a parse tree have multiple statements if the condition is true, and multiple statements if the condition is false.
I know how to draw for 1 statement.

Copyright © 2021 Jogjafile Inc.
You are missing the syntactic element of a
blockorstatement-listthat may consist of multiple statements but also may be used as a statement.In your diagram statement would expand to a block and that then contains the statements.