Sha256: 7b8a62cff06b7738c31b9dbf8c43dfb2104484f6c2fb6187ab12716b9ab14276
Contents?: true
Size: 795 Bytes
Versions: 1
Compression:
Stored size: 795 Bytes
Contents
module Haxor module Compiler module Component class Base attr_accessor :compiler def register fail 'this method must be implemented.' end def bind_cmd(cmd, method) compiler.bind_cmd cmd, self, method end def add(token) compiler.add token end def add_cmd(opcode, a = nil, b = nil) compiler.add_cmd opcode, a, b end def parse_value(value) compiler.parse_value value end def offset_flags(a, b = nil) compiler.offset_flags(a, b) end def offset?(value) compiler.offset? value end def strip_offset(value) compiler.strip_offset value end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
haxor-0.3.0 | lib/haxor/compiler/component/base.rb |