Documentation
¶
Index ¶
- Constants
- type Compute
- type Flow
- func (f *Flow) ClearBreak()
- func (f *Flow) ClearContinue()
- func (f *Flow) ClearFallthrough()
- func (f *Flow) ClearGoto()
- func (f Flow) HasBlockControl() bool
- func (f Flow) HasBreak() bool
- func (f Flow) HasContinue() bool
- func (f Flow) HasControl() bool
- func (f Flow) HasFallthrough() bool
- func (f Flow) HasGoto() bool
- func (f Flow) HasReturn() bool
- func (f Flow) Label() uint32
- func (f *Flow) Reset()
- func (f *Flow) SetBranch(flag Flow, labelID uint32)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compute ¶
Compute computes expression or run a statement, result pointer holds expression result or statement flow flag
type Flow ¶
type Flow uint64
Flow controls execution flow
func (*Flow) ClearContinue ¶ added in v0.3.0
func (f *Flow) ClearContinue()
ClearContinue clears continue flag.
func (*Flow) ClearFallthrough ¶ added in v0.3.0
func (f *Flow) ClearFallthrough()
ClearFallthrough clears fallthrough flag.
func (Flow) HasBlockControl ¶
HasBlockControl return true if break, continue or return flag set
func (Flow) HasContinue ¶
HasContinue returns true if flow has continue flag set
func (Flow) HasControl ¶
HasControl returns trye is any flag are set
func (Flow) HasFallthrough ¶ added in v0.3.0
HasFallthrough returns true if flow has fallthrough flag set.
Click to show internal directories.
Click to hide internal directories.