# encoding: utf-8 # frozen_string_literal: true require "carbon/compiler/node/definition/directive/function" module Carbon module Compiler module Node module Definition # A directive. This is normally anything that starts with a colon # in the source file. This contains information about said directive. class Directive < Base attributes name: 0, parameters: 1 def value name.value end end end end end end