interpreter

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2018 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) ast.InterpreterFunc

Select returns with an interpreter function 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