12 lines
187 B
Go
12 lines
187 B
Go
package ast
|
|
|
|
import (
|
|
"git.akyoto.dev/cli/q/src/build/expression"
|
|
)
|
|
|
|
// If represents an if statement.
|
|
type If struct {
|
|
Condition *expression.Expression
|
|
Body AST
|
|
Else AST
|
|
}
|