Documentation ¶
Overview ¶
Package inst 脚本基础指令集的实现。
Index ¶
- Constants
- Variables
- func ScriptRun(a *Actuator) (x any)
- type Actuator
- type BigInt
- type Bool
- type Byte
- type Bytes
- type Dict
- type Float
- type Insted
- type Instx
- type Int
- type Integer
- type Itemer
- type Leave
- type Number
- type PubKey
- type RegExp
- type Rune
- type Runes
- type Script
- type String
- type Time
- type Wrapper
Constants ¶
View Source
const ( RETURN int = iota EXIT )
退出类型定义
View Source
const ( SOURCE_ALL = 0 // 全部 SOURCE_PAST = -1 // 已执行过(含当前) SOURCE_PASTX = -2 // 已执行过(NULL=>当前) SOURCE_NEXT = 1 // 后阶部分 SOURCE_XALL = 2 // NULL=>末尾 )
脚本源码片段标识 仅针对当前块,包含子块但无法包含父块。
Variables ¶
View Source
var ( // 通关检查失败。 NotPass = errors.New(_T("通关验证没有通过")) // 模式取值失败。 ErrModel = errors.New(_T("目标脚本的模式匹配失败")) )
基本错误值。
Functions ¶
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package expr 表达式指令的实现。
|
Package expr 表达式指令的实现。 |
Package instex 通用扩展指令(EX_INST)包。
|
Package instex 通用扩展指令(EX_INST)包。 |
Package ipriv 私有扩展区(EX_PRIV)。
|
Package ipriv 私有扩展区(EX_PRIV)。 |
Package model 模式指令的实现。
|
Package model 模式指令的实现。 |
Package mox 扩展模块(MO_X) 作为单独一个子包编码,更便于灵活定制。
|
Package mox 扩展模块(MO_X) 作为单独一个子包编码,更便于灵活定制。 |
Click to show internal directories.
Click to hide internal directories.