Documentation
¶
Index ¶
- Constants
- type CallRecord
- type CallStack
- type Environment
- type Package
- func (p *Package) AddFunction(f *types.Function)
- func (p *Package) AssignMethodsToClasses() *parser.ParseError
- func (p *Package) Id() string
- func (p *Package) InitScope(parent interfaces.Scope) *parser.ParseError
- func (p *Package) Kind() interfaces.Kind
- func (p *Package) Scope() interfaces.Scope
- func (p *Package) Specie() interfaces.Specie
Constants ¶
View Source
const MaxResolutionDepth = 16
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallRecord ¶
type CallRecord struct {
// contains filtered or unexported fields
}
func NewCallRecord ¶
func NewCallRecord() *CallRecord
func (*CallRecord) ExistsVariable ¶
func (cr *CallRecord) ExistsVariable(name string) bool
func (*CallRecord) SetVariable ¶
func (cr *CallRecord) SetVariable(name, string, value values.Value)
type CallStack ¶
type CallStack struct {
// contains filtered or unexported fields
}
func NewCallStack ¶
func NewCallStack() *CallStack
func (*CallStack) ExistVariable ¶
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
func NewEnvironment ¶
func NewEnvironment() *Environment
func (*Environment) AddScript ¶
func (e *Environment) AddScript(s *ast.Script) *parser.ParseErrors
func (*Environment) Build ¶
func (e *Environment) Build() *parser.ParseError
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
func NewPackage ¶
func NewPackage(name string, parent interfaces.Scope) *Package
func (*Package) AddFunction ¶
func (*Package) AssignMethodsToClasses ¶
func (p *Package) AssignMethodsToClasses() *parser.ParseError
func (*Package) InitScope ¶
func (p *Package) InitScope(parent interfaces.Scope) *parser.ParseError
func (*Package) Kind ¶
func (p *Package) Kind() interfaces.Kind
func (*Package) Scope ¶
func (p *Package) Scope() interfaces.Scope
func (*Package) Specie ¶
func (p *Package) Specie() interfaces.Specie
Click to show internal directories.
Click to hide internal directories.