Sha256: 724f635ac4e71b12d9efecfd2de61b02f26764edf786c4851d1f1323b6b0153d

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Statement
        # A return statement.  This is used for control flow to return from the
        # current function.  This has one child: the value to return.  If no
        # value is given, it returns a void type.
        class Return < Base
          attributes value: 0
        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/return.rb