renderer

package
v0.2.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderToJSON

func RenderToJSON(w io.Writer, source []byte, root ast.Node) error

Types

type Renderer

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

func NewRenderer

func NewRenderer() *Renderer

func (*Renderer) AddOptions

func (r *Renderer) AddOptions(...gmrenderer.Option)

func (*Renderer) Render

func (r *Renderer) Render(w io.Writer, source []byte, n ast.Node) error

Jump to

Keyboard shortcuts

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