PushOpcode

Represents an opcode that pushes values onto the EVM stack and so takes an argument.

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 push opcode

Examples

auto token = new PushOpcode("PUSH1");
assert(token.toString() == "PushOpcode(PUSH1)");
assert(token.m_opcode == "PUSH1");

Meta