PushOpcode

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

class PushOpcode : Token {}

Members

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