refactor(ivy): removing unused properties from i18n interfaces (#31171)

Fixes #31165
PR Close #31171
This commit is contained in:
Olivier Combe 2019-06-20 20:51:56 +02:00 committed by Kara Erickson
parent 7ff628f8d5
commit dc613b336d
1 changed files with 0 additions and 16 deletions

View File

@ -31,10 +31,6 @@ export const enum I18nMutateOpCode {
* Mask for OpCode * Mask for OpCode
*/ */
MASK_OPCODE = 0b111, 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.) * 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`. * OpCode to append the current node to `PARENT`.
*/ */
AppendChild = 0b001, AppendChild = 0b001,
/**
* OpCode to insert the current node to `PARENT` before `REF`.
*/
InsertBefore = 0b010,
/** /**
* OpCode to remove the `REF` node from `PARENT`. * 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. * Stores shift amount for bits 17-2 that contain reference index.
*/ */
SHIFT_REF = 2, 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 for OpCode
*/ */
MASK_OPCODE = 0b11, MASK_OPCODE = 0b11,
/**
* Mask for reference index.
*/
MASK_REF = ((2 ^ 16) - 1) << SHIFT_REF,
/** /**
* OpCode to update a text node. * OpCode to update a text node.