Add coalescing operator

This commit is contained in:
2023-10-30 08:52:02 -07:00
parent c1a2e56f4f
commit 900de82d6a
6 changed files with 301 additions and 165 deletions

View File

@@ -210,3 +210,13 @@ type Ternary struct {
func (t Ternary) Pos() Position {
return t.Position
}
type VariableOr struct {
Variable Ident
Or Node
Position Position
}
func (vo VariableOr) Pos() Position {
return vo.Position
}