Sha256: 5503aad02b5362ebaa79d5e7aeebc93ba3e5dc4cde266ef9d132d07ed5584a5b
Contents?: true
Size: 330 Bytes
Versions: 2
Compression:
Stored size: 330 Bytes
Contents
require_relative './operation' module Dentaku module AST class BitwiseOr < Operation def value(context={}) left.value(context) | right.value(context) end end class BitwiseAnd < Operation def value(context={}) left.value(context) & right.value(context) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dentaku-3.0.0 | lib/dentaku/ast/bitwise.rb |
dentaku-2.0.11 | lib/dentaku/ast/bitwise.rb |