From dc613b336df886668fcda38292f8c8426c297822 Mon Sep 17 00:00:00 2001 From: Olivier Combe Date: Thu, 20 Jun 2019 20:51:56 +0200 Subject: [PATCH] refactor(ivy): removing unused properties from i18n interfaces (#31171) Fixes #31165 PR Close #31171 --- packages/core/src/render3/interfaces/i18n.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/packages/core/src/render3/interfaces/i18n.ts b/packages/core/src/render3/interfaces/i18n.ts index 76992d7d9b..c97e8d8211 100644 --- a/packages/core/src/render3/interfaces/i18n.ts +++ b/packages/core/src/render3/interfaces/i18n.ts @@ -31,10 +31,6 @@ export const enum I18nMutateOpCode { * Mask for OpCode */ MASK_OPCODE = 0b111, - /** - * Mask for reference index - */ - MASK_REF = ((2 ^ 16) - 1) << SHIFT_REF, /** * OpCode to select a node. (next OpCode will contain the operation.) @@ -44,10 +40,6 @@ export const enum I18nMutateOpCode { * OpCode to append the current node to `PARENT`. */ AppendChild = 0b001, - /** - * OpCode to insert the current node to `PARENT` before `REF`. - */ - InsertBefore = 0b010, /** * OpCode to remove the `REF` node from `PARENT`. */ @@ -169,18 +161,10 @@ export const enum I18nUpdateOpCode { * Stores shift amount for bits 17-2 that contain reference index. */ SHIFT_REF = 2, - /** - * Stores shift amount for bits 31-17 that contain which ICU in i18n block are we referring to. - */ - SHIFT_ICU = 17, /** * Mask for OpCode */ MASK_OPCODE = 0b11, - /** - * Mask for reference index. - */ - MASK_REF = ((2 ^ 16) - 1) << SHIFT_REF, /** * OpCode to update a text node.