Angular Modernizer
    Preparing search index...

    Function traceStringLiterals

    • Collects the string literals expr can evaluate to, as far as the code shows them: literals, ternaries, a ?? b, constants, string enum members, returns of project functions (switch mapping helpers), values of Map/object literals read with .get(k) or [k] (including map.set(k, v) writes), .toLowerCase()/.trim(), and parameters through the arguments of their call sites. Anything else (fields filled from data, inputs, library calls) makes the result incomplete.

      Parameters

      • expr: Node

      Returns LiteralValues

      traceStringLiterals(call.getArguments()[0]);
      // { literals: ['app-user-details', 'app-new-user'], complete: false, unknown: ['givenSelector'] }