Package io.github.protasm.jvmud.compiler.parser.ast.stmt
package io.github.protasm.jvmud.compiler.parser.ast.stmt
Statement-level AST nodes.
Encapsulates control flow and sequencing constructs such as blocks, returns, conditionals, loops, switch statements, break/continue statements, foreach statements, and expression statements. Statement nodes coordinate child expressions and maintain source lines for diagnostics and later lowering.
Statements do not independently decide semantic validity. Scope construction, control-flow checks, expression typing, and lowering are handled by later compiler stages.
-
ClassDescriptionRepresents a bare semicolon statement.AST node for an LPC
switchstatement.Onecaseordefaultlabel and the statements owned by that label.