sig/steep/services/signature_help_provider.rbs in steep-1.5.0.pre.5 vs sig/steep/services/signature_help_provider.rbs in steep-1.5.0.pre.6

- old
+ new

@@ -8,11 +8,15 @@ class Item attr_reader method_type: RBS::MethodType attr_reader comment: RBS::AST::Comment? - def initialize: (RBS::MethodType, RBS::AST::Comment?) -> void + attr_reader active_parameter: Integer? + + def initialize: (RBS::MethodType, RBS::AST::Comment?, Integer?) -> void + + def parameters: () -> Array[String] end attr_reader source: Source attr_reader path: Pathname @@ -29,10 +33,16 @@ # def run: (line: Integer, column: Integer) -> [Array[Item], Integer?]? private - def signature_help_for: (Parser::AST::Node, Typing) -> [Array[Item], Integer?]? + def active_parameter_for: (RBS::MethodType?, Array[Parser::AST::Node], Array[Parser::AST::Node]?, Parser::AST::Node) -> Integer? + + def arguments_for: (RBS::MethodType) -> Array[String] + + def last_argument_nodes_for: (argument_nodes: Array[Parser::AST::Node], line: Integer, column: Integer) -> Array[Parser::AST::Node]? + + def signature_help_for: (Parser::AST::Node, Array[Parser::AST::Node], Array[Parser::AST::Node]?, Typing) -> [Array[Item], Integer?]? def type_check!: (line: Integer, column: Integer) -> Typing end end end