dfljs

package
v0.0.0-...-8ad63dc Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package dfljs includes functions for the JavaScript build of go-dfl.

Index

Constants

This section is empty.

Variables

View Source
var DefaultQuotes = []string{"\"", "'", "`"}

DefaultQuotes is the default quotes for JavaScript.

View Source
var Exports = exports()

Functions

This section is empty.

Types

type Node

type Node struct {
	Node        dfl.Node
	FunctionMap dfl.FunctionMap
}

Node is a struct that wraps a dfl.Node and dfl.FunctionMap to provide an api to dfl.js.

func (Node) Compile

func (n Node) Compile() *js.Object

func (Node) Evaluate

func (n Node) Evaluate(options *js.Object) map[string]interface{}

func (Node) Pretty

func (n Node) Pretty() string

Jump to

Keyboard shortcuts

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