Class: Bytecode

Bytecode(toCloneopt)

new Bytecode(toCloneopt)

Creates a new instance of Bytecode
Parameters:
Name Type Attributes Description
toClone Bytecode <optional>
Source:

Methods

addSource(name, values) → {Bytecode}

Adds a new source instructions
Parameters:
Name Type Description
name String
values Array
Source:
Returns:
Type
Bytecode

addStep(name, values) → {Bytecode}

Adds a new step instructions
Parameters:
Name Type Description
name String
values Array
Source:
Returns:
Type
Bytecode

toString() → {String}

Returns the JSON representation of the source and step instructions
Source:
Returns:
Type
String