compiler

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTypeTable

func CheckTypeTable(typeTab *model.TypeTable)

func Compile

func Compile(globals *model.Globals) (ret error)

func LoadDataTable

func LoadDataTable(filegetter helper.FileGetter, fileName, headerType, resolveHeaderType string, typeTab *model.TypeTable) (ret []*model.DataTable, err error)

func LoadIndexTable

func LoadIndexTable(globals *model.Globals, fileName string) error

func LoadTypeTable

func LoadTypeTable(typeTab *model.TypeTable, indexGetter helper.FileGetter, fileName string) error

func Loadheader

func Loadheader(sheet helper.TableSheet, tab *model.DataTable, resolveTableType string, typeTab *model.TypeTable)

func MergeData

func MergeData(inputList, outputList *model.DataTableList, symbols *model.TypeTable)

将不同文件/Sheet/KV转换的表,按照表头类型合并数据输出

func ParseRow

func ParseRow(ret interface{}, tab *model.DataTable, row int, symbols *model.TypeTable) bool

将一行数据解析为具体的类型

func StringToValue

func StringToValue(str string, value interface{}, tf *model.TypeDefine, symbols *model.TypeTable) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL