StackOpcode

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

Constructors

this
this(string opcode)
Undocumented in source.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

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