matroshka

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: 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 MatroshkaArray

type MatroshkaArray struct {
	Op transformer.ArrayOp
}

func (*MatroshkaArray) Check

func (m *MatroshkaArray) Check(st *transformer.State, n nodes.Node) (bool, error)

Checks checks if node is array and returns transformation

func (*MatroshkaArray) Construct

func (m *MatroshkaArray) Construct(st *transformer.State, n nodes.Node) (nodes.Node, error)

func (*MatroshkaArray) Kinds

func (*MatroshkaArray) Kinds() nodes.Kind

Kinds defines nodes type/object/value to match to

Jump to

Keyboard shortcuts

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