es5

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: BSD-3-Clause Imports: 17 Imported by: 1

Documentation

Overview

The es5 package implements a generator for compiling Serulian into ECMAScript 5.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateES5

func GenerateES5(sg *scopegraph.ScopeGraph) (string, *sourcemap.SourceMap, error)

GenerateES5 produces ES5 code from the given scope graph.

Types

This section is empty.

Directories

Path Synopsis
codedom package contains types representing a lower-level IR for easier construction of ES5.
codedom package contains types representing a lower-level IR for easier construction of ES5.
dombuilder package defines methods for translating the Serulian SRG into the codedom IR.
dombuilder package defines methods for translating the Serulian SRG into the codedom IR.
expressiongenerator defines code for translating from CodeDOM expressions into esbuilder ExpressionBuilder objects.
expressiongenerator defines code for translating from CodeDOM expressions into esbuilder ExpressionBuilder objects.
statemachine package contains the helper code for generating a state machine representing the statement and expression level of the ES5 generator.
statemachine package contains the helper code for generating a state machine representing the statement and expression level of the ES5 generator.

Jump to

Keyboard shortcuts

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