Sha256: 91e499ee2608fd7a997bbb2000df8e9b31c2f9a685ae3e7932d6585c0d4571cb

Contents?: true

Size: 525 Bytes

Versions: 6

Compression:

Stored size: 525 Bytes

Contents

module Dentaku
  module AST
    class CaseElse < Node
      attr_reader :node

      def initialize(node)
        @node = node
      end

      def value(context = {})
        @node.value(context)
      end

      def dependencies(context = {})
        @node.dependencies(context)
      end

      def self.arity
        1
      end

      def self.min_param_count
        1
      end

      def self.max_param_count
        1
      end

      def accept(visitor)
        visitor.visit_else(self)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
dentaku-3.5.4 lib/dentaku/ast/case/case_else.rb
dentaku-3.5.3 lib/dentaku/ast/case/case_else.rb
dentaku-3.5.2 lib/dentaku/ast/case/case_else.rb
dentaku_zevo-3.5.2 lib/dentaku/ast/case/case_else.rb
dentaku-3.5.1 lib/dentaku/ast/case/case_else.rb
dentaku-3.5.0 lib/dentaku/ast/case/case_else.rb