Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultIterator = &DefaultIteratorImpl{}
View Source
var MismatchErrorChecker = &MismatchErrorOnCheck{}
Functions ¶
Types ¶
type Convertible ¶
type DefaultIteratorImpl ¶
type DefaultIteratorImpl struct{}
type ErrMismatchedType ¶
type ErrMismatchedType struct { Val lua.LValue Expected, Got lua.LValueType }
func (*ErrMismatchedType) Error ¶
func (err *ErrMismatchedType) Error() string
type MismatchChecker ¶
type MismatchChecker struct {
OnMismatch OnTypeMismatch
}
func (MismatchChecker) ValMustBeType ¶
func (m MismatchChecker) ValMustBeType(val lua.LValue, ltype lua.LValueType) error
type MismatchErrorOnCheck ¶
type MismatchErrorOnCheck struct{}
func (MismatchErrorOnCheck) HandleTypeMismatch ¶
func (MismatchErrorOnCheck) HandleTypeMismatch(val lua.LValue, expected, got lua.LValueType) error
type OnTypeMismatch ¶
type OnTypeMismatch interface {
HandleTypeMismatch(val lua.LValue, expected, got lua.LValueType) error
}
type ValChecker ¶
type ValChecker interface {
ValMustBeType(val lua.LValue, ltype lua.LValueType) error
}
Click to show internal directories.
Click to hide internal directories.