diff --git a/sorbet/rbi/gems/graphql@2.3.4.rbi b/sorbet/rbi/gems/graphql@2.3.5.rbi similarity index 97% rename from sorbet/rbi/gems/graphql@2.3.4.rbi rename to sorbet/rbi/gems/graphql@2.3.5.rbi index 40c34a4d1..212677a1b 100644 --- a/sorbet/rbi/gems/graphql@2.3.4.rbi +++ b/sorbet/rbi/gems/graphql@2.3.5.rbi @@ -8,14 +8,14 @@ # source://graphql//lib/graphql.rb#8 module GraphQL class << self - # source://graphql//lib/graphql.rb#35 + # source://graphql//lib/graphql.rb#27 def default_parser; end # Sets the attribute default_parser # # @param value the value to set the attribute default_parser to. # - # source://graphql//lib/graphql.rb#39 + # source://graphql//lib/graphql.rb#31 def default_parser=(_arg0); end # Turn a query string or schema definition into an AST @@ -23,7 +23,7 @@ module GraphQL # @param graphql_string [String] a GraphQL query string or schema definition # @return [GraphQL::Language::Nodes::Document] # - # source://graphql//lib/graphql.rb#45 + # source://graphql//lib/graphql.rb#37 def parse(graphql_string, trace: T.unsafe(nil), filename: T.unsafe(nil), max_tokens: T.unsafe(nil)); end # Read the contents of `filename` and parse them as GraphQL @@ -31,28 +31,28 @@ module GraphQL # @param filename [String] Path to a `.graphql` file containing IDL or query # @return [GraphQL::Language::Nodes::Document] # - # source://graphql//lib/graphql.rb#52 + # source://graphql//lib/graphql.rb#44 def parse_file(filename); end - # source://graphql//lib/graphql.rb#62 + # source://graphql//lib/graphql.rb#54 def parse_with_racc(string, filename: T.unsafe(nil), trace: T.unsafe(nil)); end # If true, the parser should raise when an integer or float is followed immediately by an identifier (instead of a space or punctuation) # - # source://graphql//lib/graphql.rb#80 + # source://graphql//lib/graphql.rb#72 def reject_numbers_followed_by_names; end # If true, the parser should raise when an integer or float is followed immediately by an identifier (instead of a space or punctuation) # - # source://graphql//lib/graphql.rb#80 + # source://graphql//lib/graphql.rb#72 def reject_numbers_followed_by_names=(_arg0); end # @return [Array] # - # source://graphql//lib/graphql.rb#58 + # source://graphql//lib/graphql.rb#50 def scan(graphql_string); end - # source://graphql//lib/graphql.rb#67 + # source://graphql//lib/graphql.rb#59 def scan_with_ruby(graphql_string); end end end @@ -346,7 +346,7 @@ class GraphQL::Analysis::AST::QueryComplexity < ::GraphQL::Analysis::AST::Analyz # source://graphql//lib/graphql/analysis/ast/query_complexity.rb#68 def on_leave_field(node, parent, visitor); end - # Overide this method to use the complexity result + # Override this method to use the complexity result # # source://graphql//lib/graphql/analysis/ast/query_complexity.rb#16 def result; end @@ -1025,7 +1025,7 @@ class GraphQL::Dataloader::NullDataloader < ::GraphQL::Dataloader def append_job; end # These are all no-ops because code was - # executed sychronously. + # executed synchronously. # # source://graphql//lib/graphql/dataloader/null_dataloader.rb#12 def run; end @@ -1260,16 +1260,16 @@ class GraphQL::DurationEncodingError < ::GraphQL::RuntimeTypeError def duration_value; end end -# source://graphql//lib/graphql.rb#73 +# source://graphql//lib/graphql.rb#65 module GraphQL::EmptyObjects; end -# source://graphql//lib/graphql.rb#75 +# source://graphql//lib/graphql.rb#67 GraphQL::EmptyObjects::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql.rb#74 +# source://graphql//lib/graphql.rb#66 GraphQL::EmptyObjects::EMPTY_HASH = T.let(T.unsafe(nil), Hash) -# source://graphql//lib/graphql.rb#17 +# source://graphql//lib/graphql.rb#9 class GraphQL::Error < ::StandardError; end # source://graphql//lib/graphql/execution/directive_checks.rb#3 @@ -1337,7 +1337,7 @@ class GraphQL::Execution::Interpreter # @param queries [Array] # @param context [Hash] # @param max_complexity [Integer, nil] - # @return [Array] One result per query + # @return [Array] One result per query # # source://graphql//lib/graphql/execution/interpreter.rb#24 def run_all(schema, query_options, context: T.unsafe(nil), max_complexity: T.unsafe(nil)); end @@ -1572,17 +1572,17 @@ class GraphQL::Execution::Interpreter::Runtime # @param trace [Boolean] If `false`, don't wrap this with field tracing # @return [GraphQL::Execution::Lazy, Object] If loading `object` will be deferred, it's a wrapper over it. # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#775 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#756 def after_lazy(lazy_obj, field:, owner_object:, arguments:, ast_node:, result:, result_name:, runtime_state:, eager: T.unsafe(nil), trace: T.unsafe(nil), &block); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#829 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#810 def arguments(graphql_object, arg_owner, ast_node); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#705 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#686 def call_method_on_directives(method_name, object, directives, &block); end # @api private @@ -1601,22 +1601,22 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # @return [Lazy, Array, Hash, Object] Lazy, Array, and Hash are all traversed to resolve lazy values later # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#564 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#557 def continue_field(value, owner_type, field, current_type, ast_node, next_selections, is_non_null, owner_object, arguments, result_name, selection_result, was_scoped, runtime_state); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#458 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#451 def continue_value(value, field, is_non_null, ast_node, result_name, selection_result); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#446 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#439 def current_path; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#838 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#819 def delete_all_interpreter_context; end # Check {Schema::Directive.include?} for each directive that's present @@ -1624,30 +1624,35 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # @return [Boolean] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#737 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#718 def directives_include?(node, graphql_object, parent_type); end + # @api private + # + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#110 + def each_gathered_selections(response_hash); end + # @api private # @return [void] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#242 - def evaluate_selection(result_name, field_ast_nodes_or_ast_node, is_eager_field, selections_result, parent_object); end + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#234 + def evaluate_selection(result_name, field_ast_nodes_or_ast_node, selections_result); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#287 - def evaluate_selection_with_args(arguments, field_defn, ast_node, field_ast_nodes, object, is_eager_field, result_name, selection_result, parent_object, return_type, runtime_state); end + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#278 + def evaluate_selection_with_args(arguments, field_defn, ast_node, field_ast_nodes, object, result_name, selection_result, runtime_state); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#344 - def evaluate_selection_with_resolved_keyword_args(kwarg_arguments, resolved_arguments, field_defn, ast_node, field_ast_nodes, object, is_eager_field, result_name, selection_result, parent_object, return_type, return_type_non_null, runtime_state); end + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#336 + def evaluate_selection_with_resolved_keyword_args(kwarg_arguments, resolved_arguments, field_defn, ast_node, field_ast_nodes, object, result_name, selection_result, runtime_state); end # @api private # @return [void] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#206 - def evaluate_selections(is_eager_selection, gathered_selections, selections_result, target_result, parent_object, runtime_state); end + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#198 + def evaluate_selections(gathered_selections, selections_result, target_result, runtime_state); end # @api private # @@ -1656,12 +1661,12 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#129 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#121 def gather_selections(owner_object, owner_type, selections, selections_to_run = T.unsafe(nil), selections_by_name = T.unsafe(nil)); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#748 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#729 def get_current_runtime_state; end # @api private @@ -1672,12 +1677,12 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # @return [Boolean] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#865 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#846 def lazy?(object); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#758 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#739 def minimal_after_lazy(value, &block); end # @api private @@ -1688,17 +1693,17 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#691 - def resolve_list_item(inner_value, inner_type, inner_type_non_null, ast_node, field, owner_object, arguments, this_idx, response_list, next_selections, owner_type, was_scoped, runtime_state); end + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#672 + def resolve_list_item(inner_value, inner_type, inner_type_non_null, ast_node, field, owner_object, arguments, this_idx, response_list, owner_type, was_scoped, runtime_state); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#849 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#830 def resolve_type(type, value); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#710 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#691 def run_directive(method_name, object, directives, idx, &block); end # This _begins_ the execution. Some deferred work @@ -1707,7 +1712,7 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # @return [void] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#81 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#71 def run_eager; end # @api private @@ -1721,18 +1726,13 @@ class GraphQL::Execution::Interpreter::Runtime # # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#433 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#426 def set_graphql_dead(selection_result); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#403 + # source://graphql//lib/graphql/execution/interpreter/runtime.rb#396 def set_result(selection_result, result_name, value, is_child_result, is_non_null); end - - # @api private - # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#68 - def tap_or_each(obj_or_array); end end # @api private @@ -1804,140 +1804,150 @@ end # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#7 module GraphQL::Execution::Interpreter::Runtime::GraphQLResult # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#8 - def initialize(result_name, result_type, application_value, parent_result, is_non_null_in_parent); end + def initialize(result_name, result_type, application_value, parent_result, is_non_null_in_parent, selections, is_eager); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#25 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#27 def build_path(path_array); end # Returns the value of attribute graphql_application_value. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#31 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_application_value; end # Returns the value of attribute graphql_dead. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#30 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#32 def graphql_dead; end # Sets the attribute graphql_dead # # @param value the value to set the attribute graphql_dead to. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#30 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#32 def graphql_dead=(_arg0); end + # Returns the value of attribute graphql_is_eager. + # + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 + def graphql_is_eager; end + # Returns the value of attribute graphql_is_non_null_in_parent. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#31 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_is_non_null_in_parent; end # Returns the value of attribute graphql_parent. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#31 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_parent; end # @return [Hash] Plain-Ruby result data (`@graphql_metadata` contains Result wrapper objects) # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#34 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#37 def graphql_result_data; end # @return [Hash] Plain-Ruby result data (`@graphql_metadata` contains Result wrapper objects) # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#34 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#37 def graphql_result_data=(_arg0); end # Returns the value of attribute graphql_result_name. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#31 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_result_name; end # Returns the value of attribute graphql_result_type. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#31 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 def graphql_result_type; end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#21 + # Returns the value of attribute graphql_selections. + # + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#33 + def graphql_selections; end + + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#23 def path; end end -# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#123 +# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#126 class GraphQL::Execution::Interpreter::Runtime::GraphQLResultArray include ::GraphQL::Execution::Interpreter::Runtime::GraphQLResult # @return [GraphQLResultArray] a new instance of GraphQLResultArray # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#126 - def initialize(_result_name, _result_type, _application_value, _parent_result, _is_non_null_in_parent); end + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#129 + def initialize(_result_name, _result_type, _application_value, _parent_result, _is_non_null_in_parent, _selections, _is_eager); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#131 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#134 def graphql_skip_at(index); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#153 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#156 def set_child_result(idx, value); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#143 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#146 def set_leaf(idx, value); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#165 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#168 def values; end end -# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#37 +# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#40 class GraphQL::Execution::Interpreter::Runtime::GraphQLResultHash include ::GraphQL::Execution::Interpreter::Runtime::GraphQLResult # @return [GraphQLResultHash] a new instance of GraphQLResultHash # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#38 - def initialize(_result_name, _result_type, _application_value, _parent_result, _is_non_null_in_parent); end + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#41 + def initialize(_result_name, _result_type, _application_value, _parent_result, _is_non_null_in_parent, _selections, _is_eager); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#95 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#98 def [](k); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#78 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#81 def delete(key); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#83 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#86 def each; end # Returns the value of attribute graphql_merged_into. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#45 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#48 def graphql_merged_into; end # Sets the attribute graphql_merged_into # # @param value the value to set the attribute graphql_merged_into to. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#45 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#48 def graphql_merged_into=(_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#91 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#94 def key?(k); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#99 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#102 def merge_into(into_result); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#67 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#70 def set_child_result(key, value); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#47 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#50 def set_leaf(key, value); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#87 + # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#90 def values; end end # @api private # -# source://graphql//lib/graphql/execution/interpreter/runtime.rb#457 +# source://graphql//lib/graphql/execution/interpreter/runtime.rb#450 GraphQL::Execution::Interpreter::Runtime::HALT = T.let(T.unsafe(nil), Object) # @api private # -# source://graphql//lib/graphql/execution/interpreter/runtime.rb#203 +# source://graphql//lib/graphql/execution/interpreter/runtime.rb#195 GraphQL::Execution::Interpreter::Runtime::NO_ARGS = T.let(T.unsafe(nil), Hash) # This wraps a value which is available, but not yet calculated, like a promise or future. @@ -2741,11 +2751,11 @@ end # This error is raised when GraphQL-Ruby encounters a situation # that it *thought* would never happen. Please report this bug! # -# source://graphql//lib/graphql.rb#22 +# source://graphql//lib/graphql.rb#14 class GraphQL::InvariantError < ::GraphQL::Error # @return [InvariantError] a new instance of InvariantError # - # source://graphql//lib/graphql.rb#23 + # source://graphql//lib/graphql.rb#15 def initialize(message); end end @@ -3397,18 +3407,18 @@ GraphQL::Language::Nodes::AbstractNode::NO_CHILDREN = T.let(T.unsafe(nil), Array # A key-value pair for a field's inputs # -# source://graphql//lib/graphql/language/nodes.rb#352 +# source://graphql//lib/graphql/language/nodes.rb#354 class GraphQL::Language::Nodes::Argument < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), value: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#362 + # source://graphql//lib/graphql/language/nodes.rb#364 def children; end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#330 + # source://graphql//lib/graphql/language/nodes.rb#332 def marshal_load(values); end # @return [String] the key for this argument @@ -3434,7 +3444,7 @@ class GraphQL::Language::Nodes::Argument < ::GraphQL::Language::Nodes::AbstractN # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#320 def from_a(filename, line, col, name, value); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3442,9 +3452,9 @@ class GraphQL::Language::Nodes::Argument < ::GraphQL::Language::Nodes::AbstractN end end -# source://graphql//lib/graphql/language/nodes.rb#367 +# source://graphql//lib/graphql/language/nodes.rb#369 class GraphQL::Language::Nodes::Directive < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), arguments: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -3453,10 +3463,10 @@ class GraphQL::Language::Nodes::Directive < ::GraphQL::Language::Nodes::Abstract # source://graphql//lib/graphql/language/nodes.rb#193 def children; end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#330 + # source://graphql//lib/graphql/language/nodes.rb#332 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -3478,7 +3488,7 @@ class GraphQL::Language::Nodes::Directive < ::GraphQL::Language::Nodes::Abstract # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#320 def from_a(filename, line, col, name, arguments); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3486,9 +3496,9 @@ class GraphQL::Language::Nodes::Directive < ::GraphQL::Language::Nodes::Abstract end end -# source://graphql//lib/graphql/language/nodes.rb#375 +# source://graphql//lib/graphql/language/nodes.rb#377 class GraphQL::Language::Nodes::DirectiveDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), repeatable: T.unsafe(nil), description: T.unsafe(nil), arguments: T.unsafe(nil), locations: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -3499,16 +3509,16 @@ class GraphQL::Language::Nodes::DirectiveDefinition < ::GraphQL::Language::Nodes # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#376 + # source://graphql//lib/graphql/language/nodes.rb#378 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 def locations; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#328 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#336 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -3536,7 +3546,7 @@ class GraphQL::Language::Nodes::DirectiveDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def from_a(filename, line, col, name, repeatable, description, arguments, locations); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3544,7 +3554,7 @@ class GraphQL::Language::Nodes::DirectiveDefinition < ::GraphQL::Language::Nodes end end -# source://graphql//lib/graphql/language/nodes.rb#372 +# source://graphql//lib/graphql/language/nodes.rb#374 class GraphQL::Language::Nodes::DirectiveLocation < ::GraphQL::Language::Nodes::NameOnlyNode # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end @@ -3577,9 +3587,9 @@ end # # document.to_query_string(printer: VariableScrubber.new) # -# source://graphql//lib/graphql/language/nodes.rb#606 +# source://graphql//lib/graphql/language/nodes.rb#601 class GraphQL::Language::Nodes::Document < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(definitions: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -3590,13 +3600,13 @@ class GraphQL::Language::Nodes::Document < ::GraphQL::Language::Nodes::AbstractN # source://graphql//lib/graphql/language/nodes.rb#193 def definitions; end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#323 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#329 + # source://graphql//lib/graphql/language/nodes.rb#331 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#612 + # source://graphql//lib/graphql/language/nodes.rb#607 def slice_definition(name); end # source://graphql//lib/graphql/language/nodes.rb#152 @@ -3609,7 +3619,7 @@ class GraphQL::Language::Nodes::Document < ::GraphQL::Language::Nodes::AbstractN # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#317 + # source://graphql//lib/graphql/language/nodes.rb#319 def from_a(filename, line, col, definitions); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3619,7 +3629,7 @@ end # An enum value. The string is available as {#name}. # -# source://graphql//lib/graphql/language/nodes.rb#386 +# source://graphql//lib/graphql/language/nodes.rb#388 class GraphQL::Language::Nodes::Enum < ::GraphQL::Language::Nodes::NameOnlyNode # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end @@ -3636,9 +3646,9 @@ class GraphQL::Language::Nodes::Enum < ::GraphQL::Language::Nodes::NameOnlyNode end end -# source://graphql//lib/graphql/language/nodes.rb#755 +# source://graphql//lib/graphql/language/nodes.rb#750 class GraphQL::Language::Nodes::EnumTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), values: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -3646,16 +3656,16 @@ class GraphQL::Language::Nodes::EnumTypeDefinition < ::GraphQL::Language::Nodes: # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#756 + # source://graphql//lib/graphql/language/nodes.rb#751 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#325 + # source://graphql//lib/graphql/language/nodes.rb#327 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#335 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -3683,7 +3693,7 @@ class GraphQL::Language::Nodes::EnumTypeDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#323 def from_a(filename, line, col, name, description, directives, values); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3691,9 +3701,9 @@ class GraphQL::Language::Nodes::EnumTypeDefinition < ::GraphQL::Language::Nodes: end end -# source://graphql//lib/graphql/language/nodes.rb#765 +# source://graphql//lib/graphql/language/nodes.rb#760 class GraphQL::Language::Nodes::EnumTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), values: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -3702,10 +3712,10 @@ class GraphQL::Language::Nodes::EnumTypeExtension < ::GraphQL::Language::Nodes:: # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#325 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#333 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -3733,7 +3743,7 @@ class GraphQL::Language::Nodes::EnumTypeExtension < ::GraphQL::Language::Nodes:: # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#319 + # source://graphql//lib/graphql/language/nodes.rb#321 def from_a(filename, line, col, name, directives, values); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3741,9 +3751,9 @@ class GraphQL::Language::Nodes::EnumTypeExtension < ::GraphQL::Language::Nodes:: end end -# source://graphql//lib/graphql/language/nodes.rb#746 +# source://graphql//lib/graphql/language/nodes.rb#741 class GraphQL::Language::Nodes::EnumValueDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -3751,16 +3761,16 @@ class GraphQL::Language::Nodes::EnumValueDefinition < ::GraphQL::Language::Nodes # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#747 + # source://graphql//lib/graphql/language/nodes.rb#742 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#326 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#334 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -3782,7 +3792,7 @@ class GraphQL::Language::Nodes::EnumValueDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#320 + # source://graphql//lib/graphql/language/nodes.rb#322 def from_a(filename, line, col, name, description, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3792,11 +3802,11 @@ end # A single selection in a GraphQL query. # -# source://graphql//lib/graphql/language/nodes.rb#394 +# source://graphql//lib/graphql/language/nodes.rb#396 class GraphQL::Language::Nodes::Field < ::GraphQL::Language::Nodes::AbstractNode # @return [Field] a new instance of Field # - # source://graphql//lib/graphql/language/nodes.rb#405 + # source://graphql//lib/graphql/language/nodes.rb#397 def initialize(name: T.unsafe(nil), arguments: T.unsafe(nil), directives: T.unsafe(nil), selections: T.unsafe(nil), field_alias: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#258 @@ -3811,10 +3821,10 @@ class GraphQL::Language::Nodes::Field < ::GraphQL::Language::Nodes::AbstractNode # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#423 + # source://graphql//lib/graphql/language/nodes.rb#415 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#427 + # source://graphql//lib/graphql/language/nodes.rb#419 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -3832,8 +3842,6 @@ class GraphQL::Language::Nodes::Field < ::GraphQL::Language::Nodes::AbstractNode # source://graphql//lib/graphql/language/nodes.rb#260 def scalars; end - # @return [Array] Selections on this object (or empty array if this is a scalar field) - # # source://graphql//lib/graphql/language/nodes.rb#193 def selections; end @@ -3847,7 +3855,7 @@ class GraphQL::Language::Nodes::Field < ::GraphQL::Language::Nodes::AbstractNode # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#419 + # source://graphql//lib/graphql/language/nodes.rb#411 def from_a(filename, line, col, field_alias, name, arguments, directives, selections); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3855,9 +3863,9 @@ class GraphQL::Language::Nodes::Field < ::GraphQL::Language::Nodes::AbstractNode end end -# source://graphql//lib/graphql/language/nodes.rb#668 +# source://graphql//lib/graphql/language/nodes.rb#663 class GraphQL::Language::Nodes::FieldDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), description: T.unsafe(nil), arguments: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -3868,7 +3876,7 @@ class GraphQL::Language::Nodes::FieldDefinition < ::GraphQL::Language::Nodes::Ab # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#669 + # source://graphql//lib/graphql/language/nodes.rb#664 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -3880,13 +3888,13 @@ class GraphQL::Language::Nodes::FieldDefinition < ::GraphQL::Language::Nodes::Ab # source://graphql//lib/graphql/language/nodes.rb#193 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#328 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#336 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#680 + # source://graphql//lib/graphql/language/nodes.rb#675 def merge(new_options); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -3914,7 +3922,7 @@ class GraphQL::Language::Nodes::FieldDefinition < ::GraphQL::Language::Nodes::Ab # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def from_a(filename, line, col, name, type, description, arguments, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3924,11 +3932,11 @@ end # A reusable fragment, defined at document-level. # -# source://graphql//lib/graphql/language/nodes.rb#436 +# source://graphql//lib/graphql/language/nodes.rb#435 class GraphQL::Language::Nodes::FragmentDefinition < ::GraphQL::Language::Nodes::AbstractNode # @return [FragmentDefinition] a new instance of FragmentDefinition # - # source://graphql//lib/graphql/language/nodes.rb#449 + # source://graphql//lib/graphql/language/nodes.rb#436 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), directives: T.unsafe(nil), selections: T.unsafe(nil), filename: T.unsafe(nil), pos: T.unsafe(nil), source: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -3937,10 +3945,10 @@ class GraphQL::Language::Nodes::FragmentDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#465 + # source://graphql//lib/graphql/language/nodes.rb#452 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#469 + # source://graphql//lib/graphql/language/nodes.rb#456 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -3949,8 +3957,6 @@ class GraphQL::Language::Nodes::FragmentDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#201 def merge_selection(**node_opts); end - # @return [String] the identifier for this fragment, which may be applied with `...#{name}` - # # source://graphql//lib/graphql/language/nodes.rb#258 def name; end @@ -3960,8 +3966,6 @@ class GraphQL::Language::Nodes::FragmentDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#193 def selections; end - # @return [String] the type condition for this fragment (name of type which it may apply to) - # # source://graphql//lib/graphql/language/nodes.rb#258 def type; end @@ -3975,7 +3979,7 @@ class GraphQL::Language::Nodes::FragmentDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#461 + # source://graphql//lib/graphql/language/nodes.rb#448 def from_a(filename, line, col, name, type, directives, selections); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -3985,9 +3989,9 @@ end # Application of a named fragment in a selection # -# source://graphql//lib/graphql/language/nodes.rb#475 +# source://graphql//lib/graphql/language/nodes.rb#470 class GraphQL::Language::Nodes::FragmentSpread < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -3996,10 +4000,10 @@ class GraphQL::Language::Nodes::FragmentSpread < ::GraphQL::Language::Nodes::Abs # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#330 + # source://graphql//lib/graphql/language/nodes.rb#332 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4021,7 +4025,7 @@ class GraphQL::Language::Nodes::FragmentSpread < ::GraphQL::Language::Nodes::Abs # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#320 def from_a(filename, line, col, name, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4031,9 +4035,9 @@ end # An unnamed fragment, defined directly in the query with `... { }` # -# source://graphql//lib/graphql/language/nodes.rb#486 +# source://graphql//lib/graphql/language/nodes.rb#481 class GraphQL::Language::Nodes::InlineFragment < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(type: T.unsafe(nil), directives: T.unsafe(nil), selections: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -4042,10 +4046,10 @@ class GraphQL::Language::Nodes::InlineFragment < ::GraphQL::Language::Nodes::Abs # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#325 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#333 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4073,7 +4077,7 @@ class GraphQL::Language::Nodes::InlineFragment < ::GraphQL::Language::Nodes::Abs # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#319 + # source://graphql//lib/graphql/language/nodes.rb#321 def from_a(filename, line, col, type, directives, selections); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4083,9 +4087,9 @@ end # A collection of key-value inputs which may be a field argument # -# source://graphql//lib/graphql/language/nodes.rb#500 +# source://graphql//lib/graphql/language/nodes.rb#495 class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(arguments: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # @return [Array] A list of key-value pairs inside this input object @@ -4096,10 +4100,10 @@ class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::Abstra # source://graphql//lib/graphql/language/nodes.rb#193 def children; end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#323 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#329 + # source://graphql//lib/graphql/language/nodes.rb#331 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4107,7 +4111,7 @@ class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::Abstra # @return [Hash] Recursively turn this input object into a Ruby Hash # - # source://graphql//lib/graphql/language/nodes.rb#508 + # source://graphql//lib/graphql/language/nodes.rb#503 def to_h(options = T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#152 @@ -4115,7 +4119,7 @@ class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::Abstra private - # source://graphql//lib/graphql/language/nodes.rb#520 + # source://graphql//lib/graphql/language/nodes.rb#515 def serialize_value_for_hash(value); end class << self @@ -4125,7 +4129,7 @@ class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::Abstra # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#317 + # source://graphql//lib/graphql/language/nodes.rb#319 def from_a(filename, line, col, arguments); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4133,9 +4137,9 @@ class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::Abstra end end -# source://graphql//lib/graphql/language/nodes.rb#774 +# source://graphql//lib/graphql/language/nodes.rb#769 class GraphQL::Language::Nodes::InputObjectTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -4143,7 +4147,7 @@ class GraphQL::Language::Nodes::InputObjectTypeDefinition < ::GraphQL::Language: # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#775 + # source://graphql//lib/graphql/language/nodes.rb#770 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4152,10 +4156,10 @@ class GraphQL::Language::Nodes::InputObjectTypeDefinition < ::GraphQL::Language: # source://graphql//lib/graphql/language/nodes.rb#193 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#325 + # source://graphql//lib/graphql/language/nodes.rb#327 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#335 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4180,7 +4184,7 @@ class GraphQL::Language::Nodes::InputObjectTypeDefinition < ::GraphQL::Language: # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#323 def from_a(filename, line, col, name, description, directives, fields); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4188,9 +4192,9 @@ class GraphQL::Language::Nodes::InputObjectTypeDefinition < ::GraphQL::Language: end end -# source://graphql//lib/graphql/language/nodes.rb#784 +# source://graphql//lib/graphql/language/nodes.rb#779 class GraphQL::Language::Nodes::InputObjectTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -4202,10 +4206,10 @@ class GraphQL::Language::Nodes::InputObjectTypeExtension < ::GraphQL::Language:: # source://graphql//lib/graphql/language/nodes.rb#193 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#325 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#333 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4230,7 +4234,7 @@ class GraphQL::Language::Nodes::InputObjectTypeExtension < ::GraphQL::Language:: # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#319 + # source://graphql//lib/graphql/language/nodes.rb#321 def from_a(filename, line, col, name, directives, fields); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4238,9 +4242,9 @@ class GraphQL::Language::Nodes::InputObjectTypeExtension < ::GraphQL::Language:: end end -# source://graphql//lib/graphql/language/nodes.rb#659 +# source://graphql//lib/graphql/language/nodes.rb#654 class GraphQL::Language::Nodes::InputValueDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), default_value: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4251,16 +4255,16 @@ class GraphQL::Language::Nodes::InputValueDefinition < ::GraphQL::Language::Node # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#660 + # source://graphql//lib/graphql/language/nodes.rb#655 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#328 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#336 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4285,7 +4289,7 @@ class GraphQL::Language::Nodes::InputValueDefinition < ::GraphQL::Language::Node # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def from_a(filename, line, col, name, type, default_value, description, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4293,9 +4297,9 @@ class GraphQL::Language::Nodes::InputValueDefinition < ::GraphQL::Language::Node end end -# source://graphql//lib/graphql/language/nodes.rb#707 +# source://graphql//lib/graphql/language/nodes.rb#702 class GraphQL::Language::Nodes::InterfaceTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), interfaces: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -4303,7 +4307,7 @@ class GraphQL::Language::Nodes::InterfaceTypeDefinition < ::GraphQL::Language::N # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#708 + # source://graphql//lib/graphql/language/nodes.rb#703 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4315,10 +4319,10 @@ class GraphQL::Language::Nodes::InterfaceTypeDefinition < ::GraphQL::Language::N # source://graphql//lib/graphql/language/nodes.rb#193 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#328 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#336 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4346,7 +4350,7 @@ class GraphQL::Language::Nodes::InterfaceTypeDefinition < ::GraphQL::Language::N # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def from_a(filename, line, col, name, description, interfaces, directives, fields); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4354,9 +4358,9 @@ class GraphQL::Language::Nodes::InterfaceTypeDefinition < ::GraphQL::Language::N end end -# source://graphql//lib/graphql/language/nodes.rb#718 +# source://graphql//lib/graphql/language/nodes.rb#713 class GraphQL::Language::Nodes::InterfaceTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), interfaces: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -4371,10 +4375,10 @@ class GraphQL::Language::Nodes::InterfaceTypeExtension < ::GraphQL::Language::No # source://graphql//lib/graphql/language/nodes.rb#193 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#326 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#334 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4402,7 +4406,7 @@ class GraphQL::Language::Nodes::InterfaceTypeExtension < ::GraphQL::Language::No # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#320 + # source://graphql//lib/graphql/language/nodes.rb#322 def from_a(filename, line, col, name, interfaces, directives, fields); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4412,7 +4416,7 @@ end # A list type definition, denoted with `[...]` (used for variable type definitions) # -# source://graphql//lib/graphql/language/nodes.rb#539 +# source://graphql//lib/graphql/language/nodes.rb#534 class GraphQL::Language::Nodes::ListType < ::GraphQL::Language::Nodes::WrapperType # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end @@ -4434,15 +4438,15 @@ GraphQL::Language::Nodes::NONE = T.let(T.unsafe(nil), Array) # Base class for nodes whose only value is a name (no child nodes or other scalars) # -# source://graphql//lib/graphql/language/nodes.rb#346 +# source://graphql//lib/graphql/language/nodes.rb#348 class GraphQL::Language::Nodes::NameOnlyNode < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#323 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#329 + # source://graphql//lib/graphql/language/nodes.rb#331 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#258 @@ -4461,7 +4465,7 @@ class GraphQL::Language::Nodes::NameOnlyNode < ::GraphQL::Language::Nodes::Abstr # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#317 + # source://graphql//lib/graphql/language/nodes.rb#319 def from_a(filename, line, col, name); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4471,7 +4475,7 @@ end # A non-null type definition, denoted with `...!` (used for variable type definitions) # -# source://graphql//lib/graphql/language/nodes.rb#543 +# source://graphql//lib/graphql/language/nodes.rb#538 class GraphQL::Language::Nodes::NonNullType < ::GraphQL::Language::Nodes::WrapperType # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end @@ -4490,7 +4494,7 @@ end # A null value literal. # -# source://graphql//lib/graphql/language/nodes.rb#390 +# source://graphql//lib/graphql/language/nodes.rb#392 class GraphQL::Language::Nodes::NullValue < ::GraphQL::Language::Nodes::NameOnlyNode # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end @@ -4507,9 +4511,9 @@ class GraphQL::Language::Nodes::NullValue < ::GraphQL::Language::Nodes::NameOnly end end -# source://graphql//lib/graphql/language/nodes.rb#688 +# source://graphql//lib/graphql/language/nodes.rb#683 class GraphQL::Language::Nodes::ObjectTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), interfaces: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -4517,7 +4521,7 @@ class GraphQL::Language::Nodes::ObjectTypeDefinition < ::GraphQL::Language::Node # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#689 + # source://graphql//lib/graphql/language/nodes.rb#684 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4529,10 +4533,10 @@ class GraphQL::Language::Nodes::ObjectTypeDefinition < ::GraphQL::Language::Node # source://graphql//lib/graphql/language/nodes.rb#258 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#328 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#336 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4557,7 +4561,7 @@ class GraphQL::Language::Nodes::ObjectTypeDefinition < ::GraphQL::Language::Node # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def from_a(filename, line, col, name, interfaces, description, directives, fields); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4565,9 +4569,9 @@ class GraphQL::Language::Nodes::ObjectTypeDefinition < ::GraphQL::Language::Node end end -# source://graphql//lib/graphql/language/nodes.rb#698 +# source://graphql//lib/graphql/language/nodes.rb#693 class GraphQL::Language::Nodes::ObjectTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), interfaces: T.unsafe(nil), directives: T.unsafe(nil), fields: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -4582,10 +4586,10 @@ class GraphQL::Language::Nodes::ObjectTypeExtension < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#258 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#326 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#334 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4610,7 +4614,7 @@ class GraphQL::Language::Nodes::ObjectTypeExtension < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#320 + # source://graphql//lib/graphql/language/nodes.rb#322 def from_a(filename, line, col, name, interfaces, directives, fields); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4622,9 +4626,9 @@ end # May be anonymous or named. # May be explicitly typed (eg `mutation { ... }`) or implicitly a query (eg `{ ... }`). # -# source://graphql//lib/graphql/language/nodes.rb#565 +# source://graphql//lib/graphql/language/nodes.rb#560 class GraphQL::Language::Nodes::OperationDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(operation_type: T.unsafe(nil), name: T.unsafe(nil), variables: T.unsafe(nil), directives: T.unsafe(nil), selections: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -4633,10 +4637,10 @@ class GraphQL::Language::Nodes::OperationDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#328 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#336 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4679,7 +4683,7 @@ class GraphQL::Language::Nodes::OperationDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def from_a(filename, line, col, operation_type, name, variables, directives, selections); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4687,9 +4691,9 @@ class GraphQL::Language::Nodes::OperationDefinition < ::GraphQL::Language::Nodes end end -# source://graphql//lib/graphql/language/nodes.rb#642 +# source://graphql//lib/graphql/language/nodes.rb#637 class GraphQL::Language::Nodes::ScalarTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4697,16 +4701,16 @@ class GraphQL::Language::Nodes::ScalarTypeDefinition < ::GraphQL::Language::Node # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#643 + # source://graphql//lib/graphql/language/nodes.rb#638 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#326 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#334 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4728,7 +4732,7 @@ class GraphQL::Language::Nodes::ScalarTypeDefinition < ::GraphQL::Language::Node # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#320 + # source://graphql//lib/graphql/language/nodes.rb#322 def from_a(filename, line, col, name, description, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4736,9 +4740,9 @@ class GraphQL::Language::Nodes::ScalarTypeDefinition < ::GraphQL::Language::Node end end -# source://graphql//lib/graphql/language/nodes.rb#651 +# source://graphql//lib/graphql/language/nodes.rb#646 class GraphQL::Language::Nodes::ScalarTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4747,10 +4751,10 @@ class GraphQL::Language::Nodes::ScalarTypeExtension < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#330 + # source://graphql//lib/graphql/language/nodes.rb#332 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4772,7 +4776,7 @@ class GraphQL::Language::Nodes::ScalarTypeExtension < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#318 + # source://graphql//lib/graphql/language/nodes.rb#320 def from_a(filename, line, col, name, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4780,9 +4784,9 @@ class GraphQL::Language::Nodes::ScalarTypeExtension < ::GraphQL::Language::Nodes end end -# source://graphql//lib/graphql/language/nodes.rb#626 +# source://graphql//lib/graphql/language/nodes.rb#621 class GraphQL::Language::Nodes::SchemaDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(query: T.unsafe(nil), mutation: T.unsafe(nil), subscription: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4791,10 +4795,10 @@ class GraphQL::Language::Nodes::SchemaDefinition < ::GraphQL::Language::Nodes::A # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#325 + # source://graphql//lib/graphql/language/nodes.rb#327 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#335 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4822,7 +4826,7 @@ class GraphQL::Language::Nodes::SchemaDefinition < ::GraphQL::Language::Nodes::A # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#323 def from_a(filename, line, col, query, mutation, subscription, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4830,9 +4834,9 @@ class GraphQL::Language::Nodes::SchemaDefinition < ::GraphQL::Language::Nodes::A end end -# source://graphql//lib/graphql/language/nodes.rb#634 +# source://graphql//lib/graphql/language/nodes.rb#629 class GraphQL::Language::Nodes::SchemaExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(query: T.unsafe(nil), mutation: T.unsafe(nil), subscription: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4841,10 +4845,10 @@ class GraphQL::Language::Nodes::SchemaExtension < ::GraphQL::Language::Nodes::Ab # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#326 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#334 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4872,7 +4876,7 @@ class GraphQL::Language::Nodes::SchemaExtension < ::GraphQL::Language::Nodes::Ab # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#320 + # source://graphql//lib/graphql/language/nodes.rb#322 def from_a(filename, line, col, query, mutation, subscription, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4882,7 +4886,7 @@ end # A type name, used for variable definitions # -# source://graphql//lib/graphql/language/nodes.rb#618 +# source://graphql//lib/graphql/language/nodes.rb#613 class GraphQL::Language::Nodes::TypeName < ::GraphQL::Language::Nodes::NameOnlyNode # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end @@ -4899,9 +4903,9 @@ class GraphQL::Language::Nodes::TypeName < ::GraphQL::Language::Nodes::NameOnlyN end end -# source://graphql//lib/graphql/language/nodes.rb#728 +# source://graphql//lib/graphql/language/nodes.rb#723 class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), types: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4909,16 +4913,16 @@ class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#729 + # source://graphql//lib/graphql/language/nodes.rb#724 def description; end # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#325 + # source://graphql//lib/graphql/language/nodes.rb#327 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#335 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4932,7 +4936,7 @@ class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes # Returns the value of attribute types. # - # source://graphql//lib/graphql/language/nodes.rb#729 + # source://graphql//lib/graphql/language/nodes.rb#724 def types; end # source://graphql//lib/graphql/language/nodes.rb#152 @@ -4945,7 +4949,7 @@ class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#323 def from_a(filename, line, col, name, types, description, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -4953,9 +4957,9 @@ class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes end end -# source://graphql//lib/graphql/language/nodes.rb#737 +# source://graphql//lib/graphql/language/nodes.rb#732 class GraphQL::Language::Nodes::UnionTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), types: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -4964,10 +4968,10 @@ class GraphQL::Language::Nodes::UnionTypeExtension < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#325 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#333 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -4981,7 +4985,7 @@ class GraphQL::Language::Nodes::UnionTypeExtension < ::GraphQL::Language::Nodes: # Returns the value of attribute types. # - # source://graphql//lib/graphql/language/nodes.rb#738 + # source://graphql//lib/graphql/language/nodes.rb#733 def types; end # source://graphql//lib/graphql/language/nodes.rb#152 @@ -4994,7 +4998,7 @@ class GraphQL::Language::Nodes::UnionTypeExtension < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#319 + # source://graphql//lib/graphql/language/nodes.rb#321 def from_a(filename, line, col, name, types, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -5004,9 +5008,9 @@ end # An operation-level query variable # -# source://graphql//lib/graphql/language/nodes.rb#547 +# source://graphql//lib/graphql/language/nodes.rb#542 class GraphQL::Language::Nodes::VariableDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), default_value: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end # source://graphql//lib/graphql/language/nodes.rb#193 @@ -5020,10 +5024,10 @@ class GraphQL::Language::Nodes::VariableDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#193 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#325 + # source://graphql//lib/graphql/language/nodes.rb#327 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#335 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#201 @@ -5050,7 +5054,7 @@ class GraphQL::Language::Nodes::VariableDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#323 def from_a(filename, line, col, name, type, default_value, directives); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -5060,7 +5064,7 @@ end # Usage of a variable in a query. Name does _not_ include `$`. # -# source://graphql//lib/graphql/language/nodes.rb#622 +# source://graphql//lib/graphql/language/nodes.rb#617 class GraphQL::Language::Nodes::VariableIdentifier < ::GraphQL::Language::Nodes::NameOnlyNode # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end @@ -5079,15 +5083,15 @@ end # Base class for non-null type names and list type names # -# source://graphql//lib/graphql/language/nodes.rb#340 +# source://graphql//lib/graphql/language/nodes.rb#342 class GraphQL::Language::Nodes::WrapperType < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#308 + # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(of_type: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#323 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#329 + # source://graphql//lib/graphql/language/nodes.rb#331 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#258 @@ -5106,7 +5110,7 @@ class GraphQL::Language::Nodes::WrapperType < ::GraphQL::Language::Nodes::Abstra # source://graphql//lib/graphql/language/nodes.rb#157 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#317 + # source://graphql//lib/graphql/language/nodes.rb#319 def from_a(filename, line, col, of_type); end # source://graphql//lib/graphql/language/nodes.rb#159 @@ -5140,13 +5144,13 @@ class GraphQL::Language::Parser # @return [Boolean] # - # source://graphql//lib/graphql/language/parser.rb#741 + # source://graphql//lib/graphql/language/parser.rb#782 def at?(expected_token_name); end # token_value works for when the scanner matched something # which is usually fine and it's good for it to be fast at that. # - # source://graphql//lib/graphql/language/parser.rb#780 + # source://graphql//lib/graphql/language/parser.rb#821 def debug_token_value; end # source://graphql//lib/graphql/language/parser.rb#114 @@ -5155,15 +5159,15 @@ class GraphQL::Language::Parser # source://graphql//lib/graphql/language/parser.rb#99 def document; end - # source://graphql//lib/graphql/language/parser.rb#752 + # source://graphql//lib/graphql/language/parser.rb#793 def expect_one_of(token_names); end - # source://graphql//lib/graphql/language/parser.rb#745 + # source://graphql//lib/graphql/language/parser.rb#786 def expect_token(expected_token_name); end # Only use when we care about the expected token's value # - # source://graphql//lib/graphql/language/parser.rb#769 + # source://graphql//lib/graphql/language/parser.rb#810 def expect_token_value(tok); end # @return [Array] Positions of each line break in the original string @@ -5171,51 +5175,46 @@ class GraphQL::Language::Parser # source://graphql//lib/graphql/language/parser.rb#74 def lines_at; end - # source://graphql//lib/graphql/language/parser.rb#487 + # source://graphql//lib/graphql/language/parser.rb#492 def list_type; end - # source://graphql//lib/graphql/language/parser.rb#441 + # source://graphql//lib/graphql/language/parser.rb#446 def parse_argument_definitions; end - # source://graphql//lib/graphql/language/parser.rb#667 + # source://graphql//lib/graphql/language/parser.rb#660 def parse_arguments; end - # source://graphql//lib/graphql/language/parser.rb#650 + # source://graphql//lib/graphql/language/parser.rb#643 def parse_directives; end - # Any identifier, but not true, false, or null - # - # source://graphql//lib/graphql/language/parser.rb#638 - def parse_enum_name; end - # source://graphql//lib/graphql/language/parser.rb#374 def parse_enum_value_definitions; end - # source://graphql//lib/graphql/language/parser.rb#422 + # source://graphql//lib/graphql/language/parser.rb#427 def parse_field_definitions; end - # source://graphql//lib/graphql/language/parser.rb#407 + # source://graphql//lib/graphql/language/parser.rb#412 def parse_implements; end # source://graphql//lib/graphql/language/parser.rb#360 def parse_input_object_field_definitions; end - # source://graphql//lib/graphql/language/parser.rb#455 + # source://graphql//lib/graphql/language/parser.rb#460 def parse_input_value_definition; end - # source://graphql//lib/graphql/language/parser.rb#560 + # source://graphql//lib/graphql/language/parser.rb#565 def parse_name; end - # source://graphql//lib/graphql/language/parser.rb#629 + # source://graphql//lib/graphql/language/parser.rb#631 def parse_name_without_on; end - # source://graphql//lib/graphql/language/parser.rb#495 + # source://graphql//lib/graphql/language/parser.rb#500 def parse_operation_type; end - # source://graphql//lib/graphql/language/parser.rb#646 + # source://graphql//lib/graphql/language/parser.rb#639 def parse_type_name; end - # source://graphql//lib/graphql/language/parser.rb#393 + # source://graphql//lib/graphql/language/parser.rb#398 def parse_union_members; end # source://graphql//lib/graphql/language/parser.rb#95 @@ -5223,13 +5222,13 @@ class GraphQL::Language::Parser # @raise [GraphQL::ParseError] # - # source://graphql//lib/graphql/language/parser.rb#756 + # source://graphql//lib/graphql/language/parser.rb#797 def raise_parse_error(message); end - # source://graphql//lib/graphql/language/parser.rb#509 + # source://graphql//lib/graphql/language/parser.rb#514 def selection_set; end - # source://graphql//lib/graphql/language/parser.rb#687 + # source://graphql//lib/graphql/language/parser.rb#680 def string_value; end # Returns the value of attribute token_name. @@ -5237,10 +5236,10 @@ class GraphQL::Language::Parser # source://graphql//lib/graphql/language/parser.rb#89 def token_name; end - # source://graphql//lib/graphql/language/parser.rb#472 + # source://graphql//lib/graphql/language/parser.rb#477 def type; end - # source://graphql//lib/graphql/language/parser.rb#693 + # source://graphql//lib/graphql/language/parser.rb#686 def value; end class << self @@ -5264,11 +5263,11 @@ class GraphQL::Language::Parser end end -# source://graphql//lib/graphql/language/parser.rb#783 +# source://graphql//lib/graphql/language/parser.rb#824 class GraphQL::Language::Parser::SchemaParser < ::GraphQL::Language::Parser # @return [SchemaParser] a new instance of SchemaParser # - # source://graphql//lib/graphql/language/parser.rb#784 + # source://graphql//lib/graphql/language/parser.rb#825 def initialize(*args, **kwargs); end end @@ -6061,7 +6060,7 @@ class GraphQL::LoadApplicationObjectFailedError < ::GraphQL::ExecutionError def object; end end -# source://graphql//lib/graphql.rb#71 +# source://graphql//lib/graphql.rb#63 GraphQL::NOT_CONFIGURED = T.let(T.unsafe(nil), Object) # source://graphql//lib/graphql/name_validator.rb#3 @@ -6857,7 +6856,7 @@ class GraphQL::Query # Get the result for this query, executing it once # - # @return [Hash] A GraphQL response, with `"data"` and/or `"errors"` keys + # @return [GraphQL::Query::Result] A Hash-like GraphQL response, with `"data"` and/or `"errors"` keys # # source://graphql//lib/graphql/query.rb#226 def result; end @@ -7682,14 +7681,9 @@ class GraphQL::Relay::RangeAdd def parent; end end -# source://graphql//lib/graphql.rb#31 +# source://graphql//lib/graphql.rb#23 class GraphQL::RequiredImplementationMissingError < ::GraphQL::Error; end -# forwards-compat for argument handling -# -# source://graphql//lib/graphql.rb#10 -module GraphQL::Ruby2Keywords; end - # source://graphql//lib/graphql/runtime_type_error.rb#3 class GraphQL::RuntimeTypeError < ::GraphQL::Error; end @@ -7724,7 +7718,7 @@ class GraphQL::Schema class << self # @api private # - # source://graphql//lib/graphql/schema.rb#1343 + # source://graphql//lib/graphql/schema.rb#1338 def add_subscription_extension_if_necessary; end # Return a lazy if any of `maybe_lazies` are lazy, @@ -7733,7 +7727,7 @@ class GraphQL::Schema # @api private # @param maybe_lazies [Array] # - # source://graphql//lib/graphql/schema.rb#1402 + # source://graphql//lib/graphql/schema.rb#1397 def after_any_lazies(maybe_lazies); end # Call the given block at the right time, either: @@ -7742,17 +7736,17 @@ class GraphQL::Schema # # @api private # - # source://graphql//lib/graphql/schema.rb#1362 + # source://graphql//lib/graphql/schema.rb#1357 def after_lazy(value, &block); end - # source://graphql//lib/graphql/schema.rb#773 + # source://graphql//lib/graphql/schema.rb#768 def analysis_engine; end # Sets the attribute analysis_engine # # @param value the value to set the attribute analysis_engine to. # - # source://graphql//lib/graphql/schema.rb#771 + # source://graphql//lib/graphql/schema.rb#766 def analysis_engine=(_arg0); end # Return the Hash response of {Introspection::INTROSPECTION_QUERY}. @@ -7783,13 +7777,13 @@ class GraphQL::Schema # source://graphql//lib/graphql/schema.rb#404 def connections=(_arg0); end - # source://graphql//lib/graphql/schema.rb#947 + # source://graphql//lib/graphql/schema.rb#942 def context_class(new_context_class = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#811 + # source://graphql//lib/graphql/schema.rb#806 def count_introspection_fields; end - # source://graphql//lib/graphql/schema.rb#631 + # source://graphql//lib/graphql/schema.rb#626 def cursor_encoder(new_encoder = T.unsafe(nil)); end # @api private @@ -7805,22 +7799,22 @@ class GraphQL::Schema # source://graphql//lib/graphql/schema.rb#553 def dataloader_class=(_arg0); end - # source://graphql//lib/graphql/schema.rb#919 + # source://graphql//lib/graphql/schema.rb#914 def default_analysis_engine; end - # source://graphql//lib/graphql/schema.rb#1153 + # source://graphql//lib/graphql/schema.rb#1148 def default_directives; end - # source://graphql//lib/graphql/schema.rb#911 + # source://graphql//lib/graphql/schema.rb#906 def default_execution_strategy; end - # source://graphql//lib/graphql/schema.rb#927 + # source://graphql//lib/graphql/schema.rb#922 def default_logger(new_default_logger = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#638 + # source://graphql//lib/graphql/schema.rb#633 def default_max_page_size(new_default_max_page_size = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#657 + # source://graphql//lib/graphql/schema.rb#652 def default_page_size(new_default_page_size = T.unsafe(nil)); end # @param new_mode [Symbol] If configured, this will be used when `context: { trace_mode: ... }` isn't set. @@ -7841,65 +7835,65 @@ class GraphQL::Schema # @param new_directive [Class] # @return void # - # source://graphql//lib/graphql/schema.rb#1149 + # source://graphql//lib/graphql/schema.rb#1144 def directive(new_directive); end # Add several directives at once # # @param new_directives [Class] # - # source://graphql//lib/graphql/schema.rb#1133 + # source://graphql//lib/graphql/schema.rb#1128 def directives(*new_directives); end - # source://graphql//lib/graphql/schema.rb#819 + # source://graphql//lib/graphql/schema.rb#814 def disable_introspection_entry_points; end # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#837 + # source://graphql//lib/graphql/schema.rb#832 def disable_introspection_entry_points?; end - # source://graphql//lib/graphql/schema.rb#825 + # source://graphql//lib/graphql/schema.rb#820 def disable_schema_introspection_entry_point; end # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#845 + # source://graphql//lib/graphql/schema.rb#840 def disable_schema_introspection_entry_point?; end - # source://graphql//lib/graphql/schema.rb#831 + # source://graphql//lib/graphql/schema.rb#826 def disable_type_introspection_entry_point; end # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#853 + # source://graphql//lib/graphql/schema.rb#848 def disable_type_introspection_entry_point?; end - # source://graphql//lib/graphql/schema.rb#787 + # source://graphql//lib/graphql/schema.rb#782 def error_bubbling(new_error_bubbling = T.unsafe(nil)); end # Sets the attribute error_bubbling # # @param value the value to set the attribute error_bubbling to. # - # source://graphql//lib/graphql/schema.rb#796 + # source://graphql//lib/graphql/schema.rb#791 def error_bubbling=(_arg0); end - # source://graphql//lib/graphql/schema.rb#969 + # source://graphql//lib/graphql/schema.rb#964 def error_handlers; end # Execute a query on itself. # - # @return [Hash] query result, ready to be serialized as JSON + # @return [GraphQL::Query::Result] query result, ready to be serialized as JSON # @see {Query#initialize} for arguments. # - # source://graphql//lib/graphql/schema.rb#1291 + # source://graphql//lib/graphql/schema.rb#1286 def execute(query_str = T.unsafe(nil), **kwargs); end # @param new_extra_types [Module] Type definitions to include in printing and introspection, even though they aren't referenced in the schema # @return [Array] Type definitions added to this schema # - # source://graphql//lib/graphql/schema.rb#863 + # source://graphql//lib/graphql/schema.rb#858 def extra_types(*new_extra_types); end # source://graphql//lib/graphql/schema.rb#312 @@ -7924,10 +7918,10 @@ class GraphQL::Schema # source://graphql//lib/graphql/schema.rb#102 def from_introspection(introspection_result); end - # source://graphql//lib/graphql/schema.rb#586 + # source://graphql//lib/graphql/schema.rb#581 def get_field(type_or_name, field_name, context = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#609 + # source://graphql//lib/graphql/schema.rb#604 def get_fields(type, context = T.unsafe(nil)); end # @param type_name [String] @@ -7938,7 +7932,7 @@ class GraphQL::Schema # @api private # - # source://graphql//lib/graphql/schema.rb#978 + # source://graphql//lib/graphql/schema.rb#973 def handle_or_reraise(context, err); end # @return [Boolean] Does this schema have _any_ definition for a type named `type_name`, regardless of visibility? @@ -7948,70 +7942,70 @@ class GraphQL::Schema # @raise [GraphQL::RequiredImplementationMissingError] # - # source://graphql//lib/graphql/schema.rb#1044 + # source://graphql//lib/graphql/schema.rb#1039 def id_from_object(object, type, ctx); end - # source://graphql//lib/graphql/schema.rb#1026 + # source://graphql//lib/graphql/schema.rb#1021 def inherited(child_class); end - # source://graphql//lib/graphql/schema.rb#1121 + # source://graphql//lib/graphql/schema.rb#1116 def instrument(instrument_step, instrumenter, options = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#1335 + # source://graphql//lib/graphql/schema.rb#1330 def instrumenters; end # Sets the attribute interpreter # # @param value the value to set the attribute interpreter to. # - # source://graphql//lib/graphql/schema.rb#785 + # source://graphql//lib/graphql/schema.rb#780 def interpreter=(_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#781 + # source://graphql//lib/graphql/schema.rb#776 def interpreter?; end - # source://graphql//lib/graphql/schema.rb#613 + # source://graphql//lib/graphql/schema.rb#608 def introspection(new_introspection_namespace = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#623 + # source://graphql//lib/graphql/schema.rb#618 def introspection_system; end # @return [Boolean] True if this object should be lazily resolved # - # source://graphql//lib/graphql/schema.rb#1394 + # source://graphql//lib/graphql/schema.rb#1389 def lazy?(obj); end # @return [Symbol, nil] The method name to lazily resolve `obj`, or nil if `obj`'s class wasn't registered with {#lazy_resolve}. # - # source://graphql//lib/graphql/schema.rb#1389 + # source://graphql//lib/graphql/schema.rb#1384 def lazy_method_name(obj); end - # source://graphql//lib/graphql/schema.rb#1117 + # source://graphql//lib/graphql/schema.rb#1112 def lazy_resolve(lazy_class, value_method); end - # source://graphql//lib/graphql/schema.rb#752 + # source://graphql//lib/graphql/schema.rb#747 def max_complexity(max_complexity = T.unsafe(nil), count_introspection_fields: T.unsafe(nil)); end # Sets the attribute max_complexity # # @param value the value to set the attribute max_complexity to. # - # source://graphql//lib/graphql/schema.rb#750 + # source://graphql//lib/graphql/schema.rb#745 def max_complexity=(_arg0); end - # source://graphql//lib/graphql/schema.rb#763 + # source://graphql//lib/graphql/schema.rb#758 def max_complexity_count_introspection_fields; end - # source://graphql//lib/graphql/schema.rb#800 + # source://graphql//lib/graphql/schema.rb#795 def max_depth(new_max_depth = T.unsafe(nil), count_introspection_fields: T.unsafe(nil)); end # Sets the attribute max_depth # # @param value the value to set the attribute max_depth to. # - # source://graphql//lib/graphql/schema.rb#798 + # source://graphql//lib/graphql/schema.rb#793 def max_depth=(_arg0); end # A limit on the number of tokens to accept on incoming query strings. @@ -8019,7 +8013,7 @@ class GraphQL::Schema # # @return [nil, Integer] # - # source://graphql//lib/graphql/schema.rb#649 + # source://graphql//lib/graphql/schema.rb#644 def max_query_string_tokens(new_max_tokens = T.unsafe(nil)); end # Execute several queries on itself, concurrently. @@ -8037,23 +8031,23 @@ class GraphQL::Schema # } # @param queries [Array] Keyword arguments for each query # @param context [Hash] Multiplex-level context - # @return [Array] One result for each query in the input + # @return [Array] One result for each query in the input # @see {Query#initialize} for query keyword arguments # @see {Execution::Multiplex#run_all} for multiplex keyword arguments # - # source://graphql//lib/graphql/schema.rb#1331 + # source://graphql//lib/graphql/schema.rb#1326 def multiplex(queries, **kwargs); end - # source://graphql//lib/graphql/schema.rb#1272 + # source://graphql//lib/graphql/schema.rb#1267 def multiplex_analyzer(new_analyzer); end - # source://graphql//lib/graphql/schema.rb#1276 + # source://graphql//lib/graphql/schema.rb#1271 def multiplex_analyzers; end # source://graphql//lib/graphql/schema.rb#440 def mutation(new_mutation_object = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#677 + # source://graphql//lib/graphql/schema.rb#672 def mutation_execution_strategy(new_mutation_execution_strategy = T.unsafe(nil), deprecation_warning: T.unsafe(nil)); end # @return [Boolean] @@ -8069,15 +8063,15 @@ class GraphQL::Schema # @param options [Hash] Keywords that will be passed to the tracing class during `#initialize` # @return [Tracing::Trace] # - # source://graphql//lib/graphql/schema.rb#1239 + # source://graphql//lib/graphql/schema.rb#1234 def new_trace(mode: T.unsafe(nil), **options); end # @raise [GraphQL::RequiredImplementationMissingError] # - # source://graphql//lib/graphql/schema.rb#1040 + # source://graphql//lib/graphql/schema.rb#1035 def object_from_id(node_id, ctx); end - # source://graphql//lib/graphql/schema.rb#881 + # source://graphql//lib/graphql/schema.rb#876 def orphan_types(*new_orphan_types); end # source://graphql//lib/graphql/schema.rb#203 @@ -8094,7 +8088,7 @@ class GraphQL::Schema # @param ctx [GraphQL::Query::Context] The context for the query where the error occurred # @return void # - # source://graphql//lib/graphql/schema.rb#1113 + # source://graphql//lib/graphql/schema.rb#1108 def parse_error(parse_err, ctx); end # source://graphql//lib/graphql/schema.rb#333 @@ -8110,30 +8104,30 @@ class GraphQL::Schema # source://graphql//lib/graphql/schema.rb#426 def query(new_query_object = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#1264 + # source://graphql//lib/graphql/schema.rb#1259 def query_analyzer(new_analyzer); end - # source://graphql//lib/graphql/schema.rb#1268 + # source://graphql//lib/graphql/schema.rb#1263 def query_analyzers; end - # source://graphql//lib/graphql/schema.rb#730 + # source://graphql//lib/graphql/schema.rb#725 def query_class(new_query_class = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#665 + # source://graphql//lib/graphql/schema.rb#660 def query_execution_strategy(new_query_execution_strategy = T.unsafe(nil), deprecation_warning: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#1354 + # source://graphql//lib/graphql/schema.rb#1349 def query_stack_error(query, err); end # source://graphql//lib/graphql/schema.rb#555 def references_to(to_type = T.unsafe(nil), from: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#955 + # source://graphql//lib/graphql/schema.rb#950 def rescue_from(*err_classes, &handler_block); end # @raise [GraphQL::RequiredImplementationMissingError] # - # source://graphql//lib/graphql/schema.rb#1021 + # source://graphql//lib/graphql/schema.rb#1016 def resolve_type(type, obj, ctx); end # @return [GraphQL::ObjectType, nil] @@ -8145,13 +8139,13 @@ class GraphQL::Schema # source://graphql//lib/graphql/schema.rb#484 def root_types; end - # source://graphql//lib/graphql/schema.rb#1280 + # source://graphql//lib/graphql/schema.rb#1275 def sanitized_printer(new_sanitized_printer = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#1052 + # source://graphql//lib/graphql/schema.rb#1047 def schema_directive(dir_class, **options); end - # source://graphql//lib/graphql/schema.rb#1057 + # source://graphql//lib/graphql/schema.rb#1052 def schema_directives; end # source://graphql//lib/graphql/schema.rb#320 @@ -8160,7 +8154,7 @@ class GraphQL::Schema # source://graphql//lib/graphql/schema.rb#454 def subscription(new_subscription_object = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#689 + # source://graphql//lib/graphql/schema.rb#684 def subscription_execution_strategy(new_subscription_execution_strategy = T.unsafe(nil), deprecation_warning: T.unsafe(nil)); end # @return [GraphQL::Subscriptions] @@ -8177,7 +8171,7 @@ class GraphQL::Schema # @param value [Object] an instance of a class registered with {.lazy_resolve} # @return [Object] A GraphQL-ready (non-lazy) object # - # source://graphql//lib/graphql/schema.rb#1378 + # source://graphql//lib/graphql/schema.rb#1373 def sync_lazy(value); end # Return the GraphQL IDL for the schema @@ -8215,7 +8209,7 @@ class GraphQL::Schema # {default_trace_mode} is used when no `trace_mode: ...` is requested. # # When a `trace_class` is added this way, it will _not_ receive other modules added with `trace_with(...)` - # unless `trace_mode` is explicitly given. (This class will not recieve any default trace modules.) + # unless `trace_mode` is explicitly given. (This class will not receive any default trace modules.) # # Subclasses of the schema will use `trace_class` as a base class for this mode and those # subclass also will _not_ receive default tracing modules. @@ -8236,7 +8230,7 @@ class GraphQL::Schema # # @return [Hash] # - # source://graphql//lib/graphql/schema.rb#1217 + # source://graphql//lib/graphql/schema.rb#1212 def trace_options_for(mode); end # Mix `trace_mod` into this schema's `Trace` class so that its methods @@ -8247,19 +8241,19 @@ class GraphQL::Schema # @param options [Hash] Keywords that will be passed to the tracing class during `#initialize` # @return [void] # - # source://graphql//lib/graphql/schema.rb#1187 + # source://graphql//lib/graphql/schema.rb#1182 def trace_with(trace_mod, mode: T.unsafe(nil), **options); end - # source://graphql//lib/graphql/schema.rb#1163 + # source://graphql//lib/graphql/schema.rb#1158 def tracer(new_tracer, silence_deprecation_warning: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#1176 + # source://graphql//lib/graphql/schema.rb#1171 def tracers; end - # source://graphql//lib/graphql/schema.rb#1096 + # source://graphql//lib/graphql/schema.rb#1091 def type_error(type_error, ctx); end - # source://graphql//lib/graphql/schema.rb#581 + # source://graphql//lib/graphql/schema.rb#576 def type_from_ast(ast_node, context: T.unsafe(nil)); end # Build a map of `{ name => type }` and return it @@ -8283,7 +8277,7 @@ class GraphQL::Schema # @param unauthorized_error [GraphQL::UnauthorizedFieldError] # @return [Field] The returned field will be put in the GraphQL response # - # source://graphql//lib/graphql/schema.rb#1092 + # source://graphql//lib/graphql/schema.rb#1087 def unauthorized_field(unauthorized_error); end # This hook is called when an object fails an `authorized?` check. @@ -8302,7 +8296,7 @@ class GraphQL::Schema # @param unauthorized_error [GraphQL::UnauthorizedError] # @return [Object] The returned object will be put in the GraphQL response # - # source://graphql//lib/graphql/schema.rb#1076 + # source://graphql//lib/graphql/schema.rb#1071 def unauthorized_object(unauthorized_error); end # source://graphql//lib/graphql/schema.rb#532 @@ -8313,7 +8307,7 @@ class GraphQL::Schema # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#777 + # source://graphql//lib/graphql/schema.rb#772 def using_ast_analysis?; end # Validate a query string according to this schema. @@ -8321,32 +8315,32 @@ class GraphQL::Schema # @param string_or_document [String, GraphQL::Language::Nodes::Document] # @return [Array] # - # source://graphql//lib/graphql/schema.rb#716 + # source://graphql//lib/graphql/schema.rb#711 def validate(string_or_document, rules: T.unsafe(nil), context: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#740 + # source://graphql//lib/graphql/schema.rb#735 def validate_max_errors(new_validate_max_errors = T.unsafe(nil)); end # Sets the attribute validate_max_errors # # @param value the value to set the attribute validate_max_errors to. # - # source://graphql//lib/graphql/schema.rb#738 + # source://graphql//lib/graphql/schema.rb#733 def validate_max_errors=(_arg0); end - # source://graphql//lib/graphql/schema.rb#703 + # source://graphql//lib/graphql/schema.rb#698 def validate_timeout(new_validate_timeout = T.unsafe(nil)); end # Sets the attribute validate_timeout # # @param value the value to set the attribute validate_timeout to. # - # source://graphql//lib/graphql/schema.rb#701 + # source://graphql//lib/graphql/schema.rb#696 def validate_timeout=(_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#1048 + # source://graphql//lib/graphql/schema.rb#1043 def visible?(member, ctx); end # source://graphql//lib/graphql/schema.rb#488 @@ -8361,21 +8355,21 @@ class GraphQL::Schema private - # source://graphql//lib/graphql/schema.rb#1414 + # source://graphql//lib/graphql/schema.rb#1409 def add_trace_options_for(mode, new_options); end # @param t [Module, Array] # @return [void] # - # source://graphql//lib/graphql/schema.rb#1422 + # source://graphql//lib/graphql/schema.rb#1417 def add_type_and_traverse(t, root:); end # This is overridden in subclasses to check the inheritance chain # # source://graphql//lib/graphql/schema.rb#1532 - def get_references_to(type_name); end + def get_references_to(type_defn); end - # source://graphql//lib/graphql/schema.rb#1473 + # source://graphql//lib/graphql/schema.rb#1469 def lazy_methods; end # source://graphql//lib/graphql/schema.rb#1491 @@ -8402,10 +8396,13 @@ class GraphQL::Schema # source://graphql//lib/graphql/schema.rb#1523 def own_query_analyzers; end + # source://graphql//lib/graphql/schema.rb#1487 + def own_references_to; end + # source://graphql//lib/graphql/schema.rb#1519 def own_tracers; end - # source://graphql//lib/graphql/schema.rb#1487 + # source://graphql//lib/graphql/schema.rb#1483 def own_types; end # source://graphql//lib/graphql/schema.rb#1507 @@ -8455,7 +8452,7 @@ class GraphQL::Schema::Addition # source://graphql//lib/graphql/schema/addition.rb#42 def add_directives_from(owner); end - # source://graphql//lib/graphql/schema/addition.rb#150 + # source://graphql//lib/graphql/schema/addition.rb#152 def add_type(type, owner:, late_types:, path:); end # source://graphql//lib/graphql/schema/addition.rb#50 @@ -8998,11 +8995,6 @@ GraphQL::Schema::Directive::DEFAULT_DEPRECATION_REASON = T.let(T.unsafe(nil), St # source://graphql//lib/graphql/schema/directive/deprecated.rb#5 class GraphQL::Schema::Directive::Deprecated < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments - - class << self - # source://graphql//lib/graphql/schema/member/has_arguments.rb#68 - def load_reason(value, _context = T.unsafe(nil)); end - end end # source://graphql//lib/graphql/schema/directive.rb#144 @@ -9076,9 +9068,6 @@ class GraphQL::Schema::Directive::Feature < ::GraphQL::Schema::Directive # # source://graphql//lib/graphql/schema/directive/feature.rb#49 def include?(object, arguments, context); end - - # source://graphql//lib/graphql/schema/member/has_arguments.rb#68 - def load_flag(value, _context = T.unsafe(nil)); end end end @@ -9094,11 +9083,6 @@ class GraphQL::Schema::Directive::Flagged < ::GraphQL::Schema::Directive # # source://graphql//lib/graphql/schema/directive/flagged.rb#9 def initialize(target, **options); end - - class << self - # source://graphql//lib/graphql/schema/member/has_arguments.rb#68 - def load_by(value, _context = T.unsafe(nil)); end - end end # source://graphql//lib/graphql/schema/directive/flagged.rb#40 @@ -9133,9 +9117,6 @@ class GraphQL::Schema::Directive::Include < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments class << self - # source://graphql//lib/graphql/schema/member/has_arguments.rb#68 - def load_if(value, _context = T.unsafe(nil)); end - # @return [Boolean] # # source://graphql//lib/graphql/schema/directive/include.rb#19 @@ -9190,9 +9171,6 @@ class GraphQL::Schema::Directive::Skip < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments class << self - # source://graphql//lib/graphql/schema/member/has_arguments.rb#68 - def load_if(value, _context = T.unsafe(nil)); end - # @return [Boolean] # # source://graphql//lib/graphql/schema/directive/skip.rb#19 @@ -9203,11 +9181,6 @@ end # source://graphql//lib/graphql/schema/directive/specified_by.rb#5 class GraphQL::Schema::Directive::SpecifiedBy < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments - - class << self - # source://graphql//lib/graphql/schema/member/has_arguments.rb#68 - def load_url(value, _context = T.unsafe(nil)); end - end end # An example directive to show how you might interact with the runtime. @@ -9230,9 +9203,6 @@ class GraphQL::Schema::Directive::Transform < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments class << self - # source://graphql//lib/graphql/schema/member/has_arguments.rb#68 - def load_by(value, _context = T.unsafe(nil)); end - # Implement the Directive API # # source://graphql//lib/graphql/schema/directive/transform.rb#36 @@ -10049,7 +10019,7 @@ module GraphQL::Schema::HasSingleInputArgument private - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#149 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#150 def authorize_arguments(args, values); end class << self @@ -10062,26 +10032,26 @@ end # source://graphql//lib/graphql/schema/has_single_input_argument.rb#46 module GraphQL::Schema::HasSingleInputArgument::ClassMethods - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#73 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#74 def all_field_argument_definitions; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#69 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#70 def any_field_arguments?; end # Also apply this argument to the input type: # - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#78 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#79 def argument(*args, own_argument: T.unsafe(nil), **kwargs, &block); end # source://graphql//lib/graphql/schema/has_single_input_argument.rb#47 def dummy; end - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#57 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#58 def field_arguments(context = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#61 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#62 def get_field_argument(name, context = T.unsafe(nil)); end # The base class for generated input object types @@ -10089,16 +10059,16 @@ module GraphQL::Schema::HasSingleInputArgument::ClassMethods # @param new_class [Class] The base class to use for generating input object definitions # @return [Class] The base class for this mutation's generated input object (default is {GraphQL::Schema::InputObject}) # - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#104 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#105 def input_object_class(new_class = T.unsafe(nil)); end # @param new_input_type [Class, nil] If provided, it configures this mutation to accept `new_input_type` instead of generating an input type # @return [Class] The generated {Schema::InputObject} class for this mutation's `input` # - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#113 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#114 def input_type(new_input_type = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#65 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#66 def own_field_arguments; end private @@ -10108,7 +10078,7 @@ module GraphQL::Schema::HasSingleInputArgument::ClassMethods # # @return [Class] a subclass of {.input_object_class} # - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#125 + # source://graphql//lib/graphql/schema/has_single_input_argument.rb#126 def generate_input_type; end end @@ -10190,7 +10160,7 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member private - # source://graphql//lib/graphql/schema/input_object.rb#248 + # source://graphql//lib/graphql/schema/input_object.rb#249 def overwrite_argument(key, value); end class << self @@ -10202,16 +10172,16 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # source://graphql//lib/graphql/schema/input_object.rb#58 def authorized?(obj, value, ctx); end - # source://graphql//lib/graphql/schema/input_object.rb#207 + # source://graphql//lib/graphql/schema/input_object.rb#208 def coerce_input(value, ctx); end # It's funny to think of a _result_ of an input object. # This is used for rendering the default value in introspection responses. # - # source://graphql//lib/graphql/schema/input_object.rb#225 + # source://graphql//lib/graphql/schema/input_object.rb#226 def coerce_result(value, ctx); end - # source://graphql//lib/graphql/schema/input_object.rb#143 + # source://graphql//lib/graphql/schema/input_object.rb#144 def kind; end # source://graphql//lib/graphql/schema/input_object.rb#72 @@ -10222,7 +10192,7 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # source://graphql//lib/graphql/schema/input_object.rb#81 def one_of?; end - # source://graphql//lib/graphql/schema/input_object.rb#150 + # source://graphql//lib/graphql/schema/input_object.rb#151 def validate_non_null_input(input, ctx, max_errors: T.unsafe(nil)); end end end @@ -10388,7 +10358,7 @@ class GraphQL::Schema::LateBoundType # @api Private # - # source://graphql//lib/graphql/schema/late_bound_type.rb#28 + # source://graphql//lib/graphql/schema/late_bound_type.rb#32 def inspect; end # @api Private @@ -10399,7 +10369,7 @@ class GraphQL::Schema::LateBoundType # @api Private # @return [Boolean] # - # source://graphql//lib/graphql/schema/late_bound_type.rb#32 + # source://graphql//lib/graphql/schema/late_bound_type.rb#36 def non_null?; end # @api Private @@ -10414,9 +10384,14 @@ class GraphQL::Schema::LateBoundType # @api Private # - # source://graphql//lib/graphql/schema/late_bound_type.rb#28 + # source://graphql//lib/graphql/schema/late_bound_type.rb#32 def to_s; end + # @api Private + # + # source://graphql//lib/graphql/schema/late_bound_type.rb#28 + def to_type_signature; end + # @api Private # # source://graphql//lib/graphql/schema/late_bound_type.rb#16 @@ -10467,7 +10442,7 @@ class GraphQL::Schema::List < ::GraphQL::Schema::Wrapper private # source://graphql//lib/graphql/schema/list.rb#79 - def add_max_errros_reached_message(result); end + def add_max_errors_reached_message(result); end # source://graphql//lib/graphql/schema/list.rb#70 def ensure_array(value); end @@ -10761,15 +10736,15 @@ module GraphQL::Schema::Member::HasArguments # @param arg_defn [GraphQL::Schema::Argument] # @return [GraphQL::Schema::Argument] # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#80 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#47 def add_argument(arg_defn); end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#232 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#199 def all_argument_definitions; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#125 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#92 def any_arguments?; end # @return [GraphQL::Schema::Argument] An instance of {argument_class}, created from `*args` @@ -10780,17 +10755,17 @@ module GraphQL::Schema::Member::HasArguments # @param new_arg_class [Class] A class to use for building argument definitions # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#251 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#218 def argument_class(new_arg_class = T.unsafe(nil)); end # @return [Hash GraphQL::Schema::Argument] Arguments defined on this thing, keyed by name. Includes inherited definitions] Hash GraphQL::Schema::Argument] Arguments defined on this thing, keyed by name. Includes inherited definitions # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#112 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#79 def arguments(context = T.unsafe(nil)); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#334 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#301 def arguments_statically_coercible?; end # If given a block, it will eventually yield the loaded args to the block. @@ -10800,28 +10775,28 @@ module GraphQL::Schema::Member::HasArguments # @api private # @param values [Hash] # @param context [GraphQL::Query::Context] - # @return [Interpreter::Arguments, Execution::Lazy] - # @yield [Interpreter::Arguments, Execution::Lazy] + # @return [Interpreter::Arguments, Execution::Lazy] + # @yield [Interpreter::Arguments, Execution::Lazy] # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#264 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#231 def coerce_arguments(parent_object, values, context, &block); end # @return [GraphQL::Schema::Argument, nil] Argument defined on this thing, fetched by name. # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#239 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#206 def get_argument(argument_name, context = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#442 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#409 def own_arguments; end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#96 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#63 def remove_argument(arg_defn); end # Usually, this is validated statically by RequiredArgumentsArePresent, # but not for directives. # TODO apply static validations on schema definitions? # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#321 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#288 def validate_directive_argument(arg_defn, value); end class << self @@ -10837,24 +10812,24 @@ module GraphQL::Schema::Member::HasArguments end end -# source://graphql//lib/graphql/schema/member/has_arguments.rb#342 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#309 module GraphQL::Schema::Member::HasArguments::ArgumentClassAccessor - # source://graphql//lib/graphql/schema/member/has_arguments.rb#343 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#310 def argument_class(new_arg_class = T.unsafe(nil)); end end -# source://graphql//lib/graphql/schema/member/has_arguments.rb#354 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#321 module GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader - # source://graphql//lib/graphql/schema/member/has_arguments.rb#379 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#346 def authorize_application_object(argument, id, context, loaded_application_object); end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#374 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#341 def load_and_authorize_application_object(argument, id, context); end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#366 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#333 def load_application_object(argument, id, context); end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#436 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#403 def load_application_object_failed(err); end # Look up the corresponding object for a provided ID. @@ -10865,54 +10840,54 @@ module GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader # @param id [String] A client-provided to look up # @param context [GraphQL::Query::Context] the current context # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#362 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#329 def object_from_id(type, id, context); end end -# source://graphql//lib/graphql/schema/member/has_arguments.rb#129 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#96 module GraphQL::Schema::Member::HasArguments::ClassConfigured - # source://graphql//lib/graphql/schema/member/has_arguments.rb#130 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#97 def inherited(child_class); end end -# source://graphql//lib/graphql/schema/member/has_arguments.rb#135 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#102 module GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments - # source://graphql//lib/graphql/schema/member/has_arguments.rb#156 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#123 def all_argument_definitions; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#152 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#119 def any_arguments?; end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#136 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#103 def arguments(context = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#169 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#136 def get_argument(argument_name, context = T.unsafe(nil)); end end -# source://graphql//lib/graphql/schema/member/has_arguments.rb#183 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#150 module GraphQL::Schema::Member::HasArguments::FieldConfigured - # source://graphql//lib/graphql/schema/member/has_arguments.rb#206 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#173 def all_argument_definitions; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#202 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#169 def any_arguments?; end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#184 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#151 def arguments(context = T.unsafe(nil)); end end -# source://graphql//lib/graphql/schema/member/has_arguments.rb#326 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#293 module GraphQL::Schema::Member::HasArguments::HasDirectiveArguments - # source://graphql//lib/graphql/schema/member/has_arguments.rb#327 + # source://graphql//lib/graphql/schema/member/has_arguments.rb#294 def validate_directive_argument(arg_defn, value); end end -# source://graphql//lib/graphql/schema/member/has_arguments.rb#441 +# source://graphql//lib/graphql/schema/member/has_arguments.rb#408 GraphQL::Schema::Member::HasArguments::NO_ARGUMENTS = T.let(T.unsafe(nil), Hash) # source://graphql//lib/graphql/schema/member/has_ast_node.rb#5 @@ -11013,7 +10988,7 @@ module GraphQL::Schema::Member::HasDirectives private # Modify `target` by adding items from `dirs` such that: - # - Any name conflict is overriden by the incoming member of `dirs` + # - Any name conflict is overridden by the incoming member of `dirs` # - Any other member of `dirs` is appended # # @param target [Array] @@ -11298,7 +11273,7 @@ module GraphQL::Schema::Member::RelayShortcuts private - # If one of thse values is accessed, initialize all the instance variables to retain + # If one of these values is accessed, initialize all the instance variables to retain # a consistent object shape. # # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#81 @@ -11329,40 +11304,40 @@ end # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#6 module GraphQL::Schema::Member::TypeSystemHelpers # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#7 - def initialize(*args, **_arg1, &block); end + def initialize(*_arg0, **_arg1, &_arg2); end # @raise [GraphQL::RequiredImplementationMissingError] # @return [GraphQL::TypeKinds::TypeKind] # - # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#39 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#38 def kind; end # @return [Boolean] true if this is a list type. A non-nullable list is considered a list. # - # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#30 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#29 def list?; end # @return [Boolean] true if this is a non-nullable type. A nullable list of non-nullables is considered nullable. # - # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#25 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#24 def non_null?; end # @return [Schema::List] Make a list-type representation of this type # - # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#20 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#19 def to_list_type; end # @return [Schema::NonNull] Make a non-null-type representation of this type # - # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#15 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#14 def to_non_null_type; end - # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#34 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#33 def to_type_signature; end private - # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#45 + # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#44 def inherited(subclass); end end @@ -11719,9 +11694,6 @@ class GraphQL::Schema::RelayClassicMutation < ::GraphQL::Schema::Mutation include ::GraphQL::Schema::HasSingleInputArgument extend ::GraphQL::Schema::HasSingleInputArgument::ClassMethods - # source://graphql//lib/graphql/schema/member/has_arguments.rb#68 - def load_client_mutation_id(value, _context = T.unsafe(nil)); end - # Override {GraphQL::Schema::Resolver#resolve_with_support} to # delete `client_mutation_id` from the kwargs. # @@ -12079,7 +12051,7 @@ end # source://graphql//lib/graphql/schema.rb#1537 module GraphQL::Schema::SubclassGetReferencesTo # source://graphql//lib/graphql/schema.rb#1538 - def get_references_to(type_name); end + def get_references_to(type_defn); end end # This class can be extended to create fields on your subscription root. @@ -12923,17 +12895,17 @@ class GraphQL::Schema::Warden # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#371 + # source://graphql//lib/graphql/schema/warden.rb#370 def orphan_type?(type_defn); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#385 + # source://graphql//lib/graphql/schema/warden.rb#384 def reachable_type_set; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#379 + # source://graphql//lib/graphql/schema/warden.rb#378 def read_through; end # @api private @@ -12964,7 +12936,7 @@ class GraphQL::Schema::Warden # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#375 + # source://graphql//lib/graphql/schema/warden.rb#374 def visible?(member); end # @api private @@ -12975,7 +12947,7 @@ class GraphQL::Schema::Warden # @api private # - # source://graphql//lib/graphql/schema/warden.rb#423 + # source://graphql//lib/graphql/schema/warden.rb#422 def visit_type(type, unvisited_types, visited_type_set, type_by_name_hash, included_interface_possible_types_set, include_interface_possible_types:); end class << self @@ -13802,7 +13774,7 @@ module GraphQL::StaticValidation::FieldsWillMerge def find_fields_and_fragments(selections, owner_type:, parents:, fields:, fragment_spreads:); end # Given two list of parents, find out if they are mutually exclusive - # In this context, `parents` represends the "self scope" of the field, + # In this context, `parents` represents the "self scope" of the field, # what types may be found at this point in the query. # # @return [Boolean] @@ -17402,7 +17374,7 @@ class GraphQL::TypeKinds::TypeKind # source://graphql//lib/graphql/type_kinds.rb#40 def object?; end - # Does this TypeKind have multiple possible implementors? + # Does this TypeKind have multiple possible implementers? # # @deprecated Use `abstract?` instead of `resolves?`. # @return [Boolean] diff --git a/sorbet/rbi/gems/nokogiri@1.16.5.rbi b/sorbet/rbi/gems/nokogiri@1.16.6.rbi similarity index 100% rename from sorbet/rbi/gems/nokogiri@1.16.5.rbi rename to sorbet/rbi/gems/nokogiri@1.16.6.rbi diff --git a/sorbet/rbi/gems/rdoc@6.6.3.1.rbi b/sorbet/rbi/gems/rdoc@6.7.0.rbi similarity index 95% rename from sorbet/rbi/gems/rdoc@6.6.3.1.rbi rename to sorbet/rbi/gems/rdoc@6.7.0.rbi index 130ee1a63..ad2e9bf7b 100644 --- a/sorbet/rbi/gems/rdoc@6.6.3.1.rbi +++ b/sorbet/rbi/gems/rdoc@6.7.0.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `rdoc` gem. # Please instead update this file by running `bin/tapioca gem rdoc`. + module ERB::Escape private @@ -68,7 +69,7 @@ end # source://rdoc//lib/rdoc.rb#58 module RDoc class << self - # Seaches and returns the directory for settings. + # Searches and returns the directory for settings. # # 1. $HOME/.rdoc directory, if it exists. # 2. The +rdoc+ directory under the path specified by the @@ -1553,7 +1554,7 @@ class RDoc::Context < ::RDoc::CodeObject # aren't part of RDoc. # # source://rdoc//lib/rdoc/context.rb#713 - def each_ancestor; end + def each_ancestor(&_); end # Iterator for attributes # @@ -2942,7 +2943,7 @@ class RDoc::Markdown # source://rdoc//lib/rdoc/markdown.rb#16383 def _DefinitionListItem; end - # DefinitionListLabel = StrChunk:label @Sp @Newline { label } + # DefinitionListLabel = Inline:label @Sp @Newline { label } # # source://rdoc//lib/rdoc/markdown.rb#16449 def _DefinitionListLabel; end @@ -6086,19 +6087,24 @@ class RDoc::Markup::ToBs < ::RDoc::Markup::ToRdoc # source://rdoc//lib/rdoc/markup/to_bs.rb#33 def accept_heading(heading); end - # Turns on or off regexp handling for +convert_string+ + # Prepares the visitor for consuming +list_item+ # # source://rdoc//lib/rdoc/markup/to_bs.rb#46 + def accept_list_item_start(list_item); end + + # Turns on or off regexp handling for +convert_string+ + # + # source://rdoc//lib/rdoc/markup/to_bs.rb#71 def annotate(tag); end # Calls convert_string on the result of convert_regexp_handling # - # source://rdoc//lib/rdoc/markup/to_bs.rb#59 + # source://rdoc//lib/rdoc/markup/to_bs.rb#84 def convert_regexp_handling(target); end # Adds bold or underline mixed with backspaces # - # source://rdoc//lib/rdoc/markup/to_bs.rb#66 + # source://rdoc//lib/rdoc/markup/to_bs.rb#91 def convert_string(string); end # Sets a flag that is picked up by #annotate to do the right thing in @@ -6696,7 +6702,7 @@ class RDoc::Markup::ToMarkdown < ::RDoc::Markup::ToRdoc # Finishes consumption of `list_item` # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#56 + # source://rdoc//lib/rdoc/markup/to_markdown.rb#54 def accept_list_item_end(list_item); end # Prepares the visitor for consuming `list_item` @@ -6778,7 +6784,7 @@ class RDoc::Markup::ToRdoc < ::RDoc::Markup::Formatter # Adds +paragraph+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#203 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#211 def accept_indented_paragraph(paragraph); end # Finishes consumption of +list+ @@ -6798,52 +6804,52 @@ class RDoc::Markup::ToRdoc < ::RDoc::Markup::Formatter # Prepares the visitor for consuming +list+ # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#168 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#176 def accept_list_start(list); end # Adds +paragraph+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#195 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#203 def accept_paragraph(paragraph); end # Adds +raw+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#213 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#221 def accept_raw(raw); end # Adds +rule+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#220 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#228 def accept_rule(rule); end # Adds +table+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#243 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#251 def accept_table(header, body, aligns); end # Outputs +verbatim+ indented 2 columns # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#229 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#237 def accept_verbatim(verbatim); end # Applies attribute-specific markup to +text+ using RDoc::AttributeManager # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#271 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#279 def attributes(text); end # Returns the generated output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#279 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#287 def end_accepting; end # Adds a newline to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#295 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#303 def handle_regexp_HARD_BREAK(target); end # Removes preceding \\ from the suppressed crossref +target+ # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#286 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#294 def handle_regexp_SUPPRESSED_CROSSREF(target); end # Current indent amount for output in characters @@ -6888,13 +6894,13 @@ class RDoc::Markup::ToRdoc < ::RDoc::Markup::Formatter # Prepares the visitor for text generation # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#302 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#310 def start_accepting; end # Adds the stored #prefix to the output and clears it. Lists generate a # prefix for later consumption. # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#316 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#324 def use_prefix; end # Output width in characters @@ -6909,7 +6915,7 @@ class RDoc::Markup::ToRdoc < ::RDoc::Markup::Formatter # Wraps +text+ to #width # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#326 + # source://rdoc//lib/rdoc/markup/to_rdoc.rb#334 def wrap(text); end end @@ -7682,339 +7688,339 @@ end class RDoc::Options # @return [Options] a new instance of Options # - # source://rdoc//lib/rdoc/options.rb#346 + # source://rdoc//lib/rdoc/options.rb#347 def initialize(loaded_options = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/options.rb#459 + # source://rdoc//lib/rdoc/options.rb#460 def ==(other); end # Character-set for HTML output. #encoding is preferred over #charset # - # source://rdoc//lib/rdoc/options.rb#151 + # source://rdoc//lib/rdoc/options.rb#152 def charset; end # Character-set for HTML output. #encoding is preferred over #charset # - # source://rdoc//lib/rdoc/options.rb#151 + # source://rdoc//lib/rdoc/options.rb#152 def charset=(_arg0); end # Check that the files on the command line exist # - # source://rdoc//lib/rdoc/options.rb#483 + # source://rdoc//lib/rdoc/options.rb#484 def check_files; end # Ensure only one generator is loaded # - # source://rdoc//lib/rdoc/options.rb#504 + # source://rdoc//lib/rdoc/options.rb#505 def check_generator; end # If true, only report on undocumented files # - # source://rdoc//lib/rdoc/options.rb#243 + # source://rdoc//lib/rdoc/options.rb#244 def coverage_report; end # If true, only report on undocumented files # - # source://rdoc//lib/rdoc/options.rb#243 + # source://rdoc//lib/rdoc/options.rb#244 def coverage_report=(_arg0); end # Set the title, but only if not already set. Used to set the title # from a source file, so that a title set from the command line # will have the priority. # - # source://rdoc//lib/rdoc/options.rb#516 + # source://rdoc//lib/rdoc/options.rb#517 def default_title=(string); end # If true, RDoc will not write any files. # - # source://rdoc//lib/rdoc/options.rb#156 + # source://rdoc//lib/rdoc/options.rb#157 def dry_run; end # If true, RDoc will not write any files. # - # source://rdoc//lib/rdoc/options.rb#156 + # source://rdoc//lib/rdoc/options.rb#157 def dry_run=(_arg0); end # The output encoding. All input files will be transcoded to this encoding. # # The default encoding is UTF-8. This is set via --encoding. # - # source://rdoc//lib/rdoc/options.rb#163 + # source://rdoc//lib/rdoc/options.rb#164 def encoding; end # The output encoding. All input files will be transcoded to this encoding. # # The default encoding is UTF-8. This is set via --encoding. # - # source://rdoc//lib/rdoc/options.rb#163 + # source://rdoc//lib/rdoc/options.rb#164 def encoding=(_arg0); end # Create a regexp for #exclude # - # source://rdoc//lib/rdoc/options.rb#544 + # source://rdoc//lib/rdoc/options.rb#545 def exclude; end # Files matching this pattern will be excluded # - # source://rdoc//lib/rdoc/options.rb#168 + # source://rdoc//lib/rdoc/options.rb#169 def exclude=(_arg0); end # The list of files to be processed # - # source://rdoc//lib/rdoc/options.rb#173 + # source://rdoc//lib/rdoc/options.rb#174 def files; end # The list of files to be processed # - # source://rdoc//lib/rdoc/options.rb#173 + # source://rdoc//lib/rdoc/options.rb#174 def files=(_arg0); end # Completes any unfinished option setup business such as filtering for # existent files, creating a regexp for #exclude and setting a default # #template. # - # source://rdoc//lib/rdoc/options.rb#560 + # source://rdoc//lib/rdoc/options.rb#561 def finish; end # Fixes the page_dir to be relative to the root_dir and adds the page_dir to # the files list. # - # source://rdoc//lib/rdoc/options.rb#601 + # source://rdoc//lib/rdoc/options.rb#602 def finish_page_dir; end # Create the output even if the output directory does not look # like an rdoc output directory # - # source://rdoc//lib/rdoc/options.rb#179 + # source://rdoc//lib/rdoc/options.rb#180 def force_output; end # Create the output even if the output directory does not look # like an rdoc output directory # - # source://rdoc//lib/rdoc/options.rb#179 + # source://rdoc//lib/rdoc/options.rb#180 def force_output=(_arg0); end # Scan newer sources than the flag file if true. # - # source://rdoc//lib/rdoc/options.rb#184 + # source://rdoc//lib/rdoc/options.rb#185 def force_update; end # Scan newer sources than the flag file if true. # - # source://rdoc//lib/rdoc/options.rb#184 + # source://rdoc//lib/rdoc/options.rb#185 def force_update=(_arg0); end # Formatter to mark up text with # - # source://rdoc//lib/rdoc/options.rb#189 + # source://rdoc//lib/rdoc/options.rb#190 def formatter; end # Formatter to mark up text with # - # source://rdoc//lib/rdoc/options.rb#189 + # source://rdoc//lib/rdoc/options.rb#190 def formatter=(_arg0); end # Description of the output generator (set with the --format option) # - # source://rdoc//lib/rdoc/options.rb#194 + # source://rdoc//lib/rdoc/options.rb#195 def generator; end # Description of the output generator (set with the --format option) # - # source://rdoc//lib/rdoc/options.rb#194 + # source://rdoc//lib/rdoc/options.rb#195 def generator=(_arg0); end # Returns a properly-space list of generators and their descriptions. # - # source://rdoc//lib/rdoc/options.rb#620 + # source://rdoc//lib/rdoc/options.rb#621 def generator_descriptions; end # For #== # - # source://rdoc//lib/rdoc/options.rb#199 + # source://rdoc//lib/rdoc/options.rb#200 def generator_name; end # Loaded generator options. Used to prevent --help from loading the same # options multiple times. # - # source://rdoc//lib/rdoc/options.rb#205 + # source://rdoc//lib/rdoc/options.rb#206 def generator_options; end # Loaded generator options. Used to prevent --help from loading the same # options multiple times. # - # source://rdoc//lib/rdoc/options.rb#205 + # source://rdoc//lib/rdoc/options.rb#206 def generator_options=(_arg0); end # Old rdoc behavior: hyperlink all words that match a method name, # even if not preceded by '#' or '::' # - # source://rdoc//lib/rdoc/options.rb#211 + # source://rdoc//lib/rdoc/options.rb#212 def hyperlink_all; end # Old rdoc behavior: hyperlink all words that match a method name, # even if not preceded by '#' or '::' # - # source://rdoc//lib/rdoc/options.rb#211 + # source://rdoc//lib/rdoc/options.rb#212 def hyperlink_all=(_arg0); end - # source://rdoc//lib/rdoc/options.rb#351 + # source://rdoc//lib/rdoc/options.rb#352 def init_ivars; end - # source://rdoc//lib/rdoc/options.rb#396 + # source://rdoc//lib/rdoc/options.rb#397 def init_with(map); end # Include line numbers in the source code # - # source://rdoc//lib/rdoc/options.rb#216 + # source://rdoc//lib/rdoc/options.rb#217 def line_numbers; end # Include line numbers in the source code # - # source://rdoc//lib/rdoc/options.rb#216 + # source://rdoc//lib/rdoc/options.rb#217 def line_numbers=(_arg0); end # The output locale. # - # source://rdoc//lib/rdoc/options.rb#221 + # source://rdoc//lib/rdoc/options.rb#222 def locale; end # The output locale. # - # source://rdoc//lib/rdoc/options.rb#221 + # source://rdoc//lib/rdoc/options.rb#222 def locale=(_arg0); end # The directory where locale data live. # - # source://rdoc//lib/rdoc/options.rb#226 + # source://rdoc//lib/rdoc/options.rb#227 def locale_dir; end # The directory where locale data live. # - # source://rdoc//lib/rdoc/options.rb#226 + # source://rdoc//lib/rdoc/options.rb#227 def locale_dir=(_arg0); end # Name of the file, class or module to display in the initial index page (if # not specified the first file we encounter is used) # - # source://rdoc//lib/rdoc/options.rb#232 + # source://rdoc//lib/rdoc/options.rb#233 def main_page; end # Name of the file, class or module to display in the initial index page (if # not specified the first file we encounter is used) # - # source://rdoc//lib/rdoc/options.rb#232 + # source://rdoc//lib/rdoc/options.rb#233 def main_page=(_arg0); end # The default markup format. The default is 'rdoc'. 'markdown', 'tomdoc' # and 'rd' are also built-in. # - # source://rdoc//lib/rdoc/options.rb#238 + # source://rdoc//lib/rdoc/options.rb#239 def markup; end # The default markup format. The default is 'rdoc'. 'markdown', 'tomdoc' # and 'rd' are also built-in. # - # source://rdoc//lib/rdoc/options.rb#238 + # source://rdoc//lib/rdoc/options.rb#239 def markup=(_arg0); end # The name of the output directory # - # source://rdoc//lib/rdoc/options.rb#248 + # source://rdoc//lib/rdoc/options.rb#249 def op_dir; end # The name of the output directory # - # source://rdoc//lib/rdoc/options.rb#248 + # source://rdoc//lib/rdoc/options.rb#249 def op_dir=(_arg0); end # The OptionParser for this instance # - # source://rdoc//lib/rdoc/options.rb#253 + # source://rdoc//lib/rdoc/options.rb#254 def option_parser; end # The OptionParser for this instance # - # source://rdoc//lib/rdoc/options.rb#253 + # source://rdoc//lib/rdoc/options.rb#254 def option_parser=(_arg0); end # Output heading decorations? # - # source://rdoc//lib/rdoc/options.rb#257 + # source://rdoc//lib/rdoc/options.rb#258 def output_decoration; end # Output heading decorations? # - # source://rdoc//lib/rdoc/options.rb#257 + # source://rdoc//lib/rdoc/options.rb#258 def output_decoration=(_arg0); end - # source://rdoc//lib/rdoc/options.rb#427 + # source://rdoc//lib/rdoc/options.rb#428 def override(map); end # Directory where guides, FAQ, and other pages not associated with a class # live. You may leave this unset if these are at the root of your project. # - # source://rdoc//lib/rdoc/options.rb#263 + # source://rdoc//lib/rdoc/options.rb#264 def page_dir; end # Directory where guides, FAQ, and other pages not associated with a class # live. You may leave this unset if these are at the root of your project. # - # source://rdoc//lib/rdoc/options.rb#263 + # source://rdoc//lib/rdoc/options.rb#264 def page_dir=(_arg0); end # Parses command line options. # - # source://rdoc//lib/rdoc/options.rb#646 + # source://rdoc//lib/rdoc/options.rb#647 def parse(argv); end # Is RDoc in pipe mode? # - # source://rdoc//lib/rdoc/options.rb#268 + # source://rdoc//lib/rdoc/options.rb#269 def pipe; end # Is RDoc in pipe mode? # - # source://rdoc//lib/rdoc/options.rb#268 + # source://rdoc//lib/rdoc/options.rb#269 def pipe=(_arg0); end # Don't display progress as we process the files # - # source://rdoc//lib/rdoc/options.rb#1191 + # source://rdoc//lib/rdoc/options.rb#1192 def quiet; end # Set quietness to +bool+ # - # source://rdoc//lib/rdoc/options.rb#1198 + # source://rdoc//lib/rdoc/options.rb#1199 def quiet=(bool); end # Array of directories to search for files to satisfy an :include: # - # source://rdoc//lib/rdoc/options.rb#273 + # source://rdoc//lib/rdoc/options.rb#274 def rdoc_include; end # Array of directories to search for files to satisfy an :include: # - # source://rdoc//lib/rdoc/options.rb#273 + # source://rdoc//lib/rdoc/options.rb#274 def rdoc_include=(_arg0); end # Root of the source documentation will be generated for. Set this when # building documentation outside the source directory. Defaults to the # current directory. # - # source://rdoc//lib/rdoc/options.rb#280 + # source://rdoc//lib/rdoc/options.rb#281 def root; end # Root of the source documentation will be generated for. Set this when # building documentation outside the source directory. Defaults to the # current directory. # - # source://rdoc//lib/rdoc/options.rb#280 + # source://rdoc//lib/rdoc/options.rb#281 def root=(_arg0); end # Removes directories from +path+ that are outside the current directory # - # source://rdoc//lib/rdoc/options.rb#1205 + # source://rdoc//lib/rdoc/options.rb#1206 def sanitize_path(path); end # Set up an output generator for the named +generator_name+. @@ -8023,117 +8029,117 @@ class RDoc::Options # the options instance. This allows generators to add custom options or set # default options. # - # source://rdoc//lib/rdoc/options.rb#1232 + # source://rdoc//lib/rdoc/options.rb#1233 def setup_generator(generator_name = T.unsafe(nil)); end # Include the '#' at the front of hyperlinked instance method names # - # source://rdoc//lib/rdoc/options.rb#285 + # source://rdoc//lib/rdoc/options.rb#286 def show_hash; end # Include the '#' at the front of hyperlinked instance method names # - # source://rdoc//lib/rdoc/options.rb#285 + # source://rdoc//lib/rdoc/options.rb#286 def show_hash=(_arg0); end # Indicates if files of test suites should be skipped # - # source://rdoc//lib/rdoc/options.rb#344 + # source://rdoc//lib/rdoc/options.rb#345 def skip_tests; end # Indicates if files of test suites should be skipped # - # source://rdoc//lib/rdoc/options.rb#344 + # source://rdoc//lib/rdoc/options.rb#345 def skip_tests=(_arg0); end # Directory to copy static files from # - # source://rdoc//lib/rdoc/options.rb#290 + # source://rdoc//lib/rdoc/options.rb#291 def static_path; end # Directory to copy static files from # - # source://rdoc//lib/rdoc/options.rb#290 + # source://rdoc//lib/rdoc/options.rb#291 def static_path=(_arg0); end # The number of columns in a tab # - # source://rdoc//lib/rdoc/options.rb#295 + # source://rdoc//lib/rdoc/options.rb#296 def tab_width; end # The number of columns in a tab # - # source://rdoc//lib/rdoc/options.rb#295 + # source://rdoc//lib/rdoc/options.rb#296 def tab_width=(_arg0); end # Template to be used when generating output # - # source://rdoc//lib/rdoc/options.rb#300 + # source://rdoc//lib/rdoc/options.rb#301 def template; end # Template to be used when generating output # - # source://rdoc//lib/rdoc/options.rb#300 + # source://rdoc//lib/rdoc/options.rb#301 def template=(_arg0); end # Directory the template lives in # - # source://rdoc//lib/rdoc/options.rb#305 + # source://rdoc//lib/rdoc/options.rb#306 def template_dir; end # Directory the template lives in # - # source://rdoc//lib/rdoc/options.rb#305 + # source://rdoc//lib/rdoc/options.rb#306 def template_dir=(_arg0); end # Finds the template dir for +template+ # - # source://rdoc//lib/rdoc/options.rb#1254 + # source://rdoc//lib/rdoc/options.rb#1255 def template_dir_for(template); end # Additional template stylesheets # - # source://rdoc//lib/rdoc/options.rb#310 + # source://rdoc//lib/rdoc/options.rb#311 def template_stylesheets; end # Additional template stylesheets # - # source://rdoc//lib/rdoc/options.rb#310 + # source://rdoc//lib/rdoc/options.rb#311 def template_stylesheets=(_arg0); end # Documentation title # - # source://rdoc//lib/rdoc/options.rb#315 + # source://rdoc//lib/rdoc/options.rb#316 def title; end # Documentation title # - # source://rdoc//lib/rdoc/options.rb#315 + # source://rdoc//lib/rdoc/options.rb#316 def title=(_arg0); end # For dumping YAML # - # source://rdoc//lib/rdoc/options.rb#523 + # source://rdoc//lib/rdoc/options.rb#524 def to_yaml(*options); end # Should RDoc update the timestamps in the output dir? # - # source://rdoc//lib/rdoc/options.rb#320 + # source://rdoc//lib/rdoc/options.rb#321 def update_output_dir; end # Should RDoc update the timestamps in the output dir? # - # source://rdoc//lib/rdoc/options.rb#320 + # source://rdoc//lib/rdoc/options.rb#321 def update_output_dir=(_arg0); end # Verbosity, zero means quiet # - # source://rdoc//lib/rdoc/options.rb#325 + # source://rdoc//lib/rdoc/options.rb#326 def verbosity; end # Verbosity, zero means quiet # - # source://rdoc//lib/rdoc/options.rb#325 + # source://rdoc//lib/rdoc/options.rb#326 def verbosity=(_arg0); end # Minimum visibility of a documented method. One of +:public+, +:protected+, @@ -8142,7 +8148,7 @@ class RDoc::Options # The +:nodoc+ visibility ignores all directives related to visibility. The # directive. # - # source://rdoc//lib/rdoc/options.rb#340 + # source://rdoc//lib/rdoc/options.rb#341 def visibility; end # Sets the minimum visibility of a documented method. @@ -8152,31 +8158,31 @@ class RDoc::Options # When +:all+ is passed, visibility is set to +:private+, similarly to # RDOCOPT="--all", see #visibility for more information. # - # source://rdoc//lib/rdoc/options.rb#1271 + # source://rdoc//lib/rdoc/options.rb#1272 def visibility=(visibility); end # Displays a warning using Kernel#warn if we're being verbose # - # source://rdoc//lib/rdoc/options.rb#1283 + # source://rdoc//lib/rdoc/options.rb#1284 def warn(message); end # URL of web cvs frontend # - # source://rdoc//lib/rdoc/options.rb#330 + # source://rdoc//lib/rdoc/options.rb#331 def webcvs; end # URL of web cvs frontend # - # source://rdoc//lib/rdoc/options.rb#330 + # source://rdoc//lib/rdoc/options.rb#331 def webcvs=(_arg0); end # Writes the YAML file .rdoc_options to the current directory containing the # parsed options. # - # source://rdoc//lib/rdoc/options.rb#1291 + # source://rdoc//lib/rdoc/options.rb#1292 def write_options; end - # source://rdoc//lib/rdoc/options.rb#423 + # source://rdoc//lib/rdoc/options.rb#424 def yaml_initialize(tag, map); end class << self @@ -8185,7 +8191,7 @@ class RDoc::Options # # @raise [RDoc::Error] # - # source://rdoc//lib/rdoc/options.rb#1305 + # source://rdoc//lib/rdoc/options.rb#1306 def load_options; end end end @@ -8227,7 +8233,7 @@ class RDoc::Parser # # @return [Parser] a new instance of Parser # - # source://rdoc//lib/rdoc/parser.rb#252 + # source://rdoc//lib/rdoc/parser.rb#254 def initialize(top_level, file_name, content, options, stats); end # The name of the file being parsed @@ -8237,7 +8243,7 @@ class RDoc::Parser # Normalizes tabs in +body+ # - # source://rdoc//lib/rdoc/parser.rb#272 + # source://rdoc//lib/rdoc/parser.rb#274 def handle_tab_width(body); end class << self @@ -8268,20 +8274,20 @@ class RDoc::Parser # Returns the file type from the modeline in +file_name+ # - # source://rdoc//lib/rdoc/parser.rb#141 + # source://rdoc//lib/rdoc/parser.rb#143 def check_modeline(file_name); end # Finds and instantiates the correct parser for the given +file_name+ and # +content+. # - # source://rdoc//lib/rdoc/parser.rb#167 + # source://rdoc//lib/rdoc/parser.rb#169 def for(top_level, file_name, content, options, stats); end # Record which file types this parser can understand. # # It is ok to call this multiple times. # - # source://rdoc//lib/rdoc/parser.rb#201 + # source://rdoc//lib/rdoc/parser.rb#203 def parse_files_matching(regexp); end # An Array of arrays that maps file extension (or name) regular @@ -8294,7 +8300,7 @@ class RDoc::Parser # Removes an emacs-style modeline from the first line of the document # - # source://rdoc//lib/rdoc/parser.rb#208 + # source://rdoc//lib/rdoc/parser.rb#210 def remove_modeline(content); end # If there is a markup: parser_name comment at the front of the @@ -8313,7 +8319,7 @@ class RDoc::Parser # # Any comment style may be used to hide the markup comment. # - # source://rdoc//lib/rdoc/parser.rb#229 + # source://rdoc//lib/rdoc/parser.rb#231 def use_markup(content); end # Checks if +file+ is a zip file in disguise. Signatures from @@ -8582,17 +8588,17 @@ class RDoc::Parser::C < ::RDoc::Parser # Finds a comment matching +type+ and +const_name+ either above the # comment or in the matching Document- section. # - # source://rdoc//lib/rdoc/parser/c.rb#779 + # source://rdoc//lib/rdoc/parser/c.rb#789 def find_const_comment(type, const_name, class_name = T.unsafe(nil)); end # Handles modifiers in +comment+ and updates +meth_obj+ as appropriate. # - # source://rdoc//lib/rdoc/parser/c.rb#796 + # source://rdoc//lib/rdoc/parser/c.rb#806 def find_modifiers(comment, meth_obj); end # Finds a Document-method override for +meth_obj+ on +class_name+ # - # source://rdoc//lib/rdoc/parser/c.rb#806 + # source://rdoc//lib/rdoc/parser/c.rb#816 def find_override_comment(class_name, meth_obj); end # Generate a Ruby-method table @@ -8608,13 +8614,13 @@ class RDoc::Parser::C < ::RDoc::Parser # Creates a new RDoc::Attr +attr_name+ on class +var_name+ that is either # +read+, +write+ or both # - # source://rdoc//lib/rdoc/parser/c.rb#828 + # source://rdoc//lib/rdoc/parser/c.rb#838 def handle_attr(var_name, attr_name, read, write); end # Creates a new RDoc::NormalClass or RDoc::NormalModule based on +type+ # named +class_name+ in +parent+ which was assigned to the C +var_name+. # - # source://rdoc//lib/rdoc/parser/c.rb#857 + # source://rdoc//lib/rdoc/parser/c.rb#867 def handle_class_module(var_name, type, class_name, parent, in_module); end # Adds constants. By providing some_value: at the start of the comment you @@ -8626,24 +8632,24 @@ class RDoc::Parser::C < ::RDoc::Parser # Will override INT2FIX(300) with the value +300+ in the output # RDoc. Values may include quotes and escaped colons (\:). # - # source://rdoc//lib/rdoc/parser/c.rb#922 + # source://rdoc//lib/rdoc/parser/c.rb#932 def handle_constants(type, var_name, const_name, definition); end # Removes #ifdefs that would otherwise confuse us # - # source://rdoc//lib/rdoc/parser/c.rb#972 + # source://rdoc//lib/rdoc/parser/c.rb#982 def handle_ifdefs_in(body); end # Adds an RDoc::AnyMethod +meth_name+ defined on a class or module assigned # to +var_name+. +type+ is the type of method definition function used. # +singleton_method+ and +module_function+ create a singleton method. # - # source://rdoc//lib/rdoc/parser/c.rb#981 + # source://rdoc//lib/rdoc/parser/c.rb#991 def handle_method(type, var_name, meth_name, function, param_count, source_file = T.unsafe(nil)); end # Registers a singleton class +sclass_var+ as a singleton of +class_var+ # - # source://rdoc//lib/rdoc/parser/c.rb#1051 + # source://rdoc//lib/rdoc/parser/c.rb#1061 def handle_singleton(sclass_var, class_var); end # Maps C variable names to names of Ruby classes (and singleton classes) @@ -8654,7 +8660,7 @@ class RDoc::Parser::C < ::RDoc::Parser # Loads the variable map with the given +name+ from the RDoc::Store, if # present. # - # source://rdoc//lib/rdoc/parser/c.rb#1062 + # source://rdoc//lib/rdoc/parser/c.rb#1072 def load_variable_map(map_name); end # Look for directives in a normal comment block: @@ -8665,7 +8671,7 @@ class RDoc::Parser::C < ::RDoc::Parser # # This method modifies the +comment+ # - # source://rdoc//lib/rdoc/parser/c.rb#1091 + # source://rdoc//lib/rdoc/parser/c.rb#1101 def look_for_directives_in(context, comment); end # Classes found while parsing the C file that were not yet registered due to @@ -8676,25 +8682,25 @@ class RDoc::Parser::C < ::RDoc::Parser # Creates a RDoc::Comment instance. # - # source://rdoc//lib/rdoc/parser/c.rb#1221 + # source://rdoc//lib/rdoc/parser/c.rb#1231 def new_comment(text = T.unsafe(nil), location = T.unsafe(nil), language = T.unsafe(nil)); end # Extracts parameters from the +method_body+ and returns a method # parameter string. Follows 1.9.3dev's scan-arg-spec, see README.EXT # - # source://rdoc//lib/rdoc/parser/c.rb#1110 + # source://rdoc//lib/rdoc/parser/c.rb#1120 def rb_scan_args(method_body); end # Removes lines that are commented out that might otherwise get picked up # when scanning for classes and methods # - # source://rdoc//lib/rdoc/parser/c.rb#1193 + # source://rdoc//lib/rdoc/parser/c.rb#1203 def remove_commented_out_lines; end # Extracts the classes, modules, methods, attributes, constants and aliases # from a C file and returns an RDoc::TopLevel for this file # - # source://rdoc//lib/rdoc/parser/c.rb#1201 + # source://rdoc//lib/rdoc/parser/c.rb#1211 def scan; end # Maps C variable names to names of Ruby singleton classes @@ -9406,76 +9412,76 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # Extracts call parameters from the token stream. # - # source://rdoc//lib/rdoc/parser/ruby.rb#801 + # source://rdoc//lib/rdoc/parser/ruby.rb#803 def parse_call_parameters(tk); end # Parses a class in +context+ with +comment+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#844 + # source://rdoc//lib/rdoc/parser/ruby.rb#846 def parse_class(container, single, tk, comment); end # Parses and creates a regular class # - # source://rdoc//lib/rdoc/parser/ruby.rb#878 + # source://rdoc//lib/rdoc/parser/ruby.rb#880 def parse_class_regular(container, declaration_context, single, name_t, given_name, comment); end # Parses a singleton class in +container+ with the given +name+ and # +comment+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#918 + # source://rdoc//lib/rdoc/parser/ruby.rb#920 def parse_class_singleton(container, name, comment); end # Generates an RDoc::Method or RDoc::Attr from +comment+ by looking for # :method: or :attr: directives in +comment+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1083 + # source://rdoc//lib/rdoc/parser/ruby.rb#1085 def parse_comment(container, tk, comment); end # Parse a comment that is describing an attribute in +container+ with the # given +name+ and +comment+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1111 + # source://rdoc//lib/rdoc/parser/ruby.rb#1113 def parse_comment_attr(container, type, name, comment); end - # source://rdoc//lib/rdoc/parser/ruby.rb#1123 + # source://rdoc//lib/rdoc/parser/ruby.rb#1125 def parse_comment_ghost(container, text, name, column, line_no, comment); end # Creates an RDoc::Method on +container+ from +comment+ if there is a # Signature section in the comment # - # source://rdoc//lib/rdoc/parser/ruby.rb#1162 + # source://rdoc//lib/rdoc/parser/ruby.rb#1164 def parse_comment_tomdoc(container, tk, comment); end # Parses a constant in +context+ with +comment+. If +ignore_constants+ is # true, no found constants will be added to RDoc. # - # source://rdoc//lib/rdoc/parser/ruby.rb#957 + # source://rdoc//lib/rdoc/parser/ruby.rb#959 def parse_constant(container, tk, comment, ignore_constants = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/parser/ruby.rb#1024 + # source://rdoc//lib/rdoc/parser/ruby.rb#1026 def parse_constant_body(container, constant, is_array_or_hash); end # Parses a Module#private_constant or Module#public_constant call from +tk+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2094 + # source://rdoc//lib/rdoc/parser/ruby.rb#2103 def parse_constant_visibility(container, single, tk); end # Parses an +include+ or +extend+, indicated by the +klass+ and adds it to # +container+ # with +comment+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1197 + # source://rdoc//lib/rdoc/parser/ruby.rb#1199 def parse_extend_or_include(klass, container, comment); end # Parses identifiers that can create new methods or change visibility. # # Returns true if the comment was not consumed. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1235 + # source://rdoc//lib/rdoc/parser/ruby.rb#1237 def parse_identifier(container, single, tk, comment); end # Parses an +included+ with a block feature of ActiveSupport::Concern. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1217 + # source://rdoc//lib/rdoc/parser/ruby.rb#1219 def parse_included_with_activesupport_concern(container, comment); end # Parses a meta-programmed attribute and creates an RDoc::Attr. @@ -9506,34 +9512,34 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # # end # - # source://rdoc//lib/rdoc/parser/ruby.rb#1299 + # source://rdoc//lib/rdoc/parser/ruby.rb#1301 def parse_meta_attr(context, single, tk, comment); end # Parses a meta-programmed method # - # source://rdoc//lib/rdoc/parser/ruby.rb#1333 + # source://rdoc//lib/rdoc/parser/ruby.rb#1335 def parse_meta_method(container, single, tk, comment); end # Parses the name of a metaprogrammed method. +comment+ is used to # determine the name while +tk+ is used in an error message if the name # cannot be determined. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1379 + # source://rdoc//lib/rdoc/parser/ruby.rb#1381 def parse_meta_method_name(comment, tk); end # Parses the parameters and block for a meta-programmed method. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1403 + # source://rdoc//lib/rdoc/parser/ruby.rb#1405 def parse_meta_method_params(container, single, meth, tk, comment); end # Parses a normal method defined by +def+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1435 + # source://rdoc//lib/rdoc/parser/ruby.rb#1437 def parse_method(container, single, tk, comment); end # Parses a method that needs to be ignored. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1514 + # source://rdoc//lib/rdoc/parser/ruby.rb#1522 def parse_method_dummy(container); end # Parses the name of a method in +container+. @@ -9541,25 +9547,25 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # Returns the method name, the container it is in (for def Foo.name) and if # it is a singleton or regular method. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1527 + # source://rdoc//lib/rdoc/parser/ruby.rb#1535 def parse_method_name(container); end # For the given +container+ and initial name token +name_t+ the method name # is parsed from the token stream for a regular method. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1554 + # source://rdoc//lib/rdoc/parser/ruby.rb#1562 def parse_method_name_regular(container, name_t); end # For the given +container+ and initial name token +name_t+ the method name # and the new +container+ (if necessary) are parsed from the token stream # for a singleton method. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1572 + # source://rdoc//lib/rdoc/parser/ruby.rb#1580 def parse_method_name_singleton(container, name_t); end # Extracts +yield+ parameters from +method+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1616 + # source://rdoc//lib/rdoc/parser/ruby.rb#1624 def parse_method_or_yield_parameters(method = T.unsafe(nil), modifiers = T.unsafe(nil)); end # Capture the method's parameters. Along the way, look for a comment @@ -9569,69 +9575,69 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # # and add this as the block_params for the method # - # source://rdoc//lib/rdoc/parser/ruby.rb#1683 + # source://rdoc//lib/rdoc/parser/ruby.rb#1691 def parse_method_parameters(method); end # Parses the parameters and body of +meth+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1484 + # source://rdoc//lib/rdoc/parser/ruby.rb#1492 def parse_method_params_and_body(container, single, meth, added_container); end # Parses an RDoc::NormalModule in +container+ with +comment+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1698 + # source://rdoc//lib/rdoc/parser/ruby.rb#1706 def parse_module(container, single, tk, comment); end # Parses an RDoc::Require in +context+ containing +comment+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1720 + # source://rdoc//lib/rdoc/parser/ruby.rb#1728 def parse_require(context, comment); end # Parses a rescue # - # source://rdoc//lib/rdoc/parser/ruby.rb#1741 + # source://rdoc//lib/rdoc/parser/ruby.rb#1749 def parse_rescue; end # The core of the Ruby parser. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1772 + # source://rdoc//lib/rdoc/parser/ruby.rb#1780 def parse_statements(container, single = T.unsafe(nil), current_method = T.unsafe(nil), comment = T.unsafe(nil)); end # Parse up to +no+ symbol arguments # - # source://rdoc//lib/rdoc/parser/ruby.rb#1962 + # source://rdoc//lib/rdoc/parser/ruby.rb#1971 def parse_symbol_arg(no = T.unsafe(nil)); end # Parses up to +no+ symbol arguments surrounded by () and places them in # +args+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1977 + # source://rdoc//lib/rdoc/parser/ruby.rb#1986 def parse_symbol_arg_paren(no); end # Parses up to +no+ symbol arguments separated by spaces and places them in # +args+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2005 + # source://rdoc//lib/rdoc/parser/ruby.rb#2014 def parse_symbol_arg_space(no, tk); end # Returns symbol text from the next token # - # source://rdoc//lib/rdoc/parser/ruby.rb#2036 + # source://rdoc//lib/rdoc/parser/ruby.rb#2045 def parse_symbol_in_arg; end # Parses statements in the top-level +container+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#2053 + # source://rdoc//lib/rdoc/parser/ruby.rb#2062 def parse_top_level_statements(container); end # Determines the visibility in +container+ from +tk+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#2071 + # source://rdoc//lib/rdoc/parser/ruby.rb#2080 def parse_visibility(container, single, tk); end # Determines the block parameter for +context+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#2110 + # source://rdoc//lib/rdoc/parser/ruby.rb#2119 def parse_yield(context, single, tk, method); end # Directives are modifier comments that can appear after class, module, or @@ -9646,7 +9652,7 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # the name is in +allowed+. A directive can be found anywhere up to the end # of the current line. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2131 + # source://rdoc//lib/rdoc/parser/ruby.rb#2140 def read_directive(allowed); end # Handles directives following the definition for +context+ (any @@ -9654,38 +9660,38 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # # See also RDoc::Markup::PreProcess#handle_directive # - # source://rdoc//lib/rdoc/parser/ruby.rb#2163 + # source://rdoc//lib/rdoc/parser/ruby.rb#2172 def read_documentation_modifiers(context, allowed); end # Records the location of this +container+ in the file for this parser and # adds it to the list of classes and modules in the file. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2182 + # source://rdoc//lib/rdoc/parser/ruby.rb#2191 def record_location(container); end # Retrieve comment body without =begin/=end # - # source://rdoc//lib/rdoc/parser/ruby.rb#1761 + # source://rdoc//lib/rdoc/parser/ruby.rb#1769 def retrieve_comment_body(tk); end # Scans this Ruby file for Ruby constructs # - # source://rdoc//lib/rdoc/parser/ruby.rb#2194 + # source://rdoc//lib/rdoc/parser/ruby.rb#2203 def scan; end # skip the var [in] part of a 'for' statement # - # source://rdoc//lib/rdoc/parser/ruby.rb#2282 + # source://rdoc//lib/rdoc/parser/ruby.rb#2291 def skip_for_variable; end # Skips the next method in +container+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#2293 + # source://rdoc//lib/rdoc/parser/ruby.rb#2302 def skip_method(container); end # while, until, and for have an optional do # - # source://rdoc//lib/rdoc/parser/ruby.rb#2241 + # source://rdoc//lib/rdoc/parser/ruby.rb#2250 def skip_optional_do_after_expression; end # Skip opening parentheses and yield the block. @@ -9696,7 +9702,7 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # Skip spaces until a comment is found # - # source://rdoc//lib/rdoc/parser/ruby.rb#2302 + # source://rdoc//lib/rdoc/parser/ruby.rb#2311 def skip_tkspace_comment(skip_nl = T.unsafe(nil)); end # Marks containers between +container+ and +ancestor+ as ignored @@ -9713,12 +9719,12 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # Updates visibility in +container+ from +vis_type+ and +vis+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2314 + # source://rdoc//lib/rdoc/parser/ruby.rb#2323 def update_visibility(container, vis_type, vis, singleton); end # Prints +message+ to +$stderr+ unless we're being quiet # - # source://rdoc//lib/rdoc/parser/ruby.rb#2359 + # source://rdoc//lib/rdoc/parser/ruby.rb#2368 def warn(message); end end @@ -9839,310 +9845,310 @@ end # RD format parser for headings, paragraphs, lists, verbatim sections that # exist as blocks. # -# source://rdoc//lib/rdoc/rd/block_parser.rb#664 +# source://rdoc//lib/rdoc/rd/block_parser.rb#660 class RDoc::RD::BlockParser < ::Racc::Parser # Creates a new RDoc::RD::BlockParser. Use #parse to parse an rd-format # document. # # @return [BlockParser] a new instance of BlockParser # - # source://rdoc//lib/rdoc/rd/block_parser.rb#699 + # source://rdoc//lib/rdoc/rd/block_parser.rb#695 def initialize; end # reduce 0 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1334 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1330 def _reduce_1(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1376 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1372 def _reduce_10(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1381 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1377 def _reduce_11(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1386 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1382 def _reduce_12(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1394 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1390 def _reduce_13(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1400 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1396 def _reduce_14(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1407 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1403 def _reduce_15(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1412 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1408 def _reduce_16(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1417 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1413 def _reduce_17(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1428 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1424 def _reduce_18(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1439 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1435 def _reduce_19(val, _values, result); end # @raise [ParseError] # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1339 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1335 def _reduce_2(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1445 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1441 def _reduce_20(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1451 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1447 def _reduce_21(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1457 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1453 def _reduce_22(val, _values, result); end # reduce 26 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1473 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1469 def _reduce_27(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1479 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1475 def _reduce_28(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1485 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1481 def _reduce_29(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1344 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1340 def _reduce_3(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1491 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1487 def _reduce_30(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1496 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1492 def _reduce_31(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1501 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1497 def _reduce_32(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1507 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1503 def _reduce_33(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1512 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1508 def _reduce_34(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1517 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1513 def _reduce_35(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1523 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1519 def _reduce_36(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1529 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1525 def _reduce_37(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1534 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1530 def _reduce_38(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1539 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1535 def _reduce_39(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1349 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1345 def _reduce_4(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1545 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1541 def _reduce_40(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1551 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1547 def _reduce_41(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1556 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1552 def _reduce_42(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1561 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1557 def _reduce_43(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1569 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1565 def _reduce_44(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1575 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1571 def _reduce_45(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1580 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1576 def _reduce_46(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1585 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1581 def _reduce_47(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1591 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1587 def _reduce_48(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1597 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1593 def _reduce_49(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1354 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1350 def _reduce_5(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1603 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1599 def _reduce_50(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1609 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1605 def _reduce_51(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1615 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1611 def _reduce_52(val, _values, result); end # reduce 53 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1622 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1618 def _reduce_54(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1627 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1623 def _reduce_55(val, _values, result); end # reduce 56 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1634 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1630 def _reduce_57(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1359 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1355 def _reduce_6(val, _values, result); end # reduce 61 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1647 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1643 def _reduce_62(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1653 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1649 def _reduce_63(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1659 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1655 def _reduce_64(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1665 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1661 def _reduce_65(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1671 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1667 def _reduce_66(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1677 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1673 def _reduce_67(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1682 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1678 def _reduce_68(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1687 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1683 def _reduce_69(val, _values, result); end # reduce 70 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1694 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1690 def _reduce_71(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1699 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1695 def _reduce_72(val, _values, result); end # reduce 7 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1366 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1362 def _reduce_8(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1371 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1367 def _reduce_9(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1704 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1700 def _reduce_none(val, _values, result); end # Adds footnote +content+ to the document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1049 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1045 def add_footnote(content); end # Adds label +label+ to the document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1063 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1059 def add_label(label); end # Retrieves the content of +values+ as a single String # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1032 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1028 def content(values); end # Footnotes for this document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#683 + # source://rdoc//lib/rdoc/rd/block_parser.rb#679 def footnotes; end # Path to find included files in # - # source://rdoc//lib/rdoc/rd/block_parser.rb#693 + # source://rdoc//lib/rdoc/rd/block_parser.rb#689 def include_path; end # Path to find included files in # - # source://rdoc//lib/rdoc/rd/block_parser.rb#693 + # source://rdoc//lib/rdoc/rd/block_parser.rb#689 def include_path=(_arg0); end # Labels for items in this document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#688 + # source://rdoc//lib/rdoc/rd/block_parser.rb#684 def labels; end # Current line number # - # source://rdoc//lib/rdoc/rd/block_parser.rb#987 + # source://rdoc//lib/rdoc/rd/block_parser.rb#983 def line_index; end # Returns the next token from the document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#755 + # source://rdoc//lib/rdoc/rd/block_parser.rb#751 def next_token; end # Raises a ParseError when invalid formatting is found # # @raise [ParseError] # - # source://rdoc//lib/rdoc/rd/block_parser.rb#971 + # source://rdoc//lib/rdoc/rd/block_parser.rb#967 def on_error(et, ev, _values); end # Creates a paragraph for +value+ # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1039 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1035 def paragraph(value); end # Parses +src+ and returns an RDoc::Markup::Document. # - # source://rdoc//lib/rdoc/rd/block_parser.rb#711 + # source://rdoc//lib/rdoc/rd/block_parser.rb#707 def parse(src); end private # Cuts off excess whitespace in +src+ # - # source://rdoc//lib/rdoc/rd/block_parser.rb#935 + # source://rdoc//lib/rdoc/rd/block_parser.rb#931 def cut_off(src); end # Formats line numbers +line_numbers+ prettily # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1023 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1019 def format_line_num(*line_numbers); end # Retrieves the content for +file+ from the include_path # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1004 + # source://rdoc//lib/rdoc/rd/block_parser.rb#1000 def get_included(file); end # Yields to the given block if +indent+ matches the current indent, otherwise # an indentation token is processed. # - # source://rdoc//lib/rdoc/rd/block_parser.rb#917 + # source://rdoc//lib/rdoc/rd/block_parser.rb#913 def if_current_indent_equal(indent); end # Parses subtree +src+ # - # source://rdoc//lib/rdoc/rd/block_parser.rb#994 + # source://rdoc//lib/rdoc/rd/block_parser.rb#990 def parse_subtree(src); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#962 + # source://rdoc//lib/rdoc/rd/block_parser.rb#958 def set_term_to_element(parent, term); end end -# source://rdoc//lib/rdoc/rd/block_parser.rb#1328 +# source://rdoc//lib/rdoc/rd/block_parser.rb#1324 RDoc::RD::BlockParser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) # Inline keeps track of markup and labels to create proper links. @@ -10195,234 +10201,234 @@ end # RD format parser for inline markup such as emphasis, links, footnotes, etc. # -# source://rdoc//lib/rdoc/rd/inline_parser.rb#665 +# source://rdoc//lib/rdoc/rd/inline_parser.rb#661 class RDoc::RD::InlineParser < ::Racc::Parser # Creates a new parser for inline markup in the rd format. The +block_parser+ # is used to for footnotes and labels in the inline text. # # @return [InlineParser] a new instance of InlineParser # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#738 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#734 def initialize(block_parser); end # reduce 100 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1750 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1746 def _reduce_101(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1757 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1753 def _reduce_102(val, _values, result); end # reduce 108 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1775 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1771 def _reduce_109(val, _values, result); end # reduce 110 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1782 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1778 def _reduce_111(val, _values, result); end # reduce 112 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1790 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1786 def _reduce_113(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1795 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1791 def _reduce_114(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1800 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1796 def _reduce_115(val, _values, result); end # reduce 12 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1413 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1409 def _reduce_13(val, _values, result); end # reduce 135 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1845 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1841 def _reduce_136(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1420 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1416 def _reduce_14(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1427 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1423 def _reduce_15(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1434 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1430 def _reduce_16(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1441 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1437 def _reduce_17(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1449 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1445 def _reduce_18(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1455 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1451 def _reduce_19(val, _values, result); end # reduce 1 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1385 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1381 def _reduce_2(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1463 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1459 def _reduce_20(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1469 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1465 def _reduce_21(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1478 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1474 def _reduce_22(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1484 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1480 def _reduce_23(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1490 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1486 def _reduce_24(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1496 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1492 def _reduce_25(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1505 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1501 def _reduce_26(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1511 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1507 def _reduce_27(val, _values, result); end # reduce 28 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1520 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1516 def _reduce_29(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1390 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1386 def _reduce_3(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1525 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1521 def _reduce_30(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1530 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1526 def _reduce_31(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1536 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1532 def _reduce_32(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1542 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1538 def _reduce_33(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1548 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1544 def _reduce_34(val, _values, result); end # reduce 35 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1556 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1552 def _reduce_36(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1561 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1557 def _reduce_37(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1566 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1562 def _reduce_38(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1572 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1568 def _reduce_39(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1578 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1574 def _reduce_40(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1584 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1580 def _reduce_41(val, _values, result); end # reduce 42 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1592 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1588 def _reduce_43(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1598 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1594 def _reduce_44(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1604 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1600 def _reduce_45(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1610 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1606 def _reduce_46(val, _values, result); end # reduce 56 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1636 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1632 def _reduce_57(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1642 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1638 def _reduce_58(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1648 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1644 def _reduce_59(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1654 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1650 def _reduce_60(val, _values, result); end # reduce 61 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1661 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1657 def _reduce_62(val, _values, result); end # reduce 63 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1669 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1665 def _reduce_64(val, _values, result); end # reduce 77 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1701 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1697 def _reduce_78(val, _values, result); end # reduce 137 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1852 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#1848 def _reduce_none(val, _values, result); end # Creates a new RDoc::RD::Inline for the +rdoc+ markup and the raw +reference+ # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#887 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#883 def inline(rdoc, reference = T.unsafe(nil)); end # Returns the next token from the inline text # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#756 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#752 def next_token; end # Returns words following an error # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#876 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#872 def next_words_on_error; end # Raises a ParseError when invalid formatting is found # # @raise [ParseError] # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#836 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#832 def on_error(et, ev, values); end # Parses the +inline+ text from RD format into RDoc format. # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#745 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#741 def parse(inline); end # Returns words before the error # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#853 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#849 def prev_words_on_error(ev); end private # Returns the last line of +src+ # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#864 + # source://rdoc//lib/rdoc/rd/inline_parser.rb#860 def last_line(src); end end -# source://rdoc//lib/rdoc/rd/inline_parser.rb#1377 +# source://rdoc//lib/rdoc/rd/inline_parser.rb#1373 RDoc::RD::InlineParser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) # This is the driver for generating RDoc output. It handles file parsing and diff --git a/sorbet/rbi/gems/reline@0.5.7.rbi b/sorbet/rbi/gems/reline@0.5.9.rbi similarity index 69% rename from sorbet/rbi/gems/reline@0.5.7.rbi rename to sorbet/rbi/gems/reline@0.5.9.rbi index 52a7a0f84..6c8a636e2 100644 --- a/sorbet/rbi/gems/reline@0.5.7.rbi +++ b/sorbet/rbi/gems/reline@0.5.9.rbi @@ -11,148 +11,145 @@ module Reline extend ::SingleForwardable class << self - # source://reline//lib/reline.rb#547 + # source://reline//lib/reline.rb#483 def core; end - # source://reline//lib/reline.rb#543 + # source://reline//lib/reline.rb#479 def encoding_system_needs; end - # source://reline//lib/reline.rb#524 + # source://reline//lib/reline.rb#460 def insert_text(*args, &block); end - # source://reline//lib/reline.rb#567 + # source://reline//lib/reline.rb#503 def line_editor; end - # source://reline//lib/reline.rb#563 + # source://reline//lib/reline.rb#499 def ungetc(c); end - - # source://reline//lib/reline.rb#571 - def update_iogate; end end end -# source://reline//lib/reline/ansi.rb#5 -class Reline::ANSI - class << self - # source://reline//lib/reline/ansi.rb#340 - def clear_screen; end +# source://reline//lib/reline/io/ansi.rb#4 +class Reline::ANSI < ::Reline::IO + # @return [ANSI] a new instance of ANSI + # + # source://reline//lib/reline/io/ansi.rb#36 + def initialize; end - # source://reline//lib/reline/ansi.rb#249 - def cursor_pos; end + # @return [Boolean] + # + # source://reline//lib/reline/io/ansi.rb#283 + def both_tty?; end - # source://reline//lib/reline/ansi.rb#357 - def deprep(otio); end + # source://reline//lib/reline/io/ansi.rb#343 + def clear_screen; end - # @return [Boolean] - # - # source://reline//lib/reline/ansi.rb#210 - def empty_buffer?; end + # source://reline//lib/reline/io/ansi.rb#248 + def cursor_pos; end - # source://reline//lib/reline/ansi.rb#39 - def encoding; end + # source://reline//lib/reline/io/ansi.rb#359 + def deprep(otio); end - # source://reline//lib/reline/ansi.rb#328 - def erase_after_cursor; end + # @return [Boolean] + # + # source://reline//lib/reline/io/ansi.rb#209 + def empty_buffer?; end - # source://reline//lib/reline/ansi.rb#232 - def get_screen_size; end + # source://reline//lib/reline/io/ansi.rb#43 + def encoding; end - # if the usage expects to wait indefinitely, use Float::INFINITY for timeout_second - # - # source://reline//lib/reline/ansi.rb#202 - def getc(timeout_second); end + # source://reline//lib/reline/io/ansi.rb#331 + def erase_after_cursor; end - # source://reline//lib/reline/ansi.rb#304 - def hide_cursor; end + # source://reline//lib/reline/io/ansi.rb#231 + def get_screen_size; end - # @return [Boolean] - # - # source://reline//lib/reline/ansi.rb#206 - def in_pasting?; end + # if the usage expects to wait indefinitely, use Float::INFINITY for timeout_second + # + # source://reline//lib/reline/io/ansi.rb#201 + def getc(timeout_second); end - # source://reline//lib/reline/ansi.rb#169 - def inner_getc(timeout_second); end + # source://reline//lib/reline/io/ansi.rb#307 + def hide_cursor; end - # source://reline//lib/reline/ansi.rb#151 - def input=(val); end + # @return [Boolean] + # + # source://reline//lib/reline/io/ansi.rb#205 + def in_pasting?; end - # source://reline//lib/reline/ansi.rb#284 - def move_cursor_column(x); end + # source://reline//lib/reline/io/ansi.rb#170 + def inner_getc(timeout_second); end - # source://reline//lib/reline/ansi.rb#296 - def move_cursor_down(x); end + # source://reline//lib/reline/io/ansi.rb#154 + def input=(val); end - # source://reline//lib/reline/ansi.rb#288 - def move_cursor_up(x); end + # source://reline//lib/reline/io/ansi.rb#287 + def move_cursor_column(x); end - # source://reline//lib/reline/ansi.rb#156 - def output=(val); end + # source://reline//lib/reline/io/ansi.rb#299 + def move_cursor_down(x); end - # source://reline//lib/reline/ansi.rb#350 - def prep; end + # source://reline//lib/reline/io/ansi.rb#291 + def move_cursor_up(x); end - # source://reline//lib/reline/ansi.rb#190 - def read_bracketed_paste; end + # source://reline//lib/reline/io/ansi.rb#158 + def output=(val); end - # source://reline//lib/reline/ansi.rb#221 - def retrieve_keybuffer; end + # source://reline//lib/reline/io/ansi.rb#352 + def prep; end - # This only works when the cursor is at the bottom of the scroll range - # For more details, see https://github.com/ruby/reline/pull/577#issuecomment-1646679623 - # - # source://reline//lib/reline/ansi.rb#334 - def scroll_down(x); end + # source://reline//lib/reline/io/ansi.rb#189 + def read_bracketed_paste; end - # source://reline//lib/reline/ansi.rb#70 - def set_bracketed_paste_key_bindings(config); end + # source://reline//lib/reline/io/ansi.rb#220 + def retrieve_keybuffer; end - # source://reline//lib/reline/ansi.rb#47 - def set_default_key_bindings(config, allow_terminfo: T.unsafe(nil)); end + # This only works when the cursor is at the bottom of the scroll range + # For more details, see https://github.com/ruby/reline/pull/577#issuecomment-1646679623 + # + # source://reline//lib/reline/io/ansi.rb#337 + def scroll_down(x); end - # source://reline//lib/reline/ansi.rb#76 - def set_default_key_bindings_ansi_cursor(config); end + # source://reline//lib/reline/io/ansi.rb#70 + def set_bracketed_paste_key_bindings(config); end - # source://reline//lib/reline/ansi.rb#115 - def set_default_key_bindings_comprehensive_list(config); end + # source://reline//lib/reline/io/ansi.rb#47 + def set_default_key_bindings(config, allow_terminfo: T.unsafe(nil)); end - # source://reline//lib/reline/ansi.rb#98 - def set_default_key_bindings_terminfo(config); end + # source://reline//lib/reline/io/ansi.rb#76 + def set_default_key_bindings_ansi_cursor(config); end - # source://reline//lib/reline/ansi.rb#242 - def set_screen_size(rows, columns); end + # source://reline//lib/reline/io/ansi.rb#115 + def set_default_key_bindings_comprehensive_list(config); end - # source://reline//lib/reline/ansi.rb#346 - def set_winch_handler(&handler); end + # source://reline//lib/reline/io/ansi.rb#98 + def set_default_key_bindings_terminfo(config); end - # source://reline//lib/reline/ansi.rb#316 - def show_cursor; end + # source://reline//lib/reline/io/ansi.rb#241 + def set_screen_size(rows, columns); end - # source://reline//lib/reline/ansi.rb#217 - def ungetc(c); end + # source://reline//lib/reline/io/ansi.rb#348 + def set_winch_handler(&handler); end - # @return [Boolean] - # - # source://reline//lib/reline/ansi.rb#43 - def win?; end + # source://reline//lib/reline/io/ansi.rb#319 + def show_cursor; end - # source://reline//lib/reline/ansi.rb#160 - def with_raw_input; end - end + # source://reline//lib/reline/io/ansi.rb#216 + def ungetc(c); end + + # source://reline//lib/reline/io/ansi.rb#162 + def with_raw_input; end end -# source://reline//lib/reline/ansi.rb#20 +# source://reline//lib/reline/io/ansi.rb#17 Reline::ANSI::ANSI_CURSOR_KEY_BINDINGS = T.let(T.unsafe(nil), Hash) -# source://reline//lib/reline/ansi.rb#8 +# source://reline//lib/reline/io/ansi.rb#5 Reline::ANSI::CAPNAME_KEY_BINDINGS = T.let(T.unsafe(nil), Hash) -# source://reline//lib/reline/ansi.rb#189 +# source://reline//lib/reline/io/ansi.rb#188 Reline::ANSI::END_BRACKETED_PASTE = T.let(T.unsafe(nil), String) -# source://reline//lib/reline/ansi.rb#6 -Reline::ANSI::RESET_COLOR = T.let(T.unsafe(nil), String) - -# source://reline//lib/reline/ansi.rb#188 +# source://reline//lib/reline/io/ansi.rb#187 Reline::ANSI::START_BRACKETED_PASTE = T.let(T.unsafe(nil), String) # source://reline//lib/reline/config.rb#1 @@ -162,13 +159,13 @@ class Reline::Config # source://reline//lib/reline/config.rb#31 def initialize; end - # source://reline//lib/reline/config.rb#154 + # source://reline//lib/reline/config.rb#156 def add_default_key_binding(keystroke, target); end - # source://reline//lib/reline/config.rb#150 + # source://reline//lib/reline/config.rb#152 def add_default_key_binding_by_keymap(keymap, keystroke, target); end - # source://reline//lib/reline/config.rb#142 + # source://reline//lib/reline/config.rb#141 def add_oneshot_key_binding(keystroke, target); end # Returns the value of attribute autocompletion. @@ -183,11 +180,11 @@ class Reline::Config # source://reline//lib/reline/config.rb#29 def autocompletion=(_arg0); end - # source://reline//lib/reline/config.rb#320 + # source://reline//lib/reline/config.rb#323 def bind_key(key, func_name); end - # source://reline//lib/reline/config.rb#237 - def bind_variable(name, value); end + # source://reline//lib/reline/config.rb#240 + def bind_variable(name, value, raw_value); end # source://reline//lib/reline/config.rb#26 def completion_ignore_case; end @@ -207,15 +204,15 @@ class Reline::Config # source://reline//lib/reline/config.rb#26 def disable_completion=(_arg0); end - # source://reline//lib/reline/config.rb#64 + # source://reline//lib/reline/config.rb#66 def editing_mode; end - # source://reline//lib/reline/config.rb#68 + # source://reline//lib/reline/config.rb#70 def editing_mode=(val); end # @return [Boolean] # - # source://reline//lib/reline/config.rb#72 + # source://reline//lib/reline/config.rb#74 def editing_mode_is?(*val); end # source://reline//lib/reline/config.rb#26 @@ -230,7 +227,7 @@ class Reline::Config # source://reline//lib/reline/config.rb#26 def enable_bracketed_paste=(_arg0); end - # source://reline//lib/reline/config.rb#202 + # source://reline//lib/reline/config.rb#205 def handle_directive(directive, file, no, if_stack); end # source://reline//lib/reline/config.rb#26 @@ -239,7 +236,7 @@ class Reline::Config # source://reline//lib/reline/config.rb#26 def history_size=(_arg0); end - # source://reline//lib/reline/config.rb#84 + # source://reline//lib/reline/config.rb#86 def inputrc_path; end # source://reline//lib/reline/config.rb#26 @@ -248,13 +245,13 @@ class Reline::Config # source://reline//lib/reline/config.rb#26 def isearch_terminators=(_arg0); end - # source://reline//lib/reline/config.rb#134 + # source://reline//lib/reline/config.rb#136 def key_bindings; end - # source://reline//lib/reline/config.rb#334 + # source://reline//lib/reline/config.rb#337 def key_notation_to_code(notation); end - # source://reline//lib/reline/config.rb#76 + # source://reline//lib/reline/config.rb#78 def keymap; end # source://reline//lib/reline/config.rb#26 @@ -265,25 +262,25 @@ class Reline::Config # @return [Boolean] # - # source://reline//lib/reline/config.rb#80 + # source://reline//lib/reline/config.rb#82 def loaded?; end - # source://reline//lib/reline/config.rb#368 + # source://reline//lib/reline/config.rb#371 def parse_keyseq(str); end - # source://reline//lib/reline/config.rb#114 + # source://reline//lib/reline/config.rb#116 def read(file = T.unsafe(nil)); end - # source://reline//lib/reline/config.rb#158 + # source://reline//lib/reline/config.rb#160 def read_lines(lines, file = T.unsafe(nil)); end - # source://reline//lib/reline/config.rb#57 + # source://reline//lib/reline/config.rb#59 def reset; end - # source://reline//lib/reline/config.rb#146 + # source://reline//lib/reline/config.rb#148 def reset_oneshot_key_bindings; end - # source://reline//lib/reline/config.rb#315 + # source://reline//lib/reline/config.rb#318 def retrieve_string(str); end # source://reline//lib/reline/config.rb#26 @@ -317,12 +314,12 @@ class Reline::Config private - # source://reline//lib/reline/config.rb#110 + # source://reline//lib/reline/config.rb#112 def default_inputrc_path; end # @return [Boolean] # - # source://reline//lib/reline/config.rb#376 + # source://reline//lib/reline/config.rb#379 def seven_bit_encoding?(encoding); end end @@ -362,7 +359,7 @@ Reline::Config::VARIABLE_NAMES = T.let(T.unsafe(nil), Array) # source://reline//lib/reline/config.rb#24 Reline::Config::VARIABLE_NAME_SYMBOLS = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline.rb#48 +# source://reline//lib/reline.rb#39 class Reline::Core extend ::Forwardable @@ -370,251 +367,325 @@ class Reline::Core # @yield [_self] # @yieldparam _self [Reline::Core] the object that the method was called on # - # source://reline//lib/reline.rb#76 + # source://reline//lib/reline.rb#67 def initialize; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#170 + # source://reline//lib/reline.rb#161 def add_dialog_proc(name_sym, p, context = T.unsafe(nil)); end - # source://reline//lib/reline.rb#470 + # source://reline//lib/reline.rb#406 def ambiguous_width; end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def auto_indent_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#155 + # source://reline//lib/reline.rb#146 def auto_indent_proc=(p); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def basic_quote_characters; end - # source://reline//lib/reline.rb#112 + # source://reline//lib/reline.rb#103 def basic_quote_characters=(v); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def basic_word_break_characters; end - # source://reline//lib/reline.rb#104 + # source://reline//lib/reline.rb#95 def basic_word_break_characters=(v); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def completer_quote_characters; end - # source://reline//lib/reline.rb#116 + # source://reline//lib/reline.rb#107 def completer_quote_characters=(v); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def completer_word_break_characters; end - # source://reline//lib/reline.rb#108 + # source://reline//lib/reline.rb#99 def completer_word_break_characters=(v); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def completion_append_character; end - # source://reline//lib/reline.rb#92 + # source://reline//lib/reline.rb#83 def completion_append_character=(val); end - # source://reline//lib/reline.rb#132 + # source://reline//lib/reline.rb#123 def completion_case_fold; end - # source://reline//lib/reline.rb#128 + # source://reline//lib/reline.rb#119 def completion_case_fold=(v); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def completion_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#140 + # source://reline//lib/reline.rb#131 def completion_proc=(p); end - # source://reline//lib/reline.rb#136 + # source://reline//lib/reline.rb#127 def completion_quote_character; end # Returns the value of attribute config. # - # source://reline//lib/reline.rb#65 + # source://reline//lib/reline.rb#56 def config; end # Sets the attribute config # # @param value the value to set the attribute config to. # - # source://reline//lib/reline.rb#65 + # source://reline//lib/reline.rb#56 def config=(_arg0); end - # source://reline//lib/reline.rb#180 + # source://reline//lib/reline.rb#171 def dialog_proc(name_sym); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def dig_perfect_match_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#164 + # source://reline//lib/reline.rb#155 def dig_perfect_match_proc=(p); end - # source://reline//lib/reline.rb#204 + # source://reline//lib/reline.rb#195 def emacs_editing_mode; end # @return [Boolean] # - # source://reline//lib/reline.rb#213 + # source://reline//lib/reline.rb#204 def emacs_editing_mode?; end - # source://reline//lib/reline.rb#88 + # source://reline//lib/reline.rb#79 def encoding; end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def filename_quote_characters; end - # source://reline//lib/reline.rb#120 + # source://reline//lib/reline.rb#111 def filename_quote_characters=(v); end - # source://reline//lib/reline.rb#217 + # source://reline//lib/reline.rb#208 def get_screen_size; end # @raise [TypeError] # - # source://reline//lib/reline.rb#184 + # source://reline//lib/reline.rb#175 def input=(val); end - # source://reline//lib/reline.rb#84 + # source://reline//lib/reline.rb#75 def io_gate; end # Returns the value of attribute key_stroke. # - # source://reline//lib/reline.rb#66 + # source://reline//lib/reline.rb#57 def key_stroke; end # Sets the attribute key_stroke # # @param value the value to set the attribute key_stroke to. # - # source://reline//lib/reline.rb#66 + # source://reline//lib/reline.rb#57 def key_stroke=(_arg0); end # Returns the value of attribute last_incremental_search. # - # source://reline//lib/reline.rb#68 + # source://reline//lib/reline.rb#59 def last_incremental_search; end # Sets the attribute last_incremental_search # # @param value the value to set the attribute last_incremental_search to. # - # source://reline//lib/reline.rb#68 + # source://reline//lib/reline.rb#59 def last_incremental_search=(_arg0); end # Returns the value of attribute line_editor. # - # source://reline//lib/reline.rb#67 + # source://reline//lib/reline.rb#58 def line_editor; end # Sets the attribute line_editor # # @param value the value to set the attribute line_editor to. # - # source://reline//lib/reline.rb#67 + # source://reline//lib/reline.rb#58 def line_editor=(_arg0); end # Returns the value of attribute output. # - # source://reline//lib/reline.rb#69 + # source://reline//lib/reline.rb#60 def output; end # @raise [TypeError] # - # source://reline//lib/reline.rb#191 + # source://reline//lib/reline.rb#182 def output=(val); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def output_modifier_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#145 + # source://reline//lib/reline.rb#136 def output_modifier_proc=(p); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def pre_input_hook; end - # source://reline//lib/reline.rb#160 + # source://reline//lib/reline.rb#151 def pre_input_hook=(p); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def prompt_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#150 + # source://reline//lib/reline.rb#141 def prompt_proc=(p); end - # source://reline//lib/reline.rb#287 + # source://reline//lib/reline.rb#277 def readline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil)); end - # source://reline//lib/reline.rb#260 + # source://reline//lib/reline.rb#251 def readmultiline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil), &confirm_multiline_termination); end - # source://reline//lib/reline.rb#63 + # source://reline//lib/reline.rb#54 def special_prefixes; end - # source://reline//lib/reline.rb#124 + # source://reline//lib/reline.rb#115 def special_prefixes=(v); end - # source://reline//lib/reline.rb#199 + # source://reline//lib/reline.rb#190 def vi_editing_mode; end # @return [Boolean] # - # source://reline//lib/reline.rb#209 + # source://reline//lib/reline.rb#200 def vi_editing_mode?; end private - # source://reline//lib/reline.rb#305 + # source://reline//lib/reline.rb#294 def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination); end - # source://reline//lib/reline.rb#475 + # source://reline//lib/reline.rb#411 def may_req_ambiguous_char_width; end - # source://reline//lib/reline.rb#428 - def read_2nd_character_of_key_sequence(keyseq_timeout, buffer, c, block); end - - # source://reline//lib/reline.rb#456 - def read_escaped_key(keyseq_timeout, c, block); end - - # GNU Readline waits for "keyseq-timeout" milliseconds to see if the ESC - # is followed by a character, and times out and treats it as a standalone - # ESC if the second character does not arrive. If the second character - # comes before timed out, it is treated as a modifier key with the - # meta-property of meta-key, so that it can be distinguished from - # multibyte characters with the 8th bit turned on. - # - # GNU Readline will wait for the 2nd character with "keyseq-timeout" - # milli-seconds but wait forever after 3rd characters. + # GNU Readline watis for "keyseq-timeout" milliseconds when the input is + # ambiguous whether it is matching or matched. + # If the next character does not arrive within the specified timeout, input + # is considered as matched. + # `ESC` is ambiguous because it can be a standalone ESC (matched) or part of + # `ESC char` or part of CSI sequence (matching). # - # source://reline//lib/reline.rb#390 + # source://reline//lib/reline.rb#376 def read_io(keyseq_timeout, &block); end end -# source://reline//lib/reline.rb#49 +# source://reline//lib/reline.rb#40 Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline.rb#258 +# source://reline//lib/reline.rb#249 Reline::DEFAULT_DIALOG_CONTEXT = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline.rb#221 +# source://reline//lib/reline.rb#212 Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE = T.let(T.unsafe(nil), Proc) +# source://reline//lib/reline/io/dumb.rb#3 +class Reline::Dumb < ::Reline::IO + # @return [Dumb] a new instance of Dumb + # + # source://reline//lib/reline/io/dumb.rb#6 + def initialize(encoding: T.unsafe(nil)); end + + # source://reline//lib/reline/io/dumb.rb#87 + def clear_screen; end + + # source://reline//lib/reline/io/dumb.rb#62 + def cursor_pos; end + + # source://reline//lib/reline/io/dumb.rb#104 + def deprep(otio); end + + # @return [Boolean] + # + # source://reline//lib/reline/io/dumb.rb#14 + def dumb?; end + + # source://reline//lib/reline/io/dumb.rb#18 + def encoding; end + + # source://reline//lib/reline/io/dumb.rb#81 + def erase_after_cursor; end + + # source://reline//lib/reline/io/dumb.rb#58 + def get_screen_size; end + + # source://reline//lib/reline/io/dumb.rb#39 + def getc(_timeout_second); end + + # source://reline//lib/reline/io/dumb.rb#66 + def hide_cursor; end + + # @return [Boolean] + # + # source://reline//lib/reline/io/dumb.rb#97 + def in_pasting?; end + + # source://reline//lib/reline/io/dumb.rb#31 + def input=(val); end + + # source://reline//lib/reline/io/dumb.rb#72 + def move_cursor_column(val); end + + # source://reline//lib/reline/io/dumb.rb#78 + def move_cursor_down(val); end + + # source://reline//lib/reline/io/dumb.rb#75 + def move_cursor_up(val); end + + # source://reline//lib/reline/io/dumb.rb#101 + def prep; end + + # source://reline//lib/reline/io/dumb.rb#84 + def scroll_down(val); end + + # source://reline//lib/reline/io/dumb.rb#28 + def set_default_key_bindings(_); end + + # source://reline//lib/reline/io/dumb.rb#90 + def set_screen_size(rows, columns); end + + # source://reline//lib/reline/io/dumb.rb#94 + def set_winch_handler(&handler); end + + # source://reline//lib/reline/io/dumb.rb#69 + def show_cursor; end + + # source://reline//lib/reline/io/dumb.rb#54 + def ungetc(c); end + + # source://reline//lib/reline/io/dumb.rb#35 + def with_raw_input; end +end + +# Do not send color reset sequence +# +# source://reline//lib/reline/io/dumb.rb#4 +Reline::Dumb::RESET_COLOR = T.let(T.unsafe(nil), String) + # NOTE: For making compatible with the rb-readline gem # -# source://reline//lib/reline.rb#15 +# source://reline//lib/reline.rb#16 Reline::FILENAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped) # source://reline//lib/reline/face.rb#3 @@ -695,90 +766,7 @@ Reline::Face::Config::RESET_SGR = T.let(T.unsafe(nil), String) # source://reline//lib/reline/face.rb#4 Reline::Face::SGR_PARAMETERS = T.let(T.unsafe(nil), Hash) -# source://reline//lib/reline/general_io.rb#3 -class Reline::GeneralIO - class << self - # source://reline//lib/reline/general_io.rb#91 - def clear_screen; end - - # source://reline//lib/reline/general_io.rb#66 - def cursor_pos; end - - # source://reline//lib/reline/general_io.rb#109 - def deprep(otio); end - - # source://reline//lib/reline/general_io.rb#15 - def encoding; end - - # source://reline//lib/reline/general_io.rb#85 - def erase_after_cursor; end - - # source://reline//lib/reline/general_io.rb#62 - def get_screen_size; end - - # source://reline//lib/reline/general_io.rb#43 - def getc(_timeout_second); end - - # source://reline//lib/reline/general_io.rb#70 - def hide_cursor; end - - # @return [Boolean] - # - # source://reline//lib/reline/general_io.rb#102 - def in_pasting?; end - - # source://reline//lib/reline/general_io.rb#35 - def input=(val); end - - # source://reline//lib/reline/general_io.rb#76 - def move_cursor_column(val); end - - # source://reline//lib/reline/general_io.rb#82 - def move_cursor_down(val); end - - # source://reline//lib/reline/general_io.rb#79 - def move_cursor_up(val); end - - # source://reline//lib/reline/general_io.rb#106 - def prep; end - - # source://reline//lib/reline/general_io.rb#6 - def reset(encoding: T.unsafe(nil)); end - - # source://reline//lib/reline/general_io.rb#88 - def scroll_down(val); end - - # source://reline//lib/reline/general_io.rb#29 - def set_default_key_bindings(_); end - - # source://reline//lib/reline/general_io.rb#94 - def set_screen_size(rows, columns); end - - # source://reline//lib/reline/general_io.rb#97 - def set_winch_handler(&handler); end - - # source://reline//lib/reline/general_io.rb#73 - def show_cursor; end - - # source://reline//lib/reline/general_io.rb#58 - def ungetc(c); end - - # @return [Boolean] - # - # source://reline//lib/reline/general_io.rb#25 - def win?; end - - # source://reline//lib/reline/general_io.rb#39 - def with_raw_input; end - end -end - -# Do not send color reset sequence -# -# source://reline//lib/reline/general_io.rb#4 -Reline::GeneralIO::RESET_COLOR = T.let(T.unsafe(nil), String) - -# source://reline//lib/reline.rb#604 +# source://reline//lib/reline.rb#516 Reline::HISTORY = T.let(T.unsafe(nil), Reline::History) # source://reline//lib/reline/history.rb#1 @@ -817,16 +805,35 @@ class Reline::History < ::Array def check_index(index); end end -# source://reline//lib/reline.rb#595 -Reline::IOGate = Reline::ANSI +# source://reline//lib/reline/io.rb#3 +class Reline::IO + # @return [Boolean] + # + # source://reline//lib/reline/io.rb#27 + def dumb?; end + + # source://reline//lib/reline/io.rb#35 + def reset_color_sequence; end -# source://reline//lib/reline.rb#20 -class Reline::Key < ::Struct # @return [Boolean] # - # source://reline//lib/reline.rb#21 - def ==(other); end + # source://reline//lib/reline/io.rb#31 + def win?; end + class << self + # source://reline//lib/reline/io.rb#6 + def decide_io_gate; end + end +end + +# source://reline//lib/reline/io.rb#4 +Reline::IO::RESET_COLOR = T.let(T.unsafe(nil), String) + +# source://reline//lib/reline.rb#509 +Reline::IOGate = T.let(T.unsafe(nil), Reline::ANSI) + +# source://reline//lib/reline.rb#21 +class Reline::Key < ::Struct # Returns the value of attribute char # # @return [Object] the current value of char @@ -849,10 +856,12 @@ class Reline::Key < ::Struct # @return [Object] the newly set value def combined_char=(_); end + # For dialog_proc `key.match?(dialog.name)` + # # @return [Boolean] # - # source://reline//lib/reline.rb#21 - def match?(other); end + # source://reline//lib/reline.rb#23 + def match?(sym); end # Returns the value of attribute with_meta # @@ -878,27 +887,51 @@ end class Reline::KeyActor::Base # @return [Base] a new instance of Base # - # source://reline//lib/reline/key_actor/base.rb#8 - def initialize; end + # source://reline//lib/reline/key_actor/base.rb#2 + def initialize(mapping = T.unsafe(nil)); end # source://reline//lib/reline/key_actor/base.rb#12 - def default_key_bindings; end + def add(key, func); end + + # source://reline//lib/reline/key_actor/base.rb#27 + def clear; end - # source://reline//lib/reline/key_actor/base.rb#4 + # source://reline//lib/reline/key_actor/base.rb#23 + def get(key); end + + # source://reline//lib/reline/key_actor/base.rb#8 def get_method(key); end + + # @return [Boolean] + # + # source://reline//lib/reline/key_actor/base.rb#19 + def matching?(key); end end -# source://reline//lib/reline/key_actor/base.rb#2 -Reline::KeyActor::Base::MAPPING = T.let(T.unsafe(nil), Array) +# source://reline//lib/reline/key_actor/composite.rb#1 +class Reline::KeyActor::Composite + # @return [Composite] a new instance of Composite + # + # source://reline//lib/reline/key_actor/composite.rb#2 + def initialize(key_actors); end + + # source://reline//lib/reline/key_actor/composite.rb#10 + def get(key); end + + # @return [Boolean] + # + # source://reline//lib/reline/key_actor/composite.rb#6 + def matching?(key); end +end # source://reline//lib/reline/key_actor/emacs.rb#2 -Reline::KeyActor::Emacs::MAPPING = T.let(T.unsafe(nil), Array) +Reline::KeyActor::EMACS_MAPPING = T.let(T.unsafe(nil), Array) # source://reline//lib/reline/key_actor/vi_command.rb#2 -Reline::KeyActor::ViCommand::MAPPING = T.let(T.unsafe(nil), Array) +Reline::KeyActor::VI_COMMAND_MAPPING = T.let(T.unsafe(nil), Array) # source://reline//lib/reline/key_actor/vi_insert.rb#2 -Reline::KeyActor::ViInsert::MAPPING = T.let(T.unsafe(nil), Array) +Reline::KeyActor::VI_INSERT_MAPPING = T.let(T.unsafe(nil), Array) # source://reline//lib/reline/key_stroke.rb#1 class Reline::KeyStroke @@ -907,34 +940,21 @@ class Reline::KeyStroke # source://reline//lib/reline/key_stroke.rb#6 def initialize(config); end - # source://reline//lib/reline/key_stroke.rb#10 - def compress_meta_key(ary); end - - # @return [Boolean] - # - # source://reline//lib/reline/key_stroke.rb#46 - def equal?(me, other); end - - # source://reline//lib/reline/key_stroke.rb#87 + # source://reline//lib/reline/key_stroke.rb#42 def expand(input); end - # source://reline//lib/reline/key_stroke.rb#71 + # source://reline//lib/reline/key_stroke.rb#19 def match_status(input); end - # @return [Boolean] - # - # source://reline//lib/reline/key_stroke.rb#22 - def start_with?(me, other); end - private - # source://reline//lib/reline/key_stroke.rb#145 + # source://reline//lib/reline/key_stroke.rb#106 def key_mapping; end # returns match status of CSI/SS3 sequence and matched length # - # source://reline//lib/reline/key_stroke.rb#116 - def match_unknown_escape_sequence(input); end + # source://reline//lib/reline/key_stroke.rb#70 + def match_unknown_escape_sequence(input, vi_mode: T.unsafe(nil)); end end # source://reline//lib/reline/key_stroke.rb#4 @@ -946,6 +966,26 @@ Reline::KeyStroke::CSI_PARAMETER_BYTES_RANGE = T.let(T.unsafe(nil), Range) # source://reline//lib/reline/key_stroke.rb#2 Reline::KeyStroke::ESC_BYTE = T.let(T.unsafe(nil), Integer) +# Input partially matches to a key sequence +# +# source://reline//lib/reline/key_stroke.rb#13 +Reline::KeyStroke::MATCHED = T.let(T.unsafe(nil), Symbol) + +# Input exactly matches to a key sequence +# +# source://reline//lib/reline/key_stroke.rb#11 +Reline::KeyStroke::MATCHING = T.let(T.unsafe(nil), Symbol) + +# Input matches to a key sequence and the key sequence is a prefix of another key sequence +# +# source://reline//lib/reline/key_stroke.rb#15 +Reline::KeyStroke::MATCHING_MATCHED = T.let(T.unsafe(nil), Symbol) + +# Input does not match to any key sequence +# +# source://reline//lib/reline/key_stroke.rb#17 +Reline::KeyStroke::UNMATCHED = T.let(T.unsafe(nil), Symbol) + # source://reline//lib/reline/kill_ring.rb#1 class Reline::KillRing include ::Enumerable @@ -1024,10 +1064,10 @@ Reline::KillRing::State::YANK = T.let(T.unsafe(nil), Symbol) class Reline::LineEditor # @return [LineEditor] a new instance of LineEditor # - # source://reline//lib/reline/line_editor.rb#74 + # source://reline//lib/reline/line_editor.rb#75 def initialize(config, encoding); end - # source://reline//lib/reline/line_editor.rb#696 + # source://reline//lib/reline/line_editor.rb#697 def add_dialog_proc(name, p, context = T.unsafe(nil)); end # Returns the value of attribute auto_indent_proc. @@ -1047,22 +1087,22 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#8 def byte_pointer; end - # source://reline//lib/reline/line_editor.rb#1402 + # source://reline//lib/reline/line_editor.rb#1396 def byte_pointer=(val); end - # source://reline//lib/reline/line_editor.rb#396 + # source://reline//lib/reline/line_editor.rb#399 def calculate_overlay_levels(overlay_levels); end - # source://reline//lib/reline/line_editor.rb#1187 + # source://reline//lib/reline/line_editor.rb#1181 def call_completion_proc; end - # source://reline//lib/reline/line_editor.rb#1195 + # source://reline//lib/reline/line_editor.rb#1189 def call_completion_proc_with_checking_args(pre, target, post); end - # source://reline//lib/reline/line_editor.rb#444 + # source://reline//lib/reline/line_editor.rb#447 def clear_dialogs; end - # source://reline//lib/reline/line_editor.rb#464 + # source://reline//lib/reline/line_editor.rb#467 def clear_rendered_lines; end # Returns the value of attribute completion_append_character. @@ -1089,7 +1129,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#10 def completion_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#1341 + # source://reline//lib/reline/line_editor.rb#1335 def confirm_multiline_termination; end # Returns the value of attribute confirm_multiline_termination_proc. @@ -1104,16 +1144,16 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#9 def confirm_multiline_termination_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#302 + # source://reline//lib/reline/line_editor.rb#305 def current_byte_pointer_cursor; end - # source://reline//lib/reline/line_editor.rb#1238 + # source://reline//lib/reline/line_editor.rb#1232 def current_line; end - # source://reline//lib/reline/line_editor.rb#1368 + # source://reline//lib/reline/line_editor.rb#1362 def delete_text(start = T.unsafe(nil), length = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#903 + # source://reline//lib/reline/line_editor.rb#904 def dialog_proc_scope_completion_journey_data; end # Returns the value of attribute dig_perfect_match_proc. @@ -1128,50 +1168,50 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#15 def dig_perfect_match_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#805 + # source://reline//lib/reline/line_editor.rb#806 def editing_mode; end # @return [Boolean] # - # source://reline//lib/reline/line_editor.rb#218 + # source://reline//lib/reline/line_editor.rb#219 def eof?; end - # source://reline//lib/reline/line_editor.rb#214 + # source://reline//lib/reline/line_editor.rb#215 def finalize; end - # source://reline//lib/reline/line_editor.rb#1418 + # source://reline//lib/reline/line_editor.rb#1416 def finish; end # @return [Boolean] # - # source://reline//lib/reline/line_editor.rb#1414 + # source://reline//lib/reline/line_editor.rb#1412 def finished?; end - # source://reline//lib/reline/line_editor.rb#165 + # source://reline//lib/reline/line_editor.rb#166 def handle_signal; end - # source://reline//lib/reline/line_editor.rb#1111 + # source://reline//lib/reline/line_editor.rb#1102 def input_key(key); end - # source://reline//lib/reline/line_editor.rb#1346 + # source://reline//lib/reline/line_editor.rb#1340 def insert_pasted_text(text); end - # source://reline//lib/reline/line_editor.rb#1358 + # source://reline//lib/reline/line_editor.rb#1352 def insert_text(text); end - # source://reline//lib/reline/line_editor.rb#81 + # source://reline//lib/reline/line_editor.rb#82 def io_gate; end - # source://reline//lib/reline/line_editor.rb#1234 + # source://reline//lib/reline/line_editor.rb#1228 def line; end - # source://reline//lib/reline/line_editor.rb#349 + # source://reline//lib/reline/line_editor.rb#352 def modified_lines; end - # source://reline//lib/reline/line_editor.rb#271 + # source://reline//lib/reline/line_editor.rb#274 def multiline_off; end - # source://reline//lib/reline/line_editor.rb#267 + # source://reline//lib/reline/line_editor.rb#270 def multiline_on; end # Sets the attribute output @@ -1193,10 +1233,10 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#12 def output_modifier_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#490 + # source://reline//lib/reline/line_editor.rb#493 def print_nomultiline_prompt(prompt); end - # source://reline//lib/reline/line_editor.rb#355 + # source://reline//lib/reline/line_editor.rb#358 def prompt_list; end # Returns the value of attribute prompt_proc. @@ -1211,106 +1251,106 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#13 def prompt_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#1163 - def push_past_lines; end + # source://reline//lib/reline/line_editor.rb#1152 + def push_input_lines; end - # source://reline//lib/reline/line_editor.rb#499 + # source://reline//lib/reline/line_editor.rb#502 def render_differential; end - # source://reline//lib/reline/line_editor.rb#459 + # source://reline//lib/reline/line_editor.rb#462 def render_finished; end - # source://reline//lib/reline/line_editor.rb#481 + # source://reline//lib/reline/line_editor.rb#484 def render_full_content; end - # source://reline//lib/reline/line_editor.rb#404 + # source://reline//lib/reline/line_editor.rb#407 def render_line_differential(old_items, new_items); end - # source://reline//lib/reline/line_editor.rb#567 + # source://reline//lib/reline/line_editor.rb#570 def rerender; end - # source://reline//lib/reline/line_editor.rb#138 + # source://reline//lib/reline/line_editor.rb#139 def reset(prompt = T.unsafe(nil), encoding:); end - # source://reline//lib/reline/line_editor.rb#258 + # source://reline//lib/reline/line_editor.rb#261 def reset_line; end - # source://reline//lib/reline/line_editor.rb#222 + # source://reline//lib/reline/line_editor.rb#223 def reset_variables(prompt = T.unsafe(nil), encoding:); end - # source://reline//lib/reline/line_editor.rb#563 + # source://reline//lib/reline/line_editor.rb#566 def rest_height(wrapped_cursor_y); end - # source://reline//lib/reline/line_editor.rb#1265 + # source://reline//lib/reline/line_editor.rb#1259 def retrieve_completion_block(set_completion_quote_character = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1157 + # source://reline//lib/reline/line_editor.rb#1148 def save_old_buffer; end - # source://reline//lib/reline/line_editor.rb#361 + # source://reline//lib/reline/line_editor.rb#364 def screen_height; end - # source://reline//lib/reline/line_editor.rb#369 + # source://reline//lib/reline/line_editor.rb#372 def screen_scroll_top; end - # source://reline//lib/reline/line_editor.rb#365 + # source://reline//lib/reline/line_editor.rb#368 def screen_width; end - # source://reline//lib/reline/line_editor.rb#1177 + # source://reline//lib/reline/line_editor.rb#1171 def scroll_into_view; end - # source://reline//lib/reline/line_editor.rb#1242 + # source://reline//lib/reline/line_editor.rb#1236 def set_current_line(line, byte_pointer = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1253 + # source://reline//lib/reline/line_editor.rb#1247 def set_current_lines(lines, byte_pointer = T.unsafe(nil), line_index = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#85 + # source://reline//lib/reline/line_editor.rb#86 def set_pasting_state(in_pasting); end - # source://reline//lib/reline/line_editor.rb#205 + # source://reline//lib/reline/line_editor.rb#206 def set_signal_handlers; end - # source://reline//lib/reline/line_editor.rb#1171 - def trim_past_lines; end + # source://reline//lib/reline/line_editor.rb#1164 + def trim_input_lines; end - # source://reline//lib/reline/line_editor.rb#1101 + # source://reline//lib/reline/line_editor.rb#1092 def update(key); end - # source://reline//lib/reline/line_editor.rb#451 + # source://reline//lib/reline/line_editor.rb#454 def update_dialogs(key = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#559 + # source://reline//lib/reline/line_editor.rb#562 def upper_space_height(wrapped_cursor_y); end - # source://reline//lib/reline/line_editor.rb#1410 + # source://reline//lib/reline/line_editor.rb#1404 def whole_buffer; end - # source://reline//lib/reline/line_editor.rb#1406 + # source://reline//lib/reline/line_editor.rb#1400 def whole_lines; end - # source://reline//lib/reline/line_editor.rb#341 + # source://reline//lib/reline/line_editor.rb#344 def with_cache(key, *deps); end - # source://reline//lib/reline/line_editor.rb#977 + # source://reline//lib/reline/line_editor.rb#978 def wrap_method_call(method_symbol, method_obj, key, with_operator = T.unsafe(nil)); end # Calculate cursor position in word wrapped content. # - # source://reline//lib/reline/line_editor.rb#435 + # source://reline//lib/reline/line_editor.rb#438 def wrapped_cursor_position; end - # source://reline//lib/reline/line_editor.rb#373 + # source://reline//lib/reline/line_editor.rb#376 def wrapped_prompt_and_input_lines; end private # @return [Boolean] # - # source://reline//lib/reline/line_editor.rb#967 + # source://reline//lib/reline/line_editor.rb#968 def argumentable?(method_obj); end - # source://reline//lib/reline/line_editor.rb#1573 + # source://reline//lib/reline/line_editor.rb#1571 def backward_char(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#1874 @@ -1322,46 +1362,51 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1999 def backward_word(key); end - # source://reline//lib/reline/line_editor.rb#1590 + # source://reline//lib/reline/line_editor.rb#1588 def beginning_of_line(key); end - # source://reline//lib/reline/line_editor.rb#1429 + # @return [Boolean] + # + # source://reline//lib/reline/line_editor.rb#1408 + def buffer_empty?; end + + # source://reline//lib/reline/line_editor.rb#1427 def byteinsert(str, byte_pointer, other); end - # source://reline//lib/reline/line_editor.rb#1423 + # source://reline//lib/reline/line_editor.rb#1421 def byteslice!(str, byte_pointer, size); end - # source://reline//lib/reline/line_editor.rb#306 + # source://reline//lib/reline/line_editor.rb#309 def calculate_nearest_cursor(cursor); end - # source://reline//lib/reline/line_editor.rb#1436 + # source://reline//lib/reline/line_editor.rb#1434 def calculate_width(str, allow_escape_code = T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2057 def capitalize_word(key); end - # source://reline//lib/reline/line_editor.rb#92 + # source://reline//lib/reline/line_editor.rb#93 def check_mode_string; end - # source://reline//lib/reline/line_editor.rb#106 + # source://reline//lib/reline/line_editor.rb#107 def check_multiline_prompt(buffer, mode_string); end - # source://reline//lib/reline/line_editor.rb#997 + # source://reline//lib/reline/line_editor.rb#998 def cleanup_waiting; end # source://reline//lib/reline/line_editor.rb#1982 def clear_screen(key); end - # source://reline//lib/reline/line_editor.rb#1456 + # source://reline//lib/reline/line_editor.rb#1454 def complete(_key); end - # source://reline//lib/reline/line_editor.rb#813 + # source://reline//lib/reline/line_editor.rb#814 def complete_internal_proc(list, is_menu); end - # source://reline//lib/reline/line_editor.rb#1473 + # source://reline//lib/reline/line_editor.rb#1471 def completion_journey_move(direction); end - # source://reline//lib/reline/line_editor.rb#1489 + # source://reline//lib/reline/line_editor.rb#1487 def completion_journey_up(_key); end # source://reline//lib/reline/line_editor.rb#2103 @@ -1373,19 +1418,19 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1954 def delete_char_or_list(key); end - # source://reline//lib/reline/line_editor.rb#707 + # source://reline//lib/reline/line_editor.rb#708 def dialog_range(dialog, dialog_y); end # source://reline//lib/reline/line_editor.rb#2067 def downcase_word(key); end - # source://reline//lib/reline/line_editor.rb#2353 + # source://reline//lib/reline/line_editor.rb#2352 def ed_argument_digit(key); end # source://reline//lib/reline/line_editor.rb#1982 def ed_clear_screen(key); end - # source://reline//lib/reline/line_editor.rb#2299 + # source://reline//lib/reline/line_editor.rb#2298 def ed_delete_next_char(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2214 @@ -1408,7 +1453,7 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline//lib/reline/line_editor.rb#1516 + # source://reline//lib/reline/line_editor.rb#1514 def ed_digit(key); end # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters) @@ -1425,7 +1470,7 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline//lib/reline/line_editor.rb#1516 + # source://reline//lib/reline/line_editor.rb#1514 def ed_insert(key); end # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+, @@ -1437,22 +1482,22 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1895 def ed_kill_line(key); end - # source://reline//lib/reline/line_editor.rb#1590 + # source://reline//lib/reline/line_editor.rb#1588 def ed_move_to_beg(key); end - # source://reline//lib/reline/line_editor.rb#1596 + # source://reline//lib/reline/line_editor.rb#1594 def ed_move_to_end(key); end # source://reline//lib/reline/line_editor.rb#1845 def ed_newline(key); end - # source://reline//lib/reline/line_editor.rb#1560 + # source://reline//lib/reline/line_editor.rb#1558 def ed_next_char(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#1828 def ed_next_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1573 + # source://reline//lib/reline/line_editor.rb#1571 def ed_prev_char(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#1811 @@ -1461,13 +1506,13 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1999 def ed_prev_word(key); end - # source://reline//lib/reline/line_editor.rb#1544 + # source://reline//lib/reline/line_editor.rb#1542 def ed_quoted_insert(str, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1775 + # source://reline//lib/reline/line_editor.rb#1774 def ed_search_next_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1761 + # source://reline//lib/reline/line_editor.rb#1759 def ed_search_prev_history(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2027 @@ -1478,7 +1523,7 @@ class Reline::LineEditor # do nothing # - # source://reline//lib/reline/line_editor.rb#1495 + # source://reline//lib/reline/line_editor.rb#1493 def ed_unassigned(key); end # source://reline//lib/reline/line_editor.rb#2057 @@ -1496,7 +1541,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1874 def em_delete_prev_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2515 + # source://reline//lib/reline/line_editor.rb#2514 def em_exchange_mark(key); end # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the @@ -1516,7 +1561,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1991 def em_next_word(key); end - # source://reline//lib/reline/line_editor.rb#2510 + # source://reline//lib/reline/line_editor.rb#2509 def em_set_mark(key); end # source://reline//lib/reline/line_editor.rb#2080 @@ -1528,54 +1573,54 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1972 def em_yank_pop(key); end - # source://reline//lib/reline/line_editor.rb#2523 + # source://reline//lib/reline/line_editor.rb#2522 def emacs_editing_mode(key); end - # source://reline//lib/reline/line_editor.rb#1596 + # source://reline//lib/reline/line_editor.rb#1594 def end_of_line(key); end - # source://reline//lib/reline/line_editor.rb#2515 + # source://reline//lib/reline/line_editor.rb#2514 def exchange_point_and_mark(key); end - # source://reline//lib/reline/line_editor.rb#1560 + # source://reline//lib/reline/line_editor.rb#1558 def forward_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1746 + # source://reline//lib/reline/line_editor.rb#1744 def forward_search_history(key); end # source://reline//lib/reline/line_editor.rb#1991 def forward_word(key); end - # source://reline//lib/reline/line_editor.rb#1601 + # source://reline//lib/reline/line_editor.rb#1599 def generate_searcher(search_key); end - # source://reline//lib/reline/line_editor.rb#183 + # source://reline//lib/reline/line_editor.rb#184 def handle_interrupted; end - # source://reline//lib/reline/line_editor.rb#170 + # source://reline//lib/reline/line_editor.rb#171 def handle_resized; end - # source://reline//lib/reline/line_editor.rb#1761 + # source://reline//lib/reline/line_editor.rb#1759 def history_search_backward(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1775 + # source://reline//lib/reline/line_editor.rb#1774 def history_search_forward(key, arg: T.unsafe(nil)); end # @return [Boolean] # - # source://reline//lib/reline/line_editor.rb#971 + # source://reline//lib/reline/line_editor.rb#972 def inclusive?(method_obj); end - # source://reline//lib/reline/line_editor.rb#1685 + # source://reline//lib/reline/line_editor.rb#1683 def incremental_search_history(key); end - # source://reline//lib/reline/line_editor.rb#275 + # source://reline//lib/reline/line_editor.rb#278 def insert_new_line(cursor_line, next_line); end - # source://reline//lib/reline/line_editor.rb#1440 + # source://reline//lib/reline/line_editor.rb#1438 def key_delete(key); end - # source://reline//lib/reline/line_editor.rb#1448 + # source://reline//lib/reline/line_editor.rb#1446 def key_newline(key); end # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+, @@ -1598,19 +1643,19 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2007 def kill_word(key); end - # source://reline//lib/reline/line_editor.rb#809 + # source://reline//lib/reline/line_editor.rb#810 def menu(_target, list); end - # source://reline//lib/reline/line_editor.rb#1481 + # source://reline//lib/reline/line_editor.rb#1479 def menu_complete(_key); end - # source://reline//lib/reline/line_editor.rb#1485 + # source://reline//lib/reline/line_editor.rb#1483 def menu_complete_backward(_key); end - # source://reline//lib/reline/line_editor.rb#797 + # source://reline//lib/reline/line_editor.rb#798 def modify_lines(before, complete); end - # source://reline//lib/reline/line_editor.rb#916 + # source://reline//lib/reline/line_editor.rb#917 def move_completed_list(direction); end # source://reline//lib/reline/line_editor.rb#1789 @@ -1619,43 +1664,49 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1828 def next_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1069 + # source://reline//lib/reline/line_editor.rb#1070 def normal_char(key); end - # source://reline//lib/reline/line_editor.rb#859 + # source://reline//lib/reline/line_editor.rb#860 def perform_completion(list, just_show_list); end + # source://reline//lib/reline/line_editor.rb#2550 + def prev_action_state_value(type); end + # source://reline//lib/reline/line_editor.rb#1811 def previous_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1217 + # source://reline//lib/reline/line_editor.rb#1211 def process_auto_indent(line_index = T.unsafe(nil), cursor_dependent: T.unsafe(nil), add_newline: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1497 + # source://reline//lib/reline/line_editor.rb#1495 def process_insert(force: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1005 + # source://reline//lib/reline/line_editor.rb#1006 def process_key(key, method_symbol); end - # source://reline//lib/reline/line_editor.rb#1544 + # source://reline//lib/reline/line_editor.rb#1542 def quoted_insert(str, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#928 + # source://reline//lib/reline/line_editor.rb#2540 + def redo(_key); end + + # source://reline//lib/reline/line_editor.rb#929 def retrieve_completion_journey_state; end - # source://reline//lib/reline/line_editor.rb#1741 + # source://reline//lib/reline/line_editor.rb#1739 def reverse_search_history(key); end - # source://reline//lib/reline/line_editor.rb#943 + # source://reline//lib/reline/line_editor.rb#944 def run_for_operators(key, method_symbol, &block); end - # source://reline//lib/reline/line_editor.rb#1751 + # source://reline//lib/reline/line_editor.rb#1749 def search_history(prefix, pointer_range); end - # source://reline//lib/reline/line_editor.rb#2411 + # source://reline//lib/reline/line_editor.rb#2410 def search_next_char(key, arg, need_prev_char: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2463 + # source://reline//lib/reline/line_editor.rb#2462 def search_prev_char(key, arg, need_next_char = T.unsafe(nil)); end # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters) @@ -1672,13 +1723,16 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline//lib/reline/line_editor.rb#1516 + # source://reline//lib/reline/line_editor.rb#1514 def self_insert(key); end - # source://reline//lib/reline/line_editor.rb#2510 + # source://reline//lib/reline/line_editor.rb#2509 def set_mark(key); end - # source://reline//lib/reline/line_editor.rb#298 + # source://reline//lib/reline/line_editor.rb#2554 + def set_next_action_state(type, value); end + + # source://reline//lib/reline/line_editor.rb#301 def split_by_width(str, max_width, offset: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2027 @@ -1687,7 +1741,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2044 def transpose_words(key); end - # source://reline//lib/reline/line_editor.rb#2531 + # source://reline//lib/reline/line_editor.rb#2530 def undo(_key); end # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the @@ -1705,7 +1759,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2080 def upcase_word(key); end - # source://reline//lib/reline/line_editor.rb#713 + # source://reline//lib/reline/line_editor.rb#714 def update_each_dialog(dialog, cursor_column, cursor_row, key = T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2113 @@ -1737,7 +1791,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2190 def vi_delete_prev_char(key); end - # source://reline//lib/reline/line_editor.rb#2527 + # source://reline//lib/reline/line_editor.rb#2526 def vi_editing_mode(key); end # source://reline//lib/reline/line_editor.rb#2175 @@ -1752,10 +1806,10 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2287 def vi_eof_maybe(key); end - # source://reline//lib/reline/line_editor.rb#1586 + # source://reline//lib/reline/line_editor.rb#1584 def vi_first_print(key); end - # source://reline//lib/reline/line_editor.rb#2322 + # source://reline//lib/reline/line_editor.rb#2321 def vi_histedit(key); end # source://reline//lib/reline/line_editor.rb#2109 @@ -1764,7 +1818,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2204 def vi_insert_at_bol(key); end - # source://reline//lib/reline/line_editor.rb#2501 + # source://reline//lib/reline/line_editor.rb#2500 def vi_join_lines(key, arg: T.unsafe(nil)); end # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the @@ -1785,46 +1839,46 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2157 def vi_next_big_word(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2403 + # source://reline//lib/reline/line_editor.rb#2402 def vi_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2124 def vi_next_word(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2343 + # source://reline//lib/reline/line_editor.rb#2342 def vi_paste_next(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2334 + # source://reline//lib/reline/line_editor.rb#2333 def vi_paste_prev(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2166 def vi_prev_big_word(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2455 + # source://reline//lib/reline/line_editor.rb#2454 def vi_prev_char(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2133 def vi_prev_word(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2379 + # source://reline//lib/reline/line_editor.rb#2378 def vi_replace_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1746 + # source://reline//lib/reline/line_editor.rb#1744 def vi_search_next(key); end - # source://reline//lib/reline/line_editor.rb#1741 + # source://reline//lib/reline/line_editor.rb#1739 def vi_search_prev(key); end - # source://reline//lib/reline/line_editor.rb#2370 + # source://reline//lib/reline/line_editor.rb#2369 def vi_to_column(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2315 + # source://reline//lib/reline/line_editor.rb#2314 def vi_to_history_line(key); end - # source://reline//lib/reline/line_editor.rb#2407 + # source://reline//lib/reline/line_editor.rb#2406 def vi_to_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2459 + # source://reline//lib/reline/line_editor.rb#2458 def vi_to_prev_char(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2267 @@ -1833,7 +1887,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2278 def vi_yank_confirm(byte_pointer_diff); end - # source://reline//lib/reline/line_editor.rb#1590 + # source://reline//lib/reline/line_editor.rb#1588 def vi_zero(key); end # source://reline//lib/reline/line_editor.rb#1966 @@ -1935,161 +1989,161 @@ Reline::LineEditor::CompletionState::NORMAL = T.let(T.unsafe(nil), Symbol) # source://reline//lib/reline/line_editor.rb#42 Reline::LineEditor::CompletionState::PERFECT_MATCH = T.let(T.unsafe(nil), Symbol) -# source://reline//lib/reline/line_editor.rb#705 +# source://reline//lib/reline/line_editor.rb#706 Reline::LineEditor::DIALOG_DEFAULT_HEIGHT = T.let(T.unsafe(nil), Integer) -# source://reline//lib/reline/line_editor.rb#649 +# source://reline//lib/reline/line_editor.rb#652 class Reline::LineEditor::Dialog # @return [Dialog] a new instance of Dialog # - # source://reline//lib/reline/line_editor.rb#653 + # source://reline//lib/reline/line_editor.rb#656 def initialize(name, config, proc_scope); end - # source://reline//lib/reline/line_editor.rb#677 + # source://reline//lib/reline/line_editor.rb#680 def call(key); end # Returns the value of attribute column. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def column; end # Sets the attribute column # # @param value the value to set the attribute column to. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def column=(_arg0); end # Returns the value of attribute contents. # - # source://reline//lib/reline/line_editor.rb#650 + # source://reline//lib/reline/line_editor.rb#653 def contents; end - # source://reline//lib/reline/line_editor.rb#670 + # source://reline//lib/reline/line_editor.rb#673 def contents=(contents); end # Returns the value of attribute name. # - # source://reline//lib/reline/line_editor.rb#650 + # source://reline//lib/reline/line_editor.rb#653 def name; end # Returns the value of attribute pointer. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def pointer; end # Sets the attribute pointer # # @param value the value to set the attribute pointer to. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def pointer=(_arg0); end # Returns the value of attribute scroll_top. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def scroll_top; end # Sets the attribute scroll_top # # @param value the value to set the attribute scroll_top to. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def scroll_top=(_arg0); end - # source://reline//lib/reline/line_editor.rb#662 + # source://reline//lib/reline/line_editor.rb#665 def set_cursor_pos(col, row); end # Returns the value of attribute trap_key. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def trap_key; end # Sets the attribute trap_key # # @param value the value to set the attribute trap_key to. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def trap_key=(_arg0); end # Returns the value of attribute vertical_offset. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def vertical_offset; end # Sets the attribute vertical_offset # # @param value the value to set the attribute vertical_offset to. # - # source://reline//lib/reline/line_editor.rb#651 + # source://reline//lib/reline/line_editor.rb#654 def vertical_offset=(_arg0); end # Returns the value of attribute width. # - # source://reline//lib/reline/line_editor.rb#650 + # source://reline//lib/reline/line_editor.rb#653 def width; end - # source://reline//lib/reline/line_editor.rb#666 + # source://reline//lib/reline/line_editor.rb#669 def width=(v); end end -# source://reline//lib/reline/line_editor.rb#571 +# source://reline//lib/reline/line_editor.rb#574 class Reline::LineEditor::DialogProcScope # @return [DialogProcScope] a new instance of DialogProcScope # - # source://reline//lib/reline/line_editor.rb#574 + # source://reline//lib/reline/line_editor.rb#577 def initialize(line_editor, config, proc_to_exec, context); end - # source://reline//lib/reline/line_editor.rb#644 + # source://reline//lib/reline/line_editor.rb#647 def call; end - # source://reline//lib/reline/line_editor.rb#590 + # source://reline//lib/reline/line_editor.rb#593 def call_completion_proc_with_checking_args(pre, target, post); end - # source://reline//lib/reline/line_editor.rb#636 + # source://reline//lib/reline/line_editor.rb#639 def completion_journey_data; end - # source://reline//lib/reline/line_editor.rb#640 + # source://reline//lib/reline/line_editor.rb#643 def config; end - # source://reline//lib/reline/line_editor.rb#582 + # source://reline//lib/reline/line_editor.rb#585 def context; end - # source://reline//lib/reline/line_editor.rb#615 + # source://reline//lib/reline/line_editor.rb#618 def cursor_pos; end - # source://reline//lib/reline/line_editor.rb#598 + # source://reline//lib/reline/line_editor.rb#601 def dialog; end - # source://reline//lib/reline/line_editor.rb#619 + # source://reline//lib/reline/line_editor.rb#622 def just_cursor_moving; end - # source://reline//lib/reline/line_editor.rb#611 + # source://reline//lib/reline/line_editor.rb#614 def key; end - # source://reline//lib/reline/line_editor.rb#631 + # source://reline//lib/reline/line_editor.rb#634 def preferred_dialog_height; end - # source://reline//lib/reline/line_editor.rb#586 + # source://reline//lib/reline/line_editor.rb#589 def retrieve_completion_block(set_completion_quote_character = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#627 + # source://reline//lib/reline/line_editor.rb#630 def screen_height; end - # source://reline//lib/reline/line_editor.rb#623 + # source://reline//lib/reline/line_editor.rb#626 def screen_width; end - # source://reline//lib/reline/line_editor.rb#602 + # source://reline//lib/reline/line_editor.rb#605 def set_cursor_pos(col, row); end - # source://reline//lib/reline/line_editor.rb#594 + # source://reline//lib/reline/line_editor.rb#597 def set_dialog(dialog); end - # source://reline//lib/reline/line_editor.rb#607 + # source://reline//lib/reline/line_editor.rb#610 def set_key(key); end end -# source://reline//lib/reline/line_editor.rb#572 +# source://reline//lib/reline/line_editor.rb#575 class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct # Returns the value of attribute list # @@ -2144,28 +2198,31 @@ class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct end end -# source://reline//lib/reline/line_editor.rb#1170 -Reline::LineEditor::MAX_PAST_LINES = T.let(T.unsafe(nil), Integer) +# source://reline//lib/reline/line_editor.rb#1163 +Reline::LineEditor::MAX_INPUT_LINES = T.let(T.unsafe(nil), Integer) -# source://reline//lib/reline/line_editor.rb#72 +# source://reline//lib/reline/line_editor.rb#73 Reline::LineEditor::MINIMUM_SCROLLBAR_HEIGHT = T.let(T.unsafe(nil), Integer) -# source://reline//lib/reline/line_editor.rb#49 +# source://reline//lib/reline/line_editor.rb#50 class Reline::LineEditor::MenuInfo # @return [MenuInfo] a new instance of MenuInfo # - # source://reline//lib/reline/line_editor.rb#52 + # source://reline//lib/reline/line_editor.rb#53 def initialize(list); end - # source://reline//lib/reline/line_editor.rb#56 + # source://reline//lib/reline/line_editor.rb#57 def lines(screen_width); end # Returns the value of attribute list. # - # source://reline//lib/reline/line_editor.rb#50 + # source://reline//lib/reline/line_editor.rb#51 def list; end end +# source://reline//lib/reline/line_editor.rb#48 +Reline::LineEditor::NullActionState = T.let(T.unsafe(nil), Array) + # source://reline//lib/reline/line_editor.rb#45 class Reline::LineEditor::RenderedScreen < ::Struct # Returns the value of attribute base_y @@ -2213,63 +2270,63 @@ end # source://reline//lib/reline/line_editor.rb#18 Reline::LineEditor::VI_MOTIONS = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline/terminfo.rb#12 +# source://reline//lib/reline/terminfo.rb#17 module Reline::Terminfo extend ::Fiddle extend ::Fiddle::CParser extend ::Fiddle::Importer class << self - # source://reline//lib/reline/terminfo.rb#32 + # source://reline//lib/reline/terminfo.rb#37 def curses_dl; end - # source://reline//lib/reline/terminfo.rb#17 + # source://reline//lib/reline/terminfo.rb#22 def curses_dl_files; end # NOTE: This means Fiddle and curses are enabled. # # @return [Boolean] # - # source://reline//lib/reline/terminfo.rb#140 + # source://reline//lib/reline/terminfo.rb#145 def enabled?; end - # source://reline//lib/reline/terminfo.rb#80 + # source://reline//lib/reline/terminfo.rb#85 def setupterm(term, fildes); end # @return [Boolean] # - # source://reline//lib/reline/terminfo.rb#144 + # source://reline//lib/reline/terminfo.rb#149 def term_supported?; end # @raise [TerminfoError] # - # source://reline//lib/reline/terminfo.rb#115 + # source://reline//lib/reline/terminfo.rb#120 def tigetflag(capname); end # @raise [TerminfoError] # - # source://reline//lib/reline/terminfo.rb#127 + # source://reline//lib/reline/terminfo.rb#132 def tigetnum(capname); end # @raise [TerminfoError] # - # source://reline//lib/reline/terminfo.rb#97 + # source://reline//lib/reline/terminfo.rb#102 def tigetstr(capname); end - # source://reline//lib/reline/terminfo.rb#107 + # source://reline//lib/reline/terminfo.rb#112 def tiparm(str, *args); end end end -# source://reline//lib/reline/terminfo.rb#91 +# source://reline//lib/reline/terminfo.rb#96 class Reline::Terminfo::StringWithTiparm < ::String # for method chain # - # source://reline//lib/reline/terminfo.rb#92 + # source://reline//lib/reline/terminfo.rb#97 def tiparm(*args); end end -# source://reline//lib/reline.rb#16 +# source://reline//lib/reline.rb#17 Reline::USERNAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped) # source://reline//lib/reline/unicode.rb#1 diff --git a/sorbet/rbi/gems/stringio@3.1.0.rbi b/sorbet/rbi/gems/stringio@3.1.1.rbi similarity index 99% rename from sorbet/rbi/gems/stringio@3.1.0.rbi rename to sorbet/rbi/gems/stringio@3.1.1.rbi index 01a26ea58..0b17e9140 100644 --- a/sorbet/rbi/gems/stringio@3.1.0.rbi +++ b/sorbet/rbi/gems/stringio@3.1.1.rbi @@ -4,5 +4,6 @@ # This is an autogenerated file for types exported from the `stringio` gem. # Please instead update this file by running `bin/tapioca gem stringio`. + # THIS IS AN EMPTY RBI FILE. # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem