Documentation ¶
Index ¶
Constants ¶
View Source
const ( CREATE = "create" DELETE = "delete" UPDATE = "update" ADD = "add" PRINT = "print" SUB = "subtract" MUL = "multiply" DIV = "divide" VALUE = "value" OPERAND = "operand" )
Operations constants
View Source
const ( UNARY = iota BINARY )
operation type either unary or binary
View Source
const ( DOLLAR = "$" HASH = "#" )
tokens constants
View Source
const ( CMD = "cmd" ID = "id" )
View Source
const InitFunc = "init"
View Source
const UNDEF = "undefined"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
func ProcessFunc ¶
type Script ¶
var Body *Script
func NewScript ¶
func NewScript() *Script
A NewScript creates a new script instance it returns the new script instance
func (*Script) WithOutPut ¶
Click to show internal directories.
Click to hide internal directories.