Versions in this module Expand all Collapse all v0 v0.6.0 Jul 3, 2023 Changes in this version + var KEYWORDS = []string + var PARAM_REGEX = regexp.Compile(`<<\s*(parameters|pipeline.parameters)\.([A-z0-9-_]*)\s*>>`) + var ROOT_KEYWORDS = []string + func Complete(params protocol.CompletionParams, cache *utils.Cache, context *utils.LsContext) (protocol.CompletionList, error) + func Definition(params protocol.DefinitionParams, cache *utils.Cache, context *utils.LsContext) ([]protocol.Location, error) + func Diagnostic(params protocol.PublishDiagnosticsParams, cache *utils.Cache, ...) protocol.PublishDiagnosticsParams + func DiagnosticFile(uri protocol.URI, cache *utils.Cache, context *utils.LsContext, ...) ([]protocol.Diagnostic, error) + func DiagnosticString(content string, cache *utils.Cache, context *utils.LsContext, ...) ([]protocol.Diagnostic, error) + func DiagnosticYAML(yamlDocument yamlparser.YamlDocument, cache *utils.Cache, ...) ([]protocol.Diagnostic, error) + func DocumentSymbols(params protocol.DocumentSymbolParams, cache *utils.Cache, ...) ([]protocol.DocumentSymbol, error) + func GetPathFromVisitedNodes(visitedNodes []*sitter.Node, doc yamlparser.YamlDocument) []string + func Hover(params protocol.HoverParams, cache *utils.Cache, context *utils.LsContext) (protocol.Hover, error) + func References(params protocol.ReferenceParams, cache *utils.Cache, context *utils.LsContext) ([]protocol.Location, error) + func SemanticTokens(params protocol.SemanticTokensParams, cache *utils.Cache, ...) protocol.SemanticTokens + func Test(t *testing.T) + type DiagnosticType struct + type ExpDiag struct + func ExpectDiagnostic(t *testing.T) ExpDiag + func (root ExpDiag) File(context *utils.LsContext, uri protocol.URI) ExpDiagStruct + func (root ExpDiag) String(context *utils.LsContext, content string) ExpDiagStruct + func (root ExpDiag) Yaml(yamlDocument parser.YamlDocument) ExpDiagStruct + type ExpDiagInfo struct + type ExpDiagStruct struct + To ExpDiagTo + type ExpDiagTo struct + Have ExpDiagToHave + Not ExpDiagToNot + func (exp ExpDiagTo) Include(context *utils.LsContext, expected protocol.Diagnostic) + func (exp ExpDiagTo) IncludeAll(context *utils.LsContext, expected []protocol.Diagnostic) + type ExpDiagToHave struct + func (exp ExpDiagToHave) AnyParseError() + func (exp ExpDiagToHave) ParseError(parseError string) + type ExpDiagToNot struct + Have ExpDiagToNotHave + func (exp ExpDiagToNot) Include(context *utils.LsContext, expected protocol.Diagnostic) + func (exp ExpDiagToNot) IncludeAll(context *utils.LsContext, expected []protocol.Diagnostic) + type ExpDiagToNotHave struct + func (exp ExpDiagToNotHave) AnyParseError() + func (exp ExpDiagToNotHave) ParseError(parseError string) + type ReferenceHandler struct + Cache *utils.Cache + Doc yamlparser.YamlDocument + FoundSteps *[]StepRangeAndName + Params protocol.ReferenceParams + func (ref ReferenceHandler) GetReferences() ([]protocol.Location, error) + type SemanticTokenStruct struct + type StepRangeAndName struct + Name string + type Tokens struct + Length uint32 + Position protocol.Position + TokenModifiers uint32 + TokenType uint32