compiler

package
Version: v0.0.0-...-877e1b8 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(input []byte, fileName string) strings.Builder

Compile is a helper function that will use all packages to compile Heron code

Types

type Compiler

type Compiler struct {
	Program *ast.Program
	Output  strings.Builder
	// contains filtered or unexported fields
}

Compiler represents the compiler

func (*Compiler) Compile

func (g *Compiler) Compile()

Compile generates the corresponding CSS from the AST

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL