getter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClassesByOption

func GetClassesByOption(c *symbols.Classes, opt ClassesGetOptions) []*symbols.Class

func GetFilesByOptions

func GetFilesByOptions(f *symbols.Files, opt FilesGetOptions) []*symbols.File

func GetFunctionsByOptions

func GetFunctionsByOptions(f *symbols.Functions, opt FunctionsGetOptions) []*symbols.Function

func GetNamespacesByOptions

func GetNamespacesByOptions(n *symbols.Namespaces, opt NamespacesGetOptions) []*symbols.Namespace

Types

type ClassesGetOptions

type ClassesGetOptions struct {
	OnlyInterfaces bool
	OnlyClasses    bool
	OnlyTraits     bool
	Count          int64
	Offset         int64
	SortColumn     int64
	ReverseSort    bool
}

type FilesGetOptions

type FilesGetOptions struct {
	Count       int64
	Offset      int64
	SortColumn  int64
	ReverseSort bool
}

type FunctionsGetOptions

type FunctionsGetOptions struct {
	OnlyMethods       bool
	OnlyFuncs         bool
	Count             int64
	Offset            int64
	WithEmbeddedFuncs bool
	SortColumn        int64
	ReverseSort       bool
}

type NamespacesGetOptions

type NamespacesGetOptions struct {
	Level       int64
	Count       int64
	Offset      int64
	SortColumn  int64
	ReverseSort bool
}

Jump to

Keyboard shortcuts

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