interpreter

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: MPL-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Array

func Array() ast.InterpreterFunc

Array can be used to create an array from a list of nodes, where values and separators are following each-other

func Nil

func Nil() ast.InterpreterFunc

Nil returns with an interpreter function which always returns with a nil result

func Object

func Object() ast.InterpreterFunc

Object can be used to create an object from a list of nodes, where key-value nodes and separater nodes follow each-other, and a key-value node consists of a key node, a separator node and a value node

func Select

func Select(i int) parsley.Interpreter

Select returns with an interpreter which returns the value of the selected node

Types

This section is empty.

Jump to

Keyboard shortcuts

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