MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / PAR_parse_stmt

Function PAR_parse_stmt

src/jrd/par.cpp:1590–1598  ·  view source on GitHub ↗

Parse a statement node.

Source from the content-addressed store, hash-verified

1588
1589// Parse a statement node.
1590StmtNode* PAR_parse_stmt(thread_db* tdbb, CompilerScratch* csb)
1591{
1592 DmlNode* node = PAR_parse_node(tdbb, csb);
1593
1594 if (node->getKind() != DmlNode::KIND_STATEMENT)
1595 PAR_syntax_error(csb, "statement");
1596
1597 return static_cast<StmtNode*>(node);
1598}
1599
1600// Parse a BLR node.
1601DmlNode* PAR_parse_node(thread_db* tdbb, CompilerScratch* csb)

Callers 3

parseMethod · 0.85
parseMethod · 0.85
PAR_validation_blrFunction · 0.85

Calls 3

PAR_parse_nodeFunction · 0.85
PAR_syntax_errorFunction · 0.85
getKindMethod · 0.45

Tested by

no test coverage detected