18 lines
268 B
Go
18 lines
268 B
Go
package eval
|
|
|
|
import "git.urbach.dev/cli/q/src/types"
|
|
|
|
// Label is a named pointer to a code or data section.
|
|
type Label struct {
|
|
Typ types.Type
|
|
Label string
|
|
}
|
|
|
|
func (v Label) String() string {
|
|
return "Label"
|
|
}
|
|
|
|
func (v Label) Type() types.Type {
|
|
return v.Typ
|
|
}
|