Documentation
¶
Index ¶
- Constants
- type Manager
- type ModuleNode
- type Symbol
- type Table
- func (s *Table) AddChild(table *Table)
- func (s *Table) Define(symbol Symbol) error
- func (s *Table) GetChild(scope string) (*Table, bool)
- func (s *Table) GetImportedSymbols() map[string]Symbol
- func (s *Table) GetParent() *Table
- func (s *Table) GetSymbols() map[string]Symbol
- func (s *Table) ImportSymbol(sym Symbol) error
- func (s *Table) ImportTable(table *Table) error
- func (s *Table) Lookup(name string) (Symbol, bool)
- func (s *Table) OriginFile() string
- func (s *Table) ScopeName() string
- type Type
Constants ¶
View Source
const ( FunctionSymbol = "Function" StructSymbol = "Struct" VariableSymbol = "Variable" LiteralSymbol = "Literal" ImportSymbol = "Import" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleNode ¶ added in v0.2.2
type ModuleNode struct {
// contains filtered or unexported fields
}
type Symbol ¶
type Symbol struct {
// contains filtered or unexported fields
}
func (Symbol) AsImportedFrom ¶
func (Symbol) DeclarationNode ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func (*Table) GetImportedSymbols ¶ added in v0.2.2
func (*Table) GetSymbols ¶ added in v0.2.2
func (*Table) ImportSymbol ¶ added in v0.2.2
func (*Table) ImportTable ¶
func (*Table) OriginFile ¶
Click to show internal directories.
Click to hide internal directories.