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 ArgumentTypeArray
- type ArgumentTypeMetatable
- type ArgumentTypeTableLiteral
- type ArgumentTypeTableLiteralField
- type ContainsString
- type Function
- type HasHelperFunctions
- type IgnoreData
- type NotNullData
- type Null
- type Runner
- type RunnerAfterTest
- type SaveData
- type StringEnum
- type Typemetatable
- type TypemetatableFunction
- type TypemetatableGetSet
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 ArgumentTypeArray ¶
type ArgumentTypeArray struct {
Type ArgumentType
}
func (ArgumentTypeArray) String ¶
func (a ArgumentTypeArray) String() string
type ArgumentTypeMetatable ¶
type ArgumentTypeMetatable string
func (ArgumentTypeMetatable) String ¶
func (a ArgumentTypeMetatable) String() string
type ArgumentTypeTableLiteral ¶
type ArgumentTypeTableLiteral struct {
Fields []ArgumentTypeTableLiteralField
}
func (ArgumentTypeTableLiteral) String ¶
func (o ArgumentTypeTableLiteral) String() string
type ArgumentTypeTableLiteralField ¶
type ArgumentTypeTableLiteralField struct {
Name string
Type ArgumentType
}
type ContainsString ¶
type Function ¶
type Function struct {
Name string
Args []Argument
Doc string
Func lua.LGFunction
Returns []ArgumentType
// contains filtered or unexported fields
}
func (Function) WriteOverloadTo ¶
type HasHelperFunctions ¶
type HasHelperFunctions interface {
HelperFunctions() []*Function
}
type IgnoreData ¶
type IgnoreData struct{}
type NotNullData ¶
type NotNullData struct{}
type RunnerAfterTest ¶
type StringEnum ¶
type StringEnum []string
func (StringEnum) String ¶
func (e StringEnum) String() string
type Typemetatable ¶
type Typemetatable struct {
Name string
Init *Function
GetSet []TypemetatableGetSet
Methods []Function
}
func (Typemetatable) String ¶
func (t Typemetatable) String() string
type TypemetatableFunction ¶
type TypemetatableFunction struct {
Function
}
type TypemetatableGetSet ¶
type TypemetatableGetSet struct {
Name string
Doc string
Func lua.LGFunction
SetArguments []Argument
GetReturns []ArgumentType
}
Click to show internal directories.
Click to hide internal directories.