util

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForFormattingErrorNolol

func CheckForFormattingErrorNolol(unformatted *nast.Program, formatted string) error

CheckForFormattingErrorNolol checks if the ast before and after formatting are identical

func CheckForFormattingErrorYolol

func CheckForFormattingErrorYolol(unformatted *ast.Program, formatted string) error

CheckForFormattingErrorYolol checks if the ast before and after formatting are identical

func ComputeASTCheckstring

func ComputeASTCheckstring(prog ast.Node) string

ComputeASTCheckstring computes a string-representation of an ast. Two asts are identical, if their checkstrings are identical

Types

This section is empty.

Jump to

Keyboard shortcuts

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