MCPcopy Create free account

hub / github.com/vektah/gqlparser / functions

Functions429 in github.com/vektah/gqlparser

↓ 3 callersMethodFormatValue
(value *ast.Value)
formatter/formatter.go:814
↓ 3 callersMethodGetRuleNameKeys
GetRuleNameKeys is a test helper to access the private field ruleNameKeys. This returns a copy of the ruleNameKeys slice, not the original slice.
validator/rules/rules_export_test.go:5
↓ 3 callersMethodIsCompositeType
()
ast/definition.go:56
↓ 3 callersMethodIsInputType
()
ast/definition.go:60
↓ 3 callersFunctionNewFormatter
(w io.Writer, options ...FormatterOption)
formatter/formatter.go:67
↓ 3 callersMethodOnFragmentSpread
(f func(walker *Walker, fragmentSpread *ast.FragmentSpread))
validator/core/walk.go:38
↓ 3 callersMethodReadToken
ReadToken gets the next token from the source starting at the given position. This skips over whitespace and comments until it finds the next lexable
lexer/lexer.go:78
↓ 3 callersFunctionSuggestionList
Given an invalid input string and a list of valid options, returns a filtered list of valid options sorted based on their similarity with the input.
validator/core/helpers.go:99
↓ 3 callersFunctionWrap
(err error)
gqlerror/error.go:130
↓ 3 callersMethodcollectConflictsBetween
( conflicts *conflictMessageContainer, parentFieldsAreMutuallyExclusive bool, fieldsMapA *sequentialFieldsM
validator/rules/overlapping_fields_can_be_merged.go:454
↓ 3 callersMethodcollectConflictsBetweenFieldsAndFragment
( conflicts *conflictMessageContainer, areMutuallyExclusive bool, fieldsMap *sequentialFieldsMap, fragment
validator/rules/overlapping_fields_can_be_merged.go:288
↓ 3 callersFunctionexecuteGoldenTesting
(t *testing.T, cfg *goldenConfig)
formatter/formatter_test.go:185
↓ 3 callersFunctionf
()
validator/imported/export.js:70
↓ 3 callersFunctionisValidKind
(kind DefinitionKind, valid ...DefinitionKind)
validator/schema.go:722
↓ 3 callersFunctionkindList
(kinds ...DefinitionKind)
validator/schema.go:726
↓ 3 callersFunctionleadingWhitespace
(str string)
lexer/blockstring.go:50
↓ 3 callersFunctionmustReadFile
(name string)
formatter/formatter_test.go:253
↓ 3 callersMethodparseImplementsInterfaces
()
parser/schema.go:209
↓ 3 callersFunctionunexpectedTypeMessageOnly
(v *ast.Value)
validator/rules/values_of_correct_type.go:258
↓ 2 callersMethodFormatArgumentDefinitionList
(lists ast.ArgumentDefinitionList)
formatter/formatter.go:424
↓ 2 callersMethodFormatArgumentList
(lists ast.ArgumentList)
formatter/formatter.go:659
↓ 2 callersMethodFormatDefinition
(def *ast.Definition, extend bool)
formatter/formatter.go:530
↓ 2 callersMethodFormatDefinitionList
(lists ast.DefinitionList, extend bool)
formatter/formatter.go:520
↓ 2 callersMethodFormatDirectiveDefinition
(def *ast.DirectiveDefinition)
formatter/formatter.go:482
↓ 2 callersMethodFormatSchemaDefinitionList
(lists ast.SchemaDefinitionList, extension bool)
formatter/formatter.go:283
↓ 2 callersMethodFormatVariableDefinitionList
(lists ast.VariableDefinitionList)
formatter/formatter.go:701
↓ 2 callersMethodGet
(responseName string)
validator/rules/overlapping_fields_can_be_merged.go:176
↓ 2 callersMethodGetImplements
GetImplements returns all the interface and union definitions that the given definition satisfies.
ast/document.go:70
↓ 2 callersMethodGetPosition
()
ast/selection.go:7
↓ 2 callersMethodIs
(target error)
gqlerror/error.go:93
↓ 2 callersMethodIsLeafType
()
ast/definition.go:48
↓ 2 callersMethodMerge
(other *SchemaDocument)
ast/document.go:20
↓ 2 callersFunctionParseSchemas
(inputs ...*Source)
parser/schema.go:8
↓ 2 callersFunctionRemoveRule
RemoveRule removes an existing rule from the rule set if one of the same name exists. The rule set is global, so it is not safe for concurrent changes
validator/validator.go:54
↓ 2 callersFunctionValidateSchemaDocument
(sd *SchemaDocument)
validator/schema.go:22
↓ 2 callersFunctioncheckDepthField
(field *ast.Field, visitedFragments map[string]bool, depth int)
validator/rules/max_introspection_depth.go:56
↓ 2 callersFunctioncheckDepthSelectionSet
( selectionSet ast.SelectionSet, visitedFragments map[string]bool, depth int, )
validator/rules/max_introspection_depth.go:31
↓ 2 callersFunctioncheckUniqueArgs
(args ast.ArgumentList, addError AddErrFunc)
validator/rules/unique_argument_names.go:22
↓ 2 callersMethodcollectConflictsBetweenFragments
( conflicts *conflictMessageContainer, areMutuallyExclusive bool, fragmentSpreadA *ast.FragmentSpread, fra
validator/rules/overlapping_fields_can_be_merged.go:330
↓ 2 callersMethodconsumeCommentGroup
()
parser/parser.go:47
↓ 2 callersMethodfindConflict
( parentFieldsAreMutuallyExclusive bool, fieldA *ast.Field, fieldB *ast.Field, )
validator/rules/overlapping_fields_can_be_merged.go:476
↓ 2 callersFunctionfuncWithPath
(path)
validator/imported/export.js:69
↓ 2 callersFunctionmustReadFile
(name string)
validator/vars_test.go:1210
↓ 2 callersFunctionnewDummyRule
newDummyRule returns a dummy Rule for testing purposes. The RuleFunc is a no-op; only the name is relevant for these tests.
validator/rules/rules_test.go:15
↓ 2 callersMethodnl
()
ast/dumper.go:76
↓ 2 callersMethodparseArgumentDefs
()
parser/schema.go:253
↓ 2 callersMethodparseArguments
(isConst bool)
parser/query.go:175
↓ 2 callersMethodparseDirectiveLocation
()
parser/schema.go:587
↓ 2 callersMethodparseEnumValuesDefinition
()
parser/schema.go:369
↓ 2 callersMethodparseFragmentName
()
parser/query.go:238
↓ 2 callersMethodparseInputFieldsDefinition
()
parser/schema.go:409
↓ 2 callersMethodparseOperationDefinition
()
parser/query.go:51
↓ 2 callersMethodparseOperationType
()
parser/query.go:77
↓ 2 callersMethodparseOperationTypeDefinition
()
parser/schema.go:169
↓ 2 callersMethodparseQueryDocument
()
parser/query.go:24
↓ 2 callersMethodparseSchemaDocument
()
parser/schema.go:72
↓ 2 callersMethodparseSelection
()
parser/query.go:147
↓ 2 callersMethodparseUnionMemberTypes
parseUnionMemberTypes parses a union's member type list. It returns the member type names alongside their source positions; the two slices have equal
parser/schema.go:339
↓ 2 callersMethodparseVariable
()
parser/query.go:119
↓ 2 callersMethodparseVariableDefinitions
()
parser/query.go:91
↓ 2 callersMethodpeek
take one rune from input and advance end.
lexer/lexer.go:37
↓ 2 callersFunctionresultProxy
(start, base = {})
validator/imported/export.js:68
↓ 2 callersFunctionruleFuncFieldsOnCorrectType
(observers *Events, addError AddErrFunc, disableSuggestion bool)
validator/rules/fields_on_correct_type.go:12
↓ 2 callersFunctionruleFuncKnownArgumentNames
(observers *Events, addError AddErrFunc, disableSuggestion bool)
validator/rules/known_argument_names.go:9
↓ 2 callersFunctionruleFuncKnownTypeNames
(observers *Events, addError AddErrFunc, disableSuggestion bool)
validator/rules/known_type_names.go:9
↓ 2 callersFunctionruleFuncScalarLeafs
(observers *Events, addError AddErrFunc, disableSuggestion bool)
validator/rules/scalar_leafs.go:9
↓ 2 callersFunctionruleFuncValuesOfCorrectType
(observers *Events, addError AddErrFunc, disableSuggestion bool)
validator/rules/values_of_correct_type.go:13
↓ 2 callersFunctionsameArguments
(args1, args2 []*ast.Argument)
validator/rules/overlapping_fields_can_be_merged.go:554
↓ 2 callersFunctionvalidateArgs
( schema *Schema, args ArgumentDefinitionList, currentDirective *DirectiveDefinition, )
validator/schema.go:468
↓ 2 callersFunctionvalidateTypeRef
(schema *Schema, typ *Type)
validator/schema.go:461
↓ 2 callersMethodwalkArgument
(argDef *ast.ArgumentDefinition, arg *ast.Argument)
validator/core/walk.go:214
↓ 2 callersMethodwalkValue
(value *ast.Value)
validator/core/walk.go:175
↓ 2 callersMethodwriteIndent
()
formatter/formatter.go:97
↓ 1 callersMethodAdd
( a *ast.FragmentSpread, b *ast.FragmentSpread, areMutuallyExclusive bool, )
validator/rules/overlapping_fields_can_be_merged.go:115
↓ 1 callersFunctionAddRule
AddRule adds a rule to the rule set. ruleFunc is called once each time `Validate` is executed.
validator/validator.go:47
↓ 1 callersMethodDump
()
ast/dumper.go:27
↓ 1 callersMethodFormatArgument
(arg *ast.Argument)
formatter/formatter.go:674
↓ 1 callersMethodFormatArgumentDefinition
(def *ast.ArgumentDefinition)
formatter/formatter.go:442
↓ 1 callersMethodFormatComment
(comment *ast.Comment)
formatter/formatter.go:829
↓ 1 callersMethodFormatDirective
(dir *ast.Directive)
formatter/formatter.go:654
↓ 1 callersMethodFormatDirectiveDefinitionList
(lists ast.DirectiveDefinitionList)
formatter/formatter.go:472
↓ 1 callersMethodFormatDirectiveLocation
(location ast.DirectiveLocation)
formatter/formatter.go:468
↓ 1 callersMethodFormatEnumValueDefinition
(def *ast.EnumValueDefinition)
formatter/formatter.go:606
↓ 1 callersMethodFormatEnumValueList
( lists ast.EnumValueList, endOfDefComment *ast.CommentGroup, )
formatter/formatter.go:585
↓ 1 callersMethodFormatField
(field *ast.Field)
formatter/formatter.go:766
↓ 1 callersMethodFormatFieldDefinition
(field *ast.FieldDefinition)
formatter/formatter.go:394
↓ 1 callersMethodFormatFieldList
(fieldList ast.FieldList, endOfDefComment *ast.CommentGroup)
formatter/formatter.go:376
↓ 1 callersMethodFormatFragmentDefinition
(def *ast.FragmentDefinition)
formatter/formatter.go:687
↓ 1 callersMethodFormatFragmentDefinitionList
(lists ast.FragmentDefinitionList)
formatter/formatter.go:681
↓ 1 callersMethodFormatFragmentSpread
(spread *ast.FragmentSpread)
formatter/formatter.go:785
↓ 1 callersMethodFormatInlineFragment
(inline *ast.InlineFragment)
formatter/formatter.go:797
↓ 1 callersMethodFormatOperationDefinition
(def *ast.OperationDefinition)
formatter/formatter.go:625
↓ 1 callersMethodFormatOperationList
(lists ast.OperationList)
formatter/formatter.go:619
↓ 1 callersMethodFormatOperationTypeDefinition
(def *ast.OperationTypeDefinition)
formatter/formatter.go:369
↓ 1 callersMethodFormatOperationTypeDefinitionList
(lists ast.OperationTypeDefinitionList)
formatter/formatter.go:363
↓ 1 callersMethodFormatQueryDocument
(doc *ast.QueryDocument)
formatter/formatter.go:15
↓ 1 callersMethodFormatSchema
(schema *ast.Schema)
formatter/formatter.go:13
↓ 1 callersMethodFormatSchemaDefinition
(def *ast.SchemaDefinition)
formatter/formatter.go:359
↓ 1 callersMethodFormatSchemaDocument
(doc *ast.SchemaDocument)
formatter/formatter.go:14
↓ 1 callersMethodFormatSelection
(selection ast.Selection)
formatter/formatter.go:748
← previousnext →101–200 of 429, ranked by callers