MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / transformUnionType

Method transformUnionType

src/parser/transform/transform_ddl.cpp:409–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409std::string Transformer::transformUnionType(CypherParser::IC_UnionTypeContext& ctx) {
410 return std::format("{}({})", ctx.UNION()->getText(),
411 convertColumnDefinitionsToString(transformColumnDefinitions(*ctx.iC_ColumnDefinitions())));
412}
413
414std::string Transformer::transformStructType(CypherParser::IC_StructTypeContext& ctx) {
415 return std::format("{}({})", ctx.STRUCT()->getText(),

Callers

nothing calls this directly

Calls 2

UNIONMethod · 0.80

Tested by

no test coverage detected