api

package
v0.0.0-...-a96ca0c Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(expr string, from int64, to int64, api Api) interface{}

Types

type Api

type Api interface {
	Value(name string, from int64, to int64) interface{}
	Call(name string, args interface{}) interface{}
}

type FuncExp

type FuncExp struct {
	Name   string
	SubExp []*FuncExp
}

func Compile

func Compile(expr string) *FuncExp

Jump to

Keyboard shortcuts

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