Versions in this module Expand all Collapse all v0 v0.0.1 Oct 1, 2021 Changes in this version + type Database struct + Funcs FuncMap + Globals Globals + Graphs []*Graph + func (d *Database) GetFuncByID(id int64) *Func + type FQN struct + ClassName_ string + Name_ string + Namespace_ string + func (f FQN) ClassName() string + func (f FQN) FQN() string + func (f FQN) Func() string + func (f FQN) Method() string + func (f FQN) Name() string + func (f FQN) Namespace() string + func (f FQN) String() string + type Func struct + Calls_ FuncCalls + Fqn FQN + Globals_ Globals + ID int64 + Pos_ Pos + Rem bool + UseCount int64 + func (f Func) Calls() models.IFuncCalls + func (f Func) ClassName() string + func (f Func) CountUse() int64 + func (f Func) FullName() string + func (f Func) Globals() models.IGlobals + func (f Func) Name() string + func (f Func) Namespace() string + func (f Func) Pos() Pos + type FuncCall struct + Args_ FuncCallArgs + ID int64 + Pos Pos + func (c FuncCall) Arg(index int64) models.IFuncArg + func (c FuncCall) Args() int64 + func (c FuncCall) File() string + type FuncCallArg struct + Type FuncCallArgType + Value string + func (a FuncCallArg) IsBool() bool + func (a FuncCallArg) IsConstant() bool + func (a FuncCallArg) IsExpression() bool + func (a FuncCallArg) IsFloat() bool + func (a FuncCallArg) IsInt() bool + func (a FuncCallArg) IsString() bool + func (a FuncCallArg) IsVariable() bool + func (a FuncCallArg) String() string + type FuncCallArgType uint8 + const BoolArg + const ConstantArg + const ExpressionArg + const FloatArg + const IntArg + const StringArg + const VariableArg + type FuncCallArgs []FuncCallArg + type FuncCallTable struct + Cols []TableCol + Data []FuncCall + func (t *FuncCallTable) NeedShowCol(name string) bool + type FuncCalls []FuncCall + func (f FuncCalls) Count() int64 + type FuncMap map[FQN]*Func + type FuncPath []*Func + func (f FuncPath) At(index int64) models.IFunc + func (f FuncPath) Begin() models.IFunc + func (f FuncPath) Contains(funcsRaw models.IFuncTable) bool + func (f FuncPath) End() models.IFunc + func (f FuncPath) Length() int64 + type FuncTable struct + Cols []TableCol + Data []*Func + func (t *FuncTable) Iterate(f func(fun models.IFunc)) + func (t *FuncTable) Length() int64 + func (t *FuncTable) NeedShowCol(name string) bool + type Global struct + ID int64 + Name_ string + UseCount int64 + func (g Global) CountUse() int64 + func (g Global) Id() int64 + func (g Global) Name() string + type GlobalTable struct + Cols []TableCol + Data []Global + func (t GlobalTable) Contains(globals models.IGlobals) bool + func (t GlobalTable) Count() int64 + func (t GlobalTable) Has(global models.IGlobal) bool + func (t GlobalTable) Iterate(f func(fun models.IGlobal) bool) + func (t GlobalTable) Length() int64 + func (t GlobalTable) NeedShowCol(name string) bool + type Globals struct + ByID map[int64]Global + ByName map[string]Global + func (g Globals) Contains(globals models.IGlobals) bool + func (g Globals) Count() int64 + func (g Globals) Has(global models.IGlobal) bool + func (g Globals) Iterate(cb func(global models.IGlobal) bool) + type Graph struct + Graph RawGraph + Nodes Nodes + RevGraph RawGraph + Root int64 + func (g *Graph) FindPaths(db *Database, parentID, childID int64, maxLevel int64) [][]*Func + func (g *Graph) Remove(node *Node) + func (g *Graph) ReversePaths(funcs [][]*Func) + type Node struct + Data Func + ID int64 + Next NodesIDs + Prev NodesIDs + func NewNode(id int64) *Node + func (n *Node) String() string + type Nodes map[int64]*Node + func (n Nodes) Remove(node *Node) Nodes + type NodesIDs []int64 + func (n NodesIDs) Remove(node *Node) NodesIDs + type Pos struct + Col int32 + EndLine int32 + Filename string + Length int32 + Line int32 + func (p Pos) String() string + type RawGraph map[int64]NodesIDs + type TableCol struct + Hide bool + IdName string + Name string