( create: IcuCreateOpCodes, marker: null | ICU_MARKER | ELEMENT_MARKER, text: string, appendToParentIdx: number, createAtIdx: number, )
| 984 | } |
| 985 | |
| 986 | function addCreateNodeAndAppend( |
| 987 | create: IcuCreateOpCodes, |
| 988 | marker: null | ICU_MARKER | ELEMENT_MARKER, |
| 989 | text: string, |
| 990 | appendToParentIdx: number, |
| 991 | createAtIdx: number, |
| 992 | ) { |
| 993 | if (marker !== null) { |
| 994 | create.push(marker); |
| 995 | } |
| 996 | create.push( |
| 997 | text, |
| 998 | createAtIdx, |
| 999 | icuCreateOpCode(IcuCreateOpCode.AppendChild, appendToParentIdx, createAtIdx), |
| 1000 | ); |
| 1001 | } |
| 1002 | |
| 1003 | function addCreateAttribute( |
| 1004 | create: IcuCreateOpCodes, |
no test coverage detected