Documentation ¶
Index ¶
- Variables
- type BinaryExpr
- func (*BinaryExpr) Descriptor() ([]byte, []int)
- func (m *BinaryExpr) GetOpCode() uint32
- func (m *BinaryExpr) GetParam1() *StackVar
- func (m *BinaryExpr) GetParam2() *StackVar
- func (m *BinaryExpr) GetReturns() []*StackVar
- func (*BinaryExpr) ProtoMessage()
- func (m *BinaryExpr) Reset()
- func (m *BinaryExpr) String() string
- func (m *BinaryExpr) XXX_DiscardUnknown()
- func (m *BinaryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BinaryExpr) XXX_Merge(src proto.Message)
- func (m *BinaryExpr) XXX_Size() int
- func (m *BinaryExpr) XXX_Unmarshal(b []byte) error
- type BlockExpr
- func (*BlockExpr) Descriptor() ([]byte, []int)
- func (m *BlockExpr) GetLabelId() uint32
- func (m *BlockExpr) GetLabelUsed() bool
- func (*BlockExpr) ProtoMessage()
- func (m *BlockExpr) Reset()
- func (m *BlockExpr) String() string
- func (m *BlockExpr) XXX_DiscardUnknown()
- func (m *BlockExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockExpr) XXX_Merge(src proto.Message)
- func (m *BlockExpr) XXX_Size() int
- func (m *BlockExpr) XXX_Unmarshal(b []byte) error
- type BrExpr
- func (*BrExpr) Descriptor() ([]byte, []int)
- func (m *BrExpr) GetLabelId() uint32
- func (*BrExpr) ProtoMessage()
- func (m *BrExpr) Reset()
- func (m *BrExpr) String() string
- func (m *BrExpr) XXX_DiscardUnknown()
- func (m *BrExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BrExpr) XXX_Merge(src proto.Message)
- func (m *BrExpr) XXX_Size() int
- func (m *BrExpr) XXX_Unmarshal(b []byte) error
- type BrIfExpr
- func (*BrIfExpr) Descriptor() ([]byte, []int)
- func (m *BrIfExpr) GetLabelId() uint32
- func (m *BrIfExpr) GetParam() *StackVar
- func (*BrIfExpr) ProtoMessage()
- func (m *BrIfExpr) Reset()
- func (m *BrIfExpr) String() string
- func (m *BrIfExpr) XXX_DiscardUnknown()
- func (m *BrIfExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BrIfExpr) XXX_Merge(src proto.Message)
- func (m *BrIfExpr) XXX_Size() int
- func (m *BrIfExpr) XXX_Unmarshal(b []byte) error
- type BrTableExpr
- func (*BrTableExpr) Descriptor() ([]byte, []int)
- func (m *BrTableExpr) GetLabels() []uint32
- func (m *BrTableExpr) GetParam() *StackVar
- func (*BrTableExpr) ProtoMessage()
- func (m *BrTableExpr) Reset()
- func (m *BrTableExpr) String() string
- func (m *BrTableExpr) XXX_DiscardUnknown()
- func (m *BrTableExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BrTableExpr) XXX_Merge(src proto.Message)
- func (m *BrTableExpr) XXX_Size() int
- func (m *BrTableExpr) XXX_Unmarshal(b []byte) error
- type CallExpr
- func (*CallExpr) Descriptor() ([]byte, []int)
- func (m *CallExpr) GetIndex() uint32
- func (m *CallExpr) GetParams() []*StackVar
- func (m *CallExpr) GetReturns() []*StackVar
- func (*CallExpr) ProtoMessage()
- func (m *CallExpr) Reset()
- func (m *CallExpr) String() string
- func (m *CallExpr) XXX_DiscardUnknown()
- func (m *CallExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CallExpr) XXX_Merge(src proto.Message)
- func (m *CallExpr) XXX_Size() int
- func (m *CallExpr) XXX_Unmarshal(b []byte) error
- type CallIndirectExpr
- func (*CallIndirectExpr) Descriptor() ([]byte, []int)
- func (m *CallIndirectExpr) GetIndex() uint32
- func (m *CallIndirectExpr) GetParams() []*StackVar
- func (m *CallIndirectExpr) GetReturns() []*StackVar
- func (*CallIndirectExpr) ProtoMessage()
- func (m *CallIndirectExpr) Reset()
- func (m *CallIndirectExpr) String() string
- func (m *CallIndirectExpr) XXX_DiscardUnknown()
- func (m *CallIndirectExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CallIndirectExpr) XXX_Merge(src proto.Message)
- func (m *CallIndirectExpr) XXX_Size() int
- func (m *CallIndirectExpr) XXX_Unmarshal(b []byte) error
- type ConstExpr
- func (*ConstExpr) Descriptor() ([]byte, []int)
- func (m *ConstExpr) GetReturns() []*StackVar
- func (m *ConstExpr) GetValue() *Value
- func (*ConstExpr) ProtoMessage()
- func (m *ConstExpr) Reset()
- func (m *ConstExpr) String() string
- func (m *ConstExpr) XXX_DiscardUnknown()
- func (m *ConstExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConstExpr) XXX_Merge(src proto.Message)
- func (m *ConstExpr) XXX_Size() int
- func (m *ConstExpr) XXX_Unmarshal(b []byte) error
- type CurrentMemoryExpr
- func (*CurrentMemoryExpr) Descriptor() ([]byte, []int)
- func (m *CurrentMemoryExpr) GetReturns() []*StackVar
- func (*CurrentMemoryExpr) ProtoMessage()
- func (m *CurrentMemoryExpr) Reset()
- func (m *CurrentMemoryExpr) String() string
- func (m *CurrentMemoryExpr) XXX_DiscardUnknown()
- func (m *CurrentMemoryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CurrentMemoryExpr) XXX_Merge(src proto.Message)
- func (m *CurrentMemoryExpr) XXX_Size() int
- func (m *CurrentMemoryExpr) XXX_Unmarshal(b []byte) error
- type ElseExpr
- type EndExpr
- type ExportedFunction
- func (*ExportedFunction) Descriptor() ([]byte, []int)
- func (m *ExportedFunction) GetId() uint32
- func (m *ExportedFunction) GetName() string
- func (*ExportedFunction) ProtoMessage()
- func (m *ExportedFunction) Reset()
- func (m *ExportedFunction) String() string
- func (m *ExportedFunction) XXX_DiscardUnknown()
- func (m *ExportedFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ExportedFunction) XXX_Merge(src proto.Message)
- func (m *ExportedFunction) XXX_Size() int
- func (m *ExportedFunction) XXX_Unmarshal(b []byte) error
- type Expr
- func (*Expr) Descriptor() ([]byte, []int)
- func (m *Expr) GetBinary() *BinaryExpr
- func (m *Expr) GetBlock() *BlockExpr
- func (m *Expr) GetBr() *BrExpr
- func (m *Expr) GetBrIf() *BrIfExpr
- func (m *Expr) GetBrTable() *BrTableExpr
- func (m *Expr) GetCall() *CallExpr
- func (m *Expr) GetCallIndirect() *CallIndirectExpr
- func (m *Expr) GetConst() *ConstExpr
- func (m *Expr) GetCurrentMemory() *CurrentMemoryExpr
- func (m *Expr) GetElse() ElseExpr
- func (m *Expr) GetEnd() EndExpr
- func (m *Expr) GetGetGlobal() *GetGlobalExpr
- func (m *Expr) GetGetLocal() *GetLocalExpr
- func (m *Expr) GetGrowMemory() *GrowMemoryExpr
- func (m *Expr) GetIf() *IfExpr
- func (m *Expr) GetKind() isExpr_Kind
- func (m *Expr) GetLoad() *LoadExpr
- func (m *Expr) GetLoop() *LoopExpr
- func (m *Expr) GetReturn() *ReturnExpr
- func (m *Expr) GetSelect() *SelectExpr
- func (m *Expr) GetSetGlobal() *SetGlobalExpr
- func (m *Expr) GetSetLocal() *SetLocalExpr
- func (m *Expr) GetStore() *StoreExpr
- func (m *Expr) GetTeeLocal() *TeeLocalExpr
- func (m *Expr) GetUnary() *UnaryExpr
- func (m *Expr) GetUnreachable() UnreachableExpr
- func (*Expr) ProtoMessage()
- func (m *Expr) Reset()
- func (m *Expr) String() string
- func (m *Expr) XXX_DiscardUnknown()
- func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Expr) XXX_Merge(src proto.Message)
- func (*Expr) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Expr) XXX_Size() int
- func (m *Expr) XXX_Unmarshal(b []byte) error
- type Expr_Binary
- type Expr_Block
- type Expr_Br
- type Expr_BrIf
- type Expr_BrTable
- type Expr_Call
- type Expr_CallIndirect
- type Expr_Const
- type Expr_CurrentMemory
- type Expr_Else
- type Expr_End
- type Expr_GetGlobal
- type Expr_GetLocal
- type Expr_GrowMemory
- type Expr_If
- type Expr_Load
- type Expr_Loop
- type Expr_Return
- type Expr_Select
- type Expr_SetGlobal
- type Expr_SetLocal
- type Expr_Store
- type Expr_TeeLocal
- type Expr_Unary
- type Expr_Unreachable
- type Function
- func (*Function) Descriptor() ([]byte, []int)
- func (m *Function) GetExprs() []*Expr
- func (m *Function) GetHasLabels() bool
- func (m *Function) GetId() uint32
- func (m *Function) GetLocals() []ValueType
- func (m *Function) GetMaxStackSize() uint32
- func (m *Function) GetSig() *FunctionSig
- func (m *Function) GetStackVars() *StackVars
- func (f *Function) LocalVars() []LocalVar
- func (*Function) ProtoMessage()
- func (m *Function) Reset()
- func (m *Function) String() string
- func (m *Function) XXX_DiscardUnknown()
- func (m *Function) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Function) XXX_Merge(src proto.Message)
- func (m *Function) XXX_Size() int
- func (m *Function) XXX_Unmarshal(b []byte) error
- type FunctionSig
- func (*FunctionSig) Descriptor() ([]byte, []int)
- func (m *FunctionSig) GetParamTypes() []ValueType
- func (m *FunctionSig) GetReturnTypes() []ValueType
- func (s *FunctionSig) HasReturnType() bool
- func (*FunctionSig) ProtoMessage()
- func (m *FunctionSig) Reset()
- func (s *FunctionSig) ReturnType() ValueType
- func (m *FunctionSig) String() string
- func (m *FunctionSig) XXX_DiscardUnknown()
- func (m *FunctionSig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FunctionSig) XXX_Merge(src proto.Message)
- func (m *FunctionSig) XXX_Size() int
- func (m *FunctionSig) XXX_Unmarshal(b []byte) error
- type GetGlobalExpr
- func (*GetGlobalExpr) Descriptor() ([]byte, []int)
- func (m *GetGlobalExpr) GetIndex() uint32
- func (m *GetGlobalExpr) GetReturns() []*StackVar
- func (*GetGlobalExpr) ProtoMessage()
- func (m *GetGlobalExpr) Reset()
- func (m *GetGlobalExpr) String() string
- func (m *GetGlobalExpr) XXX_DiscardUnknown()
- func (m *GetGlobalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetGlobalExpr) XXX_Merge(src proto.Message)
- func (m *GetGlobalExpr) XXX_Size() int
- func (m *GetGlobalExpr) XXX_Unmarshal(b []byte) error
- type GetLocalExpr
- func (*GetLocalExpr) Descriptor() ([]byte, []int)
- func (m *GetLocalExpr) GetIndex() uint32
- func (m *GetLocalExpr) GetReturns() []*StackVar
- func (*GetLocalExpr) ProtoMessage()
- func (m *GetLocalExpr) Reset()
- func (m *GetLocalExpr) String() string
- func (m *GetLocalExpr) XXX_DiscardUnknown()
- func (m *GetLocalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetLocalExpr) XXX_Merge(src proto.Message)
- func (m *GetLocalExpr) XXX_Size() int
- func (m *GetLocalExpr) XXX_Unmarshal(b []byte) error
- type GrowMemoryExpr
- func (*GrowMemoryExpr) Descriptor() ([]byte, []int)
- func (m *GrowMemoryExpr) GetParam() *StackVar
- func (m *GrowMemoryExpr) GetReturns() []*StackVar
- func (*GrowMemoryExpr) ProtoMessage()
- func (m *GrowMemoryExpr) Reset()
- func (m *GrowMemoryExpr) String() string
- func (m *GrowMemoryExpr) XXX_DiscardUnknown()
- func (m *GrowMemoryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GrowMemoryExpr) XXX_Merge(src proto.Message)
- func (m *GrowMemoryExpr) XXX_Size() int
- func (m *GrowMemoryExpr) XXX_Unmarshal(b []byte) error
- type IfExpr
- func (*IfExpr) Descriptor() ([]byte, []int)
- func (m *IfExpr) GetLabelId() uint32
- func (m *IfExpr) GetLabelUsed() bool
- func (m *IfExpr) GetParam() *StackVar
- func (*IfExpr) ProtoMessage()
- func (m *IfExpr) Reset()
- func (m *IfExpr) String() string
- func (m *IfExpr) XXX_DiscardUnknown()
- func (m *IfExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IfExpr) XXX_Merge(src proto.Message)
- func (m *IfExpr) XXX_Size() int
- func (m *IfExpr) XXX_Unmarshal(b []byte) error
- type ImportedFunction
- func (*ImportedFunction) Descriptor() ([]byte, []int)
- func (m *ImportedFunction) GetFieldName() string
- func (m *ImportedFunction) GetModuleName() string
- func (m *ImportedFunction) GetSig() *FunctionSig
- func (m *ImportedFunction) GetTypeId() uint32
- func (*ImportedFunction) ProtoMessage()
- func (m *ImportedFunction) Reset()
- func (m *ImportedFunction) String() string
- func (m *ImportedFunction) XXX_DiscardUnknown()
- func (m *ImportedFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImportedFunction) XXX_Merge(src proto.Message)
- func (m *ImportedFunction) XXX_Size() int
- func (m *ImportedFunction) XXX_Unmarshal(b []byte) error
- type ImportedGlobals
- type LoadExpr
- func (*LoadExpr) Descriptor() ([]byte, []int)
- func (m *LoadExpr) GetAlign() uint32
- func (m *LoadExpr) GetOffset() uint32
- func (m *LoadExpr) GetOpCode() uint32
- func (m *LoadExpr) GetParam() *StackVar
- func (m *LoadExpr) GetReturns() []*StackVar
- func (*LoadExpr) ProtoMessage()
- func (m *LoadExpr) Reset()
- func (m *LoadExpr) String() string
- func (m *LoadExpr) XXX_DiscardUnknown()
- func (m *LoadExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LoadExpr) XXX_Merge(src proto.Message)
- func (m *LoadExpr) XXX_Size() int
- func (m *LoadExpr) XXX_Unmarshal(b []byte) error
- type LocalVar
- type LoopExpr
- func (*LoopExpr) Descriptor() ([]byte, []int)
- func (m *LoopExpr) GetLabelId() uint32
- func (m *LoopExpr) GetLabelUsed() bool
- func (*LoopExpr) ProtoMessage()
- func (m *LoopExpr) Reset()
- func (m *LoopExpr) String() string
- func (m *LoopExpr) XXX_DiscardUnknown()
- func (m *LoopExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LoopExpr) XXX_Merge(src proto.Message)
- func (m *LoopExpr) XXX_Size() int
- func (m *LoopExpr) XXX_Unmarshal(b []byte) error
- type Memory
- func (*Memory) Descriptor() ([]byte, []int)
- func (m *Memory) GetSegments() map[uint32][]byte
- func (m *Memory) GetSize() uint32
- func (*Memory) ProtoMessage()
- func (m *Memory) Reset()
- func (m *Memory) String() string
- func (m *Memory) XXX_DiscardUnknown()
- func (m *Memory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Memory) XXX_Merge(src proto.Message)
- func (m *Memory) XXX_Size() int
- func (m *Memory) XXX_Unmarshal(b []byte) error
- type Module
- func (*Module) Descriptor() ([]byte, []int)
- func (m *Module) GetExportedFunctions() []*ExportedFunction
- func (m *Module) GetFunctions() []*Function
- func (m *Module) GetGlobals() []*Value
- func (m *Module) GetImportedFunctions() []*ImportedFunction
- func (m *Module) GetMemory() *Memory
- func (m *Module) GetTable() []*TableEntry
- func (*Module) ProtoMessage()
- func (m *Module) Reset()
- func (m *Module) String() string
- func (m *Module) XXX_DiscardUnknown()
- func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Module) XXX_Merge(src proto.Message)
- func (m *Module) XXX_Size() int
- func (m *Module) XXX_Unmarshal(b []byte) error
- type ReturnExpr
- func (*ReturnExpr) Descriptor() ([]byte, []int)
- func (m *ReturnExpr) GetReturns() []*StackVar
- func (*ReturnExpr) ProtoMessage()
- func (m *ReturnExpr) Reset()
- func (m *ReturnExpr) String() string
- func (m *ReturnExpr) XXX_DiscardUnknown()
- func (m *ReturnExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReturnExpr) XXX_Merge(src proto.Message)
- func (m *ReturnExpr) XXX_Size() int
- func (m *ReturnExpr) XXX_Unmarshal(b []byte) error
- type SelectExpr
- func (*SelectExpr) Descriptor() ([]byte, []int)
- func (m *SelectExpr) GetParam1() *StackVar
- func (m *SelectExpr) GetParam2() *StackVar
- func (m *SelectExpr) GetParam3() *StackVar
- func (m *SelectExpr) GetReturns() []*StackVar
- func (*SelectExpr) ProtoMessage()
- func (m *SelectExpr) Reset()
- func (m *SelectExpr) String() string
- func (m *SelectExpr) XXX_DiscardUnknown()
- func (m *SelectExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SelectExpr) XXX_Merge(src proto.Message)
- func (m *SelectExpr) XXX_Size() int
- func (m *SelectExpr) XXX_Unmarshal(b []byte) error
- type SetGlobalExpr
- func (*SetGlobalExpr) Descriptor() ([]byte, []int)
- func (m *SetGlobalExpr) GetIndex() uint32
- func (m *SetGlobalExpr) GetParam() *StackVar
- func (*SetGlobalExpr) ProtoMessage()
- func (m *SetGlobalExpr) Reset()
- func (m *SetGlobalExpr) String() string
- func (m *SetGlobalExpr) XXX_DiscardUnknown()
- func (m *SetGlobalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetGlobalExpr) XXX_Merge(src proto.Message)
- func (m *SetGlobalExpr) XXX_Size() int
- func (m *SetGlobalExpr) XXX_Unmarshal(b []byte) error
- type SetLocalExpr
- func (*SetLocalExpr) Descriptor() ([]byte, []int)
- func (m *SetLocalExpr) GetIndex() uint32
- func (m *SetLocalExpr) GetParam() *StackVar
- func (*SetLocalExpr) ProtoMessage()
- func (m *SetLocalExpr) Reset()
- func (m *SetLocalExpr) String() string
- func (m *SetLocalExpr) XXX_DiscardUnknown()
- func (m *SetLocalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetLocalExpr) XXX_Merge(src proto.Message)
- func (m *SetLocalExpr) XXX_Size() int
- func (m *SetLocalExpr) XXX_Unmarshal(b []byte) error
- type StackVar
- func (*StackVar) Descriptor() ([]byte, []int)
- func (m *StackVar) GetId() uint32
- func (m *StackVar) GetValueType() ValueType
- func (*StackVar) ProtoMessage()
- func (m *StackVar) Reset()
- func (m *StackVar) String() string
- func (m *StackVar) XXX_DiscardUnknown()
- func (m *StackVar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StackVar) XXX_Merge(src proto.Message)
- func (m *StackVar) XXX_Size() int
- func (m *StackVar) XXX_Unmarshal(b []byte) error
- type StackVars
- func (*StackVars) Descriptor() ([]byte, []int)
- func (m *StackVars) GetF32() []uint32
- func (m *StackVars) GetF64() []uint32
- func (m *StackVars) GetI32() []uint32
- func (m *StackVars) GetI64() []uint32
- func (*StackVars) ProtoMessage()
- func (m *StackVars) Reset()
- func (m *StackVars) String() string
- func (m *StackVars) XXX_DiscardUnknown()
- func (m *StackVars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StackVars) XXX_Merge(src proto.Message)
- func (m *StackVars) XXX_Size() int
- func (m *StackVars) XXX_Unmarshal(b []byte) error
- type StoreExpr
- func (*StoreExpr) Descriptor() ([]byte, []int)
- func (m *StoreExpr) GetAlign() uint32
- func (m *StoreExpr) GetOffset() uint32
- func (m *StoreExpr) GetOpCode() uint32
- func (m *StoreExpr) GetParam1() *StackVar
- func (m *StoreExpr) GetParam2() *StackVar
- func (*StoreExpr) ProtoMessage()
- func (m *StoreExpr) Reset()
- func (m *StoreExpr) String() string
- func (m *StoreExpr) XXX_DiscardUnknown()
- func (m *StoreExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StoreExpr) XXX_Merge(src proto.Message)
- func (m *StoreExpr) XXX_Size() int
- func (m *StoreExpr) XXX_Unmarshal(b []byte) error
- type TableEntry
- func (*TableEntry) Descriptor() ([]byte, []int)
- func (m *TableEntry) GetFunctionId() int64
- func (m *TableEntry) GetNumParams() uint32
- func (*TableEntry) ProtoMessage()
- func (m *TableEntry) Reset()
- func (m *TableEntry) String() string
- func (m *TableEntry) XXX_DiscardUnknown()
- func (m *TableEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TableEntry) XXX_Merge(src proto.Message)
- func (m *TableEntry) XXX_Size() int
- func (m *TableEntry) XXX_Unmarshal(b []byte) error
- type TeeLocalExpr
- func (*TeeLocalExpr) Descriptor() ([]byte, []int)
- func (m *TeeLocalExpr) GetIndex() uint32
- func (m *TeeLocalExpr) GetParam() *StackVar
- func (*TeeLocalExpr) ProtoMessage()
- func (m *TeeLocalExpr) Reset()
- func (m *TeeLocalExpr) String() string
- func (m *TeeLocalExpr) XXX_DiscardUnknown()
- func (m *TeeLocalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TeeLocalExpr) XXX_Merge(src proto.Message)
- func (m *TeeLocalExpr) XXX_Size() int
- func (m *TeeLocalExpr) XXX_Unmarshal(b []byte) error
- type UnaryExpr
- func (*UnaryExpr) Descriptor() ([]byte, []int)
- func (m *UnaryExpr) GetOpCode() uint32
- func (m *UnaryExpr) GetParam() *StackVar
- func (m *UnaryExpr) GetReturns() []*StackVar
- func (*UnaryExpr) ProtoMessage()
- func (m *UnaryExpr) Reset()
- func (m *UnaryExpr) String() string
- func (m *UnaryExpr) XXX_DiscardUnknown()
- func (m *UnaryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnaryExpr) XXX_Merge(src proto.Message)
- func (m *UnaryExpr) XXX_Size() int
- func (m *UnaryExpr) XXX_Unmarshal(b []byte) error
- type UnreachableExpr
- type Value
- func (*Value) Descriptor() ([]byte, []int)
- func (m *Value) GetF32() float32
- func (m *Value) GetF64() float64
- func (m *Value) GetI32() int32
- func (m *Value) GetI64() int64
- func (m *Value) GetKind() isValue_Kind
- func (*Value) ProtoMessage()
- func (m *Value) Reset()
- func (m *Value) String() string
- func (m *Value) XXX_DiscardUnknown()
- func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Value) XXX_Merge(src proto.Message)
- func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Value) XXX_Size() int
- func (m *Value) XXX_Unmarshal(b []byte) error
- type ValueType
- type Value_F32
- type Value_F64
- type Value_I32
- type Value_I64
Constants ¶
This section is empty.
Variables ¶
View Source
var ElseExpr_name = map[int32]string{
0: "ELSE",
}
View Source
var ElseExpr_value = map[string]int32{
"ELSE": 0,
}
View Source
var EndExpr_name = map[int32]string{
0: "END",
}
View Source
var EndExpr_value = map[string]int32{
"END": 0,
}
View Source
var UnreachableExpr_name = map[int32]string{
0: "UNREACHABLE",
}
View Source
var UnreachableExpr_value = map[string]int32{
"UNREACHABLE": 0,
}
View Source
var ValueType_name = map[int32]string{
0: "I32",
1: "I64",
2: "F32",
3: "F64",
}
View Source
var ValueType_value = map[string]int32{
"I32": 0,
"I64": 1,
"F32": 2,
"F64": 3,
}
Functions ¶
This section is empty.
Types ¶
type BinaryExpr ¶
type BinaryExpr struct { OpCode uint32 `protobuf:"varint,1,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"` Param1 *StackVar `protobuf:"bytes,2,opt,name=param1,proto3" json:"param1,omitempty"` Param2 *StackVar `protobuf:"bytes,3,opt,name=param2,proto3" json:"param2,omitempty"` Returns []*StackVar `protobuf:"bytes,4,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BinaryExpr) Descriptor ¶
func (*BinaryExpr) Descriptor() ([]byte, []int)
func (*BinaryExpr) GetOpCode ¶
func (m *BinaryExpr) GetOpCode() uint32
func (*BinaryExpr) GetParam1 ¶
func (m *BinaryExpr) GetParam1() *StackVar
func (*BinaryExpr) GetParam2 ¶
func (m *BinaryExpr) GetParam2() *StackVar
func (*BinaryExpr) GetReturns ¶
func (m *BinaryExpr) GetReturns() []*StackVar
func (*BinaryExpr) ProtoMessage ¶
func (*BinaryExpr) ProtoMessage()
func (*BinaryExpr) Reset ¶
func (m *BinaryExpr) Reset()
func (*BinaryExpr) String ¶
func (m *BinaryExpr) String() string
func (*BinaryExpr) XXX_DiscardUnknown ¶
func (m *BinaryExpr) XXX_DiscardUnknown()
func (*BinaryExpr) XXX_Marshal ¶
func (m *BinaryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BinaryExpr) XXX_Merge ¶
func (dst *BinaryExpr) XXX_Merge(src proto.Message)
func (*BinaryExpr) XXX_Size ¶
func (m *BinaryExpr) XXX_Size() int
func (*BinaryExpr) XXX_Unmarshal ¶
func (m *BinaryExpr) XXX_Unmarshal(b []byte) error
type BlockExpr ¶
type BlockExpr struct { LabelId uint32 `protobuf:"varint,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` LabelUsed bool `protobuf:"varint,2,opt,name=label_used,json=labelUsed,proto3" json:"label_used,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockExpr) Descriptor ¶
func (*BlockExpr) GetLabelId ¶
func (*BlockExpr) GetLabelUsed ¶
func (*BlockExpr) ProtoMessage ¶
func (*BlockExpr) ProtoMessage()
func (*BlockExpr) XXX_DiscardUnknown ¶
func (m *BlockExpr) XXX_DiscardUnknown()
func (*BlockExpr) XXX_Marshal ¶
func (*BlockExpr) XXX_Unmarshal ¶
type BrExpr ¶
type BrExpr struct { LabelId uint32 `protobuf:"varint,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BrExpr) Descriptor ¶
func (*BrExpr) GetLabelId ¶
func (*BrExpr) ProtoMessage ¶
func (*BrExpr) ProtoMessage()
func (*BrExpr) XXX_DiscardUnknown ¶
func (m *BrExpr) XXX_DiscardUnknown()
func (*BrExpr) XXX_Marshal ¶
func (*BrExpr) XXX_Unmarshal ¶
type BrIfExpr ¶
type BrIfExpr struct { LabelId uint32 `protobuf:"varint,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` Param *StackVar `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BrIfExpr) Descriptor ¶
func (*BrIfExpr) GetLabelId ¶
func (*BrIfExpr) ProtoMessage ¶
func (*BrIfExpr) ProtoMessage()
func (*BrIfExpr) XXX_DiscardUnknown ¶
func (m *BrIfExpr) XXX_DiscardUnknown()
func (*BrIfExpr) XXX_Marshal ¶
func (*BrIfExpr) XXX_Unmarshal ¶
type BrTableExpr ¶
type BrTableExpr struct { Labels []uint32 `protobuf:"varint,1,rep,packed,name=labels,proto3" json:"labels,omitempty"` Param *StackVar `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BrTableExpr) Descriptor ¶
func (*BrTableExpr) Descriptor() ([]byte, []int)
func (*BrTableExpr) GetLabels ¶
func (m *BrTableExpr) GetLabels() []uint32
func (*BrTableExpr) GetParam ¶
func (m *BrTableExpr) GetParam() *StackVar
func (*BrTableExpr) ProtoMessage ¶
func (*BrTableExpr) ProtoMessage()
func (*BrTableExpr) Reset ¶
func (m *BrTableExpr) Reset()
func (*BrTableExpr) String ¶
func (m *BrTableExpr) String() string
func (*BrTableExpr) XXX_DiscardUnknown ¶
func (m *BrTableExpr) XXX_DiscardUnknown()
func (*BrTableExpr) XXX_Marshal ¶
func (m *BrTableExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BrTableExpr) XXX_Merge ¶
func (dst *BrTableExpr) XXX_Merge(src proto.Message)
func (*BrTableExpr) XXX_Size ¶
func (m *BrTableExpr) XXX_Size() int
func (*BrTableExpr) XXX_Unmarshal ¶
func (m *BrTableExpr) XXX_Unmarshal(b []byte) error
type CallExpr ¶
type CallExpr struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Params []*StackVar `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` Returns []*StackVar `protobuf:"bytes,3,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallExpr) Descriptor ¶
func (*CallExpr) GetReturns ¶
func (*CallExpr) ProtoMessage ¶
func (*CallExpr) ProtoMessage()
func (*CallExpr) XXX_DiscardUnknown ¶
func (m *CallExpr) XXX_DiscardUnknown()
func (*CallExpr) XXX_Marshal ¶
func (*CallExpr) XXX_Unmarshal ¶
type CallIndirectExpr ¶
type CallIndirectExpr struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Params []*StackVar `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` Returns []*StackVar `protobuf:"bytes,3,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallIndirectExpr) Descriptor ¶
func (*CallIndirectExpr) Descriptor() ([]byte, []int)
func (*CallIndirectExpr) GetIndex ¶
func (m *CallIndirectExpr) GetIndex() uint32
func (*CallIndirectExpr) GetParams ¶
func (m *CallIndirectExpr) GetParams() []*StackVar
func (*CallIndirectExpr) GetReturns ¶
func (m *CallIndirectExpr) GetReturns() []*StackVar
func (*CallIndirectExpr) ProtoMessage ¶
func (*CallIndirectExpr) ProtoMessage()
func (*CallIndirectExpr) Reset ¶
func (m *CallIndirectExpr) Reset()
func (*CallIndirectExpr) String ¶
func (m *CallIndirectExpr) String() string
func (*CallIndirectExpr) XXX_DiscardUnknown ¶
func (m *CallIndirectExpr) XXX_DiscardUnknown()
func (*CallIndirectExpr) XXX_Marshal ¶
func (m *CallIndirectExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CallIndirectExpr) XXX_Merge ¶
func (dst *CallIndirectExpr) XXX_Merge(src proto.Message)
func (*CallIndirectExpr) XXX_Size ¶
func (m *CallIndirectExpr) XXX_Size() int
func (*CallIndirectExpr) XXX_Unmarshal ¶
func (m *CallIndirectExpr) XXX_Unmarshal(b []byte) error
type ConstExpr ¶
type ConstExpr struct { Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Returns []*StackVar `protobuf:"bytes,2,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConstExpr) Descriptor ¶
func (*ConstExpr) GetReturns ¶
func (*ConstExpr) ProtoMessage ¶
func (*ConstExpr) ProtoMessage()
func (*ConstExpr) XXX_DiscardUnknown ¶
func (m *ConstExpr) XXX_DiscardUnknown()
func (*ConstExpr) XXX_Marshal ¶
func (*ConstExpr) XXX_Unmarshal ¶
type CurrentMemoryExpr ¶
type CurrentMemoryExpr struct { Returns []*StackVar `protobuf:"bytes,1,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CurrentMemoryExpr) Descriptor ¶
func (*CurrentMemoryExpr) Descriptor() ([]byte, []int)
func (*CurrentMemoryExpr) GetReturns ¶
func (m *CurrentMemoryExpr) GetReturns() []*StackVar
func (*CurrentMemoryExpr) ProtoMessage ¶
func (*CurrentMemoryExpr) ProtoMessage()
func (*CurrentMemoryExpr) Reset ¶
func (m *CurrentMemoryExpr) Reset()
func (*CurrentMemoryExpr) String ¶
func (m *CurrentMemoryExpr) String() string
func (*CurrentMemoryExpr) XXX_DiscardUnknown ¶
func (m *CurrentMemoryExpr) XXX_DiscardUnknown()
func (*CurrentMemoryExpr) XXX_Marshal ¶
func (m *CurrentMemoryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CurrentMemoryExpr) XXX_Merge ¶
func (dst *CurrentMemoryExpr) XXX_Merge(src proto.Message)
func (*CurrentMemoryExpr) XXX_Size ¶
func (m *CurrentMemoryExpr) XXX_Size() int
func (*CurrentMemoryExpr) XXX_Unmarshal ¶
func (m *CurrentMemoryExpr) XXX_Unmarshal(b []byte) error
type ElseExpr ¶
type ElseExpr int32
const (
ElseExpr_ELSE ElseExpr = 0
)
func (ElseExpr) EnumDescriptor ¶
type ExportedFunction ¶
type ExportedFunction struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExportedFunction) Descriptor ¶
func (*ExportedFunction) Descriptor() ([]byte, []int)
func (*ExportedFunction) GetId ¶
func (m *ExportedFunction) GetId() uint32
func (*ExportedFunction) GetName ¶
func (m *ExportedFunction) GetName() string
func (*ExportedFunction) ProtoMessage ¶
func (*ExportedFunction) ProtoMessage()
func (*ExportedFunction) Reset ¶
func (m *ExportedFunction) Reset()
func (*ExportedFunction) String ¶
func (m *ExportedFunction) String() string
func (*ExportedFunction) XXX_DiscardUnknown ¶
func (m *ExportedFunction) XXX_DiscardUnknown()
func (*ExportedFunction) XXX_Marshal ¶
func (m *ExportedFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportedFunction) XXX_Merge ¶
func (dst *ExportedFunction) XXX_Merge(src proto.Message)
func (*ExportedFunction) XXX_Size ¶
func (m *ExportedFunction) XXX_Size() int
func (*ExportedFunction) XXX_Unmarshal ¶
func (m *ExportedFunction) XXX_Unmarshal(b []byte) error
type Expr ¶
type Expr struct { // Types that are valid to be assigned to Kind: // *Expr_Binary // *Expr_Block // *Expr_Br // *Expr_BrIf // *Expr_BrTable // *Expr_Call // *Expr_CallIndirect // *Expr_Const // *Expr_CurrentMemory // *Expr_Else // *Expr_End // *Expr_GetGlobal // *Expr_GetLocal // *Expr_GrowMemory // *Expr_If // *Expr_Load // *Expr_Loop // *Expr_Return // *Expr_Select // *Expr_SetGlobal // *Expr_SetLocal // *Expr_Store // *Expr_TeeLocal // *Expr_Unary // *Expr_Unreachable Kind isExpr_Kind `protobuf_oneof:"kind"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Expr) Descriptor ¶
func (*Expr) GetBinary ¶
func (m *Expr) GetBinary() *BinaryExpr
func (*Expr) GetBrTable ¶
func (m *Expr) GetBrTable() *BrTableExpr
func (*Expr) GetCallIndirect ¶
func (m *Expr) GetCallIndirect() *CallIndirectExpr
func (*Expr) GetCurrentMemory ¶
func (m *Expr) GetCurrentMemory() *CurrentMemoryExpr
func (*Expr) GetGetGlobal ¶
func (m *Expr) GetGetGlobal() *GetGlobalExpr
func (*Expr) GetGetLocal ¶
func (m *Expr) GetGetLocal() *GetLocalExpr
func (*Expr) GetGrowMemory ¶
func (m *Expr) GetGrowMemory() *GrowMemoryExpr
func (*Expr) GetReturn ¶
func (m *Expr) GetReturn() *ReturnExpr
func (*Expr) GetSelect ¶
func (m *Expr) GetSelect() *SelectExpr
func (*Expr) GetSetGlobal ¶
func (m *Expr) GetSetGlobal() *SetGlobalExpr
func (*Expr) GetSetLocal ¶
func (m *Expr) GetSetLocal() *SetLocalExpr
func (*Expr) GetTeeLocal ¶
func (m *Expr) GetTeeLocal() *TeeLocalExpr
func (*Expr) GetUnreachable ¶
func (m *Expr) GetUnreachable() UnreachableExpr
func (*Expr) ProtoMessage ¶
func (*Expr) ProtoMessage()
func (*Expr) XXX_DiscardUnknown ¶
func (m *Expr) XXX_DiscardUnknown()
func (*Expr) XXX_OneofFuncs ¶
func (*Expr) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Expr) XXX_Unmarshal ¶
type Expr_Binary ¶
type Expr_Binary struct {
Binary *BinaryExpr `protobuf:"bytes,1,opt,name=binary,proto3,oneof"`
}
type Expr_Block ¶
type Expr_Block struct {
Block *BlockExpr `protobuf:"bytes,2,opt,name=block,proto3,oneof"`
}
type Expr_BrIf ¶
type Expr_BrIf struct {
BrIf *BrIfExpr `protobuf:"bytes,4,opt,name=br_if,json=brIf,proto3,oneof"`
}
type Expr_BrTable ¶
type Expr_BrTable struct {
BrTable *BrTableExpr `protobuf:"bytes,5,opt,name=br_table,json=brTable,proto3,oneof"`
}
type Expr_Call ¶
type Expr_Call struct {
Call *CallExpr `protobuf:"bytes,6,opt,name=call,proto3,oneof"`
}
type Expr_CallIndirect ¶
type Expr_CallIndirect struct {
CallIndirect *CallIndirectExpr `protobuf:"bytes,7,opt,name=call_indirect,json=callIndirect,proto3,oneof"`
}
type Expr_Const ¶
type Expr_Const struct {
Const *ConstExpr `protobuf:"bytes,8,opt,name=const,proto3,oneof"`
}
type Expr_CurrentMemory ¶
type Expr_CurrentMemory struct {
CurrentMemory *CurrentMemoryExpr `protobuf:"bytes,9,opt,name=current_memory,json=currentMemory,proto3,oneof"`
}
type Expr_Else ¶
type Expr_Else struct {
Else ElseExpr `protobuf:"varint,10,opt,name=else,proto3,enum=ir.ElseExpr,oneof"`
}
type Expr_End ¶
type Expr_End struct {
End EndExpr `protobuf:"varint,11,opt,name=end,proto3,enum=ir.EndExpr,oneof"`
}
type Expr_GetGlobal ¶
type Expr_GetGlobal struct {
GetGlobal *GetGlobalExpr `protobuf:"bytes,12,opt,name=get_global,json=getGlobal,proto3,oneof"`
}
type Expr_GetLocal ¶
type Expr_GetLocal struct {
GetLocal *GetLocalExpr `protobuf:"bytes,13,opt,name=get_local,json=getLocal,proto3,oneof"`
}
type Expr_GrowMemory ¶
type Expr_GrowMemory struct {
GrowMemory *GrowMemoryExpr `protobuf:"bytes,14,opt,name=grow_memory,json=growMemory,proto3,oneof"`
}
type Expr_Load ¶
type Expr_Load struct {
Load *LoadExpr `protobuf:"bytes,16,opt,name=load,proto3,oneof"`
}
type Expr_Loop ¶
type Expr_Loop struct {
Loop *LoopExpr `protobuf:"bytes,17,opt,name=loop,proto3,oneof"`
}
type Expr_Return ¶
type Expr_Return struct {
Return *ReturnExpr `protobuf:"bytes,18,opt,name=return,proto3,oneof"`
}
type Expr_Select ¶
type Expr_Select struct {
Select *SelectExpr `protobuf:"bytes,19,opt,name=select,proto3,oneof"`
}
type Expr_SetGlobal ¶
type Expr_SetGlobal struct {
SetGlobal *SetGlobalExpr `protobuf:"bytes,20,opt,name=set_global,json=setGlobal,proto3,oneof"`
}
type Expr_SetLocal ¶
type Expr_SetLocal struct {
SetLocal *SetLocalExpr `protobuf:"bytes,21,opt,name=set_local,json=setLocal,proto3,oneof"`
}
type Expr_Store ¶
type Expr_Store struct {
Store *StoreExpr `protobuf:"bytes,22,opt,name=store,proto3,oneof"`
}
type Expr_TeeLocal ¶
type Expr_TeeLocal struct {
TeeLocal *TeeLocalExpr `protobuf:"bytes,23,opt,name=tee_local,json=teeLocal,proto3,oneof"`
}
type Expr_Unary ¶
type Expr_Unary struct {
Unary *UnaryExpr `protobuf:"bytes,24,opt,name=unary,proto3,oneof"`
}
type Expr_Unreachable ¶
type Expr_Unreachable struct {
Unreachable UnreachableExpr `protobuf:"varint,25,opt,name=unreachable,proto3,enum=ir.UnreachableExpr,oneof"`
}
type Function ¶
type Function struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Sig *FunctionSig `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` Locals []ValueType `protobuf:"varint,3,rep,packed,name=locals,proto3,enum=ir.ValueType" json:"locals,omitempty"` Exprs []*Expr `protobuf:"bytes,4,rep,name=exprs,proto3" json:"exprs,omitempty"` MaxStackSize uint32 `protobuf:"varint,5,opt,name=max_stack_size,json=maxStackSize,proto3" json:"max_stack_size,omitempty"` StackVars *StackVars `protobuf:"bytes,6,opt,name=stack_vars,json=stackVars,proto3" json:"stack_vars,omitempty"` HasLabels bool `protobuf:"varint,7,opt,name=has_labels,json=hasLabels,proto3" json:"has_labels,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Function) Descriptor ¶
func (*Function) GetHasLabels ¶
func (*Function) GetMaxStackSize ¶
func (*Function) GetSig ¶
func (m *Function) GetSig() *FunctionSig
func (*Function) GetStackVars ¶
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) XXX_DiscardUnknown ¶
func (m *Function) XXX_DiscardUnknown()
func (*Function) XXX_Marshal ¶
func (*Function) XXX_Unmarshal ¶
type FunctionSig ¶
type FunctionSig struct { ParamTypes []ValueType `protobuf:"varint,1,rep,packed,name=param_types,json=paramTypes,proto3,enum=ir.ValueType" json:"param_types,omitempty"` ReturnTypes []ValueType `protobuf:"varint,2,rep,packed,name=return_types,json=returnTypes,proto3,enum=ir.ValueType" json:"return_types,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FunctionSig) Descriptor ¶
func (*FunctionSig) Descriptor() ([]byte, []int)
func (*FunctionSig) GetParamTypes ¶
func (m *FunctionSig) GetParamTypes() []ValueType
func (*FunctionSig) GetReturnTypes ¶
func (m *FunctionSig) GetReturnTypes() []ValueType
func (*FunctionSig) HasReturnType ¶
func (s *FunctionSig) HasReturnType() bool
HasReturnType returns whether f returns a value or not.
func (*FunctionSig) ProtoMessage ¶
func (*FunctionSig) ProtoMessage()
func (*FunctionSig) Reset ¶
func (m *FunctionSig) Reset()
func (*FunctionSig) ReturnType ¶
func (s *FunctionSig) ReturnType() ValueType
ReturnType returns the return value type for s.
func (*FunctionSig) String ¶
func (m *FunctionSig) String() string
func (*FunctionSig) XXX_DiscardUnknown ¶
func (m *FunctionSig) XXX_DiscardUnknown()
func (*FunctionSig) XXX_Marshal ¶
func (m *FunctionSig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FunctionSig) XXX_Merge ¶
func (dst *FunctionSig) XXX_Merge(src proto.Message)
func (*FunctionSig) XXX_Size ¶
func (m *FunctionSig) XXX_Size() int
func (*FunctionSig) XXX_Unmarshal ¶
func (m *FunctionSig) XXX_Unmarshal(b []byte) error
type GetGlobalExpr ¶
type GetGlobalExpr struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Returns []*StackVar `protobuf:"bytes,2,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGlobalExpr) Descriptor ¶
func (*GetGlobalExpr) Descriptor() ([]byte, []int)
func (*GetGlobalExpr) GetIndex ¶
func (m *GetGlobalExpr) GetIndex() uint32
func (*GetGlobalExpr) GetReturns ¶
func (m *GetGlobalExpr) GetReturns() []*StackVar
func (*GetGlobalExpr) ProtoMessage ¶
func (*GetGlobalExpr) ProtoMessage()
func (*GetGlobalExpr) Reset ¶
func (m *GetGlobalExpr) Reset()
func (*GetGlobalExpr) String ¶
func (m *GetGlobalExpr) String() string
func (*GetGlobalExpr) XXX_DiscardUnknown ¶
func (m *GetGlobalExpr) XXX_DiscardUnknown()
func (*GetGlobalExpr) XXX_Marshal ¶
func (m *GetGlobalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGlobalExpr) XXX_Merge ¶
func (dst *GetGlobalExpr) XXX_Merge(src proto.Message)
func (*GetGlobalExpr) XXX_Size ¶
func (m *GetGlobalExpr) XXX_Size() int
func (*GetGlobalExpr) XXX_Unmarshal ¶
func (m *GetGlobalExpr) XXX_Unmarshal(b []byte) error
type GetLocalExpr ¶
type GetLocalExpr struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Returns []*StackVar `protobuf:"bytes,2,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetLocalExpr) Descriptor ¶
func (*GetLocalExpr) Descriptor() ([]byte, []int)
func (*GetLocalExpr) GetIndex ¶
func (m *GetLocalExpr) GetIndex() uint32
func (*GetLocalExpr) GetReturns ¶
func (m *GetLocalExpr) GetReturns() []*StackVar
func (*GetLocalExpr) ProtoMessage ¶
func (*GetLocalExpr) ProtoMessage()
func (*GetLocalExpr) Reset ¶
func (m *GetLocalExpr) Reset()
func (*GetLocalExpr) String ¶
func (m *GetLocalExpr) String() string
func (*GetLocalExpr) XXX_DiscardUnknown ¶
func (m *GetLocalExpr) XXX_DiscardUnknown()
func (*GetLocalExpr) XXX_Marshal ¶
func (m *GetLocalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLocalExpr) XXX_Merge ¶
func (dst *GetLocalExpr) XXX_Merge(src proto.Message)
func (*GetLocalExpr) XXX_Size ¶
func (m *GetLocalExpr) XXX_Size() int
func (*GetLocalExpr) XXX_Unmarshal ¶
func (m *GetLocalExpr) XXX_Unmarshal(b []byte) error
type GrowMemoryExpr ¶
type GrowMemoryExpr struct { Param *StackVar `protobuf:"bytes,1,opt,name=param,proto3" json:"param,omitempty"` Returns []*StackVar `protobuf:"bytes,2,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GrowMemoryExpr) Descriptor ¶
func (*GrowMemoryExpr) Descriptor() ([]byte, []int)
func (*GrowMemoryExpr) GetParam ¶
func (m *GrowMemoryExpr) GetParam() *StackVar
func (*GrowMemoryExpr) GetReturns ¶
func (m *GrowMemoryExpr) GetReturns() []*StackVar
func (*GrowMemoryExpr) ProtoMessage ¶
func (*GrowMemoryExpr) ProtoMessage()
func (*GrowMemoryExpr) Reset ¶
func (m *GrowMemoryExpr) Reset()
func (*GrowMemoryExpr) String ¶
func (m *GrowMemoryExpr) String() string
func (*GrowMemoryExpr) XXX_DiscardUnknown ¶
func (m *GrowMemoryExpr) XXX_DiscardUnknown()
func (*GrowMemoryExpr) XXX_Marshal ¶
func (m *GrowMemoryExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GrowMemoryExpr) XXX_Merge ¶
func (dst *GrowMemoryExpr) XXX_Merge(src proto.Message)
func (*GrowMemoryExpr) XXX_Size ¶
func (m *GrowMemoryExpr) XXX_Size() int
func (*GrowMemoryExpr) XXX_Unmarshal ¶
func (m *GrowMemoryExpr) XXX_Unmarshal(b []byte) error
type IfExpr ¶
type IfExpr struct { LabelId uint32 `protobuf:"varint,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` LabelUsed bool `protobuf:"varint,2,opt,name=label_used,json=labelUsed,proto3" json:"label_used,omitempty"` Param *StackVar `protobuf:"bytes,3,opt,name=param,proto3" json:"param,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IfExpr) Descriptor ¶
func (*IfExpr) GetLabelId ¶
func (*IfExpr) GetLabelUsed ¶
func (*IfExpr) ProtoMessage ¶
func (*IfExpr) ProtoMessage()
func (*IfExpr) XXX_DiscardUnknown ¶
func (m *IfExpr) XXX_DiscardUnknown()
func (*IfExpr) XXX_Marshal ¶
func (*IfExpr) XXX_Unmarshal ¶
type ImportedFunction ¶
type ImportedFunction struct { ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` Sig *FunctionSig `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty"` TypeId uint32 `protobuf:"varint,4,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImportedFunction) Descriptor ¶
func (*ImportedFunction) Descriptor() ([]byte, []int)
func (*ImportedFunction) GetFieldName ¶
func (m *ImportedFunction) GetFieldName() string
func (*ImportedFunction) GetModuleName ¶
func (m *ImportedFunction) GetModuleName() string
func (*ImportedFunction) GetSig ¶
func (m *ImportedFunction) GetSig() *FunctionSig
func (*ImportedFunction) GetTypeId ¶
func (m *ImportedFunction) GetTypeId() uint32
func (*ImportedFunction) ProtoMessage ¶
func (*ImportedFunction) ProtoMessage()
func (*ImportedFunction) Reset ¶
func (m *ImportedFunction) Reset()
func (*ImportedFunction) String ¶
func (m *ImportedFunction) String() string
func (*ImportedFunction) XXX_DiscardUnknown ¶
func (m *ImportedFunction) XXX_DiscardUnknown()
func (*ImportedFunction) XXX_Marshal ¶
func (m *ImportedFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportedFunction) XXX_Merge ¶
func (dst *ImportedFunction) XXX_Merge(src proto.Message)
func (*ImportedFunction) XXX_Size ¶
func (m *ImportedFunction) XXX_Size() int
func (*ImportedFunction) XXX_Unmarshal ¶
func (m *ImportedFunction) XXX_Unmarshal(b []byte) error
type ImportedGlobals ¶
ImportedGlobals maps a module/field name pair to a global value.
type LoadExpr ¶
type LoadExpr struct { OpCode uint32 `protobuf:"varint,1,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"` Align uint32 `protobuf:"varint,2,opt,name=align,proto3" json:"align,omitempty"` Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Param *StackVar `protobuf:"bytes,4,opt,name=param,proto3" json:"param,omitempty"` Returns []*StackVar `protobuf:"bytes,5,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadExpr) Descriptor ¶
func (*LoadExpr) GetReturns ¶
func (*LoadExpr) ProtoMessage ¶
func (*LoadExpr) ProtoMessage()
func (*LoadExpr) XXX_DiscardUnknown ¶
func (m *LoadExpr) XXX_DiscardUnknown()
func (*LoadExpr) XXX_Marshal ¶
func (*LoadExpr) XXX_Unmarshal ¶
type LoopExpr ¶
type LoopExpr struct { LabelId uint32 `protobuf:"varint,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` LabelUsed bool `protobuf:"varint,2,opt,name=label_used,json=labelUsed,proto3" json:"label_used,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoopExpr) Descriptor ¶
func (*LoopExpr) GetLabelId ¶
func (*LoopExpr) GetLabelUsed ¶
func (*LoopExpr) ProtoMessage ¶
func (*LoopExpr) ProtoMessage()
func (*LoopExpr) XXX_DiscardUnknown ¶
func (m *LoopExpr) XXX_DiscardUnknown()
func (*LoopExpr) XXX_Marshal ¶
func (*LoopExpr) XXX_Unmarshal ¶
type Memory ¶
type Memory struct { Size uint32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` Segments map[uint32][]byte `` /* 158-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Memory) Descriptor ¶
func (*Memory) GetSegments ¶
func (*Memory) ProtoMessage ¶
func (*Memory) ProtoMessage()
func (*Memory) XXX_DiscardUnknown ¶
func (m *Memory) XXX_DiscardUnknown()
func (*Memory) XXX_Marshal ¶
func (*Memory) XXX_Unmarshal ¶
type Module ¶
type Module struct { Globals []*Value `protobuf:"bytes,1,rep,name=globals,proto3" json:"globals,omitempty"` Functions []*Function `protobuf:"bytes,2,rep,name=functions,proto3" json:"functions,omitempty"` ExportedFunctions []*ExportedFunction `protobuf:"bytes,3,rep,name=exported_functions,json=exportedFunctions,proto3" json:"exported_functions,omitempty"` ImportedFunctions []*ImportedFunction `protobuf:"bytes,4,rep,name=imported_functions,json=importedFunctions,proto3" json:"imported_functions,omitempty"` Memory *Memory `protobuf:"bytes,5,opt,name=memory,proto3" json:"memory,omitempty"` Table []*TableEntry `protobuf:"bytes,6,rep,name=table,proto3" json:"table,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func Read ¶
func Read(r io.Reader, ig ImportedGlobals) (*Module, error)
Read reads the WebAssembly in r and returns a new IR Module.
func ReadModule ¶
func ReadModule(wm *wasm.Module, ig ImportedGlobals) (*Module, error)
ReadModule reads the WebAssembly module wm and returns a new IR Module.
func (*Module) Descriptor ¶
func (*Module) GetExportedFunctions ¶
func (m *Module) GetExportedFunctions() []*ExportedFunction
func (*Module) GetFunctions ¶
func (*Module) GetGlobals ¶
func (*Module) GetImportedFunctions ¶
func (m *Module) GetImportedFunctions() []*ImportedFunction
func (*Module) GetTable ¶
func (m *Module) GetTable() []*TableEntry
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) XXX_DiscardUnknown ¶
func (m *Module) XXX_DiscardUnknown()
func (*Module) XXX_Marshal ¶
func (*Module) XXX_Unmarshal ¶
type ReturnExpr ¶
type ReturnExpr struct { Returns []*StackVar `protobuf:"bytes,1,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReturnExpr) Descriptor ¶
func (*ReturnExpr) Descriptor() ([]byte, []int)
func (*ReturnExpr) GetReturns ¶
func (m *ReturnExpr) GetReturns() []*StackVar
func (*ReturnExpr) ProtoMessage ¶
func (*ReturnExpr) ProtoMessage()
func (*ReturnExpr) Reset ¶
func (m *ReturnExpr) Reset()
func (*ReturnExpr) String ¶
func (m *ReturnExpr) String() string
func (*ReturnExpr) XXX_DiscardUnknown ¶
func (m *ReturnExpr) XXX_DiscardUnknown()
func (*ReturnExpr) XXX_Marshal ¶
func (m *ReturnExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReturnExpr) XXX_Merge ¶
func (dst *ReturnExpr) XXX_Merge(src proto.Message)
func (*ReturnExpr) XXX_Size ¶
func (m *ReturnExpr) XXX_Size() int
func (*ReturnExpr) XXX_Unmarshal ¶
func (m *ReturnExpr) XXX_Unmarshal(b []byte) error
type SelectExpr ¶
type SelectExpr struct { Param1 *StackVar `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"` Param2 *StackVar `protobuf:"bytes,2,opt,name=param2,proto3" json:"param2,omitempty"` Param3 *StackVar `protobuf:"bytes,3,opt,name=param3,proto3" json:"param3,omitempty"` Returns []*StackVar `protobuf:"bytes,4,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SelectExpr) Descriptor ¶
func (*SelectExpr) Descriptor() ([]byte, []int)
func (*SelectExpr) GetParam1 ¶
func (m *SelectExpr) GetParam1() *StackVar
func (*SelectExpr) GetParam2 ¶
func (m *SelectExpr) GetParam2() *StackVar
func (*SelectExpr) GetParam3 ¶
func (m *SelectExpr) GetParam3() *StackVar
func (*SelectExpr) GetReturns ¶
func (m *SelectExpr) GetReturns() []*StackVar
func (*SelectExpr) ProtoMessage ¶
func (*SelectExpr) ProtoMessage()
func (*SelectExpr) Reset ¶
func (m *SelectExpr) Reset()
func (*SelectExpr) String ¶
func (m *SelectExpr) String() string
func (*SelectExpr) XXX_DiscardUnknown ¶
func (m *SelectExpr) XXX_DiscardUnknown()
func (*SelectExpr) XXX_Marshal ¶
func (m *SelectExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SelectExpr) XXX_Merge ¶
func (dst *SelectExpr) XXX_Merge(src proto.Message)
func (*SelectExpr) XXX_Size ¶
func (m *SelectExpr) XXX_Size() int
func (*SelectExpr) XXX_Unmarshal ¶
func (m *SelectExpr) XXX_Unmarshal(b []byte) error
type SetGlobalExpr ¶
type SetGlobalExpr struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Param *StackVar `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetGlobalExpr) Descriptor ¶
func (*SetGlobalExpr) Descriptor() ([]byte, []int)
func (*SetGlobalExpr) GetIndex ¶
func (m *SetGlobalExpr) GetIndex() uint32
func (*SetGlobalExpr) GetParam ¶
func (m *SetGlobalExpr) GetParam() *StackVar
func (*SetGlobalExpr) ProtoMessage ¶
func (*SetGlobalExpr) ProtoMessage()
func (*SetGlobalExpr) Reset ¶
func (m *SetGlobalExpr) Reset()
func (*SetGlobalExpr) String ¶
func (m *SetGlobalExpr) String() string
func (*SetGlobalExpr) XXX_DiscardUnknown ¶
func (m *SetGlobalExpr) XXX_DiscardUnknown()
func (*SetGlobalExpr) XXX_Marshal ¶
func (m *SetGlobalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetGlobalExpr) XXX_Merge ¶
func (dst *SetGlobalExpr) XXX_Merge(src proto.Message)
func (*SetGlobalExpr) XXX_Size ¶
func (m *SetGlobalExpr) XXX_Size() int
func (*SetGlobalExpr) XXX_Unmarshal ¶
func (m *SetGlobalExpr) XXX_Unmarshal(b []byte) error
type SetLocalExpr ¶
type SetLocalExpr struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Param *StackVar `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetLocalExpr) Descriptor ¶
func (*SetLocalExpr) Descriptor() ([]byte, []int)
func (*SetLocalExpr) GetIndex ¶
func (m *SetLocalExpr) GetIndex() uint32
func (*SetLocalExpr) GetParam ¶
func (m *SetLocalExpr) GetParam() *StackVar
func (*SetLocalExpr) ProtoMessage ¶
func (*SetLocalExpr) ProtoMessage()
func (*SetLocalExpr) Reset ¶
func (m *SetLocalExpr) Reset()
func (*SetLocalExpr) String ¶
func (m *SetLocalExpr) String() string
func (*SetLocalExpr) XXX_DiscardUnknown ¶
func (m *SetLocalExpr) XXX_DiscardUnknown()
func (*SetLocalExpr) XXX_Marshal ¶
func (m *SetLocalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetLocalExpr) XXX_Merge ¶
func (dst *SetLocalExpr) XXX_Merge(src proto.Message)
func (*SetLocalExpr) XXX_Size ¶
func (m *SetLocalExpr) XXX_Size() int
func (*SetLocalExpr) XXX_Unmarshal ¶
func (m *SetLocalExpr) XXX_Unmarshal(b []byte) error
type StackVar ¶
type StackVar struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ValueType ValueType `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=ir.ValueType" json:"value_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StackVar) Descriptor ¶
func (*StackVar) GetValueType ¶
func (*StackVar) ProtoMessage ¶
func (*StackVar) ProtoMessage()
func (*StackVar) XXX_DiscardUnknown ¶
func (m *StackVar) XXX_DiscardUnknown()
func (*StackVar) XXX_Marshal ¶
func (*StackVar) XXX_Unmarshal ¶
type StackVars ¶
type StackVars struct { I32 []uint32 `protobuf:"varint,1,rep,packed,name=i32,proto3" json:"i32,omitempty"` I64 []uint32 `protobuf:"varint,2,rep,packed,name=i64,proto3" json:"i64,omitempty"` F32 []uint32 `protobuf:"varint,3,rep,packed,name=f32,proto3" json:"f32,omitempty"` F64 []uint32 `protobuf:"varint,4,rep,packed,name=f64,proto3" json:"f64,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StackVars) Descriptor ¶
func (*StackVars) ProtoMessage ¶
func (*StackVars) ProtoMessage()
func (*StackVars) XXX_DiscardUnknown ¶
func (m *StackVars) XXX_DiscardUnknown()
func (*StackVars) XXX_Marshal ¶
func (*StackVars) XXX_Unmarshal ¶
type StoreExpr ¶
type StoreExpr struct { OpCode uint32 `protobuf:"varint,1,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"` Align uint32 `protobuf:"varint,2,opt,name=align,proto3" json:"align,omitempty"` Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Param1 *StackVar `protobuf:"bytes,4,opt,name=param1,proto3" json:"param1,omitempty"` Param2 *StackVar `protobuf:"bytes,5,opt,name=param2,proto3" json:"param2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreExpr) Descriptor ¶
func (*StoreExpr) ProtoMessage ¶
func (*StoreExpr) ProtoMessage()
func (*StoreExpr) XXX_DiscardUnknown ¶
func (m *StoreExpr) XXX_DiscardUnknown()
func (*StoreExpr) XXX_Marshal ¶
func (*StoreExpr) XXX_Unmarshal ¶
type TableEntry ¶
type TableEntry struct { FunctionId int64 `protobuf:"zigzag64,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` NumParams uint32 `protobuf:"varint,2,opt,name=num_params,json=numParams,proto3" json:"num_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TableEntry) Descriptor ¶
func (*TableEntry) Descriptor() ([]byte, []int)
func (*TableEntry) GetFunctionId ¶
func (m *TableEntry) GetFunctionId() int64
func (*TableEntry) GetNumParams ¶
func (m *TableEntry) GetNumParams() uint32
func (*TableEntry) ProtoMessage ¶
func (*TableEntry) ProtoMessage()
func (*TableEntry) Reset ¶
func (m *TableEntry) Reset()
func (*TableEntry) String ¶
func (m *TableEntry) String() string
func (*TableEntry) XXX_DiscardUnknown ¶
func (m *TableEntry) XXX_DiscardUnknown()
func (*TableEntry) XXX_Marshal ¶
func (m *TableEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TableEntry) XXX_Merge ¶
func (dst *TableEntry) XXX_Merge(src proto.Message)
func (*TableEntry) XXX_Size ¶
func (m *TableEntry) XXX_Size() int
func (*TableEntry) XXX_Unmarshal ¶
func (m *TableEntry) XXX_Unmarshal(b []byte) error
type TeeLocalExpr ¶
type TeeLocalExpr struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Param *StackVar `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TeeLocalExpr) Descriptor ¶
func (*TeeLocalExpr) Descriptor() ([]byte, []int)
func (*TeeLocalExpr) GetIndex ¶
func (m *TeeLocalExpr) GetIndex() uint32
func (*TeeLocalExpr) GetParam ¶
func (m *TeeLocalExpr) GetParam() *StackVar
func (*TeeLocalExpr) ProtoMessage ¶
func (*TeeLocalExpr) ProtoMessage()
func (*TeeLocalExpr) Reset ¶
func (m *TeeLocalExpr) Reset()
func (*TeeLocalExpr) String ¶
func (m *TeeLocalExpr) String() string
func (*TeeLocalExpr) XXX_DiscardUnknown ¶
func (m *TeeLocalExpr) XXX_DiscardUnknown()
func (*TeeLocalExpr) XXX_Marshal ¶
func (m *TeeLocalExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TeeLocalExpr) XXX_Merge ¶
func (dst *TeeLocalExpr) XXX_Merge(src proto.Message)
func (*TeeLocalExpr) XXX_Size ¶
func (m *TeeLocalExpr) XXX_Size() int
func (*TeeLocalExpr) XXX_Unmarshal ¶
func (m *TeeLocalExpr) XXX_Unmarshal(b []byte) error
type UnaryExpr ¶
type UnaryExpr struct { OpCode uint32 `protobuf:"varint,1,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"` Param *StackVar `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"` Returns []*StackVar `protobuf:"bytes,5,rep,name=returns,proto3" json:"returns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnaryExpr) Descriptor ¶
func (*UnaryExpr) GetReturns ¶
func (*UnaryExpr) ProtoMessage ¶
func (*UnaryExpr) ProtoMessage()
func (*UnaryExpr) XXX_DiscardUnknown ¶
func (m *UnaryExpr) XXX_DiscardUnknown()
func (*UnaryExpr) XXX_Marshal ¶
func (*UnaryExpr) XXX_Unmarshal ¶
type UnreachableExpr ¶
type UnreachableExpr int32
const (
UnreachableExpr_UNREACHABLE UnreachableExpr = 0
)
func (UnreachableExpr) EnumDescriptor ¶
func (UnreachableExpr) EnumDescriptor() ([]byte, []int)
func (UnreachableExpr) String ¶
func (x UnreachableExpr) String() string
type Value ¶
type Value struct { // Types that are valid to be assigned to Kind: // *Value_I32 // *Value_I64 // *Value_F32 // *Value_F64 Kind isValue_Kind `protobuf_oneof:"kind"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Value) Descriptor ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) XXX_DiscardUnknown ¶
func (m *Value) XXX_DiscardUnknown()
func (*Value) XXX_Marshal ¶
func (*Value) XXX_OneofFuncs ¶
func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Value) XXX_Unmarshal ¶
type Value_F32 ¶
type Value_F32 struct {
F32 float32 `protobuf:"fixed32,3,opt,name=f32,proto3,oneof"`
}
type Value_F64 ¶
type Value_F64 struct {
F64 float64 `protobuf:"fixed64,4,opt,name=f64,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.