Documentation ¶
Index ¶
- type Add
- type Addressable
- type Align
- type And
- type Call
- type Clear
- type Data
- type Divide
- type Emittable
- type Flush
- type Halt
- type Interrupt
- type Jump
- type Label
- type LeftShift
- type Linkable
- type Linker
- type Load
- type LoadC
- type Lock
- type Modulo
- type Multiply
- type Noop
- type Not
- type Or
- type Pop
- type Push
- type Return
- type RightShift
- type Signal
- type Sleep
- type Statement
- type Store
- type Subtract
- type Uninterrupt
- type Unlock
- type Xor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Add ¶
type Add struct { Statement // contains filtered or unexported fields }
func (*Add) EmittedSize ¶
func (*Add) Instruction ¶
func (a *Add) Instruction() flamego.Instruction
type Addressable ¶
type Align ¶
type Align struct { Statement // contains filtered or unexported fields }
func (*Align) EmittedSize ¶
type And ¶
type And struct { Statement // contains filtered or unexported fields }
func (*And) EmittedSize ¶
func (*And) Instruction ¶
func (a *And) Instruction() flamego.Instruction
type Call ¶
type Call struct { Statement // contains filtered or unexported fields }
func (*Call) EmittedSize ¶
func (*Call) Instruction ¶
func (a *Call) Instruction() flamego.Instruction
type Clear ¶
type Clear struct { Statement // contains filtered or unexported fields }
func NewClearWithConstant ¶
func (*Clear) EmittedSize ¶
func (*Clear) Instruction ¶
func (a *Clear) Instruction() flamego.Instruction
type Data ¶
type Data struct { Statement // contains filtered or unexported fields }
func NewDataWithLabel ¶
func NewDataWithName ¶
func NewDataWithValue ¶
func (*Data) EmittedSize ¶
type Divide ¶
type Divide struct { Statement // contains filtered or unexported fields }
func (*Divide) EmittedSize ¶
func (*Divide) Instruction ¶
func (a *Divide) Instruction() flamego.Instruction
type Emittable ¶
type Emittable interface { Addressable EmittedSize() uint32 Emit() []byte }
type Flush ¶
type Flush struct { Statement // contains filtered or unexported fields }
func NewFlushWithConstant ¶
func (*Flush) EmittedSize ¶
func (*Flush) Instruction ¶
func (a *Flush) Instruction() flamego.Instruction
type Halt ¶
type Halt struct {
Statement
}
func (*Halt) EmittedSize ¶
func (*Halt) Instruction ¶
func (a *Halt) Instruction() flamego.Instruction
type Interrupt ¶
type Interrupt struct { Statement // contains filtered or unexported fields }
func NewInterrupt ¶
func NewInterrupt(v flamego.InterruptValue, c string) *Interrupt
func (*Interrupt) EmittedSize ¶
func (*Interrupt) Instruction ¶
func (a *Interrupt) Instruction() flamego.Instruction
type Jump ¶
type Jump struct { Statement // contains filtered or unexported fields }
func (*Jump) EmittedSize ¶
func (*Jump) Instruction ¶
func (a *Jump) Instruction() flamego.Instruction
type Label ¶
type Label struct { Statement // contains filtered or unexported fields }
func NewLabelWithName ¶
type LeftShift ¶
type LeftShift struct { Statement // contains filtered or unexported fields }
func (*LeftShift) EmittedSize ¶
func (*LeftShift) Instruction ¶
func (a *LeftShift) Instruction() flamego.Instruction
type Load ¶
type Load struct { Statement // contains filtered or unexported fields }
func NewLoadWithConstant ¶
func NewLoadWithLabel ¶
func NewLoadWithOffset ¶
func (*Load) EmittedSize ¶
func (*Load) Instruction ¶
func (a *Load) Instruction() flamego.Instruction
type LoadC ¶
type LoadC struct { Statement // contains filtered or unexported fields }
func NewLoadCWithConstant ¶
func (*LoadC) EmittedSize ¶
func (*LoadC) Instruction ¶
func (a *LoadC) Instruction() flamego.Instruction
type Lock ¶
type Lock struct {
Statement
}
func (*Lock) EmittedSize ¶
func (*Lock) Instruction ¶
func (a *Lock) Instruction() flamego.Instruction
type Modulo ¶
type Modulo struct { Statement // contains filtered or unexported fields }
func (*Modulo) EmittedSize ¶
func (*Modulo) Instruction ¶
func (a *Modulo) Instruction() flamego.Instruction
type Multiply ¶
type Multiply struct { Statement // contains filtered or unexported fields }
func (*Multiply) EmittedSize ¶
func (*Multiply) Instruction ¶
func (a *Multiply) Instruction() flamego.Instruction
type Noop ¶
type Noop struct {
Statement
}
func (*Noop) EmittedSize ¶
func (*Noop) Instruction ¶
func (a *Noop) Instruction() flamego.Instruction
type Not ¶
type Not struct { Statement // contains filtered or unexported fields }
func (*Not) EmittedSize ¶
func (*Not) Instruction ¶
func (a *Not) Instruction() flamego.Instruction
type Or ¶
type Or struct { Statement // contains filtered or unexported fields }
func (*Or) EmittedSize ¶
func (*Or) Instruction ¶
func (a *Or) Instruction() flamego.Instruction
type Pop ¶
type Pop struct { Statement // contains filtered or unexported fields }
func (*Pop) EmittedSize ¶
func (*Pop) Instruction ¶
func (a *Pop) Instruction() flamego.Instruction
type Push ¶
type Push struct { Statement // contains filtered or unexported fields }
func (*Push) EmittedSize ¶
func (*Push) Instruction ¶
func (a *Push) Instruction() flamego.Instruction
type Return ¶
type Return struct {
Statement
}
func (*Return) EmittedSize ¶
func (*Return) Instruction ¶
func (a *Return) Instruction() flamego.Instruction
type RightShift ¶
type RightShift struct { Statement // contains filtered or unexported fields }
func NewRightShift ¶
func NewRightShift(s1, s2, d flamego.Register, c string) *RightShift
func (*RightShift) Emit ¶
func (a *RightShift) Emit() []byte
func (*RightShift) EmittedSize ¶
func (a *RightShift) EmittedSize() uint32
func (*RightShift) Instruction ¶
func (a *RightShift) Instruction() flamego.Instruction
func (*RightShift) String ¶
func (a *RightShift) String() string
type Signal ¶
type Signal struct { Statement // contains filtered or unexported fields }
func (*Signal) EmittedSize ¶
func (*Signal) Instruction ¶
func (a *Signal) Instruction() flamego.Instruction
type Sleep ¶
type Sleep struct {
Statement
}
func (*Sleep) EmittedSize ¶
func (*Sleep) Instruction ¶
func (a *Sleep) Instruction() flamego.Instruction
type Statement ¶
type Statement struct {
// contains filtered or unexported fields
}
func (*Statement) AbsoluteAddress ¶
func (*Statement) RelativeAddress ¶
func (*Statement) SetAddress ¶
type Store ¶
type Store struct { Statement // contains filtered or unexported fields }
func NewStoreWithConstant ¶
func NewStoreWithLabel ¶
func NewStoreWithOffset ¶
func (*Store) EmittedSize ¶
func (*Store) Instruction ¶
func (a *Store) Instruction() flamego.Instruction
type Subtract ¶
type Subtract struct { Statement // contains filtered or unexported fields }
func (*Subtract) EmittedSize ¶
func (*Subtract) Instruction ¶
func (a *Subtract) Instruction() flamego.Instruction
type Uninterrupt ¶
type Uninterrupt struct { Statement // contains filtered or unexported fields }
func NewUninterrupt ¶
func NewUninterrupt(r flamego.Register, c string) *Uninterrupt
func (*Uninterrupt) Emit ¶
func (a *Uninterrupt) Emit() []byte
func (*Uninterrupt) EmittedSize ¶
func (a *Uninterrupt) EmittedSize() uint32
func (*Uninterrupt) Instruction ¶
func (a *Uninterrupt) Instruction() flamego.Instruction
func (*Uninterrupt) String ¶
func (a *Uninterrupt) String() string
type Unlock ¶
type Unlock struct {
Statement
}
func (*Unlock) EmittedSize ¶
func (*Unlock) Instruction ¶
func (a *Unlock) Instruction() flamego.Instruction
type Xor ¶
type Xor struct { Statement // contains filtered or unexported fields }
func (*Xor) EmittedSize ¶
func (*Xor) Instruction ¶
func (a *Xor) Instruction() flamego.Instruction
Source Files ¶
Click to show internal directories.
Click to hide internal directories.