Documentation ¶
Index ¶
- type CaptureSymbol
- func (b *CaptureSymbol) Lift()
- func (b *CaptureSymbol) Liftable() bool
- func (b *CaptureSymbol) Lifted() bool
- func (b *CaptureSymbol) Name() string
- func (b *CaptureSymbol) Pos() token.Pos
- func (b *CaptureSymbol) ReadOnly() bool
- func (b *CaptureSymbol) SetLiftable(l bool)
- func (b *CaptureSymbol) SetName(name string)
- func (b *CaptureSymbol) SetPos(pos token.Pos)
- func (b *CaptureSymbol) SetReadOnly(ro bool)
- type FuncSymbol
- func (b *FuncSymbol) Lift()
- func (b *FuncSymbol) Liftable() bool
- func (b *FuncSymbol) Lifted() bool
- func (b *FuncSymbol) Name() string
- func (b *FuncSymbol) Pos() token.Pos
- func (b *FuncSymbol) ReadOnly() bool
- func (b *FuncSymbol) SetLiftable(l bool)
- func (b *FuncSymbol) SetName(name string)
- func (b *FuncSymbol) SetPos(pos token.Pos)
- func (b *FuncSymbol) SetReadOnly(ro bool)
- type GlobalVarSymbol
- func (b *GlobalVarSymbol) Lift()
- func (b *GlobalVarSymbol) Liftable() bool
- func (b *GlobalVarSymbol) Lifted() bool
- func (b *GlobalVarSymbol) Name() string
- func (b *GlobalVarSymbol) Pos() token.Pos
- func (b *GlobalVarSymbol) ReadOnly() bool
- func (b *GlobalVarSymbol) SetLiftable(l bool)
- func (b *GlobalVarSymbol) SetName(name string)
- func (b *GlobalVarSymbol) SetPos(pos token.Pos)
- func (b *GlobalVarSymbol) SetReadOnly(ro bool)
- type LocalVarSymbol
- func (b *LocalVarSymbol) Lift()
- func (b *LocalVarSymbol) Liftable() bool
- func (b *LocalVarSymbol) Lifted() bool
- func (b *LocalVarSymbol) Name() string
- func (b *LocalVarSymbol) Pos() token.Pos
- func (b *LocalVarSymbol) ReadOnly() bool
- func (b *LocalVarSymbol) SetLiftable(l bool)
- func (b *LocalVarSymbol) SetName(name string)
- func (b *LocalVarSymbol) SetPos(pos token.Pos)
- func (b *LocalVarSymbol) SetReadOnly(ro bool)
- type Module
- type ModuleRef
- func (b *ModuleRef) Lift()
- func (b *ModuleRef) Liftable() bool
- func (b *ModuleRef) Lifted() bool
- func (b *ModuleRef) Name() string
- func (b *ModuleRef) Pos() token.Pos
- func (b *ModuleRef) ReadOnly() bool
- func (b *ModuleRef) SetLiftable(l bool)
- func (b *ModuleRef) SetName(name string)
- func (b *ModuleRef) SetPos(pos token.Pos)
- func (b *ModuleRef) SetReadOnly(ro bool)
- type ParamSymbol
- func (b *ParamSymbol) Lift()
- func (b *ParamSymbol) Liftable() bool
- func (b *ParamSymbol) Lifted() bool
- func (b *ParamSymbol) Name() string
- func (b *ParamSymbol) Pos() token.Pos
- func (b *ParamSymbol) ReadOnly() bool
- func (b *ParamSymbol) SetLiftable(l bool)
- func (b *ParamSymbol) SetName(name string)
- func (b *ParamSymbol) SetPos(pos token.Pos)
- func (b *ParamSymbol) SetReadOnly(ro bool)
- type Scope
- type ScopeStack
- type Symbol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptureSymbol ¶
type CaptureSymbol struct { Capture Symbol CaptureNdx int // contains filtered or unexported fields }
func (*CaptureSymbol) SetLiftable ¶
func (b *CaptureSymbol) SetLiftable(l bool)
func (*CaptureSymbol) SetReadOnly ¶ added in v0.2.0
func (b *CaptureSymbol) SetReadOnly(ro bool)
type FuncSymbol ¶
func (*FuncSymbol) SetLiftable ¶
func (b *FuncSymbol) SetLiftable(l bool)
func (*FuncSymbol) SetReadOnly ¶ added in v0.2.0
func (b *FuncSymbol) SetReadOnly(ro bool)
type GlobalVarSymbol ¶
type GlobalVarSymbol struct { GlobalNdx int // contains filtered or unexported fields }
func (*GlobalVarSymbol) SetLiftable ¶
func (b *GlobalVarSymbol) SetLiftable(l bool)
func (*GlobalVarSymbol) SetReadOnly ¶ added in v0.2.0
func (b *GlobalVarSymbol) SetReadOnly(ro bool)
type LocalVarSymbol ¶
type LocalVarSymbol struct { LocalNdx int // contains filtered or unexported fields }
func (*LocalVarSymbol) SetLiftable ¶
func (b *LocalVarSymbol) SetLiftable(l bool)
func (*LocalVarSymbol) SetReadOnly ¶ added in v0.2.0
func (b *LocalVarSymbol) SetReadOnly(ro bool)
type ModuleRef ¶
type ModuleRef struct { Module *Module // contains filtered or unexported fields }
func (*ModuleRef) SetLiftable ¶
func (b *ModuleRef) SetLiftable(l bool)
func (*ModuleRef) SetReadOnly ¶ added in v0.2.0
func (b *ModuleRef) SetReadOnly(ro bool)
type ParamSymbol ¶
type ParamSymbol struct { ParamNdx int // contains filtered or unexported fields }
func (*ParamSymbol) SetLiftable ¶
func (b *ParamSymbol) SetLiftable(l bool)
func (*ParamSymbol) SetReadOnly ¶ added in v0.2.0
func (b *ParamSymbol) SetReadOnly(ro bool)
type ScopeStack ¶
type ScopeStack struct {
// contains filtered or unexported fields
}
func NewScopeStack ¶
func NewScopeStack() *ScopeStack
func (*ScopeStack) Current ¶
func (s *ScopeStack) Current() *Scope
func (*ScopeStack) FindSymbol ¶
func (s *ScopeStack) FindSymbol(name string) (Symbol, *Scope)
func (*ScopeStack) Pop ¶
func (s *ScopeStack) Pop()
func (*ScopeStack) Push ¶
func (s *ScopeStack) Push(scope *Scope)
Click to show internal directories.
Click to hide internal directories.