Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
119
func
(p *parser) parseVariable() string {
120
p.expect(lexer.Dollar)
121
return
p.parseName()
122
}
123
124
func
(p *parser) parseOptionalSelectionSet() SelectionSet {
125
var
selections []Selection
Callers
2
parseVariableDefinition
Method · 0.95
parseValueLiteral
Method · 0.95
Calls
2
expect
Method · 0.95
parseName
Method · 0.95
Tested by
no test coverage detected