Sha256: 8f214b5ab89b68aff8c9ed83367c6cbf0f48b5b57955d2bc9253d39bb3481180

Contents?: true

Size: 194 Bytes

Versions: 2

Compression:

Stored size: 194 Bytes

Contents

class ASTree::PrettyNode::SCOPE < ASTree::PrettyNode
  def label_name(index)
    case index
    when 0
      'local table'
    when 1
      'arguments'
    when 2
      'body'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
astree-1.1.1 lib/astree/pretty_node/scope.rb
astree-1.1.0 lib/astree/pretty_node/scope.rb