runtime

package
v0.13.8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const SourceIndex = uint32(0)

The runtime source is always at a special index. The index is always zero but this constant is always used instead to improve readability and ensure all code that references this index can be discovered easily.

Variables

View Source
var ES5Source = logger.Source{
	Index:          SourceIndex,
	KeyPath:        logger.Path{Text: "<runtime>"},
	PrettyPath:     "<runtime>",
	IdentifierName: "runtime",
	Contents:       code(false),
}
View Source
var ES6Source = logger.Source{
	Index:          SourceIndex,
	KeyPath:        logger.Path{Text: "<runtime>"},
	PrettyPath:     "<runtime>",
	IdentifierName: "runtime",
	Contents:       code(true),
}

Functions

func CanUseES6 added in v0.5.25

func CanUseES6(unsupportedFeatures compat.JSFeature) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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