class_context

package
v1.3.7-alpha1125 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: AGPL-3.0 Imports: 4 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
	FunctionType   any
	PackageName    string
	BuildInLibsMap *omap.OrderedMap[string, []string]
	Arguments      []string
	IsStatic       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