Sha256: 731059193d48ab156225e60ab7285e9927e03815ad9b019555139faf086a544a
Contents?: true
Size: 589 Bytes
Versions: 1
Compression:
Stored size: 589 Bytes
Contents
module Alf module Engine # # Marker for leaf compiled nodes # class Leaf include Cog # The initial expression attr_reader :operand # Creates a Concat instance def initialize(operand, expr = nil, compiler = nil) super(expr, compiler) @operand = operand end # (see Cog#each) def _each(&block) operand.each(&block) end def to_s "Leaf" end def inspect "Engine::Leaf(#{operand.inspect})" end end # class Leaf end # module Engine end # module Alf
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | lib/alf/engine/leaf.rb |