semantic

package
v0.16.0 Latest Latest
Warning

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

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

Documentation

Overview

Package semantic builds a deterministic, derived graph of MeaningGraph and ModelSpec declarations from the released parsers. Files remain authoritative.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentSourceHash added in v0.15.2

func CurrentSourceHash(root, path string) (string, error)

CurrentSourceHash reads one regular file with the same nonblocking bound as projection parsing. The indexer uses it after Build to reject intervening edits before replacing the semantic projection.

Types

type Graph

type Graph struct {
	Nodes        []model.Node
	Edges        []model.Edge
	SourceHashes map[string]string
}

func Build

func Build(root string, files []string, sources []*store.Store) (Graph, error)

Jump to

Keyboard shortcuts

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