Documentation
¶
Index ¶
- func FieldNameToString(fieldName ast.Node) string
- func FindBindByIDViaStack(stack *nodestack.NodeStack, id ast.Identifier) *ast.LocalBind
- func FindNodeByPosition(node ast.Node, location ast.Location) (*nodestack.NodeStack, error)
- func FindParameterByIDViaStack(stack *nodestack.NodeStack, id ast.Identifier) *ast.Parameter
- func InRange(point ast.Location, theRange ast.LocationRange) bool
- func RangeGreaterOrEqual(a ast.LocationRange, b ast.LocationRange) bool
- type ObjectRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldNameToString ¶
func FindBindByIDViaStack ¶
func FindNodeByPosition ¶
func RangeGreaterOrEqual ¶
func RangeGreaterOrEqual(a ast.LocationRange, b ast.LocationRange) bool
RangeGreaterOrEqual returns true if the first range is greater than the second.
Types ¶
type ObjectRange ¶
type ObjectRange struct { Filename string SelectionRange ast.LocationRange FullRange ast.LocationRange }
func FieldToRange ¶
func FieldToRange(field ast.DesugaredObjectField) ObjectRange
func FindRangesFromIndexList ¶
func FindRangesFromIndexList(stack *nodestack.NodeStack, indexList []string, vm *jsonnet.VM) ([]ObjectRange, error)
func LocalBindToRange ¶
func LocalBindToRange(bind ast.LocalBind) ObjectRange
Click to show internal directories.
Click to hide internal directories.