refactor(core): add human readable debug for i18n (#38154)

I18n code breaks up internationalization into opCodes which are then stored
in arrays. To make it easier to debug the codebase this PR adds `debug`
property to the arrays which presents the data in human readable format.

PR Close #38154
This commit is contained in:
Misko Hevery
2020-07-20 22:06:09 -07:00
committed by Andrew Kushnir
parent 18cd1a9937
commit 3821dc5f6c
11 changed files with 741 additions and 632 deletions

View File

@ -701,7 +701,9 @@ export interface TIcuContainerNode extends TNode {
/**
* Indicates the current active case for an ICU expression.
* It is null when there is no active case.
*
*/
// FIXME(misko): This is at a wrong location as activeCase is `LView` (not `TView`) concern
activeCaseIndex: number|null;
}