exprs

package
v0.0.0-...-27647ab Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: BSD-3-Clause, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Const

type Const struct {
	V any
	// contains filtered or unexported fields
}

func NewConst

func NewConst(v any) Const

func (Const) Render

func (n Const) Render(sb *strings.Builder)

type Node

type Node interface {
	Render(sb *strings.Builder)
	// contains filtered or unexported methods
}

type Op

type Op struct {
	N  string
	Vs []Node
	// contains filtered or unexported fields
}

func NewOp

func NewOp(n string, vs ...Node) Op

func (Op) Render

func (n Op) Render(sb *strings.Builder)

type Var

type Var struct {
	N string
	// contains filtered or unexported fields
}

func NewVar

func NewVar(n string) Var

func (Var) Render

func (n Var) Render(sb *strings.Builder)

Jump to

Keyboard shortcuts

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