Documentation
¶
Index ¶
- func Contains(L *lua.LState) int
- func Ignore(L *lua.LState) int
- func NotNull(L *lua.LState) int
- func Save(L *lua.LState) int
- type Argument
- type ArgumentType
- type ArgumentTypeA
- type ContainsString
- type Function
- type HasHelperFunctions
- type IgnoreData
- type NotNullData
- type Null
- type Runner
- type SaveData
- type StringEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Argument ¶
type Argument struct {
// Name of the argument
// If the name ends with a ?, it is optional
// If the name is ... it is variadic
Name string
Type []ArgumentType
Doc string
}
type ArgumentType ¶
type ArgumentType interface {
String() string
}
type ArgumentTypeA ¶
type ArgumentTypeA int
const ( ArgumentTypeString ArgumentTypeA = iota ArgumentTypeNumber ArgumentTypeBoolean ArgumentTypeTable )
func (ArgumentTypeA) String ¶
func (a ArgumentTypeA) String() string
type ContainsString ¶
type Function ¶
type Function struct {
Name string
Args []Argument
Doc string
Func lua.LGFunction
Returns []ArgumentType
}
type HasHelperFunctions ¶
type HasHelperFunctions interface {
HelperFunctions() []*Function
}
type IgnoreData ¶
type IgnoreData struct{}
type NotNullData ¶
type NotNullData struct{}
type StringEnum ¶
type StringEnum []string
func (StringEnum) String ¶
func (e StringEnum) String() string
Click to show internal directories.
Click to hide internal directories.