class_context

package
v0.0.0-...-9a26220 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitPackageClassName

func SplitPackageClassName(s string) (string, string)

Types

type ClassContext

type ClassContext struct {
	ClassName       string
	FunctionName    string
	SupperClassName string
	FunctionType    any
	PackageName     string
	BuildInLibsMap  *omap.OrderedMap[string, []string]
	KeySet          *utils.Set[string]
	Arguments       []string
	IsStatic        bool
	IsVarArgs       bool
}

func (*ClassContext) GetAllImported

func (f *ClassContext) GetAllImported() []string

func (*ClassContext) Import

func (f *ClassContext) Import(name string)

func (*ClassContext) ShortTypeName

func (f *ClassContext) ShortTypeName(name string) string

Jump to

Keyboard shortcuts

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