Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConstValueType = reflect.TypeOf(ConstValue{})
View Source
var (
FragmentErr = errors.New("Fragment")
)
View Source
var MapIndexValueType = reflect.TypeOf(MapIndexValue{})
View Source
var NakedFuncType = reflect.TypeOf(func() {})
View Source
var (
NoValue = reflect.ValueOf(noValueType(nil))
)
View Source
var PackageType = reflect.TypeOf(Package(nil))
View Source
var TypeValueType = reflect.TypeOf(TypeValue{})
Functions ¶
func PtrToTypeValue ¶
Types ¶
type MapIndexValue ¶
type NameSpace ¶
type NameSpace interface { // Returns a reflect.Value Find(ident string) (v reflect.Value) // Returns a reflect.Value FindLocal(ident string) (v reflect.Value) // Adding a reflect.Value AddLocal(ident string, v reflect.Value) // Returns a namespace for a new block NewBlock() NameSpace }
func NewNameSpace ¶
func NewNameSpace() NameSpace
func NewNameSpaceBlock ¶
type PackageNameSpace ¶
func (*PackageNameSpace) AddLocal ¶
func (p *PackageNameSpace) AddLocal(ident string, v reflect.Value)
func (*PackageNameSpace) FindLocal ¶
func (p *PackageNameSpace) FindLocal(ident string) (v reflect.Value)
func (*PackageNameSpace) NewBlock ¶
func (p *PackageNameSpace) NewBlock() NameSpace
type UndefinedError ¶
type UndefinedError struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.