Documentation ¶ Index ¶ func GetIdentifiers(p *ast.Program) map[string]string type JSCode func NewJSCode(code string, func_map map[string]any) (*JSCode, error) func (js *JSCode) Run(symtab map[string]any, logger *slog.Logger) (val any, err error) func (js *JSCode) SetSymbolTable(symtab map[string]any, logger *slog.Logger) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetIdentifiers ¶ func GetIdentifiers(p *ast.Program) map[string]string func GetIdentifiers(p *ast.Program) []string { Types ¶ type JSCode ¶ type JSCode struct { // contains filtered or unexported fields } to store info on a js prog func NewJSCode ¶ func NewJSCode(code string, func_map map[string]any) (*JSCode, error) func (*JSCode) Run ¶ func (js *JSCode) Run(symtab map[string]any, logger *slog.Logger) (val any, err error) func (*JSCode) SetSymbolTable ¶ func (js *JSCode) SetSymbolTable(symtab map[string]any, logger *slog.Logger) Source Files ¶ View all Source files module.go Directories ¶ Show internal Expand all Path Synopsis console exporter Click to show internal directories. Click to hide internal directories.