Documentation
¶
Overview ¶
Package ext contains functions that are used to handle Elk native extensions
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Map map[string]*Extension
Functions ¶
func Register ¶
func Register(name string, runtimeInit RuntimeInitialiser, typeInit TypecheckerInitialiser)
Register registers a new native extension
Types ¶
type Extension ¶
type Extension struct {
Name string
RuntimeInit RuntimeInitialiser
TypecheckerInit TypecheckerInitialiser
Initialised bool
}
func New ¶
func New(name string, runtimeInit RuntimeInitialiser, typeInit TypecheckerInitialiser) *Extension
type RuntimeInitialiser ¶
type RuntimeInitialiser func()
type TypecheckerInitialiser ¶
Click to show internal directories.
Click to hide internal directories.