Documentation
¶
Overview ¶
Package ast is the Abstract Syntax Tree module for Orion.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expr ¶
type Expr struct { Type ExprType `json:"type,omitempty"` // The type of this expression [ExprType]. Id string `json:"id,omitempty"` // Either the value of any data or the name of a function. Args []*Expr `json:"args,omitempty"` // If this is a function or argument list, this is filled. }
An Expr represents an expression in Orion. The zero value for Expr is an empty expression i.e the "nil" value.
Click to show internal directories.
Click to hide internal directories.