Sha256: ce67f361d53e566487abaded5e07505cfd8481f61163a7b20aedf1f68652d501
Contents?: true
Size: 635 Bytes
Versions: 3
Compression:
Stored size: 635 Bytes
Contents
module AQL class Node class Operation # Base class for binary operations class Binary < self include Concord.new(:left, :right) # Binary let operation class Let < self KEYWORD = :LET private # Emit node # # @param [Buffer] buffer # # @return [undefined] # # @api private # def emit(buffer) buffer.append("#{keyword} ") left.visit(buffer) buffer.append(' = ') right.visit(buffer) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aql-0.0.3 | lib/aql/node/operation/binary.rb |
aql-0.0.2 | lib/aql/node/operation/binary.rb |
aql-0.0.1 | lib/aql/node/operation/binary.rb |