StackOpcode

Represents an opcode that works only with the EVM stack, and therefore has no arguments.

class StackOpcode : Token {}

Members

Variables

m_opcode
string m_opcode;

The stack-based opcode

Examples

auto token = new StackOpcode("STOP");
assert(token.toString() == "StackOpcode(STOP)");
assert(token.m_opcode == "STOP");

Meta