Sha256: dc678b527c186a5bf6f6998370a0dd726a40a85c12d61d4aa6ec8ef500a6e9bf

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Expression
        class Operation < Base
          # A normal operation.  This is redefined into a {Call::Dispatch}
          # in order to turn all operations into function calls.
          # This has three children: the left hand side, the operation,
          # and the right hand side.  This takes the form `<Left> <Op> <Right>`.
          class Normal < 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/normal.rb