sig/sorter.rbs in rbs-3.2.2 vs sig/sorter.rbs in rbs-3.3.0.pre.1

- old
+ new

@@ -12,12 +12,30 @@ def initialize: (Pathname path, ?stdout: IO) -> void def run: () -> void - def group: (member member) -> Numeric + type partitioned = { + type_alias_decls: Array[AST::Declarations::TypeAlias], + constant_decls: Array[AST::Declarations::Constant], + class_decls: Array[AST::Declarations::Class | AST::Declarations::Module | AST::Declarations::Interface], + mixin_includes: Array[AST::Members::Include], + mixin_prepends: Array[AST::Members::Prepend], + mixin_extends: Array[AST::Members::Extend], + class_variables: Array[AST::Members::ClassVariable], + class_instance_variables: Array[AST::Members::ClassInstanceVariable], + instance_variables: Array[AST::Members::InstanceVariable], + singleton_attributes: Array[AST::Members::AttrAccessor | AST::Members::AttrWriter | AST::Members::AttrReader], + instance_attributes: Array[AST::Members::AttrAccessor | AST::Members::AttrWriter | AST::Members::AttrReader], + module_functions: Array[AST::Members::MethodDefinition], + singleton_new_methods: Array[AST::Members::MethodDefinition], + public_singleton_methods: Array[AST::Members::MethodDefinition | AST::Members::Alias], + private_singleton_methods: Array[AST::Members::MethodDefinition], + instance_initialize_methods: Array[AST::Members::MethodDefinition], + public_instance_methods: Array[AST::Members::MethodDefinition | AST::Members::Alias], + private_instance_methods: Array[AST::Members::MethodDefinition], + other_decls: Array[member] + } - def key: (member member) -> String - - def sort_decl!: (AST::Declarations::t decl) -> void + def sort_decl!: (member decl) -> void end end