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