splitTypeId

Split the TypeId from the formatter in a Left/Right.

TODO duplicate code between this and toStringDecl.

  1. auto splitTypeId(ref const TypeKind t)
  2. auto splitTypeId(ref const TypeKind t, const uint indent = 0)
    splitTypeId
    @safe pure
    (
    ref const TypeKind t
    ,
    const uint indent = 0
    )
    out (result) { import dextool.logger : trace; import std.conv : to; debug { trace(result.to!string(), indent); } }

Meta