models

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IFQN

type IFQN interface {
	ClassName() string
	Name() string
	Namespace() string
	FQN() string
}

type IFunc

type IFunc interface {
	Name() string
	Namespace() string
	ClassName() string
	FullName() string

	Globals() IGlobals
	Calls() IFuncCalls
	CountUse() int64
}

type IFuncArg

type IFuncArg interface {
	String() string
	IsInt() bool
	IsFloat() bool
	IsString() bool
	IsBool() bool
	IsConstant() bool
	IsVariable() bool
	IsExpression() bool
}

type IFuncCall

type IFuncCall interface {
	Arg(index int64) IFuncArg
	Args() int64
	File() string
}

type IFuncCalls

type IFuncCalls interface {
	Count() int64
}

type IFuncPath

type IFuncPath interface {
	Begin() IFunc
	End() IFunc
	At(index int64) IFunc
	Length() int64
	Contains(calls IFuncTable) bool
}

type IFuncTable

type IFuncTable interface {
	Iterate(func(fun IFunc))
	Length() int64
}

type IGlobal

type IGlobal interface {
	Id() int64
	Name() string
	CountUse() int64
}

type IGlobals

type IGlobals interface {
	Count() int64
	Has(global IGlobal) bool
	Contains(globals IGlobals) bool
	Iterate(func(global IGlobal) bool)
}

Jump to

Keyboard shortcuts

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