contracts

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package contracts defines parser interfaces used across the app.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser interface {
	ParseFile(ctx context.Context, path string) ([]*graph.Node, []*graph.Edge, error)
	ExtractCalls(ctx context.Context, path string) ([]*graph.Edge, error)
	ExtractControlFlow(ctx context.Context, path string) ([]*graph.Edge, error)
}

Parser defines the interface for language parsers that extract graph data.

Jump to

Keyboard shortcuts

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