twig

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FunctionAt added in v0.0.2

func FunctionAt(content string, pos protocol.Position) (string, bool)

func PathAt

func PathAt(content string, pos protocol.Position) (string, bool)

PathAt returns the Twig path at a given position in the content.

func Resolve

func Resolve(rel string, cfg *config.ContainerConfig) (string, bool)

Resolve resolves a Twig path to an absolute file path.

func ResolveFunction added in v0.0.2

func ResolveFunction(functionName string, cfg *config.Config) (string, protocol.Range, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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