lang: ast, funcs: Start plumbing through the textarea

We need to get these everywhere and this is a start.
This commit is contained in:
James Shubin
2025-06-06 02:54:00 -04:00
parent 32e91dc7de
commit 1df28c1d00
8 changed files with 38 additions and 0 deletions

View File

@@ -45,6 +45,8 @@ const (
// IfFunc is a function that passes through the value of the correct branch
// based on the conditional value it gets.
type IfFunc struct {
interfaces.Textarea
Type *types.Type // this is the type of the if expression output we hold
init *interfaces.Init