Sha256: 3ae30007f094a78fcc3447ebdcc9be431f6dfc499ef5b37ae4378355d2c274e8

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Expression
        class Operation < Base
          # An "Or" operation.  This is generated internally and cannot be
          # redefined by defining an "Or" function.
          # This has three children: the left hand side, the operation, and
          # the right hand side.  This has the form `<Left> || <Right>`.
          class Or < 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/or.rb