analysis

package
v0.9.0-pubtest2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analysis

type Analysis struct {
	// contains filtered or unexported fields
}

func New

func New(env esc.Environment, providers map[string]*schema.Schema) *Analysis

New creates a new Analysis from the given source, environment, and provider map.

func (*Analysis) Describe

func (a *Analysis) Describe(pos esc.Pos) (string, bool)

Describe returns a Markdown-formatted description of the entity at the indicated position.

func (*Analysis) ExpressionAtPos

func (a *Analysis) ExpressionAtPos(pos esc.Pos) (*esc.Expr, bool)

ExpressionAtPos returns the expression that contains pos. If no such expression exists, expressionAtPos returns (nil, false). The returned expression is the "smallest" expression that contains pos.

Jump to

Keyboard shortcuts

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