Sha256: b81a2b45a67246b7515bbf8d2dddee70a82aff8985f85b55d9a894b055a219df

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Statement
        # A let statement.  This introduces a local variable with a given
        # "klass" (type).  This has three children: the name of the local
        # variable, the "klass" (type) of the local variable, and the given
        # value of the new variable.
        class Let < Base
          attributes name: 0, type: 1, value: 2
        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/statement/let.rb