2015-01-11 21:38:45 +01:00
|
|
|
package ast
|
|
|
|
|
2015-01-11 22:03:37 +01:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
2015-01-11 21:38:45 +01:00
|
|
|
// VariableAccess represents a variable access.
|
|
|
|
type VariableAccess struct {
|
|
|
|
Name string
|
|
|
|
}
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
func (n *VariableAccess) GoString() string {
|
|
|
|
return fmt.Sprintf("*%#v", *n)
|
|
|
|
}
|