makefileextractor

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Overview

Package makefileextractor provides an extractor for Makefile and .mk files. It parses make targets, dependencies, and include directives to produce nodes and edges representing the build graph.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MakefileExtractor

type MakefileExtractor struct{}

MakefileExtractor extracts nodes and edges from Makefiles.

func NewMakefileExtractor

func NewMakefileExtractor() *MakefileExtractor

NewMakefileExtractor creates a new MakefileExtractor instance.

func (*MakefileExtractor) CanHandle

func (e *MakefileExtractor) CanHandle(path string) bool

CanHandle returns true for files named Makefile, makefile, or *.mk.

func (*MakefileExtractor) Extract

Extract parses Makefile targets and produces nodes and edges.

func (*MakefileExtractor) Name

func (e *MakefileExtractor) Name() string

Name returns the identifier for this extractor.

Jump to

Keyboard shortcuts

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