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.
Click to show internal directories.
Click to hide internal directories.