Sha256: 0f9e3d651297866758e77d47d2e402b75c233e6aca47ce1e4c1d99d095ab1215

Contents?: true

Size: 638 Bytes

Versions: 1

Compression:

Stored size: 638 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Expression
        class Operation < Base
          # A "Neq" operation.  This is generated internally and cannot be
          # redefined by defining a "Neq" function.
          # This has three children: the left hand side, the operation, and
          # the right hand side.  This has the form `<Left> != <Right>`.
          # This is redefined in terms of the Eq operation (`==`).
          class Neq < Operation
            attributes left: 0, op: 1, right: 2, func: 3
          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/neq.rb