Documentation
¶
Index ¶
- type DataType
- func (d *DataType) ActualGoType() string
- func (d *DataType) ActualTemplateArg() string
- func (d *DataType) ConvertGoTypeToLua(variable string) string
- func (d *DataType) ConvertLuaTypeToGo(variable string, source string, paramNum int) string
- func (d *DataType) ConvertLuaTypeToGoSliceEllipses(t *types.Slice, variableToCreate string, luaVariable string, paramNum int) string
- func (d *DataType) CreateDataTypeFrom(t types.Type) DataType
- func (d *DataType) IsError() bool
- func (d *DataType) LuaParamType() string
- func (d *DataType) LuaType(isFunctionReturn bool) string
- func (d *DataType) Package() string
- func (d *DataType) ReferenceOrDereferenceForAssignmentToField() string
- func (d *DataType) TemplateArg() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataType ¶
type DataType struct {
Type types.Type
PointerIndirection int
// contains filtered or unexported fields
}
func CreateDataTypeFrom ¶
func CreateDataTypeFrom(t types.Type, packageSource *packages.Package, allDeclaredInterfaces []declaredinterface.DeclaredInterface) DataType
func CreateDataTypeFromExpr ¶
func CreateDataTypeFromExpr(expr ast.Expr, packageSource *packages.Package, allDeclaredInterfaces []declaredinterface.DeclaredInterface) DataType
func (*DataType) ActualGoType ¶
func (*DataType) ActualTemplateArg ¶ added in v0.0.5
func (*DataType) ConvertGoTypeToLua ¶
func (*DataType) ConvertLuaTypeToGo ¶
func (*DataType) ConvertLuaTypeToGoSliceEllipses ¶
func (*DataType) CreateDataTypeFrom ¶ added in v0.0.4
func (*DataType) LuaParamType ¶
func (*DataType) ReferenceOrDereferenceForAssignmentToField ¶ added in v0.0.2
func (*DataType) TemplateArg ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.