new Bytecode(toCloneopt)
Creates a new instance of Bytecode
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
toClone |
Bytecode |
<optional> |
- Source:
Members
(static) GraphOp
Gets the
Bytecode that is meant to be sent as "graph operations" to the server.
- Source:
Methods
(static) _createGraphOp(name, values) → {Bytecode}
Adds a new source instructions
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String | |
values |
Array |
- Source:
Returns:
- Type
- Bytecode
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