splitTypeId

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

TODO duplicate code between this and toStringDecl.

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

Meta