Skip to main content

syntaxflow

函数名函数描述/介绍
syntaxflow.ExecRule
syntaxflow.QuerySyntaxFlowRules
syntaxflow.withExecDebug
syntaxflow.withExecTaskID

函数定义#

ExecRule#

详细描述#

定义#

ExecRule(r *schema.SyntaxFlowRule, prog *ssaapi.Program, opts ...ExecRuleOption) (*ssaapi.SyntaxFlowResult, error)

参数#

参数名参数类型参数解释
r*schema.SyntaxFlowRule
prog*ssaapi.Program
opts...ExecRuleOption

返回值#

返回值(顺序)返回值类型返回值解释
r1*ssaapi.SyntaxFlowResult
r2error

QuerySyntaxFlowRules#

详细描述#

定义#

QuerySyntaxFlowRules(name string, opts ...QueryRulesOption) chan *schema.SyntaxFlowRule

参数#

参数名参数类型参数解释
namestring
opts...QueryRulesOption

返回值#

返回值(顺序)返回值类型返回值解释
r1chan *schema.SyntaxFlowRule

withExecDebug#

详细描述#

定义#

withExecDebug(debug ...bool) ExecRuleOption

参数#

参数名参数类型参数解释
debug...bool

返回值#

返回值(顺序)返回值类型返回值解释
r1ExecRuleOption

withExecTaskID#

详细描述#

定义#

withExecTaskID(taskID string) ExecRuleOption

参数#

参数名参数类型参数解释
taskIDstring

返回值#

返回值(顺序)返回值类型返回值解释
r1ExecRuleOption