pub fn generate_from_ast(ast: &OCAAst) -> String
Expand description

Generate OCA file from AST

Arguments

  • ast - AST
  • references - Optional references names and thier saids for dereferencing

If references are present, ast would be trevers and all refn would be replaced with refs