Help us shape the future of Go! Take the 2026 Go Developer Survey

gdscript

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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 New

func New() *Parser

func NewWithBindingLoader

func NewWithBindingLoader(loader *protobufbinding.Loader) *Parser

func (*Parser) Language

func (*Parser) Language() string

func (*Parser) Parse

func (p *Parser) Parse(ctx context.Context, input parserapi.Input) (graph.ParseResult, error)

func (*Parser) SemanticAffectedPaths

func (*Parser) SemanticAffectedPaths(_ string, allPaths, changedPaths []string) []string

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) SemanticDependencies() []string

func (*Parser) SemanticKey

func (p *Parser) SemanticKey(ctx context.Context, input parserapi.Input) (string, error)

SemanticKey makes the owning Godot project, configured HTTP adapters, and generated binding vocabulary part of the incremental cache key.

func (*Parser) Supports

func (*Parser) Supports(path string) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL