Class: Docscribe::CLI::RbsGen::WalkContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/docscribe/cli/rbs_gen.rb

Instance Attribute Summary collapse

Instance Attribute Details

#comment_mapHash<Integer, String>

Parameters:

  • value (Hash<Integer, String>)

Returns:

  • (Hash<Integer, String>)


88
# File 'lib/docscribe/cli/rbs_gen.rb', line 88

WalkContext = Struct.new(:containers, :method_defs, :path, :comment_map, :src_lines, :inside_sclass, keyword_init: true)

#containersArray<String>

Parameters:

  • value (Array<String>)

Returns:

  • (Array<String>)


88
# File 'lib/docscribe/cli/rbs_gen.rb', line 88

WalkContext = Struct.new(:containers, :method_defs, :path, :comment_map, :src_lines, :inside_sclass, keyword_init: true)

#inside_sclassBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


88
# File 'lib/docscribe/cli/rbs_gen.rb', line 88

WalkContext = Struct.new(:containers, :method_defs, :path, :comment_map, :src_lines, :inside_sclass, keyword_init: true)

#method_defsArray<Docscribe::CLI::RbsGen::MethodDef>

Parameters:

Returns:



88
# File 'lib/docscribe/cli/rbs_gen.rb', line 88

WalkContext = Struct.new(:containers, :method_defs, :path, :comment_map, :src_lines, :inside_sclass, keyword_init: true)

#pathString

Parameters:

  • value (String)

Returns:

  • (String)


88
# File 'lib/docscribe/cli/rbs_gen.rb', line 88

WalkContext = Struct.new(:containers, :method_defs, :path, :comment_map, :src_lines, :inside_sclass, keyword_init: true)

#src_linesArray<String>

Parameters:

  • value (Array<String>)

Returns:

  • (Array<String>)


88
# File 'lib/docscribe/cli/rbs_gen.rb', line 88

WalkContext = Struct.new(:containers, :method_defs, :path, :comment_map, :src_lines, :inside_sclass, keyword_init: true)