go-dfl: github.com/spatialcurrent/go-dfl/pkg/dfl/builder Index | Files

package builder

import "github.com/spatialcurrent/go-dfl/pkg/dfl/builder"

Package builder is for building DFL expressions.

Index

Package Files

Builder.go

type Builder Uses

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

func New Uses

func New(quotes []string, tabs int) Builder

func (Builder) Dfl Uses

func (b Builder) Dfl() string

func (Builder) Indent Uses

func (b Builder) Indent(indent int) Builder

func (Builder) Left Uses

func (b Builder) Left(n Node) Builder

func (Builder) Op Uses

func (b Builder) Op(operator string) Builder

func (Builder) Pretty Uses

func (b Builder) Pretty(pretty bool) Builder

func (Builder) Right Uses

func (b Builder) Right(n Node) Builder

func (Builder) Sql Uses

func (b Builder) Sql() string

func (Builder) Tabs Uses

func (b Builder) Tabs(tabs int) Builder

func (Builder) TrimRight Uses

func (b Builder) TrimRight(trimRight bool) Builder

type Node Uses

type Node interface {
    Dfl(quotes []string, pretty bool, tabs int) string
    Sql(pretty bool, tabs int) string
}

Package builder imports 2 packages (graph) and is imported by 1 packages. Updated 2019-09-22. Refresh now. Tools for package owners.