Parse initializes and runs the lexer. It also constructs the GraphQuery subgraph from the lexed items.
(r Request)
| 613 | // Parse initializes and runs the lexer. It also constructs the GraphQuery subgraph |
| 614 | // from the lexed items. |
| 615 | func Parse(r Request) (Result, error) { |
| 616 | return ParseWithNeedVars(r, nil) |
| 617 | } |
| 618 | |
| 619 | // ParseWithNeedVars performs parsing of a query with given needVars. |
| 620 | // |