MCPcopy Create free account

hub / github.com/StellateHQ/graphql-query / functions

Functions461 in github.com/StellateHQ/graphql-query

↓ 125 callersMethodpush
(&mut self, segment: PathSegment)
src/visit/path.rs:10
↓ 75 callersMethodalloc
(&self, item: T)
src/ast/ast.rs:32
↓ 59 callersFunctionassert_parse
(ctx: &'a ASTContext, source: &'a str, expected: T)
src/ast/parser.rs:629
↓ 48 callersMethodnext
(&mut self)
src/schema/sdl/parser.rs:43
↓ 46 callersMethodnext
(&mut self)
src/ast/parser.rs:36
↓ 46 callersMethodpop
(&mut self)
src/visit/path.rs:14
↓ 28 callersMethodalloc_str
(&self, str: &str)
src/ast/ast.rs:42
↓ 28 callersMethodpeek
(&mut self)
src/ast/parser.rs:44
↓ 20 callersMethodpeek
(&mut self)
src/schema/sdl/parser.rs:51
↓ 17 callersMethodadd_field
Add a new [SchemaField] to the list of fields
src/schema/schema.rs:184
↓ 17 callersFunctionassert_parse
(ctx: &'a ASTContext, source: &'a str, expected: T)
src/schema/sdl/tests.rs:26
↓ 16 callersMethodget_type
(&self, name: &'a str)
src/schema/schema.rs:72
↓ 15 callersMethodinto_iter
(self)
src/ast/ast_conversion.rs:11
↓ 15 callersMethodis_empty
(&self)
src/ast/ast.rs:203
↓ 11 callersMethodadd_error
Add an error to the list of errors in the `ValidationContext`. This is called inside of validation rules to add an error to the list and fail validat
src/validate/context.rs:29
↓ 11 callersMethodadd_possible_type
(&mut self, possible_type: &'a str)
src/schema/sdl/parse_ast.rs:67
↓ 10 callersMethodcompose_flow_enter
( &mut self, fn_a: fn(_self: &mut A, ctx: &mut C, node: &'a Node, info: &VisitInfo) -> VisitFl
src/visit/compose.rs:38
↓ 10 callersMethodcompose_flow_leave
( &mut self, fn_a: fn(_self: &mut A, ctx: &mut C, node: &'a Node, info: &VisitInfo) -> VisitFl
src/visit/compose.rs:104
↓ 9 callersMethodobject
(&self)
src/schema/schema.rs:505
↓ 7 callersMethodadd_interface
Add a new [SchemaInterface] to the list of implemented interfaces
src/schema/schema.rs:198
↓ 7 callersMethodbuild_client_schema
Converts the introspected data to a [Schema].
src/schema/build_client_schema.rs:296
↓ 6 callersMethodof_type
(&self, schema: &'a Schema<'a>)
src/schema/schema.rs:748
↓ 6 callersMethodoutput_type
(&self)
src/schema/schema_reference.rs:93
↓ 6 callersMethodpush_pointer
(&mut self, pointer: OutputType<'a>)
src/schema/schema_reference.rs:75
↓ 5 callersMethodget_possible_types
(&self)
src/schema/schema.rs:294
↓ 5 callersMethodspan
(&self)
src/ast/parser.rs:56
↓ 4 callersMethodspan
(&self)
src/schema/sdl/parser.rs:63
↓ 4 callersMethodvisit
Visit a GraphQL AST node tree recursively in depth-first order with a given visitor. The visitor must implement the [Visitor] trait which may also de
src/visit/visitor.rs:265
↓ 4 callersFunctionwrite_indent
(level: usize, buffer: &mut dyn Write)
src/ast/printer.rs:430
↓ 3 callersMethodalloc_string
(&self, str: String)
src/ast/ast.rs:49
↓ 3 callersMethodfield
(&'a self)
src/ast/ast.rs:466
↓ 3 callersMethodfold_operation
Folds a GraphQL document by a given operation instead. Instead of transforming the given document in its entirety `fold_operation` will start at the d
src/visit/folder.rs:897
↓ 3 callersFunctionfrom_input_type_ref
( ctx: &'arena ASTContext, input: &IntrospectionInputTypeRef, )
src/schema/build_client_schema.rs:159
↓ 3 callersMethodget_field
(&self, field_name: &'a str)
src/schema/schema_reference.rs:99
↓ 3 callersMethodget_fields
Get a [Map] of all fields on the [SchemaObject]
src/schema/schema.rs:189
↓ 3 callersMethodget_interfaces
(&self)
src/schema/schema.rs:205
↓ 3 callersMethodis_empty
Returns whether the schema is a default, empty schema
src/schema/schema.rs:35
↓ 3 callersMethodto_json
(self, variables: Option<&Variables<'a>>)
src/json/conversion.rs:12
↓ 3 callersMethodwrite_to_buffer
(&self, _level: usize, buffer: &mut dyn Write)
src/ast/printer.rs:42
↓ 2 callersMethodadd_argument
(&mut self, _ctx: &'a ASTContext, arg: SchemaInputField<'a>)
src/schema/schema.rs:331
↓ 2 callersMethodadd_possible_interface
Add a new [SchemaInterface] to the list that implements this [SchemaInterface]
src/schema/schema.rs:248
↓ 2 callersFunctionast_variables_from_value
Convert [serde_json::Value] to [Variables] given [VariableDefinitions]. This may be used to accept JSON values as variables for a given operation def
src/json/values.rs:13
↓ 2 callersFunctionconvert_to_schema_field
(ctx: &'a ASTContext, name: &'a str, field: &'a SchemaFieldPlaceholder)
src/schema/sdl/finalizers.rs:10
↓ 2 callersMethodfold
Visit the GraphQL AST node tree recursively in depth-first order and create a transformed copy of it using the given folder. The folder must implement
src/visit/folder.rs:349
↓ 2 callersFunctionfrom_output_type_ref
( ctx: &'a ASTContext, output: &IntrospectionOutputTypeRef, )
src/schema/build_client_schema.rs:13
↓ 2 callersMethodget_implements_interfaces
(&mut self)
src/schema/sdl/parser.rs:67
↓ 2 callersFunctionget_location
(source: &str, span: Span)
src/error.rs:132
↓ 2 callersMethodimplements_interface
(&self, schema_interface: &SchemaInterface<'a>)
src/schema/schema.rs:122
↓ 2 callersMethodinput_type
(&self)
src/schema/schema.rs:533
↓ 2 callersFunctionmap_input_type
( arena: &'a ASTContext, wrapper: &'a TypeWrapper<'a>, )
src/schema/sdl/finalizers.rs:29
↓ 2 callersMethodname
(&self)
src/schema/schema.rs:494
↓ 2 callersMethodoperation_with_index
( &'a self, by_name: Option<&'b str>, )
src/ast/ast.rs:743
↓ 2 callersMethodoutput_type
(&self)
src/schema/schema.rs:542
↓ 2 callersMethodparse
Parse an input source text into the implementor's AST Node structure and allocate the resulting AST into the current AST Context's arena.
src/ast/parser.rs:75
↓ 2 callersFunctionprint_span
(source: &str, span: Span)
src/error.rs:89
↓ 2 callersFunctionraw_double_bits
(f: &f64)
src/ast/ast_util.rs:19
↓ 2 callersMethodselect_field
(&mut self, field_name: &'a str)
src/schema/schema_reference.rs:110
↓ 2 callersMethodsource
(&self)
src/ast/parser.rs:51
↓ 2 callersMethodsource
(&self)
src/schema/sdl/parser.rs:58
↓ 1 callersMethodadd_possible_interface
(&mut self, possible_type: &'a str)
src/schema/sdl/parse_ast.rs:71
↓ 1 callersMethodadd_value
(&mut self, _ctx: &'a ASTContext, value: &'a str)
src/schema/schema.rs:436
↓ 1 callersMethodargument
( &mut self, _ctx: &'a ASTContext, argument: Argument<'a>, _info: &VisitInfo,
src/visit/folder.rs:285
↓ 1 callersFunctionarguments
()
src/ast/parser.rs:780
↓ 1 callersMethodarguments
( &mut self, _ctx: &'a ASTContext, arguments: Arguments<'a>, _info: &VisitInfo
src/visit/folder.rs:274
↓ 1 callersFunctionast_from_value
Convert [serde_json::Value] to an AST Value Node given a [Type] definition.
src/json/values.rs:49
↓ 1 callersFunctionast_from_value_untyped
Convert [serde_json::Value] to an AST Value Node without casting the JSON value to a type.
src/json/values.rs:135
↓ 1 callersMethodbuild_schema
( &'arena self, introspection: &IntrospectionSchema<'arena>, )
src/schema/build_client_schema.rs:49
↓ 1 callersFunctioncontains_edge
( visited: &mut Vec<&'a str>, toplevel_name: &'a str, current_name: &'a str, fragment_edges: &
src/validate/rules/no_fragment_cycles.rs:115
↓ 1 callersFunctiondirectives
()
src/ast/lexer.rs:294
↓ 1 callersMethoddirectives
Helper method to get all Directives for a given selection directly. Any selection AST node may carry Directives, so when those are checked it's unnec
src/ast/ast.rs:858
↓ 1 callersMethoddirectives
( &mut self, _ctx: &'a ASTContext, directives: Directives<'a>, _info: &VisitIn
src/visit/folder.rs:239
↓ 1 callersFunctionempty
()
src/ast/lexer.rs:246
↓ 1 callersMethodenter_argument
( &mut self, _: &mut (), _argument: &Argument, _info: &VisitIn
src/visit/visitor.rs:799
↓ 1 callersMethodenter_directive
( &mut self, _ctx: &'a ASTContext, directive: Directive<'a>, _info: &VisitInfo
src/visit/folder.rs:251
↓ 1 callersMethodenter_directive
( &mut self, _: &mut (), _directive: &Directive, _info: &Visit
src/visit/visitor.rs:780
↓ 1 callersMethodenter_document
( &mut self, _: &mut (), _document: &'a Document<'a>, _info: &
src/visit/visitor.rs:638
↓ 1 callersMethodenter_field
( &mut self, _ctx: &'a ASTContext, field: Field<'a>, _info: &VisitInfo, )
src/visit/folder.rs:216
↓ 1 callersMethodenter_field
(&mut self, _: &mut (), _field: &Field, _info: &VisitInfo)
src/visit/visitor.rs:771
↓ 1 callersMethodenter_fragment
( &mut self, _ctx: &'a ASTContext, fragment: FragmentDefinition<'a>, _info: &V
src/visit/folder.rs:111
↓ 1 callersMethodenter_fragment
( &mut self, _: &mut (), _fragment: &FragmentDefinition, _info
src/visit/visitor.rs:676
↓ 1 callersMethodenter_fragment_spread
( &mut self, _ctx: &'a ASTContext, fragment_spread: FragmentSpread<'a>,
src/visit/folder.rs:978
↓ 1 callersMethodenter_fragment_spread
( &mut self, _: &mut (), _fragment_spread: &FragmentSpread, _i
src/visit/visitor.rs:733
↓ 1 callersMethodenter_inline_fragment
( &mut self, _ctx: &'a ASTContext, inline_fragment: InlineFragment<'a>, _info:
src/visit/folder.rs:192
↓ 1 callersMethodenter_inline_fragment
( &mut self, _: &mut (), _inline_fragment: &InlineFragment, _i
src/visit/visitor.rs:752
↓ 1 callersMethodenter_operation
( &mut self, _ctx: &'a ASTContext, operation: OperationDefinition<'a>, _info:
src/visit/folder.rs:87
↓ 1 callersMethodenter_operation
( &mut self, _: &mut (), _operation: &OperationDefinition, _in
src/visit/visitor.rs:657
↓ 1 callersMethodenter_selection_set
( &mut self, _: &mut (), _selection_set: &SelectionSet, _info:
src/visit/visitor.rs:714
↓ 1 callersMethodenter_variable_definition
( &mut self, _: &mut (), _var_def: &VariableDefinition, _info:
src/visit/visitor.rs:695
↓ 1 callersFunctionfield
()
src/ast/printer.rs:473
↓ 1 callersMethodfield
(&mut self, field: Field<'a>)
src/visit/folder_simple.rs:60
↓ 1 callersMethodfold_with_ctx
( &self, info: &mut VisitInfo, ctx: &'b private::FolderContext<'a>, folder: &'
src/visit/folder.rs:384
↓ 1 callersFunctionfragment
()
src/ast/parser.rs:1529
↓ 1 callersFunctionfragment_spread
()
src/ast/parser.rs:1088
↓ 1 callersMethodfragments_with_index
Returns a `Map` keyed by all fragment names mapped to their [`FragmentDefinition`] and the index of where they appear in the list of definitions of th
src/ast/ast.rs:709
↓ 1 callersMethodget_possible_interfaces
(&self)
src/schema/schema.rs:254
↓ 1 callersMethodget_possible_type
(&self, name: &'a str)
src/schema/schema.rs:139
↓ 1 callersMethodget_root_type
(&self, operation_kind: OperationKind)
src/schema/schema.rs:62
↓ 1 callersFunctioninitialize_type_definition
Converts a raw TypeDefinition into a schema type, but doesn't initialize everything, like object fields. Instead, it just creates the top level shells
src/schema/sdl/finalizers.rs:67
↓ 1 callersFunctioninline_fragment
()
src/ast/parser.rs:1129
↓ 1 callersMethodinterface
(&self)
src/schema/schema.rs:519
next →1–100 of 461, ranked by callers