package
0.3.2
Repository: https://github.com/serulian/compiler.git
Documentation: pkg.go.dev

# Functions

NewGroker returns a new Groker for the given entrypoint file/directory path.
NewGrokerWithConfig returns a new Groker with the given config.

# Constants

No description provided by the author
FreezeImport indicates that an import should be frozen at a commit or tag.
HandleAllowStale indicates that a stale cached handle can be returned.
HandleMustBeFresh indicates that all code must be up-to-date before returning the handle.
No description provided by the author
Keyword indicates the specified location matches a keyword.
Literal indicates the specified location matches a literal value.
LocalValue indicates the specified location matches a locally named and typed value.
No description provided by the author
MemberSymbol indicates the symbol is a member.
ModuleSymbol indicates the symbol is a module.
NamedReference indicates the specified location matches a named reference, as opposed to unnamed scope.
NoAction indicates that there is no action associated with the context.
No description provided by the author
NotFound indicates the specified location does not match a defined range.
PackageOrModule indicates the specified location matches a package or module.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TypeRef indicates the specified location matches a type reference.
TypeSymbol indicates the symbol is a type.
UnfreezeImport indicates that an import should be unfrozen.
Unknown indicates the specified location matches an unknown value.
UnresolvedTypeOrMember indicates the specified location matches an unresolved type or member.
No description provided by the author
No description provided by the author

# Variables

AllActions defines the set of all actions supported by Grok.

# Structs

CodeContextOrAction represents context or an action to display inline with *specific* code.
Completion defines a single autocompletion returned by grok.
CompletionInformation represents information about auto-completion over a particular activation string, at a particular location.
Config defines the config for creating a Grok.
ContextOrAction represents context or an action that is applied to code.
Groker defines a toolkit for providing IDE tooling for Serulian projects.
Handle defines a handle to the Grok toolkit.
HandleResult is the result of a BuildHandle call.
MarkedText is text marked with a kind.
ParameterInformation represents information about a single parameter in a signature.
RangeInformation represents information about a source range in the source graph.
SignatureInformation represents information about the signature of a function/operator and its parameters.
Symbol represents a named symbol in the type graph, such as a type, member or module.

# Type aliases

Action represents a single action that can be performed against a sourcefile.
No description provided by the author
HandleFreshnessOption defines the options around code freshness when retrieving a handle.
RangeKind defines the kind of the range.
SymbolKind defines the various kinds of symbols.
No description provided by the author