Function
Static Public Summary | ||
public |
getInstructionType(opcode: *): * |
|
public |
parameterParser(desc: string): Array<string> Parses the parameter types from a method description. |
|
public |
parseInstructions(method: MethodInfo): Array<AbstractInstructions> Parses the instructions from a given MethodInfo's JVMCodeAttribute. |
Static Public
public getInstructionType(opcode: *): * source
import {getInstructionType} from 'jvm/lib/core/jvm/instructions/Opcodes.js'
Params:
Name | Type | Attribute | Description |
opcode | * |
Return:
* |
public parameterParser(desc: string): Array<string> source
import {parameterParser} from 'jvm/lib/core/jvm/MethodInfo.js'
Parses the parameter types from a method description.
Params:
Name | Type | Attribute | Description |
desc | string | method descriptor |
public parseInstructions(method: MethodInfo): Array<AbstractInstructions> source
import {parseInstructions} from 'jvm/lib/core/parsers/BytecodeInstructions.js'
Parses the instructions from a given MethodInfo's JVMCodeAttribute.
Params:
Name | Type | Attribute | Description |
method | MethodInfo |