conv

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package conv contains converter function(s)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatExpr

func FormatExpr(e ast.Expr) string

FormatExpr formats ast.Expr into expr's string format.

Types

type Visitor

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

Visitor satisfies ast.Visitor and it will turn given expression type into a string representation.

func (*Visitor) Value

func (v *Visitor) Value() string

Value returns visitor's value

func (*Visitor) Visit

func (v *Visitor) Visit(node ast.Node) ast.Visitor

Jump to

Keyboard shortcuts

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