Angular Modernizer
    Preparing search index...
    • Resolves the URL argument of an HTTP call to a path template and names the backend area it targets: the first literal path segment after the part the code cannot see (host from configuration, a field filled at runtime). Follows string concatenation, template strings, local constants, readonly and static fields with initializers, and single-return project functions and methods (URL prefix helpers like Urls.getOrdersPrefix()).

      declarations finds the declarations behind identifiers and calls; the default uses the type checker, the responsibility classifier passes a SyntacticResolver.

      Parameters

      Returns UrlTemplate

      // static getOrdersPrefix() { return Urls.getRoot() + 'Orders/v1/'; }
      resolveUrlTemplate(call.getArguments()[0]);
      // { template: '\u0000Orders/v1/Catalog/\u0000', area: 'orders', label: 'Orders' }