Documentation ¶
Index ¶
- Variables
- func Debug(fn func())
- func Import(mod string, table map[string]interface{})
- func SetAutoCall(t reflect.Type)
- func SetDumpCode(dumpCode string)
- func SetFindEntry(fn func(file string, libs []string) (string, error))
- func SetOnPop(fn func(v interface{}))
- func SetReadFile(fn func(file string) ([]byte, error))
- type Options
- type Qlang
- func (p *Qlang) Cl(codeText []byte, fname string) (end int, err error)
- func (p *Qlang) Eval(expr string) (err error)
- func (p *Qlang) Exec(codeText []byte, fname string) (err error)
- func (p *Qlang) SafeCl(codeText []byte, fname string) (end int, err error)
- func (p *Qlang) SafeEval(expr string) (err error)
- func (p *Qlang) SafeExec(code []byte, fname string) (err error)
- func (p *Qlang) SetLibs(libs string)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
InsertSemis = (*Options)(interpreter.InsertSemis)
)
Functions ¶
func SetAutoCall ¶
func SetDumpCode ¶
func SetDumpCode(dumpCode string)
func SetReadFile ¶
Types ¶
type Options ¶
type Options interpreter.Options
Click to show internal directories.
Click to hide internal directories.