class TypeProf::Core::AST::SigModuleBaseNode::SigDefNode::SigIncludeNode::SigAliasNode::SigAttrReaderNode::SigAttrWriterNode::SigAttrAccessorNode

Attributes

reader[R]
writer[R]

Public Class Methods

new(raw_decl, lenv) click to toggle source
Calls superclass method TypeProf::Core::AST::Node::new
# File typeprof-0.30.1/lib/typeprof/core/ast/sig_decl.rb, line 344
def initialize(raw_decl, lenv)
  super(raw_decl, lenv)
  @reader = SigAttrReaderNode.new(raw_decl, lenv)
  @writer = SigAttrWriterNode.new(raw_decl, lenv)
end

Public Instance Methods

install0(genv) click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/sig_decl.rb, line 354
def install0(genv)
  @reader.install0(genv)
  @writer.install0(genv)
  Source.new
end
subnodes(= { reader:, writer: }) click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/sig_decl.rb, line 352
  def subnodes = { reader:, writer: }

  def install0(genv)
    @reader.install0(genv)
    @writer.install0(genv)
    Source.new
  end
end