builder

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package builder defines functions for generating basic node builder functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(token string, interpreter ast.Interpreter) ast.NodeBuilder

All returns with a node builder function for including all nodes for interpretation

func BinaryOperation

func BinaryOperation(interpreter ast.Interpreter) ast.NodeBuilder

BinaryOperation returns with a node builder function for building binary operator nodes

func Flatten

func Flatten(token string, interpreter ast.Interpreter) ast.NodeBuilder

Flatten returns with a node builder function which puts all nodes and their direct children flattened in a new node

func Nil

func Nil() ast.NodeBuilder

Nil returns with a node builder function which always returns with nil

func Select

func Select(i int) ast.NodeBuilder

Select returns with a node builder function which returns with the node at the given index

Types

This section is empty.

Jump to

Keyboard shortcuts

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