( create: IcuCreateOpCodes, marker: null | ICU_MARKER | ELEMENT_MARKER, text: string, appendToParentIdx: number, createAtIdx: number, )
| 958 | } |
| 959 | |
| 960 | function addCreateNodeAndAppend( |
| 961 | create: IcuCreateOpCodes, |
| 962 | marker: null | ICU_MARKER | ELEMENT_MARKER, |
| 963 | text: string, |
| 964 | appendToParentIdx: number, |
| 965 | createAtIdx: number, |
| 966 | ) { |
| 967 | if (marker !== null) { |
| 968 | create.push(marker); |
| 969 | } |
| 970 | create.push( |
| 971 | text, |
| 972 | createAtIdx, |
| 973 | icuCreateOpCode(IcuCreateOpCode.AppendChild, appendToParentIdx, createAtIdx), |
| 974 | ); |
| 975 | } |
| 976 | |
| 977 | function addCreateAttribute( |
| 978 | create: IcuCreateOpCodes, |
no test coverage detected