formatter

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(node ast.Node, env *formatEnvironment) ast.Node

func Format

func Format(text string, params types.DocumentFormattingParams, cfg *config.Config) ([]types.TextEdit, error)

func FormatSQL

func FormatSQL(sqlStr string, lowercase bool, tabSize int) (string, error)

FormatSQL is a high-level helper to prettify a SQL string.

func TestAliased

func TestAliased()

Types

This section is empty.

Jump to

Keyboard shortcuts

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