dist/util/type-generator/namespace.js
function getRouteNamespaces(spec) {
    let names = new Map();
    for (let id of spec.routeIDs) {
        let [namespace, explicit] = Namespace.forRoute(spec.route(id));
        namespace.log.push(`Route ${id} maps to ${namespace.fullName} (explicit = ${explicit})`);
        names.set(id, [namespace, explicit]);
    }
    return names;
}
function getRouteNamespaces(spec) {
    let names = new Map();
    for (let id of spec.routeIDs) {
        let [namespace, explicit] = Namespace.forRoute(spec.route(id));
        namespace.log.push(`Route ${id} maps to ${namespace.fullName} (explicit = ${explicit})`);
        names.set(id, [namespace, explicit]);
    }
    return names;
}
function getRouteNamespaces ( spec ) { let names = new Map ( ) ; for ( let id of spec . routeIDs ) { let [ namespace , explicit ] = Namespace . forRoute ( spec . route ( id ) ) ; namespace . log . push ( ` ${ id } ${ namespace . fullName } ${ explicit } ` ) ; names . set ( id , [ namespace , explicit ] ) ; } return names ; }
Generate the names for all route ids in the specification
Generate the names for all route ids in the specification