Parsegres::Parser
Constructors
Class methods
Instance methods
expect_eof
Ensures the whole input was consumed, so trailing tokens the parser didn't understand raise instead of being silently dropped.
parse_statement
Entry point: handles the optional WITH clause, then delegates to parse_compound which handles set operations and ORDER BY/OFFSET/LIMIT.