pub fn parse_routine_body(
body_text: &str,
language: FunctionLanguage,
routine_qname: &QualifiedName,
location: &SourceLocation,
) -> Result<(NormalizedBody, Vec<DepEdge>, bool), ParseError>Expand description
Parse a routine body and produce its NormalizedBody, extracted
DepEdges, and the commits_in_body flag.
commits_in_body is only meaningful for procedures; it is always false
for SQL-language bodies (SQL functions cannot issue COMMIT/ROLLBACK).