Sha256: 23335f64733da0048c3d4d7ce57e3430ae9ce21202ce8321cf751fa96c51c460

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Expression
        class Operation < Base
          # An "And" operation.  This is generated internally and cannot be
          # redefined by defining an "And" function.
          # This has three children: the left hand side, the operation, and
          # the right hand side.  This has the form `<Left> && <Right>`.
          class And < Operation
            attributes left: 0, op: 1, right: 2
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carbon-compiler-0.2.0 lib/carbon/compiler/node/expression/operation/and.rb