Documentation ¶
Overview ¶
Package stmt defines statements of the yack language.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowObjects ¶
type AllowObjects struct {
Allow bool
}
func (*AllowObjects) Execute ¶
func (s *AllowObjects) Execute(ctx Context)
func (*AllowObjects) String ¶
func (s *AllowObjects) String() string
type Context ¶
type Context interface { ShutUp() Say(actor, text string) Pause(seconds float64) Parrot(enabled bool) WaitFor(actor string) WaitWhile(codeCondition string) Dialog(actor string) Override(label string) AllowObjects(allow bool) Limit(n int) Goto(label string) Execute(code string) Choice(index int, text, gotoLabel string) }
Click to show internal directories.
Click to hide internal directories.