MCPcopy Create free account
hub / github.com/vektah/gqlparser / parseVariable

Method parseVariable

parser/query.go:119–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117}
118
119func (p *parser) parseVariable() string {
120 p.expect(lexer.Dollar)
121 return p.parseName()
122}
123
124func (p *parser) parseOptionalSelectionSet() SelectionSet {
125 var selections []Selection

Callers 2

parseValueLiteralMethod · 0.95

Calls 2

expectMethod · 0.95
parseNameMethod · 0.95

Tested by

no test coverage detected