Documentation
¶
Index ¶
- type Parser
- func (*Parser) Language() string
- func (p *Parser) Parse(ctx context.Context, input parserapi.Input) (graph.ParseResult, error)
- func (*Parser) SemanticAffectedPaths(allPaths, changedPaths []string) []string
- func (*Parser) SemanticDependencies() []string
- func (p *Parser) SemanticKey(ctx context.Context, input parserapi.Input) (string, error)
- func (*Parser) Supports(path string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser extracts semantic graph nodes and relationships from Godot 4 GDScript source files.
func NewWithBindingLoader ¶
func NewWithBindingLoader(loader *protobufbinding.Loader) *Parser
func (*Parser) SemanticAffectedPaths ¶
SemanticAffectedPaths reparses every script under a Godot project whose project.godot changed. SemanticDependencies matches only repository-root paths, and a Godot project can sit in any subdirectory of a monorepo.
func (*Parser) SemanticDependencies ¶
func (*Parser) SemanticKey ¶
SemanticKey makes the owning Godot project, configured HTTP adapters, and generated binding vocabulary part of the incremental cache key.
Click to show internal directories.
Click to hide internal directories.