uastyml

package
v3.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal deprecated

func Marshal(n nodes.Node) ([]byte, error)

Marshal encode the UAST to a human-readable YAML.

Deprecated: use uastyaml.Marshal instead

func NewEncoder deprecated

func NewEncoder(w io.Writer) *uastyaml.Encoder

NewEncoder creates a YAML encoder for UAST.

Deprecated: use uastyaml.NewEncoder instead

func Unmarshal deprecated

func Unmarshal(data []byte) (nodes.Node, error)

Unmarshal decodes YAML to a UAST.

Deprecated: use uastyaml.Unmarshal instead

Types

type Encoder deprecated

type Encoder = uastyaml.Encoder

Encoder is a YAML encoder for UAST.

Deprecated: use uastyaml.Encoder instead

Jump to

Keyboard shortcuts

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