models

package
v1.9.11 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JField

type JField struct {
	Name      string
	Source    string
	StartLine int
	StopLine  int
}

type JFullIdentifier

type JFullIdentifier struct {
	Pkg  string
	Name string
	Type string
}

func NewJFullIdentifier

func NewJFullIdentifier() JFullIdentifier

func (*JFullIdentifier) AddField

func (identifier *JFullIdentifier) AddField(field JField)

func (*JFullIdentifier) AddImport

func (identifier *JFullIdentifier) AddImport(jImport JImport)

func (*JFullIdentifier) AddMethod

func (identifier *JFullIdentifier) AddMethod(method JFullMethod)

func (*JFullIdentifier) GetFields

func (identifier *JFullIdentifier) GetFields() map[string]JField

func (*JFullIdentifier) GetImports

func (identifier *JFullIdentifier) GetImports() []JImport

func (*JFullIdentifier) GetMethods

func (identifier *JFullIdentifier) GetMethods() []JFullMethod

func (*JFullIdentifier) GetPkgInfo

func (identifier *JFullIdentifier) GetPkgInfo() JPkgInfo

func (*JFullIdentifier) SetPkgInfo

func (identifier *JFullIdentifier) SetPkgInfo(info JPkgInfo)

type JFullMethod

type JFullMethod struct {
	Name              string
	StartLine         int
	StartLinePosition int
	StopLine          int
	StopLinePosition  int
}

type JImport

type JImport struct {
	Name      string
	StartLine int
	StopLine  int
}

type JMoveStruct

type JMoveStruct struct {
	JFullIdentifier

	Path string
	Deps []JImport
}

type JPkgInfo

type JPkgInfo struct {
	Name      string
	StartLine int
	StopLine  int
}

Jump to

Keyboard shortcuts

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