generator

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Weblang bytecode generator package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteCodeGenerator

type ByteCodeGenerator struct {
	Class              *base.Class  // Pointer to Class struct
	Object             *base.Object // Poniter to Object struct.
	ClassName          string       // Class name
	ByteCodeFileName   string       // ByteCode file relative path
	SourceCodeFileName string       // SourceCode file relative path
	// contains filtered or unexported fields
}

Weblang bytecode class file generator for use in Weblang VM

func (*ByteCodeGenerator) Generate added in v0.3.13

func (generator *ByteCodeGenerator) Generate() error

Generate bytecode file

type GeneratorHandler added in v0.5.0

type GeneratorHandler func() error

Function handler to generate diffrent parts of ByteCode struct

Jump to

Keyboard shortcuts

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