Modifies the internal weighting of the input characters by the specified delta. Will be invoked on the entire printed AST, and then deduct mangleable identifiers.
The characters to modify the weighting of.
The numeric weight to add to the characters.
Obtains the nth most favored (usually shortest) identifier to rename a variable to. The mangler will increment n and retry until the return value is not in use in scope, and is not a reserved word. This function is expected to be stable; Evaluating get(n) === get(n) should always return true.
The ordinal of the identifier.
Resets character weights.
Sorts identifiers by character frequency, in preparation for calls to get(n).
An identifier mangler that leverages character frequency analysis to determine identifier precedence.