class_context

package
v1.3.7-alpha1106 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: AGPL-3.0 Imports: 3 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   map[string][]string
	Arguments        []string
	IsStatic         bool
	GetTypeShortName func(rawName string) string
}

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