Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldBeReplaced ¶
ShouldBeReplaced defines whether element should be replaced or not.
Types ¶
type AutoCompletion ¶
type AutoCompletion struct { QueryBased *QueryBased SchemaBased *SchemaBased }
func NewAutoCompletion ¶
func NewAutoCompletion(schema Metadata) *AutoCompletion
func (*AutoCompletion) UpdateReferenceProviders ¶
func (a *AutoCompletion) UpdateReferenceProviders(refProvByCtx map[string]ref.Provider)
func (*AutoCompletion) UpdateSchema ¶
func (a *AutoCompletion) UpdateSchema(schema Metadata)
type LineCol ¶
type LineCol struct {
Line, Col int
}
LineCol represents the position of a character in a multi-line string.
type QueryBased ¶
type QueryBased struct {
// contains filtered or unexported fields
}
QueryBased completion provides Items based on the input text.
func NewQueryBased ¶
func NewQueryBased(refProvByCtx map[string]ref.Provider) *QueryBased
NewQueryBased creates a new QueryBased completer using the given Providers.
func (QueryBased) CalculateItems ¶
CalculateItems returns all variables from the entire CypherQueryContext.
type Range ¶
type Range struct {
From, To LineCol
}
Range represents the position range of a substring in a multi-line string.
type SchemaBased ¶
type SchemaBased struct { Schema Metadata // contains filtered or unexported fields }
func NewSchemaBased ¶
func NewSchemaBased(schema Metadata) *SchemaBased
func (SchemaBased) CalculateItems ¶
Click to show internal directories.
Click to hide internal directories.