Sha256: acc3f4aed90403551c05aa4388125a5db0b06e749b511ad58cbf893b83e91580

Contents?: true

Size: 322 Bytes

Versions: 4

Compression:

Stored size: 322 Bytes

Contents

module Yoda
  module AST
    class ClassNode < Node
      include Namespace

      # @return [ConstantNode]
      def receiver
        children[0]
      end

      # @return [Vnode]
      def super_class
        children[1]
      end

      # @return [Vnode]
      def body
        children[2]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yoda-language-server-0.10.1 lib/yoda/ast/class_node.rb
yoda-language-server-0.10.0 lib/yoda/ast/class_node.rb
yoda-language-server-0.9.0 lib/yoda/ast/class_node.rb
yoda-language-server-0.8.0 lib/yoda/ast/class_node.rb