starcode

package
v0.1.0-dev.20260306235043 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Params = op.MethodParams{
	"Capture": {"pattern", "gitignore?", "include_bzl?"},
}

Params maps Go method names to Starlark parameter name lists.

View Source
var SourcesParams = op.MethodParams{
	"Paths":   {},
	"Count":   {},
	"Index":   {"with_docstrings?", "with_globals?"},
	"Stats":   {"with_bytes?", "with_loc?"},
	"Analyze": {"cfg?"},
}

SourcesParams maps Go method names to Starlark parameter name lists.

Functions

func NewSourcesValue

func NewSourcesValue(p *provider.Sources) *op.ReflectedReceiver

NewSourcesValue creates a new wrapper for the given Sources.

func NewStarcodeReceiver

func NewStarcodeReceiver(p *provider.Provider) *op.ReflectedReceiver

NewStarcodeReceiver creates a wrapped starcode provider for Starlark consumption.

Types

This section is empty.

Jump to

Keyboard shortcuts

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