# encoding: utf-8 # frozen_string_literal: true module Carbon module Compiler module Node module Expression module Call # An Enum call. This is a call used to create an "enum" value. # This takes the form of # `..()`. This has three # children: the module name, the enum element name, and the # arguments. # # @example # # let a: Some::Enum; # a = Some::Enum.Red(); class Enum < Base attributes module: 0, name: 1, parameters: 2, generics: 3 end end end end end end