transformer

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package transformer enriches parsed ContextNodes with anchors, labels, token counts, and compressed paths.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StoredSourceFile added in v0.3.8

func StoredSourceFile(path, compileRoot string) string

StoredSourceFile returns the SourceFile key a path is stored under for a non-empty compileRoot.

func Transform

func Transform(ctx context.Context, roots []*parser.ContextNode, compileRoot string, red *redaction.Redactor) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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