Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Completer ¶
type Completer struct {
// contains filtered or unexported fields
}
Completer provides methods for suggestions in IFQL queries
func NewCompleter ¶
func NewCompleter(scope *interpreter.Scope, declarations semantic.DeclarationScope) Completer
NewCompleter creates a new completer from scope and declarations
func (Completer) Declaration ¶
func (c Completer) Declaration(name string) (semantic.VariableDeclaration, error)
Declaration returns a declaration based on the expression name, if one exists
func (Completer) FunctionNames ¶
FunctionNames returns all declaration names of the Function Kind
func (Completer) FunctionSuggestion ¶
func (c Completer) FunctionSuggestion(name string) (FunctionSuggestion, error)
FunctionSuggestion returns information needed for autocomplete suggestions for a function
type FunctionSuggestion ¶
FunctionSuggestion provides information about a function
Click to show internal directories.
Click to hide internal directories.