Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
ToInstruction(instruction parsers.Instruction) (Instruction, error)
}
Adapter represents the instruction adapter
type Builder ¶
type Builder interface { Create() Builder WithStackframe(stackframe stackframe.Stackframe) Builder WithCondition(condition condition.Condition) Builder WithStandard(standard standard.Standard) Builder WithRemaining(remaining remaining.Remaining) Builder WithValue(value value.Value) Builder WithInsert(insert var_variable.Variable) Builder WithSave(save var_variable.Variable) Builder WithDelete(del string) Builder WithCall(call call.Call) Builder WithModule(module module.Module) Builder WithExit(exit exit.Exit) Builder WithRegistry(reg registry.Registry) Builder Now() (Instruction, error) }
Builder represents an instruction builder
type Instruction ¶
type Instruction interface { IsStackframe() bool Stackframe() stackframe.Stackframe IsCondition() bool Condition() condition.Condition IsStandard() bool Standard() standard.Standard IsRemaining() bool Remaining() remaining.Remaining IsValue() bool Value() value.Value IsInsert() bool Insert() var_variable.Variable IsSave() bool Save() var_variable.Variable IsDelete() bool Delete() string IsCall() bool Call() call.Call IsModule() bool Module() module.Module IsExit() bool Exit() exit.Exit IsRegistry() bool Registry() registry.Registry }
Instruction represents an instruction
Click to show internal directories.
Click to hide internal directories.