Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Exports = map[string]interface{}{ "classof": ClassOf, "newRuntimeError": NewRuntimeError, "interpreter": New, "insertSemis": InsertSemis, }
View Source
var (
InsertSemis = &Options{ScanMode: tpl.InsertSemis}
)
Functions ¶
func ClassOf ¶
func ClassOf(v interface{}) interface{}
Types ¶
type Engine ¶
type Engine struct { *tpl.CompileRet Interpreter *exec.Object // contains filtered or unexported fields }
func (*Engine) EvalCode ¶
type Options ¶
type Options struct { Scanner tpl.Tokener ScanMode tpl.ScanMode }
Source Files
¶
- interpret2.go
Click to show internal directories.
Click to hide internal directories.