Documentation ¶
Index ¶
- type Namespace
- func (ns *Namespace) Add(name *string, typ types.ArgTypes, value *any) error
- func (ns *Namespace) Count() int
- func (ns *Namespace) Exists(n *string) bool
- func (ns *Namespace) Get(n string) any
- func (ns *Namespace) GetName(n *string) (string, error)
- func (ns *Namespace) GetType(n *string) (t types.ArgTypes, e error)
- func (ns *Namespace) GetValue(n *string) (any, error)
- func (ns *Namespace) Lookup(n *string) *token.Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct {
// contains filtered or unexported fields
}
Namespace - a map of Token objects
Source Files ¶
Click to show internal directories.
Click to hide internal directories.