backup
This commit is contained in:
parent
0cd6040a1f
commit
c1f75bb980
6 changed files with 140 additions and 67 deletions
|
|
@ -235,6 +235,11 @@ type Symbol struct {
|
|||
expr Expression
|
||||
}
|
||||
|
||||
type Param struct {
|
||||
id *Identifier
|
||||
t Type
|
||||
}
|
||||
|
||||
func (v *Symbol) Step() (Expression, error) {
|
||||
if v.expr == nil {
|
||||
return nil, fmt.Errorf("unbound symbol %s at %s", v.id, v.id.position)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue