Documentation
¶
Index ¶
- func GetMethods(importer ImportFunc, evaler EvalFunc, provider *state.Provider) map[string]lang.Method
- func GetVariables() map[string]lang.Object
- type EvalFunc
- type Import
- type ImportFunc
- type Print
- type State
- func (s *State) Copy() lang.Object
- func (s *State) Method(name string) lang.Method
- func (s *State) Methods() []string
- func (s *State) SetVariable(_ string, _ lang.Object) error
- func (s *State) String() string
- func (s *State) Type() lang.ObjType
- func (s *State) TypeString() string
- func (s *State) Value() any
- func (s *State) Variable(variable string) lang.Object
- func (s *State) Variables() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMethods ¶
func GetVariables ¶
Types ¶
type Print ¶
type Print struct {
// contains filtered or unexported fields
}
func (*Print) GetVariadicArg ¶
func (*Print) HasVariadicArg ¶
type State ¶
func (*State) TypeString ¶
Click to show internal directories.
Click to hide internal directories.