diff --git a/arkoala/arkui-common/fake-ohos-declarations/component/image.d.ts b/arkoala/arkui-common/fake-ohos-declarations/component/image.d.ts index 2872187ea58c80201213721146933b07f25f5e49..5c5fa68a5c7c36fd5aaad50386275a66b7d3befe 100644 --- a/arkoala/arkui-common/fake-ohos-declarations/component/image.d.ts +++ b/arkoala/arkui-common/fake-ohos-declarations/component/image.d.ts @@ -146,6 +146,29 @@ declare enum ImageRenderMode { Template, } +/** + * Specify image's content. + * + * @enum { number } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @form + * @atomicservice + * @since 12 + */ +declare enum ImageContent { + /** + * Make image empty. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @form + * @atomicservice + * @since 12 + */ + EMPTY = 0, +} + /** * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full @@ -400,6 +423,19 @@ interface ImageInterface { */ (src: PixelMap | ResourceStr | DrawableDescriptor): ImageAttribute; + /** + * Set src to obtain images + * + * @param { PixelMap | ResourceStr | DrawableDescriptor | ImageContent } src + * @returns { ImageAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @form + * @atomicservice + * @since 12 + */ + (src: PixelMap | ResourceStr | DrawableDescriptor | ImageContent): ImageAttribute; + /** * Set src and ai options to obtain images * diff --git a/arkoala/arkui/src/ArkBlank.ts b/arkoala/arkui/src/ArkBlank.ts index 57d7ab4f9c59a22da170d81b3a00015a160dd43e..efb4a15cc4e63090d3b6793a61b0489f26769adb 100644 --- a/arkoala/arkui/src/ArkBlank.ts +++ b/arkoala/arkui/src/ArkBlank.ts @@ -26,10 +26,10 @@ import { unsafeCast } from "./shared/generated-utils" export class ArkBlankComponent extends ArkCommonMethodComponent { protected peer?: ArkBlankPeer /** @memo */ - _setBlankOptions(min?: number | string): this { - if (this.checkPriority("_setBlankOptions")) { + setBlankOptions(min?: number | string): this { + if (this.checkPriority("setBlankOptions")) { const min_casted = min as (number | string) - this.peer?._setBlankOptionsAttribute(min_casted) + this.peer?.setBlankOptionsAttribute(min_casted) return this } return this @@ -60,8 +60,8 @@ export function ArkBlank( const receiver = remember(() => { return new ArkBlankComponent() }) - NodeAttach(() => ArkBlankPeer.create(ArkUINodeType.Blank, receiver), () => { - receiver._setBlankOptions(min) + NodeAttach((): ArkBlankPeer => ArkBlankPeer.create(ArkUINodeType.Blank, receiver), (_: ArkBlankPeer) => { + receiver.setBlankOptions(min) style?.(receiver) content_?.() receiver.applyAttributesFinish() diff --git a/arkoala/arkui/src/ArkButton.ts b/arkoala/arkui/src/ArkButton.ts index 572525e8e15a3315694c8321c7ded72aa64b7bd2..9ca9b94c2aa219faf0f46fa2959eedc5004eea7e 100644 --- a/arkoala/arkui/src/ArkButton.ts +++ b/arkoala/arkui/src/ArkButton.ts @@ -26,23 +26,23 @@ import { unsafeCast } from "./shared/generated-utils" export class ArkButtonComponent extends ArkCommonMethodComponent { protected peer?: ArkButtonPeer /** @memo */ - _setButtonOptions(label?: ResourceStr | ButtonOptions, options?: ButtonOptions): this { - if (this.checkPriority("_setButtonOptions")) { + setButtonOptions(label?: ResourceStr | ButtonOptions, options?: ButtonOptions): this { + if (this.checkPriority("setButtonOptions")) { const label_type = runtimeType(label) const options_type = runtimeType(options) if ((((RuntimeType.STRING == label_type)) || ((RuntimeType.OBJECT == label_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const label_casted = label as (ResourceStr) const options_casted = options as (ButtonOptions) - this.peer?._setButtonOptions_ResourceStr_ButtonOptionsAttribute(label_casted, options_casted) + this.peer?.setButtonOptions2Attribute(label_casted, options_casted) return this } if ((((RuntimeType.OBJECT) == (label_type)) && (((label!.hasOwnProperty("type")) || (label!.hasOwnProperty("stateEffect")) || (label!.hasOwnProperty("buttonStyle")) || (label!.hasOwnProperty("controlSize")) || (label!.hasOwnProperty("role"))))) && (((RuntimeType.UNDEFINED == options_type)))) { const label_casted = label as (ButtonOptions) - this.peer?._setButtonOptions_ButtonOptionsAttribute(label_casted) + this.peer?.setButtonOptions1Attribute(label_casted) return this } if ((((RuntimeType.UNDEFINED == label_type))) && (((RuntimeType.UNDEFINED == options_type)))) { - this.peer?._setButtonOptions_Attribute() + this.peer?.setButtonOptions0Attribute() return this } throw new Error("Can not select appropriate overload") @@ -174,8 +174,8 @@ export function ArkButton( const receiver = remember(() => { return new ArkButtonComponent() }) - NodeAttach(() => ArkButtonPeer.create(ArkUINodeType.Button, receiver), () => { - receiver._setButtonOptions(label,options) + NodeAttach((): ArkButtonPeer => ArkButtonPeer.create(ArkUINodeType.Button, receiver), (_: ArkButtonPeer) => { + receiver.setButtonOptions(label,options) style?.(receiver) content_?.() receiver.applyAttributesFinish() diff --git a/arkoala/arkui/src/ArkCheckbox.ts b/arkoala/arkui/src/ArkCheckbox.ts index a776db3d8d07a040980cc8937974e464d84ee431..fd77016c6db88c563ec999451ff263cb82e3413d 100644 --- a/arkoala/arkui/src/ArkCheckbox.ts +++ b/arkoala/arkui/src/ArkCheckbox.ts @@ -27,10 +27,10 @@ import { UseEventsProperties } from "./use_properties" export class ArkCheckboxComponent extends ArkCommonMethodComponent { protected peer?: ArkCheckboxPeer /** @memo */ - _setCheckboxOptions(options?: CheckboxOptions): this { - if (this.checkPriority("_setCheckboxOptions")) { + setCheckboxOptions(options?: CheckboxOptions): this { + if (this.checkPriority("setCheckboxOptions")) { const options_casted = options as (CheckboxOptions) - this.peer?._setCheckboxOptionsAttribute(options_casted) + this.peer?.setCheckboxOptionsAttribute(options_casted) return this } return this @@ -116,8 +116,8 @@ export function ArkCheckbox( const receiver = remember(() => { return new ArkCheckboxComponent() }) - NodeAttach(() => ArkCheckboxPeer.create(ArkUINodeType.Checkbox, receiver), () => { - receiver._setCheckboxOptions(options) + NodeAttach((): ArkCheckboxPeer => ArkCheckboxPeer.create(ArkUINodeType.Checkbox, receiver), (_: ArkCheckboxPeer) => { + receiver.setCheckboxOptions(options) style?.(receiver) content_?.() receiver.applyAttributesFinish() diff --git a/arkoala/arkui/src/ArkColumn.ts b/arkoala/arkui/src/ArkColumn.ts index 381c214f2a732e1cf438260f6c74739eb43f3d08..c5ad10966aeb7989e605180d5e5968873f5a7c16 100644 --- a/arkoala/arkui/src/ArkColumn.ts +++ b/arkoala/arkui/src/ArkColumn.ts @@ -26,10 +26,10 @@ import { unsafeCast } from "./shared/generated-utils" export class ArkColumnComponent extends ArkCommonMethodComponent { protected peer?: ArkColumnPeer /** @memo */ - _setColumnOptions(value?: {space?: string | number}): this { - if (this.checkPriority("_setColumnOptions")) { + setColumnOptions(value?: {space?: string | number}): this { + if (this.checkPriority("setColumnOptions")) { const value_casted = value as ({space?: string | number}) - this.peer?._setColumnOptionsAttribute(value_casted) + this.peer?.setColumnOptionsAttribute(value_casted) return this } return this @@ -78,8 +78,8 @@ export function ArkColumn( const receiver = remember(() => { return new ArkColumnComponent() }) - NodeAttach(() => ArkColumnPeer.create(ArkUINodeType.Column, receiver), () => { - receiver._setColumnOptions(value) + NodeAttach((): ArkColumnPeer => ArkColumnPeer.create(ArkUINodeType.Column, receiver), (_: ArkColumnPeer) => { + receiver.setColumnOptions(value) style?.(receiver) content_?.() receiver.applyAttributesFinish() diff --git a/arkoala/arkui/src/ArkCommon.ts b/arkoala/arkui/src/ArkCommon.ts index 5bba1049a469663b3db897fb916dee2054d0ed22..cc70777e581c1e1654159086afd78d8b0e99ec44 100644 --- a/arkoala/arkui/src/ArkCommon.ts +++ b/arkoala/arkui/src/ArkCommon.ts @@ -25,7 +25,7 @@ import { GesturePriority, setGestureEvent } from "./ArkGesture" import { int32, KoalaCallsiteKey } from "@koalaui/common" import { __id } from "@koalaui/runtime" import { MousePeerEvent } from "@koalaui/arkoala" -import { ArkCommonPeer } from "./peers/ArkCommonPeer" +import { ArkCommonPeer, ArkCommonMethodPeer, LinearGradientValuesType, SweepGradientValuesType, RadialGradientValuesType } from "./peers/ArkCommonPeer" import { ComponentBase } from "./ComponentBase" import { UseEventsProperties } from "./use_properties" import { ArkCommonMethodInterface } from "./interfaces/ArkCommonMethodInterface" @@ -155,9 +155,11 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface } /** @memo */ - responseRegion(value: Rectangle | Rectangle[]): this { + responseRegion(value: Array | Rectangle): this { if (this.checkPriority("responseRegion")) { - this.peer?.responseRegionAttribute(value) + const value_casted = value as (Array | Rectangle) + this.peer?.responseRegionAttribute(value_casted) + return this } return this } @@ -194,17 +196,20 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ hitTestBehavior(value: HitTestMode): this { if (this.checkPriority("hitTestBehavior")) { - this.peer?.hitTestBehaviorAttribute(value) + const value_casted = value as (HitTestMode) + this.peer?.hitTestBehaviorAttribute(value_casted) + return this } return this } - /** @memo */ - layoutWeight(value: string | number): this { + layoutWeight(value: number | string): this { if (this.checkPriority("layoutWeight")) { - this.peer?.layoutWeightAttribute(value) + const value_casted = value as (number | string) + this.peer?.layoutWeightAttribute(value_casted) + return this } - return this; + return this } /** @memo */ @@ -244,34 +249,41 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface return this } - /** @memo */ - backgroundImage(src: ResourceStr, repeat?: ImageRepeat): this { + //** @memo */ + backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): this { if (this.checkPriority("backgroundImage")) { - this.peer?.backgroundImageAttribute(src, repeat) + const src_casted = src as (ResourceStr | PixelMap) + const repeat_casted = repeat as (ImageRepeat) + this.peer?.backgroundImageAttribute(src_casted, repeat_casted) + return this } return this } - /** @memo */ backgroundImageSize(value: SizeOptions | ImageSize): this { if (this.checkPriority("backgroundImageSize")) { - this.peer?.backgroundImageSizeAttribute(value) + const value_casted = value as (SizeOptions | ImageSize) + this.peer?.backgroundImageSizeAttribute(value_casted) + return this } return this } - /** @memo */ backgroundImagePosition(value: Position | Alignment): this { - if (this.checkPriority("position")) { - this.peer?.backgroundImagePositionAttribute(value) + if (this.checkPriority("backgroundImagePosition")) { + const value_casted = value as (Position | Alignment) + this.peer?.backgroundImagePositionAttribute(value_casted) + return this } return this } - /** @memo */ backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): this { if (this.checkPriority("backgroundBlurStyle")) { - this.peer?.backgroundBlurStyleAttribute(value) + const value_casted = value as (BlurStyle) + const options_casted = options as (BackgroundBlurStyleOptions) + this.peer?.backgroundBlurStyleAttribute(value_casted, options_casted) + return this } return this } @@ -279,7 +291,10 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): this { if (this.checkPriority("foregroundBlurStyle")) { - this.peer?.foregroundBlurStyleAttribute(value, options) + const value_casted = value as (BlurStyle) + const options_casted = options as (ForegroundBlurStyleOptions) + this.peer?.foregroundBlurStyleAttribute(value_casted, options_casted) + return this } return this } @@ -297,47 +312,99 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ border(value: BorderOptions): this { if (this.checkPriority("border")) { - this.peer?.borderAttribute(value) + const value_casted = value as (BorderOptions) + this.peer?.borderAttribute(value_casted) + return this } return this } - /** @memo */ borderStyle(value: BorderStyle | EdgeStyles): this { if (this.checkPriority("borderStyle")) { - this.peer?.borderStyleAttribute(value) + const value_casted = value as (BorderStyle | EdgeStyles) + this.peer?.borderStyleAttribute(value_casted) + return this } return this } - /** @memo */ - borderWidth(value: Length | EdgeWidths): this { + borderWidth(value: Length | EdgeWidths | LocalizedEdgeWidths): this { if (this.checkPriority("borderWidth")) { - this.peer?.borderWidthAttribute(value) + const value_casted = value as (Length | EdgeWidths | LocalizedEdgeWidths) + this.peer?.borderWidthAttribute(value_casted) + return this } return this } - /** @memo */ - borderColor(value: ResourceColor | EdgeColors): this { + borderColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this { if (this.checkPriority("borderColor")) { - this.peer?.borderColorAttribute(value) + const value_casted = value as (ResourceColor | EdgeColors | LocalizedEdgeColors) + this.peer?.borderColorAttribute(value_casted) + return this } return this } - /** @memo */ - borderRadius(value: Length | BorderRadiuses): this { + borderRadius(value: Length | BorderRadiuses | LocalizedBorderRadiuses): this { if (this.checkPriority("borderRadius")) { - this.peer?.borderRadiusAttribute(value) + const value_casted = value as (Length | BorderRadiuses | LocalizedBorderRadiuses) + this.peer?.borderRadiusAttribute(value_casted) + return this } return this } - /** @memo */ borderImage(value: BorderImageOption): this { if (this.checkPriority("borderImage")) { - this.peer?.borderImageAttribute(value) + const value_casted = value as (BorderImageOption) + this.peer?.borderImageAttribute(value_casted) + return this + } + return this + } + /** @memo */ + outline(value: OutlineOptions): this { + if (this.checkPriority("outline")) { + const value_casted = value as (OutlineOptions) + this.peer?.outlineAttribute(value_casted) + return this + } + return this + } + /** @memo */ + outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this { + if (this.checkPriority("outlineStyle")) { + const value_casted = value as (OutlineStyle | EdgeOutlineStyles) + this.peer?.outlineStyleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + outlineWidth(value: Dimension | EdgeOutlineWidths): this { + if (this.checkPriority("outlineWidth")) { + const value_casted = value as (Dimension | EdgeOutlineWidths) + this.peer?.outlineWidthAttribute(value_casted) + return this + } + return this + } + /** @memo */ + outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this { + if (this.checkPriority("outlineColor")) { + const value_casted = value as (ResourceColor | EdgeColors | LocalizedEdgeColors) + this.peer?.outlineColorAttribute(value_casted) + return this + } + return this + } + /** @memo */ + outlineRadius(value: Dimension | OutlineRadiuses): this { + if (this.checkPriority("outlineRadius")) { + const value_casted = value as (Dimension | OutlineRadiuses) + this.peer?.outlineRadiusAttribute(value_casted) + return this } return this } @@ -364,34 +431,12 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface } /** @memo */ - onHover(event: (isHover: boolean, event: HoverEvent) => void): this { - if (event != undefined) { - UseProperties({ - onHover: (isHover) => { - event(isHover, { - timestamp: 0, - target: makeEventTarget({ - width: 0, - height: 0, - position: {}, - globalPosition: {}, - }), - sourceTool: 1, - source: 0, - pressure: 0, - tiltX: 0, - tiltY: 0, - stopPropagation() { - return - }, - getModifierKeyState: (keys: string[]) => { return false } // API_12 - }) - } - }) - this.notifyEvent(ComponentAsyncEventSubKind.OnHover) - } - else { - this.notifyResetEvent(ComponentAsyncEventSubKind.OnHover) + onHover(event: ((isHover: boolean, event: HoverEvent) => void)): this { + if (this.checkPriority("onHover")) { + const event_casted = event as (((isHover: boolean, event: HoverEvent) => void)) + UseEventsProperties({CommonMethod_onHover: event_casted}) + this.peer?.onHoverAttribute(event_casted) + return this } return this } @@ -399,7 +444,9 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ hoverEffect(value: HoverEffect): this { if (this.checkPriority("hoverEffect")) { - this.peer?.hoverEffectAttribute(value) + const value_casted = value as (HoverEffect) + this.peer?.hoverEffectAttribute(value_casted) + return this } return this } @@ -457,28 +504,12 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface } /** @memo */ - onKeyEvent(event: (event: KeyEvent) => void): this { - if (event != undefined) { - UseProperties({ - onKeyEvent: (peerEvent: KeyEvent) => { - event({ - type: peerEvent.type, - keyCode: peerEvent.keyCode, - keyText: peerEvent.keyText, - keySource: peerEvent.keySource, - deviceId: peerEvent.deviceId, - metaKey: peerEvent.metaKey, - timestamp: peerEvent.timestamp, - intentionCode: peerEvent.intentionCode, - stopPropagation: peerEvent.stopPropagation, - getModifierKeyState: (keys: string[]) => { return false } // API_12 - }) - } - }) - this.notifyEvent(ComponentAsyncEventSubKind.OnKeyEvent) - } - else { - this.notifyResetEvent(ComponentAsyncEventSubKind.OnKeyEvent) + onKeyEvent(event: ((event: KeyEvent) => void)): this { + if (this.checkPriority("onKeyEvent")) { + const event_casted = event as (((event: KeyEvent) => void)) + UseEventsProperties({CommonMethod_onKeyEvent: event_casted}) + this.peer?.onKeyEventAttribute(event_casted) + return this } return this } @@ -504,14 +535,14 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface } /** @memo */ - onBlur(event: () => void): this { - if (event != undefined) { - UseProperties({ - onBlur: event - }) + onBlur(event: (() => void)): this { + if (this.checkPriority("onBlur")) { + const event_casted = event as ((() => void)) + UseEventsProperties({CommonMethod_onBlur: event_casted}) + this.peer?.onBlurAttribute(event_casted) + return this } - this.peer?.onBlurAttribute(event) - return this; + return this } /** @memo */ @@ -630,9 +661,12 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface } /** @memo */ - blur(value: number): this { + blur(value: number, options?: BlurOptions): this { if (this.checkPriority("blur")) { - this.peer?.blurAttribute(value) + const value_casted = value as (number) + const options_casted = options as (BlurOptions) + this.peer?.blurAttribute(value_casted, options_casted) + return this } return this } @@ -803,31 +837,14 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface } /** @memo */ - onAreaChange(event: (oldValue: Area, newValue: Area) => void): this { - if (event != undefined) { - UseProperties({ - onAreaChange: (peerEvent) => { - event( - { width: peerEvent.oldValue.width, - height: peerEvent.oldValue.height, - position: {x: peerEvent.oldValue.x, y: peerEvent.oldValue.y }, - globalPosition: {x: peerEvent.oldValue.globalX, y: peerEvent.oldValue.globalY } - }, - { width: peerEvent.oldValue.width, - height: peerEvent.oldValue.height, - position: {x: peerEvent.oldValue.x, y: peerEvent.oldValue.y }, - globalPosition: {x: peerEvent.oldValue.globalX, y: peerEvent.oldValue.globalY } - } - ) - } - }) - this.notifyEvent(ComponentAsyncEventSubKind.OnAreaChange) - nativeModule()._NotifyComponentAsyncEvent(this.getNativePeerNode().ptr, ComponentAsyncEventSubKind.OnAreaChange) - } - else { - this.notifyResetEvent(ComponentAsyncEventSubKind.OnAreaChange) + onAreaChange(event: ((oldValue: Area, newValue: Area) => void)): this { + if (this.checkPriority("onAreaChange")) { + const event_casted = event as (((oldValue: Area, newValue: Area) => void)) + UseEventsProperties({CommonMethod_onAreaChange: event_casted}) + this.peer?.onAreaChangeAttribute(event_casted) + return this } - return this; + return this } /** @memo */ @@ -867,7 +884,9 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ alignSelf(value: ItemAlign): this { if (this.checkPriority("alignSelf")) { - this.peer?.alignSelfAttribute(value) + const value_casted = value as (ItemAlign) + this.peer?.alignSelfAttribute(value_casted) + return this } return this } @@ -875,15 +894,18 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ displayPriority(value: number): this { if (this.checkPriority("displayPriority")) { - this.peer?.displayPriorityAttribute(value) + const value_casted = value as (number) + this.peer?.displayPriorityAttribute(value_casted) + return this } return this } - /** @memo */ zIndex(value: number): this { if (this.checkPriority("zIndex")) { - this.peer?.zIndexAttribute(value) + const value_casted = value as (number) + this.peer?.zIndexAttribute(value_casted) + return this } return this } @@ -899,15 +921,18 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ direction(value: Direction): this { if (this.checkPriority("direction")) { - this.peer?.directionAttribute(value) + const value_casted = value as (Direction) + this.peer?.directionAttribute(value_casted) + return this } return this } - /** @memo */ align(value: Alignment): this { if (this.checkPriority("align")) { - this.peer?.alignAttribute(value) + const value_casted = value as (Alignment) + this.peer?.alignAttribute(value_casted) + return this } return this } @@ -973,7 +998,9 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ aspectRatio(value: number): this { if (this.checkPriority("aspectRatio")) { - nativeModule()._CommonMethod_aspectRatio(this.getNativePeerNode().ptr, value) + const value_casted = value as (number) + this.peer?.aspectRatioAttribute(value_casted) + return this } return this } @@ -1053,58 +1080,40 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface } /** @memo */ - overlay( - value: string, - options?: - | { - align?: Alignment | undefined; - offset?: { x?: number | undefined; y?: number | undefined } | undefined; - } - | undefined - ): this { + overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): this { if (this.checkPriority("overlay")) { - this.peer?.overlayAttribute(value, options) + const value_casted = value as (string | CustomBuilder | ComponentContent) + const options_casted = options as (OverlayOptions) + this.peer?.overlayAttribute(value_casted, options_casted) + return this } return this } /** @memo */ - linearGradient(value: { - angle?: string | number | undefined; - direction?: GradientDirection | undefined; - colors: any[]; - repeating?: boolean | undefined; - }): this { + linearGradient(value: LinearGradientValuesType): this { if (this.checkPriority("linearGradient")) { - this.peer?.linearGradientAttribute(value) + const value_casted = value as (LinearGradientValuesType) + this.peer?.linearGradientAttribute(value_casted) + return this } return this } - /** @memo */ - sweepGradient(value: { - center: any[]; - start?: string | number | undefined; - end?: string | number | undefined; - rotation?: string | number | undefined; - colors: any[]; - repeating?: boolean | undefined; - }): this { + sweepGradient(value: SweepGradientValuesType): this { if (this.checkPriority("sweepGradient")) { - this.peer?.sweepGradientAttribute(value) + const value_casted = value as (SweepGradientValuesType) + this.peer?.sweepGradientAttribute(value_casted) + return this } return this } - /** @memo */ - radialGradient(value: { - center: any[]; - radius: string | number; - colors: any[]; - repeating?: boolean | undefined; - }): this { + radialGradient(value: RadialGradientValuesType): this { if (this.checkPriority("radialGradient")) { - this.peer?.radialGradientAttribute(value) + const value_casted = value as (RadialGradientValuesType) + this.peer?.radialGradientAttribute(value_casted) + return this } return this } @@ -1120,7 +1129,9 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ shadow(value: ShadowOptions | ShadowStyle): this { if (this.checkPriority("shadow")) { - this.peer?.shadowAttribute(value) + const value_casted = value as (ShadowOptions | ShadowStyle) + this.peer?.shadowAttribute(value_casted) + return this } return this } @@ -1231,14 +1242,13 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface } /** @memo */ - onVisibleAreaChange(ratios: number[], event: (isVisible: boolean, currentRatio: number) => void): this { + onVisibleAreaChange(ratios: Array, event: ((isVisible: boolean, currentRatio: number) => void)): this { if (this.checkPriority("onVisibleAreaChange")) { - if (event != undefined) { - UseProperties({ - onVisibleAreaChange: event - }) - } - this.peer?.onVisibleAreaChangeAttribute(ratios, event) + const ratios_casted = ratios as (Array) + const event_casted = event as (((isVisible: boolean, currentRatio: number) => void)) + UseEventsProperties({CommonMethod_onVisibleAreaChange: event_casted}) + this.peer?.onVisibleAreaChangeAttribute(ratios_casted, event_casted) + return this } return this } @@ -1349,36 +1359,6 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface return this } - /** @memo */ - outline(value: OutlineOptions): this { - console.log("TODO: [ArkCommon.outline API_11] - method not implemented.") - return this - } - - /** @memo */ - outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this { - console.log("TODO: [ArkCommon.outlineStyle API_11] - method not implemented.") - return this - } - - /** @memo */ - outlineWidth(value: Dimension | EdgeOutlineWidths): this { - console.log("TODO: [ArkCommon.outlineWidth API_11] - method not implemented.") - return this - } - - /** @memo */ - outlineColor(value: ResourceColor | EdgeColors): this { - console.log("TODO: [ArkCommon.outlineColor API_11] - method not implemented.") - return this - } - - /** @memo */ - outlineRadius(value: Dimension | OutlineRadiuses): this { - console.log("TODO: [ArkCommon.outlineRadius API_11] - method not implemented.") - return this - } - /** @memo */ systemBarEffect(): this { console.log("TODO: [ArkCommon.systemBarEffect API_11] - method not implemented.") @@ -1555,7 +1535,12 @@ export class ArkCommon extends ComponentBase implements ArkCommonMethodInterface /** @memo */ onSizeChange(event: SizeChangeCallback): this { - console.log("TODO: [ArkCommon.onSizeChange API_12] - method not implemented.") + if (this.checkPriority("onSizeChange")) { + const event_casted = event as (SizeChangeCallback) + UseEventsProperties({CommonMethod_onSizeChange: event_casted}) + this.peer?.onSizeChangeAttribute(event_casted) + return this + } return this } diff --git a/arkoala/arkui/src/ArkImage.ts b/arkoala/arkui/src/ArkImage.ts index 01ca88f3d4d12a8cb3cd4d1380af67b3dc3e8d11..f6519df6e507ba317de6f34c17467a5d2bb1af0d 100644 --- a/arkoala/arkui/src/ArkImage.ts +++ b/arkoala/arkui/src/ArkImage.ts @@ -28,19 +28,24 @@ import { IMPORT_default_ColorFilter_FROM_api_ohos_graphics_drawing, IMPORT_defau export class ArkImageComponent extends ArkCommonMethodComponent { protected peer?: ArkImagePeer /** @memo */ - _setImageOptions(src: PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor, imageAIOptions?: ImageAIOptions): this { - if (this.checkPriority("_setImageOptions")) { + setImageOptions(src: PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor | ImageContent, imageAIOptions?: ImageAIOptions): this { + if (this.checkPriority("setImageOptions")) { const src_type = runtimeType(src) const imageAIOptions_type = runtimeType(imageAIOptions) if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) - this.peer?._setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptionsAttribute(src_casted, imageAIOptions_casted) + this.peer?.setImageOptions2Attribute(src_casted, imageAIOptions_casted) return this } if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) - this.peer?._setImageOptions_PixelMapResourceStrDrawableDescriptorAttribute(src_casted) + this.peer?.setImageOptions0Attribute(src_casted) + return this + } + if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.NUMBER == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { + const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor | ImageContent) + this.peer?.setImageOptions1Attribute(src_casted) return this } throw new Error("Can not select appropriate overload") @@ -287,13 +292,13 @@ export function ArkImage( style: ((attributes: ArkImageComponent) => void) | undefined, /** @memo */ content_: (() => void) | undefined, - src: PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor, imageAIOptions?: ImageAIOptions + src: PixelMap | ResourceStr | DrawableDescriptor | PixelMap | ResourceStr | DrawableDescriptor | ImageContent | PixelMap | ResourceStr | DrawableDescriptor, imageAIOptions?: ImageAIOptions ) { const receiver = remember(() => { return new ArkImageComponent() }) - NodeAttach(() => ArkImagePeer.create(ArkUINodeType.Image, receiver), () => { - receiver._setImageOptions(src,imageAIOptions) + NodeAttach((): ArkImagePeer => ArkImagePeer.create(ArkUINodeType.Image, receiver), (_: ArkImagePeer) => { + receiver.setImageOptions(src,imageAIOptions) style?.(receiver) content_?.() receiver.applyAttributesFinish() diff --git a/arkoala/arkui/src/ArkRow.ts b/arkoala/arkui/src/ArkRow.ts index 4239f0ed0ea66b644a2b5b1d56cf2f4f48eabc72..29decf994b9810091938430dcaad6952ee02632d 100644 --- a/arkoala/arkui/src/ArkRow.ts +++ b/arkoala/arkui/src/ArkRow.ts @@ -26,10 +26,10 @@ import { unsafeCast } from "./shared/generated-utils" export class ArkRowComponent extends ArkCommonMethodComponent { protected peer?: ArkRowPeer /** @memo */ - _setRowOptions(value?: {space?: string | number}): this { - if (this.checkPriority("_setRowOptions")) { + setRowOptions(value?: {space?: string | number}): this { + if (this.checkPriority("setRowOptions")) { const value_casted = value as ({space?: string | number}) - this.peer?._setRowOptionsAttribute(value_casted) + this.peer?.setRowOptionsAttribute(value_casted) return this } return this @@ -78,8 +78,8 @@ export function ArkRow( const receiver = remember(() => { return new ArkRowComponent() }) - NodeAttach(() => ArkRowPeer.create(ArkUINodeType.Row, receiver), () => { - receiver._setRowOptions(value) + NodeAttach((): ArkRowPeer => ArkRowPeer.create(ArkUINodeType.Row, receiver), (_: ArkRowPeer) => { + receiver.setRowOptions(value) style?.(receiver) content_?.() receiver.applyAttributesFinish() diff --git a/arkoala/arkui/src/NativeModuleRecorder.ts b/arkoala/arkui/src/NativeModuleRecorder.ts index 9aaee470fb538c583265d60773a6fe7124c580df..b6c60b6fec86966e1f195dddb64a27b98a937cbe 100644 --- a/arkoala/arkui/src/NativeModuleRecorder.ts +++ b/arkoala/arkui/src/NativeModuleRecorder.ts @@ -19,7 +19,7 @@ import { encodeToData, KFloat, KFloat32ArrayPtr, KInt, KInt32ArrayPtr, KPointer, import { UIElement, NodePointer, NativeModuleEmpty, Alignment, toColor, toArrayStrings, TypeExpose, unitName } from "@koalaui/arkoala"; import { Deserializer } from "./peers/Deserializer"; -import { RuntimeType } from "./peers/SerializerBase"; +import { runtimeType, RuntimeType } from "./peers/SerializerBase"; import { unsafeCast } from "./shared/generated-utils"; const NULL_POINTER = 0 @@ -1597,13 +1597,71 @@ export class NativeModuleRecorder extends NativeModuleEmpty { let node = this.ptr2object(ptr) node.blockBorderWidth = `${value}${unitName(unit)}` } - _CommonMethod_borderWidth(ptr: NodePointer, values: KFloat32ArrayPtr, units: KInt32ArrayPtr, length: KInt): void { + _CommonMethod_borderWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + const deserializer = new Deserializer(thisArray.buffer, thisLength) let node = this.ptr2object(ptr) - let result = new Array() - for (let i = 0; i < length; i++) { - result.push(`${(values as Float32Array)[i]}${unitName((units as Int32Array)[i])}`) + + const value = deserializer.readInt8() + switch (value) { + case 0: { + node.borderWidth = deserializer.readLength()?.toString() + break + } + case 1: { + let result = new Array() + let type = deserializer.readInt8() + let value: Length | undefined = undefined + if (type != RuntimeType.UNDEFINED) { + value = deserializer.readLength() + if (typeof value == "number") { + result.push(`${value}vp`) + } else { + result.push(`${value}`) + } + } + type = deserializer.readInt8() + if (type != RuntimeType.UNDEFINED) { + value = deserializer.readLength() + if (typeof value == "number") { + result.push(`${value}vp`) + } else { + result.push(`${value}`) + } + } + type = deserializer.readInt8() + if (type != RuntimeType.UNDEFINED) { + value = deserializer.readLength() + if (typeof value == "number") { + result.push(`${value}vp`) + } else { + result.push(`${value}`) + } + } + type = deserializer.readInt8() + if (type != RuntimeType.UNDEFINED) { + value = deserializer.readLength() + if (typeof value == "number") { + result.push(`${value}vp`) + } else { + result.push(`${value}`) + } + } + node.borderWidth = result.join(" ") + break + } + case 2: { + const start = deserializer.readLocalizedEdgeWidths().start + const top = deserializer.readLocalizedEdgeWidths().top + const end = deserializer.readLocalizedEdgeWidths().end + const bottom = deserializer.readLocalizedEdgeWidths().bottom + node.borderWidth = + `${start?.value ?? ""}${start !== undefined ? unitName(start.unit) : ""} ` + + `${top?.value ?? ""}${top !== undefined ? unitName(top.unit) : ""} ` + + `${end?.value ?? ""}${end !== undefined ? unitName(end.unit) : ""} ` + + `${bottom?.value ?? ""}${bottom !== undefined ? unitName(bottom.unit) : ""}` + break + } } - node.borderWidth = result.join(" ") } // search diff --git a/arkoala/arkui/src/peers/ArkBlankPeer.ts b/arkoala/arkui/src/peers/ArkBlankPeer.ts index 7d85433d5b76599188930afece0462ed54278de6..55bc4eb27b0e97b53eec25e9d90bb2db0c0e640f 100644 --- a/arkoala/arkui/src/peers/ArkBlankPeer.ts +++ b/arkoala/arkui/src/peers/ArkBlankPeer.ts @@ -29,15 +29,15 @@ import { registerCallback } from "./SerializerBase" import { wrapCallback } from "@koalaui/interop" import { Deserializer, createDeserializer } from "./Deserializer" export class ArkBlankPeer extends ArkCommonMethodPeer { - protected constructor(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { - super(type, component, flags); + protected constructor(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { + super(nodeType, component, flags); } - public static create(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkBlankPeer { - const _peer = new ArkBlankPeer(type, component, flags) + public static create(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkBlankPeer { + const _peer = new ArkBlankPeer(nodeType, component, flags) component?.setPeer(_peer) return _peer } - _setBlankOptionsAttribute(min?: number | string): void { + setBlankOptionsAttribute(min?: number | string): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) let min_type: int32 = RuntimeType.UNDEFINED min_type = runtimeType(min) @@ -57,7 +57,7 @@ export class ArkBlankPeer extends ArkCommonMethodPeer { thisSerializer.writeString(min_value_1) } } - nativeModule()._BlankInterface__setBlankOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + nativeModule()._BlankInterface_setBlankOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } colorAttribute(value: ResourceColor): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) diff --git a/arkoala/arkui/src/peers/ArkButtonPeer.ts b/arkoala/arkui/src/peers/ArkButtonPeer.ts index 017bbcbca8416deee4e0b04abdbd25d3e4cf7d8a..e12121672ac610a634761ed04cc8754c0b7cb483 100644 --- a/arkoala/arkui/src/peers/ArkButtonPeer.ts +++ b/arkoala/arkui/src/peers/ArkButtonPeer.ts @@ -29,23 +29,23 @@ import { registerCallback } from "./SerializerBase" import { wrapCallback } from "@koalaui/interop" import { Deserializer, createDeserializer } from "./Deserializer" export class ArkButtonPeer extends ArkCommonMethodPeer { - protected constructor(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { - super(type, component, flags); + protected constructor(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { + super(nodeType, component, flags); } - public static create(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkButtonPeer { - const _peer = new ArkButtonPeer(type, component, flags) + public static create(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkButtonPeer { + const _peer = new ArkButtonPeer(nodeType, component, flags) component?.setPeer(_peer) return _peer } - _setButtonOptions_Attribute(): void { - nativeModule()._ButtonInterface__setButtonOptions_(this.peer.ptr) + setButtonOptions0Attribute(): void { + nativeModule()._ButtonInterface_setButtonOptions0(this.peer.ptr) } - _setButtonOptions_ButtonOptionsAttribute(options: ButtonOptions): void { + setButtonOptions1Attribute(options: ButtonOptions): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) thisSerializer.writeButtonOptions(options) - nativeModule()._ButtonInterface__setButtonOptions_ButtonOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + nativeModule()._ButtonInterface_setButtonOptions1(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - _setButtonOptions_ResourceStr_ButtonOptionsAttribute(label: ResourceStr, options?: ButtonOptions): void { + setButtonOptions2Attribute(label: ResourceStr, options?: ButtonOptions): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) let label_type: int32 = RuntimeType.UNDEFINED label_type = runtimeType(label) @@ -66,7 +66,7 @@ export class ArkButtonPeer extends ArkCommonMethodPeer { const options_value = options! thisSerializer.writeButtonOptions(options_value) } - nativeModule()._ButtonInterface__setButtonOptions_ResourceStr_ButtonOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + nativeModule()._ButtonInterface_setButtonOptions2(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } typeAttribute(value: ButtonType): void { nativeModule()._ButtonAttribute_type(this.peer.ptr, unsafeCast(value)) diff --git a/arkoala/arkui/src/peers/ArkCheckboxPeer.ts b/arkoala/arkui/src/peers/ArkCheckboxPeer.ts index 109f16951c9101b1703528723a503950965de0bd..6d53888c0528c442524881c8f96d0f86a789e599 100644 --- a/arkoala/arkui/src/peers/ArkCheckboxPeer.ts +++ b/arkoala/arkui/src/peers/ArkCheckboxPeer.ts @@ -29,15 +29,15 @@ import { registerCallback } from "./SerializerBase" import { wrapCallback } from "@koalaui/interop" import { Deserializer, createDeserializer } from "./Deserializer" export class ArkCheckboxPeer extends ArkCommonMethodPeer { - protected constructor(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { - super(type, component, flags); + protected constructor(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { + super(nodeType, component, flags); } - public static create(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkCheckboxPeer { - const _peer = new ArkCheckboxPeer(type, component, flags) + public static create(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkCheckboxPeer { + const _peer = new ArkCheckboxPeer(nodeType, component, flags) component?.setPeer(_peer) return _peer } - _setCheckboxOptionsAttribute(options?: CheckboxOptions): void { + setCheckboxOptionsAttribute(options?: CheckboxOptions): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) let options_type: int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) @@ -46,7 +46,7 @@ export class ArkCheckboxPeer extends ArkCommonMethodPeer { const options_value = options! thisSerializer.writeCheckboxOptions(options_value) } - nativeModule()._CheckboxInterface__setCheckboxOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + nativeModule()._CheckboxInterface_setCheckboxOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } selectAttribute(value: boolean): void { nativeModule()._CheckboxAttribute_select(this.peer.ptr, +value) diff --git a/arkoala/arkui/src/peers/ArkColumnPeer.ts b/arkoala/arkui/src/peers/ArkColumnPeer.ts index 720b39e009e890e2e42d762d16fdcf17da8bc1ef..0012e26a540c219ba029975e6cfccca809fffd71 100644 --- a/arkoala/arkui/src/peers/ArkColumnPeer.ts +++ b/arkoala/arkui/src/peers/ArkColumnPeer.ts @@ -29,15 +29,15 @@ import { registerCallback } from "./SerializerBase" import { wrapCallback } from "@koalaui/interop" import { Deserializer, createDeserializer } from "./Deserializer" export class ArkColumnPeer extends ArkCommonMethodPeer { - protected constructor(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { - super(type, component, flags); + protected constructor(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { + super(nodeType, component, flags); } - public static create(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkColumnPeer { - const _peer = new ArkColumnPeer(type, component, flags) + public static create(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkColumnPeer { + const _peer = new ArkColumnPeer(nodeType, component, flags) component?.setPeer(_peer) return _peer } - _setColumnOptionsAttribute(value?: {space?: string | number}): void { + setColumnOptionsAttribute(value?: {space?: string | number}): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -64,7 +64,7 @@ export class ArkColumnPeer extends ArkCommonMethodPeer { } } } - nativeModule()._ColumnInterface__setColumnOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + nativeModule()._ColumnInterface_setColumnOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } alignItemsAttribute(value: HorizontalAlign): void { nativeModule()._ColumnAttribute_alignItems(this.peer.ptr, unsafeCast(value)) diff --git a/arkoala/arkui/src/peers/ArkCommonPeer.ts b/arkoala/arkui/src/peers/ArkCommonPeer.ts index 0bf8177627fbc31df7692e415d108c4c588e485b..1bd8e1e09d03e851e847d809d884755fa427e2de 100644 --- a/arkoala/arkui/src/peers/ArkCommonPeer.ts +++ b/arkoala/arkui/src/peers/ArkCommonPeer.ts @@ -30,7 +30,8 @@ import { PeerReceiver } from "./PeerReceiver" import { responseRegionAsArray } from "../shared/responseRegionAsArray" import { unsafeCast } from "../shared/generated-utils" import { createSerializer, Serializer } from "./Serializer" -import { registerCallback, isResource, runtimeType, RuntimeType, SerializerBase } from "./SerializerBase" +import { IMPORT_DrawContext_FROM_api_arkui_Graphics, IMPORT_default_PixelMap_FROM_api_ohos_multimedia_image, IMPORT_default_VisualEffect_FROM_api_ohos_graphics_uiEffect, IMPORT_default_Filter_FROM_api_ohos_graphics_uiEffect, IMPORT_IntentionCode_FROM_api_ohos_multimodalInput_intentionCode, IMPORT_default_UnifiedData_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_Summary_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_UniformDataType_FROM_api_ohos_data_uniformTypeDescriptor, IMPORT_ImageModifier_FROM_api_arkui_ImageModifier, IMPORT_ComponentContent_T_FROM_api_arkui_ComponentContent, IMPORT_CircleShape_FROM_api_ohos_arkui_shape, IMPORT_EllipseShape_FROM_api_ohos_arkui_shape, IMPORT_PathShape_FROM_api_ohos_arkui_shape, IMPORT_RectShape_FROM_api_ohos_arkui_shape, IMPORT_SymbolGlyphModifier_FROM_api_arkui_SymbolGlyphModifier, IMPORT_UIContext_FROM_api_ohos_arkui_UIContext } from "./../SyntheticDeclarations" +import { registerCallback, isResource, runtimeType, isPixelMap, RuntimeType, SerializerBase } from "./SerializerBase" // Example of interface of common attributes export interface ArkCommonAttributes { @@ -90,11 +91,26 @@ export class ArkCommonPeer extends PeerNode { expandSafeAreaAttribute(types: Array|undefined, edges: Array|undefined) { throw new Error("expandSafeAreaAttribute() is not implemented") } - responseRegionAttribute(value: Rectangle | Rectangle[]): void { - const array = responseRegionAsArray(value) - withFloat32Array(array, Access.READ, (data: KFloat32ArrayPtr) => { - nativeModule()._CommonMethod_responseRegion(this.peer.ptr, data, array.length) - }) + responseRegionAttribute(value: Array | Rectangle): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof Array)) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast>(value) + thisSerializer.writeInt8(runtimeType(value_0)) + thisSerializer.writeInt32(value_0.length) + for (let i = 0; i < value_0.length; i++) { + const value_0_element = value_0[i] + thisSerializer.writeRectangle(value_0_element) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("x")) || (value!.hasOwnProperty("y")) || (value!.hasOwnProperty("width")) || (value!.hasOwnProperty("height"))))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeRectangle(value_1) + } + nativeModule()._CommonMethod_responseRegion(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } mouseResponseRegionAttribute(value: Array | Rectangle) { throw new Error("mouseResponseRegionAttribute() is not implemented") @@ -113,11 +129,23 @@ export class ArkCommonPeer extends PeerNode { nativeModule()._CommonMethod_touchable(this.peer.ptr, +value) } hitTestBehaviorAttribute(value: HitTestMode): void { - nativeModule()._CommonMethod_hitTestBehavior(this.peer.ptr, value ? value : HitTestMode.Default) + nativeModule()._CommonMethod_hitTestBehavior(this.peer.ptr, unsafeCast(value)) } - layoutWeightAttribute(value: string | number): void { - let layoutWeight = Number(value) - nativeModule()._CommonMethod_layoutWeight(this.peer.ptr, layoutWeight) + layoutWeightAttribute(value: number | string): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER == value_type))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeNumber(value_0) + } + else if (((RuntimeType.STRING == value_type))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeString(value_1) + } + nativeModule()._CommonMethod_layoutWeight(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } paddingAttribute(value: Padding | Length | LocalizedPadding): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) @@ -252,71 +280,94 @@ export class ArkCommonPeer extends PeerNode { } nativeModule()._CommonMethod_backgroundColor(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - backgroundImageAttribute(src: ResourceStr, repeat?: ImageRepeat): void { - let value = new BackgroundImageOptions(src, repeat ?? ImageRepeat.NoRepeat) - if (src instanceof ArkResource) { - let srcValue = src // TODO: smart cast doesn't work for parameter pseudo state - withString(srcValue.name, (srcPtr: KStringPtr) => { - withString(srcValue.moduleName, (modulePtr: KStringPtr) => { - withString(srcValue.bundleName, (bundlePtr: KStringPtr) => { - nativeModule()._CommonMethod_backgroundImage(this.peer.ptr, srcPtr, bundlePtr, modulePtr, value.repeat!) - }) - }) - }) - } else { - withString(value.src as string, (srcPtr: KStringPtr) => { - nativeModule()._CommonMethod_backgroundImage(this.peer.ptr, srcPtr!, "", "", value.repeat!) - }) + backgroundImageAttribute(src: ResourceStr | PixelMap, repeat?: ImageRepeat): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let src_type: int32 = RuntimeType.UNDEFINED + src_type = runtimeType(src) + if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + thisSerializer.writeInt8(0) + const src_0 = unsafeCast(src) + let src_0_type: int32 = RuntimeType.UNDEFINED + src_0_type = runtimeType(src_0) + if (((RuntimeType.STRING == src_0_type))) { + thisSerializer.writeInt8(0) + const src_0_0 = unsafeCast(src_0) + thisSerializer.writeString(src_0_0) + } + else if (((RuntimeType.OBJECT == src_0_type))) { + thisSerializer.writeInt8(1) + const src_0_1 = unsafeCast(src_0) + thisSerializer.writeResource(src_0_1) + } } + else if (((RuntimeType.OBJECT) == (src_type)) && (isPixelMap(src))) { + thisSerializer.writeInt8(1) + const src_1 = unsafeCast(src) + thisSerializer.writeCustomObject("PixelMap", src_1) + } + let repeat_type: int32 = RuntimeType.UNDEFINED + repeat_type = runtimeType(repeat) + thisSerializer.writeInt8(repeat_type) + if ((RuntimeType.UNDEFINED) != (repeat_type)) { + const repeat_value = repeat! + thisSerializer.writeInt32(repeat_value) + } + nativeModule()._CommonMethod_backgroundImage(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - backgroundImageSizeAttribute(value: SizeOptions | ImageSize): void { - let options: BackgroundImageSizeOptions - if (typeof (value) === 'number') { - options = new BackgroundImageSizeOptions(false) - if (value) { - options.ImageSize = value - } - } else { - options = new BackgroundImageSizeOptions(true) - if (value) { - options.width = value.width ? parseDimension(value.width) : parseDimension(0) - options.height = value.height ? parseDimension(value.height) : parseDimension(0) - } - } - withFloat32Array(options!.values, Access.READ, (valuePtr: KFloat32ArrayPtr) => { - nativeModule()._CommonMethod_backgroundImageSize(this.peer.ptr, - options.width.value, options.height.value, options.width.unit, options.height.unit); - }) + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.OBJECT == value_type))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeSizeOptions(value_0) + } + else if (((RuntimeType.NUMBER == value_type))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeInt32(value_1) + } + nativeModule()._CommonMethod_backgroundImageSize(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - backgroundImagePositionAttribute(value: Position | Alignment): void { - if (typeof value === 'object') { - let options = new ArkPosition(value) - let floatPosition = options!.getPositionOptions() - floatPosition[1] = ArkUIAPIDimensionUnit.PX - floatPosition[3] = ArkUIAPIDimensionUnit.PX - withFloat32Array(floatPosition, Access.READ, (positionOptions: KFloat32ArrayPtr) => { - nativeModule()._CommonMethod_backgroundImagePosition(this.peer.ptr, positionOptions!, floatPosition.length); - }) - } else if (typeof value === 'number') { - // TODO: what is intention here? - let floatPosition = new Float32Array(1) - floatPosition[0] = value - withFloat32Array(floatPosition, Access.READ, (positionOptions: KFloat32ArrayPtr) => { - nativeModule()._CommonMethod_backgroundImagePosition(this.peer.ptr, positionOptions!, floatPosition.length); - }) + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.OBJECT == value_type))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writePosition(value_0) + } + else if (((RuntimeType.NUMBER == value_type))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeInt32(value_1) } + nativeModule()._CommonMethod_backgroundImagePosition(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - backgroundBlurStyleAttribute(value: BlurStyle, options?: BackgroundBlurStyleOptions): void { - nativeModule()._CommonMethod_backgroundBlurStyle( - this.peer.ptr, value, options?.colorMode ?? 0, options?.adaptiveColor ?? 0, options?.scale ?? 1.0) + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 1) + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBackgroundBlurStyleOptions(options_value) + } + nativeModule()._CommonMethod_backgroundBlurStyle(this.peer.ptr, unsafeCast(value), thisSerializer.asArray(), thisSerializer.length()) } foregroundBlurStyleAttribute(value: BlurStyle, options?: ForegroundBlurStyleOptions): void { - nativeModule()._CommonMethod_foregroundBlurStyle( - this.peer.ptr, value, options?.colorMode ?? 0, options?.adaptiveColor ?? 0, options?.scale ?? 1.0) + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 1) + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeForegroundBlurStyleOptions(options_value) + } + nativeModule()._CommonMethod_foregroundBlurStyle(this.peer.ptr, unsafeCast(value), thisSerializer.asArray(), thisSerializer.length()) } opacityAttribute(value: number | Resource): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) @@ -335,49 +386,625 @@ export class ArkCommonPeer extends PeerNode { nativeModule()._CommonMethod_opacity(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } borderAttribute(value: BorderOptions): void { - let borderOptions = translateBorderOptionsToArkBorderOptions(value) - withFloat32Array(borderOptions!.width.values, Access.READ, (widthValuePtr: KFloat32ArrayPtr) => { - withInt32Array(borderOptions!.width.units, Access.READ, (widthUnitsPtr: KInt32ArrayPtr) => { - withInt32Array(borderOptions!.colors, Access.READ, (colors: KInt32ArrayPtr) => { - withFloat32Array(borderOptions!.radius.values, Access.READ, (radiusValuePtr: KFloat32ArrayPtr) => { - withInt32Array(borderOptions!.radius.units, Access.READ, (radiusUnitsPtr: KInt32ArrayPtr) => { - withInt32Array(borderOptions!.styles, Access.READ, (styles: KInt32ArrayPtr) => { - nativeModule()._CommonMethod_border(this.peer.ptr, widthValuePtr!, widthUnitsPtr!, colors!, radiusValuePtr!, radiusUnitsPtr!, styles!) - }) - }) - }) - }) - }) - }) + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + thisSerializer.writeBorderOptions(value) + nativeModule()._CommonMethod_border(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - borderStyleAttribute(value: BorderStyle | EdgeStyles) { - throw new Error("borderStyleAttribute() is not implemented") + borderStyleAttribute(value: BorderStyle | EdgeStyles): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER == value_type))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeInt32(value_0) + } + else if (((RuntimeType.OBJECT == value_type))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + const value_1_top = value_1.top + let value_1_top_type: int32 = RuntimeType.UNDEFINED + value_1_top_type = runtimeType(value_1_top) + thisSerializer.writeInt8(value_1_top_type) + if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { + const value_1_top_value = value_1_top! + thisSerializer.writeInt32(value_1_top_value) + } + const value_1_right = value_1.right + let value_1_right_type: int32 = RuntimeType.UNDEFINED + value_1_right_type = runtimeType(value_1_right) + thisSerializer.writeInt8(value_1_right_type) + if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { + const value_1_right_value = value_1_right! + thisSerializer.writeInt32(value_1_right_value) + } + const value_1_bottom = value_1.bottom + let value_1_bottom_type: int32 = RuntimeType.UNDEFINED + value_1_bottom_type = runtimeType(value_1_bottom) + thisSerializer.writeInt8(value_1_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { + const value_1_bottom_value = value_1_bottom! + thisSerializer.writeInt32(value_1_bottom_value) + } + const value_1_left = value_1.left + let value_1_left_type: int32 = RuntimeType.UNDEFINED + value_1_left_type = runtimeType(value_1_left) + thisSerializer.writeInt8(value_1_left_type) + if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { + const value_1_left_value = value_1_left! + thisSerializer.writeInt32(value_1_left_value) + } + } + nativeModule()._CommonMethod_borderStyle(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - borderWidthAttribute(value: Length | EdgeWidths) { - let width = translateEdgeWidthsToArk(value) - withFloat32Array(width.values, Access.READ, (widthValuePtr: KFloat32ArrayPtr) => { - withInt32Array(width.units, Access.READ, (widthUnitsPtr: KInt32ArrayPtr) => { - nativeModule()._CommonMethod_borderWidth(this.peer.ptr, widthValuePtr, widthUnitsPtr, width.values.length) - }) - }) + borderWidthAttribute(value: Length | EdgeWidths | LocalizedEdgeWidths): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) || ((RuntimeType.STRING) == (value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (isResource(value)))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeLength(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("right")) || (value!.hasOwnProperty("left"))))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + const value_1_top = value_1.top + let value_1_top_type: int32 = RuntimeType.UNDEFINED + value_1_top_type = runtimeType(value_1_top) + thisSerializer.writeInt8(value_1_top_type) + if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { + const value_1_top_value = value_1_top! + thisSerializer.writeLength(value_1_top_value) + } + const value_1_right = value_1.right + let value_1_right_type: int32 = RuntimeType.UNDEFINED + value_1_right_type = runtimeType(value_1_right) + thisSerializer.writeInt8(value_1_right_type) + if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { + const value_1_right_value = value_1_right! + thisSerializer.writeLength(value_1_right_value) + } + const value_1_bottom = value_1.bottom + let value_1_bottom_type: int32 = RuntimeType.UNDEFINED + value_1_bottom_type = runtimeType(value_1_bottom) + thisSerializer.writeInt8(value_1_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { + const value_1_bottom_value = value_1_bottom! + thisSerializer.writeLength(value_1_bottom_value) + } + const value_1_left = value_1.left + let value_1_left_type: int32 = RuntimeType.UNDEFINED + value_1_left_type = runtimeType(value_1_left) + thisSerializer.writeInt8(value_1_left_type) + if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { + const value_1_left_value = value_1_left! + thisSerializer.writeLength(value_1_left_value) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("end")) || (value!.hasOwnProperty("start"))))) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeLocalizedEdgeWidths(value_2) + } + nativeModule()._CommonMethod_borderWidth(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - borderColorAttribute(value: ResourceColor | EdgeColors): void { - let colors = translateBorderColorToArk(value) - withInt32Array(colors, Access.READ, (colorEveryBorder: KInt32ArrayPtr) => - nativeModule()._CommonMethod_borderColor(this.peer.ptr, colorEveryBorder!, colors.length) - ) + borderColorAttribute(value: ResourceColor | EdgeColors | LocalizedEdgeColors): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + let value_0_type: int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (((RuntimeType.NUMBER) == (value_0_type)) && ((unsafeCast(value_0)) >= (0)) && ((unsafeCast(value_0)) <= (11))) { + thisSerializer.writeInt8(0) + const value_0_0 = unsafeCast(value_0) + thisSerializer.writeInt32(value_0_0) + } + else if (((RuntimeType.NUMBER == value_0_type))) { + thisSerializer.writeInt8(1) + const value_0_1 = unsafeCast(value_0) + thisSerializer.writeNumber(value_0_1) + } + else if (((RuntimeType.STRING == value_0_type))) { + thisSerializer.writeInt8(2) + const value_0_2 = unsafeCast(value_0) + thisSerializer.writeString(value_0_2) + } + else if (((RuntimeType.OBJECT == value_0_type))) { + thisSerializer.writeInt8(3) + const value_0_3 = unsafeCast(value_0) + thisSerializer.writeResource(value_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("right")) || (value!.hasOwnProperty("left"))))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + const value_1_top = value_1.top + let value_1_top_type: int32 = RuntimeType.UNDEFINED + value_1_top_type = runtimeType(value_1_top) + thisSerializer.writeInt8(value_1_top_type) + if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { + const value_1_top_value = value_1_top! + let value_1_top_value_type: int32 = RuntimeType.UNDEFINED + value_1_top_value_type = runtimeType(value_1_top_value) + if (((RuntimeType.NUMBER) == (value_1_top_value_type)) && ((unsafeCast(value_1_top_value)) >= (0)) && ((unsafeCast(value_1_top_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_1_top_value_0 = unsafeCast(value_1_top_value) + thisSerializer.writeInt32(value_1_top_value_0) + } + else if (((RuntimeType.NUMBER == value_1_top_value_type))) { + thisSerializer.writeInt8(1) + const value_1_top_value_1 = unsafeCast(value_1_top_value) + thisSerializer.writeNumber(value_1_top_value_1) + } + else if (((RuntimeType.STRING == value_1_top_value_type))) { + thisSerializer.writeInt8(2) + const value_1_top_value_2 = unsafeCast(value_1_top_value) + thisSerializer.writeString(value_1_top_value_2) + } + else if (((RuntimeType.OBJECT == value_1_top_value_type))) { + thisSerializer.writeInt8(3) + const value_1_top_value_3 = unsafeCast(value_1_top_value) + thisSerializer.writeResource(value_1_top_value_3) + } + } + const value_1_right = value_1.right + let value_1_right_type: int32 = RuntimeType.UNDEFINED + value_1_right_type = runtimeType(value_1_right) + thisSerializer.writeInt8(value_1_right_type) + if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { + const value_1_right_value = value_1_right! + let value_1_right_value_type: int32 = RuntimeType.UNDEFINED + value_1_right_value_type = runtimeType(value_1_right_value) + if (((RuntimeType.NUMBER) == (value_1_right_value_type)) && ((unsafeCast(value_1_right_value)) >= (0)) && ((unsafeCast(value_1_right_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_1_right_value_0 = unsafeCast(value_1_right_value) + thisSerializer.writeInt32(value_1_right_value_0) + } + else if (((RuntimeType.NUMBER == value_1_right_value_type))) { + thisSerializer.writeInt8(1) + const value_1_right_value_1 = unsafeCast(value_1_right_value) + thisSerializer.writeNumber(value_1_right_value_1) + } + else if (((RuntimeType.STRING == value_1_right_value_type))) { + thisSerializer.writeInt8(2) + const value_1_right_value_2 = unsafeCast(value_1_right_value) + thisSerializer.writeString(value_1_right_value_2) + } + else if (((RuntimeType.OBJECT == value_1_right_value_type))) { + thisSerializer.writeInt8(3) + const value_1_right_value_3 = unsafeCast(value_1_right_value) + thisSerializer.writeResource(value_1_right_value_3) + } + } + const value_1_bottom = value_1.bottom + let value_1_bottom_type: int32 = RuntimeType.UNDEFINED + value_1_bottom_type = runtimeType(value_1_bottom) + thisSerializer.writeInt8(value_1_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { + const value_1_bottom_value = value_1_bottom! + let value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_1_bottom_value_type = runtimeType(value_1_bottom_value) + if (((RuntimeType.NUMBER) == (value_1_bottom_value_type)) && ((unsafeCast(value_1_bottom_value)) >= (0)) && ((unsafeCast(value_1_bottom_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_1_bottom_value_0 = unsafeCast(value_1_bottom_value) + thisSerializer.writeInt32(value_1_bottom_value_0) + } + else if (((RuntimeType.NUMBER == value_1_bottom_value_type))) { + thisSerializer.writeInt8(1) + const value_1_bottom_value_1 = unsafeCast(value_1_bottom_value) + thisSerializer.writeNumber(value_1_bottom_value_1) + } + else if (((RuntimeType.STRING == value_1_bottom_value_type))) { + thisSerializer.writeInt8(2) + const value_1_bottom_value_2 = unsafeCast(value_1_bottom_value) + thisSerializer.writeString(value_1_bottom_value_2) + } + else if (((RuntimeType.OBJECT == value_1_bottom_value_type))) { + thisSerializer.writeInt8(3) + const value_1_bottom_value_3 = unsafeCast(value_1_bottom_value) + thisSerializer.writeResource(value_1_bottom_value_3) + } + } + const value_1_left = value_1.left + let value_1_left_type: int32 = RuntimeType.UNDEFINED + value_1_left_type = runtimeType(value_1_left) + thisSerializer.writeInt8(value_1_left_type) + if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { + const value_1_left_value = value_1_left! + let value_1_left_value_type: int32 = RuntimeType.UNDEFINED + value_1_left_value_type = runtimeType(value_1_left_value) + if (((RuntimeType.NUMBER) == (value_1_left_value_type)) && ((unsafeCast(value_1_left_value)) >= (0)) && ((unsafeCast(value_1_left_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_1_left_value_0 = unsafeCast(value_1_left_value) + thisSerializer.writeInt32(value_1_left_value_0) + } + else if (((RuntimeType.NUMBER == value_1_left_value_type))) { + thisSerializer.writeInt8(1) + const value_1_left_value_1 = unsafeCast(value_1_left_value) + thisSerializer.writeNumber(value_1_left_value_1) + } + else if (((RuntimeType.STRING == value_1_left_value_type))) { + thisSerializer.writeInt8(2) + const value_1_left_value_2 = unsafeCast(value_1_left_value) + thisSerializer.writeString(value_1_left_value_2) + } + else if (((RuntimeType.OBJECT == value_1_left_value_type))) { + thisSerializer.writeInt8(3) + const value_1_left_value_3 = unsafeCast(value_1_left_value) + thisSerializer.writeResource(value_1_left_value_3) + } + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("end")) || (value!.hasOwnProperty("start"))))) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeLocalizedEdgeColors(value_2) + } + nativeModule()._CommonMethod_borderColor(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - - borderRadiusAttribute(value: Length | BorderRadiuses): void { - let radius = translateBorderRadiusToArk(value)! - withFloat32Array(radius.values, Access.READ, (valuePtr: KFloat32ArrayPtr) => - withInt32Array(radius.units, Access.READ, (unitsPtr: KInt32ArrayPtr) => - nativeModule()._CommonMethod_borderRadius(this.peer.ptr, valuePtr, unitsPtr, radius.values.length) - ) - ) + borderRadiusAttribute(value: Length | BorderRadiuses | LocalizedBorderRadiuses): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) || ((RuntimeType.STRING) == (value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (isResource(value)))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeLength(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topLeft")) || (value!.hasOwnProperty("topRight")) || (value!.hasOwnProperty("bottomLeft")) || (value!.hasOwnProperty("bottomRight"))))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + const value_1_topLeft = value_1.topLeft + let value_1_topLeft_type: int32 = RuntimeType.UNDEFINED + value_1_topLeft_type = runtimeType(value_1_topLeft) + thisSerializer.writeInt8(value_1_topLeft_type) + if ((RuntimeType.UNDEFINED) != (value_1_topLeft_type)) { + const value_1_topLeft_value = value_1_topLeft! + thisSerializer.writeLength(value_1_topLeft_value) + } + const value_1_topRight = value_1.topRight + let value_1_topRight_type: int32 = RuntimeType.UNDEFINED + value_1_topRight_type = runtimeType(value_1_topRight) + thisSerializer.writeInt8(value_1_topRight_type) + if ((RuntimeType.UNDEFINED) != (value_1_topRight_type)) { + const value_1_topRight_value = value_1_topRight! + thisSerializer.writeLength(value_1_topRight_value) + } + const value_1_bottomLeft = value_1.bottomLeft + let value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED + value_1_bottomLeft_type = runtimeType(value_1_bottomLeft) + thisSerializer.writeInt8(value_1_bottomLeft_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottomLeft_type)) { + const value_1_bottomLeft_value = value_1_bottomLeft! + thisSerializer.writeLength(value_1_bottomLeft_value) + } + const value_1_bottomRight = value_1.bottomRight + let value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED + value_1_bottomRight_type = runtimeType(value_1_bottomRight) + thisSerializer.writeInt8(value_1_bottomRight_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottomRight_type)) { + const value_1_bottomRight_value = value_1_bottomRight! + thisSerializer.writeLength(value_1_bottomRight_value) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topStart")) || (value!.hasOwnProperty("topEnd")) || (value!.hasOwnProperty("bottomStart")) || (value!.hasOwnProperty("bottomEnd"))))) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeLocalizedBorderRadiuses(value_2) + } + nativeModule()._CommonMethod_borderRadius(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - borderImageAttribute(value: BorderImageOption) { - throw new Error("borderImageAttribute() is not implemented") + borderImageAttribute(value: BorderImageOption): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + thisSerializer.writeBorderImageOption(value) + nativeModule()._CommonMethod_borderImage(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + } + outlineAttribute(value: OutlineOptions): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + thisSerializer.writeOutlineOptions(value) + nativeModule()._CommonMethod_outline(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + } + outlineStyleAttribute(value: OutlineStyle | EdgeOutlineStyles): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER == value_type))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeInt32(value_0) + } + else if (((RuntimeType.OBJECT == value_type))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + const value_1_top = value_1.top + let value_1_top_type: int32 = RuntimeType.UNDEFINED + value_1_top_type = runtimeType(value_1_top) + thisSerializer.writeInt8(value_1_top_type) + if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { + const value_1_top_value = value_1_top! + thisSerializer.writeInt32(value_1_top_value) + } + const value_1_right = value_1.right + let value_1_right_type: int32 = RuntimeType.UNDEFINED + value_1_right_type = runtimeType(value_1_right) + thisSerializer.writeInt8(value_1_right_type) + if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { + const value_1_right_value = value_1_right! + thisSerializer.writeInt32(value_1_right_value) + } + const value_1_bottom = value_1.bottom + let value_1_bottom_type: int32 = RuntimeType.UNDEFINED + value_1_bottom_type = runtimeType(value_1_bottom) + thisSerializer.writeInt8(value_1_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { + const value_1_bottom_value = value_1_bottom! + thisSerializer.writeInt32(value_1_bottom_value) + } + const value_1_left = value_1.left + let value_1_left_type: int32 = RuntimeType.UNDEFINED + value_1_left_type = runtimeType(value_1_left) + thisSerializer.writeInt8(value_1_left_type) + if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { + const value_1_left_value = value_1_left! + thisSerializer.writeInt32(value_1_left_value) + } + } + nativeModule()._CommonMethod_outlineStyle(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + } + outlineWidthAttribute(value: Dimension | EdgeOutlineWidths): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) || ((RuntimeType.STRING) == (value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (isResource(value)))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeLength(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("top")) || (value!.hasOwnProperty("right")) || (value!.hasOwnProperty("bottom")) || (value!.hasOwnProperty("left"))))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + const value_1_top = value_1.top + let value_1_top_type: int32 = RuntimeType.UNDEFINED + value_1_top_type = runtimeType(value_1_top) + thisSerializer.writeInt8(value_1_top_type) + if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { + const value_1_top_value = value_1_top! + thisSerializer.writeLength(value_1_top_value) + } + const value_1_right = value_1.right + let value_1_right_type: int32 = RuntimeType.UNDEFINED + value_1_right_type = runtimeType(value_1_right) + thisSerializer.writeInt8(value_1_right_type) + if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { + const value_1_right_value = value_1_right! + thisSerializer.writeLength(value_1_right_value) + } + const value_1_bottom = value_1.bottom + let value_1_bottom_type: int32 = RuntimeType.UNDEFINED + value_1_bottom_type = runtimeType(value_1_bottom) + thisSerializer.writeInt8(value_1_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { + const value_1_bottom_value = value_1_bottom! + thisSerializer.writeLength(value_1_bottom_value) + } + const value_1_left = value_1.left + let value_1_left_type: int32 = RuntimeType.UNDEFINED + value_1_left_type = runtimeType(value_1_left) + thisSerializer.writeInt8(value_1_left_type) + if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { + const value_1_left_value = value_1_left! + thisSerializer.writeLength(value_1_left_value) + } + } + nativeModule()._CommonMethod_outlineWidth(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + } + outlineColorAttribute(value: ResourceColor | EdgeColors | LocalizedEdgeColors): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + let value_0_type: int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (((RuntimeType.NUMBER) == (value_0_type)) && ((unsafeCast(value_0)) >= (0)) && ((unsafeCast(value_0)) <= (11))) { + thisSerializer.writeInt8(0) + const value_0_0 = unsafeCast(value_0) + thisSerializer.writeInt32(value_0_0) + } + else if (((RuntimeType.NUMBER == value_0_type))) { + thisSerializer.writeInt8(1) + const value_0_1 = unsafeCast(value_0) + thisSerializer.writeNumber(value_0_1) + } + else if (((RuntimeType.STRING == value_0_type))) { + thisSerializer.writeInt8(2) + const value_0_2 = unsafeCast(value_0) + thisSerializer.writeString(value_0_2) + } + else if (((RuntimeType.OBJECT == value_0_type))) { + thisSerializer.writeInt8(3) + const value_0_3 = unsafeCast(value_0) + thisSerializer.writeResource(value_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("right")) || (value!.hasOwnProperty("left"))))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + const value_1_top = value_1.top + let value_1_top_type: int32 = RuntimeType.UNDEFINED + value_1_top_type = runtimeType(value_1_top) + thisSerializer.writeInt8(value_1_top_type) + if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { + const value_1_top_value = value_1_top! + let value_1_top_value_type: int32 = RuntimeType.UNDEFINED + value_1_top_value_type = runtimeType(value_1_top_value) + if (((RuntimeType.NUMBER) == (value_1_top_value_type)) && ((unsafeCast(value_1_top_value)) >= (0)) && ((unsafeCast(value_1_top_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_1_top_value_0 = unsafeCast(value_1_top_value) + thisSerializer.writeInt32(value_1_top_value_0) + } + else if (((RuntimeType.NUMBER == value_1_top_value_type))) { + thisSerializer.writeInt8(1) + const value_1_top_value_1 = unsafeCast(value_1_top_value) + thisSerializer.writeNumber(value_1_top_value_1) + } + else if (((RuntimeType.STRING == value_1_top_value_type))) { + thisSerializer.writeInt8(2) + const value_1_top_value_2 = unsafeCast(value_1_top_value) + thisSerializer.writeString(value_1_top_value_2) + } + else if (((RuntimeType.OBJECT == value_1_top_value_type))) { + thisSerializer.writeInt8(3) + const value_1_top_value_3 = unsafeCast(value_1_top_value) + thisSerializer.writeResource(value_1_top_value_3) + } + } + const value_1_right = value_1.right + let value_1_right_type: int32 = RuntimeType.UNDEFINED + value_1_right_type = runtimeType(value_1_right) + thisSerializer.writeInt8(value_1_right_type) + if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { + const value_1_right_value = value_1_right! + let value_1_right_value_type: int32 = RuntimeType.UNDEFINED + value_1_right_value_type = runtimeType(value_1_right_value) + if (((RuntimeType.NUMBER) == (value_1_right_value_type)) && ((unsafeCast(value_1_right_value)) >= (0)) && ((unsafeCast(value_1_right_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_1_right_value_0 = unsafeCast(value_1_right_value) + thisSerializer.writeInt32(value_1_right_value_0) + } + else if (((RuntimeType.NUMBER == value_1_right_value_type))) { + thisSerializer.writeInt8(1) + const value_1_right_value_1 = unsafeCast(value_1_right_value) + thisSerializer.writeNumber(value_1_right_value_1) + } + else if (((RuntimeType.STRING == value_1_right_value_type))) { + thisSerializer.writeInt8(2) + const value_1_right_value_2 = unsafeCast(value_1_right_value) + thisSerializer.writeString(value_1_right_value_2) + } + else if (((RuntimeType.OBJECT == value_1_right_value_type))) { + thisSerializer.writeInt8(3) + const value_1_right_value_3 = unsafeCast(value_1_right_value) + thisSerializer.writeResource(value_1_right_value_3) + } + } + const value_1_bottom = value_1.bottom + let value_1_bottom_type: int32 = RuntimeType.UNDEFINED + value_1_bottom_type = runtimeType(value_1_bottom) + thisSerializer.writeInt8(value_1_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { + const value_1_bottom_value = value_1_bottom! + let value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_1_bottom_value_type = runtimeType(value_1_bottom_value) + if (((RuntimeType.NUMBER) == (value_1_bottom_value_type)) && ((unsafeCast(value_1_bottom_value)) >= (0)) && ((unsafeCast(value_1_bottom_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_1_bottom_value_0 = unsafeCast(value_1_bottom_value) + thisSerializer.writeInt32(value_1_bottom_value_0) + } + else if (((RuntimeType.NUMBER == value_1_bottom_value_type))) { + thisSerializer.writeInt8(1) + const value_1_bottom_value_1 = unsafeCast(value_1_bottom_value) + thisSerializer.writeNumber(value_1_bottom_value_1) + } + else if (((RuntimeType.STRING == value_1_bottom_value_type))) { + thisSerializer.writeInt8(2) + const value_1_bottom_value_2 = unsafeCast(value_1_bottom_value) + thisSerializer.writeString(value_1_bottom_value_2) + } + else if (((RuntimeType.OBJECT == value_1_bottom_value_type))) { + thisSerializer.writeInt8(3) + const value_1_bottom_value_3 = unsafeCast(value_1_bottom_value) + thisSerializer.writeResource(value_1_bottom_value_3) + } + } + const value_1_left = value_1.left + let value_1_left_type: int32 = RuntimeType.UNDEFINED + value_1_left_type = runtimeType(value_1_left) + thisSerializer.writeInt8(value_1_left_type) + if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { + const value_1_left_value = value_1_left! + let value_1_left_value_type: int32 = RuntimeType.UNDEFINED + value_1_left_value_type = runtimeType(value_1_left_value) + if (((RuntimeType.NUMBER) == (value_1_left_value_type)) && ((unsafeCast(value_1_left_value)) >= (0)) && ((unsafeCast(value_1_left_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_1_left_value_0 = unsafeCast(value_1_left_value) + thisSerializer.writeInt32(value_1_left_value_0) + } + else if (((RuntimeType.NUMBER == value_1_left_value_type))) { + thisSerializer.writeInt8(1) + const value_1_left_value_1 = unsafeCast(value_1_left_value) + thisSerializer.writeNumber(value_1_left_value_1) + } + else if (((RuntimeType.STRING == value_1_left_value_type))) { + thisSerializer.writeInt8(2) + const value_1_left_value_2 = unsafeCast(value_1_left_value) + thisSerializer.writeString(value_1_left_value_2) + } + else if (((RuntimeType.OBJECT == value_1_left_value_type))) { + thisSerializer.writeInt8(3) + const value_1_left_value_3 = unsafeCast(value_1_left_value) + thisSerializer.writeResource(value_1_left_value_3) + } + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("end")) || (value!.hasOwnProperty("start"))))) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeLocalizedEdgeColors(value_2) + } + nativeModule()._CommonMethod_outlineColor(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + } + outlineRadiusAttribute(value: Dimension | OutlineRadiuses): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) || ((RuntimeType.STRING) == (value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (isResource(value)))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeLength(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topLeft")) || (value!.hasOwnProperty("topRight")) || (value!.hasOwnProperty("bottomLeft")) || (value!.hasOwnProperty("bottomRight"))))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + const value_1_topLeft = value_1.topLeft + let value_1_topLeft_type: int32 = RuntimeType.UNDEFINED + value_1_topLeft_type = runtimeType(value_1_topLeft) + thisSerializer.writeInt8(value_1_topLeft_type) + if ((RuntimeType.UNDEFINED) != (value_1_topLeft_type)) { + const value_1_topLeft_value = value_1_topLeft! + thisSerializer.writeLength(value_1_topLeft_value) + } + const value_1_topRight = value_1.topRight + let value_1_topRight_type: int32 = RuntimeType.UNDEFINED + value_1_topRight_type = runtimeType(value_1_topRight) + thisSerializer.writeInt8(value_1_topRight_type) + if ((RuntimeType.UNDEFINED) != (value_1_topRight_type)) { + const value_1_topRight_value = value_1_topRight! + thisSerializer.writeLength(value_1_topRight_value) + } + const value_1_bottomLeft = value_1.bottomLeft + let value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED + value_1_bottomLeft_type = runtimeType(value_1_bottomLeft) + thisSerializer.writeInt8(value_1_bottomLeft_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottomLeft_type)) { + const value_1_bottomLeft_value = value_1_bottomLeft! + thisSerializer.writeLength(value_1_bottomLeft_value) + } + const value_1_bottomRight = value_1.bottomRight + let value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED + value_1_bottomRight_type = runtimeType(value_1_bottomRight) + thisSerializer.writeInt8(value_1_bottomRight_type) + if ((RuntimeType.UNDEFINED) != (value_1_bottomRight_type)) { + const value_1_bottomRight_value = value_1_bottomRight! + thisSerializer.writeLength(value_1_bottomRight_value) + } + } + nativeModule()._CommonMethod_outlineRadius(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } foregroundColorAttribute(value: ResourceColor | ColoringStrategy): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) @@ -419,11 +1046,11 @@ export class ArkCommonPeer extends PeerNode { onClickAttribute(event: (event: ClickEvent) => void) { nativeModule()._CommonMethod_onClick(this.peer.ptr, registerCallback(event)) } - onHoverAttribute(event: (isHover: boolean, event: HoverEvent) => void) { - throw new Error("onHoverAttribute() is not implemented") + onHoverAttribute(event: ((isHover: boolean, event: HoverEvent) => void)): void { + nativeModule()._CommonMethod_onHover(this.peer.ptr, registerCallback(event)) } hoverEffectAttribute(value: HoverEffect): void { - nativeModule()._CommonMethod_hoverEffect(this.peer.ptr, value); + nativeModule()._CommonMethod_hoverEffect(this.peer.ptr, unsafeCast(value)) } onMouseAttribute(event: (event: MouseEvent) => void) { throw new Error("onMouseAttribute() is not implemented") @@ -431,8 +1058,8 @@ export class ArkCommonPeer extends PeerNode { onTouchAttribute(event: ((event: TouchEvent) => void)): void { nativeModule()._CommonMethod_onTouch(this.peer.ptr, registerCallback(event)) } - onKeyEventAttribute(event: (event: KeyEvent) => void) { - throw new Error("onKeyEventAttribute() is not implemented") + onKeyEventAttribute(event: ((event: KeyEvent) => void)): void { + nativeModule()._CommonMethod_onKeyEvent(this.peer.ptr, registerCallback(event)) } focusableAttribute(value: boolean): void { nativeModule()._CommonMethod_focusable(this.peer.ptr, +value) @@ -440,12 +1067,8 @@ export class ArkCommonPeer extends PeerNode { onFocusAttribute(event: (() => void)): void { nativeModule()._CommonMethod_onFocus(this.peer.ptr, registerCallback(event)) } - onBlurAttribute(event: (() => void) | undefined) { - if (event) { - nativeModule()._NotifyComponentAsyncEvent(this.peer.ptr, ComponentAsyncEventSubKind.OnBlur) - } else { - nativeModule()._NotifyResetComponentAsyncEvent(this.peer.ptr, ComponentAsyncEventSubKind.OnBlur) - } + onBlurAttribute(event: (() => void)): void { + nativeModule()._CommonMethod_onBlur(this.peer.ptr, registerCallback(event)) } tabIndexAttribute(index: number): void { nativeModule()._CommonMethod_tabIndex(this.peer.ptr, index) @@ -474,8 +1097,16 @@ export class ArkCommonPeer extends PeerNode { parallelGestureAttribute(gesture: GestureType, mask: GestureMask | undefined) { throw new Error("parallelGestureAttribute() is not implemented") } - blurAttribute(value: number) { - nativeModule()._CommonMethod_blur(this.peer.ptr, value, 0, 0) + blurAttribute(value: number, options?: BlurOptions): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 1) + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBlurOptions(options_value) + } + nativeModule()._CommonMethod_blur(this.peer.ptr, value, thisSerializer.asArray(), thisSerializer.length()) } linearGradientBlurAttribute(value: number, options: LinearGradientBlurOptions) { throw new Error("linearGradientBlurAttribute() is not implemented") @@ -564,8 +1195,8 @@ export class ArkCommonPeer extends PeerNode { onDisAppearAttribute(event: (() => void)): void { nativeModule()._CommonMethod_onDisAppear(this.peer.ptr, registerCallback(event)) } - onAreaChangeAttribute(event: (oldValue: Area, newValue: Area) => void) { - throw new Error("onAreaChangeAttribute() is not implemented") + onAreaChangeAttribute(event: ((oldValue: Area, newValue: Area) => void)): void { + nativeModule()._CommonMethod_onAreaChange(this.peer.ptr, registerCallback(event)) } visibilityAttribute(value: Visibility): void { nativeModule()._CommonMethod_visibility(this.peer.ptr, unsafeCast(value)) @@ -579,23 +1210,23 @@ export class ArkCommonPeer extends PeerNode { flexBasisAttribute(value: number | string) { throw new Error("flexBasisAttribute() is not implemented") } - alignSelfAttribute(value: ItemAlign) { - throw new Error("alignSelfAttribute() is not implemented") + alignSelfAttribute(value: ItemAlign): void { + nativeModule()._CommonMethod_alignSelf(this.peer.ptr, unsafeCast(value)) } - displayPriorityAttribute(value: number) { - throw new Error("displayPriorityAttribute() is not implemented") + displayPriorityAttribute(value: number): void { + nativeModule()._CommonMethod_displayPriority(this.peer.ptr, value) } - zIndexAttribute(value: number) { + zIndexAttribute(value: number): void { nativeModule()._CommonMethod_zIndex(this.peer.ptr, value) } sharedTransitionAttribute(id: string, options: sharedTransitionOptions | undefined) { throw new Error("sharedTransitionAttribute() is not implemented") } - directionAttribute(value: Direction) { - nativeModule()._CommonMethod_direction(this.peer.ptr, value) + directionAttribute(value: Direction): void { + nativeModule()._CommonMethod_direction(this.peer.ptr, unsafeCast(value)) } - alignAttribute(value: Alignment) { - nativeModule()._CommonMethod_align(this.peer.ptr, value) + alignAttribute(value: Alignment): void { + nativeModule()._CommonMethod_align(this.peer.ptr, unsafeCast(value)) } positionAttribute(value: Position | Edges | LocalizedEdges): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) @@ -682,47 +1313,303 @@ export class ArkCommonPeer extends PeerNode { draggableAttribute(value: boolean) { nativeModule()._CommonMethod_draggable(this.peer.ptr, +value) } - overlayAttribute(value: string | CustomBuilder, options: { align?: Alignment; offset?: { x?: number; y?: number } } | undefined) { - throw new Error("overlayAttribute() is not implemented") - } - linearGradientAttribute(value: { - angle?: number | string; - direction?: GradientDirection; - colors: Array; - repeating?: boolean; - }) { - const gradient = translateLinearGradientToArkLinearGradient(value) - withFloat32Array(gradient.colors, Access.READ, colorsPtr => { - nativeModule()._CommonMethod_linearGradient(this.peer.ptr, gradient.angle, gradient.direction, +gradient.repeat, - colorsPtr, gradient.colors.length) - }) + overlayAttribute(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.STRING == value_type))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeString(value_0) + } + else if (((RuntimeType.FUNCTION == value_type)) || ((RuntimeType.UNDEFINED == value_type))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + let value_1_type: int32 = RuntimeType.UNDEFINED + value_1_type = runtimeType(value_1) + if (((RuntimeType.FUNCTION == value_1_type))) { + thisSerializer.writeInt8(0) + const value_1_0 = unsafeCast(value_1) + thisSerializer.writeFunction(value_1_0) + } + else if (((RuntimeType.UNDEFINED == value_1_type))) { + thisSerializer.writeInt8(1) + } + } + else if (((RuntimeType.OBJECT == value_type))) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeCustomObject("ComponentContent", value_2) + } + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeOverlayOptions(options_value) + } + nativeModule()._CommonMethod_overlay(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - sweepGradientAttribute(value: { - center: Array; - start?: number | string; - end?: number | string; - rotation?: number | string; - colors: Array; - repeating?: boolean; - }) { - throw new Error("sweepGradientAttribute() is not implemented") + linearGradientAttribute(value: LinearGradientValuesType): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + const value_angle = value.angle + let value_angle_type: int32 = RuntimeType.UNDEFINED + value_angle_type = runtimeType(value_angle) + thisSerializer.writeInt8(value_angle_type) + if ((RuntimeType.UNDEFINED) != (value_angle_type)) { + const value_angle_value = value_angle! + let value_angle_value_type: int32 = RuntimeType.UNDEFINED + value_angle_value_type = runtimeType(value_angle_value) + if (((RuntimeType.NUMBER == value_angle_value_type))) { + thisSerializer.writeInt8(0) + const value_angle_value_0 = unsafeCast(value_angle_value) + thisSerializer.writeNumber(value_angle_value_0) + } + else if (((RuntimeType.STRING == value_angle_value_type))) { + thisSerializer.writeInt8(1) + const value_angle_value_1 = unsafeCast(value_angle_value) + thisSerializer.writeString(value_angle_value_1) + } + } + const value_direction = value.direction + let value_direction_type: int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + thisSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = value_direction! + thisSerializer.writeInt32(value_direction_value) + } + const value_colors = value.colors + thisSerializer.writeInt8(runtimeType(value_colors)) + thisSerializer.writeInt32(value_colors.length) + for (let i = 0; i < value_colors.length; i++) { + const value_colors_element = value_colors[i] + thisSerializer.writeInt8(runtimeType(value_colors_element)) + const value_colors_element_0 = value_colors_element[0] + let value_colors_element_0_type: int32 = RuntimeType.UNDEFINED + value_colors_element_0_type = runtimeType(value_colors_element_0) + if (((RuntimeType.NUMBER) == (value_colors_element_0_type)) && ((unsafeCast(value_colors_element_0)) >= (0)) && ((unsafeCast(value_colors_element_0)) <= (11))) { + thisSerializer.writeInt8(0) + const value_colors_element_0_0 = unsafeCast(value_colors_element_0) + thisSerializer.writeInt32(value_colors_element_0_0) + } + else if (((RuntimeType.NUMBER == value_colors_element_0_type))) { + thisSerializer.writeInt8(1) + const value_colors_element_0_1 = unsafeCast(value_colors_element_0) + thisSerializer.writeNumber(value_colors_element_0_1) + } + else if (((RuntimeType.STRING == value_colors_element_0_type))) { + thisSerializer.writeInt8(2) + const value_colors_element_0_2 = unsafeCast(value_colors_element_0) + thisSerializer.writeString(value_colors_element_0_2) + } + else if (((RuntimeType.OBJECT == value_colors_element_0_type))) { + thisSerializer.writeInt8(3) + const value_colors_element_0_3 = unsafeCast(value_colors_element_0) + thisSerializer.writeResource(value_colors_element_0_3) + } + const value_colors_element_1 = value_colors_element[1] + thisSerializer.writeNumber(value_colors_element_1) + } + const value_repeating = value.repeating + let value_repeating_type: int32 = RuntimeType.UNDEFINED + value_repeating_type = runtimeType(value_repeating) + thisSerializer.writeInt8(value_repeating_type) + if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { + const value_repeating_value = value_repeating! + thisSerializer.writeBoolean(value_repeating_value) + } + nativeModule()._CommonMethod_linearGradient(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - - radialGradientAttribute(value: { center: Array; radius: number | string; colors: Array; repeating?: boolean }) { - const gradient = translateRadialGradientToArkRadialGradient(value) - withFloat32Array(gradient.colors, Access.READ, colorsPtr => { - nativeModule()._CommonMethod_radialGradient(this.peer.ptr, gradient.x.value, gradient.x.unit, - gradient.y.value, gradient.y.unit, gradient.radius.value, gradient.radius.unit, +gradient.repeat, - colorsPtr, gradient.colors.length) - }) + sweepGradientAttribute(value: SweepGradientValuesType): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + const value_center = value.center + thisSerializer.writeInt8(runtimeType(value_center)) + const value_center_0 = value_center[0] + thisSerializer.writeLength(value_center_0) + const value_center_1 = value_center[1] + thisSerializer.writeLength(value_center_1) + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + thisSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + let value_start_value_type: int32 = RuntimeType.UNDEFINED + value_start_value_type = runtimeType(value_start_value) + if (((RuntimeType.NUMBER == value_start_value_type))) { + thisSerializer.writeInt8(0) + const value_start_value_0 = unsafeCast(value_start_value) + thisSerializer.writeNumber(value_start_value_0) + } + else if (((RuntimeType.STRING == value_start_value_type))) { + thisSerializer.writeInt8(1) + const value_start_value_1 = unsafeCast(value_start_value) + thisSerializer.writeString(value_start_value_1) + } + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + thisSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + let value_end_value_type: int32 = RuntimeType.UNDEFINED + value_end_value_type = runtimeType(value_end_value) + if (((RuntimeType.NUMBER == value_end_value_type))) { + thisSerializer.writeInt8(0) + const value_end_value_0 = unsafeCast(value_end_value) + thisSerializer.writeNumber(value_end_value_0) + } + else if (((RuntimeType.STRING == value_end_value_type))) { + thisSerializer.writeInt8(1) + const value_end_value_1 = unsafeCast(value_end_value) + thisSerializer.writeString(value_end_value_1) + } + } + const value_rotation = value.rotation + let value_rotation_type: int32 = RuntimeType.UNDEFINED + value_rotation_type = runtimeType(value_rotation) + thisSerializer.writeInt8(value_rotation_type) + if ((RuntimeType.UNDEFINED) != (value_rotation_type)) { + const value_rotation_value = value_rotation! + let value_rotation_value_type: int32 = RuntimeType.UNDEFINED + value_rotation_value_type = runtimeType(value_rotation_value) + if (((RuntimeType.NUMBER == value_rotation_value_type))) { + thisSerializer.writeInt8(0) + const value_rotation_value_0 = unsafeCast(value_rotation_value) + thisSerializer.writeNumber(value_rotation_value_0) + } + else if (((RuntimeType.STRING == value_rotation_value_type))) { + thisSerializer.writeInt8(1) + const value_rotation_value_1 = unsafeCast(value_rotation_value) + thisSerializer.writeString(value_rotation_value_1) + } + } + const value_colors = value.colors + thisSerializer.writeInt8(runtimeType(value_colors)) + thisSerializer.writeInt32(value_colors.length) + for (let i = 0; i < value_colors.length; i++) { + const value_colors_element = value_colors[i] + thisSerializer.writeInt8(runtimeType(value_colors_element)) + const value_colors_element_0 = value_colors_element[0] + let value_colors_element_0_type: int32 = RuntimeType.UNDEFINED + value_colors_element_0_type = runtimeType(value_colors_element_0) + if (((RuntimeType.NUMBER) == (value_colors_element_0_type)) && ((unsafeCast(value_colors_element_0)) >= (0)) && ((unsafeCast(value_colors_element_0)) <= (11))) { + thisSerializer.writeInt8(0) + const value_colors_element_0_0 = unsafeCast(value_colors_element_0) + thisSerializer.writeInt32(value_colors_element_0_0) + } + else if (((RuntimeType.NUMBER == value_colors_element_0_type))) { + thisSerializer.writeInt8(1) + const value_colors_element_0_1 = unsafeCast(value_colors_element_0) + thisSerializer.writeNumber(value_colors_element_0_1) + } + else if (((RuntimeType.STRING == value_colors_element_0_type))) { + thisSerializer.writeInt8(2) + const value_colors_element_0_2 = unsafeCast(value_colors_element_0) + thisSerializer.writeString(value_colors_element_0_2) + } + else if (((RuntimeType.OBJECT == value_colors_element_0_type))) { + thisSerializer.writeInt8(3) + const value_colors_element_0_3 = unsafeCast(value_colors_element_0) + thisSerializer.writeResource(value_colors_element_0_3) + } + const value_colors_element_1 = value_colors_element[1] + thisSerializer.writeNumber(value_colors_element_1) + } + const value_repeating = value.repeating + let value_repeating_type: int32 = RuntimeType.UNDEFINED + value_repeating_type = runtimeType(value_repeating) + thisSerializer.writeInt8(value_repeating_type) + if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { + const value_repeating_value = value_repeating! + thisSerializer.writeBoolean(value_repeating_value) + } + nativeModule()._CommonMethod_sweepGradient(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + } + radialGradientAttribute(value: RadialGradientValuesType): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + const value_center = value.center + thisSerializer.writeInt8(runtimeType(value_center)) + const value_center_0 = value_center[0] + thisSerializer.writeLength(value_center_0) + const value_center_1 = value_center[1] + thisSerializer.writeLength(value_center_1) + const value_radius = value.radius + let value_radius_type: int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + if (((RuntimeType.NUMBER == value_radius_type))) { + thisSerializer.writeInt8(0) + const value_radius_0 = unsafeCast(value_radius) + thisSerializer.writeNumber(value_radius_0) + } + else if (((RuntimeType.STRING == value_radius_type))) { + thisSerializer.writeInt8(1) + const value_radius_1 = unsafeCast(value_radius) + thisSerializer.writeString(value_radius_1) + } + const value_colors = value.colors + thisSerializer.writeInt8(runtimeType(value_colors)) + thisSerializer.writeInt32(value_colors.length) + for (let i = 0; i < value_colors.length; i++) { + const value_colors_element = value_colors[i] + thisSerializer.writeInt8(runtimeType(value_colors_element)) + const value_colors_element_0 = value_colors_element[0] + let value_colors_element_0_type: int32 = RuntimeType.UNDEFINED + value_colors_element_0_type = runtimeType(value_colors_element_0) + if (((RuntimeType.NUMBER) == (value_colors_element_0_type)) && ((unsafeCast(value_colors_element_0)) >= (0)) && ((unsafeCast(value_colors_element_0)) <= (11))) { + thisSerializer.writeInt8(0) + const value_colors_element_0_0 = unsafeCast(value_colors_element_0) + thisSerializer.writeInt32(value_colors_element_0_0) + } + else if (((RuntimeType.NUMBER == value_colors_element_0_type))) { + thisSerializer.writeInt8(1) + const value_colors_element_0_1 = unsafeCast(value_colors_element_0) + thisSerializer.writeNumber(value_colors_element_0_1) + } + else if (((RuntimeType.STRING == value_colors_element_0_type))) { + thisSerializer.writeInt8(2) + const value_colors_element_0_2 = unsafeCast(value_colors_element_0) + thisSerializer.writeString(value_colors_element_0_2) + } + else if (((RuntimeType.OBJECT == value_colors_element_0_type))) { + thisSerializer.writeInt8(3) + const value_colors_element_0_3 = unsafeCast(value_colors_element_0) + thisSerializer.writeResource(value_colors_element_0_3) + } + const value_colors_element_1 = value_colors_element[1] + thisSerializer.writeNumber(value_colors_element_1) + } + const value_repeating = value.repeating + let value_repeating_type: int32 = RuntimeType.UNDEFINED + value_repeating_type = runtimeType(value_repeating) + thisSerializer.writeInt8(value_repeating_type) + if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { + const value_repeating_value = value_repeating! + thisSerializer.writeBoolean(value_repeating_value) + } + nativeModule()._CommonMethod_radialGradient(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } motionPathAttribute(value: MotionPathOptions) { throw new Error("motionPathAttribute() is not implemented") } - shadowAttribute(value: ShadowOptions | ShadowStyle) { - throw new Error("shadowAttribute() is not implemented") - // nativeModule()._CommonMethod_shadow(this.peer.ptr, options.radius, translateColorToArkoalaColor(value.color!).value, value.offsetX!, value.offsetY!) + shadowAttribute(value: ShadowOptions | ShadowStyle): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.OBJECT == value_type))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeShadowOptions(value_0) + } + else if (((RuntimeType.NUMBER == value_type))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeInt32(value_1) + } + nativeModule()._CommonMethod_shadow(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } clipAttribute(value: boolean | CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute) { nativeModule()._CommonMethod_clip(this.peer.ptr, +value) @@ -766,13 +1653,15 @@ export class ArkCommonPeer extends PeerNode { restoreIdAttribute(value: number) { throw new Error("restoreIdAttribute() is not implemented") } - onVisibleAreaChangeAttribute(ratios: Array, event: (isVisible: boolean, currentRatio: number) => void) { - let floatRatios: Float32Array = makeRatios(ratios) - withFloat32Array(floatRatios, Access.READ, (ratioFloats: KFloat32ArrayPtr) => { - // native function CommonMethod_visibleAreaChangeRatios will set the callback - // needn't call notifyComponentAsyncEvent at all - nativeModule()._CommonMethod_visibleAreaChangeRatios(this.peer.ptr, ratioFloats, floatRatios.length) - }) + onVisibleAreaChangeAttribute(ratios: Array, event: ((isVisible: boolean, currentRatio: number) => void)): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + thisSerializer.writeInt8(runtimeType(ratios)) + thisSerializer.writeInt32(ratios.length) + for (let i = 0; i < ratios.length; i++) { + const ratios_element = ratios[i] + thisSerializer.writeNumber(ratios_element) + } + nativeModule()._CommonMethod_onVisibleAreaChange(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length(), registerCallback(event)) } sphericalEffectAttribute(value: number) { throw new Error("sphericalEffectAttribute() is not implemented") @@ -808,7 +1697,11 @@ export class ArkCommonPeer extends PeerNode { throw new Error("renderFitAttribute() is not implemented") } - applyAttributes(attributes: T): void { + onSizeChangeAttribute(event: SizeChangeCallback): void { + nativeModule()._CommonMethod_onSizeChange(this.peer.ptr, registerCallback(event)) + } + + applyAttributes(attributes: T): void { // TODO: Made it right! type EntriesValues = object | Function | number | string | undefined | [] const thisAsAny = this as any @@ -886,4 +1779,25 @@ function makeRatios(ratios: number[]): Float32Array { } export class ArkCommonMethodPeer extends ArkCommonPeer {} -export interface ArkCommonMethodAttributes extends ArkCommonAttributes {} \ No newline at end of file +export interface ArkCommonMethodAttributes extends ArkCommonAttributes {} + +export interface LinearGradientValuesType { + angle?: number | string + direction?: GradientDirection + colors: Array<[ResourceColor, number]> + repeating?: boolean + } + export interface SweepGradientValuesType { + center: [Length, Length] + start?: number | string + end?: number | string + rotation?: number | string + colors: Array<[ResourceColor, number]> + repeating?: boolean + } + export interface RadialGradientValuesType { + center: [Length, Length] + radius: number | string + colors: Array<[ResourceColor, number]> + repeating?: boolean + } \ No newline at end of file diff --git a/arkoala/arkui/src/peers/ArkImagePeer.ts b/arkoala/arkui/src/peers/ArkImagePeer.ts index 21033343882f8ce0a2123491f8222957bed272aa..0bb947bcdf484668eeefa1f15215d142c050bbcc 100644 --- a/arkoala/arkui/src/peers/ArkImagePeer.ts +++ b/arkoala/arkui/src/peers/ArkImagePeer.ts @@ -30,15 +30,15 @@ import { registerCallback } from "./SerializerBase" import { wrapCallback } from "@koalaui/interop" import { Deserializer, createDeserializer } from "./Deserializer" export class ArkImagePeer extends ArkCommonMethodPeer { - protected constructor(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { - super(type, component, flags); + protected constructor(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { + super(nodeType, component, flags); } - public static create(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkImagePeer { - const _peer = new ArkImagePeer(type, component, flags) + public static create(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkImagePeer { + const _peer = new ArkImagePeer(nodeType, component, flags) component?.setPeer(_peer) return _peer } - _setImageOptions_PixelMapResourceStrDrawableDescriptorAttribute(src: PixelMap | ResourceStr | DrawableDescriptor): void { + setImageOptions0Attribute(src: PixelMap | ResourceStr | DrawableDescriptor): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) let src_type: int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) @@ -68,9 +68,46 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const src_2 = unsafeCast(src) thisSerializer.writeCustomObject("DrawableDescriptor", src_2) } - nativeModule()._ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + nativeModule()._ImageInterface_setImageOptions0(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } - _setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptionsAttribute(src: PixelMap | ResourceStr | DrawableDescriptor, imageAIOptions: ImageAIOptions): void { + setImageOptions1Attribute(src: PixelMap | ResourceStr | DrawableDescriptor | ImageContent): void { + const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) + let src_type: int32 = RuntimeType.UNDEFINED + src_type = runtimeType(src) + if (((RuntimeType.OBJECT) == (src_type)) && (isPixelMap(src))) { + thisSerializer.writeInt8(0) + const src_0 = unsafeCast(src) + thisSerializer.writeCustomObject("PixelMap", src_0) + } + else if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + thisSerializer.writeInt8(1) + const src_1 = unsafeCast(src) + let src_1_type: int32 = RuntimeType.UNDEFINED + src_1_type = runtimeType(src_1) + if (((RuntimeType.STRING == src_1_type))) { + thisSerializer.writeInt8(0) + const src_1_0 = unsafeCast(src_1) + thisSerializer.writeString(src_1_0) + } + else if (((RuntimeType.OBJECT == src_1_type))) { + thisSerializer.writeInt8(1) + const src_1_1 = unsafeCast(src_1) + thisSerializer.writeResource(src_1_1) + } + } + else if (((RuntimeType.OBJECT) == (src_type)) && (isInstanceOf("DrawableDescriptor", src))) { + thisSerializer.writeInt8(2) + const src_2 = unsafeCast(src) + thisSerializer.writeCustomObject("DrawableDescriptor", src_2) + } + else if (((RuntimeType.NUMBER == src_type))) { + thisSerializer.writeInt8(3) + const src_3 = unsafeCast(src) + thisSerializer.writeInt32(src_3) + } + nativeModule()._ImageInterface_setImageOptions1(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + } + setImageOptions2Attribute(src: PixelMap | ResourceStr | DrawableDescriptor, imageAIOptions: ImageAIOptions): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) let src_type: int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) @@ -101,7 +138,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { thisSerializer.writeCustomObject("DrawableDescriptor", src_2) } thisSerializer.writeImageAIOptions(imageAIOptions) - nativeModule()._ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + nativeModule()._ImageInterface_setImageOptions2(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } altAttribute(value: string | Resource | PixelMap): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) diff --git a/arkoala/arkui/src/peers/ArkRowPeer.ts b/arkoala/arkui/src/peers/ArkRowPeer.ts index 0db6b39400396cd7f5052cf693962a22e390ddd7..d0a5e3c75f8e86c425e366393a90081272eac1da 100644 --- a/arkoala/arkui/src/peers/ArkRowPeer.ts +++ b/arkoala/arkui/src/peers/ArkRowPeer.ts @@ -29,15 +29,15 @@ import { registerCallback } from "./SerializerBase" import { wrapCallback } from "@koalaui/interop" import { Deserializer, createDeserializer } from "./Deserializer" export class ArkRowPeer extends ArkCommonMethodPeer { - protected constructor(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { - super(type, component, flags); + protected constructor(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0) { + super(nodeType, component, flags); } - public static create(type: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkRowPeer { - const _peer = new ArkRowPeer(type, component, flags) + public static create(nodeType: ArkUINodeType, component?: ComponentBase, flags: int32 = 0): ArkRowPeer { + const _peer = new ArkRowPeer(nodeType, component, flags) component?.setPeer(_peer) return _peer } - _setRowOptionsAttribute(value?: {space?: string | number}): void { + setRowOptionsAttribute(value?: {space?: string | number}): void { const thisSerializer: Serializer = SerializerBase.get(createSerializer, 0) let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -64,7 +64,7 @@ export class ArkRowPeer extends ArkCommonMethodPeer { } } } - nativeModule()._RowInterface__setRowOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) + nativeModule()._RowInterface_setRowOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) } alignItemsAttribute(value: VerticalAlign): void { nativeModule()._RowAttribute_alignItems(this.peer.ptr, unsafeCast(value)) diff --git a/arkoala/arkui/src/peers/Deserializer.ts b/arkoala/arkui/src/peers/Deserializer.ts index 67e18013167ea39d68c284dd3b7c22c6d8e448b2..a6bd86da5a027af3e06843e0214a5fd153e631bb 100644 --- a/arkoala/arkui/src/peers/Deserializer.ts +++ b/arkoala/arkui/src/peers/Deserializer.ts @@ -19,10 +19,11 @@ import { int32 } from "@koalaui/common" import { unsafeCast } from "../shared/generated-utils" import { IMPORT_DrawContext_FROM_api_arkui_Graphics, IMPORT_default_PixelMap_FROM_api_ohos_multimedia_image, IMPORT_default_VisualEffect_FROM_api_ohos_graphics_uiEffect, IMPORT_default_Filter_FROM_api_ohos_graphics_uiEffect, IMPORT_IntentionCode_FROM_api_ohos_multimodalInput_intentionCode, IMPORT_default_UnifiedData_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_Summary_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_UniformDataType_FROM_api_ohos_data_uniformTypeDescriptor, IMPORT_ImageModifier_FROM_api_arkui_ImageModifier, IMPORT_ComponentContent_T_FROM_api_arkui_ComponentContent, IMPORT_CircleShape_FROM_api_ohos_arkui_shape, IMPORT_EllipseShape_FROM_api_ohos_arkui_shape, IMPORT_PathShape_FROM_api_ohos_arkui_shape, IMPORT_RectShape_FROM_api_ohos_arkui_shape, IMPORT_SymbolGlyphModifier_FROM_api_arkui_SymbolGlyphModifier, IMPORT_UIContext_FROM_api_ohos_arkui_UIContext, IMPORT_default_ColorFilter_FROM_api_ohos_graphics_drawing, IMPORT_default_ResolutionQuality_FROM_api_ohos_multimedia_image, IMPORT_DrawableDescriptor_FROM_api_ohos_arkui_drawableDescriptor, IMPORT_Resource_FROM_api_global_resource, IMPORT_LengthMetrics_FROM_api_arkui_Graphics, IMPORT_ColorMetrics_FROM_api_arkui_Graphics } from "./../SyntheticDeclarations" + export class Deserializer extends DeserializerBase { readResource(): Resource { - let valueDeserializer: Deserializer = this let value: {id?: number,type?: number,moduleName?: string,bundleName?: string,params?: string[]} = {} + let valueDeserializer: Deserializer = this value.id = (valueDeserializer.readNumber() as number) value.type = (valueDeserializer.readNumber() as number) value.moduleName = (valueDeserializer.readString() as string) @@ -49,8 +50,8 @@ export class Deserializer extends DeserializerBase { return (value as Resource) } readPosition(): Position { - let valueDeserializer: Deserializer = this let value: {x?: Length,y?: Length} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -70,8 +71,8 @@ export class Deserializer extends DeserializerBase { return (value as Position) } readArea(): Area { - let valueDeserializer: Deserializer = this let value: {width?: Length,height?: Length,position?: Position,globalPosition?: Position} = {} + let valueDeserializer: Deserializer = this value.width = (valueDeserializer.readLength() as Length) value.height = (valueDeserializer.readLength() as Length) value.position = valueDeserializer.readPosition() @@ -79,13 +80,12 @@ export class Deserializer extends DeserializerBase { return (value as Area) } readTransitionEffect(): TransitionEffect { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as TransitionEffect) } readShadowOptions(): ShadowOptions { - let valueDeserializer: Deserializer = this let value: {radius?: number | Resource,type?: ShadowType,color?: Color | string | Resource | ColoringStrategy,offsetX?: number | Resource,offsetY?: number | Resource,fill?: boolean} = {} + let valueDeserializer: Deserializer = this { const selector: int32 = valueDeserializer.readInt8() if (selector == 0) { @@ -168,8 +168,8 @@ export class Deserializer extends DeserializerBase { return (value as ShadowOptions) } readFont(): Font { - let valueDeserializer: Deserializer = this let value: {size?: Length,weight?: FontWeight | number | string,family?: string | Resource,style?: FontStyle} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -224,14 +224,14 @@ export class Deserializer extends DeserializerBase { return (value as Font) } readEventTarget(): EventTarget { - let valueDeserializer: Deserializer = this let value: {area?: Area} = {} + let valueDeserializer: Deserializer = this value.area = valueDeserializer.readArea() return (value as EventTarget) } readLocalizedEdgeColors(): LocalizedEdgeColors { - let valueDeserializer: Deserializer = this let value: {top?: ResourceColor,end?: ResourceColor,bottom?: ResourceColor,start?: ResourceColor} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -323,8 +323,8 @@ export class Deserializer extends DeserializerBase { return (value as LocalizedEdgeColors) } readLocalizedEdgeWidths(): LocalizedEdgeWidths { - let valueDeserializer: Deserializer = this let value: {top?: LengthMetrics,end?: LengthMetrics,bottom?: LengthMetrics,start?: LengthMetrics} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -360,8 +360,8 @@ export class Deserializer extends DeserializerBase { return (value as LocalizedEdgeWidths) } readSheetTitleOptions(): SheetTitleOptions { - let valueDeserializer: Deserializer = this let value: {title?: ResourceStr,subtitle?: ResourceStr} = {} + let valueDeserializer: Deserializer = this { const selector: int32 = valueDeserializer.readInt8() if (selector == 0) { @@ -390,8 +390,8 @@ export class Deserializer extends DeserializerBase { return (value as SheetTitleOptions) } readContextMenuAnimationOptions(): ContextMenuAnimationOptions { - let valueDeserializer: Deserializer = this let value: {scale?: AnimationRange,transition?: TransitionEffect,hoverScale?: AnimationRange} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -419,8 +419,8 @@ export class Deserializer extends DeserializerBase { return (value as ContextMenuAnimationOptions) } readPopupMessageOptions(): PopupMessageOptions { - let valueDeserializer: Deserializer = this let value: {textColor?: ResourceColor,font?: Font} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -453,14 +453,9 @@ export class Deserializer extends DeserializerBase { } return (value as PopupMessageOptions) } - readICurve(): ICurve { - let valueDeserializer: Deserializer = this - let value: {} = {} - return (value as ICurve) - } readRotateOptions(): RotateOptions { - let valueDeserializer: Deserializer = this let value: {x?: number,y?: number,z?: number,centerX?: number | string,centerY?: number | string,centerZ?: number,perspective?: number,angle?: number | string} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -545,8 +540,8 @@ export class Deserializer extends DeserializerBase { return (value as RotateOptions) } readScaleOptions(): ScaleOptions { - let valueDeserializer: Deserializer = this let value: {x?: number,y?: number,z?: number,centerX?: number | string,centerY?: number | string} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -606,8 +601,8 @@ export class Deserializer extends DeserializerBase { return (value as ScaleOptions) } readTranslateOptions(): TranslateOptions { - let valueDeserializer: Deserializer = this let value: {x?: number | string,y?: number | string,z?: number | string} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -659,8 +654,8 @@ export class Deserializer extends DeserializerBase { return (value as TranslateOptions) } readLinearGradient(): LinearGradient { - let valueDeserializer: Deserializer = this let value: {angle?: number | string,direction?: GradientDirection,colors?: Array<[ResourceColor, number]>,repeating?: boolean} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -733,8 +728,8 @@ export class Deserializer extends DeserializerBase { return (value as LinearGradient) } readLocalizedBorderRadiuses(): LocalizedBorderRadiuses { - let valueDeserializer: Deserializer = this let value: {topStart?: LengthMetrics,topEnd?: LengthMetrics,bottomStart?: LengthMetrics,bottomEnd?: LengthMetrics} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -770,8 +765,8 @@ export class Deserializer extends DeserializerBase { return (value as LocalizedBorderRadiuses) } readBlurOptions(): BlurOptions { - let valueDeserializer: Deserializer = this let value: {grayscale?: [number, number]} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -787,8 +782,8 @@ export class Deserializer extends DeserializerBase { return (value as BlurOptions) } readBaseEvent(): BaseEvent { - let valueDeserializer: Deserializer = this let value: {target?: EventTarget,timestamp?: number,source?: SourceType,axisHorizontal?: number,axisVertical?: number,pressure?: number,tiltX?: number,tiltY?: number,sourceTool?: SourceTool} = {} + let valueDeserializer: Deserializer = this value.target = valueDeserializer.readEventTarget() value.timestamp = (valueDeserializer.readNumber() as number) value.source = valueDeserializer.readInt32() @@ -815,8 +810,8 @@ export class Deserializer extends DeserializerBase { return (value as BaseEvent) } readRectResult(): RectResult { - let valueDeserializer: Deserializer = this let value: {x?: number,y?: number,width?: number,height?: number} = {} + let valueDeserializer: Deserializer = this value.x = (valueDeserializer.readNumber() as number) value.y = (valueDeserializer.readNumber() as number) value.width = (valueDeserializer.readNumber() as number) @@ -824,13 +819,12 @@ export class Deserializer extends DeserializerBase { return (value as RectResult) } readColorFilter(): ColorFilter { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as ColorFilter) } readLightSource(): LightSource { - let valueDeserializer: Deserializer = this let value: {positionX?: Dimension,positionY?: Dimension,positionZ?: Dimension,intensity?: number,color?: ResourceColor} = {} + let valueDeserializer: Deserializer = this value.positionX = (valueDeserializer.readLength() as Dimension) value.positionY = (valueDeserializer.readLength() as Dimension) value.positionZ = (valueDeserializer.readLength() as Dimension) @@ -860,8 +854,8 @@ export class Deserializer extends DeserializerBase { return (value as LightSource) } readBindOptions(): BindOptions { - let valueDeserializer: Deserializer = this let value: {backgroundColor?: ResourceColor,onAppear?: (() => void),onDisappear?: (() => void),onWillAppear?: (() => void),onWillDisappear?: (() => void)} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -919,8 +913,8 @@ export class Deserializer extends DeserializerBase { return (value as BindOptions) } readContextMenuOptions(): ContextMenuOptions { - let valueDeserializer: Deserializer = this let value: {offset?: Position,placement?: Placement,enableArrow?: boolean,arrowOffset?: Length,preview?: MenuPreviewMode | CustomBuilder,borderRadius?: Length | BorderRadiuses,onAppear?: (() => void),onDisappear?: (() => void),aboutToAppear?: (() => void),aboutToDisappear?: (() => void),previewAnimationOptions?: ContextMenuAnimationOptions,backgroundColor?: ResourceColor,backgroundBlurStyle?: BlurStyle,transition?: TransitionEffect} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -1109,8 +1103,8 @@ export class Deserializer extends DeserializerBase { return (value as ContextMenuOptions) } readCustomPopupOptions(): CustomPopupOptions { - let valueDeserializer: Deserializer = this let value: {builder?: CustomBuilder,placement?: Placement,maskColor?: Color | string | Resource | number,popupColor?: Color | string | Resource | number,enableArrow?: boolean,autoCancel?: boolean,onStateChange?: ((event: {isVisible: boolean}) => void),arrowOffset?: Length,showInSubWindow?: boolean,mask?: boolean | {color: ResourceColor},targetSpace?: Length,offset?: Position,width?: Dimension,arrowPointPosition?: ArrowPointPosition,arrowWidth?: Dimension,arrowHeight?: Dimension,radius?: Dimension,shadow?: ShadowOptions | ShadowStyle,backgroundBlurStyle?: BlurStyle,focusable?: boolean,transition?: TransitionEffect,onWillDismiss?: boolean | Callback} = {} + let valueDeserializer: Deserializer = this { const selector: int32 = valueDeserializer.readInt8() if (selector == 0) { @@ -1361,8 +1355,8 @@ export class Deserializer extends DeserializerBase { return (value as CustomPopupOptions) } readPopupOptions(): PopupOptions { - let valueDeserializer: Deserializer = this let value: {message?: string,placementOnTop?: boolean,placement?: Placement,primaryButton?: {value: string, action: (() => void)},secondaryButton?: {value: string, action: (() => void)},onStateChange?: ((event: {isVisible: boolean}) => void),arrowOffset?: Length,showInSubWindow?: boolean,mask?: boolean | {color: ResourceColor},messageOptions?: PopupMessageOptions,targetSpace?: Length,enableArrow?: boolean,offset?: Position,popupColor?: Color | string | Resource | number,autoCancel?: boolean,width?: Dimension,arrowPointPosition?: ArrowPointPosition,arrowWidth?: Dimension,arrowHeight?: Dimension,radius?: Dimension,shadow?: ShadowOptions | ShadowStyle,backgroundBlurStyle?: BlurStyle,transition?: TransitionEffect,onWillDismiss?: boolean | Callback} = {} + let valueDeserializer: Deserializer = this value.message = (valueDeserializer.readString() as string) { const runtimeType = (valueDeserializer.readInt8() as number) @@ -1617,28 +1611,24 @@ export class Deserializer extends DeserializerBase { return (value as PopupOptions) } readRectAttribute(): RectAttribute { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as RectAttribute) } readPathAttribute(): PathAttribute { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as PathAttribute) } readEllipseAttribute(): EllipseAttribute { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as EllipseAttribute) } readCircleAttribute(): CircleAttribute { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as CircleAttribute) } readOverlayOffset(): OverlayOffset { - let valueDeserializer: Deserializer = this let value: {x?: number,y?: number} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -1658,8 +1648,8 @@ export class Deserializer extends DeserializerBase { return (value as OverlayOffset) } readDragItemInfo(): DragItemInfo { - let valueDeserializer: Deserializer = this let value: {pixelMap?: PixelMap,builder?: CustomBuilder,extraInfo?: string} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -1695,8 +1685,8 @@ export class Deserializer extends DeserializerBase { return (value as DragItemInfo) } readClickEffect(): ClickEffect { - let valueDeserializer: Deserializer = this let value: {level?: ClickEffectLevel,scale?: number} = {} + let valueDeserializer: Deserializer = this value.level = valueDeserializer.readInt32() { const runtimeType = (valueDeserializer.readInt8() as number) @@ -1709,8 +1699,8 @@ export class Deserializer extends DeserializerBase { return (value as ClickEffect) } readBias(): Bias { - let valueDeserializer: Deserializer = this let value: {horizontal?: number,vertical?: number} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -1730,22 +1720,22 @@ export class Deserializer extends DeserializerBase { return (value as Bias) } readLocalizedVerticalAlignParam(): LocalizedVerticalAlignParam { - let valueDeserializer: Deserializer = this let value: {anchor?: string,align?: VerticalAlign} = {} + let valueDeserializer: Deserializer = this value.anchor = (valueDeserializer.readString() as string) value.align = valueDeserializer.readInt32() return (value as LocalizedVerticalAlignParam) } readLocalizedHorizontalAlignParam(): LocalizedHorizontalAlignParam { - let valueDeserializer: Deserializer = this let value: {anchor?: string,align?: HorizontalAlign} = {} + let valueDeserializer: Deserializer = this value.anchor = (valueDeserializer.readString() as string) value.align = valueDeserializer.readInt32() return (value as LocalizedHorizontalAlignParam) } readLocalizedEdges(): LocalizedEdges { - let valueDeserializer: Deserializer = this let value: {top?: LengthMetrics,start?: LengthMetrics,bottom?: LengthMetrics,end?: LengthMetrics} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -1781,8 +1771,8 @@ export class Deserializer extends DeserializerBase { return (value as LocalizedEdges) } readEdges(): Edges { - let valueDeserializer: Deserializer = this let value: {top?: Dimension,left?: Dimension,bottom?: Dimension,right?: Dimension} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -1818,8 +1808,8 @@ export class Deserializer extends DeserializerBase { return (value as Edges) } readLocalizedPosition(): LocalizedPosition { - let valueDeserializer: Deserializer = this let value: {start?: LengthMetrics,top?: LengthMetrics} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -1839,8 +1829,8 @@ export class Deserializer extends DeserializerBase { return (value as LocalizedPosition) } readMotionPathOptions(): MotionPathOptions { - let valueDeserializer: Deserializer = this let value: {path?: string,from?: number,to?: number,rotatable?: boolean} = {} + let valueDeserializer: Deserializer = this value.path = (valueDeserializer.readString() as string) { const runtimeType = (valueDeserializer.readInt8() as number) @@ -1869,8 +1859,8 @@ export class Deserializer extends DeserializerBase { return (value as MotionPathOptions) } readInvertOptions(): InvertOptions { - let valueDeserializer: Deserializer = this let value: {low?: number,high?: number,threshold?: number,thresholdRange?: number} = {} + let valueDeserializer: Deserializer = this value.low = (valueDeserializer.readNumber() as number) value.high = (valueDeserializer.readNumber() as number) value.threshold = (valueDeserializer.readNumber() as number) @@ -1878,50 +1868,43 @@ export class Deserializer extends DeserializerBase { return (value as InvertOptions) } readMotionBlurAnchor(): MotionBlurAnchor { - let valueDeserializer: Deserializer = this let value: {x?: number,y?: number} = {} + let valueDeserializer: Deserializer = this value.x = (valueDeserializer.readNumber() as number) value.y = (valueDeserializer.readNumber() as number) return (value as MotionBlurAnchor) } readGestureGroupInterface(): GestureGroupInterface { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as GestureGroupInterface) } readRotationGestureInterface(): RotationGestureInterface { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as RotationGestureInterface) } readSwipeGestureInterface(): SwipeGestureInterface { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as SwipeGestureInterface) } readPinchGestureInterface(): PinchGestureInterface { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as PinchGestureInterface) } readPanGestureInterface(): PanGestureInterface { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as PanGestureInterface) } readLongPressGestureInterface(): LongPressGestureInterface { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as LongPressGestureInterface) } readTapGestureInterface(): TapGestureInterface { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as TapGestureInterface) } readTransitionOptions(): TransitionOptions { - let valueDeserializer: Deserializer = this let value: {type?: TransitionType,opacity?: number,translate?: TranslateOptions,scale?: ScaleOptions,rotate?: RotateOptions} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -1965,16 +1948,16 @@ export class Deserializer extends DeserializerBase { return (value as TransitionOptions) } readExpectedFrameRateRange(): ExpectedFrameRateRange { - let valueDeserializer: Deserializer = this let value: {min?: number,max?: number,expected?: number} = {} + let valueDeserializer: Deserializer = this value.min = (valueDeserializer.readNumber() as number) value.max = (valueDeserializer.readNumber() as number) value.expected = (valueDeserializer.readNumber() as number) return (value as ExpectedFrameRateRange) } readBlurStyleOptions(): BlurStyleOptions { - let valueDeserializer: Deserializer = this let value: {colorMode?: ThemeColorMode,adaptiveColor?: AdaptiveColor,scale?: number,blurOptions?: BlurOptions} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2010,8 +1993,8 @@ export class Deserializer extends DeserializerBase { return (value as BlurStyleOptions) } readSizeOptions(): SizeOptions { - let valueDeserializer: Deserializer = this let value: {width?: Length,height?: Length} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2031,8 +2014,8 @@ export class Deserializer extends DeserializerBase { return (value as SizeOptions) } readLocalizedPadding(): LocalizedPadding { - let valueDeserializer: Deserializer = this let value: {top?: LengthMetrics,end?: LengthMetrics,bottom?: LengthMetrics,start?: LengthMetrics} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2068,8 +2051,8 @@ export class Deserializer extends DeserializerBase { return (value as LocalizedPadding) } readRectangle(): Rectangle { - let valueDeserializer: Deserializer = this let value: {x?: Length,y?: Length,width?: Length,height?: Length} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2105,21 +2088,20 @@ export class Deserializer extends DeserializerBase { return (value as Rectangle) } readObject(): Object { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as Object) } readImageError(): ImageError { - let valueDeserializer: Deserializer = this let value: {componentWidth?: number,componentHeight?: number,message?: string} = {} + let valueDeserializer: Deserializer = this value.componentWidth = (valueDeserializer.readNumber() as number) value.componentHeight = (valueDeserializer.readNumber() as number) value.message = (valueDeserializer.readString() as string) return (value as ImageError) } readFingerInfo(): FingerInfo { - let valueDeserializer: Deserializer = this let value: {id?: number,globalX?: number,globalY?: number,localX?: number,localY?: number,displayX?: number,displayY?: number} = {} + let valueDeserializer: Deserializer = this value.id = (valueDeserializer.readNumber() as number) value.globalX = (valueDeserializer.readNumber() as number) value.globalY = (valueDeserializer.readNumber() as number) @@ -2130,8 +2112,8 @@ export class Deserializer extends DeserializerBase { return (value as FingerInfo) } readBaseGestureEvent(): BaseGestureEvent { - let valueDeserializer: Deserializer = this let value: {target?: EventTarget,timestamp?: number,source?: SourceType,axisHorizontal?: number,axisVertical?: number,pressure?: number,tiltX?: number,tiltY?: number,sourceTool?: SourceTool,fingerList?: FingerInfo[]} = {} + let valueDeserializer: Deserializer = this value.target = valueDeserializer.readEventTarget() value.timestamp = (valueDeserializer.readNumber() as number) value.source = valueDeserializer.readInt32() @@ -2170,8 +2152,8 @@ export class Deserializer extends DeserializerBase { return (value as BaseGestureEvent) } readGestureInfo(): GestureInfo { - let valueDeserializer: Deserializer = this let value: {tag?: string,type?: GestureControl.GestureType,isSystemGesture?: boolean} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2185,15 +2167,15 @@ export class Deserializer extends DeserializerBase { return (value as GestureInfo) } readDragEvent(): DragEvent { - let valueDeserializer: Deserializer = this let value: {dragBehavior?: DragBehavior,useCustomDropAnimation?: boolean} = {} + let valueDeserializer: Deserializer = this value.dragBehavior = valueDeserializer.readInt32() value.useCustomDropAnimation = valueDeserializer.readBoolean() return (value as DragEvent) } readKeyEvent(): KeyEvent { - let valueDeserializer: Deserializer = this let value: {type?: KeyType,keyCode?: number,keyText?: string,keySource?: KeySource,deviceId?: number,metaKey?: number,timestamp?: number,stopPropagation?: (() => void),intentionCode?: IntentionCode} = {} + let valueDeserializer: Deserializer = this value.type = valueDeserializer.readInt32() value.keyCode = (valueDeserializer.readNumber() as number) value.keyText = (valueDeserializer.readString() as string) @@ -2206,8 +2188,8 @@ export class Deserializer extends DeserializerBase { return (value as KeyEvent) } readTouchObject(): TouchObject { - let valueDeserializer: Deserializer = this let value: {type?: TouchType,id?: number,displayX?: number,displayY?: number,windowX?: number,windowY?: number,screenX?: number,screenY?: number,x?: number,y?: number} = {} + let valueDeserializer: Deserializer = this value.type = valueDeserializer.readInt32() value.id = (valueDeserializer.readNumber() as number) value.displayX = (valueDeserializer.readNumber() as number) @@ -2221,8 +2203,8 @@ export class Deserializer extends DeserializerBase { return (value as TouchObject) } readTouchEvent(): TouchEvent { - let valueDeserializer: Deserializer = this let value: {target?: EventTarget,timestamp?: number,source?: SourceType,axisHorizontal?: number,axisVertical?: number,pressure?: number,tiltX?: number,tiltY?: number,sourceTool?: SourceTool,type?: TouchType,touches?: TouchObject[],changedTouches?: TouchObject[],stopPropagation?: (() => void),preventDefault?: (() => void)} = {} + let valueDeserializer: Deserializer = this value.target = valueDeserializer.readEventTarget() value.timestamp = (valueDeserializer.readNumber() as number) value.source = valueDeserializer.readInt32() @@ -2276,8 +2258,8 @@ export class Deserializer extends DeserializerBase { return (value as TouchEvent) } readMouseEvent(): MouseEvent { - let valueDeserializer: Deserializer = this let value: {target?: EventTarget,timestamp?: number,source?: SourceType,axisHorizontal?: number,axisVertical?: number,pressure?: number,tiltX?: number,tiltY?: number,sourceTool?: SourceTool,button?: MouseButton,action?: MouseAction,displayX?: number,displayY?: number,windowX?: number,windowY?: number,screenX?: number,screenY?: number,x?: number,y?: number,stopPropagation?: (() => void)} = {} + let valueDeserializer: Deserializer = this value.target = valueDeserializer.readEventTarget() value.timestamp = (valueDeserializer.readNumber() as number) value.source = valueDeserializer.readInt32() @@ -2315,8 +2297,8 @@ export class Deserializer extends DeserializerBase { return (value as MouseEvent) } readAccessibilityHoverEvent(): AccessibilityHoverEvent { - let valueDeserializer: Deserializer = this let value: {target?: EventTarget,timestamp?: number,source?: SourceType,axisHorizontal?: number,axisVertical?: number,pressure?: number,tiltX?: number,tiltY?: number,sourceTool?: SourceTool,type?: AccessibilityHoverType,x?: number,y?: number,displayX?: number,displayY?: number,windowX?: number,windowY?: number} = {} + let valueDeserializer: Deserializer = this value.target = valueDeserializer.readEventTarget() value.timestamp = (valueDeserializer.readNumber() as number) value.source = valueDeserializer.readInt32() @@ -2350,8 +2332,8 @@ export class Deserializer extends DeserializerBase { return (value as AccessibilityHoverEvent) } readHoverEvent(): HoverEvent { - let valueDeserializer: Deserializer = this let value: {target?: EventTarget,timestamp?: number,source?: SourceType,axisHorizontal?: number,axisVertical?: number,pressure?: number,tiltX?: number,tiltY?: number,sourceTool?: SourceTool,stopPropagation?: (() => void)} = {} + let valueDeserializer: Deserializer = this value.target = valueDeserializer.readEventTarget() value.timestamp = (valueDeserializer.readNumber() as number) value.source = valueDeserializer.readInt32() @@ -2379,8 +2361,8 @@ export class Deserializer extends DeserializerBase { return (value as HoverEvent) } readClickEvent(): ClickEvent { - let valueDeserializer: Deserializer = this let value: {target?: EventTarget,timestamp?: number,source?: SourceType,axisHorizontal?: number,axisVertical?: number,pressure?: number,tiltX?: number,tiltY?: number,sourceTool?: SourceTool,displayX?: number,displayY?: number,windowX?: number,windowY?: number,screenX?: number,screenY?: number,x?: number,y?: number,preventDefault?: (() => void)} = {} + let valueDeserializer: Deserializer = this value.target = valueDeserializer.readEventTarget() value.timestamp = (valueDeserializer.readNumber() as number) value.source = valueDeserializer.readInt32() @@ -2416,8 +2398,8 @@ export class Deserializer extends DeserializerBase { return (value as ClickEvent) } readTouchTestInfo(): TouchTestInfo { - let valueDeserializer: Deserializer = this let value: {windowX?: number,windowY?: number,parentX?: number,parentY?: number,x?: number,y?: number,rect?: RectResult,id?: string} = {} + let valueDeserializer: Deserializer = this value.windowX = (valueDeserializer.readNumber() as number) value.windowY = (valueDeserializer.readNumber() as number) value.parentX = (valueDeserializer.readNumber() as number) @@ -2429,13 +2411,12 @@ export class Deserializer extends DeserializerBase { return (value as TouchTestInfo) } readUIGestureEvent(): UIGestureEvent { - let valueDeserializer: Deserializer = this let value: {} = {} return (value as UIGestureEvent) } readImageAnalyzerConfig(): ImageAnalyzerConfig { - let valueDeserializer: Deserializer = this let value: {types?: ImageAnalyzerType[]} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2451,8 +2432,8 @@ export class Deserializer extends DeserializerBase { return (value as ImageAnalyzerConfig) } readImageAIOptions(): ImageAIOptions { - let valueDeserializer: Deserializer = this let value: {types?: ImageAnalyzerType[],aiController?: ImageAnalyzerController} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2483,8 +2464,8 @@ export class Deserializer extends DeserializerBase { return (value as ImageAIOptions) } readPointLightStyle(): PointLightStyle { - let valueDeserializer: Deserializer = this let value: {lightSource?: LightSource,illuminated?: IlluminatedType,bloom?: number} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2512,8 +2493,8 @@ export class Deserializer extends DeserializerBase { return (value as PointLightStyle) } readMarkStyle(): MarkStyle { - let valueDeserializer: Deserializer = this let value: {strokeColor?: ResourceColor,size?: Length,strokeWidth?: Length} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2555,8 +2536,8 @@ export class Deserializer extends DeserializerBase { return (value as MarkStyle) } readCheckboxOptions(): CheckboxOptions { - let valueDeserializer: Deserializer = this let value: {name?: string,group?: string,indicatorBuilder?: CustomBuilder} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2592,8 +2573,8 @@ export class Deserializer extends DeserializerBase { return (value as CheckboxOptions) } readLabelStyle(): LabelStyle { - let valueDeserializer: Deserializer = this let value: {overflow?: TextOverflow,maxLines?: number,minFontSize?: number | ResourceStr,maxFontSize?: number | ResourceStr,heightAdaptivePolicy?: TextHeightAdaptivePolicy,font?: Font} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2677,8 +2658,8 @@ export class Deserializer extends DeserializerBase { return (value as LabelStyle) } readButtonOptions(): ButtonOptions { - let valueDeserializer: Deserializer = this let value: {type?: ButtonType,stateEffect?: boolean,buttonStyle?: ButtonStyleMode,controlSize?: ControlSize,role?: ButtonRole} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2722,15 +2703,15 @@ export class Deserializer extends DeserializerBase { return (value as ButtonOptions) } readBackgroundBrightnessOptions(): BackgroundBrightnessOptions { - let valueDeserializer: Deserializer = this let value: {rate?: number,lightUpDegree?: number} = {} + let valueDeserializer: Deserializer = this value.rate = (valueDeserializer.readNumber() as number) value.lightUpDegree = (valueDeserializer.readNumber() as number) return (value as BackgroundBrightnessOptions) } readPixelStretchEffectOptions(): PixelStretchEffectOptions { - let valueDeserializer: Deserializer = this let value: {top?: Length,bottom?: Length,left?: Length,right?: Length} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2766,8 +2747,8 @@ export class Deserializer extends DeserializerBase { return (value as PixelStretchEffectOptions) } readStateStyles(): StateStyles { - let valueDeserializer: Deserializer = this let value: {normal?: any,pressed?: any,disabled?: any,focused?: any,clicked?: any,selected?: Object} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -2819,8 +2800,8 @@ export class Deserializer extends DeserializerBase { return (value as StateStyles) } readSheetOptions(): SheetOptions { - let valueDeserializer: Deserializer = this let value: {backgroundColor?: ResourceColor,onAppear?: (() => void),onDisappear?: (() => void),onWillAppear?: (() => void),onWillDisappear?: (() => void),height?: SheetSize | Length,dragBar?: boolean,maskColor?: ResourceColor,detents?: [(SheetSize | Length), (SheetSize | Length), (SheetSize | Length)],blurStyle?: BlurStyle,showClose?: boolean | Resource,preferType?: SheetType,title?: SheetTitleOptions | CustomBuilder,shouldDismiss?: ((sheetDismiss: SheetDismiss) => void),onWillDismiss?: Callback,onWillSpringBackWhenDismiss?: Callback,enableOutsideInteractive?: boolean,width?: Dimension,borderWidth?: Dimension | EdgeWidths | LocalizedEdgeWidths,borderColor?: ResourceColor | EdgeColors | LocalizedEdgeColors,borderStyle?: BorderStyle | EdgeStyles,shadow?: ShadowOptions | ShadowStyle,onHeightDidChange?: Callback,mode?: SheetMode,scrollSizeMode?: ScrollSizeMode,onDetentsDidChange?: Callback,onWidthDidChange?: Callback,onTypeDidChange?: Callback,uiContext?: UIContext} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -3380,8 +3361,8 @@ export class Deserializer extends DeserializerBase { return (value as SheetOptions) } readContentCoverOptions(): ContentCoverOptions { - let valueDeserializer: Deserializer = this let value: {backgroundColor?: ResourceColor,onAppear?: (() => void),onDisappear?: (() => void),onWillAppear?: (() => void),onWillDisappear?: (() => void),modalTransition?: ModalTransition,onWillDismiss?: Callback,transition?: TransitionEffect} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -3463,8 +3444,8 @@ export class Deserializer extends DeserializerBase { return (value as ContentCoverOptions) } readMenuOptions(): MenuOptions { - let valueDeserializer: Deserializer = this let value: {offset?: Position,placement?: Placement,enableArrow?: boolean,arrowOffset?: Length,preview?: MenuPreviewMode | CustomBuilder,borderRadius?: Length | BorderRadiuses,onAppear?: (() => void),onDisappear?: (() => void),aboutToAppear?: (() => void),aboutToDisappear?: (() => void),previewAnimationOptions?: ContextMenuAnimationOptions,backgroundColor?: ResourceColor,backgroundBlurStyle?: BlurStyle,transition?: TransitionEffect,title?: ResourceStr,showInSubWindow?: boolean} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -3677,8 +3658,8 @@ export class Deserializer extends DeserializerBase { return (value as MenuOptions) } readMenuElement(): MenuElement { - let valueDeserializer: Deserializer = this let value: {value?: ResourceStr,icon?: ResourceStr,symbolIcon?: SymbolGlyphModifier,enabled?: boolean,action?: (() => void)} = {} + let valueDeserializer: Deserializer = this { const selector: int32 = valueDeserializer.readInt8() if (selector == 0) { @@ -3724,8 +3705,8 @@ export class Deserializer extends DeserializerBase { return (value as MenuElement) } readGeometryTransitionOptions(): GeometryTransitionOptions { - let valueDeserializer: Deserializer = this let value: {follow?: boolean,hierarchyStrategy?: TransitionHierarchyStrategy} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -3745,8 +3726,8 @@ export class Deserializer extends DeserializerBase { return (value as GeometryTransitionOptions) } readOverlayOptions(): OverlayOptions { - let valueDeserializer: Deserializer = this let value: {align?: Alignment,offset?: OverlayOffset} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -3766,8 +3747,8 @@ export class Deserializer extends DeserializerBase { return (value as OverlayOptions) } readDragInteractionOptions(): DragInteractionOptions { - let valueDeserializer: Deserializer = this let value: {isMultiSelectionEnabled?: boolean,defaultAnimationBeforeLifting?: boolean} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -3787,8 +3768,8 @@ export class Deserializer extends DeserializerBase { return (value as DragInteractionOptions) } readDragPreviewOptions(): DragPreviewOptions { - let valueDeserializer: Deserializer = this let value: {mode?: DragPreviewMode | Array,modifier?: ImageModifier,numberBadge?: boolean | number} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -3843,8 +3824,8 @@ export class Deserializer extends DeserializerBase { return (value as DragPreviewOptions) } readLocalizedAlignRuleOptions(): LocalizedAlignRuleOptions { - let valueDeserializer: Deserializer = this let value: {start?: LocalizedHorizontalAlignParam,end?: LocalizedHorizontalAlignParam,middle?: LocalizedHorizontalAlignParam,top?: LocalizedVerticalAlignParam,bottom?: LocalizedVerticalAlignParam,center?: LocalizedVerticalAlignParam,bias?: Bias} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -3904,8 +3885,8 @@ export class Deserializer extends DeserializerBase { return (value as LocalizedAlignRuleOptions) } readAlignRuleOption(): AlignRuleOption { - let valueDeserializer: Deserializer = this let value: {left?: {anchor: string, align: HorizontalAlign},right?: {anchor: string, align: HorizontalAlign},middle?: {anchor: string, align: HorizontalAlign},top?: {anchor: string, align: VerticalAlign},bottom?: {anchor: string, align: VerticalAlign},center?: {anchor: string, align: VerticalAlign},bias?: Bias} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -3995,8 +3976,8 @@ export class Deserializer extends DeserializerBase { return (value as AlignRuleOption) } readsharedTransitionOptions(): sharedTransitionOptions { - let valueDeserializer: Deserializer = this let value: {duration?: number,curve?: Curve | string | ICurve,delay?: number,motionPath?: MotionPathOptions,zIndex?: number,type?: SharedTransitionEffectType} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -4018,7 +3999,7 @@ export class Deserializer extends DeserializerBase { value.curve = (valueDeserializer.readString() as string) } else if (selector == 2) { - value.curve = valueDeserializer.readICurve() + value.curve = (valueDeserializer.readMaterialized() as ICurve) } } } @@ -4059,15 +4040,15 @@ export class Deserializer extends DeserializerBase { return (value as sharedTransitionOptions) } readMotionBlurOptions(): MotionBlurOptions { - let valueDeserializer: Deserializer = this let value: {radius?: number,anchor?: MotionBlurAnchor} = {} + let valueDeserializer: Deserializer = this value.radius = (valueDeserializer.readNumber() as number) value.anchor = valueDeserializer.readMotionBlurAnchor() return (value as MotionBlurOptions) } readLinearGradientBlurOptions(): LinearGradientBlurOptions { - let valueDeserializer: Deserializer = this let value: {fractionStops?: FractionStop[],direction?: GradientDirection} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -4095,8 +4076,8 @@ export class Deserializer extends DeserializerBase { return (value as LinearGradientBlurOptions) } readAnimateParam(): AnimateParam { - let valueDeserializer: Deserializer = this let value: {duration?: number,tempo?: number,curve?: Curve | string | ICurve,delay?: number,iterations?: number,playMode?: PlayMode,onFinish?: (() => void),finishCallbackType?: FinishCallbackType,expectedFrameRateRange?: ExpectedFrameRateRange} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -4126,7 +4107,7 @@ export class Deserializer extends DeserializerBase { value.curve = (valueDeserializer.readString() as string) } else if (selector == 2) { - value.curve = valueDeserializer.readICurve() + value.curve = (valueDeserializer.readMaterialized() as ICurve) } } } @@ -4183,8 +4164,8 @@ export class Deserializer extends DeserializerBase { return (value as AnimateParam) } readFocusBoxStyle(): FocusBoxStyle { - let valueDeserializer: Deserializer = this let value: {margin?: LengthMetrics,strokeColor?: ColorMetrics,strokeWidth?: LengthMetrics} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -4212,8 +4193,8 @@ export class Deserializer extends DeserializerBase { return (value as FocusBoxStyle) } readOutlineOptions(): OutlineOptions { - let valueDeserializer: Deserializer = this let value: {width?: EdgeOutlineWidths | Dimension,color?: EdgeColors | ResourceColor | LocalizedEdgeColors,radius?: OutlineRadiuses | Dimension,style?: EdgeOutlineStyles | OutlineStyle} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -4494,8 +4475,8 @@ export class Deserializer extends DeserializerBase { return (value as OutlineOptions) } readBorderImageOption(): BorderImageOption { - let valueDeserializer: Deserializer = this let value: {slice?: Length | EdgeWidths | LocalizedEdgeWidths,repeat?: RepeatMode,source?: string | Resource | LinearGradient,width?: Length | EdgeWidths | LocalizedEdgeWidths,outset?: Length | EdgeWidths | LocalizedEdgeWidths,fill?: boolean} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -4696,8 +4677,8 @@ export class Deserializer extends DeserializerBase { return (value as BorderImageOption) } readBorderOptions(): BorderOptions { - let valueDeserializer: Deserializer = this let value: {width?: EdgeWidths | Length | LocalizedEdgeWidths,color?: EdgeColors | ResourceColor | LocalizedEdgeColors,radius?: BorderRadiuses | Length | LocalizedBorderRadiuses,style?: EdgeStyles | BorderStyle,dashGap?: EdgeWidths | LengthMetrics | LocalizedEdgeWidths,dashWidth?: EdgeWidths | LengthMetrics | LocalizedEdgeWidths} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -5092,8 +5073,8 @@ export class Deserializer extends DeserializerBase { return (value as BorderOptions) } readForegroundBlurStyleOptions(): ForegroundBlurStyleOptions { - let valueDeserializer: Deserializer = this let value: {colorMode?: ThemeColorMode,adaptiveColor?: AdaptiveColor,scale?: number,blurOptions?: BlurOptions} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -5129,14 +5110,14 @@ export class Deserializer extends DeserializerBase { return (value as ForegroundBlurStyleOptions) } readForegroundEffectOptions(): ForegroundEffectOptions { - let valueDeserializer: Deserializer = this let value: {radius?: number} = {} + let valueDeserializer: Deserializer = this value.radius = (valueDeserializer.readNumber() as number) return (value as ForegroundEffectOptions) } readResizableOptions(): ResizableOptions { - let valueDeserializer: Deserializer = this let value: {slice?: EdgeWidths} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -5183,8 +5164,8 @@ export class Deserializer extends DeserializerBase { return (value as ResizableOptions) } readBackgroundEffectOptions(): BackgroundEffectOptions { - let valueDeserializer: Deserializer = this let value: {radius?: number,saturation?: number,brightness?: number,color?: ResourceColor,adaptiveColor?: AdaptiveColor,blurOptions?: BlurOptions,policy?: BlurStyleActivePolicy,inactiveColor?: ResourceColor,type?: BlurType} = {} + let valueDeserializer: Deserializer = this value.radius = (valueDeserializer.readNumber() as number) { const runtimeType = (valueDeserializer.readInt8() as number) @@ -5281,8 +5262,8 @@ export class Deserializer extends DeserializerBase { return (value as BackgroundEffectOptions) } readBackgroundBlurStyleOptions(): BackgroundBlurStyleOptions { - let valueDeserializer: Deserializer = this let value: {colorMode?: ThemeColorMode,adaptiveColor?: AdaptiveColor,scale?: number,blurOptions?: BlurOptions,policy?: BlurStyleActivePolicy,inactiveColor?: ResourceColor,type?: BlurType} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -5356,8 +5337,8 @@ export class Deserializer extends DeserializerBase { return (value as BackgroundBlurStyleOptions) } readPixelRoundPolicy(): PixelRoundPolicy { - let valueDeserializer: Deserializer = this let value: {start?: PixelRoundCalcPolicy,top?: PixelRoundCalcPolicy,end?: PixelRoundCalcPolicy,bottom?: PixelRoundCalcPolicy} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { @@ -5393,8 +5374,8 @@ export class Deserializer extends DeserializerBase { return (value as PixelRoundPolicy) } readConstraintSizeOptions(): ConstraintSizeOptions { - let valueDeserializer: Deserializer = this let value: {minWidth?: Length,maxWidth?: Length,minHeight?: Length,maxHeight?: Length} = {} + let valueDeserializer: Deserializer = this { const runtimeType = (valueDeserializer.readInt8() as number) if ((RuntimeType.UNDEFINED) != (runtimeType)) { diff --git a/arkoala/arkui/src/peers/Serializer.ts b/arkoala/arkui/src/peers/Serializer.ts index 7f33581b5dde635bef04ea11f3f52055718a76d8..5cee9ea09c23794eba599a0de355961368305a1c 100644 --- a/arkoala/arkui/src/peers/Serializer.ts +++ b/arkoala/arkui/src/peers/Serializer.ts @@ -13,14 +13,12 @@ * limitations under the License. */ - import { SerializerBase, Tags, RuntimeType, runtimeType, isPixelMap, isResource, isInstanceOf } from "./SerializerBase" import { int32 } from "@koalaui/common" import { unsafeCast } from "../shared/generated-utils" - - import { IMPORT_DrawContext_FROM_api_arkui_Graphics, IMPORT_default_PixelMap_FROM_api_ohos_multimedia_image, IMPORT_default_VisualEffect_FROM_api_ohos_graphics_uiEffect, IMPORT_default_Filter_FROM_api_ohos_graphics_uiEffect, IMPORT_IntentionCode_FROM_api_ohos_multimodalInput_intentionCode, IMPORT_default_UnifiedData_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_Summary_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_UniformDataType_FROM_api_ohos_data_uniformTypeDescriptor, IMPORT_ImageModifier_FROM_api_arkui_ImageModifier, IMPORT_ComponentContent_T_FROM_api_arkui_ComponentContent, IMPORT_CircleShape_FROM_api_ohos_arkui_shape, IMPORT_EllipseShape_FROM_api_ohos_arkui_shape, IMPORT_PathShape_FROM_api_ohos_arkui_shape, IMPORT_RectShape_FROM_api_ohos_arkui_shape, IMPORT_SymbolGlyphModifier_FROM_api_arkui_SymbolGlyphModifier, IMPORT_UIContext_FROM_api_ohos_arkui_UIContext, IMPORT_default_ColorFilter_FROM_api_ohos_graphics_drawing, IMPORT_default_ResolutionQuality_FROM_api_ohos_multimedia_image, IMPORT_DrawableDescriptor_FROM_api_ohos_arkui_drawableDescriptor, IMPORT_Resource_FROM_api_global_resource, IMPORT_LengthMetrics_FROM_api_arkui_Graphics, IMPORT_ColorMetrics_FROM_api_arkui_Graphics } from "./../SyntheticDeclarations" + export class Serializer extends SerializerBase { writeResource(value: Resource): void { let valueSerializer: Serializer = this @@ -77,7 +75,6 @@ export class Serializer extends SerializerBase { valueSerializer.writePosition(value_globalPosition) } writeTransitionEffect(value: TransitionEffect): void { - let valueSerializer: Serializer = this } writeShadowOptions(value: ShadowOptions): void { let valueSerializer: Serializer = this @@ -501,9 +498,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeFont(value_font_value) } } - writeICurve(value: ICurve): void { - let valueSerializer: Serializer = this - } writeRotateOptions(value: RotateOptions): void { let valueSerializer: Serializer = this const value_x = value.x @@ -882,7 +876,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_height) } writeColorFilter(value: ColorFilter): void { - let valueSerializer: Serializer = this } writeLightSource(value: LightSource): void { let valueSerializer: Serializer = this @@ -1737,16 +1730,12 @@ export class Serializer extends SerializerBase { } } writeRectAttribute(value: RectAttribute): void { - let valueSerializer: Serializer = this } writePathAttribute(value: PathAttribute): void { - let valueSerializer: Serializer = this } writeEllipseAttribute(value: EllipseAttribute): void { - let valueSerializer: Serializer = this } writeCircleAttribute(value: CircleAttribute): void { - let valueSerializer: Serializer = this } writeOverlayOffset(value: OverlayOffset): void { let valueSerializer: Serializer = this @@ -1986,25 +1975,18 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_y) } writeGestureGroupInterface(value: GestureGroupInterface): void { - let valueSerializer: Serializer = this } writeRotationGestureInterface(value: RotationGestureInterface): void { - let valueSerializer: Serializer = this } writeSwipeGestureInterface(value: SwipeGestureInterface): void { - let valueSerializer: Serializer = this } writePinchGestureInterface(value: PinchGestureInterface): void { - let valueSerializer: Serializer = this } writePanGestureInterface(value: PanGestureInterface): void { - let valueSerializer: Serializer = this } writeLongPressGestureInterface(value: LongPressGestureInterface): void { - let valueSerializer: Serializer = this } writeTapGestureInterface(value: TapGestureInterface): void { - let valueSerializer: Serializer = this } writeTransitionOptions(value: TransitionOptions): void { let valueSerializer: Serializer = this @@ -2183,7 +2165,6 @@ export class Serializer extends SerializerBase { } } writeObject(value: Object): void { - let valueSerializer: Serializer = this } writeImageError(value: ImageError): void { let valueSerializer: Serializer = this @@ -2578,7 +2559,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_id) } writeUIGestureEvent(value: UIGestureEvent): void { - let valueSerializer: Serializer = this } writeImageAnalyzerConfig(value: ImageAnalyzerConfig): void { let valueSerializer: Serializer = this @@ -4222,7 +4202,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT == value_curve_value_type))) { valueSerializer.writeInt8(2) const value_curve_value_2 = unsafeCast(value_curve_value) - valueSerializer.writeICurve(value_curve_value_2) + valueSerializer.writeMaterialized(value_curve_value_2) } } const value_delay = value.delay @@ -4320,7 +4300,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT == value_curve_value_type))) { valueSerializer.writeInt8(2) const value_curve_value_2 = unsafeCast(value_curve_value) - valueSerializer.writeICurve(value_curve_value_2) + valueSerializer.writeMaterialized(value_curve_value_2) } } const value_delay = value.delay diff --git a/arkoala/framework/native/src/generated/Serializers.h b/arkoala/framework/native/src/generated/Serializers.h index fc15f5d680b65808f565be05f79c99935131c3e2..4739b37a11fb73386b2d77e772608e61ea242d34 100644 --- a/arkoala/framework/native/src/generated/Serializers.h +++ b/arkoala/framework/native/src/generated/Serializers.h @@ -5,7 +5,8 @@ #include template <> -inline Ark_RuntimeType runtimeType(const Ark_Int32& value) { +inline Ark_RuntimeType runtimeType(const Ark_Int32& value) +{ return ARK_RUNTIME_NUMBER; } template <> @@ -22,7 +23,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Int32& value) { +inline Ark_RuntimeType runtimeType(const Opt_Int32& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -57,7 +59,8 @@ inline void WriteToString(string* result, const Array_String* value, const std:: result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_String& value) { +inline Ark_RuntimeType runtimeType(const Array_String& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -74,11 +77,13 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_String& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_String& value) { +inline Ark_RuntimeType runtimeType(const Ark_String& value) +{ return ARK_RUNTIME_STRING; } template <> @@ -95,11 +100,13 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_String& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Number& value) { +inline Ark_RuntimeType runtimeType(const Ark_Number& value) +{ return ARK_RUNTIME_NUMBER; } template <> @@ -116,11 +123,13 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Length& value) { +inline Ark_RuntimeType runtimeType(const Ark_Length& value) +{ return static_cast(value.type); } template <> @@ -137,7 +146,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -165,7 +175,8 @@ inline void WriteToString(string* result, const Ark_Resource* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Resource& value) { +inline Ark_RuntimeType runtimeType(const Ark_Resource& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -182,7 +193,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Resource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -199,7 +211,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ColoringStrategy& value) { +inline Ark_RuntimeType runtimeType(const Opt_ColoringStrategy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -216,7 +229,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Color& value) { +inline Ark_RuntimeType runtimeType(const Opt_Color& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -232,7 +246,8 @@ inline void WriteToString(string* result, const Ark_Position* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Position& value) { +inline Ark_RuntimeType runtimeType(const Ark_Position& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -249,11 +264,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Position& value) { +inline Ark_RuntimeType runtimeType(const Opt_Position& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length* value) { +inline void WriteToString(string* result, const Ark_BorderRadiuses* value) { result->append("{"); // Ark_Length result->append(".topLeft="); @@ -273,11 +289,12 @@ inline void WriteToString(string* result, const Literal_topLeft_Opt_Length_topRi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Ark_BorderRadiuses& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length* value) { +inline void WriteToString(string* result, const Opt_BorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -290,11 +307,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_BorderRadiuses& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length* value) { +inline void WriteToString(string* result, const Ark_Padding* value) { result->append("{"); // Ark_Length result->append(".top="); @@ -314,11 +332,12 @@ inline void WriteToString(string* result, const Literal_top_Opt_Length_right_Opt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Ark_Padding& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length* value) { +inline void WriteToString(string* result, const Opt_Padding* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -331,7 +350,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Padding& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -347,7 +367,8 @@ inline void WriteToString(string* result, const Tuple_Length_Length* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Tuple_Length_Length& value) { +inline Ark_RuntimeType runtimeType(const Tuple_Length_Length& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -364,7 +385,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Tuple_Length_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Tuple_Length_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -381,11 +403,13 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Ark_Boolean& value) +{ return ARK_RUNTIME_BOOLEAN; } template <> @@ -402,7 +426,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Boolean& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -428,7 +453,8 @@ inline void WriteToString(string* result, const Union_Number_Resource* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_Resource& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -449,7 +475,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Resource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -485,7 +512,8 @@ inline void WriteToString(string* result, const Union_Color_String_Resource_Colo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Color_String_Resource_ColoringStrategy& value) { +inline Ark_RuntimeType runtimeType(const Union_Color_String_Resource_ColoringStrategy& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -508,7 +536,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource_ColoringStrategy& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource_ColoringStrategy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -525,7 +554,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ShadowType& value) { +inline Ark_RuntimeType runtimeType(const Opt_ShadowType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -542,7 +572,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FontWeight& value) { +inline Ark_RuntimeType runtimeType(const Opt_FontWeight& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -566,7 +597,8 @@ inline void WriteToString(string* result, const Ark_Area* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Area& value) { +inline Ark_RuntimeType runtimeType(const Ark_Area& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -583,11 +615,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Area& value) { +inline Ark_RuntimeType runtimeType(const Opt_Area& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length* value) { +inline void WriteToString(string* result, const Union_Length_Ark_BorderRadiuses* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -601,7 +634,7 @@ inline void WriteToString(string* result, const Union_Length_Literal_topLeft_Opt result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Ark_BorderRadiuses if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -609,15 +642,16 @@ inline void WriteToString(string* result, const Union_Length_Literal_topLeft_Opt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_Ark_BorderRadiuses& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Length_Ark_BorderRadiuses: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length* value) { +inline void WriteToString(string* result, const Opt_Union_Length_BorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -630,11 +664,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_BorderRadiuses& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length* value) { +inline void WriteToString(string* result, const Union_Length_Ark_Padding* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -648,7 +683,7 @@ inline void WriteToString(string* result, const Union_Length_Literal_top_Opt_Len result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Ark_Padding if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -656,15 +691,16 @@ inline void WriteToString(string* result, const Union_Length_Literal_top_Opt_Len result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_Ark_Padding& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Length_Ark_Padding: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length* value) { +inline void WriteToString(string* result, const Opt_Union_Length_Padding* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -677,7 +713,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Padding& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -693,7 +730,8 @@ inline void WriteToString(string* result, const Ark_LeadingMarginPlaceholder* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LeadingMarginPlaceholder& value) { +inline Ark_RuntimeType runtimeType(const Ark_LeadingMarginPlaceholder& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -710,7 +748,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LeadingMarginPlaceholder& value) { +inline Ark_RuntimeType runtimeType(const Opt_LeadingMarginPlaceholder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -727,11 +766,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDecorationStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextDecorationStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Color_Number_String_Resource* value) { +inline void WriteToString(string* result, const Ark_ResourceColor* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -763,17 +803,18 @@ inline void WriteToString(string* result, const Union_Color_Number_String_Resour result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Ark_ResourceColor& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); case 3: return runtimeType(value.value3); - default: throw "Bad selector in Union_Color_Number_String_Resource: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_ResourceColor: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Color_Number_String_Resource* value) { +inline void WriteToString(string* result, const Opt_ResourceColor* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -786,7 +827,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_ResourceColor& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -803,11 +845,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDecorationType& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextDecorationType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length* value) { +inline void WriteToString(string* result, const Union_CustomObject_Ark_BorderRadiuses* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -821,7 +864,7 @@ inline void WriteToString(string* result, const Union_CustomObject_Literal_topLe result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Ark_BorderRadiuses if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -829,15 +872,16 @@ inline void WriteToString(string* result, const Union_CustomObject_Literal_topLe result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_CustomObject_Ark_BorderRadiuses& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length: " + std::to_string(value.selector); + default: throw "Bad selector in Union_CustomObject_Ark_BorderRadiuses: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length* value) { +inline void WriteToString(string* result, const Opt_Union_CustomObject_BorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -850,11 +894,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_BorderRadiuses& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length* value) { +inline void WriteToString(string* result, const Union_CustomObject_Ark_Padding* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -868,7 +913,7 @@ inline void WriteToString(string* result, const Union_CustomObject_Literal_top_O result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Ark_Padding if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -876,15 +921,16 @@ inline void WriteToString(string* result, const Union_CustomObject_Literal_top_O result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_CustomObject_Ark_Padding& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length: " + std::to_string(value.selector); + default: throw "Bad selector in Union_CustomObject_Ark_Padding: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length* value) { +inline void WriteToString(string* result, const Opt_Union_CustomObject_Padding* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -897,7 +943,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_Padding& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -932,7 +979,8 @@ inline void WriteToString(string* result, const Array_ShadowOptions* value, cons result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_ShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Array_ShadowOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -949,7 +997,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_ShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_ShadowOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -981,7 +1030,8 @@ inline void WriteToString(string* result, const Ark_ShadowOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ShadowOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -998,19 +1048,11 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ShadowOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Ark_ICurve* value) { - result->append("{"); - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ICurve& value) { - return ARK_RUNTIME_OBJECT; -} -template <> inline void WriteToString(string* result, const Opt_ICurve* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); @@ -1024,7 +1066,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ICurve& value) { +inline Ark_RuntimeType runtimeType(const Opt_ICurve& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1041,7 +1084,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Curve& value) { +inline Ark_RuntimeType runtimeType(const Opt_Curve& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1058,7 +1102,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FontStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_FontStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1084,7 +1129,8 @@ inline void WriteToString(string* result, const Union_String_Resource* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Resource& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -1105,7 +1151,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1136,7 +1183,8 @@ inline void WriteToString(string* result, const Union_FontWeight_Number_String* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_FontWeight_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Union_FontWeight_Number_String& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -1158,7 +1206,57 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_FontWeight_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_FontWeight_Number_String& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Ark_ResourceStr* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + if (value->selector == -1) { + result->append(".selector="); + WriteToString(result, value->selector); + } + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Resource + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ResourceStr& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: throw "Bad selector in Ark_ResourceStr: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(string* result, const Opt_ResourceStr* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ResourceStr& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1167,7 +1265,8 @@ inline void WriteToString(string* result, const Ark_CommonMethod* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CommonMethod& value) { +inline Ark_RuntimeType runtimeType(const Ark_CommonMethod& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -1184,7 +1283,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CommonMethod& value) { +inline Ark_RuntimeType runtimeType(const Opt_CommonMethod& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1201,11 +1301,13 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextBaseController& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextBaseController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Ark_Undefined& value) +{ return ARK_RUNTIME_UNDEFINED; } template <> @@ -1222,11 +1324,13 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Function& value) { +inline Ark_RuntimeType runtimeType(const Ark_Function& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -1243,7 +1347,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Function& value) { +inline Ark_RuntimeType runtimeType(const Opt_Function& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1275,7 +1380,8 @@ inline void WriteToString(string* result, const Ark_GridRowSizeOption* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridRowSizeOption& value) { +inline Ark_RuntimeType runtimeType(const Ark_GridRowSizeOption& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -1292,7 +1398,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridRowSizeOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridRowSizeOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1309,7 +1416,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CanvasPattern& value) { +inline Ark_RuntimeType runtimeType(const Opt_CanvasPattern& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1326,7 +1434,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CanvasGradient& value) { +inline Ark_RuntimeType runtimeType(const Opt_CanvasGradient& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1343,7 +1452,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SheetSize& value) { +inline Ark_RuntimeType runtimeType(const Opt_SheetSize& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1360,7 +1470,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SourceTool& value) { +inline Ark_RuntimeType runtimeType(const Opt_SourceTool& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1377,7 +1488,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SourceType& value) { +inline Ark_RuntimeType runtimeType(const Opt_SourceType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1389,7 +1501,8 @@ inline void WriteToString(string* result, const Ark_EventTarget* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EventTarget& value) { +inline Ark_RuntimeType runtimeType(const Ark_EventTarget& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -1406,23 +1519,25 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EventTarget& value) { +inline Ark_RuntimeType runtimeType(const Opt_EventTarget& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_RichEditorLayoutStyle* value) { result->append("{"); - // Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Union_Length_Ark_Padding result->append(".margin="); WriteToString(result, &value->margin); - // Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Union_Length_Ark_BorderRadiuses result->append(", "); result->append(".borderRadius="); WriteToString(result, &value->borderRadius); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorLayoutStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorLayoutStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -1439,7 +1554,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorLayoutStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorLayoutStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1456,7 +1572,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageFit& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageFit& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1473,7 +1590,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageSpanAlignment& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageSpanAlignment& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1489,7 +1607,8 @@ inline void WriteToString(string* result, const Tuple_Number_Number* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Tuple_Number_Number& value) { +inline Ark_RuntimeType runtimeType(const Tuple_Number_Number& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -1506,7 +1625,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Tuple_Number_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Tuple_Number_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1523,7 +1643,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LineBreakStrategy& value) { +inline Ark_RuntimeType runtimeType(const Opt_LineBreakStrategy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1540,7 +1661,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WordBreak& value) { +inline Ark_RuntimeType runtimeType(const Opt_WordBreak& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1566,7 +1688,8 @@ inline void WriteToString(string* result, const Union_Length_LeadingMarginPlaceh result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_LeadingMarginPlaceholder& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_LeadingMarginPlaceholder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -1587,7 +1710,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_LeadingMarginPlaceholder& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_LeadingMarginPlaceholder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1604,7 +1728,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1621,7 +1746,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SymbolRenderingStrategy& value) { +inline Ark_RuntimeType runtimeType(const Opt_SymbolRenderingStrategy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1638,7 +1764,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SymbolEffectStrategy& value) { +inline Ark_RuntimeType runtimeType(const Opt_SymbolEffectStrategy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1669,7 +1796,8 @@ inline void WriteToString(string* result, const Union_Number_FontWeight_String* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_FontWeight_String& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_FontWeight_String& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -1691,12 +1819,13 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_FontWeight_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_FontWeight_String& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const ResourceColor* value); -inline void generateStdArrayDefinition(string* result, const Array_Union_Color_Number_String_Resource* value) { +inline void generateStdArrayDefinition(string* result, const Array_Ark_ResourceColor* value) { int32_t count = value->length; result->append("std::array{{"); for (int i = 0; i < count; i++) { @@ -1707,7 +1836,7 @@ inline void generateStdArrayDefinition(string* result, const Array_Union_Color_N } result->append("}}"); } -inline void WriteToString(string* result, const Array_Union_Color_Number_String_Resource* value, const std::string& ptrName = std::string()) { +inline void WriteToString(string* result, const Array_Ark_ResourceColor* value, const std::string& ptrName = std::string()) { result->append("{"); if (ptrName.empty()) { int32_t count = value->length; @@ -1726,11 +1855,12 @@ inline void WriteToString(string* result, const Array_Union_Color_Number_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Array_Ark_ResourceColor& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Array_Union_Color_Number_String_Resource* value) { +inline void WriteToString(string* result, const Opt_Array_ResourceColor* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -1743,7 +1873,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_ResourceColor& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1774,7 +1905,8 @@ inline void WriteToString(string* result, const Union_Number_String_Resource* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_String_Resource& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -1796,7 +1928,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_Resource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1805,7 +1938,7 @@ inline void WriteToString(string* result, const Ark_DecorationStyleResult* value // Ark_TextDecorationType result->append(".type="); WriteToString(result, value->type); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); @@ -1816,7 +1949,8 @@ inline void WriteToString(string* result, const Ark_DecorationStyleResult* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DecorationStyleResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_DecorationStyleResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -1833,7 +1967,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DecorationStyleResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_DecorationStyleResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1859,7 +1994,8 @@ inline void WriteToString(string* result, const Union_Number_LeadingMarginPlaceh result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_LeadingMarginPlaceholder& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_LeadingMarginPlaceholder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -1880,7 +2016,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LeadingMarginPlaceholder& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LeadingMarginPlaceholder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1897,27 +2034,29 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextOverflow& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextOverflow& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_ImageAttachmentLayoutStyle* value) { result->append("{"); - // Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Union_CustomObject_Ark_Padding result->append(".margin="); WriteToString(result, &value->margin); - // Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Union_CustomObject_Ark_Padding result->append(", "); result->append(".padding="); WriteToString(result, &value->padding); - // Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Union_CustomObject_Ark_BorderRadiuses result->append(", "); result->append(".borderRadius="); WriteToString(result, &value->borderRadius); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageAttachmentLayoutStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_ImageAttachmentLayoutStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -1934,7 +2073,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAttachmentLayoutStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageAttachmentLayoutStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1950,7 +2090,8 @@ inline void WriteToString(string* result, const Ark_SizeOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SizeOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SizeOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -1967,7 +2108,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SizeOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SizeOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -1983,7 +2125,8 @@ inline void WriteToString(string* result, const Ark_RichEditorRange* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorRange& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorRange& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -2000,7 +2143,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorRange& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorRange& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2026,7 +2170,8 @@ inline void WriteToString(string* result, const Union_Number_String* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_String& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -2047,7 +2192,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2073,7 +2219,8 @@ inline void WriteToString(string* result, const Union_ShadowOptions_Array_Shadow result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_ShadowOptions_Array_ShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Union_ShadowOptions_Array_ShadowOptions& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -2094,7 +2241,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_Array_ShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_Array_ShadowOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2103,7 +2251,7 @@ inline void WriteToString(string* result, const Ark_DecorationStyleInterface* va // Ark_TextDecorationType result->append(".type="); WriteToString(result, value->type); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); @@ -2114,7 +2262,8 @@ inline void WriteToString(string* result, const Ark_DecorationStyleInterface* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DecorationStyleInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_DecorationStyleInterface& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -2131,7 +2280,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DecorationStyleInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_DecorationStyleInterface& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2157,7 +2307,8 @@ inline void WriteToString(string* result, const Union_Length_Number* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_Number& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_Number& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -2178,7 +2329,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2204,7 +2356,8 @@ inline void WriteToString(string* result, const Union_Curve_ICurve* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Curve_ICurve& value) { +inline Ark_RuntimeType runtimeType(const Union_Curve_ICurve& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -2225,7 +2378,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Curve_ICurve& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Curve_ICurve& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2249,7 +2403,8 @@ inline void WriteToString(string* result, const Ark_LocalizedPadding* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedPadding& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedPadding& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -2266,7 +2421,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedPadding& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedPadding& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2290,7 +2446,8 @@ inline void WriteToString(string* result, const Ark_Font* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Font& value) { +inline Ark_RuntimeType runtimeType(const Ark_Font& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -2307,7 +2464,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Font& value) { +inline Ark_RuntimeType runtimeType(const Opt_Font& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2324,11 +2482,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextHeightAdaptivePolicy& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextHeightAdaptivePolicy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Number_Union_String_Resource* value) { +inline void WriteToString(string* result, const Union_Number_Ark_ResourceStr* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -2342,7 +2501,7 @@ inline void WriteToString(string* result, const Union_Number_Union_String_Resour result->append(".value0="); WriteToString(result, &value->value0); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -2350,15 +2509,16 @@ inline void WriteToString(string* result, const Union_Number_Union_String_Resour result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_Ark_ResourceStr& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Number_Union_String_Resource: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Number_Ark_ResourceStr: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Number_Union_String_Resource* value) { +inline void WriteToString(string* result, const Opt_Union_Number_ResourceStr* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -2371,7 +2531,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_ResourceStr& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2380,7 +2541,8 @@ inline void WriteToString(string* result, const Ark_CommonShapeMethod* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CommonShapeMethod& value) { +inline Ark_RuntimeType runtimeType(const Ark_CommonShapeMethod& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -2397,7 +2559,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CommonShapeMethod& value) { +inline Ark_RuntimeType runtimeType(const Opt_CommonShapeMethod& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2414,7 +2577,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextEditControllerEx& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextEditControllerEx& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2449,7 +2613,8 @@ inline void WriteToString(string* result, const Array_CustomObject* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Array_CustomObject& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -2466,7 +2631,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2483,11 +2649,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TitleHeight& value) { +inline Ark_RuntimeType runtimeType(const Opt_TitleHeight& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Ark_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -2509,15 +2676,16 @@ inline void WriteToString(string* result, const Union_Function_Undefined* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Ark_CustomBuilder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Function_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_CustomBuilder: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Opt_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -2530,7 +2698,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_CustomBuilder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2556,7 +2725,8 @@ inline void WriteToString(string* result, const Union_Length_GridRowSizeOption* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_GridRowSizeOption& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_GridRowSizeOption& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -2577,30 +2747,31 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GridRowSizeOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GridRowSizeOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Tuple_Union_Color_Number_String_Resource_Number* value); -inline void generateStdArrayDefinition(string* result, const Array_Tuple_Union_Color_Number_String_Resource_Number* value) { +inline void WriteToString(string* result, const Tuple_Ark_ResourceColor_Number* value); +inline void generateStdArrayDefinition(string* result, const Array_Tuple_Ark_ResourceColor_Number* value) { int32_t count = value->length; - result->append("std::array{{"); + result->append("std::array{{"); for (int i = 0; i < count; i++) { std::string tmp; - WriteToString(result, (const Tuple_Union_Color_Number_String_Resource_Number*)&value->array[i]); + WriteToString(result, (const Tuple_Ark_ResourceColor_Number*)&value->array[i]); result->append(tmp); result->append(", "); } result->append("}}"); } -inline void WriteToString(string* result, const Array_Tuple_Union_Color_Number_String_Resource_Number* value, const std::string& ptrName = std::string()) { +inline void WriteToString(string* result, const Array_Tuple_Ark_ResourceColor_Number* value, const std::string& ptrName = std::string()) { result->append("{"); if (ptrName.empty()) { int32_t count = value->length; if (count > 0) result->append("{"); for (int i = 0; i < count; i++) { if (i > 0) result->append(", "); - WriteToString(result, (const Tuple_Union_Color_Number_String_Resource_Number*)&value->array[i]); + WriteToString(result, (const Tuple_Ark_ResourceColor_Number*)&value->array[i]); } if (count == 0) result->append("{}"); if (count > 0) result->append("}"); @@ -2612,11 +2783,12 @@ inline void WriteToString(string* result, const Array_Tuple_Union_Color_Number_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Tuple_Union_Color_Number_String_Resource_Number& value) { +inline Ark_RuntimeType runtimeType(const Array_Tuple_Ark_ResourceColor_Number& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Array_Tuple_Union_Color_Number_String_Resource_Number* value) { +inline void WriteToString(string* result, const Opt_Array_Tuple_ResourceColor_Number* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -2629,7 +2801,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Tuple_Union_Color_Number_String_Resource_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Tuple_ResourceColor_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2646,11 +2819,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GradientDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_GradientDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_String_String_String_String_String_String* value) { +inline void WriteToString(string* result, const Ark_CanvasTextBaseline* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -2692,7 +2866,8 @@ inline void WriteToString(string* result, const Union_String_String_String_Strin result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_String_String_String_String_String& value) { +inline Ark_RuntimeType runtimeType(const Ark_CanvasTextBaseline& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -2700,11 +2875,11 @@ inline Ark_RuntimeType runtimeType(const Union_String_String_String_String_Strin case 3: return runtimeType(value.value3); case 4: return runtimeType(value.value4); case 5: return runtimeType(value.value5); - default: throw "Bad selector in Union_String_String_String_String_String_String: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_CanvasTextBaseline: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_String_String_String_String_String_String* value) { +inline void WriteToString(string* result, const Opt_CanvasTextBaseline* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -2717,11 +2892,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_String_String_String_String_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_CanvasTextBaseline& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_String_String_String_String_String* value) { +inline void WriteToString(string* result, const Ark_CanvasTextAlign* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -2758,18 +2934,74 @@ inline void WriteToString(string* result, const Union_String_String_String_Strin result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_String_String_String_String& value) { +inline Ark_RuntimeType runtimeType(const Ark_CanvasTextAlign& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); case 3: return runtimeType(value.value3); case 4: return runtimeType(value.value4); - default: throw "Bad selector in Union_String_String_String_String_String: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_CanvasTextAlign: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(string* result, const Opt_CanvasTextAlign* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CanvasTextAlign& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Ark_CanvasDirection* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + if (value->selector == -1) { + result->append(".selector="); + WriteToString(result, value->selector); + } + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_String + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_String + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CanvasDirection& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: throw "Bad selector in Ark_CanvasDirection: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_String_String_String_String_String* value) { +inline void WriteToString(string* result, const Opt_CanvasDirection* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -2782,11 +3014,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_String_String_String_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_CanvasDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_String_String_String* value) { +inline void WriteToString(string* result, const Ark_CanvasLineJoin* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -2813,16 +3046,17 @@ inline void WriteToString(string* result, const Union_String_String_String* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_String_String& value) { +inline Ark_RuntimeType runtimeType(const Ark_CanvasLineJoin& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_String_String_String: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_CanvasLineJoin: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_String_String_String* value) { +inline void WriteToString(string* result, const Opt_CanvasLineJoin* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -2835,7 +3069,118 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_String_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_CanvasLineJoin& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Ark_CanvasLineCap* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + if (value->selector == -1) { + result->append(".selector="); + WriteToString(result, value->selector); + } + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_String + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_String + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CanvasLineCap& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: throw "Bad selector in Ark_CanvasLineCap: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(string* result, const Opt_CanvasLineCap* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CanvasLineCap& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Ark_ImageSmoothingQuality* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + if (value->selector == -1) { + result->append(".selector="); + WriteToString(result, value->selector); + } + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_String + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_String + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageSmoothingQuality& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: throw "Bad selector in Ark_ImageSmoothingQuality: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(string* result, const Opt_ImageSmoothingQuality* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageSmoothingQuality& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2871,7 +3216,8 @@ inline void WriteToString(string* result, const Union_String_Number_CanvasGradie result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Number_CanvasGradient_CanvasPattern& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Number_CanvasGradient_CanvasPattern& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -2894,7 +3240,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_CanvasGradient_CanvasPattern& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_CanvasGradient_CanvasPattern& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2911,7 +3258,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CanvasPath& value) { +inline Ark_RuntimeType runtimeType(const Opt_CanvasPath& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2928,7 +3276,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BadgePosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_BadgePosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2945,7 +3294,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BorderStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_BorderStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -2971,7 +3321,8 @@ inline void WriteToString(string* result, const Union_SheetSize_Length* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_SheetSize_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_SheetSize_Length& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -2992,7 +3343,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SheetSize_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_SheetSize_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3001,7 +3353,8 @@ inline void WriteToString(string* result, const Ark_TransitionEffect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TransitionEffect& value) { +inline Ark_RuntimeType runtimeType(const Ark_TransitionEffect& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3018,7 +3371,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TransitionEffect& value) { +inline Ark_RuntimeType runtimeType(const Opt_TransitionEffect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3035,7 +3389,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuPreviewMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_MenuPreviewMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3052,23 +3407,25 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ShadowStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_ShadowStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_color_Union_Color_Number_String_Resource* value) { +inline void WriteToString(string* result, const Literal_Ark_ResourceColor_color* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".color="); WriteToString(result, &value->color); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_color_Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Literal_Ark_ResourceColor_color& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_color_Union_Color_Number_String_Resource* value) { +inline void WriteToString(string* result, const Opt_Literal_ResourceColor_color* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -3081,7 +3438,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_color_Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_ResourceColor_color& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3098,7 +3456,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OutlineStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_OutlineStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3133,7 +3492,8 @@ inline void WriteToString(string* result, const Array_TouchObject* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_TouchObject& value) { +inline Ark_RuntimeType runtimeType(const Array_TouchObject& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3150,7 +3510,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_TouchObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_TouchObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3167,7 +3528,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TouchType& value) { +inline Ark_RuntimeType runtimeType(const Opt_TouchType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3211,7 +3573,8 @@ inline void WriteToString(string* result, const Ark_BaseEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BaseEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_BaseEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3228,7 +3591,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BaseEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_BaseEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3248,7 +3612,8 @@ inline void WriteToString(string* result, const Map_String_String* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Map_String_String& value) { +inline Ark_RuntimeType runtimeType(const Map_String_String& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3265,7 +3630,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Map_String_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Map_String_String& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3282,7 +3648,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebResourceRequest& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebResourceRequest& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3306,7 +3673,8 @@ inline void WriteToString(string* result, const Ark_RichEditorImageSpanStyleResu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyleResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyleResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3323,7 +3691,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyleResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyleResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3339,7 +3708,8 @@ inline void WriteToString(string* result, const Ark_RichEditorSpanPosition* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorSpanPosition& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorSpanPosition& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3356,7 +3726,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpanPosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpanPosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3380,7 +3751,8 @@ inline void WriteToString(string* result, const Ark_RichEditorParagraphStyle* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3397,7 +3769,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3406,7 +3779,7 @@ inline void WriteToString(string* result, const Ark_RichEditorSymbolSpanStyle* v // Union_Number_String_Resource result->append(".fontSize="); WriteToString(result, &value->fontSize); - // Array_Union_Color_Number_String_Resource + // Array_Ark_ResourceColor result->append(", "); result->append(".fontColor="); WriteToString(result, &value->fontColor); @@ -3425,7 +3798,8 @@ inline void WriteToString(string* result, const Ark_RichEditorSymbolSpanStyle* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorSymbolSpanStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorSymbolSpanStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3442,13 +3816,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorSymbolSpanStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorSymbolSpanStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_RichEditorTextStyleResult* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".fontColor="); WriteToString(result, &value->fontColor); // Ark_Number @@ -3486,7 +3861,8 @@ inline void WriteToString(string* result, const Ark_RichEditorTextStyleResult* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyleResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyleResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3503,7 +3879,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyleResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyleResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3512,7 +3889,8 @@ inline void WriteToString(string* result, const Ark_UserDataSpan* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_UserDataSpan& value) { +inline Ark_RuntimeType runtimeType(const Ark_UserDataSpan& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3529,7 +3907,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_UserDataSpan& value) { +inline Ark_RuntimeType runtimeType(const Opt_UserDataSpan& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3546,7 +3925,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomSpan& value) { +inline Ark_RuntimeType runtimeType(const Opt_CustomSpan& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3558,7 +3938,8 @@ inline void WriteToString(string* result, const Ark_LineHeightStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LineHeightStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_LineHeightStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3575,7 +3956,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LineHeightStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_LineHeightStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3607,7 +3989,8 @@ inline void WriteToString(string* result, const Ark_ParagraphStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ParagraphStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_ParagraphStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3624,7 +4007,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ParagraphStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_ParagraphStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3652,7 +4036,8 @@ inline void WriteToString(string* result, const Ark_ImageAttachment* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageAttachment& value) { +inline Ark_RuntimeType runtimeType(const Ark_ImageAttachment& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3669,7 +4054,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAttachment& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageAttachment& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3678,7 +4064,8 @@ inline void WriteToString(string* result, const Ark_GestureStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_GestureStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3695,7 +4082,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_GestureStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3707,7 +4095,8 @@ inline void WriteToString(string* result, const Ark_TextShadowStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextShadowStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextShadowStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3724,7 +4113,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextShadowStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextShadowStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3736,7 +4126,8 @@ inline void WriteToString(string* result, const Ark_LetterSpacingStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LetterSpacingStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_LetterSpacingStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3753,7 +4144,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LetterSpacingStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_LetterSpacingStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3765,7 +4157,8 @@ inline void WriteToString(string* result, const Ark_BaselineOffsetStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BaselineOffsetStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_BaselineOffsetStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3782,7 +4175,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BaselineOffsetStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_BaselineOffsetStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3791,7 +4185,7 @@ inline void WriteToString(string* result, const Ark_DecorationStyle* value) { // Ark_TextDecorationType result->append(".type="); WriteToString(result, value->type); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); @@ -3802,7 +4196,8 @@ inline void WriteToString(string* result, const Ark_DecorationStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DecorationStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_DecorationStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3819,7 +4214,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DecorationStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_DecorationStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3831,7 +4227,8 @@ inline void WriteToString(string* result, const Ark_TextStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3848,7 +4245,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3864,7 +4262,8 @@ inline void WriteToString(string* result, const Ark_RichEditorSpanStyleOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorSpanStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3881,7 +4280,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpanStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -3905,7 +4305,8 @@ inline void WriteToString(string* result, const Ark_RichEditorImageSpanStyle* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3922,13 +4323,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_RichEditorTextStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".fontColor="); WriteToString(result, &value->fontColor); // Union_Length_Number @@ -3943,7 +4345,7 @@ inline void WriteToString(string* result, const Ark_RichEditorTextStyle* value) result->append(", "); result->append(".fontWeight="); WriteToString(result, &value->fontWeight); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".fontFamily="); WriteToString(result, &value->fontFamily); @@ -3970,7 +4372,8 @@ inline void WriteToString(string* result, const Ark_RichEditorTextStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -3987,7 +4390,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4007,7 +4411,8 @@ inline void WriteToString(string* result, const Ark_ScrollAnimationOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollAnimationOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScrollAnimationOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4024,7 +4429,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollAnimationOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollAnimationOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4041,7 +4447,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RelativeIndexable& value) { +inline Ark_RuntimeType runtimeType(const Opt_RelativeIndexable& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4072,7 +4479,8 @@ inline void WriteToString(string* result, const Union_String_CustomObject_Resour result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_CustomObject_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_String_CustomObject_Resource& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -4094,7 +4502,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_CustomObject_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_CustomObject_Resource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4111,7 +4520,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerController& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4146,7 +4556,8 @@ inline void WriteToString(string* result, const Array_ImageAnalyzerType* value, result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_ImageAnalyzerType& value) { +inline Ark_RuntimeType runtimeType(const Array_ImageAnalyzerType& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4163,7 +4574,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_ImageAnalyzerType& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_ImageAnalyzerType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4180,7 +4592,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebController& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4197,7 +4610,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PlaybackSpeed& value) { +inline Ark_RuntimeType runtimeType(const Opt_PlaybackSpeed& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4232,7 +4646,8 @@ inline void WriteToString(string* result, const Array_Number* value, const std:: result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Number& value) { +inline Ark_RuntimeType runtimeType(const Array_Number& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4249,7 +4664,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4284,7 +4700,8 @@ inline void WriteToString(string* result, const Array_TextCascadePickerRangeCont result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_TextCascadePickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Array_TextCascadePickerRangeContent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4301,7 +4718,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_TextCascadePickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_TextCascadePickerRangeContent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4336,7 +4754,8 @@ inline void WriteToString(string* result, const Array_TextPickerRangeContent* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_TextPickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Array_TextPickerRangeContent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4353,7 +4772,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_TextPickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_TextPickerRangeContent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4388,7 +4808,8 @@ inline void WriteToString(string* result, const Array_Array_String* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Array_String& value) { +inline Ark_RuntimeType runtimeType(const Array_Array_String& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4405,11 +4826,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Array_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Array_String& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_Color_Number_String_Resource_Undefined* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceColor_Undefined* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -4418,7 +4840,7 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append(".selector="); WriteToString(result, value->selector); } - // Union_Color_Number_String_Resource + // Ark_ResourceColor if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -4431,15 +4853,16 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_Color_Number_String_Resource_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceColor_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Union_Color_Number_String_Resource_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceColor_Undefined: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_Color_Number_String_Resource_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceColor_Undefined* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -4452,7 +4875,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Color_Number_String_Resource_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4469,7 +4893,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextContentControllerBase& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextContentControllerBase& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4486,23 +4911,25 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MarqueeStartPolicy& value) { +inline Ark_RuntimeType runtimeType(const Opt_MarqueeStartPolicy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_TabBarIconStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".selectedColor="); WriteToString(result, &value->selectedColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".unselectedColor="); WriteToString(result, &value->unselectedColor); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TabBarIconStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_TabBarIconStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4519,7 +4946,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TabBarIconStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_TabBarIconStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4536,7 +4964,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_VerticalAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_VerticalAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4553,11 +4982,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LayoutMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_LayoutMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding* value) { +inline void WriteToString(string* result, const Union_Ark_Padding_Length_LocalizedPadding* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -4566,7 +4996,7 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_rig result->append(".selector="); WriteToString(result, value->selector); } - // Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Ark_Padding if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -4584,16 +5014,17 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_rig result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_Padding_Length_LocalizedPadding& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_Padding_Length_LocalizedPadding: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding* value) { +inline void WriteToString(string* result, const Opt_Union_Padding_Length_LocalizedPadding* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -4606,7 +5037,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Length_LocalizedPadding& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4619,11 +5051,11 @@ inline void WriteToString(string* result, const Ark_LabelStyle* value) { result->append(", "); result->append(".maxLines="); WriteToString(result, &value->maxLines); - // Union_Number_Union_String_Resource + // Union_Number_Ark_ResourceStr result->append(", "); result->append(".minFontSize="); WriteToString(result, &value->minFontSize); - // Union_Number_Union_String_Resource + // Union_Number_Ark_ResourceStr result->append(", "); result->append(".maxFontSize="); WriteToString(result, &value->maxFontSize); @@ -4638,7 +5070,8 @@ inline void WriteToString(string* result, const Ark_LabelStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LabelStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_LabelStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4655,11 +5088,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LabelStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_LabelStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length* value) { +inline void WriteToString(string* result, const Union_Ark_Padding_Length* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -4668,7 +5102,7 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_rig result->append(".selector="); WriteToString(result, value->selector); } - // Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Ark_Padding if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -4681,15 +5115,16 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_rig result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_Padding_Length& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_Padding_Length: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length* value) { +inline void WriteToString(string* result, const Opt_Union_Padding_Length* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -4702,7 +5137,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4714,7 +5150,8 @@ inline void WriteToString(string* result, const Ark_BoardStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BoardStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_BoardStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4731,7 +5168,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BoardStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_BoardStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4748,7 +5186,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SelectedMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_SelectedMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4777,18 +5216,19 @@ inline void WriteToString(string* result, const Ark_IndicatorStyle* value) { result->append(", "); result->append(".mask="); WriteToString(result, &value->mask); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".selectedColor="); WriteToString(result, &value->selectedColor); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_IndicatorStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_IndicatorStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4805,11 +5245,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_IndicatorStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_IndicatorStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_String_Number* value) { +inline void WriteToString(string* result, const Ark_VP* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -4831,15 +5272,16 @@ inline void WriteToString(string* result, const Union_String_Number* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Ark_VP& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_String_Number: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_VP: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_String_Number* value) { +inline void WriteToString(string* result, const Opt_VP* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -4852,7 +5294,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_VP& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4884,7 +5327,8 @@ inline void WriteToString(string* result, const Ark_Indicator* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Indicator& value) { +inline Ark_RuntimeType runtimeType(const Ark_Indicator& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4901,7 +5345,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Indicator& value) { +inline Ark_RuntimeType runtimeType(const Opt_Indicator& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4910,7 +5355,8 @@ inline void WriteToString(string* result, const Ark_RectAttribute* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RectAttribute& value) { +inline Ark_RuntimeType runtimeType(const Ark_RectAttribute& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4927,7 +5373,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RectAttribute& value) { +inline Ark_RuntimeType runtimeType(const Opt_RectAttribute& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4936,7 +5383,8 @@ inline void WriteToString(string* result, const Ark_PathAttribute* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PathAttribute& value) { +inline Ark_RuntimeType runtimeType(const Ark_PathAttribute& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4953,7 +5401,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PathAttribute& value) { +inline Ark_RuntimeType runtimeType(const Opt_PathAttribute& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4962,7 +5411,8 @@ inline void WriteToString(string* result, const Ark_EllipseAttribute* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EllipseAttribute& value) { +inline Ark_RuntimeType runtimeType(const Ark_EllipseAttribute& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -4979,7 +5429,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EllipseAttribute& value) { +inline Ark_RuntimeType runtimeType(const Opt_EllipseAttribute& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -4988,7 +5439,8 @@ inline void WriteToString(string* result, const Ark_CircleAttribute* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CircleAttribute& value) { +inline Ark_RuntimeType runtimeType(const Ark_CircleAttribute& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5005,7 +5457,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CircleAttribute& value) { +inline Ark_RuntimeType runtimeType(const Opt_CircleAttribute& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5014,7 +5467,7 @@ inline void WriteToString(string* result, const Ark_DividerOptions* value) { // Ark_Length result->append(".strokeWidth="); WriteToString(result, &value->strokeWidth); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); @@ -5029,7 +5482,8 @@ inline void WriteToString(string* result, const Ark_DividerOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DividerOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_DividerOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5046,7 +5500,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DividerOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_DividerOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5063,7 +5518,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CancelButtonStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_CancelButtonStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5072,18 +5528,19 @@ inline void WriteToString(string* result, const Ark_IconOptions* value) { // Ark_Length result->append(".size="); WriteToString(result, &value->size); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".src="); WriteToString(result, &value->src); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_IconOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_IconOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5100,7 +5557,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_IconOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_IconOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5135,7 +5593,8 @@ inline void WriteToString(string* result, const Array_Length* value, const std:: result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Length& value) { +inline Ark_RuntimeType runtimeType(const Array_Length& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5152,7 +5611,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5169,7 +5629,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StyledStringController& value) { +inline Ark_RuntimeType runtimeType(const Opt_StyledStringController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5186,7 +5647,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorBaseController& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorBaseController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5217,7 +5679,8 @@ inline void WriteToString(string* result, const Union_Number_String_Array_Custom result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_String_Array_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_String_Array_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -5239,7 +5702,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_Array_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_Array_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5265,7 +5729,8 @@ inline void WriteToString(string* result, const Union_TitleHeight_Length* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_TitleHeight_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_TitleHeight_Length& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -5286,13 +5751,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_TitleHeight_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_TitleHeight_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_SwipeActionItem* value) { result->append("{"); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(".builder="); WriteToString(result, &value->builder); // Ark_Length @@ -5318,7 +5784,8 @@ inline void WriteToString(string* result, const Ark_SwipeActionItem* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwipeActionItem& value) { +inline Ark_RuntimeType runtimeType(const Ark_SwipeActionItem& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5335,7 +5802,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwipeActionItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwipeActionItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5352,7 +5820,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BreakpointsReference& value) { +inline Ark_RuntimeType runtimeType(const Opt_BreakpointsReference& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5384,7 +5853,8 @@ inline void WriteToString(string* result, const Ark_GridRowColumnOption* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridRowColumnOption& value) { +inline Ark_RuntimeType runtimeType(const Ark_GridRowColumnOption& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5401,7 +5871,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridRowColumnOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridRowColumnOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5417,7 +5888,8 @@ inline void WriteToString(string* result, const Ark_GutterOption* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GutterOption& value) { +inline Ark_RuntimeType runtimeType(const Ark_GutterOption& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5434,7 +5906,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GutterOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_GutterOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5466,7 +5939,8 @@ inline void WriteToString(string* result, const Ark_GridColColumnOption* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridColColumnOption& value) { +inline Ark_RuntimeType runtimeType(const Ark_GridColColumnOption& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5483,7 +5957,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridColColumnOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridColColumnOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5496,7 +5971,7 @@ inline void WriteToString(string* result, const Ark_LinearGradient* value) { result->append(", "); result->append(".direction="); WriteToString(result, &value->direction); - // Array_Tuple_Union_Color_Number_String_Resource_Number + // Array_Tuple_Ark_ResourceColor_Number result->append(", "); result->append(".colors="); WriteToString(result, &value->colors); @@ -5507,7 +5982,8 @@ inline void WriteToString(string* result, const Ark_LinearGradient* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LinearGradient& value) { +inline Ark_RuntimeType runtimeType(const Ark_LinearGradient& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5524,7 +6000,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LinearGradient& value) { +inline Ark_RuntimeType runtimeType(const Opt_LinearGradient& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5541,7 +6018,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CanvasRenderer& value) { +inline Ark_RuntimeType runtimeType(const Opt_CanvasRenderer& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5576,7 +6054,8 @@ inline void WriteToString(string* result, const Array_CalendarDay* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_CalendarDay& value) { +inline Ark_RuntimeType runtimeType(const Array_CalendarDay& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5593,13 +6072,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_CalendarDay& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_CalendarDay& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_BadgeStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".color="); WriteToString(result, &value->color); // Union_Number_String @@ -5610,11 +6090,11 @@ inline void WriteToString(string* result, const Ark_BadgeStyle* value) { result->append(", "); result->append(".badgeSize="); WriteToString(result, &value->badgeSize); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".badgeColor="); WriteToString(result, &value->badgeColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".borderColor="); WriteToString(result, &value->borderColor); @@ -5629,7 +6109,8 @@ inline void WriteToString(string* result, const Ark_BadgeStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BadgeStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_BadgeStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5646,7 +6127,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BadgeStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_BadgeStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5672,7 +6154,8 @@ inline void WriteToString(string* result, const Union_BadgePosition_Position* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_BadgePosition_Position& value) { +inline Ark_RuntimeType runtimeType(const Union_BadgePosition_Position& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -5693,11 +6176,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_BadgePosition_Position& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_BadgePosition_Position& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle* value) { +inline void WriteToString(string* result, const Ark_EdgeStyles* value) { result->append("{"); // Ark_BorderStyle result->append(".top="); @@ -5717,11 +6201,12 @@ inline void WriteToString(string* result, const Literal_top_Opt_BorderStyle_righ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_EdgeStyles& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle* value) { +inline void WriteToString(string* result, const Opt_EdgeStyles* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -5734,31 +6219,33 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_EdgeStyles& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_LocalizedEdgeColors* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".top="); WriteToString(result, &value->top); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".end="); WriteToString(result, &value->end); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".bottom="); WriteToString(result, &value->bottom); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".start="); WriteToString(result, &value->start); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedEdgeColors& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedEdgeColors& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5775,35 +6262,37 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedEdgeColors& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedEdgeColors& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource* value) { +inline void WriteToString(string* result, const Ark_EdgeColors* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".top="); WriteToString(result, &value->top); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".right="); WriteToString(result, &value->right); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".bottom="); WriteToString(result, &value->bottom); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".left="); WriteToString(result, &value->left); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Ark_EdgeColors& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource* value) { +inline void WriteToString(string* result, const Opt_EdgeColors* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -5816,7 +6305,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_EdgeColors& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5840,7 +6330,8 @@ inline void WriteToString(string* result, const Ark_LocalizedEdgeWidths* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedEdgeWidths& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedEdgeWidths& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5857,23 +6348,68 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedEdgeWidths& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedEdgeWidths& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Ark_EdgeWidths* value) { + result->append("{"); + // Ark_Length + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Length + result->append(", "); + result->append(".right="); + WriteToString(result, &value->right); + // Ark_Length + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_Length + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EdgeWidths& value) +{ + return ARK_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(string* result, const Opt_EdgeWidths* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EdgeWidths& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_SheetTitleOptions* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".title="); WriteToString(result, &value->title); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".subtitle="); WriteToString(result, &value->subtitle); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SheetTitleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SheetTitleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5890,7 +6426,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SheetTitleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SheetTitleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5907,7 +6444,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlurStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_BlurStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -5927,7 +6465,8 @@ inline void WriteToString(string* result, const Ark_ContextMenuAnimationOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ContextMenuAnimationOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuAnimationOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -5944,11 +6483,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ContextMenuAnimationOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ContextMenuAnimationOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_MenuPreviewMode_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Union_MenuPreviewMode_Ark_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -5962,7 +6502,7 @@ inline void WriteToString(string* result, const Union_MenuPreviewMode_Union_Func result->append(".value0="); WriteToString(result, value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -5970,15 +6510,16 @@ inline void WriteToString(string* result, const Union_MenuPreviewMode_Union_Func result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_MenuPreviewMode_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_MenuPreviewMode_Ark_CustomBuilder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_MenuPreviewMode_Union_Function_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_MenuPreviewMode_Ark_CustomBuilder: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_MenuPreviewMode_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_MenuPreviewMode_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -5991,7 +6532,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_MenuPreviewMode_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_MenuPreviewMode_CustomBuilder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6008,7 +6550,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Placement& value) { +inline Ark_RuntimeType runtimeType(const Opt_Placement& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6034,7 +6577,8 @@ inline void WriteToString(string* result, const Union_Boolean_Ark_Function* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Boolean_Ark_Function& value) { +inline Ark_RuntimeType runtimeType(const Union_Boolean_Ark_Function& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -6055,7 +6599,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Function& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Function& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6081,7 +6626,8 @@ inline void WriteToString(string* result, const Union_ShadowOptions_ShadowStyle* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_ShadowOptions_ShadowStyle& value) { +inline Ark_RuntimeType runtimeType(const Union_ShadowOptions_ShadowStyle& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -6102,7 +6648,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_ShadowStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_ShadowStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6119,11 +6666,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ArrowPointPosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_ArrowPointPosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Boolean_Literal_color_Union_Color_Number_String_Resource* value) { +inline void WriteToString(string* result, const Union_Boolean_Literal_Ark_ResourceColor_color* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -6137,7 +6685,7 @@ inline void WriteToString(string* result, const Union_Boolean_Literal_color_Unio result->append(".value0="); WriteToString(result, value->value0); } - // Literal_color_Union_Color_Number_String_Resource + // Literal_Ark_ResourceColor_color if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -6145,15 +6693,16 @@ inline void WriteToString(string* result, const Union_Boolean_Literal_color_Unio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Boolean_Literal_color_Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_Boolean_Literal_Ark_ResourceColor_color& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Boolean_Literal_color_Union_Color_Number_String_Resource: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Boolean_Literal_Ark_ResourceColor_color: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Boolean_Literal_color_Union_Color_Number_String_Resource* value) { +inline void WriteToString(string* result, const Opt_Union_Boolean_Literal_ResourceColor_color* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -6166,7 +6715,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Literal_color_Union_Color_Number_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Literal_ResourceColor_color& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6202,7 +6752,8 @@ inline void WriteToString(string* result, const Union_Color_String_Resource_Numb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Color_String_Resource_Number& value) { +inline Ark_RuntimeType runtimeType(const Union_Color_String_Resource_Number& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -6225,13 +6776,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_PopupMessageOptions* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".textColor="); WriteToString(result, &value->textColor); // Ark_Font @@ -6241,7 +6793,8 @@ inline void WriteToString(string* result, const Ark_PopupMessageOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PopupMessageOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_PopupMessageOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6258,11 +6811,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PopupMessageOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_PopupMessageOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_value_String_action_Function* value) { +inline void WriteToString(string* result, const Literal_String_value_Function_action* value) { result->append("{"); // Ark_String result->append(".value="); @@ -6274,11 +6828,12 @@ inline void WriteToString(string* result, const Literal_value_String_action_Func result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_value_String_action_Function& value) { +inline Ark_RuntimeType runtimeType(const Literal_String_value_Function_action& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_value_String_action_Function* value) { +inline void WriteToString(string* result, const Opt_Literal_String_value_Function_action* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -6291,7 +6846,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_value_String_action_Function& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_value_Function_action& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6326,7 +6882,8 @@ inline void WriteToString(string* result, const Array_DragPreviewMode* value, co result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_DragPreviewMode& value) { +inline Ark_RuntimeType runtimeType(const Array_DragPreviewMode& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6343,7 +6900,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_DragPreviewMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_DragPreviewMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6360,7 +6918,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DragPreviewMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_DragPreviewMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6377,7 +6936,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ClickEffectLevel& value) { +inline Ark_RuntimeType runtimeType(const Opt_ClickEffectLevel& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6394,11 +6954,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HorizontalAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_HorizontalAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_span_Number_offset_Number* value) { +inline void WriteToString(string* result, const Literal_Number_span_offset* value) { result->append("{"); // Ark_Number result->append(".span="); @@ -6410,11 +6971,12 @@ inline void WriteToString(string* result, const Literal_span_Number_offset_Numbe result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_span_Number_offset_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_span_offset& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_span_Number_offset_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_span_offset* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -6427,7 +6989,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_span_Number_offset_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_span_offset& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6436,7 +6999,8 @@ inline void WriteToString(string* result, const Ark_GestureInterface* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_GestureInterface& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6453,7 +7017,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_GestureInterface& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6493,7 +7058,8 @@ inline void WriteToString(string* result, const Ark_RotateOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RotateOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RotateOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6510,7 +7076,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RotateOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RotateOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6538,7 +7105,8 @@ inline void WriteToString(string* result, const Ark_ScaleOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScaleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScaleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6555,7 +7123,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScaleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScaleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6575,7 +7144,8 @@ inline void WriteToString(string* result, const Ark_TranslateOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TranslateOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_TranslateOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6592,7 +7162,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TranslateOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_TranslateOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6609,11 +7180,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TransitionType& value) { +inline Ark_RuntimeType runtimeType(const Opt_TransitionType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle* value) { +inline void WriteToString(string* result, const Ark_EdgeOutlineStyles* value) { result->append("{"); // Ark_OutlineStyle result->append(".top="); @@ -6633,11 +7205,98 @@ inline void WriteToString(string* result, const Literal_top_Opt_OutlineStyle_rig result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_EdgeOutlineStyles& value) +{ + return ARK_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(string* result, const Opt_EdgeOutlineStyles* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EdgeOutlineStyles& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Ark_OutlineRadiuses* value) { + result->append("{"); + // Ark_Length + result->append(".topLeft="); + WriteToString(result, &value->topLeft); + // Ark_Length + result->append(", "); + result->append(".topRight="); + WriteToString(result, &value->topRight); + // Ark_Length + result->append(", "); + result->append(".bottomLeft="); + WriteToString(result, &value->bottomLeft); + // Ark_Length + result->append(", "); + result->append(".bottomRight="); + WriteToString(result, &value->bottomRight); + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_OutlineRadiuses& value) +{ + return ARK_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(string* result, const Opt_OutlineRadiuses* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OutlineRadiuses& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Ark_EdgeOutlineWidths* value) { + result->append("{"); + // Ark_Length + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Length + result->append(", "); + result->append(".right="); + WriteToString(result, &value->right); + // Ark_Length + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_Length + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EdgeOutlineWidths& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle* value) { +inline void WriteToString(string* result, const Opt_EdgeOutlineWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -6650,7 +7309,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_EdgeOutlineWidths& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6674,7 +7334,8 @@ inline void WriteToString(string* result, const Ark_LocalizedBorderRadiuses* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedBorderRadiuses& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedBorderRadiuses& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6691,7 +7352,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedBorderRadiuses& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedBorderRadiuses& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6703,7 +7365,8 @@ inline void WriteToString(string* result, const Ark_BlurOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BlurOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_BlurOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6720,7 +7383,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlurOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_BlurOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6737,7 +7401,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AdaptiveColor& value) { +inline Ark_RuntimeType runtimeType(const Opt_AdaptiveColor& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6754,7 +7419,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ThemeColorMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_ThemeColorMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6771,7 +7437,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardController& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6788,7 +7455,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingReason& value) { +inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingReason& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6805,7 +7473,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EventResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_EventResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6869,7 +7538,8 @@ inline void WriteToString(string* result, const Ark_TouchEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TouchEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_TouchEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6886,7 +7556,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TouchEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_TouchEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6930,7 +7601,8 @@ inline void WriteToString(string* result, const Ark_NativeEmbedInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -6947,7 +7619,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6964,7 +7637,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedStatus& value) { +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedStatus& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6981,7 +7655,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebNavigationType& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebNavigationType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -6998,7 +7673,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DataResubmissionHandler& value) { +inline Ark_RuntimeType runtimeType(const Opt_DataResubmissionHandler& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7015,7 +7691,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ControllerHandler& value) { +inline Ark_RuntimeType runtimeType(const Opt_ControllerHandler& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7032,7 +7709,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ClientAuthenticationHandler& value) { +inline Ark_RuntimeType runtimeType(const Opt_ClientAuthenticationHandler& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7049,7 +7727,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SslError& value) { +inline Ark_RuntimeType runtimeType(const Opt_SslError& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7066,7 +7745,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SslErrorHandler& value) { +inline Ark_RuntimeType runtimeType(const Opt_SslErrorHandler& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7083,7 +7763,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebContextMenuResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebContextMenuResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7100,7 +7781,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebContextMenuParam& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebContextMenuParam& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7117,7 +7799,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScreenCaptureHandler& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScreenCaptureHandler& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7134,7 +7817,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PermissionRequest& value) { +inline Ark_RuntimeType runtimeType(const Opt_PermissionRequest& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7151,7 +7835,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HttpAuthHandler& value) { +inline Ark_RuntimeType runtimeType(const Opt_HttpAuthHandler& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7168,7 +7853,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FullScreenExitHandler& value) { +inline Ark_RuntimeType runtimeType(const Opt_FullScreenExitHandler& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7185,7 +7871,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FileSelectorParam& value) { +inline Ark_RuntimeType runtimeType(const Opt_FileSelectorParam& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7202,7 +7889,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FileSelectorResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_FileSelectorResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7228,7 +7916,8 @@ inline void WriteToString(string* result, const Union_String_WebResourceRequest* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_WebResourceRequest& value) { +inline Ark_RuntimeType runtimeType(const Union_String_WebResourceRequest& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -7249,7 +7938,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_WebResourceRequest& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_WebResourceRequest& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7266,7 +7956,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebResourceResponse& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebResourceResponse& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7283,7 +7974,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebResourceError& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebResourceError& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7300,7 +7992,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ConsoleMessage& value) { +inline Ark_RuntimeType runtimeType(const Opt_ConsoleMessage& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7317,7 +8010,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_JsResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_JsResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7334,7 +8028,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_JsGeolocation& value) { +inline Ark_RuntimeType runtimeType(const Opt_JsGeolocation& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7351,7 +8046,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDeleteDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextDeleteDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7386,7 +8082,8 @@ inline void WriteToString(string* result, const Array_RichEditorTextSpanResult* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_RichEditorTextSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Array_RichEditorTextSpanResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -7403,7 +8100,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorTextSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorTextSpanResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7438,7 +8136,8 @@ inline void WriteToString(string* result, const Array_RichEditorImageSpanResult* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_RichEditorImageSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Array_RichEditorImageSpanResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -7455,7 +8154,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorImageSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorImageSpanResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7471,7 +8171,8 @@ inline void WriteToString(string* result, const Ark_TextRange* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextRange& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextRange& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -7488,7 +8189,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextRange& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextRange& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7501,7 +8203,7 @@ inline void WriteToString(string* result, const Ark_RichEditorImageSpanResult* v result->append(", "); result->append(".valuePixelMap="); WriteToString(result, &value->valuePixelMap); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".valueResourceStr="); WriteToString(result, &value->valueResourceStr); @@ -7516,7 +8218,8 @@ inline void WriteToString(string* result, const Ark_RichEditorImageSpanResult* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -7533,7 +8236,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7573,7 +8277,8 @@ inline void WriteToString(string* result, const Ark_RichEditorTextSpanResult* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -7590,7 +8295,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7625,7 +8331,8 @@ inline void WriteToString(string* result, const Array_Union_RichEditorTextSpanRe result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -7642,7 +8349,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7659,7 +8367,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorDeleteDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorDeleteDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7668,7 +8377,8 @@ inline void WriteToString(string* result, const Ark_Object* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Object& value) { +inline Ark_RuntimeType runtimeType(const Ark_Object& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -7685,7 +8395,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Object& value) { +inline Ark_RuntimeType runtimeType(const Opt_Object& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7702,7 +8413,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavDestinationMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7719,7 +8431,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupArea& value) { +inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupArea& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7736,7 +8449,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AppRotation& value) { +inline Ark_RuntimeType runtimeType(const Opt_AppRotation& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7753,7 +8467,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FoldStatus& value) { +inline Ark_RuntimeType runtimeType(const Opt_FoldStatus& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7788,7 +8503,8 @@ inline void WriteToString(string* result, const Array_FingerInfo* value, const s result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_FingerInfo& value) { +inline Ark_RuntimeType runtimeType(const Array_FingerInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -7805,7 +8521,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_FingerInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_FingerInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7822,7 +8539,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureControl_GestureType& value) { +inline Ark_RuntimeType runtimeType(const Opt_GestureControl_GestureType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7839,7 +8557,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DragBehavior& value) { +inline Ark_RuntimeType runtimeType(const Opt_DragBehavior& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7856,7 +8575,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_KeySource& value) { +inline Ark_RuntimeType runtimeType(const Opt_KeySource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7873,7 +8593,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_KeyType& value) { +inline Ark_RuntimeType runtimeType(const Opt_KeyType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7890,7 +8611,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MouseAction& value) { +inline Ark_RuntimeType runtimeType(const Opt_MouseAction& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7907,7 +8629,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MouseButton& value) { +inline Ark_RuntimeType runtimeType(const Opt_MouseButton& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7924,7 +8647,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AccessibilityHoverType& value) { +inline Ark_RuntimeType runtimeType(const Opt_AccessibilityHoverType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7948,7 +8672,8 @@ inline void WriteToString(string* result, const Ark_RectResult* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RectResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_RectResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -7965,7 +8690,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RectResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_RectResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7982,7 +8708,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SelectStatus& value) { +inline Ark_RuntimeType runtimeType(const Opt_SelectStatus& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -7999,7 +8726,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebCaptureMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebCaptureMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8008,7 +8736,8 @@ inline void WriteToString(string* result, const Ark_ArrayBuffer* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ArrayBuffer& value) { +inline Ark_RuntimeType runtimeType(const Ark_ArrayBuffer& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8025,7 +8754,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ArrayBuffer& value) { +inline Ark_RuntimeType runtimeType(const Opt_ArrayBuffer& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8060,7 +8790,8 @@ inline void WriteToString(string* result, const Array_Header* value, const std:: result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Header& value) { +inline Ark_RuntimeType runtimeType(const Array_Header& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8077,11 +8808,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Header& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Header& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan* value) { +inline void WriteToString(string* result, const Ark_StyledStringValue* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -8148,7 +8880,8 @@ inline void WriteToString(string* result, const Union_TextStyle_DecorationStyle_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan& value) { +inline Ark_RuntimeType runtimeType(const Ark_StyledStringValue& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -8161,11 +8894,11 @@ inline Ark_RuntimeType runtimeType(const Union_TextStyle_DecorationStyle_Baselin case 8: return runtimeType(value.value8); case 9: return runtimeType(value.value9); case 10: return runtimeType(value.value10); - default: throw "Bad selector in Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_StyledStringValue: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan* value) { +inline void WriteToString(string* result, const Opt_StyledStringValue* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -8178,7 +8911,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan& value) { +inline Ark_RuntimeType runtimeType(const Opt_StyledStringValue& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8195,7 +8929,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StyledStringKey& value) { +inline Ark_RuntimeType runtimeType(const Opt_StyledStringKey& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8212,7 +8947,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuPolicy& value) { +inline Ark_RuntimeType runtimeType(const Opt_MenuPolicy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8232,7 +8968,8 @@ inline void WriteToString(string* result, const Ark_RichEditorUpdateSymbolSpanSt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateSymbolSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateSymbolSpanStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8249,7 +8986,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateSymbolSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateSymbolSpanStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8269,7 +9007,8 @@ inline void WriteToString(string* result, const Ark_RichEditorUpdateImageSpanSty result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateImageSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateImageSpanStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8286,7 +9025,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateImageSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateImageSpanStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8306,7 +9046,8 @@ inline void WriteToString(string* result, const Ark_RichEditorUpdateTextSpanStyl result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateTextSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateTextSpanStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8323,7 +9064,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateTextSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateTextSpanStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8339,7 +9081,8 @@ inline void WriteToString(string* result, const Ark_RichEditorGesture* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorGesture& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorGesture& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8356,7 +9099,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorGesture& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorGesture& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8365,7 +9109,8 @@ inline void WriteToString(string* result, const Ark_TextMenuItemId* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextMenuItemId& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextMenuItemId& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8382,7 +9127,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextMenuItemId& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextMenuItemId& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8399,7 +9145,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LaunchMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_LaunchMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8416,7 +9163,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Axis& value) { +inline Ark_RuntimeType runtimeType(const Opt_Axis& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8442,7 +9190,8 @@ inline void WriteToString(string* result, const Union_ScrollAnimationOptions_Boo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_ScrollAnimationOptions_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Union_ScrollAnimationOptions_Boolean& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -8463,7 +9212,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ScrollAnimationOptions_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ScrollAnimationOptions_Boolean& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8472,7 +9222,8 @@ inline void WriteToString(string* result, const Ark_Uint8ClampedArray* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Uint8ClampedArray& value) { +inline Ark_RuntimeType runtimeType(const Ark_Uint8ClampedArray& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8489,7 +9240,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Uint8ClampedArray& value) { +inline Ark_RuntimeType runtimeType(const Opt_Uint8ClampedArray& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8506,7 +9258,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageBitmap& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageBitmap& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8523,7 +9276,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PanDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_PanDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8551,7 +9305,8 @@ inline void WriteToString(string* result, const Ark_LinearIndicatorStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8568,7 +9323,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8585,7 +9341,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DpiFollowStrategy& value) { +inline Ark_RuntimeType runtimeType(const Opt_DpiFollowStrategy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8602,7 +9359,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WaterFlowLayoutMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_WaterFlowLayoutMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8619,7 +9377,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WaterFlowSections& value) { +inline Ark_RuntimeType runtimeType(const Opt_WaterFlowSections& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8636,7 +9395,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Scroller& value) { +inline Ark_RuntimeType runtimeType(const Opt_Scroller& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8664,7 +9424,8 @@ inline void WriteToString(string* result, const Ark_RRect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RRect& value) { +inline Ark_RuntimeType runtimeType(const Ark_RRect& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8681,7 +9442,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RRect& value) { +inline Ark_RuntimeType runtimeType(const Opt_RRect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8690,7 +9452,7 @@ inline void WriteToString(string* result, const Ark_DividerStyle* value) { // Ark_Length result->append(".strokeWidth="); WriteToString(result, &value->strokeWidth); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); @@ -8705,7 +9467,8 @@ inline void WriteToString(string* result, const Ark_DividerStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DividerStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_DividerStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8722,11 +9485,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DividerStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_DividerStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource* value) { +inline void WriteToString(string* result, const Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching* value) { result->append("{"); // Union_String_CustomObject_Resource result->append(".shown="); @@ -8742,11 +9506,12 @@ inline void WriteToString(string* result, const Literal_shown_Union_String_Custo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource& value) { +inline Ark_RuntimeType runtimeType(const Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource* value) { +inline void WriteToString(string* result, const Opt_Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -8759,7 +9524,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8775,7 +9541,8 @@ inline void WriteToString(string* result, const Ark_ImageAIOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageAIOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ImageAIOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -8792,7 +9559,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAIOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageAIOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8809,7 +9577,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_XComponentController& value) { +inline Ark_RuntimeType runtimeType(const Opt_XComponentController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8826,7 +9595,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_XComponentType& value) { +inline Ark_RuntimeType runtimeType(const Opt_XComponentType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8852,7 +9622,8 @@ inline void WriteToString(string* result, const Union_WebController_CustomObject result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_WebController_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_WebController_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -8873,7 +9644,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_WebController_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_WebController_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8890,7 +9662,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RenderMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_RenderMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8907,7 +9680,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_VideoController& value) { +inline Ark_RuntimeType runtimeType(const Opt_VideoController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8938,7 +9712,8 @@ inline void WriteToString(string* result, const Union_Number_String_PlaybackSpee result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_String_PlaybackSpeed& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_String_PlaybackSpeed& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -8960,7 +9735,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_PlaybackSpeed& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_PlaybackSpeed& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8977,7 +9753,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ToggleType& value) { +inline Ark_RuntimeType runtimeType(const Opt_ToggleType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -8994,7 +9771,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TimePickerFormat& value) { +inline Ark_RuntimeType runtimeType(const Opt_TimePickerFormat& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9011,7 +9789,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextTimerController& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextTimerController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9037,7 +9816,8 @@ inline void WriteToString(string* result, const Union_Number_Array_Number* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_Array_Number& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_Array_Number& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -9058,7 +9838,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Array_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Array_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9084,7 +9865,8 @@ inline void WriteToString(string* result, const Union_String_Array_String* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Array_String& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Array_String& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -9105,7 +9887,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Array_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Array_String& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9146,7 +9929,8 @@ inline void WriteToString(string* result, const Union_Array_String_Array_Array_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Array_String_Array_Array_String_Resource_Array_TextPickerRangeContent_Array_TextCascadePickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Union_Array_String_Array_Array_String_Resource_Array_TextPickerRangeContent_Array_TextCascadePickerRangeContent& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -9170,31 +9954,33 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Array_String_Array_Array_String_Resource_Array_TextPickerRangeContent_Array_TextCascadePickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Array_String_Array_Array_String_Resource_Array_TextPickerRangeContent_Array_TextCascadePickerRangeContent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_UnderlineColor* value) { result->append("{"); - // Union_Union_Color_Number_String_Resource_Undefined + // Union_Ark_ResourceColor_Undefined result->append(".typing="); WriteToString(result, &value->typing); - // Union_Union_Color_Number_String_Resource_Undefined + // Union_Ark_ResourceColor_Undefined result->append(", "); result->append(".normal="); WriteToString(result, &value->normal); - // Union_Union_Color_Number_String_Resource_Undefined + // Union_Ark_ResourceColor_Undefined result->append(", "); result->append(".error="); WriteToString(result, &value->error); - // Union_Union_Color_Number_String_Resource_Undefined + // Union_Ark_ResourceColor_Undefined result->append(", "); result->append(".disable="); WriteToString(result, &value->disable); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_UnderlineColor& value) { +inline Ark_RuntimeType runtimeType(const Ark_UnderlineColor& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -9211,7 +9997,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_UnderlineColor& value) { +inline Ark_RuntimeType runtimeType(const Opt_UnderlineColor& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9228,7 +10015,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextContentStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextContentStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9245,7 +10033,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextInputStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextInputStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9262,7 +10051,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextInputController& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextInputController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9279,7 +10069,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextClockController& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextClockController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9296,7 +10087,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextAreaController& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextAreaController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9332,7 +10124,8 @@ inline void WriteToString(string* result, const Ark_MarqueeOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MarqueeOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_MarqueeOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -9349,7 +10142,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MarqueeOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_MarqueeOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9366,7 +10160,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextController& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9375,7 +10170,7 @@ inline void WriteToString(string* result, const Ark_BottomTabBarStyle* value) { // Ark_LabelStyle result->append("._labelStyle="); WriteToString(result, &value->_labelStyle); - // Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding + // Union_Ark_Padding_Length_LocalizedPadding result->append(", "); result->append("._padding="); WriteToString(result, &value->_padding); @@ -9402,7 +10197,8 @@ inline void WriteToString(string* result, const Ark_BottomTabBarStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BottomTabBarStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_BottomTabBarStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -9419,7 +10215,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BottomTabBarStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_BottomTabBarStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9440,7 +10237,7 @@ inline void WriteToString(string* result, const Ark_SubTabBarStyle* value) { result->append(", "); result->append("._labelStyle="); WriteToString(result, &value->_labelStyle); - // Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length + // Union_Ark_Padding_Length result->append(", "); result->append("._padding="); WriteToString(result, &value->_padding); @@ -9451,7 +10248,8 @@ inline void WriteToString(string* result, const Ark_SubTabBarStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SubTabBarStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_SubTabBarStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -9468,11 +10266,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SubTabBarStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_SubTabBarStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource* value) { +inline void WriteToString(string* result, const Literal_Opt_Union_String_Resource_icon_text* value) { result->append("{"); // Union_String_Resource result->append(".icon="); @@ -9484,11 +10283,12 @@ inline void WriteToString(string* result, const Literal_icon_Opt_Union_String_Re result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Union_String_Resource_icon_text& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Union_String_Resource_icon_text* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -9501,7 +10301,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Union_String_Resource_icon_text& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9518,7 +10319,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EdgeEffect& value) { +inline Ark_RuntimeType runtimeType(const Opt_EdgeEffect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9535,7 +10337,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AnimationMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_AnimationMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9552,7 +10355,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LayoutStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_LayoutStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9569,7 +10373,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TabsController& value) { +inline Ark_RuntimeType runtimeType(const Opt_TabsController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9586,23 +10391,25 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BarPosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_BarPosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_minSize_Union_String_Number* value) { +inline void WriteToString(string* result, const Ark_SwiperAutoFill* value) { result->append("{"); - // Union_String_Number + // Ark_VP result->append(".minSize="); WriteToString(result, &value->minSize); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_minSize_Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Ark_SwiperAutoFill& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_minSize_Union_String_Number* value) { +inline void WriteToString(string* result, const Opt_SwiperAutoFill* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -9615,7 +10422,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_minSize_Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwiperAutoFill& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9632,7 +10440,7 @@ inline void WriteToString(string* result, const Ark_ArrowStyle* value) { result->append(", "); result->append(".backgroundSize="); WriteToString(result, &value->backgroundSize); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".backgroundColor="); WriteToString(result, &value->backgroundColor); @@ -9640,14 +10448,15 @@ inline void WriteToString(string* result, const Ark_ArrowStyle* value) { result->append(", "); result->append(".arrowSize="); WriteToString(result, &value->arrowSize); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".arrowColor="); WriteToString(result, &value->arrowColor); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ArrowStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_ArrowStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -9664,7 +10473,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ArrowStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_ArrowStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9693,11 +10503,11 @@ inline void WriteToString(string* result, const Ark_DigitIndicator* value) { result->append(", "); result->append("._end="); WriteToString(result, &value->_end); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append("._fontColor="); WriteToString(result, &value->_fontColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append("._selectedFontColor="); WriteToString(result, &value->_selectedFontColor); @@ -9712,7 +10522,8 @@ inline void WriteToString(string* result, const Ark_DigitIndicator* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DigitIndicator& value) { +inline Ark_RuntimeType runtimeType(const Ark_DigitIndicator& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -9729,7 +10540,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DigitIndicator& value) { +inline Ark_RuntimeType runtimeType(const Opt_DigitIndicator& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9778,11 +10590,11 @@ inline void WriteToString(string* result, const Ark_DotIndicator* value) { result->append(", "); result->append("._mask="); WriteToString(result, &value->_mask); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append("._color="); WriteToString(result, &value->_color); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append("._selectedColor="); WriteToString(result, &value->_selectedColor); @@ -9793,7 +10605,8 @@ inline void WriteToString(string* result, const Ark_DotIndicator* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DotIndicator& value) { +inline Ark_RuntimeType runtimeType(const Ark_DotIndicator& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -9810,7 +10623,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DotIndicator& value) { +inline Ark_RuntimeType runtimeType(const Opt_DotIndicator& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9827,7 +10641,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Alignment& value) { +inline Ark_RuntimeType runtimeType(const Opt_Alignment& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9863,7 +10678,8 @@ inline void WriteToString(string* result, const Union_CircleAttribute_EllipseAtt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute& value) { +inline Ark_RuntimeType runtimeType(const Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -9886,7 +10702,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9903,7 +10720,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderBlockType& value) { +inline Ark_RuntimeType runtimeType(const Opt_SliderBlockType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9920,7 +10738,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_SliderStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9937,7 +10756,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OptionWidthMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_OptionWidthMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9953,7 +10773,8 @@ inline void WriteToString(string* result, const Ark_CancelButtonSymbolOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CancelButtonSymbolOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_CancelButtonSymbolOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -9970,7 +10791,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CancelButtonSymbolOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_CancelButtonSymbolOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -9986,7 +10808,8 @@ inline void WriteToString(string* result, const Ark_CancelButtonOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CancelButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_CancelButtonOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10003,7 +10826,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CancelButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_CancelButtonOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10020,7 +10844,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SearchController& value) { +inline Ark_RuntimeType runtimeType(const Opt_SearchController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10037,7 +10862,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BarState& value) { +inline Ark_RuntimeType runtimeType(const Opt_BarState& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10054,7 +10880,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollBarDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollBarDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10080,7 +10907,8 @@ inline void WriteToString(string* result, const Union_Length_Array_Length* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_Array_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_Array_Length& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -10101,7 +10929,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Array_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Array_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10118,7 +10947,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollSnapAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollSnapAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10135,7 +10965,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ButtonType& value) { +inline Ark_RuntimeType runtimeType(const Opt_ButtonType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10152,7 +10983,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SaveDescription& value) { +inline Ark_RuntimeType runtimeType(const Opt_SaveDescription& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10169,7 +11001,57 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SaveIconStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_SaveIconStyle& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Union_String_Number* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + if (value->selector == -1) { + result->append(".selector="); + WriteToString(result, value->selector); + } + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Number + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Union_String_Number& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: throw "Bad selector in Union_String_Number: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(string* result, const Opt_Union_String_Number* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10204,7 +11086,8 @@ inline void WriteToString(string* result, const Array_TextDataDetectorType* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_TextDataDetectorType& value) { +inline Ark_RuntimeType runtimeType(const Array_TextDataDetectorType& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10221,7 +11104,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_TextDataDetectorType& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_TextDataDetectorType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10238,7 +11122,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorResponseType& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorResponseType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10255,7 +11140,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ResponseType& value) { +inline Ark_RuntimeType runtimeType(const Opt_ResponseType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10272,7 +11158,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorStyledStringController& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorStyledStringController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10289,7 +11176,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorController& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10306,7 +11194,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedBarrierDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedBarrierDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10323,7 +11212,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BarrierDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_BarrierDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10339,7 +11229,8 @@ inline void WriteToString(string* result, const Ark_GuideLinePosition* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GuideLinePosition& value) { +inline Ark_RuntimeType runtimeType(const Ark_GuideLinePosition& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10356,11 +11247,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GuideLinePosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_GuideLinePosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String* value) { +inline void WriteToString(string* result, const Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight* value) { result->append("{"); // Union_Number_String result->append(".width="); @@ -10380,11 +11272,12 @@ inline void WriteToString(string* result, const Literal_width_Opt_Union_Number_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -10397,11 +11290,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject* value) { +inline void WriteToString(string* result, const Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius* value) { result->append("{"); // Union_Number_String result->append(".width="); @@ -10417,11 +11311,12 @@ inline void WriteToString(string* result, const Literal_width_Opt_Union_Number_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -10434,7 +11329,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10451,7 +11347,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RadioIndicatorType& value) { +inline Ark_RuntimeType runtimeType(const Opt_RadioIndicatorType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10467,7 +11364,8 @@ inline void WriteToString(string* result, const Ark_PluginComponentTemplate* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PluginComponentTemplate& value) { +inline Ark_RuntimeType runtimeType(const Ark_PluginComponentTemplate& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10484,13 +11382,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PluginComponentTemplate& value) { +inline Ark_RuntimeType runtimeType(const Opt_PluginComponentTemplate& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_CircleStyleOptions* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".color="); WriteToString(result, &value->color); // Ark_CustomObject @@ -10504,7 +11403,8 @@ inline void WriteToString(string* result, const Ark_CircleStyleOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CircleStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_CircleStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10521,7 +11421,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CircleStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_CircleStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10538,7 +11439,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PasteDescription& value) { +inline Ark_RuntimeType runtimeType(const Opt_PasteDescription& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10555,7 +11457,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PasteIconStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_PasteIconStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10572,7 +11475,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PanelHeight& value) { +inline Ark_RuntimeType runtimeType(const Opt_PanelHeight& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10589,7 +11493,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationType& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10606,7 +11511,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ToolbarItemStatus& value) { +inline Ark_RuntimeType runtimeType(const Opt_ToolbarItemStatus& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10641,7 +11547,8 @@ inline void WriteToString(string* result, const Array_ToolbarItem* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_ToolbarItem& value) { +inline Ark_RuntimeType runtimeType(const Array_ToolbarItem& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10658,7 +11565,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_ToolbarItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_ToolbarItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10693,7 +11601,8 @@ inline void WriteToString(string* result, const Array_NavigationMenuItem* value, result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_NavigationMenuItem& value) { +inline Ark_RuntimeType runtimeType(const Array_NavigationMenuItem& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10710,13 +11619,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_NavigationMenuItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_NavigationMenuItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_NavigationCustomTitle* value) { result->append("{"); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(".builder="); WriteToString(result, &value->builder); // Union_TitleHeight_Length @@ -10726,7 +11636,8 @@ inline void WriteToString(string* result, const Ark_NavigationCustomTitle* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationCustomTitle& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavigationCustomTitle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10743,7 +11654,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationCustomTitle& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationCustomTitle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10759,7 +11671,8 @@ inline void WriteToString(string* result, const Ark_NavigationCommonTitle* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationCommonTitle& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavigationCommonTitle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10776,7 +11689,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationCommonTitle& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationCommonTitle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10793,13 +11707,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BarStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_BarStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_NavDestinationCustomTitle* value) { result->append("{"); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(".builder="); WriteToString(result, &value->builder); // Union_TitleHeight_Length @@ -10809,7 +11724,8 @@ inline void WriteToString(string* result, const Ark_NavDestinationCustomTitle* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCustomTitle& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCustomTitle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10826,7 +11742,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCustomTitle& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCustomTitle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10842,7 +11759,8 @@ inline void WriteToString(string* result, const Ark_NavDestinationCommonTitle* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCommonTitle& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCommonTitle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10859,11 +11777,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCommonTitle& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCommonTitle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_String_Resource_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceStr_Ark_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -10872,12 +11791,12 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Unio result->append(".selector="); WriteToString(result, value->selector); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -10885,15 +11804,16 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Unio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_String_Resource_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceStr_Ark_CustomBuilder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Union_String_Resource_Union_Function_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceStr_Ark_CustomBuilder: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_String_Resource_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceStr_Ark_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -10906,24 +11826,25 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_String_Resource_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_Ark_CustomBuilder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_MenuItemOptions* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".startIcon="); WriteToString(result, &value->startIcon); // Ark_CustomObject result->append(", "); result->append(".symbolStartIcon="); WriteToString(result, &value->symbolStartIcon); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".content="); WriteToString(result, &value->content); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".endIcon="); WriteToString(result, &value->endIcon); @@ -10931,18 +11852,19 @@ inline void WriteToString(string* result, const Ark_MenuItemOptions* value) { result->append(", "); result->append(".symbolEndIcon="); WriteToString(result, &value->symbolEndIcon); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".labelInfo="); WriteToString(result, &value->labelInfo); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(", "); result->append(".builder="); WriteToString(result, &value->builder); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MenuItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_MenuItemOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -10959,7 +11881,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_MenuItemOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -10968,7 +11891,7 @@ inline void WriteToString(string* result, const Ark_DividerStyleOptions* value) // Ark_CustomObject result->append(".strokeWidth="); WriteToString(result, &value->strokeWidth); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); @@ -10983,7 +11906,8 @@ inline void WriteToString(string* result, const Ark_DividerStyleOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DividerStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_DividerStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -11000,7 +11924,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DividerStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_DividerStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11016,7 +11941,8 @@ inline void WriteToString(string* result, const Ark_ASTCResource* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ASTCResource& value) { +inline Ark_RuntimeType runtimeType(const Ark_ASTCResource& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -11033,7 +11959,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ASTCResource& value) { +inline Ark_RuntimeType runtimeType(const Opt_ASTCResource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11050,7 +11977,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocationDescription& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocationDescription& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11067,7 +11995,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocationIconStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocationIconStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11091,7 +12020,8 @@ inline void WriteToString(string* result, const Ark_LocalizedEdges* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedEdges& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedEdges& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -11108,7 +12038,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedEdges& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedEdges& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11132,7 +12063,8 @@ inline void WriteToString(string* result, const Ark_Edges* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Edges& value) { +inline Ark_RuntimeType runtimeType(const Ark_Edges& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -11149,16 +12081,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Edges& value) { +inline Ark_RuntimeType runtimeType(const Opt_Edges& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length* value) { +inline void WriteToString(string* result, const Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin* value) { result->append("{"); // Ark_Length result->append(".strokeWidth="); WriteToString(result, &value->strokeWidth); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); @@ -11173,11 +12106,12 @@ inline void WriteToString(string* result, const Literal_strokeWidth_Length_color result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length* value) { +inline void WriteToString(string* result, const Opt_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -11190,7 +12124,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11207,7 +12142,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11224,11 +12160,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwipeEdgeEffect& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwipeEdgeEffect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_Function_Undefined_SwipeActionItem* value) { +inline void WriteToString(string* result, const Union_Ark_CustomBuilder_SwipeActionItem* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -11237,7 +12174,7 @@ inline void WriteToString(string* result, const Union_Union_Function_Undefined_S result->append(".selector="); WriteToString(result, value->selector); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -11250,15 +12187,16 @@ inline void WriteToString(string* result, const Union_Union_Function_Undefined_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_Function_Undefined_SwipeActionItem& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_CustomBuilder_SwipeActionItem& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Union_Function_Undefined_SwipeActionItem: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_CustomBuilder_SwipeActionItem: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_Function_Undefined_SwipeActionItem* value) { +inline void WriteToString(string* result, const Opt_Union_CustomBuilder_SwipeActionItem* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -11271,7 +12209,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Function_Undefined_SwipeActionItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomBuilder_SwipeActionItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11288,7 +12227,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EditMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_EditMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11305,7 +12245,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListItemStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_ListItemStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11322,11 +12263,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ChainEdgeEffect& value) { +inline Ark_RuntimeType runtimeType(const Opt_ChainEdgeEffect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_minLength_Length_maxLength_Length* value) { +inline void WriteToString(string* result, const Ark_LengthConstrain* value) { result->append("{"); // Ark_Length result->append(".minLength="); @@ -11338,11 +12280,12 @@ inline void WriteToString(string* result, const Literal_minLength_Length_maxLeng result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_minLength_Length_maxLength_Length& value) { +inline Ark_RuntimeType runtimeType(const Ark_LengthConstrain& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_minLength_Length_maxLength_Length* value) { +inline void WriteToString(string* result, const Opt_LengthConstrain* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -11355,7 +12298,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_minLength_Length_maxLength_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_LengthConstrain& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11364,7 +12308,8 @@ inline void WriteToString(string* result, const Ark_ColorFilter* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ColorFilter& value) { +inline Ark_RuntimeType runtimeType(const Ark_ColorFilter& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -11381,7 +12326,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ColorFilter& value) { +inline Ark_RuntimeType runtimeType(const Opt_ColorFilter& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11412,7 +12358,8 @@ inline void WriteToString(string* result, const Union_String_Resource_CustomObje result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Resource_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -11434,7 +12381,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11451,7 +12399,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageContent& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageContent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11468,7 +12417,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridRowDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridRowDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11484,7 +12434,8 @@ inline void WriteToString(string* result, const Ark_BreakPoints* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BreakPoints& value) { +inline Ark_RuntimeType runtimeType(const Ark_BreakPoints& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -11501,7 +12452,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BreakPoints& value) { +inline Ark_RuntimeType runtimeType(const Opt_BreakPoints& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11527,7 +12479,8 @@ inline void WriteToString(string* result, const Union_Number_GridRowColumnOption result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_GridRowColumnOption& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_GridRowColumnOption& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -11548,7 +12501,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_GridRowColumnOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_GridRowColumnOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11574,7 +12528,8 @@ inline void WriteToString(string* result, const Union_Length_GutterOption* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_GutterOption& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_GutterOption& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -11595,7 +12550,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GutterOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GutterOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11612,7 +12568,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SizeType& value) { +inline Ark_RuntimeType runtimeType(const Opt_SizeType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11638,7 +12595,8 @@ inline void WriteToString(string* result, const Union_Number_GridColColumnOption result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_GridColColumnOption& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_GridColColumnOption& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -11659,7 +12617,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_GridColColumnOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_GridColColumnOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11676,7 +12635,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridItemStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridItemStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11693,7 +12653,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NestedScrollMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_NestedScrollMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11713,7 +12674,8 @@ inline void WriteToString(string* result, const Ark_MultiShadowOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MultiShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_MultiShadowOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -11730,11 +12692,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MultiShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_MultiShadowOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_Color_Number_String_Resource_LinearGradient* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceColor_LinearGradient* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -11743,7 +12706,7 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append(".selector="); WriteToString(result, value->selector); } - // Union_Color_Number_String_Resource + // Ark_ResourceColor if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -11756,15 +12719,16 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_Color_Number_String_Resource_LinearGradient& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceColor_LinearGradient& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Union_Color_Number_String_Resource_LinearGradient: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceColor_LinearGradient: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_Color_Number_String_Resource_LinearGradient* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceColor_LinearGradient* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -11777,30 +12741,31 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Color_Number_String_Resource_LinearGradient& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_LinearGradient& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number* value); -inline void generateStdArrayDefinition(string* result, const Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number* value) { +inline void WriteToString(string* result, const Tuple_Union_Ark_ResourceColor_LinearGradient_Number* value); +inline void generateStdArrayDefinition(string* result, const Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number* value) { int32_t count = value->length; - result->append("std::array{{"); + result->append("std::array{{"); for (int i = 0; i < count; i++) { std::string tmp; - WriteToString(result, (const Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number*)&value->array[i]); + WriteToString(result, (const Tuple_Union_Ark_ResourceColor_LinearGradient_Number*)&value->array[i]); result->append(tmp); result->append(", "); } result->append("}}"); } -inline void WriteToString(string* result, const Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number* value, const std::string& ptrName = std::string()) { +inline void WriteToString(string* result, const Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number* value, const std::string& ptrName = std::string()) { result->append("{"); if (ptrName.empty()) { int32_t count = value->length; if (count > 0) result->append("{"); for (int i = 0; i < count; i++) { if (i > 0) result->append(", "); - WriteToString(result, (const Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number*)&value->array[i]); + WriteToString(result, (const Tuple_Union_Ark_ResourceColor_LinearGradient_Number*)&value->array[i]); } if (count == 0) result->append("{}"); if (count > 0) result->append("}"); @@ -11812,11 +12777,12 @@ inline void WriteToString(string* result, const Array_Tuple_Union_Union_Color_Nu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number& value) { +inline Ark_RuntimeType runtimeType(const Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number* value) { +inline void WriteToString(string* result, const Opt_Array_Tuple_Union_ResourceColor_LinearGradient_Number* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -11829,7 +12795,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Tuple_Union_ResourceColor_LinearGradient_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11846,7 +12813,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FormShape& value) { +inline Ark_RuntimeType runtimeType(const Opt_FormShape& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11863,7 +12831,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FormRenderingMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_FormRenderingMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11880,7 +12849,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FormDimension& value) { +inline Ark_RuntimeType runtimeType(const Opt_FormDimension& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11896,7 +12866,8 @@ inline void WriteToString(string* result, const Ark_FlexSpaceOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FlexSpaceOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_FlexSpaceOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -11913,7 +12884,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FlexSpaceOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_FlexSpaceOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11930,7 +12902,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FlexAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_FlexAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11947,7 +12920,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ItemAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_ItemAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11964,7 +12938,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FlexWrap& value) { +inline Ark_RuntimeType runtimeType(const Opt_FlexWrap& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -11981,30 +12956,31 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FlexDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_FlexDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_Color_Number_String_Resource_LinearGradient* value); -inline void generateStdArrayDefinition(string* result, const Array_Union_Union_Color_Number_String_Resource_LinearGradient* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceColor_LinearGradient* value); +inline void generateStdArrayDefinition(string* result, const Array_Union_Ark_ResourceColor_LinearGradient* value) { int32_t count = value->length; - result->append("std::array{{"); + result->append("std::array{{"); for (int i = 0; i < count; i++) { std::string tmp; - WriteToString(result, (const Union_Union_Color_Number_String_Resource_LinearGradient*)&value->array[i]); + WriteToString(result, (const Union_Ark_ResourceColor_LinearGradient*)&value->array[i]); result->append(tmp); result->append(", "); } result->append("}}"); } -inline void WriteToString(string* result, const Array_Union_Union_Color_Number_String_Resource_LinearGradient* value, const std::string& ptrName = std::string()) { +inline void WriteToString(string* result, const Array_Union_Ark_ResourceColor_LinearGradient* value, const std::string& ptrName = std::string()) { result->append("{"); if (ptrName.empty()) { int32_t count = value->length; if (count > 0) result->append("{"); for (int i = 0; i < count; i++) { if (i > 0) result->append(", "); - WriteToString(result, (const Union_Union_Color_Number_String_Resource_LinearGradient*)&value->array[i]); + WriteToString(result, (const Union_Ark_ResourceColor_LinearGradient*)&value->array[i]); } if (count == 0) result->append("{}"); if (count > 0) result->append("}"); @@ -12016,11 +12992,12 @@ inline void WriteToString(string* result, const Array_Union_Union_Color_Number_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Union_Union_Color_Number_String_Resource_LinearGradient& value) { +inline Ark_RuntimeType runtimeType(const Array_Union_Ark_ResourceColor_LinearGradient& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Array_Union_Union_Color_Number_String_Resource_LinearGradient* value) { +inline void WriteToString(string* result, const Opt_Array_Union_ResourceColor_LinearGradient* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -12033,7 +13010,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Union_Union_Color_Number_String_Resource_LinearGradient& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Union_ResourceColor_LinearGradient& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12050,7 +13028,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DataPanelType& value) { +inline Ark_RuntimeType runtimeType(const Opt_DataPanelType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12067,7 +13046,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ModelType& value) { +inline Ark_RuntimeType runtimeType(const Opt_ModelType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12093,7 +13073,8 @@ inline void WriteToString(string* result, const Union_Resource_CustomObject* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_Resource_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -12114,7 +13095,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Resource_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12130,7 +13112,8 @@ inline void WriteToString(string* result, const Ark_ColumnSplitDividerStyle* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ColumnSplitDividerStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_ColumnSplitDividerStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12147,7 +13130,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ColumnSplitDividerStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_ColumnSplitDividerStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12164,7 +13148,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_IlluminatedType& value) { +inline Ark_RuntimeType runtimeType(const Opt_IlluminatedType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12185,14 +13170,15 @@ inline void WriteToString(string* result, const Ark_LightSource* value) { result->append(", "); result->append(".intensity="); WriteToString(result, &value->intensity); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LightSource& value) { +inline Ark_RuntimeType runtimeType(const Ark_LightSource& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12209,7 +13195,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LightSource& value) { +inline Ark_RuntimeType runtimeType(const Opt_LightSource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12226,7 +13213,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DrawingRenderingContext& value) { +inline Ark_RuntimeType runtimeType(const Opt_DrawingRenderingContext& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12243,7 +13231,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CanvasRenderingContext2D& value) { +inline Ark_RuntimeType runtimeType(const Opt_CanvasRenderingContext2D& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12260,7 +13249,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CalendarController& value) { +inline Ark_RuntimeType runtimeType(const Opt_CalendarController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12280,7 +13270,8 @@ inline void WriteToString(string* result, const Ark_MonthData* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MonthData& value) { +inline Ark_RuntimeType runtimeType(const Ark_MonthData& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12297,11 +13288,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MonthData& value) { +inline Ark_RuntimeType runtimeType(const Opt_MonthData& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_year_Number_month_Number_day_Number* value) { +inline void WriteToString(string* result, const Literal_Number_year_month_day* value) { result->append("{"); // Ark_Number result->append(".year="); @@ -12317,11 +13309,12 @@ inline void WriteToString(string* result, const Literal_year_Number_month_Number result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_year_Number_month_Number_day_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_year_month_day& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_year_Number_month_Number_day_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_year_month_day* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -12334,7 +13327,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_year_Number_month_Number_day_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_year_month_day& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12351,7 +13345,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ButtonRole& value) { +inline Ark_RuntimeType runtimeType(const Opt_ButtonRole& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12368,7 +13363,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ControlSize& value) { +inline Ark_RuntimeType runtimeType(const Opt_ControlSize& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12385,7 +13381,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ButtonStyleMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_ButtonStyleMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12401,7 +13398,8 @@ inline void WriteToString(string* result, const Ark_BadgeParam* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BadgeParam& value) { +inline Ark_RuntimeType runtimeType(const Ark_BadgeParam& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12418,7 +13416,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BadgeParam& value) { +inline Ark_RuntimeType runtimeType(const Opt_BadgeParam& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12427,7 +13426,8 @@ inline void WriteToString(string* result, const Ark_ScrollMotion* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollMotion& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScrollMotion& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12444,7 +13444,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollMotion& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollMotion& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12453,7 +13454,8 @@ inline void WriteToString(string* result, const Ark_FrictionMotion* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FrictionMotion& value) { +inline Ark_RuntimeType runtimeType(const Ark_FrictionMotion& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12470,7 +13472,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FrictionMotion& value) { +inline Ark_RuntimeType runtimeType(const Opt_FrictionMotion& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12479,7 +13482,8 @@ inline void WriteToString(string* result, const Ark_SpringMotion* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SpringMotion& value) { +inline Ark_RuntimeType runtimeType(const Ark_SpringMotion& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12496,7 +13500,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SpringMotion& value) { +inline Ark_RuntimeType runtimeType(const Opt_SpringMotion& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12513,7 +13518,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FunctionKey& value) { +inline Ark_RuntimeType runtimeType(const Opt_FunctionKey& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12530,7 +13536,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollSizeMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollSizeMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12547,11 +13554,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SheetMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_SheetMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle* value) { +inline void WriteToString(string* result, const Union_BorderStyle_Ark_EdgeStyles* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -12565,7 +13573,7 @@ inline void WriteToString(string* result, const Union_BorderStyle_Literal_top_Op result->append(".value0="); WriteToString(result, value->value0); } - // Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle + // Ark_EdgeStyles if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -12573,15 +13581,16 @@ inline void WriteToString(string* result, const Union_BorderStyle_Literal_top_Op result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle& value) { +inline Ark_RuntimeType runtimeType(const Union_BorderStyle_Ark_EdgeStyles& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle: " + std::to_string(value.selector); + default: throw "Bad selector in Union_BorderStyle_Ark_EdgeStyles: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle* value) { +inline void WriteToString(string* result, const Opt_Union_BorderStyle_EdgeStyles* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -12594,11 +13603,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_BorderStyle_EdgeStyles& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -12607,12 +13617,12 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append(".selector="); WriteToString(result, value->selector); } - // Union_Color_Number_String_Resource + // Ark_ResourceColor if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource + // Ark_EdgeColors if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -12625,16 +13635,17 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -12647,11 +13658,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths* value) { +inline void WriteToString(string* result, const Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -12665,7 +13677,7 @@ inline void WriteToString(string* result, const Union_Length_Literal_top_Opt_Len result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Ark_EdgeWidths if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -12678,16 +13690,17 @@ inline void WriteToString(string* result, const Union_Length_Literal_top_Opt_Len result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths* value) { +inline void WriteToString(string* result, const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -12700,11 +13713,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_SheetTitleOptions_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Union_SheetTitleOptions_Ark_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -12718,7 +13732,7 @@ inline void WriteToString(string* result, const Union_SheetTitleOptions_Union_Fu result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -12726,15 +13740,16 @@ inline void WriteToString(string* result, const Union_SheetTitleOptions_Union_Fu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_SheetTitleOptions_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_SheetTitleOptions_Ark_CustomBuilder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_SheetTitleOptions_Union_Function_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_SheetTitleOptions_Ark_CustomBuilder: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_SheetTitleOptions_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_SheetTitleOptions_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -12747,7 +13762,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SheetTitleOptions_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_SheetTitleOptions_CustomBuilder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12764,7 +13780,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SheetType& value) { +inline Ark_RuntimeType runtimeType(const Opt_SheetType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12790,7 +13807,8 @@ inline void WriteToString(string* result, const Union_Boolean_Resource* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Boolean_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_Boolean_Resource& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -12811,7 +13829,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Resource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12831,7 +13850,8 @@ inline void WriteToString(string* result, const Tuple_Union_SheetSize_Length_Opt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Tuple_Union_SheetSize_Length_Opt_Union_SheetSize_Length_Opt_Union_SheetSize_Length& value) { +inline Ark_RuntimeType runtimeType(const Tuple_Union_SheetSize_Length_Opt_Union_SheetSize_Length_Opt_Union_SheetSize_Length& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12848,13 +13868,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Tuple_Union_SheetSize_Length_Opt_Union_SheetSize_Length_Opt_Union_SheetSize_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Tuple_Union_SheetSize_Length_Opt_Union_SheetSize_Length_Opt_Union_SheetSize_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_BindOptions* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".backgroundColor="); WriteToString(result, &value->backgroundColor); // Ark_Function @@ -12876,7 +13897,8 @@ inline void WriteToString(string* result, const Ark_BindOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BindOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_BindOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12893,7 +13915,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BindOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_BindOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12910,7 +13933,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ModalTransition& value) { +inline Ark_RuntimeType runtimeType(const Opt_ModalTransition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12945,7 +13969,8 @@ inline void WriteToString(string* result, const Array_MenuElement* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_MenuElement& value) { +inline Ark_RuntimeType runtimeType(const Array_MenuElement& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -12962,7 +13987,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_MenuElement& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_MenuElement& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -12983,11 +14009,11 @@ inline void WriteToString(string* result, const Ark_ContextMenuOptions* value) { result->append(", "); result->append(".arrowOffset="); WriteToString(result, &value->arrowOffset); - // Union_MenuPreviewMode_Union_Function_Undefined + // Union_MenuPreviewMode_Ark_CustomBuilder result->append(", "); result->append(".preview="); WriteToString(result, &value->preview); - // Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Union_Length_Ark_BorderRadiuses result->append(", "); result->append(".borderRadius="); WriteToString(result, &value->borderRadius); @@ -13011,7 +14037,7 @@ inline void WriteToString(string* result, const Ark_ContextMenuOptions* value) { result->append(", "); result->append(".previewAnimationOptions="); WriteToString(result, &value->previewAnimationOptions); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".backgroundColor="); WriteToString(result, &value->backgroundColor); @@ -13026,7 +14052,8 @@ inline void WriteToString(string* result, const Ark_ContextMenuOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ContextMenuOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13043,13 +14070,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ContextMenuOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ContextMenuOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_CustomPopupOptions* value) { result->append("{"); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(".builder="); WriteToString(result, &value->builder); // Ark_Placement @@ -13084,7 +14112,7 @@ inline void WriteToString(string* result, const Ark_CustomPopupOptions* value) { result->append(", "); result->append(".showInSubWindow="); WriteToString(result, &value->showInSubWindow); - // Union_Boolean_Literal_color_Union_Color_Number_String_Resource + // Union_Boolean_Literal_Ark_ResourceColor_color result->append(", "); result->append(".mask="); WriteToString(result, &value->mask); @@ -13139,7 +14167,8 @@ inline void WriteToString(string* result, const Ark_CustomPopupOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomPopupOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_CustomPopupOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13156,7 +14185,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomPopupOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_CustomPopupOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13173,11 +14203,11 @@ inline void WriteToString(string* result, const Ark_PopupOptions* value) { result->append(", "); result->append(".placement="); WriteToString(result, &value->placement); - // Literal_value_String_action_Function + // Literal_String_value_Function_action result->append(", "); result->append(".primaryButton="); WriteToString(result, &value->primaryButton); - // Literal_value_String_action_Function + // Literal_String_value_Function_action result->append(", "); result->append(".secondaryButton="); WriteToString(result, &value->secondaryButton); @@ -13193,7 +14223,7 @@ inline void WriteToString(string* result, const Ark_PopupOptions* value) { result->append(", "); result->append(".showInSubWindow="); WriteToString(result, &value->showInSubWindow); - // Union_Boolean_Literal_color_Union_Color_Number_String_Resource + // Union_Boolean_Literal_Ark_ResourceColor_color result->append(", "); result->append(".mask="); WriteToString(result, &value->mask); @@ -13260,7 +14290,8 @@ inline void WriteToString(string* result, const Ark_PopupOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PopupOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_PopupOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13277,7 +14308,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PopupOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_PopupOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13294,7 +14326,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TransitionHierarchyStrategy& value) { +inline Ark_RuntimeType runtimeType(const Opt_TransitionHierarchyStrategy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13311,7 +14344,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ProgressMask& value) { +inline Ark_RuntimeType runtimeType(const Opt_ProgressMask& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13327,7 +14361,8 @@ inline void WriteToString(string* result, const Ark_OverlayOffset* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OverlayOffset& value) { +inline Ark_RuntimeType runtimeType(const Ark_OverlayOffset& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13344,7 +14379,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OverlayOffset& value) { +inline Ark_RuntimeType runtimeType(const Opt_OverlayOffset& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13370,7 +14406,8 @@ inline void WriteToString(string* result, const Union_Boolean_Number* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Boolean_Number& value) { +inline Ark_RuntimeType runtimeType(const Union_Boolean_Number& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -13391,7 +14428,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13417,7 +14455,8 @@ inline void WriteToString(string* result, const Union_DragPreviewMode_Array_Drag result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_DragPreviewMode_Array_DragPreviewMode& value) { +inline Ark_RuntimeType runtimeType(const Union_DragPreviewMode_Array_DragPreviewMode& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -13438,7 +14477,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_DragPreviewMode_Array_DragPreviewMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_DragPreviewMode_Array_DragPreviewMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13447,7 +14487,7 @@ inline void WriteToString(string* result, const Ark_DragItemInfo* value) { // Ark_CustomObject result->append(".pixelMap="); WriteToString(result, &value->pixelMap); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(", "); result->append(".builder="); WriteToString(result, &value->builder); @@ -13458,7 +14498,8 @@ inline void WriteToString(string* result, const Ark_DragItemInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DragItemInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_DragItemInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13475,7 +14516,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DragItemInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_DragItemInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13491,7 +14533,8 @@ inline void WriteToString(string* result, const Ark_ClickEffect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ClickEffect& value) { +inline Ark_RuntimeType runtimeType(const Ark_ClickEffect& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13508,7 +14551,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ClickEffect& value) { +inline Ark_RuntimeType runtimeType(const Opt_ClickEffect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13524,7 +14568,8 @@ inline void WriteToString(string* result, const Ark_Bias* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Bias& value) { +inline Ark_RuntimeType runtimeType(const Ark_Bias& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13541,7 +14586,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Bias& value) { +inline Ark_RuntimeType runtimeType(const Opt_Bias& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13557,7 +14603,8 @@ inline void WriteToString(string* result, const Ark_LocalizedVerticalAlignParam* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedVerticalAlignParam& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedVerticalAlignParam& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13574,7 +14621,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedVerticalAlignParam& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedVerticalAlignParam& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13590,7 +14638,8 @@ inline void WriteToString(string* result, const Ark_LocalizedHorizontalAlignPara result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedHorizontalAlignParam& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedHorizontalAlignParam& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13607,11 +14656,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedHorizontalAlignParam& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedHorizontalAlignParam& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_anchor_String_align_VerticalAlign* value) { +inline void WriteToString(string* result, const Literal_String_anchor_VerticalAlign_align* value) { result->append("{"); // Ark_String result->append(".anchor="); @@ -13623,11 +14673,12 @@ inline void WriteToString(string* result, const Literal_anchor_String_align_Vert result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_anchor_String_align_VerticalAlign& value) { +inline Ark_RuntimeType runtimeType(const Literal_String_anchor_VerticalAlign_align& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_anchor_String_align_VerticalAlign* value) { +inline void WriteToString(string* result, const Opt_Literal_String_anchor_VerticalAlign_align* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -13640,11 +14691,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_anchor_String_align_VerticalAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_anchor_VerticalAlign_align& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_anchor_String_align_HorizontalAlign* value) { +inline void WriteToString(string* result, const Literal_String_anchor_HorizontalAlign_align* value) { result->append("{"); // Ark_String result->append(".anchor="); @@ -13656,11 +14708,12 @@ inline void WriteToString(string* result, const Literal_anchor_String_align_Hori result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_anchor_String_align_HorizontalAlign& value) { +inline Ark_RuntimeType runtimeType(const Literal_String_anchor_HorizontalAlign_align& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_anchor_String_align_HorizontalAlign* value) { +inline void WriteToString(string* result, const Opt_Literal_String_anchor_HorizontalAlign_align* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -13673,11 +14726,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_anchor_String_align_HorizontalAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_anchor_HorizontalAlign_align& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Number_Literal_span_Number_offset_Number* value) { +inline void WriteToString(string* result, const Union_Number_Literal_Number_span_offset* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -13691,7 +14745,7 @@ inline void WriteToString(string* result, const Union_Number_Literal_span_Number result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_span_Number_offset_Number + // Literal_Number_span_offset if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -13699,15 +14753,16 @@ inline void WriteToString(string* result, const Union_Number_Literal_span_Number result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_Literal_span_Number_offset_Number& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_Literal_Number_span_offset& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Number_Literal_span_Number_offset_Number: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Number_Literal_Number_span_offset: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Number_Literal_span_Number_offset_Number* value) { +inline void WriteToString(string* result, const Opt_Union_Number_Literal_Number_span_offset* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -13720,7 +14775,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Literal_span_Number_offset_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Literal_Number_span_offset& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13736,7 +14792,8 @@ inline void WriteToString(string* result, const Ark_LocalizedPosition* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedPosition& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedPosition& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13753,7 +14810,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedPosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedPosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13770,7 +14828,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SharedTransitionEffectType& value) { +inline Ark_RuntimeType runtimeType(const Opt_SharedTransitionEffectType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13794,7 +14853,8 @@ inline void WriteToString(string* result, const Ark_MotionPathOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MotionPathOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_MotionPathOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13811,7 +14871,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MotionPathOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_MotionPathOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13842,7 +14903,8 @@ inline void WriteToString(string* result, const Union_Curve_String_ICurve* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Curve_String_ICurve& value) { +inline Ark_RuntimeType runtimeType(const Union_Curve_String_ICurve& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -13864,7 +14926,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Curve_String_ICurve& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Curve_String_ICurve& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13888,7 +14951,8 @@ inline void WriteToString(string* result, const Ark_InvertOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_InvertOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_InvertOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13905,7 +14969,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_InvertOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_InvertOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13921,7 +14986,8 @@ inline void WriteToString(string* result, const Ark_MotionBlurAnchor* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MotionBlurAnchor& value) { +inline Ark_RuntimeType runtimeType(const Ark_MotionBlurAnchor& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13938,7 +15004,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MotionBlurAnchor& value) { +inline Ark_RuntimeType runtimeType(const Opt_MotionBlurAnchor& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13973,7 +15040,8 @@ inline void WriteToString(string* result, const Array_Tuple_Number_Number* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Tuple_Number_Number& value) { +inline Ark_RuntimeType runtimeType(const Array_Tuple_Number_Number& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -13990,7 +15058,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Tuple_Number_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Tuple_Number_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -13999,7 +15068,8 @@ inline void WriteToString(string* result, const Ark_GestureGroupInterface* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureGroupInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_GestureGroupInterface& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14016,7 +15086,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureGroupInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_GestureGroupInterface& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14025,7 +15096,8 @@ inline void WriteToString(string* result, const Ark_RotationGestureInterface* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RotationGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_RotationGestureInterface& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14042,7 +15114,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RotationGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_RotationGestureInterface& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14051,7 +15124,8 @@ inline void WriteToString(string* result, const Ark_SwipeGestureInterface* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwipeGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_SwipeGestureInterface& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14068,7 +15142,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwipeGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwipeGestureInterface& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14077,7 +15152,8 @@ inline void WriteToString(string* result, const Ark_PinchGestureInterface* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PinchGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_PinchGestureInterface& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14094,7 +15170,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PinchGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_PinchGestureInterface& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14103,7 +15180,8 @@ inline void WriteToString(string* result, const Ark_PanGestureInterface* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PanGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_PanGestureInterface& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14120,7 +15198,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PanGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_PanGestureInterface& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14129,7 +15208,8 @@ inline void WriteToString(string* result, const Ark_LongPressGestureInterface* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureInterface& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14146,7 +15226,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureInterface& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14155,7 +15236,8 @@ inline void WriteToString(string* result, const Ark_TapGestureInterface* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TapGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_TapGestureInterface& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14172,7 +15254,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TapGestureInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_TapGestureInterface& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14200,7 +15283,8 @@ inline void WriteToString(string* result, const Ark_TransitionOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TransitionOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_TransitionOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14217,7 +15301,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TransitionOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_TransitionOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14237,7 +15322,8 @@ inline void WriteToString(string* result, const Ark_ExpectedFrameRateRange* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ExpectedFrameRateRange& value) { +inline Ark_RuntimeType runtimeType(const Ark_ExpectedFrameRateRange& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14254,7 +15340,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ExpectedFrameRateRange& value) { +inline Ark_RuntimeType runtimeType(const Opt_ExpectedFrameRateRange& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14271,7 +15358,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FinishCallbackType& value) { +inline Ark_RuntimeType runtimeType(const Opt_FinishCallbackType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14288,11 +15376,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PlayMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_PlayMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle* value) { +inline void WriteToString(string* result, const Union_Ark_EdgeOutlineStyles_OutlineStyle* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -14301,7 +15390,7 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_OutlineSty result->append(".selector="); WriteToString(result, value->selector); } - // Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle + // Ark_EdgeOutlineStyles if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -14314,15 +15403,16 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_OutlineSty result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_EdgeOutlineStyles_OutlineStyle& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_EdgeOutlineStyles_OutlineStyle: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle* value) { +inline void WriteToString(string* result, const Opt_Union_EdgeOutlineStyles_OutlineStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -14335,11 +15425,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeOutlineStyles_OutlineStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length* value) { +inline void WriteToString(string* result, const Union_Ark_OutlineRadiuses_Length* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -14348,7 +15439,7 @@ inline void WriteToString(string* result, const Union_Literal_topLeft_Opt_Length result->append(".selector="); WriteToString(result, value->selector); } - // Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Ark_OutlineRadiuses if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -14361,15 +15452,16 @@ inline void WriteToString(string* result, const Union_Literal_topLeft_Opt_Length result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_OutlineRadiuses_Length& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_OutlineRadiuses_Length: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length* value) { +inline void WriteToString(string* result, const Opt_Union_OutlineRadiuses_Length* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -14382,11 +15474,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_OutlineRadiuses_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors* value) { +inline void WriteToString(string* result, const Union_Ark_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -14395,12 +15488,12 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Union_Colo result->append(".selector="); WriteToString(result, value->selector); } - // Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource + // Ark_EdgeColors if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Color_Number_String_Resource + // Ark_ResourceColor if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -14413,16 +15506,17 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Union_Colo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors* value) { +inline void WriteToString(string* result, const Opt_Union_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -14435,7 +15529,57 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Union_Ark_EdgeOutlineWidths_Length* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + if (value->selector == -1) { + result->append(".selector="); + WriteToString(result, value->selector); + } + // Ark_EdgeOutlineWidths + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Length + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Union_Ark_EdgeOutlineWidths_Length& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: throw "Bad selector in Union_Ark_EdgeOutlineWidths_Length: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(string* result, const Opt_Union_EdgeOutlineWidths_Length* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeOutlineWidths_Length& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14466,7 +15610,8 @@ inline void WriteToString(string* result, const Union_String_Resource_LinearGrad result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Resource_LinearGradient& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Resource_LinearGradient& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -14488,7 +15633,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_LinearGradient& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_LinearGradient& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14505,11 +15651,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RepeatMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_RepeatMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths* value) { +inline void WriteToString(string* result, const Union_Ark_EdgeWidths_CustomObject_LocalizedEdgeWidths* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -14518,7 +15665,7 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_rig result->append(".selector="); WriteToString(result, value->selector); } - // Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Ark_EdgeWidths if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -14536,16 +15683,17 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_rig result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_EdgeWidths_CustomObject_LocalizedEdgeWidths& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_EdgeWidths_CustomObject_LocalizedEdgeWidths: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths* value) { +inline void WriteToString(string* result, const Opt_Union_EdgeWidths_CustomObject_LocalizedEdgeWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -14558,11 +15706,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeWidths_CustomObject_LocalizedEdgeWidths& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle* value) { +inline void WriteToString(string* result, const Union_Ark_EdgeStyles_BorderStyle* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -14571,7 +15720,7 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_BorderStyl result->append(".selector="); WriteToString(result, value->selector); } - // Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle + // Ark_EdgeStyles if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -14584,15 +15733,16 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_BorderStyl result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_EdgeStyles_BorderStyle& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_EdgeStyles_BorderStyle: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle* value) { +inline void WriteToString(string* result, const Opt_Union_EdgeStyles_BorderStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -14605,11 +15755,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeStyles_BorderStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses* value) { +inline void WriteToString(string* result, const Union_Ark_BorderRadiuses_Length_LocalizedBorderRadiuses* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -14618,7 +15769,7 @@ inline void WriteToString(string* result, const Union_Literal_topLeft_Opt_Length result->append(".selector="); WriteToString(result, value->selector); } - // Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Ark_BorderRadiuses if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -14636,16 +15787,17 @@ inline void WriteToString(string* result, const Union_Literal_topLeft_Opt_Length result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_BorderRadiuses_Length_LocalizedBorderRadiuses& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_BorderRadiuses_Length_LocalizedBorderRadiuses: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses* value) { +inline void WriteToString(string* result, const Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -14658,11 +15810,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths* value) { +inline void WriteToString(string* result, const Union_Ark_EdgeWidths_Length_LocalizedEdgeWidths* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -14671,7 +15824,7 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_rig result->append(".selector="); WriteToString(result, value->selector); } - // Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Ark_EdgeWidths if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -14689,16 +15842,17 @@ inline void WriteToString(string* result, const Union_Literal_top_Opt_Length_rig result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_EdgeWidths_Length_LocalizedEdgeWidths& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_EdgeWidths_Length_LocalizedEdgeWidths: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths* value) { +inline void WriteToString(string* result, const Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -14711,7 +15865,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14735,7 +15890,8 @@ inline void WriteToString(string* result, const Ark_BlurStyleOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BlurStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_BlurStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14752,7 +15908,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlurStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_BlurStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14769,7 +15926,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlurType& value) { +inline Ark_RuntimeType runtimeType(const Opt_BlurType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14786,7 +15944,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlurStyleActivePolicy& value) { +inline Ark_RuntimeType runtimeType(const Opt_BlurStyleActivePolicy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14803,7 +15962,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageSize& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageSize& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14820,7 +15980,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PixelRoundCalcPolicy& value) { +inline Ark_RuntimeType runtimeType(const Opt_PixelRoundCalcPolicy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14844,7 +16005,8 @@ inline void WriteToString(string* result, const Ark_Rectangle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Rectangle& value) { +inline Ark_RuntimeType runtimeType(const Ark_Rectangle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14861,7 +16023,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Rectangle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Rectangle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14896,7 +16059,8 @@ inline void WriteToString(string* result, const Array_Rectangle* value, const st result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_Rectangle& value) { +inline Ark_RuntimeType runtimeType(const Array_Rectangle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14913,7 +16077,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Rectangle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_Rectangle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14930,7 +16095,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DrawModifier& value) { +inline Ark_RuntimeType runtimeType(const Opt_DrawModifier& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14946,7 +16112,8 @@ inline void WriteToString(string* result, const Ark_TerminationInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TerminationInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_TerminationInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14963,7 +16130,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TerminationInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_TerminationInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -14979,7 +16147,8 @@ inline void WriteToString(string* result, const Ark_AdsBlockedDetails* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AdsBlockedDetails& value) { +inline Ark_RuntimeType runtimeType(const Ark_AdsBlockedDetails& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -14996,7 +16165,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AdsBlockedDetails& value) { +inline Ark_RuntimeType runtimeType(const Opt_AdsBlockedDetails& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15012,7 +16182,8 @@ inline void WriteToString(string* result, const Ark_WebKeyboardCallbackInfo* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardCallbackInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardCallbackInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15029,7 +16200,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardCallbackInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardCallbackInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15046,7 +16218,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ViewportFit& value) { +inline Ark_RuntimeType runtimeType(const Opt_ViewportFit& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15066,7 +16239,8 @@ inline void WriteToString(string* result, const Ark_RenderProcessNotRespondingDa result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RenderProcessNotRespondingData& value) { +inline Ark_RuntimeType runtimeType(const Ark_RenderProcessNotRespondingData& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15083,7 +16257,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingData& value) { +inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingData& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15103,7 +16278,8 @@ inline void WriteToString(string* result, const Ark_NativeEmbedTouchInfo* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedTouchInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedTouchInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15120,7 +16296,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedTouchInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedTouchInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15144,7 +16321,8 @@ inline void WriteToString(string* result, const Ark_NativeEmbedDataInfo* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedDataInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedDataInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15161,7 +16339,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedDataInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedDataInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15177,7 +16356,8 @@ inline void WriteToString(string* result, const Ark_IntelligentTrackingPreventio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_IntelligentTrackingPreventionDetails& value) { +inline Ark_RuntimeType runtimeType(const Ark_IntelligentTrackingPreventionDetails& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15194,7 +16374,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_IntelligentTrackingPreventionDetails& value) { +inline Ark_RuntimeType runtimeType(const Opt_IntelligentTrackingPreventionDetails& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15222,7 +16403,8 @@ inline void WriteToString(string* result, const Ark_LoadCommittedDetails* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LoadCommittedDetails& value) { +inline Ark_RuntimeType runtimeType(const Ark_LoadCommittedDetails& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15239,7 +16421,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LoadCommittedDetails& value) { +inline Ark_RuntimeType runtimeType(const Opt_LoadCommittedDetails& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15256,7 +16439,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ThreatType& value) { +inline Ark_RuntimeType runtimeType(const Opt_ThreatType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15272,7 +16456,8 @@ inline void WriteToString(string* result, const Ark_OnOverScrollEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnOverScrollEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnOverScrollEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15289,7 +16474,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnOverScrollEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnOverScrollEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15301,7 +16487,8 @@ inline void WriteToString(string* result, const Ark_OnLoadInterceptEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnLoadInterceptEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnLoadInterceptEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15318,7 +16505,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnLoadInterceptEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnLoadInterceptEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15350,7 +16538,8 @@ inline void WriteToString(string* result, const Ark_LargestContentfulPaint* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LargestContentfulPaint& value) { +inline Ark_RuntimeType runtimeType(const Ark_LargestContentfulPaint& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15367,7 +16556,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LargestContentfulPaint& value) { +inline Ark_RuntimeType runtimeType(const Opt_LargestContentfulPaint& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15383,7 +16573,8 @@ inline void WriteToString(string* result, const Ark_FirstMeaningfulPaint* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FirstMeaningfulPaint& value) { +inline Ark_RuntimeType runtimeType(const Ark_FirstMeaningfulPaint& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15400,7 +16591,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FirstMeaningfulPaint& value) { +inline Ark_RuntimeType runtimeType(const Opt_FirstMeaningfulPaint& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15416,7 +16608,8 @@ inline void WriteToString(string* result, const Ark_OnFirstContentfulPaintEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnFirstContentfulPaintEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnFirstContentfulPaintEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15433,7 +16626,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnFirstContentfulPaintEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnFirstContentfulPaintEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15445,7 +16639,8 @@ inline void WriteToString(string* result, const Ark_OnAudioStateChangedEvent* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnAudioStateChangedEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnAudioStateChangedEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15462,7 +16657,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnAudioStateChangedEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnAudioStateChangedEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15474,7 +16670,8 @@ inline void WriteToString(string* result, const Ark_OnDataResubmittedEvent* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnDataResubmittedEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnDataResubmittedEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15491,7 +16688,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnDataResubmittedEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnDataResubmittedEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15503,7 +16701,8 @@ inline void WriteToString(string* result, const Ark_OnPageVisibleEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPageVisibleEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnPageVisibleEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15520,7 +16719,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPageVisibleEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnPageVisibleEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15532,7 +16732,8 @@ inline void WriteToString(string* result, const Ark_OnFaviconReceivedEvent* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnFaviconReceivedEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnFaviconReceivedEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15549,7 +16750,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnFaviconReceivedEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnFaviconReceivedEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15565,7 +16767,8 @@ inline void WriteToString(string* result, const Ark_OnTouchIconUrlReceivedEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnTouchIconUrlReceivedEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnTouchIconUrlReceivedEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15582,7 +16785,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTouchIconUrlReceivedEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnTouchIconUrlReceivedEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15606,7 +16810,8 @@ inline void WriteToString(string* result, const Ark_OnWindowNewEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnWindowNewEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnWindowNewEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15623,7 +16828,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnWindowNewEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnWindowNewEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15651,7 +16857,8 @@ inline void WriteToString(string* result, const Ark_OnClientAuthenticationEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnClientAuthenticationEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnClientAuthenticationEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15668,7 +16875,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnClientAuthenticationEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnClientAuthenticationEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15704,7 +16912,8 @@ inline void WriteToString(string* result, const Ark_SslErrorEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SslErrorEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_SslErrorEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15721,7 +16930,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SslErrorEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_SslErrorEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15737,7 +16947,8 @@ inline void WriteToString(string* result, const Ark_OnSslErrorEventReceiveEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnSslErrorEventReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnSslErrorEventReceiveEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15754,7 +16965,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSslErrorEventReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnSslErrorEventReceiveEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15770,7 +16982,8 @@ inline void WriteToString(string* result, const Ark_OnScrollEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnScrollEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnScrollEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15787,7 +17000,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScrollEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnScrollEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15807,7 +17021,8 @@ inline void WriteToString(string* result, const Ark_OnSearchResultReceiveEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnSearchResultReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnSearchResultReceiveEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15824,7 +17039,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSearchResultReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnSearchResultReceiveEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15840,7 +17056,8 @@ inline void WriteToString(string* result, const Ark_OnContextMenuShowEvent* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnContextMenuShowEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnContextMenuShowEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15857,7 +17074,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnContextMenuShowEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnContextMenuShowEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15869,7 +17087,8 @@ inline void WriteToString(string* result, const Ark_OnScreenCaptureRequestEvent* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnScreenCaptureRequestEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnScreenCaptureRequestEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15886,7 +17105,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScreenCaptureRequestEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnScreenCaptureRequestEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15898,7 +17118,8 @@ inline void WriteToString(string* result, const Ark_OnPermissionRequestEvent* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPermissionRequestEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnPermissionRequestEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15915,7 +17136,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPermissionRequestEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnPermissionRequestEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15927,7 +17149,8 @@ inline void WriteToString(string* result, const Ark_OnInterceptRequestEvent* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnInterceptRequestEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnInterceptRequestEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15944,7 +17167,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnInterceptRequestEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnInterceptRequestEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15964,7 +17188,8 @@ inline void WriteToString(string* result, const Ark_OnHttpAuthRequestEvent* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnHttpAuthRequestEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnHttpAuthRequestEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -15981,7 +17206,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnHttpAuthRequestEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnHttpAuthRequestEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -15997,7 +17223,8 @@ inline void WriteToString(string* result, const Ark_OnScaleChangeEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnScaleChangeEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnScaleChangeEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16014,7 +17241,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScaleChangeEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnScaleChangeEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16034,7 +17262,8 @@ inline void WriteToString(string* result, const Ark_FullScreenEnterEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FullScreenEnterEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_FullScreenEnterEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16051,7 +17280,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FullScreenEnterEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_FullScreenEnterEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16063,7 +17293,8 @@ inline void WriteToString(string* result, const Ark_OnResourceLoadEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnResourceLoadEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnResourceLoadEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16080,11 +17311,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnResourceLoadEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnResourceLoadEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_callback_Function_fileSelector_CustomObject* value) { +inline void WriteToString(string* result, const Literal_Function_callback_CustomObject_fileSelector* value) { result->append("{"); // Ark_Function result->append(".callback="); @@ -16096,11 +17328,12 @@ inline void WriteToString(string* result, const Literal_callback_Function_fileSe result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_callback_Function_fileSelector_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Literal_Function_callback_CustomObject_fileSelector& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_callback_Function_fileSelector_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Literal_Function_callback_CustomObject_fileSelector* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -16113,7 +17346,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_callback_Function_fileSelector_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Function_callback_CustomObject_fileSelector& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16129,7 +17363,8 @@ inline void WriteToString(string* result, const Ark_OnShowFileSelectorEvent* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnShowFileSelectorEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnShowFileSelectorEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16146,11 +17381,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnShowFileSelectorEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnShowFileSelectorEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_handler_Function_error_CustomObject* value) { +inline void WriteToString(string* result, const Literal_Function_handler_CustomObject_error* value) { result->append("{"); // Ark_Function result->append(".handler="); @@ -16162,11 +17398,12 @@ inline void WriteToString(string* result, const Literal_handler_Function_error_C result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_handler_Function_error_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Literal_Function_handler_CustomObject_error& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_handler_Function_error_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Literal_Function_handler_CustomObject_error* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -16179,11 +17416,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_handler_Function_error_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Function_handler_CustomObject_error& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_data_Union_String_WebResourceRequest* value) { +inline void WriteToString(string* result, const Literal_Union_String_WebResourceRequest_data* value) { result->append("{"); // Union_String_WebResourceRequest result->append(".data="); @@ -16191,11 +17429,12 @@ inline void WriteToString(string* result, const Literal_data_Union_String_WebRes result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_data_Union_String_WebResourceRequest& value) { +inline Ark_RuntimeType runtimeType(const Literal_Union_String_WebResourceRequest_data& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_data_Union_String_WebResourceRequest* value) { +inline void WriteToString(string* result, const Opt_Literal_Union_String_WebResourceRequest_data* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -16208,7 +17447,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_data_Union_String_WebResourceRequest& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Union_String_WebResourceRequest_data& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16224,7 +17464,8 @@ inline void WriteToString(string* result, const Ark_OnRefreshAccessedHistoryEven result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnRefreshAccessedHistoryEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnRefreshAccessedHistoryEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16241,7 +17482,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnRefreshAccessedHistoryEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnRefreshAccessedHistoryEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16269,7 +17511,8 @@ inline void WriteToString(string* result, const Ark_OnDownloadStartEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnDownloadStartEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnDownloadStartEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16286,7 +17529,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnDownloadStartEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnDownloadStartEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16302,7 +17546,8 @@ inline void WriteToString(string* result, const Ark_OnHttpErrorReceiveEvent* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnHttpErrorReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnHttpErrorReceiveEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16319,7 +17564,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnHttpErrorReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnHttpErrorReceiveEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16335,7 +17581,8 @@ inline void WriteToString(string* result, const Ark_OnErrorReceiveEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnErrorReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnErrorReceiveEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16352,7 +17599,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnErrorReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnErrorReceiveEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16364,7 +17612,8 @@ inline void WriteToString(string* result, const Ark_OnConsoleEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnConsoleEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnConsoleEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16381,7 +17630,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnConsoleEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnConsoleEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16405,7 +17655,8 @@ inline void WriteToString(string* result, const Ark_OnPromptEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPromptEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnPromptEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16422,7 +17673,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPromptEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnPromptEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16442,7 +17694,8 @@ inline void WriteToString(string* result, const Ark_OnConfirmEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnConfirmEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnConfirmEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16459,7 +17712,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnConfirmEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnConfirmEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16479,7 +17733,8 @@ inline void WriteToString(string* result, const Ark_OnBeforeUnloadEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnBeforeUnloadEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnBeforeUnloadEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16496,7 +17751,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnBeforeUnloadEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnBeforeUnloadEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16516,7 +17772,8 @@ inline void WriteToString(string* result, const Ark_OnAlertEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnAlertEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnAlertEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16533,7 +17790,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnAlertEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnAlertEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16549,7 +17807,8 @@ inline void WriteToString(string* result, const Ark_OnGeolocationShowEvent* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnGeolocationShowEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnGeolocationShowEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16566,7 +17825,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnGeolocationShowEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnGeolocationShowEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16578,7 +17838,8 @@ inline void WriteToString(string* result, const Ark_OnTitleReceiveEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnTitleReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnTitleReceiveEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16595,7 +17856,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTitleReceiveEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnTitleReceiveEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16607,7 +17869,8 @@ inline void WriteToString(string* result, const Ark_OnProgressChangeEvent* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnProgressChangeEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnProgressChangeEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16624,7 +17887,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnProgressChangeEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnProgressChangeEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16636,7 +17900,8 @@ inline void WriteToString(string* result, const Ark_OnPageBeginEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPageBeginEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnPageBeginEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16653,7 +17918,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPageBeginEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnPageBeginEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16665,7 +17931,8 @@ inline void WriteToString(string* result, const Ark_OnPageEndEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OnPageEndEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_OnPageEndEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16682,11 +17949,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPageEndEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_OnPageEndEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_time_Number* value) { +inline void WriteToString(string* result, const Literal_Number_time* value) { result->append("{"); // Ark_Number result->append(".time="); @@ -16694,11 +17962,12 @@ inline void WriteToString(string* result, const Literal_time_Number* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_time_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_time& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_time_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_time* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -16711,11 +17980,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_time_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_time& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_duration_Number* value) { +inline void WriteToString(string* result, const Literal_Number_duration* value) { result->append("{"); // Ark_Number result->append(".duration="); @@ -16723,11 +17993,12 @@ inline void WriteToString(string* result, const Literal_duration_Number* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_duration_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_duration& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_duration_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_duration* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -16740,11 +18011,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_duration_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_duration& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_fullscreen_Boolean* value) { +inline void WriteToString(string* result, const Literal_Boolean_fullscreen* value) { result->append("{"); // Ark_Boolean result->append(".fullscreen="); @@ -16752,11 +18024,12 @@ inline void WriteToString(string* result, const Literal_fullscreen_Boolean* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_fullscreen_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Literal_Boolean_fullscreen& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_fullscreen_Boolean* value) { +inline void WriteToString(string* result, const Opt_Literal_Boolean_fullscreen* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -16769,7 +18042,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_fullscreen_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Boolean_fullscreen& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16789,7 +18063,8 @@ inline void WriteToString(string* result, const Ark_TimePickerResult* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TimePickerResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_TimePickerResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16806,7 +18081,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TimePickerResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_TimePickerResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16823,7 +18099,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MarqueeState& value) { +inline Ark_RuntimeType runtimeType(const Opt_MarqueeState& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16843,7 +18120,8 @@ inline void WriteToString(string* result, const Ark_TabsAnimationEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TabsAnimationEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_TabsAnimationEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16860,7 +18138,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TabsAnimationEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_TabsAnimationEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16880,7 +18159,8 @@ inline void WriteToString(string* result, const Ark_SwiperAnimationEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwiperAnimationEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_SwiperAnimationEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16897,7 +18177,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwiperAnimationEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwiperAnimationEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16914,7 +18195,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderChangeMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_SliderChangeMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16934,7 +18216,8 @@ inline void WriteToString(string* result, const Ark_DeleteValue* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DeleteValue& value) { +inline Ark_RuntimeType runtimeType(const Ark_DeleteValue& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16951,7 +18234,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DeleteValue& value) { +inline Ark_RuntimeType runtimeType(const Opt_DeleteValue& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -16967,7 +18251,8 @@ inline void WriteToString(string* result, const Ark_InsertValue* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_InsertValue& value) { +inline Ark_RuntimeType runtimeType(const Ark_InsertValue& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -16984,7 +18269,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_InsertValue& value) { +inline Ark_RuntimeType runtimeType(const Opt_InsertValue& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17000,7 +18286,8 @@ inline void WriteToString(string* result, const Ark_PreviewText* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PreviewText& value) { +inline Ark_RuntimeType runtimeType(const Ark_PreviewText& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17017,7 +18304,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PreviewText& value) { +inline Ark_RuntimeType runtimeType(const Opt_PreviewText& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17034,7 +18322,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SaveButtonOnClickResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_SaveButtonOnClickResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17046,7 +18335,8 @@ inline void WriteToString(string* result, const Ark_CopyEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CopyEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_CopyEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17063,7 +18353,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CopyEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_CopyEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17075,7 +18366,8 @@ inline void WriteToString(string* result, const Ark_CutEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CutEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_CutEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17092,7 +18384,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CutEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_CutEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17116,7 +18409,8 @@ inline void WriteToString(string* result, const Ark_RichEditorChangeValue* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorChangeValue& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorChangeValue& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17133,7 +18427,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorChangeValue& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorChangeValue& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17145,7 +18440,8 @@ inline void WriteToString(string* result, const Ark_SubmitEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SubmitEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_SubmitEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17162,7 +18458,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SubmitEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_SubmitEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17174,7 +18471,8 @@ inline void WriteToString(string* result, const Ark_PasteEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PasteEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_PasteEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17191,7 +18489,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PasteEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_PasteEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17217,7 +18516,8 @@ inline void WriteToString(string* result, const Union_RichEditorTextSpanResult_R result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -17238,7 +18538,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17262,7 +18563,8 @@ inline void WriteToString(string* result, const Ark_RichEditorDeleteValue* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorDeleteValue& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorDeleteValue& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17279,7 +18581,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorDeleteValue& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorDeleteValue& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17299,7 +18602,8 @@ inline void WriteToString(string* result, const Ark_RichEditorInsertValue* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorInsertValue& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorInsertValue& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17316,7 +18620,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorInsertValue& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorInsertValue& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17332,7 +18637,8 @@ inline void WriteToString(string* result, const Ark_RichEditorSelection* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorSelection& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorSelection& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17349,7 +18655,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorSelection& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorSelection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17366,11 +18673,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RefreshStatus& value) { +inline Ark_RuntimeType runtimeType(const Opt_RefreshStatus& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_errcode_Number_msg_String* value) { +inline void WriteToString(string* result, const Literal_Number_errcode_String_msg* value) { result->append("{"); // Ark_Number result->append(".errcode="); @@ -17382,11 +18690,12 @@ inline void WriteToString(string* result, const Literal_errcode_Number_msg_Strin result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_errcode_Number_msg_String& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_errcode_String_msg& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_errcode_Number_msg_String* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_errcode_String_msg* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -17399,7 +18708,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_errcode_Number_msg_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_errcode_String_msg& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17416,7 +18726,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PasteButtonOnClickResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_PasteButtonOnClickResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17433,7 +18744,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationOperation& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationOperation& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17461,7 +18773,8 @@ inline void WriteToString(string* result, const Ark_NavContentInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavContentInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavContentInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17478,7 +18791,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavContentInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavContentInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17495,7 +18809,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocationButtonOnClickResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocationButtonOnClickResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17515,7 +18830,8 @@ inline void WriteToString(string* result, const Ark_VisibleListContentInfo* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_VisibleListContentInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_VisibleListContentInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17532,7 +18848,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_VisibleListContentInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_VisibleListContentInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17576,7 +18893,8 @@ inline void WriteToString(string* result, const Ark_ImageLoadResult* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageLoadResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_ImageLoadResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17593,7 +18911,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageLoadResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageLoadResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17613,7 +18932,8 @@ inline void WriteToString(string* result, const Ark_ImageError* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageError& value) { +inline Ark_RuntimeType runtimeType(const Ark_ImageError& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17630,11 +18950,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageError& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageError& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number* value) { +inline void WriteToString(string* result, const Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY* value) { result->append("{"); // Ark_Number result->append(".width="); @@ -17674,11 +18995,12 @@ inline void WriteToString(string* result, const Literal_width_Number_height_Numb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -17691,7 +19013,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17707,7 +19030,8 @@ inline void WriteToString(string* result, const Ark_ItemDragInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ItemDragInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_ItemDragInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17724,7 +19048,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ItemDragInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_ItemDragInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17740,7 +19065,8 @@ inline void WriteToString(string* result, const Ark_FormCallbackInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FormCallbackInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_FormCallbackInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17757,7 +19083,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FormCallbackInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_FormCallbackInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17781,7 +19108,8 @@ inline void WriteToString(string* result, const Ark_HoverEventParam* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_HoverEventParam& value) { +inline Ark_RuntimeType runtimeType(const Ark_HoverEventParam& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17798,11 +19126,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HoverEventParam& value) { +inline Ark_RuntimeType runtimeType(const Opt_HoverEventParam& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_foldStatus_FoldStatus* value) { +inline void WriteToString(string* result, const Literal_FoldStatus_foldStatus* value) { result->append("{"); // Ark_FoldStatus result->append(".foldStatus="); @@ -17810,11 +19139,12 @@ inline void WriteToString(string* result, const Literal_foldStatus_FoldStatus* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_foldStatus_FoldStatus& value) { +inline Ark_RuntimeType runtimeType(const Literal_FoldStatus_foldStatus& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_foldStatus_FoldStatus* value) { +inline void WriteToString(string* result, const Opt_Literal_FoldStatus_foldStatus* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -17827,7 +19157,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_foldStatus_FoldStatus& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_FoldStatus_foldStatus& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17847,7 +19178,8 @@ inline void WriteToString(string* result, const Ark_DatePickerResult* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DatePickerResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_DatePickerResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17864,7 +19196,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DatePickerResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_DatePickerResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17881,7 +19214,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollState& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollState& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17916,7 +19250,8 @@ inline void WriteToString(string* result, const Array_GestureRecognizer* value, result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_GestureRecognizer& value) { +inline Ark_RuntimeType runtimeType(const Array_GestureRecognizer& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -17933,7 +19268,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_GestureRecognizer& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_GestureRecognizer& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17950,7 +19286,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureRecognizer& value) { +inline Ark_RuntimeType runtimeType(const Opt_GestureRecognizer& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -17986,7 +19323,8 @@ inline void WriteToString(string* result, const Ark_FingerInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FingerInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_FingerInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18003,7 +19341,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FingerInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_FingerInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18051,7 +19390,8 @@ inline void WriteToString(string* result, const Ark_BaseGestureEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BaseGestureEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_BaseGestureEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18068,7 +19408,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BaseGestureEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_BaseGestureEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18088,7 +19429,8 @@ inline void WriteToString(string* result, const Ark_GestureInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_GestureInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18105,7 +19447,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_GestureInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18122,7 +19465,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PreDragStatus& value) { +inline Ark_RuntimeType runtimeType(const Opt_PreDragStatus& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18138,7 +19482,8 @@ inline void WriteToString(string* result, const Ark_DragEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DragEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_DragEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18155,7 +19500,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DragEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_DragEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18199,7 +19545,8 @@ inline void WriteToString(string* result, const Ark_KeyEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_KeyEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_KeyEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18216,7 +19563,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_KeyEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_KeyEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18264,7 +19612,8 @@ inline void WriteToString(string* result, const Ark_TouchObject* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TouchObject& value) { +inline Ark_RuntimeType runtimeType(const Ark_TouchObject& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18281,7 +19630,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TouchObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_TouchObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18369,7 +19719,8 @@ inline void WriteToString(string* result, const Ark_MouseEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MouseEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_MouseEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18386,7 +19737,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MouseEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_MouseEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18458,7 +19810,8 @@ inline void WriteToString(string* result, const Ark_AccessibilityHoverEvent* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AccessibilityHoverEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_AccessibilityHoverEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18475,7 +19828,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AccessibilityHoverEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_AccessibilityHoverEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18523,7 +19877,8 @@ inline void WriteToString(string* result, const Ark_HoverEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_HoverEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_HoverEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18540,7 +19895,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HoverEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_HoverEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18620,7 +19976,8 @@ inline void WriteToString(string* result, const Ark_ClickEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ClickEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_ClickEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18637,7 +19994,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ClickEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_ClickEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18677,7 +20035,8 @@ inline void WriteToString(string* result, const Ark_TouchTestInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TouchTestInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_TouchTestInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18694,7 +20053,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TouchTestInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_TouchTestInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18729,7 +20089,8 @@ inline void WriteToString(string* result, const Array_TouchTestInfo* value, cons result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_TouchTestInfo& value) { +inline Ark_RuntimeType runtimeType(const Array_TouchTestInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18746,7 +20107,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_TouchTestInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_TouchTestInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18762,7 +20124,8 @@ inline void WriteToString(string* result, const Ark_CheckboxGroupResult* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupResult& value) { +inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupResult& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18779,7 +20142,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18807,7 +20171,8 @@ inline void WriteToString(string* result, const Ark_CalendarRequestedData* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CalendarRequestedData& value) { +inline Ark_RuntimeType runtimeType(const Ark_CalendarRequestedData& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18824,7 +20189,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CalendarRequestedData& value) { +inline Ark_RuntimeType runtimeType(const Opt_CalendarRequestedData& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18844,7 +20210,8 @@ inline void WriteToString(string* result, const Ark_CalendarSelectedDate* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CalendarSelectedDate& value) { +inline Ark_RuntimeType runtimeType(const Ark_CalendarSelectedDate& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18861,7 +20228,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CalendarSelectedDate& value) { +inline Ark_RuntimeType runtimeType(const Opt_CalendarSelectedDate& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18877,7 +20245,8 @@ inline void WriteToString(string* result, const Ark_LinearIndicatorStartOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorStartOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorStartOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18894,7 +20263,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorStartOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorStartOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18919,14 +20289,15 @@ inline void WriteToString(string* result, const Ark_SectionOptions* value) { result->append(", "); result->append(".rowsGap="); WriteToString(result, &value->rowsGap); - // Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length + // Union_Ark_Padding_Length result->append(", "); result->append(".margin="); WriteToString(result, &value->margin); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SectionOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SectionOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18943,7 +20314,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SectionOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SectionOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -18978,7 +20350,8 @@ inline void WriteToString(string* result, const Array_SectionOptions* value, con result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_SectionOptions& value) { +inline Ark_RuntimeType runtimeType(const Array_SectionOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -18995,7 +20368,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_SectionOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_SectionOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19007,7 +20381,8 @@ inline void WriteToString(string* result, const Ark_SurfaceRotationOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SurfaceRotationOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SurfaceRotationOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19024,7 +20399,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SurfaceRotationOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SurfaceRotationOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19048,7 +20424,8 @@ inline void WriteToString(string* result, const Ark_SurfaceRect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SurfaceRect& value) { +inline Ark_RuntimeType runtimeType(const Ark_SurfaceRect& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19065,11 +20442,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SurfaceRect& value) { +inline Ark_RuntimeType runtimeType(const Opt_SurfaceRect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_surfaceWidth_Number_surfaceHeight_Number* value) { +inline void WriteToString(string* result, const Literal_Number_surfaceWidth_surfaceHeight* value) { result->append("{"); // Ark_Number result->append(".surfaceWidth="); @@ -19081,11 +20459,12 @@ inline void WriteToString(string* result, const Literal_surfaceWidth_Number_surf result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_surfaceWidth_Number_surfaceHeight_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_surfaceWidth_surfaceHeight& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_surfaceWidth_Number_surfaceHeight_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_surfaceWidth_surfaceHeight* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19098,7 +20477,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_surfaceWidth_Number_surfaceHeight_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_surfaceWidth_surfaceHeight& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19110,7 +20490,8 @@ inline void WriteToString(string* result, const Ark_ScreenCaptureConfig* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScreenCaptureConfig& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScreenCaptureConfig& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19127,7 +20508,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScreenCaptureConfig& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScreenCaptureConfig& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19163,7 +20545,8 @@ inline void WriteToString(string* result, const Union_String_Number_Resource_Arr result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Number_Resource_ArrayBuffer& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Number_Resource_ArrayBuffer& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -19186,7 +20569,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Resource_ArrayBuffer& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Resource_ArrayBuffer& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19203,11 +20587,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MessageLevel& value) { +inline Ark_RuntimeType runtimeType(const Opt_MessageLevel& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_object_CustomObject_name_String_methodList_Array_String* value) { +inline void WriteToString(string* result, const Literal_CustomObject_object_String_name_Array_String_methodList* value) { result->append("{"); // Ark_CustomObject result->append(".object="); @@ -19223,11 +20608,12 @@ inline void WriteToString(string* result, const Literal_object_CustomObject_name result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_object_CustomObject_name_String_methodList_Array_String& value) { +inline Ark_RuntimeType runtimeType(const Literal_CustomObject_object_String_name_Array_String_methodList& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_object_CustomObject_name_String_methodList_Array_String* value) { +inline void WriteToString(string* result, const Opt_Literal_CustomObject_object_String_name_Array_String_methodList* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19240,7 +20626,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_object_CustomObject_name_String_methodList_Array_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_CustomObject_object_String_name_Array_String_methodList& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19256,7 +20643,8 @@ inline void WriteToString(string* result, const Ark_Header* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Header& value) { +inline Ark_RuntimeType runtimeType(const Ark_Header& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19273,11 +20661,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Header& value) { +inline Ark_RuntimeType runtimeType(const Opt_Header& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_url_Union_String_Resource_headers_Opt_Array_Header* value) { +inline void WriteToString(string* result, const Literal_Union_String_Resource_url_Opt_Array_Header_headers* value) { result->append("{"); // Union_String_Resource result->append(".url="); @@ -19289,11 +20678,12 @@ inline void WriteToString(string* result, const Literal_url_Union_String_Resourc result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_url_Union_String_Resource_headers_Opt_Array_Header& value) { +inline Ark_RuntimeType runtimeType(const Literal_Union_String_Resource_url_Opt_Array_Header_headers& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_url_Union_String_Resource_headers_Opt_Array_Header* value) { +inline void WriteToString(string* result, const Opt_Literal_Union_String_Resource_url_Opt_Array_Header_headers* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19306,11 +20696,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_url_Union_String_Resource_headers_Opt_Array_Header& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Union_String_Resource_url_Opt_Array_Header_headers& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String* value) { +inline void WriteToString(string* result, const Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl* value) { result->append("{"); // Ark_String result->append(".data="); @@ -19334,11 +20725,12 @@ inline void WriteToString(string* result, const Literal_data_String_mimeType_Str result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String& value) { +inline Ark_RuntimeType runtimeType(const Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String* value) { +inline void WriteToString(string* result, const Opt_Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19351,11 +20743,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_script_String_callback_Opt_Function* value) { +inline void WriteToString(string* result, const Literal_String_script_Opt_Function_callback* value) { result->append("{"); // Ark_String result->append(".script="); @@ -19367,11 +20760,12 @@ inline void WriteToString(string* result, const Literal_script_String_callback_O result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_script_String_callback_Opt_Function& value) { +inline Ark_RuntimeType runtimeType(const Literal_String_script_Opt_Function_callback& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_script_String_callback_Opt_Function* value) { +inline void WriteToString(string* result, const Opt_Literal_String_script_Opt_Function_callback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19384,7 +20778,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_script_String_callback_Opt_Function& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_script_Opt_Function_callback& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19401,7 +20796,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SeekMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_SeekMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19418,14 +20814,15 @@ inline void WriteToString(string* result, const Ark_SpanStyle* value) { result->append(", "); result->append(".styledKey="); WriteToString(result, value->styledKey); - // Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan + // Ark_StyledStringValue result->append(", "); result->append(".styledValue="); WriteToString(result, &value->styledValue); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SpanStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_SpanStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19442,7 +20839,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SpanStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_SpanStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19458,7 +20856,8 @@ inline void WriteToString(string* result, const Ark_StyledStringChangedListener* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_StyledStringChangedListener& value) { +inline Ark_RuntimeType runtimeType(const Ark_StyledStringChangedListener& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19475,7 +20874,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StyledStringChangedListener& value) { +inline Ark_RuntimeType runtimeType(const Opt_StyledStringChangedListener& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19499,7 +20899,8 @@ inline void WriteToString(string* result, const Ark_CustomSpanDrawInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomSpanDrawInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_CustomSpanDrawInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19516,7 +20917,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomSpanDrawInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_CustomSpanDrawInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19528,7 +20930,8 @@ inline void WriteToString(string* result, const Ark_CustomSpanMeasureInfo* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomSpanMeasureInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_CustomSpanMeasureInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19545,7 +20948,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomSpanMeasureInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_CustomSpanMeasureInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19562,14 +20966,15 @@ inline void WriteToString(string* result, const Ark_StyleOptions* value) { result->append(", "); result->append(".styledKey="); WriteToString(result, value->styledKey); - // Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan + // Ark_StyledStringValue result->append(", "); result->append(".styledValue="); WriteToString(result, &value->styledValue); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_StyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_StyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19586,7 +20991,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_StyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19621,7 +21027,8 @@ inline void WriteToString(string* result, const Array_StyleOptions* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_StyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Array_StyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19638,7 +21045,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_StyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_StyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19669,7 +21077,8 @@ inline void WriteToString(string* result, const Union_String_ImageAttachment_Cus result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_ImageAttachment_CustomSpan& value) { +inline Ark_RuntimeType runtimeType(const Union_String_ImageAttachment_CustomSpan& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -19691,7 +21100,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_ImageAttachment_CustomSpan& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_ImageAttachment_CustomSpan& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19703,7 +21113,8 @@ inline void WriteToString(string* result, const Ark_SelectionOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SelectionOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SelectionOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19720,7 +21131,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SelectionOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SelectionOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19737,7 +21149,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StyledString& value) { +inline Ark_RuntimeType runtimeType(const Opt_StyledString& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19757,7 +21170,8 @@ inline void WriteToString(string* result, const Ark_RichEditorParagraphStyleOpti result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19774,7 +21188,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19805,7 +21220,8 @@ inline void WriteToString(string* result, const Union_RichEditorUpdateTextSpanSt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -19827,7 +21243,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19843,7 +21260,8 @@ inline void WriteToString(string* result, const Ark_RichEditorSymbolSpanOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorSymbolSpanOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorSymbolSpanOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19860,7 +21278,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorSymbolSpanOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorSymbolSpanOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19872,7 +21291,8 @@ inline void WriteToString(string* result, const Ark_RichEditorBuilderSpanOptions result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorBuilderSpanOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorBuilderSpanOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19889,7 +21309,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorBuilderSpanOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorBuilderSpanOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19909,7 +21330,8 @@ inline void WriteToString(string* result, const Ark_RichEditorImageSpanOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -19926,11 +21348,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_CustomObject_Union_String_Resource* value) { +inline void WriteToString(string* result, const Union_CustomObject_Ark_ResourceStr* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -19944,7 +21367,7 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_String_ result->append(".value0="); WriteToString(result, &value->value0); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -19952,15 +21375,16 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CustomObject_Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_CustomObject_Ark_ResourceStr& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_CustomObject_Union_String_Resource: " + std::to_string(value.selector); + default: throw "Bad selector in Union_CustomObject_Ark_ResourceStr: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_CustomObject_Union_String_Resource* value) { +inline void WriteToString(string* result, const Opt_Union_CustomObject_ResourceStr* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19973,7 +21397,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_ResourceStr& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -19997,7 +21422,8 @@ inline void WriteToString(string* result, const Ark_RichEditorTextSpanOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20014,16 +21440,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_TextMenuItem* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".content="); WriteToString(result, &value->content); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".icon="); WriteToString(result, &value->icon); @@ -20034,7 +21461,8 @@ inline void WriteToString(string* result, const Ark_TextMenuItem* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextMenuItem& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextMenuItem& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20051,7 +21479,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextMenuItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextMenuItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20086,7 +21515,8 @@ inline void WriteToString(string* result, const Array_TextMenuItem* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_TextMenuItem& value) { +inline Ark_RuntimeType runtimeType(const Array_TextMenuItem& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20103,7 +21533,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_TextMenuItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_TextMenuItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20120,7 +21551,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PatternLockChallengeResult& value) { +inline Ark_RuntimeType runtimeType(const Opt_PatternLockChallengeResult& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20140,7 +21572,8 @@ inline void WriteToString(string* result, const Ark_NavigationInterception* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationInterception& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavigationInterception& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20157,7 +21590,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationInterception& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationInterception& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20173,7 +21607,8 @@ inline void WriteToString(string* result, const Ark_NavigationOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavigationOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20190,7 +21625,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20210,7 +21646,8 @@ inline void WriteToString(string* result, const Ark_NavPathInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavPathInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavPathInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20227,7 +21664,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavPathInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavPathInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20239,7 +21677,8 @@ inline void WriteToString(string* result, const Ark_ScrollToIndexOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollToIndexOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScrollToIndexOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20256,7 +21695,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollToIndexOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollToIndexOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20273,11 +21713,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_next_Boolean_direction_Opt_Axis* value) { +inline void WriteToString(string* result, const Literal_Boolean_next_Opt_Axis_direction* value) { result->append("{"); // Ark_Boolean result->append(".next="); @@ -20289,11 +21730,12 @@ inline void WriteToString(string* result, const Literal_next_Boolean_direction_O result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_next_Boolean_direction_Opt_Axis& value) { +inline Ark_RuntimeType runtimeType(const Literal_Boolean_next_Opt_Axis_direction& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_next_Boolean_direction_Opt_Axis* value) { +inline void WriteToString(string* result, const Opt_Literal_Boolean_next_Opt_Axis_direction* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -20306,7 +21748,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_next_Boolean_direction_Opt_Axis& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Boolean_next_Opt_Axis_direction& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20322,7 +21765,8 @@ inline void WriteToString(string* result, const Ark_ScrollPageOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollPageOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScrollPageOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20339,7 +21783,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollPageOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollPageOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20351,7 +21796,8 @@ inline void WriteToString(string* result, const Ark_ScrollEdgeOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollEdgeOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScrollEdgeOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20368,7 +21814,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollEdgeOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollEdgeOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20385,11 +21832,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Edge& value) { +inline Ark_RuntimeType runtimeType(const Opt_Edge& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean* value) { +inline void WriteToString(string* result, const Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation* value) { result->append("{"); // Union_Number_String result->append(".xOffset="); @@ -20405,11 +21853,12 @@ inline void WriteToString(string* result, const Literal_xOffset_Union_Number_Str result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean* value) { +inline void WriteToString(string* result, const Opt_Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -20422,7 +21871,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20439,7 +21889,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Matrix2D& value) { +inline Ark_RuntimeType runtimeType(const Opt_Matrix2D& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20459,7 +21910,8 @@ inline void WriteToString(string* result, const Ark_ImageData* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageData& value) { +inline Ark_RuntimeType runtimeType(const Ark_ImageData& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20476,7 +21928,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageData& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageData& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20502,7 +21955,8 @@ inline void WriteToString(string* result, const Union_String_Ark_Undefined* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Ark_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Ark_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -20523,7 +21977,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20540,11 +21995,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Path2D& value) { +inline Ark_RuntimeType runtimeType(const Opt_Path2D& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_String_String* value) { +inline void WriteToString(string* result, const Ark_CanvasFillRule* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -20566,15 +22022,16 @@ inline void WriteToString(string* result, const Union_String_String* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_String& value) { +inline Ark_RuntimeType runtimeType(const Ark_CanvasFillRule& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_String_String: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_CanvasFillRule: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_String_String* value) { +inline void WriteToString(string* result, const Opt_CanvasFillRule* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -20587,7 +22044,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_CanvasFillRule& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20613,7 +22071,8 @@ inline void WriteToString(string* result, const Union_ImageBitmap_CustomObject* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_ImageBitmap_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_ImageBitmap_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -20634,7 +22093,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ImageBitmap_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ImageBitmap_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20646,7 +22106,8 @@ inline void WriteToString(string* result, const Ark_RenderingContextSettings* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RenderingContextSettings& value) { +inline Ark_RuntimeType runtimeType(const Ark_RenderingContextSettings& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20663,7 +22124,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RenderingContextSettings& value) { +inline Ark_RuntimeType runtimeType(const Opt_RenderingContextSettings& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20672,7 +22134,8 @@ inline void WriteToString(string* result, const Ark_UIGestureEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_UIGestureEvent& value) { +inline Ark_RuntimeType runtimeType(const Ark_UIGestureEvent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20689,11 +22152,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_UIGestureEvent& value) { +inline Ark_RuntimeType runtimeType(const Opt_UIGestureEvent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number* value) { +inline void WriteToString(string* result, const Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction* value) { result->append("{"); // Ark_Number result->append(".fingers="); @@ -20709,11 +22173,12 @@ inline void WriteToString(string* result, const Literal_fingers_Opt_Number_direc result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -20726,7 +22191,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20743,7 +22209,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorController& value) { +inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20763,7 +22230,8 @@ inline void WriteToString(string* result, const Ark_UIExtensionOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_UIExtensionOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_UIExtensionOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20780,13 +22248,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_UIExtensionOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_UIExtensionOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_WaterFlowOptions* value) { result->append("{"); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(".footer="); WriteToString(result, &value->footer); // Ark_Scroller @@ -20804,7 +22273,8 @@ inline void WriteToString(string* result, const Ark_WaterFlowOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WaterFlowOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_WaterFlowOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20821,7 +22291,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WaterFlowOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_WaterFlowOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20845,7 +22316,8 @@ inline void WriteToString(string* result, const Ark_WindowAnimationTarget* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WindowAnimationTarget& value) { +inline Ark_RuntimeType runtimeType(const Ark_WindowAnimationTarget& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20862,7 +22334,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WindowAnimationTarget& value) { +inline Ark_RuntimeType runtimeType(const Opt_WindowAnimationTarget& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20888,7 +22361,8 @@ inline void WriteToString(string* result, const Union_DividerStyle_Ark_Undefined result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_DividerStyle_Ark_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_DividerStyle_Ark_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -20909,7 +22383,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_DividerStyle_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_DividerStyle_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20926,7 +22401,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SideBarPosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_SideBarPosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20947,14 +22423,15 @@ inline void WriteToString(string* result, const Ark_ButtonStyle* value) { result->append(", "); result->append(".height="); WriteToString(result, &value->height); - // Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource + // Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching result->append(", "); result->append(".icons="); WriteToString(result, &value->icons); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ButtonStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_ButtonStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -20971,7 +22448,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ButtonStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_ButtonStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -20988,7 +22466,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SideBarContainerType& value) { +inline Ark_RuntimeType runtimeType(const Opt_SideBarContainerType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21008,7 +22487,8 @@ inline void WriteToString(string* result, const Ark_XComponentOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_XComponentOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_XComponentOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21025,11 +22505,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_XComponentOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_XComponentOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController* value) { +inline void WriteToString(string* result, const Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller* value) { result->append("{"); // Ark_String result->append(".id="); @@ -21049,11 +22530,12 @@ inline void WriteToString(string* result, const Literal_id_String_type_XComponen result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController& value) { +inline Ark_RuntimeType runtimeType(const Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController* value) { +inline void WriteToString(string* result, const Opt_Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -21066,11 +22548,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController* value) { +inline void WriteToString(string* result, const Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller* value) { result->append("{"); // Ark_String result->append(".id="); @@ -21090,11 +22573,12 @@ inline void WriteToString(string* result, const Literal_id_String_type_String_li result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController& value) { +inline Ark_RuntimeType runtimeType(const Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController* value) { +inline void WriteToString(string* result, const Opt_Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -21107,7 +22591,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21124,16 +22609,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardAvoidMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardAvoidMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_ExpandedMenuItemOptions* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".content="); WriteToString(result, &value->content); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".startIcon="); WriteToString(result, &value->startIcon); @@ -21144,7 +22630,8 @@ inline void WriteToString(string* result, const Ark_ExpandedMenuItemOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ExpandedMenuItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ExpandedMenuItemOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21161,7 +22648,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ExpandedMenuItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ExpandedMenuItemOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21196,7 +22684,8 @@ inline void WriteToString(string* result, const Array_ExpandedMenuItemOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_ExpandedMenuItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Array_ExpandedMenuItemOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21213,7 +22702,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_ExpandedMenuItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_ExpandedMenuItemOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21229,7 +22719,8 @@ inline void WriteToString(string* result, const Ark_NativeMediaPlayerConfig* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeMediaPlayerConfig& value) { +inline Ark_RuntimeType runtimeType(const Ark_NativeMediaPlayerConfig& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21246,7 +22737,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeMediaPlayerConfig& value) { +inline Ark_RuntimeType runtimeType(const Opt_NativeMediaPlayerConfig& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21263,7 +22755,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebLayoutMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebLayoutMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21298,7 +22791,8 @@ inline void WriteToString(string* result, const Array_ScriptItem* value, const s result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_ScriptItem& value) { +inline Ark_RuntimeType runtimeType(const Array_ScriptItem& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21315,7 +22809,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_ScriptItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_ScriptItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21331,7 +22826,8 @@ inline void WriteToString(string* result, const Ark_ScriptItem* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScriptItem& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScriptItem& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21348,7 +22844,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScriptItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScriptItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21365,7 +22862,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OverScrollMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_OverScrollMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21381,7 +22879,8 @@ inline void WriteToString(string* result, const Ark_WebMediaOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebMediaOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_WebMediaOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21398,7 +22897,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebMediaOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebMediaOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21415,7 +22915,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebDarkMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebDarkMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21432,7 +22933,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CacheMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_CacheMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21464,7 +22966,8 @@ inline void WriteToString(string* result, const Ark_JavaScriptProxy* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_JavaScriptProxy& value) { +inline Ark_RuntimeType runtimeType(const Ark_JavaScriptProxy& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21481,7 +22984,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_JavaScriptProxy& value) { +inline Ark_RuntimeType runtimeType(const Opt_JavaScriptProxy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21498,7 +23002,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MixedMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_MixedMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21526,7 +23031,8 @@ inline void WriteToString(string* result, const Ark_WebOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_WebOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21543,7 +23049,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_WebOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21571,7 +23078,8 @@ inline void WriteToString(string* result, const Ark_VideoOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_VideoOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_VideoOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21588,7 +23096,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_VideoOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_VideoOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21597,11 +23106,11 @@ inline void WriteToString(string* result, const Ark_SwitchStyle* value) { // Union_Number_Resource result->append(".pointRadius="); WriteToString(result, &value->pointRadius); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".unselectedColor="); WriteToString(result, &value->unselectedColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".pointColor="); WriteToString(result, &value->pointColor); @@ -21612,7 +23121,8 @@ inline void WriteToString(string* result, const Ark_SwitchStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwitchStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_SwitchStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21629,11 +23139,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwitchStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwitchStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_type_ToggleType_isOn_Opt_Boolean* value) { +inline void WriteToString(string* result, const Literal_ToggleType_type_Opt_Boolean_isOn* value) { result->append("{"); // Ark_ToggleType result->append(".type="); @@ -21645,11 +23156,12 @@ inline void WriteToString(string* result, const Literal_type_ToggleType_isOn_Opt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_type_ToggleType_isOn_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Literal_ToggleType_type_Opt_Boolean_isOn& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_type_ToggleType_isOn_Opt_Boolean* value) { +inline void WriteToString(string* result, const Opt_Literal_ToggleType_type_Opt_Boolean_isOn* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -21662,7 +23174,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_type_ToggleType_isOn_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_ToggleType_type_Opt_Boolean_isOn& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21678,7 +23191,8 @@ inline void WriteToString(string* result, const Ark_TimePickerOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TimePickerOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_TimePickerOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21695,7 +23209,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TimePickerOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_TimePickerOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21715,7 +23230,8 @@ inline void WriteToString(string* result, const Ark_TextTimerOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextTimerOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextTimerOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21732,7 +23248,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextTimerOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextTimerOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21758,7 +23275,8 @@ inline void WriteToString(string* result, const Union_DividerOptions_Ark_Undefin result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_DividerOptions_Ark_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_DividerOptions_Ark_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -21779,7 +23297,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_DividerOptions_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_DividerOptions_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21795,7 +23314,8 @@ inline void WriteToString(string* result, const Ark_TextCascadePickerRangeConten result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextCascadePickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextCascadePickerRangeContent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21812,7 +23332,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextCascadePickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextCascadePickerRangeContent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21828,7 +23349,8 @@ inline void WriteToString(string* result, const Ark_TextPickerRangeContent* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextPickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextPickerRangeContent& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21845,7 +23367,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextPickerRangeContent& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextPickerRangeContent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -21865,7 +23388,8 @@ inline void WriteToString(string* result, const Ark_TextPickerOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextPickerOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextPickerOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -21882,11 +23406,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextPickerOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextPickerOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions* value) { +inline void WriteToString(string* result, const Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon* value) { result->append("{"); // Ark_CancelButtonStyle result->append(".style="); @@ -21898,11 +23423,12 @@ inline void WriteToString(string* result, const Literal_style_Opt_CancelButtonSt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -21915,11 +23441,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceColor_UnderlineColor_Undefined* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -21928,7 +23455,7 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append(".selector="); WriteToString(result, value->selector); } - // Union_Color_Number_String_Resource + // Ark_ResourceColor if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -21946,16 +23473,17 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceColor_UnderlineColor_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceColor_UnderlineColor_Undefined: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceColor_UnderlineColor_Undefined* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -21968,11 +23496,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_UnderlineColor_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_String_Resource_Undefined* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceStr_Undefined* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -21981,7 +23510,7 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Unde result->append(".selector="); WriteToString(result, value->selector); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -21994,15 +23523,16 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Unde result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_String_Resource_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceStr_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Union_String_Resource_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceStr_Undefined: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_String_Resource_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceStr_Undefined* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -22015,7 +23545,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_String_Resource_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22031,7 +23562,8 @@ inline void WriteToString(string* result, const Ark_PasswordIcon* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PasswordIcon& value) { +inline Ark_RuntimeType runtimeType(const Ark_PasswordIcon& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -22048,7 +23580,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PasswordIcon& value) { +inline Ark_RuntimeType runtimeType(const Opt_PasswordIcon& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22074,7 +23607,8 @@ inline void WriteToString(string* result, const Union_TextInputStyle_TextContent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_TextInputStyle_TextContentStyle& value) { +inline Ark_RuntimeType runtimeType(const Union_TextInputStyle_TextContentStyle& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -22095,7 +23629,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_TextInputStyle_TextContentStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_TextInputStyle_TextContentStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22112,16 +23647,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_InputType& value) { +inline Ark_RuntimeType runtimeType(const Opt_InputType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_TextInputOptions* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".placeholder="); WriteToString(result, &value->placeholder); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".text="); WriteToString(result, &value->text); @@ -22132,7 +23668,8 @@ inline void WriteToString(string* result, const Ark_TextInputOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextInputOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextInputOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -22149,11 +23686,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextInputOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextInputOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController* value) { +inline void WriteToString(string* result, const Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller* value) { result->append("{"); // Ark_Number result->append(".timeZoneOffset="); @@ -22165,11 +23703,12 @@ inline void WriteToString(string* result, const Literal_timeZoneOffset_Opt_Numbe result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -22182,7 +23721,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22199,7 +23739,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ContentType& value) { +inline Ark_RuntimeType runtimeType(const Opt_ContentType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22216,7 +23757,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextAreaType& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextAreaType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22232,7 +23774,8 @@ inline void WriteToString(string* result, const Ark_InputCounterOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_InputCounterOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_InputCounterOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -22249,16 +23792,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_InputCounterOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_InputCounterOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_TextAreaOptions* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".placeholder="); WriteToString(result, &value->placeholder); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".text="); WriteToString(result, &value->text); @@ -22269,7 +23813,8 @@ inline void WriteToString(string* result, const Ark_TextAreaOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextAreaOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextAreaOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -22286,7 +23831,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextAreaOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextAreaOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22303,7 +23849,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextSelectableMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextSelectableMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22320,7 +23867,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextResponseType& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextResponseType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22337,7 +23885,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextSpanType& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextSpanType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22354,11 +23903,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EllipsisMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_EllipsisMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_overflow_TextOverflow* value) { +inline void WriteToString(string* result, const Literal_TextOverflow_overflow* value) { result->append("{"); // Ark_TextOverflow result->append(".overflow="); @@ -22366,11 +23916,12 @@ inline void WriteToString(string* result, const Literal_overflow_TextOverflow* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_overflow_TextOverflow& value) { +inline Ark_RuntimeType runtimeType(const Literal_TextOverflow_overflow& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_overflow_TextOverflow* value) { +inline void WriteToString(string* result, const Opt_Literal_TextOverflow_overflow* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -22383,7 +23934,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_overflow_TextOverflow& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_TextOverflow_overflow& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22395,7 +23947,8 @@ inline void WriteToString(string* result, const Ark_TextOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -22412,7 +23965,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22438,7 +23992,8 @@ inline void WriteToString(string* result, const Union_SubTabBarStyle_BottomTabBa result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_SubTabBarStyle_BottomTabBarStyle& value) { +inline Ark_RuntimeType runtimeType(const Union_SubTabBarStyle_BottomTabBarStyle& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -22459,11 +24014,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SubTabBarStyle_BottomTabBarStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_SubTabBarStyle_BottomTabBarStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource* value) { +inline void WriteToString(string* result, const Union_String_Resource_Ark_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -22482,12 +24038,12 @@ inline void WriteToString(string* result, const Union_String_Resource_Union_Func result->append(".value1="); WriteToString(result, &value->value1); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 2) { result->append(".value2="); WriteToString(result, &value->value2); } - // Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource + // Literal_Opt_Union_String_Resource_icon_text if (value->selector == 3) { result->append(".value3="); WriteToString(result, &value->value3); @@ -22495,17 +24051,18 @@ inline void WriteToString(string* result, const Union_String_Resource_Union_Func result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Resource_Ark_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); case 3: return runtimeType(value.value3); - default: throw "Bad selector in Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource: " + std::to_string(value.selector); + default: throw "Bad selector in Union_String_Resource_Ark_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource* value) { +inline void WriteToString(string* result, const Opt_Union_String_Resource_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -22518,7 +24075,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22546,7 +24104,8 @@ inline void WriteToString(string* result, const Ark_BarGridColumnOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BarGridColumnOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_BarGridColumnOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -22563,7 +24122,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BarGridColumnOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_BarGridColumnOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22579,7 +24139,8 @@ inline void WriteToString(string* result, const Ark_ScrollableBarModeOptions* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollableBarModeOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScrollableBarModeOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -22596,7 +24157,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollableBarModeOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollableBarModeOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22613,11 +24175,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BarMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_BarMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController* value) { +inline void WriteToString(string* result, const Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller* value) { result->append("{"); // Ark_BarPosition result->append(".barPosition="); @@ -22633,11 +24196,12 @@ inline void WriteToString(string* result, const Literal_barPosition_Opt_BarPosit result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -22650,7 +24214,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22659,7 +24224,8 @@ inline void WriteToString(string* result, const Ark_SymbolEffect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SymbolEffect& value) { +inline Ark_RuntimeType runtimeType(const Ark_SymbolEffect& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -22676,7 +24242,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SymbolEffect& value) { +inline Ark_RuntimeType runtimeType(const Opt_SymbolEffect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22692,7 +24259,8 @@ inline void WriteToString(string* result, const Ark_SwiperContentAnimatedTransit result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwiperContentAnimatedTransition& value) { +inline Ark_RuntimeType runtimeType(const Ark_SwiperContentAnimatedTransition& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -22709,7 +24277,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwiperContentAnimatedTransition& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwiperContentAnimatedTransition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22726,11 +24295,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwiperNestedScrollMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwiperNestedScrollMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Number_String_Literal_minSize_Union_String_Number* value) { +inline void WriteToString(string* result, const Union_Number_String_Ark_SwiperAutoFill* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -22749,7 +24319,7 @@ inline void WriteToString(string* result, const Union_Number_String_Literal_minS result->append(".value1="); WriteToString(result, &value->value1); } - // Literal_minSize_Union_String_Number + // Ark_SwiperAutoFill if (value->selector == 2) { result->append(".value2="); WriteToString(result, &value->value2); @@ -22757,16 +24327,17 @@ inline void WriteToString(string* result, const Union_Number_String_Literal_minS result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_String_Literal_minSize_Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_String_Ark_SwiperAutoFill& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Number_String_Literal_minSize_Union_String_Number: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Number_String_Ark_SwiperAutoFill: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Number_String_Literal_minSize_Union_String_Number* value) { +inline void WriteToString(string* result, const Opt_Union_Number_String_SwiperAutoFill* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -22779,7 +24350,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_Literal_minSize_Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_SwiperAutoFill& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22796,7 +24368,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwiperDisplayMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwiperDisplayMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22822,7 +24395,8 @@ inline void WriteToString(string* result, const Union_ArrowStyle_Boolean* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_ArrowStyle_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Union_ArrowStyle_Boolean& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -22843,7 +24417,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ArrowStyle_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ArrowStyle_Boolean& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22874,7 +24449,8 @@ inline void WriteToString(string* result, const Union_DotIndicator_DigitIndicato result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_DotIndicator_DigitIndicator_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Union_DotIndicator_DigitIndicator_Boolean& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -22896,7 +24472,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator_Boolean& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22913,7 +24490,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwiperController& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwiperController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -22930,11 +24508,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ItemState& value) { +inline Ark_RuntimeType runtimeType(const Opt_ItemState& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_index_Opt_Number* value) { +inline void WriteToString(string* result, const Literal_Opt_Number_index* value) { result->append("{"); // Ark_Number result->append(".index="); @@ -22942,11 +24521,12 @@ inline void WriteToString(string* result, const Literal_index_Opt_Number* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_index_Opt_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Number_index& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_index_Opt_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Number_index* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -22959,11 +24539,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_index_Opt_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Number_index& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_alignContent_Opt_Alignment* value) { +inline void WriteToString(string* result, const Literal_Opt_Alignment_alignContent* value) { result->append("{"); // Ark_Alignment result->append(".alignContent="); @@ -22971,11 +24552,12 @@ inline void WriteToString(string* result, const Literal_alignContent_Opt_Alignme result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_alignContent_Opt_Alignment& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Alignment_alignContent& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_alignContent_Opt_Alignment* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Alignment_alignContent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -22988,7 +24570,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_alignContent_Opt_Alignment& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Alignment_alignContent& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23005,7 +24588,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextCase& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextCase& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23021,7 +24605,8 @@ inline void WriteToString(string* result, const Ark_SlideRange* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SlideRange& value) { +inline Ark_RuntimeType runtimeType(const Ark_SlideRange& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23038,7 +24623,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SlideRange& value) { +inline Ark_RuntimeType runtimeType(const Opt_SlideRange& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23055,7 +24641,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderInteraction& value) { +inline Ark_RuntimeType runtimeType(const Opt_SliderInteraction& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23064,7 +24651,7 @@ inline void WriteToString(string* result, const Ark_SliderBlockStyle* value) { // Ark_SliderBlockType result->append(".type="); WriteToString(result, value->type); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".image="); WriteToString(result, &value->image); @@ -23075,7 +24662,8 @@ inline void WriteToString(string* result, const Ark_SliderBlockStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SliderBlockStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_SliderBlockStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23092,7 +24680,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderBlockStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_SliderBlockStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23128,7 +24717,8 @@ inline void WriteToString(string* result, const Ark_SliderOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SliderOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SliderOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23145,11 +24735,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SliderOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String* value) { +inline void WriteToString(string* result, const Literal_Opt_Union_Number_String_x_y_width_height* value) { result->append("{"); // Union_Number_String result->append(".x="); @@ -23169,11 +24760,12 @@ inline void WriteToString(string* result, const Literal_x_Opt_Union_Number_Strin result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Union_Number_String_x_y_width_height& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Union_Number_String_x_y_width_height* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -23186,7 +24778,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Union_Number_String_x_y_width_height& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23212,7 +24805,8 @@ inline void WriteToString(string* result, const Union_Opt_DividerOptions_Ark_Und result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Opt_DividerOptions_Ark_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Opt_DividerOptions_Ark_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -23233,7 +24827,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Opt_DividerOptions_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Opt_DividerOptions_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23259,7 +24854,8 @@ inline void WriteToString(string* result, const Union_Length_OptionWidthMode* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_OptionWidthMode& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_OptionWidthMode& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -23280,7 +24876,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_OptionWidthMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_OptionWidthMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23297,7 +24894,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuAlignType& value) { +inline Ark_RuntimeType runtimeType(const Opt_MenuAlignType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23314,16 +24912,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ArrowPosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_ArrowPosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_SelectOption* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".value="); WriteToString(result, &value->value); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".icon="); WriteToString(result, &value->icon); @@ -23334,7 +24933,8 @@ inline void WriteToString(string* result, const Ark_SelectOption* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SelectOption& value) { +inline Ark_RuntimeType runtimeType(const Ark_SelectOption& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23351,7 +24951,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SelectOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_SelectOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23386,7 +24987,8 @@ inline void WriteToString(string* result, const Array_SelectOption* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_SelectOption& value) { +inline Ark_RuntimeType runtimeType(const Array_SelectOption& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23403,7 +25005,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_SelectOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_SelectOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23420,7 +25023,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SearchType& value) { +inline Ark_RuntimeType runtimeType(const Opt_SearchType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23429,7 +25033,7 @@ inline void WriteToString(string* result, const Ark_TextDecorationOptions* value // Ark_TextDecorationType result->append(".type="); WriteToString(result, value->type); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); @@ -23440,7 +25044,8 @@ inline void WriteToString(string* result, const Ark_TextDecorationOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextDecorationOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextDecorationOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23457,7 +25062,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDecorationOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextDecorationOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23466,14 +25072,15 @@ inline void WriteToString(string* result, const Ark_CaretStyle* value) { // Ark_Length result->append(".width="); WriteToString(result, &value->width); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CaretStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_CaretStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23490,7 +25097,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CaretStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_CaretStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23516,7 +25124,8 @@ inline void WriteToString(string* result, const Union_CancelButtonOptions_Cancel result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CancelButtonOptions_CancelButtonSymbolOptions& value) { +inline Ark_RuntimeType runtimeType(const Union_CancelButtonOptions_CancelButtonSymbolOptions& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -23537,7 +25146,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23563,7 +25173,8 @@ inline void WriteToString(string* result, const Union_IconOptions_CustomObject* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_IconOptions_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_IconOptions_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -23584,7 +25195,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_IconOptions_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_IconOptions_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23593,14 +25205,15 @@ inline void WriteToString(string* result, const Ark_SearchButtonOptions* value) // Ark_Length result->append(".fontSize="); WriteToString(result, &value->fontSize); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".fontColor="); WriteToString(result, &value->fontColor); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SearchButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SearchButtonOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23617,16 +25230,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SearchButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SearchButtonOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController* value) { +inline void WriteToString(string* result, const Literal_Opt_String_value_icon_Ark_ResourceStr_placeholder_Opt_SearchController_controller* value) { result->append("{"); // Ark_String result->append(".value="); WriteToString(result, &value->value); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".placeholder="); WriteToString(result, &value->placeholder); @@ -23641,11 +25255,12 @@ inline void WriteToString(string* result, const Literal_value_Opt_String_placeho result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_String_value_icon_Ark_ResourceStr_placeholder_Opt_SearchController_controller& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_String_value_icon_ResourceStr_placeholder_Opt_SearchController_controller* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -23658,7 +25273,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_String_value_icon_ResourceStr_placeholder_Opt_SearchController_controller& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23678,7 +25294,8 @@ inline void WriteToString(string* result, const Ark_ScrollBarOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollBarOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScrollBarOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23695,7 +25312,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollBarOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollBarOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23711,7 +25329,8 @@ inline void WriteToString(string* result, const Ark_OffsetOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OffsetOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_OffsetOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23728,7 +25347,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OffsetOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_OffsetOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23752,7 +25372,8 @@ inline void WriteToString(string* result, const Ark_ScrollSnapOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollSnapOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ScrollSnapOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23769,7 +25390,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollSnapOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollSnapOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23800,7 +25422,8 @@ inline void WriteToString(string* result, const Union_Color_Number_String* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Color_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Union_Color_Number_String& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -23822,7 +25445,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Color_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Color_Number_String& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23839,7 +25463,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_ScrollDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23859,7 +25484,8 @@ inline void WriteToString(string* result, const Ark_SaveButtonOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SaveButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SaveButtonOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23876,11 +25502,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SaveButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SaveButtonOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_space_Opt_Union_String_Number* value) { +inline void WriteToString(string* result, const Literal_Opt_Union_String_Number_space* value) { result->append("{"); // Union_String_Number result->append(".space="); @@ -23888,11 +25515,12 @@ inline void WriteToString(string* result, const Literal_space_Opt_Union_String_N result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_space_Opt_Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Union_String_Number_space& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_space_Opt_Union_String_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Union_String_Number_space* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -23905,7 +25533,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_space_Opt_Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Union_String_Number_space& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23914,7 +25543,8 @@ inline void WriteToString(string* result, const Ark_RootSceneSession* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RootSceneSession& value) { +inline Ark_RuntimeType runtimeType(const Ark_RootSceneSession& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23931,7 +25561,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RootSceneSession& value) { +inline Ark_RuntimeType runtimeType(const Opt_RootSceneSession& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23948,7 +25579,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EditMenuOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_EditMenuOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23965,7 +25597,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EnterKeyType& value) { +inline Ark_RuntimeType runtimeType(const Opt_EnterKeyType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -23974,14 +25607,15 @@ inline void WriteToString(string* result, const Ark_PlaceholderStyle* value) { // Ark_Font result->append(".font="); WriteToString(result, &value->font); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".fontColor="); WriteToString(result, &value->fontColor); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PlaceholderStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_PlaceholderStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -23998,7 +25632,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PlaceholderStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_PlaceholderStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24015,7 +25650,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorType& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24031,7 +25667,8 @@ inline void WriteToString(string* result, const Ark_TextDataDetectorConfig* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorConfig& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorConfig& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24048,7 +25685,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorConfig& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorConfig& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24060,7 +25698,8 @@ inline void WriteToString(string* result, const Ark_KeyboardOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_KeyboardOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_KeyboardOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24077,7 +25716,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_KeyboardOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_KeyboardOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24093,7 +25733,8 @@ inline void WriteToString(string* result, const Ark_SelectionMenuOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SelectionMenuOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SelectionMenuOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24110,7 +25751,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SelectionMenuOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SelectionMenuOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24136,7 +25778,8 @@ inline void WriteToString(string* result, const Union_ResponseType_RichEditorRes result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_ResponseType_RichEditorResponseType& value) { +inline Ark_RuntimeType runtimeType(const Union_ResponseType_RichEditorResponseType& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -24157,7 +25800,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ResponseType_RichEditorResponseType& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResponseType_RichEditorResponseType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24174,7 +25818,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpanType& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpanType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24186,7 +25831,8 @@ inline void WriteToString(string* result, const Ark_RichEditorStyledStringOption result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorStyledStringOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorStyledStringOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24203,7 +25849,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorStyledStringOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorStyledStringOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24215,7 +25862,8 @@ inline void WriteToString(string* result, const Ark_RichEditorOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RichEditorOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24232,7 +25880,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24252,7 +25901,8 @@ inline void WriteToString(string* result, const Ark_LocalizedBarrierStyle* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedBarrierStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedBarrierStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24269,7 +25919,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedBarrierStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedBarrierStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24304,7 +25955,8 @@ inline void WriteToString(string* result, const Array_LocalizedBarrierStyle* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_LocalizedBarrierStyle& value) { +inline Ark_RuntimeType runtimeType(const Array_LocalizedBarrierStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24321,7 +25973,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_LocalizedBarrierStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_LocalizedBarrierStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24341,7 +25994,8 @@ inline void WriteToString(string* result, const Ark_BarrierStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BarrierStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_BarrierStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24358,7 +26012,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BarrierStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_BarrierStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24393,7 +26048,8 @@ inline void WriteToString(string* result, const Array_BarrierStyle* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_BarrierStyle& value) { +inline Ark_RuntimeType runtimeType(const Array_BarrierStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24410,7 +26066,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_BarrierStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_BarrierStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24430,7 +26087,8 @@ inline void WriteToString(string* result, const Ark_GuideLineStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GuideLineStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_GuideLineStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24447,7 +26105,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GuideLineStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_GuideLineStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24482,7 +26141,8 @@ inline void WriteToString(string* result, const Array_GuideLineStyle* value, con result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_GuideLineStyle& value) { +inline Ark_RuntimeType runtimeType(const Array_GuideLineStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24499,7 +26159,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_GuideLineStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_GuideLineStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24516,18 +26177,19 @@ inline void WriteToString(string* result, const Ark_RefreshOptions* value) { result->append(", "); result->append(".friction="); WriteToString(result, &value->friction); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".promptText="); WriteToString(result, &value->promptText); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(", "); result->append(".builder="); WriteToString(result, &value->builder); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RefreshOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RefreshOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24544,11 +26206,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RefreshOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RefreshOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String* value) { +inline void WriteToString(string* result, const Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -24557,12 +26220,12 @@ inline void WriteToString(string* result, const Union_Literal_width_Opt_Union_Nu result->append(".selector="); WriteToString(result, value->selector); } - // Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject + // Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String + // Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -24570,15 +26233,16 @@ inline void WriteToString(string* result, const Union_Literal_width_Opt_Union_Nu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String* value) { +inline void WriteToString(string* result, const Opt_Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -24591,11 +26255,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String* value) { +inline void WriteToString(string* result, const Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri* value) { result->append("{"); // Ark_String result->append(".backgroundUri="); @@ -24611,11 +26276,12 @@ inline void WriteToString(string* result, const Literal_backgroundUri_String_for result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String& value) { +inline Ark_RuntimeType runtimeType(const Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String* value) { +inline void WriteToString(string* result, const Opt_Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -24628,11 +26294,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_rating_Number_indicator_Opt_Boolean* value) { +inline void WriteToString(string* result, const Literal_Number_rating_Opt_Boolean_indicator* value) { result->append("{"); // Ark_Number result->append(".rating="); @@ -24644,11 +26311,12 @@ inline void WriteToString(string* result, const Literal_rating_Number_indicator_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_rating_Number_indicator_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_rating_Opt_Boolean_indicator& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_rating_Number_indicator_Opt_Boolean* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_rating_Opt_Boolean_indicator* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -24661,27 +26329,29 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_rating_Number_indicator_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_rating_Opt_Boolean_indicator& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_RadioStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".checkedBackgroundColor="); WriteToString(result, &value->checkedBackgroundColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".uncheckedBorderColor="); WriteToString(result, &value->uncheckedBorderColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".indicatorColor="); WriteToString(result, &value->indicatorColor); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RadioStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_RadioStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24698,7 +26368,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RadioStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_RadioStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24715,14 +26386,15 @@ inline void WriteToString(string* result, const Ark_RadioOptions* value) { result->append(", "); result->append(".indicatorType="); WriteToString(result, &value->indicatorType); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(", "); result->append(".indicatorBuilder="); WriteToString(result, &value->indicatorBuilder); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RadioOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_RadioOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24739,11 +26411,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RadioOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_RadioOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number* value) { +inline void WriteToString(string* result, const Literal_Opt_Union_String_Number_width_height* value) { result->append("{"); // Union_String_Number result->append(".width="); @@ -24755,11 +26428,12 @@ inline void WriteToString(string* result, const Literal_width_Opt_Union_String_N result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Union_String_Number_width_height& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Union_String_Number_width_height* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -24772,11 +26446,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Union_String_Number_width_height& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_template_PluginComponentTemplate_data_CustomObject* value) { +inline void WriteToString(string* result, const Literal_PluginComponentTemplate_template_CustomObject_data* value) { result->append("{"); // Ark_PluginComponentTemplate result->append(".template_="); @@ -24788,11 +26463,12 @@ inline void WriteToString(string* result, const Literal_template_PluginComponent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_template_PluginComponentTemplate_data_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Literal_PluginComponentTemplate_template_CustomObject_data& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_template_PluginComponentTemplate_data_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Literal_PluginComponentTemplate_template_CustomObject_data* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -24805,7 +26481,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_template_PluginComponentTemplate_data_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_PluginComponentTemplate_template_CustomObject_data& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24822,11 +26499,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PatternLockController& value) { +inline Ark_RuntimeType runtimeType(const Opt_PatternLockController& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String* value) { +inline void WriteToString(string* result, const Literal_Opt_Union_Number_String_width_height_Opt_String_commands* value) { result->append("{"); // Union_Number_String result->append(".width="); @@ -24842,11 +26520,12 @@ inline void WriteToString(string* result, const Literal_width_Opt_Union_Number_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Union_Number_String_width_height_Opt_String_commands& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Union_Number_String_width_height_Opt_String_commands* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -24859,7 +26538,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Union_Number_String_width_height_Opt_String_commands& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24879,7 +26559,8 @@ inline void WriteToString(string* result, const Ark_PasteButtonOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PasteButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_PasteButtonOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -24896,7 +26577,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PasteButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_PasteButtonOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24922,7 +26604,8 @@ inline void WriteToString(string* result, const Union_Length_PanelHeight* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_PanelHeight& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_PanelHeight& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -24943,7 +26626,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_PanelHeight& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_PanelHeight& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24960,7 +26644,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PanelType& value) { +inline Ark_RuntimeType runtimeType(const Opt_PanelType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -24977,11 +26662,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PanelMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_PanelMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_target_String_type_Opt_NavigationType* value) { +inline void WriteToString(string* result, const Literal_String_target_Opt_NavigationType_type* value) { result->append("{"); // Ark_String result->append(".target="); @@ -24993,11 +26679,12 @@ inline void WriteToString(string* result, const Literal_target_String_type_Opt_N result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_target_String_type_Opt_NavigationType& value) { +inline Ark_RuntimeType runtimeType(const Literal_String_target_Opt_NavigationType_type& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_target_String_type_Opt_NavigationType* value) { +inline void WriteToString(string* result, const Opt_Literal_String_target_Opt_NavigationType_type* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -25010,7 +26697,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_target_String_type_Opt_NavigationType& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_target_Opt_NavigationType_type& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25045,7 +26733,8 @@ inline void WriteToString(string* result, const Array_LayoutSafeAreaEdge* value, result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_LayoutSafeAreaEdge& value) { +inline Ark_RuntimeType runtimeType(const Array_LayoutSafeAreaEdge& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -25062,7 +26751,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_LayoutSafeAreaEdge& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_LayoutSafeAreaEdge& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25097,7 +26787,8 @@ inline void WriteToString(string* result, const Array_LayoutSafeAreaType* value, result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_LayoutSafeAreaType& value) { +inline Ark_RuntimeType runtimeType(const Array_LayoutSafeAreaType& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -25114,13 +26805,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_LayoutSafeAreaType& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_LayoutSafeAreaType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_NavigationToolbarOptions* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".backgroundColor="); WriteToString(result, &value->backgroundColor); // Ark_BlurStyle @@ -25130,7 +26822,8 @@ inline void WriteToString(string* result, const Ark_NavigationToolbarOptions* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationToolbarOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavigationToolbarOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -25147,16 +26840,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationToolbarOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationToolbarOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_ToolbarItem* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".value="); WriteToString(result, &value->value); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".icon="); WriteToString(result, &value->icon); @@ -25172,7 +26866,7 @@ inline void WriteToString(string* result, const Ark_ToolbarItem* value) { result->append(", "); result->append(".status="); WriteToString(result, &value->status); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".activeIcon="); WriteToString(result, &value->activeIcon); @@ -25183,7 +26877,8 @@ inline void WriteToString(string* result, const Ark_ToolbarItem* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ToolbarItem& value) { +inline Ark_RuntimeType runtimeType(const Ark_ToolbarItem& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -25200,11 +26895,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ToolbarItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_ToolbarItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Array_ToolbarItem_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Union_Array_ToolbarItem_Ark_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -25218,7 +26914,7 @@ inline void WriteToString(string* result, const Union_Array_ToolbarItem_Union_Fu result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -25226,15 +26922,16 @@ inline void WriteToString(string* result, const Union_Array_ToolbarItem_Union_Fu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Array_ToolbarItem_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Array_ToolbarItem_Ark_CustomBuilder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Array_ToolbarItem_Union_Function_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Array_ToolbarItem_Ark_CustomBuilder: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Array_ToolbarItem_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_Array_ToolbarItem_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -25247,11 +26944,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Array_ToolbarItem_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Array_ToolbarItem_CustomBuilder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_CustomObject_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Union_CustomObject_Ark_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -25265,7 +26963,7 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_Functio result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -25273,15 +26971,16 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_Functio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CustomObject_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_CustomObject_Ark_CustomBuilder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_CustomObject_Union_Function_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_CustomObject_Ark_CustomBuilder: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_CustomObject_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_CustomObject_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -25294,11 +26993,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_CustomBuilder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Array_NavigationMenuItem_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Union_Array_NavigationMenuItem_Ark_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -25312,7 +27012,7 @@ inline void WriteToString(string* result, const Union_Array_NavigationMenuItem_U result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -25320,15 +27020,16 @@ inline void WriteToString(string* result, const Union_Array_NavigationMenuItem_U result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Array_NavigationMenuItem_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Array_NavigationMenuItem_Ark_CustomBuilder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Array_NavigationMenuItem_Union_Function_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Array_NavigationMenuItem_Ark_CustomBuilder: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Array_NavigationMenuItem_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_Array_NavigationMenuItem_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -25341,7 +27042,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Array_NavigationMenuItem_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Array_NavigationMenuItem_CustomBuilder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25358,11 +27060,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationTitleMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationTitleMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -25371,12 +27074,12 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Unio result->append(".selector="); WriteToString(result, value->selector); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -25394,17 +27097,18 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Unio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); case 3: return runtimeType(value.value3); - default: throw "Bad selector in Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -25417,7 +27121,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25453,7 +27158,8 @@ inline void WriteToString(string* result, const Union_String_CustomObject_Resour result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_CustomObject_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_String_CustomObject_Resource_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -25476,7 +27182,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_CustomObject_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_CustomObject_Resource_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25493,7 +27200,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25510,7 +27218,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavBarPosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavBarPosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25527,7 +27236,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavPathStack& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavPathStack& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25544,7 +27254,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavRouteMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavRouteMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25560,7 +27271,8 @@ inline void WriteToString(string* result, const Ark_RouteInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RouteInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_RouteInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -25577,7 +27289,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RouteInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_RouteInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25594,7 +27307,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LayoutSafeAreaEdge& value) { +inline Ark_RuntimeType runtimeType(const Opt_LayoutSafeAreaEdge& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25611,7 +27325,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LayoutSafeAreaType& value) { +inline Ark_RuntimeType runtimeType(const Opt_LayoutSafeAreaType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25639,7 +27354,8 @@ inline void WriteToString(string* result, const Ark_NavigationMenuItem* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationMenuItem& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavigationMenuItem& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -25656,11 +27372,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationMenuItem& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationMenuItem& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_String_Resource_CustomObject_CustomObject* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceStr_CustomObject_CustomObject* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -25669,7 +27386,7 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Cust result->append(".selector="); WriteToString(result, value->selector); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -25687,16 +27404,17 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Cust result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_String_Resource_CustomObject_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceStr_CustomObject_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Union_String_Resource_CustomObject_CustomObject: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceStr_CustomObject_CustomObject: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_String_Resource_CustomObject_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceStr_CustomObject_CustomObject* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -25709,13 +27427,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_String_Resource_CustomObject_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_CustomObject_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_NavigationTitleOptions* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".backgroundColor="); WriteToString(result, &value->backgroundColor); // Ark_BlurStyle @@ -25737,7 +27456,8 @@ inline void WriteToString(string* result, const Ark_NavigationTitleOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationTitleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_NavigationTitleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -25754,11 +27474,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationTitleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_NavigationTitleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle* value) { +inline void WriteToString(string* result, const Union_String_Ark_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -25772,7 +27493,7 @@ inline void WriteToString(string* result, const Union_String_Union_Function_Unde result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -25790,17 +27511,18 @@ inline void WriteToString(string* result, const Union_String_Union_Function_Unde result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Ark_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); case 3: return runtimeType(value.value3); - default: throw "Bad selector in Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle: " + std::to_string(value.selector); + default: throw "Bad selector in Union_String_Ark_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle* value) { +inline void WriteToString(string* result, const Opt_Union_String_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -25813,23 +27535,25 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_MenuItemGroupOptions* value) { result->append("{"); - // Union_Union_String_Resource_Union_Function_Undefined + // Union_Ark_ResourceStr_Ark_CustomBuilder result->append(".header="); WriteToString(result, &value->header); - // Union_Union_String_Resource_Union_Function_Undefined + // Union_Ark_ResourceStr_Ark_CustomBuilder result->append(", "); result->append(".footer="); WriteToString(result, &value->footer); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MenuItemGroupOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_MenuItemGroupOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -25846,11 +27570,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuItemGroupOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_MenuItemGroupOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Boolean_Union_String_Resource_CustomObject* value) { +inline void WriteToString(string* result, const Union_Boolean_Ark_ResourceStr_CustomObject* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -25864,7 +27589,7 @@ inline void WriteToString(string* result, const Union_Boolean_Union_String_Resou result->append(".value0="); WriteToString(result, value->value0); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -25877,16 +27602,17 @@ inline void WriteToString(string* result, const Union_Boolean_Union_String_Resou result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Boolean_Union_String_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_Boolean_Ark_ResourceStr_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Boolean_Union_String_Resource_CustomObject: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Boolean_Ark_ResourceStr_CustomObject: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Boolean_Union_String_Resource_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Union_Boolean_ResourceStr_CustomObject* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -25899,11 +27625,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Union_String_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_ResourceStr_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_MenuItemOptions_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Union_MenuItemOptions_Ark_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -25917,7 +27644,7 @@ inline void WriteToString(string* result, const Union_MenuItemOptions_Union_Func result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -25925,15 +27652,16 @@ inline void WriteToString(string* result, const Union_MenuItemOptions_Union_Func result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_MenuItemOptions_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_MenuItemOptions_Ark_CustomBuilder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_MenuItemOptions_Union_Function_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_MenuItemOptions_Ark_CustomBuilder: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_MenuItemOptions_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_MenuItemOptions_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -25946,7 +27674,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_MenuItemOptions_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_MenuItemOptions_CustomBuilder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25963,7 +27692,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SubMenuExpandingMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_SubMenuExpandingMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -25989,7 +27719,8 @@ inline void WriteToString(string* result, const Union_DividerStyleOptions_Undefi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_DividerStyleOptions_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_DividerStyleOptions_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -26010,11 +27741,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_DividerStyleOptions_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_DividerStyleOptions_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource* value) { +inline void WriteToString(string* result, const Union_CustomObject_Ark_ResourceStr_CustomObject_ASTCResource* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -26028,7 +27760,7 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_String_ result->append(".value0="); WriteToString(result, &value->value0); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -26046,17 +27778,18 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource& value) { +inline Ark_RuntimeType runtimeType(const Union_CustomObject_Ark_ResourceStr_CustomObject_ASTCResource& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); case 3: return runtimeType(value.value3); - default: throw "Bad selector in Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource: " + std::to_string(value.selector); + default: throw "Bad selector in Union_CustomObject_Ark_ResourceStr_CustomObject_ASTCResource: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource* value) { +inline void WriteToString(string* result, const Opt_Union_CustomObject_ResourceStr_CustomObject_ASTCResource* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -26069,7 +27802,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_ResourceStr_CustomObject_ASTCResource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26086,11 +27820,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MarqueeUpdateStrategy& value) { +inline Ark_RuntimeType runtimeType(const Opt_MarqueeUpdateStrategy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String* value) { +inline void WriteToString(string* result, const Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src* value) { result->append("{"); // Ark_Boolean result->append(".start="); @@ -26114,11 +27849,12 @@ inline void WriteToString(string* result, const Literal_start_Boolean_step_Opt_N result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String& value) { +inline Ark_RuntimeType runtimeType(const Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String* value) { +inline void WriteToString(string* result, const Opt_Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -26131,7 +27867,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26151,7 +27888,8 @@ inline void WriteToString(string* result, const Ark_LocationButtonOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocationButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocationButtonOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -26168,7 +27906,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocationButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocationButtonOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26199,7 +27938,8 @@ inline void WriteToString(string* result, const Union_Position_Edges_LocalizedEd result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Position_Edges_LocalizedEdges& value) { +inline Ark_RuntimeType runtimeType(const Union_Position_Edges_LocalizedEdges& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -26221,7 +27961,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Edges_LocalizedEdges& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Edges_LocalizedEdges& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26238,11 +27979,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SecurityComponentLayoutDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_SecurityComponentLayoutDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Ark_Undefined* value) { +inline void WriteToString(string* result, const Union_Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -26251,7 +27993,7 @@ inline void WriteToString(string* result, const Union_Literal_strokeWidth_Length result->append(".selector="); WriteToString(result, value->selector); } - // Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length + // Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -26264,15 +28006,16 @@ inline void WriteToString(string* result, const Union_Literal_strokeWidth_Length result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Ark_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Ark_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -26285,16 +28028,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_ListItemGroupOptions* value) { result->append("{"); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(".header="); WriteToString(result, &value->header); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(", "); result->append(".footer="); WriteToString(result, &value->footer); @@ -26309,7 +28053,8 @@ inline void WriteToString(string* result, const Ark_ListItemGroupOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ListItemGroupOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ListItemGroupOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -26326,16 +28071,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_SwipeActionOptions* value) { result->append("{"); - // Union_Union_Function_Undefined_SwipeActionItem + // Union_Ark_CustomBuilder_SwipeActionItem result->append(".start="); WriteToString(result, &value->start); - // Union_Union_Function_Undefined_SwipeActionItem + // Union_Ark_CustomBuilder_SwipeActionItem result->append(", "); result->append(".end="); WriteToString(result, &value->end); @@ -26350,7 +28096,8 @@ inline void WriteToString(string* result, const Ark_SwipeActionOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwipeActionOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SwipeActionOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -26367,7 +28114,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwipeActionOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SwipeActionOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26393,7 +28141,8 @@ inline void WriteToString(string* result, const Union_Boolean_EditMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Boolean_EditMode& value) { +inline Ark_RuntimeType runtimeType(const Union_Boolean_EditMode& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -26414,7 +28163,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_EditMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_EditMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26431,7 +28181,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Sticky& value) { +inline Ark_RuntimeType runtimeType(const Opt_Sticky& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26443,7 +28194,8 @@ inline void WriteToString(string* result, const Ark_ListItemOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ListItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ListItemOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -26460,7 +28212,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ListItemOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26477,7 +28230,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ChildrenMainSize& value) { +inline Ark_RuntimeType runtimeType(const Opt_ChildrenMainSize& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26494,7 +28248,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StickyStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_StickyStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26530,7 +28285,8 @@ inline void WriteToString(string* result, const Ark_ChainAnimationOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ChainAnimationOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ChainAnimationOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -26547,7 +28303,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ChainAnimationOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ChainAnimationOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26564,11 +28321,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListItemAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_ListItemAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Number_Literal_minLength_Length_maxLength_Length* value) { +inline void WriteToString(string* result, const Union_Number_Ark_LengthConstrain* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -26582,7 +28340,7 @@ inline void WriteToString(string* result, const Union_Number_Literal_minLength_L result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_minLength_Length_maxLength_Length + // Ark_LengthConstrain if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -26590,15 +28348,16 @@ inline void WriteToString(string* result, const Union_Number_Literal_minLength_L result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_Literal_minLength_Length_maxLength_Length& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_Ark_LengthConstrain& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Number_Literal_minLength_Length_maxLength_Length: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Number_Ark_LengthConstrain: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Number_Literal_minLength_Length_maxLength_Length* value) { +inline void WriteToString(string* result, const Opt_Union_Number_LengthConstrain* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -26611,11 +28370,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Literal_minLength_Length_maxLength_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LengthConstrain& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller* value) { +inline void WriteToString(string* result, const Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller* value) { result->append("{"); // Ark_Number result->append(".initialIndex="); @@ -26631,11 +28391,12 @@ inline void WriteToString(string* result, const Literal_initialIndex_Opt_Number_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -26648,7 +28409,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26674,7 +28436,8 @@ inline void WriteToString(string* result, const Union_ColorFilter_CustomObject* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_ColorFilter_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_ColorFilter_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -26695,11 +28458,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ColorFilter_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ColorFilter_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_String_Resource_CustomObject* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceStr_CustomObject* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -26708,7 +28472,7 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Cust result->append(".selector="); WriteToString(result, value->selector); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -26721,15 +28485,16 @@ inline void WriteToString(string* result, const Union_Union_String_Resource_Cust result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_String_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceStr_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Union_String_Resource_CustomObject: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceStr_CustomObject: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_String_Resource_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceStr_CustomObject* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -26742,7 +28507,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_String_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26774,7 +28540,8 @@ inline void WriteToString(string* result, const Ark_ImageFrameInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageFrameInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_ImageFrameInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -26791,7 +28558,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageFrameInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageFrameInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26826,7 +28594,8 @@ inline void WriteToString(string* result, const Array_ImageFrameInfo* value, con result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_ImageFrameInfo& value) { +inline Ark_RuntimeType runtimeType(const Array_ImageFrameInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -26843,7 +28612,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_ImageFrameInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_ImageFrameInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26855,7 +28625,8 @@ inline void WriteToString(string* result, const Ark_ImageAnalyzerConfig* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageAnalyzerConfig& value) { +inline Ark_RuntimeType runtimeType(const Ark_ImageAnalyzerConfig& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -26872,7 +28643,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerConfig& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerConfig& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26889,11 +28661,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CopyOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_CopyOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_width_Number_height_Number* value) { +inline void WriteToString(string* result, const Literal_Number_width_height* value) { result->append("{"); // Ark_Number result->append(".width="); @@ -26905,11 +28678,12 @@ inline void WriteToString(string* result, const Literal_width_Number_height_Numb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_width_Number_height_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_width_height& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_width_Number_height_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_width_height* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -26922,7 +28696,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_width_Number_height_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_width_height& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26939,7 +28714,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageInterpolation& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageInterpolation& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26956,7 +28732,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DynamicRangeMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_DynamicRangeMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -26973,11 +28750,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageRenderMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageRenderMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_CustomObject_Union_String_Resource_CustomObject* value) { +inline void WriteToString(string* result, const Union_CustomObject_Ark_ResourceStr_CustomObject* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -26991,7 +28769,7 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_String_ result->append(".value0="); WriteToString(result, &value->value0); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -27004,16 +28782,17 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CustomObject_Union_String_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_CustomObject_Ark_ResourceStr_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_CustomObject_Union_String_Resource_CustomObject: " + std::to_string(value.selector); + default: throw "Bad selector in Union_CustomObject_Ark_ResourceStr_CustomObject: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_CustomObject_Union_String_Resource_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Union_CustomObject_ResourceStr_CustomObject* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -27026,11 +28805,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_Union_String_Resource_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_ResourceStr_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_CustomObject_Union_String_Resource_CustomObject_ImageContent* value) { +inline void WriteToString(string* result, const Union_CustomObject_Ark_ResourceStr_CustomObject_ImageContent* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -27044,7 +28824,7 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_String_ result->append(".value0="); WriteToString(result, &value->value0); } - // Union_String_Resource + // Ark_ResourceStr if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -27062,17 +28842,18 @@ inline void WriteToString(string* result, const Union_CustomObject_Union_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CustomObject_Union_String_Resource_CustomObject_ImageContent& value) { +inline Ark_RuntimeType runtimeType(const Union_CustomObject_Ark_ResourceStr_CustomObject_ImageContent& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); case 3: return runtimeType(value.value3); - default: throw "Bad selector in Union_CustomObject_Union_String_Resource_CustomObject_ImageContent: " + std::to_string(value.selector); + default: throw "Bad selector in Union_CustomObject_Ark_ResourceStr_CustomObject_ImageContent: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_CustomObject_Union_String_Resource_CustomObject_ImageContent* value) { +inline void WriteToString(string* result, const Opt_Union_CustomObject_ResourceStr_CustomObject_ImageContent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -27085,7 +28866,69 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_Union_String_Resource_CustomObject_ImageContent& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_ResourceStr_CustomObject_ImageContent& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Union_Color_Number_String_Resource* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + if (value->selector == -1) { + result->append(".selector="); + WriteToString(result, value->selector); + } + // Ark_Color + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_Number + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_String + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + // Ark_Resource + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, &value->value3); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Union_Color_Number_String_Resource& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + default: throw "Bad selector in Union_Color_Number_String_Resource: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(string* result, const Opt_Union_Color_Number_String_Resource* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_Color_Number_String_Resource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27109,7 +28952,8 @@ inline void WriteToString(string* result, const Ark_GridRowOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridRowOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_GridRowOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27126,7 +28970,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridRowOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridRowOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27150,7 +28995,8 @@ inline void WriteToString(string* result, const Ark_GridContainerOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridContainerOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_GridContainerOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27167,7 +29013,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridContainerOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridContainerOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27187,7 +29034,8 @@ inline void WriteToString(string* result, const Ark_GridColOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridColOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_GridColOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27204,7 +29052,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridColOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridColOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27216,7 +29065,8 @@ inline void WriteToString(string* result, const Ark_GridItemOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_GridItemOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27233,7 +29083,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridItemOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridItemOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27250,7 +29101,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridDirection& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridDirection& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27274,7 +29126,8 @@ inline void WriteToString(string* result, const Ark_GridLayoutOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridLayoutOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_GridLayoutOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27291,7 +29144,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridLayoutOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_GridLayoutOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27307,7 +29161,8 @@ inline void WriteToString(string* result, const Ark_NestedScrollOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27324,7 +29179,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27336,7 +29192,8 @@ inline void WriteToString(string* result, const Ark_EdgeEffectOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EdgeEffectOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_EdgeEffectOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27353,13 +29210,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EdgeEffectOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_EdgeEffectOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_GaugeIndicatorOptions* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".icon="); WriteToString(result, &value->icon); // Ark_Length @@ -27369,7 +29227,8 @@ inline void WriteToString(string* result, const Ark_GaugeIndicatorOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GaugeIndicatorOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_GaugeIndicatorOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27386,7 +29245,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GaugeIndicatorOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_GaugeIndicatorOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27406,7 +29266,8 @@ inline void WriteToString(string* result, const Ark_GaugeShadowOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GaugeShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_GaugeShadowOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27423,13 +29284,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GaugeShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_GaugeShadowOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number* value) { +inline void WriteToString(string* result, const Tuple_Union_Ark_ResourceColor_LinearGradient_Number* value) { result->append("{"); - // Union_Union_Color_Number_String_Resource_LinearGradient + // Union_Ark_ResourceColor_LinearGradient result->append(".value0="); WriteToString(result, &value->value0); // Ark_Number @@ -27439,11 +29301,12 @@ inline void WriteToString(string* result, const Tuple_Union_Union_Color_Number_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number& value) { +inline Ark_RuntimeType runtimeType(const Tuple_Union_Ark_ResourceColor_LinearGradient_Number& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number* value) { +inline void WriteToString(string* result, const Opt_Tuple_Union_ResourceColor_LinearGradient_Number* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -27456,11 +29319,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Tuple_Union_ResourceColor_LinearGradient_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -27469,7 +29333,7 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append(".selector="); WriteToString(result, value->selector); } - // Union_Color_Number_String_Resource + // Ark_ResourceColor if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -27479,7 +29343,7 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append(".value1="); WriteToString(result, &value->value1); } - // Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number + // Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number if (value->selector == 2) { result->append(".value2="); WriteToString(result, &value->value2); @@ -27487,16 +29351,17 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -27509,11 +29374,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_value_Number_min_Opt_Number_max_Opt_Number* value) { +inline void WriteToString(string* result, const Literal_Number_value_Opt_Number_min_max* value) { result->append("{"); // Ark_Number result->append(".value="); @@ -27529,11 +29395,12 @@ inline void WriteToString(string* result, const Literal_value_Number_min_Opt_Num result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_value_Number_min_Opt_Number_max_Opt_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Number_value_Opt_Number_min_max& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_value_Number_min_Opt_Number_max_Opt_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Number_value_Opt_Number_min_max* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -27546,7 +29413,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_value_Number_min_Opt_Number_max_Opt_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_value_Opt_Number_min_max& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27578,7 +29446,8 @@ inline void WriteToString(string* result, const Ark_FormLinkOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FormLinkOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_FormLinkOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27595,7 +29464,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FormLinkOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_FormLinkOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27643,7 +29513,8 @@ inline void WriteToString(string* result, const Ark_FormInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FormInfo& value) { +inline Ark_RuntimeType runtimeType(const Ark_FormInfo& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27660,11 +29531,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FormInfo& value) { +inline Ark_RuntimeType runtimeType(const Opt_FormInfo& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_upperItems_Opt_Array_String* value) { +inline void WriteToString(string* result, const Literal_Opt_Array_String_upperItems* value) { result->append("{"); // Array_String result->append(".upperItems="); @@ -27672,11 +29544,12 @@ inline void WriteToString(string* result, const Literal_upperItems_Opt_Array_Str result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_upperItems_Opt_Array_String& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Array_String_upperItems& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_upperItems_Opt_Array_String* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Array_String_upperItems* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -27689,7 +29562,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_upperItems_Opt_Array_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Array_String_upperItems& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27721,7 +29595,8 @@ inline void WriteToString(string* result, const Ark_FlexOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FlexOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_FlexOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27738,7 +29613,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FlexOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_FlexOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27755,7 +29631,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EmbeddedType& value) { +inline Ark_RuntimeType runtimeType(const Opt_EmbeddedType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27775,7 +29652,8 @@ inline void WriteToString(string* result, const Ark_DatePickerOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DatePickerOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_DatePickerOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27792,7 +29670,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DatePickerOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_DatePickerOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27809,14 +29688,15 @@ inline void WriteToString(string* result, const Ark_DataPanelShadowOptions* valu result->append(", "); result->append(".offsetY="); WriteToString(result, &value->offsetY); - // Array_Union_Union_Color_Number_String_Resource_LinearGradient + // Array_Union_Ark_ResourceColor_LinearGradient result->append(", "); result->append(".colors="); WriteToString(result, &value->colors); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DataPanelShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_DataPanelShadowOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27833,7 +29713,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DataPanelShadowOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_DataPanelShadowOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27853,7 +29734,8 @@ inline void WriteToString(string* result, const Ark_DataPanelOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DataPanelOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_DataPanelOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27870,23 +29752,25 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DataPanelOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_DataPanelOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_TextBackgroundStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".color="); WriteToString(result, &value->color); - // Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Union_Length_Ark_BorderRadiuses result->append(", "); result->append(".radius="); WriteToString(result, &value->radius); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextBackgroundStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_TextBackgroundStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27903,7 +29787,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextBackgroundStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_TextBackgroundStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27919,7 +29804,8 @@ inline void WriteToString(string* result, const Ark_SceneOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SceneOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SceneOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -27936,7 +29822,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SceneOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SceneOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -27962,7 +29849,8 @@ inline void WriteToString(string* result, const Union_ColumnSplitDividerStyle_Ar result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_ColumnSplitDividerStyle_Ark_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_ColumnSplitDividerStyle_Ark_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -27983,7 +29871,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ColumnSplitDividerStyle_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ColumnSplitDividerStyle_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28003,7 +29892,8 @@ inline void WriteToString(string* result, const Ark_PointLightStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PointLightStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_PointLightStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28020,7 +29910,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PointLightStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_PointLightStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28036,7 +29927,8 @@ inline void WriteToString(string* result, const Ark_CircleOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CircleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_CircleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28053,7 +29945,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CircleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_CircleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28070,7 +29963,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LineJoinStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_LineJoinStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28087,7 +29981,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LineCapStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_LineCapStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28099,7 +29994,8 @@ inline void WriteToString(string* result, const Ark_CheckboxGroupOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28116,13 +30012,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_MarkStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".strokeColor="); WriteToString(result, &value->strokeColor); // Ark_Length @@ -28136,7 +30033,8 @@ inline void WriteToString(string* result, const Ark_MarkStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MarkStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_MarkStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28153,7 +30051,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MarkStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_MarkStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28170,7 +30069,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CheckBoxShape& value) { +inline Ark_RuntimeType runtimeType(const Opt_CheckBoxShape& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28183,14 +30083,15 @@ inline void WriteToString(string* result, const Ark_CheckboxOptions* value) { result->append(", "); result->append(".group="); WriteToString(result, &value->group); - // Union_Function_Undefined + // Ark_CustomBuilder result->append(", "); result->append(".indicatorBuilder="); WriteToString(result, &value->indicatorBuilder); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CheckboxOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_CheckboxOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28207,7 +30108,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CheckboxOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_CheckboxOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28224,7 +30126,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerType& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28250,7 +30153,8 @@ inline void WriteToString(string* result, const Union_CanvasRenderingContext2D_D result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CanvasRenderingContext2D_DrawingRenderingContext& value) { +inline Ark_RuntimeType runtimeType(const Union_CanvasRenderingContext2D_DrawingRenderingContext& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -28271,13 +30175,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_PickerTextStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".color="); WriteToString(result, &value->color); // Ark_Font @@ -28287,7 +30192,8 @@ inline void WriteToString(string* result, const Ark_PickerTextStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PickerTextStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_PickerTextStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28304,11 +30210,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PickerTextStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_PickerTextStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_dx_Length_dy_Length* value) { +inline void WriteToString(string* result, const Ark_Offset* value) { result->append("{"); // Ark_Length result->append(".dx="); @@ -28320,11 +30227,12 @@ inline void WriteToString(string* result, const Literal_dx_Length_dy_Length* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_dx_Length_dy_Length& value) { +inline Ark_RuntimeType runtimeType(const Ark_Offset& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_dx_Length_dy_Length* value) { +inline void WriteToString(string* result, const Opt_Offset* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -28337,7 +30245,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_dx_Length_dy_Length& value) { +inline Ark_RuntimeType runtimeType(const Opt_Offset& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28354,7 +30263,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CalendarAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_CalendarAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28370,7 +30280,8 @@ inline void WriteToString(string* result, const Ark_CalendarOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CalendarOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_CalendarOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28387,16 +30298,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CalendarOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_CalendarOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_WorkStateStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".workDayMarkColor="); WriteToString(result, &value->workDayMarkColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".offDayMarkColor="); WriteToString(result, &value->offDayMarkColor); @@ -28423,7 +30335,8 @@ inline void WriteToString(string* result, const Ark_WorkStateStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WorkStateStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_WorkStateStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28440,20 +30353,21 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WorkStateStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_WorkStateStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_WeekStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".weekColor="); WriteToString(result, &value->weekColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".weekendDayColor="); WriteToString(result, &value->weekendDayColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".weekendLunarColor="); WriteToString(result, &value->weekendLunarColor); @@ -28476,7 +30390,8 @@ inline void WriteToString(string* result, const Ark_WeekStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WeekStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_WeekStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28493,20 +30408,21 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WeekStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_WeekStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_TodayStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".focusedDayColor="); WriteToString(result, &value->focusedDayColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".focusedLunarColor="); WriteToString(result, &value->focusedLunarColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".focusedAreaBackgroundColor="); WriteToString(result, &value->focusedAreaBackgroundColor); @@ -28517,7 +30433,8 @@ inline void WriteToString(string* result, const Ark_TodayStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TodayStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_TodayStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28534,31 +30451,33 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TodayStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_TodayStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_NonCurrentDayStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".nonCurrentMonthDayColor="); WriteToString(result, &value->nonCurrentMonthDayColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".nonCurrentMonthLunarColor="); WriteToString(result, &value->nonCurrentMonthLunarColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".nonCurrentMonthWorkDayMarkColor="); WriteToString(result, &value->nonCurrentMonthWorkDayMarkColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".nonCurrentMonthOffDayMarkColor="); WriteToString(result, &value->nonCurrentMonthOffDayMarkColor); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NonCurrentDayStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_NonCurrentDayStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28575,20 +30494,21 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NonCurrentDayStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_NonCurrentDayStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_CurrentDayStyle* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".dayColor="); WriteToString(result, &value->dayColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".lunarColor="); WriteToString(result, &value->lunarColor); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".markLunarColor="); WriteToString(result, &value->markLunarColor); @@ -28675,7 +30595,8 @@ inline void WriteToString(string* result, const Ark_CurrentDayStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CurrentDayStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_CurrentDayStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28692,7 +30613,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CurrentDayStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_CurrentDayStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28744,7 +30666,8 @@ inline void WriteToString(string* result, const Ark_CalendarDay* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CalendarDay& value) { +inline Ark_RuntimeType runtimeType(const Ark_CalendarDay& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28761,13 +30684,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CalendarDay& value) { +inline Ark_RuntimeType runtimeType(const Opt_CalendarDay& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController* value) { +inline void WriteToString(string* result, const Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller* value) { result->append("{"); - // Literal_year_Number_month_Number_day_Number + // Literal_Number_year_month_day result->append(".date="); WriteToString(result, &value->date); // Ark_MonthData @@ -28789,11 +30713,12 @@ inline void WriteToString(string* result, const Literal_date_Literal_year_Number result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController& value) { +inline Ark_RuntimeType runtimeType(const Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController* value) { +inline void WriteToString(string* result, const Opt_Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -28806,7 +30731,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28834,7 +30760,8 @@ inline void WriteToString(string* result, const Ark_ButtonOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ButtonOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28851,7 +30778,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ButtonOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ButtonOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28871,7 +30799,8 @@ inline void WriteToString(string* result, const Ark_BadgeParamWithString* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithString& value) { +inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithString& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28888,7 +30817,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithString& value) { +inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithString& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28912,7 +30842,8 @@ inline void WriteToString(string* result, const Ark_BadgeParamWithNumber* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithNumber& value) { +inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithNumber& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -28929,7 +30860,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithNumber& value) { +inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithNumber& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28960,7 +30892,8 @@ inline void WriteToString(string* result, const Union_SpringMotion_FrictionMotio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_SpringMotion_FrictionMotion_ScrollMotion& value) { +inline Ark_RuntimeType runtimeType(const Union_SpringMotion_FrictionMotion_ScrollMotion& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -28982,7 +30915,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SpringMotion_FrictionMotion_ScrollMotion& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_SpringMotion_FrictionMotion_ScrollMotion& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -28999,7 +30933,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FillMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_FillMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29016,7 +30951,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AnimationStatus& value) { +inline Ark_RuntimeType runtimeType(const Opt_AnimationStatus& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29033,11 +30969,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_IndexerAlign& value) { +inline Ark_RuntimeType runtimeType(const Opt_IndexerAlign& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_arrayValue_Array_String_selected_Number* value) { +inline void WriteToString(string* result, const Literal_Array_String_arrayValue_Number_selected* value) { result->append("{"); // Array_String result->append(".arrayValue="); @@ -29049,11 +30986,12 @@ inline void WriteToString(string* result, const Literal_arrayValue_Array_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_arrayValue_Array_String_selected_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Array_String_arrayValue_Number_selected& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_arrayValue_Array_String_selected_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Array_String_arrayValue_Number_selected* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -29066,11 +31004,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_arrayValue_Array_String_selected_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Array_String_arrayValue_Number_selected& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_want_CustomObject* value) { +inline void WriteToString(string* result, const Literal_CustomObject_want* value) { result->append("{"); // Ark_CustomObject result->append(".want="); @@ -29078,11 +31017,12 @@ inline void WriteToString(string* result, const Literal_want_CustomObject* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_want_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Literal_CustomObject_want& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_want_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Literal_CustomObject_want* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -29095,7 +31035,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_want_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_CustomObject_want& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29111,7 +31052,8 @@ inline void WriteToString(string* result, const Ark_BackgroundBrightnessOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BackgroundBrightnessOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_BackgroundBrightnessOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29128,7 +31070,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BackgroundBrightnessOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_BackgroundBrightnessOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29145,7 +31088,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureModifier& value) { +inline Ark_RuntimeType runtimeType(const Opt_GestureModifier& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29162,7 +31106,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RenderFit& value) { +inline Ark_RuntimeType runtimeType(const Opt_RenderFit& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29179,7 +31124,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ObscuredReasons& value) { +inline Ark_RuntimeType runtimeType(const Opt_ObscuredReasons& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29214,7 +31160,8 @@ inline void WriteToString(string* result, const Array_ObscuredReasons* value, co result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_ObscuredReasons& value) { +inline Ark_RuntimeType runtimeType(const Array_ObscuredReasons& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29231,7 +31178,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_ObscuredReasons& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_ObscuredReasons& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29248,7 +31196,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ModifierKey& value) { +inline Ark_RuntimeType runtimeType(const Opt_ModifierKey& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29283,7 +31232,8 @@ inline void WriteToString(string* result, const Array_ModifierKey* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_ModifierKey& value) { +inline Ark_RuntimeType runtimeType(const Array_ModifierKey& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29300,7 +31250,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_ModifierKey& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_ModifierKey& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29326,7 +31277,8 @@ inline void WriteToString(string* result, const Union_String_FunctionKey* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_FunctionKey& value) { +inline Ark_RuntimeType runtimeType(const Union_String_FunctionKey& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -29347,7 +31299,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_FunctionKey& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_FunctionKey& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29371,7 +31324,8 @@ inline void WriteToString(string* result, const Ark_PixelStretchEffectOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PixelStretchEffectOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_PixelStretchEffectOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29388,7 +31342,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PixelStretchEffectOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_PixelStretchEffectOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29420,7 +31375,8 @@ inline void WriteToString(string* result, const Ark_StateStyles* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_StateStyles& value) { +inline Ark_RuntimeType runtimeType(const Ark_StateStyles& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29437,13 +31393,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StateStyles& value) { +inline Ark_RuntimeType runtimeType(const Opt_StateStyles& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_SheetOptions* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".backgroundColor="); WriteToString(result, &value->backgroundColor); // Ark_Function @@ -29470,7 +31427,7 @@ inline void WriteToString(string* result, const Ark_SheetOptions* value) { result->append(", "); result->append(".dragBar="); WriteToString(result, &value->dragBar); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".maskColor="); WriteToString(result, &value->maskColor); @@ -29490,7 +31447,7 @@ inline void WriteToString(string* result, const Ark_SheetOptions* value) { result->append(", "); result->append(".preferType="); WriteToString(result, &value->preferType); - // Union_SheetTitleOptions_Union_Function_Undefined + // Union_SheetTitleOptions_Ark_CustomBuilder result->append(", "); result->append(".title="); WriteToString(result, &value->title); @@ -29514,15 +31471,15 @@ inline void WriteToString(string* result, const Ark_SheetOptions* value) { result->append(", "); result->append(".width="); WriteToString(result, &value->width); - // Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths + // Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths result->append(", "); result->append(".borderWidth="); WriteToString(result, &value->borderWidth); - // Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors + // Union_Ark_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors result->append(", "); result->append(".borderColor="); WriteToString(result, &value->borderColor); - // Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle + // Union_BorderStyle_Ark_EdgeStyles result->append(", "); result->append(".borderStyle="); WriteToString(result, &value->borderStyle); @@ -29561,7 +31518,8 @@ inline void WriteToString(string* result, const Ark_SheetOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SheetOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_SheetOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29578,13 +31536,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SheetOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_SheetOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_ContentCoverOptions* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".backgroundColor="); WriteToString(result, &value->backgroundColor); // Ark_Function @@ -29618,7 +31577,8 @@ inline void WriteToString(string* result, const Ark_ContentCoverOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ContentCoverOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ContentCoverOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29635,11 +31595,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ContentCoverOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ContentCoverOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Array_MenuElement_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Union_Array_MenuElement_Ark_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -29653,7 +31614,7 @@ inline void WriteToString(string* result, const Union_Array_MenuElement_Union_Fu result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -29661,15 +31622,16 @@ inline void WriteToString(string* result, const Union_Array_MenuElement_Union_Fu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Array_MenuElement_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Array_MenuElement_Ark_CustomBuilder& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Array_MenuElement_Union_Function_Undefined: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Array_MenuElement_Ark_CustomBuilder: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Array_MenuElement_Union_Function_Undefined* value) { +inline void WriteToString(string* result, const Opt_Union_Array_MenuElement_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -29682,7 +31644,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Array_MenuElement_Union_Function_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Array_MenuElement_CustomBuilder& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29703,11 +31666,11 @@ inline void WriteToString(string* result, const Ark_MenuOptions* value) { result->append(", "); result->append(".arrowOffset="); WriteToString(result, &value->arrowOffset); - // Union_MenuPreviewMode_Union_Function_Undefined + // Union_MenuPreviewMode_Ark_CustomBuilder result->append(", "); result->append(".preview="); WriteToString(result, &value->preview); - // Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Union_Length_Ark_BorderRadiuses result->append(", "); result->append(".borderRadius="); WriteToString(result, &value->borderRadius); @@ -29731,7 +31694,7 @@ inline void WriteToString(string* result, const Ark_MenuOptions* value) { result->append(", "); result->append(".previewAnimationOptions="); WriteToString(result, &value->previewAnimationOptions); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".backgroundColor="); WriteToString(result, &value->backgroundColor); @@ -29743,7 +31706,7 @@ inline void WriteToString(string* result, const Ark_MenuOptions* value) { result->append(", "); result->append(".transition="); WriteToString(result, &value->transition); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".title="); WriteToString(result, &value->title); @@ -29754,7 +31717,8 @@ inline void WriteToString(string* result, const Ark_MenuOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MenuOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_MenuOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29771,16 +31735,17 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_MenuOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_MenuElement* value) { result->append("{"); - // Union_String_Resource + // Ark_ResourceStr result->append(".value="); WriteToString(result, &value->value); - // Union_String_Resource + // Ark_ResourceStr result->append(", "); result->append(".icon="); WriteToString(result, &value->icon); @@ -29799,7 +31764,8 @@ inline void WriteToString(string* result, const Ark_MenuElement* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MenuElement& value) { +inline Ark_RuntimeType runtimeType(const Ark_MenuElement& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29816,7 +31782,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuElement& value) { +inline Ark_RuntimeType runtimeType(const Opt_MenuElement& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29842,7 +31809,8 @@ inline void WriteToString(string* result, const Union_PopupOptions_CustomPopupOp result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_PopupOptions_CustomPopupOptions& value) { +inline Ark_RuntimeType runtimeType(const Union_PopupOptions_CustomPopupOptions& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -29863,7 +31831,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_PopupOptions_CustomPopupOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_PopupOptions_CustomPopupOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29879,7 +31848,8 @@ inline void WriteToString(string* result, const Ark_GeometryTransitionOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GeometryTransitionOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_GeometryTransitionOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -29896,7 +31866,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GeometryTransitionOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_GeometryTransitionOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29932,7 +31903,8 @@ inline void WriteToString(string* result, const Union_CustomObject_CustomObject_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CustomObject_CustomObject_CustomObject_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_CustomObject_CustomObject_CustomObject_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -29955,7 +31927,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_CustomObject_CustomObject_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomObject_CustomObject_CustomObject_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -29996,7 +31969,8 @@ inline void WriteToString(string* result, const Union_CircleAttribute_EllipseAtt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute_ProgressMask& value) { +inline Ark_RuntimeType runtimeType(const Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute_ProgressMask& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -30020,7 +31994,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute_ProgressMask& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute_ProgressMask& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30061,7 +32036,8 @@ inline void WriteToString(string* result, const Union_Boolean_CircleAttribute_El result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Boolean_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute& value) { +inline Ark_RuntimeType runtimeType(const Union_Boolean_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -30085,7 +32061,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30102,7 +32079,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlendApplyType& value) { +inline Ark_RuntimeType runtimeType(const Opt_BlendApplyType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30119,13 +32097,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlendMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_BlendMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Tuple_Union_Color_Number_String_Resource_Number* value) { +inline void WriteToString(string* result, const Tuple_Ark_ResourceColor_Number* value) { result->append("{"); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(".value0="); WriteToString(result, &value->value0); // Ark_Number @@ -30135,11 +32114,12 @@ inline void WriteToString(string* result, const Tuple_Union_Color_Number_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Tuple_Union_Color_Number_String_Resource_Number& value) { +inline Ark_RuntimeType runtimeType(const Tuple_Ark_ResourceColor_Number& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Tuple_Union_Color_Number_String_Resource_Number* value) { +inline void WriteToString(string* result, const Opt_Tuple_ResourceColor_Number* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30152,11 +32132,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Tuple_Union_Color_Number_String_Resource_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Tuple_ResourceColor_Number& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean* value) { +inline void WriteToString(string* result, const Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating* value) { result->append("{"); // Tuple_Length_Length result->append(".center="); @@ -30165,7 +32146,7 @@ inline void WriteToString(string* result, const Literal_center_Tuple_Length_Leng result->append(", "); result->append(".radius="); WriteToString(result, &value->radius); - // Array_Tuple_Union_Color_Number_String_Resource_Number + // Array_Tuple_Ark_ResourceColor_Number result->append(", "); result->append(".colors="); WriteToString(result, &value->colors); @@ -30176,11 +32157,12 @@ inline void WriteToString(string* result, const Literal_center_Tuple_Length_Leng result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean* value) { +inline void WriteToString(string* result, const Opt_Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30193,11 +32175,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean* value) { +inline void WriteToString(string* result, const Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating* value) { result->append("{"); // Tuple_Length_Length result->append(".center="); @@ -30214,7 +32197,7 @@ inline void WriteToString(string* result, const Literal_center_Tuple_Length_Leng result->append(", "); result->append(".rotation="); WriteToString(result, &value->rotation); - // Array_Tuple_Union_Color_Number_String_Resource_Number + // Array_Tuple_Ark_ResourceColor_Number result->append(", "); result->append(".colors="); WriteToString(result, &value->colors); @@ -30225,11 +32208,12 @@ inline void WriteToString(string* result, const Literal_center_Tuple_Length_Leng result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean* value) { +inline void WriteToString(string* result, const Opt_Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30242,11 +32226,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean* value) { +inline void WriteToString(string* result, const Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating* value) { result->append("{"); // Union_Number_String result->append(".angle="); @@ -30255,7 +32240,7 @@ inline void WriteToString(string* result, const Literal_angle_Opt_Union_Number_S result->append(", "); result->append(".direction="); WriteToString(result, &value->direction); - // Array_Tuple_Union_Color_Number_String_Resource_Number + // Array_Tuple_Ark_ResourceColor_Number result->append(", "); result->append(".colors="); WriteToString(result, &value->colors); @@ -30266,11 +32251,12 @@ inline void WriteToString(string* result, const Literal_angle_Opt_Union_Number_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30283,7 +32269,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30299,7 +32286,8 @@ inline void WriteToString(string* result, const Ark_OverlayOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OverlayOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_OverlayOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -30316,11 +32304,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OverlayOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_OverlayOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_String_Union_Function_Undefined_CustomObject* value) { +inline void WriteToString(string* result, const Union_String_Ark_CustomBuilder_CustomObject* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -30334,7 +32323,7 @@ inline void WriteToString(string* result, const Union_String_Union_Function_Unde result->append(".value0="); WriteToString(result, &value->value0); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -30347,16 +32336,17 @@ inline void WriteToString(string* result, const Union_String_Union_Function_Unde result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_String_Union_Function_Undefined_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Union_String_Ark_CustomBuilder_CustomObject& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_String_Union_Function_Undefined_CustomObject: " + std::to_string(value.selector); + default: throw "Bad selector in Union_String_Ark_CustomBuilder_CustomObject: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_String_Union_Function_Undefined_CustomObject* value) { +inline void WriteToString(string* result, const Opt_Union_String_CustomBuilder_CustomObject* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30369,7 +32359,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Union_Function_Undefined_CustomObject& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_String_CustomBuilder_CustomObject& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30385,7 +32376,8 @@ inline void WriteToString(string* result, const Ark_DragInteractionOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DragInteractionOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_DragInteractionOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -30402,7 +32394,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DragInteractionOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_DragInteractionOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30422,7 +32415,8 @@ inline void WriteToString(string* result, const Ark_DragPreviewOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DragPreviewOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_DragPreviewOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -30439,11 +32433,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DragPreviewOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_DragPreviewOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_Function_Undefined_DragItemInfo_String* value) { +inline void WriteToString(string* result, const Union_Ark_CustomBuilder_DragItemInfo_String* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -30452,7 +32447,7 @@ inline void WriteToString(string* result, const Union_Union_Function_Undefined_D result->append(".selector="); WriteToString(result, value->selector); } - // Union_Function_Undefined + // Ark_CustomBuilder if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -30470,16 +32465,17 @@ inline void WriteToString(string* result, const Union_Union_Function_Undefined_D result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_Function_Undefined_DragItemInfo_String& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_CustomBuilder_DragItemInfo_String& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Union_Function_Undefined_DragItemInfo_String: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_CustomBuilder_DragItemInfo_String: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_Function_Undefined_DragItemInfo_String* value) { +inline void WriteToString(string* result, const Opt_Union_CustomBuilder_DragItemInfo_String* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30492,7 +32488,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Function_Undefined_DragItemInfo_String& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomBuilder_DragItemInfo_String& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30518,7 +32515,8 @@ inline void WriteToString(string* result, const Union_Array_CustomObject_Ark_Und result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Array_CustomObject_Ark_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_Array_CustomObject_Ark_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -30539,7 +32537,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Array_CustomObject_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Array_CustomObject_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30565,7 +32564,8 @@ inline void WriteToString(string* result, const Union_ClickEffect_Ark_Undefined* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_ClickEffect_Ark_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_ClickEffect_Ark_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -30586,7 +32586,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ClickEffect_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ClickEffect_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30603,7 +32604,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ChainStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_ChainStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30639,7 +32641,8 @@ inline void WriteToString(string* result, const Ark_LocalizedAlignRuleOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedAlignRuleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_LocalizedAlignRuleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -30656,32 +32659,33 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedAlignRuleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_LocalizedAlignRuleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_AlignRuleOption* value) { result->append("{"); - // Literal_anchor_String_align_HorizontalAlign + // Literal_String_anchor_HorizontalAlign_align result->append(".left="); WriteToString(result, &value->left); - // Literal_anchor_String_align_HorizontalAlign + // Literal_String_anchor_HorizontalAlign_align result->append(", "); result->append(".right="); WriteToString(result, &value->right); - // Literal_anchor_String_align_HorizontalAlign + // Literal_String_anchor_HorizontalAlign_align result->append(", "); result->append(".middle="); WriteToString(result, &value->middle); - // Literal_anchor_String_align_VerticalAlign + // Literal_String_anchor_VerticalAlign_align result->append(", "); result->append(".top="); WriteToString(result, &value->top); - // Literal_anchor_String_align_VerticalAlign + // Literal_String_anchor_VerticalAlign_align result->append(", "); result->append(".bottom="); WriteToString(result, &value->bottom); - // Literal_anchor_String_align_VerticalAlign + // Literal_String_anchor_VerticalAlign_align result->append(", "); result->append(".center="); WriteToString(result, &value->center); @@ -30692,7 +32696,8 @@ inline void WriteToString(string* result, const Ark_AlignRuleOption* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AlignRuleOption& value) { +inline Ark_RuntimeType runtimeType(const Ark_AlignRuleOption& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -30709,35 +32714,37 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AlignRuleOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_AlignRuleOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number* value) { +inline void WriteToString(string* result, const Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg* value) { result->append("{"); - // Union_Number_Literal_span_Number_offset_Number + // Union_Number_Literal_Number_span_offset result->append(".xs="); WriteToString(result, &value->xs); - // Union_Number_Literal_span_Number_offset_Number + // Union_Number_Literal_Number_span_offset result->append(", "); result->append(".sm="); WriteToString(result, &value->sm); - // Union_Number_Literal_span_Number_offset_Number + // Union_Number_Literal_Number_span_offset result->append(", "); result->append(".md="); WriteToString(result, &value->md); - // Union_Number_Literal_span_Number_offset_Number + // Union_Number_Literal_Number_span_offset result->append(", "); result->append(".lg="); WriteToString(result, &value->lg); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -30750,7 +32757,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30776,7 +32784,8 @@ inline void WriteToString(string* result, const Union_Position_LocalizedPosition result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Position_LocalizedPosition& value) { +inline Ark_RuntimeType runtimeType(const Union_Position_LocalizedPosition& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -30797,7 +32806,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Position_LocalizedPosition& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Position_LocalizedPosition& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30814,7 +32824,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Direction& value) { +inline Ark_RuntimeType runtimeType(const Opt_Direction& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30846,7 +32857,8 @@ inline void WriteToString(string* result, const Ark_sharedTransitionOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_sharedTransitionOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_sharedTransitionOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -30863,7 +32875,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_sharedTransitionOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_sharedTransitionOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30880,7 +32893,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Visibility& value) { +inline Ark_RuntimeType runtimeType(const Opt_Visibility& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30906,7 +32920,8 @@ inline void WriteToString(string* result, const Union_Number_InvertOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Number_InvertOptions& value) { +inline Ark_RuntimeType runtimeType(const Union_Number_InvertOptions& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -30927,7 +32942,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_InvertOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_InvertOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30958,7 +32974,8 @@ inline void WriteToString(string* result, const Union_Color_String_Resource* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Color_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Union_Color_String_Resource& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -30980,7 +32997,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -30996,7 +33014,8 @@ inline void WriteToString(string* result, const Ark_MotionBlurOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MotionBlurOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_MotionBlurOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31013,7 +33032,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MotionBlurOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_MotionBlurOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31029,7 +33049,8 @@ inline void WriteToString(string* result, const Ark_LinearGradientBlurOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LinearGradientBlurOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_LinearGradientBlurOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31046,7 +33067,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LinearGradientBlurOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_LinearGradientBlurOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31063,11 +33085,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureMask& value) { +inline Ark_RuntimeType runtimeType(const Opt_GestureMask& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface* value) { +inline void WriteToString(string* result, const Ark_GestureType* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -31114,7 +33137,8 @@ inline void WriteToString(string* result, const Union_TapGestureInterface_LongPr result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface& value) { +inline Ark_RuntimeType runtimeType(const Ark_GestureType& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -31123,11 +33147,11 @@ inline Ark_RuntimeType runtimeType(const Union_TapGestureInterface_LongPressGest case 4: return runtimeType(value.value4); case 5: return runtimeType(value.value5); case 6: return runtimeType(value.value6); - default: throw "Bad selector in Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_GestureType: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface* value) { +inline void WriteToString(string* result, const Opt_GestureType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31140,7 +33164,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface& value) { +inline Ark_RuntimeType runtimeType(const Opt_GestureType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31166,7 +33191,8 @@ inline void WriteToString(string* result, const Union_TransitionOptions_Transiti result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_TransitionOptions_TransitionEffect& value) { +inline Ark_RuntimeType runtimeType(const Union_TransitionOptions_TransitionEffect& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -31187,7 +33213,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_TransitionOptions_TransitionEffect& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_TransitionOptions_TransitionEffect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31231,7 +33258,8 @@ inline void WriteToString(string* result, const Ark_AnimateParam* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AnimateParam& value) { +inline Ark_RuntimeType runtimeType(const Ark_AnimateParam& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31248,7 +33276,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AnimateParam& value) { +inline Ark_RuntimeType runtimeType(const Opt_AnimateParam& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31265,7 +33294,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FocusPriority& value) { +inline Ark_RuntimeType runtimeType(const Opt_FocusPriority& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31285,7 +33315,8 @@ inline void WriteToString(string* result, const Ark_FocusBoxStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FocusBoxStyle& value) { +inline Ark_RuntimeType runtimeType(const Ark_FocusBoxStyle& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31302,7 +33333,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FocusBoxStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_FocusBoxStyle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31319,11 +33351,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HoverEffect& value) { +inline Ark_RuntimeType runtimeType(const Opt_HoverEffect& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Union_Color_Number_String_Resource_ColoringStrategy* value) { +inline void WriteToString(string* result, const Union_Ark_ResourceColor_ColoringStrategy* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -31332,7 +33365,7 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append(".selector="); WriteToString(result, value->selector); } - // Union_Color_Number_String_Resource + // Ark_ResourceColor if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); @@ -31345,15 +33378,16 @@ inline void WriteToString(string* result, const Union_Union_Color_Number_String_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Union_Color_Number_String_Resource_ColoringStrategy& value) { +inline Ark_RuntimeType runtimeType(const Union_Ark_ResourceColor_ColoringStrategy& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_Union_Color_Number_String_Resource_ColoringStrategy: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Ark_ResourceColor_ColoringStrategy: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Union_Color_Number_String_Resource_ColoringStrategy* value) { +inline void WriteToString(string* result, const Opt_Union_ResourceColor_ColoringStrategy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31366,11 +33400,110 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Color_Number_String_Resource_ColoringStrategy& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_ColoringStrategy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle* value) { +inline void WriteToString(string* result, const Union_Length_Ark_OutlineRadiuses* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + if (value->selector == -1) { + result->append(".selector="); + WriteToString(result, value->selector); + } + // Ark_Length + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_OutlineRadiuses + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Union_Length_Ark_OutlineRadiuses& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: throw "Bad selector in Union_Length_Ark_OutlineRadiuses: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(string* result, const Opt_Union_Length_OutlineRadiuses* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_OutlineRadiuses& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Union_Length_Ark_EdgeOutlineWidths* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + if (value->selector == -1) { + result->append(".selector="); + WriteToString(result, value->selector); + } + // Ark_Length + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_EdgeOutlineWidths + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Union_Length_Ark_EdgeOutlineWidths& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: throw "Bad selector in Union_Length_Ark_EdgeOutlineWidths: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(string* result, const Opt_Union_Length_EdgeOutlineWidths* value) { +result->append("{.tag="); +result->append(tagNameExact((Ark_Tag)(value->tag))); +result->append(", .value="); + if (value->tag != ARK_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } +result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_EdgeOutlineWidths& value) +{ + return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(string* result, const Union_OutlineStyle_Ark_EdgeOutlineStyles* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -31384,7 +33517,7 @@ inline void WriteToString(string* result, const Union_OutlineStyle_Literal_top_O result->append(".value0="); WriteToString(result, value->value0); } - // Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle + // Ark_EdgeOutlineStyles if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -31392,15 +33525,16 @@ inline void WriteToString(string* result, const Union_OutlineStyle_Literal_top_O result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle& value) { +inline Ark_RuntimeType runtimeType(const Union_OutlineStyle_Ark_EdgeOutlineStyles& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: throw "Bad selector in Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle: " + std::to_string(value.selector); + default: throw "Bad selector in Union_OutlineStyle_Ark_EdgeOutlineStyles: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle* value) { +inline void WriteToString(string* result, const Opt_Union_OutlineStyle_EdgeOutlineStyles* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31413,31 +33547,33 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_OutlineStyle_EdgeOutlineStyles& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_OutlineOptions* value) { result->append("{"); - // Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length + // Union_Ark_EdgeOutlineWidths_Length result->append(".width="); WriteToString(result, &value->width); - // Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors + // Union_Ark_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors result->append(", "); result->append(".color="); WriteToString(result, &value->color); - // Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length + // Union_Ark_OutlineRadiuses_Length result->append(", "); result->append(".radius="); WriteToString(result, &value->radius); - // Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle + // Union_Ark_EdgeOutlineStyles_OutlineStyle result->append(", "); result->append(".style="); WriteToString(result, &value->style); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OutlineOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_OutlineOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31454,13 +33590,14 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OutlineOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_OutlineOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_BorderImageOption* value) { result->append("{"); - // Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths + // Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths result->append(".slice="); WriteToString(result, &value->slice); // Ark_RepeatMode @@ -31471,11 +33608,11 @@ inline void WriteToString(string* result, const Ark_BorderImageOption* value) { result->append(", "); result->append(".source="); WriteToString(result, &value->source); - // Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths + // Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths result->append(", "); result->append(".width="); WriteToString(result, &value->width); - // Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths + // Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths result->append(", "); result->append(".outset="); WriteToString(result, &value->outset); @@ -31486,7 +33623,8 @@ inline void WriteToString(string* result, const Ark_BorderImageOption* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BorderImageOption& value) { +inline Ark_RuntimeType runtimeType(const Ark_BorderImageOption& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31503,11 +33641,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BorderImageOption& value) { +inline Ark_RuntimeType runtimeType(const Opt_BorderImageOption& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses* value) { +inline void WriteToString(string* result, const Union_Length_Ark_BorderRadiuses_LocalizedBorderRadiuses* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -31521,7 +33660,7 @@ inline void WriteToString(string* result, const Union_Length_Literal_topLeft_Opt result->append(".value0="); WriteToString(result, &value->value0); } - // Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length + // Ark_BorderRadiuses if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -31534,16 +33673,17 @@ inline void WriteToString(string* result, const Union_Length_Literal_topLeft_Opt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses& value) { +inline Ark_RuntimeType runtimeType(const Union_Length_Ark_BorderRadiuses_LocalizedBorderRadiuses& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses: " + std::to_string(value.selector); + default: throw "Bad selector in Union_Length_Ark_BorderRadiuses_LocalizedBorderRadiuses: " + std::to_string(value.selector); } } template <> -inline void WriteToString(string* result, const Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses* value) { +inline void WriteToString(string* result, const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31556,39 +33696,41 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_BorderOptions* value) { result->append("{"); - // Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths + // Union_Ark_EdgeWidths_Length_LocalizedEdgeWidths result->append(".width="); WriteToString(result, &value->width); - // Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors + // Union_Ark_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors result->append(", "); result->append(".color="); WriteToString(result, &value->color); - // Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses + // Union_Ark_BorderRadiuses_Length_LocalizedBorderRadiuses result->append(", "); result->append(".radius="); WriteToString(result, &value->radius); - // Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle + // Union_Ark_EdgeStyles_BorderStyle result->append(", "); result->append(".style="); WriteToString(result, &value->style); - // Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths + // Union_Ark_EdgeWidths_CustomObject_LocalizedEdgeWidths result->append(", "); result->append(".dashGap="); WriteToString(result, &value->dashGap); - // Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths + // Union_Ark_EdgeWidths_CustomObject_LocalizedEdgeWidths result->append(", "); result->append(".dashWidth="); WriteToString(result, &value->dashWidth); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BorderOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_BorderOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31605,7 +33747,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BorderOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_BorderOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31629,7 +33772,8 @@ inline void WriteToString(string* result, const Ark_ForegroundBlurStyleOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ForegroundBlurStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ForegroundBlurStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31646,7 +33790,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ForegroundBlurStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ForegroundBlurStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31658,7 +33803,8 @@ inline void WriteToString(string* result, const Ark_ForegroundEffectOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ForegroundEffectOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ForegroundEffectOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31675,19 +33821,21 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ForegroundEffectOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ForegroundEffectOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> inline void WriteToString(string* result, const Ark_ResizableOptions* value) { result->append("{"); - // Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length + // Ark_EdgeWidths result->append(".slice="); WriteToString(result, &value->slice); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ResizableOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ResizableOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31704,7 +33852,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ResizableOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ResizableOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31721,7 +33870,7 @@ inline void WriteToString(string* result, const Ark_BackgroundEffectOptions* val result->append(", "); result->append(".brightness="); WriteToString(result, &value->brightness); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".color="); WriteToString(result, &value->color); @@ -31737,7 +33886,7 @@ inline void WriteToString(string* result, const Ark_BackgroundEffectOptions* val result->append(", "); result->append(".policy="); WriteToString(result, &value->policy); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".inactiveColor="); WriteToString(result, &value->inactiveColor); @@ -31748,7 +33897,8 @@ inline void WriteToString(string* result, const Ark_BackgroundEffectOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BackgroundEffectOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_BackgroundEffectOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31765,7 +33915,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BackgroundEffectOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_BackgroundEffectOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31790,7 +33941,7 @@ inline void WriteToString(string* result, const Ark_BackgroundBlurStyleOptions* result->append(", "); result->append(".policy="); WriteToString(result, &value->policy); - // Union_Color_Number_String_Resource + // Ark_ResourceColor result->append(", "); result->append(".inactiveColor="); WriteToString(result, &value->inactiveColor); @@ -31801,7 +33952,8 @@ inline void WriteToString(string* result, const Ark_BackgroundBlurStyleOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BackgroundBlurStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_BackgroundBlurStyleOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31818,7 +33970,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BackgroundBlurStyleOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_BackgroundBlurStyleOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31844,7 +33997,8 @@ inline void WriteToString(string* result, const Union_Position_Alignment* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Position_Alignment& value) { +inline Ark_RuntimeType runtimeType(const Union_Position_Alignment& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -31865,7 +34019,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Alignment& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Alignment& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31891,7 +34046,8 @@ inline void WriteToString(string* result, const Union_SizeOptions_ImageSize* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_SizeOptions_ImageSize& value) { +inline Ark_RuntimeType runtimeType(const Union_SizeOptions_ImageSize& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -31912,7 +34068,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SizeOptions_ImageSize& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_SizeOptions_ImageSize& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31929,7 +34086,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageRepeat& value) { +inline Ark_RuntimeType runtimeType(const Opt_ImageRepeat& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -31953,7 +34111,8 @@ inline void WriteToString(string* result, const Ark_PixelRoundPolicy* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PixelRoundPolicy& value) { +inline Ark_RuntimeType runtimeType(const Ark_PixelRoundPolicy& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -31970,11 +34129,12 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PixelRoundPolicy& value) { +inline Ark_RuntimeType runtimeType(const Opt_PixelRoundPolicy& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> -inline void WriteToString(string* result, const Literal_align_Opt_Alignment* value) { +inline void WriteToString(string* result, const Literal_Opt_Alignment_align* value) { result->append("{"); // Ark_Alignment result->append(".align="); @@ -31982,11 +34142,12 @@ inline void WriteToString(string* result, const Literal_align_Opt_Alignment* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Literal_align_Opt_Alignment& value) { +inline Ark_RuntimeType runtimeType(const Literal_Opt_Alignment_align& value) +{ return ARK_RUNTIME_OBJECT; } template <> -inline void WriteToString(string* result, const Opt_Literal_align_Opt_Alignment* value) { +inline void WriteToString(string* result, const Opt_Literal_Opt_Alignment_align* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -31999,7 +34160,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_align_Opt_Alignment& value) { +inline Ark_RuntimeType runtimeType(const Opt_Literal_Opt_Alignment_align& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -32016,7 +34178,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HitTestMode& value) { +inline Ark_RuntimeType runtimeType(const Opt_HitTestMode& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -32040,7 +34203,8 @@ inline void WriteToString(string* result, const Ark_ConstraintSizeOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ConstraintSizeOptions& value) { +inline Ark_RuntimeType runtimeType(const Ark_ConstraintSizeOptions& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -32057,7 +34221,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ConstraintSizeOptions& value) { +inline Ark_RuntimeType runtimeType(const Opt_ConstraintSizeOptions& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -32083,7 +34248,8 @@ inline void WriteToString(string* result, const Union_Array_Rectangle_Rectangle* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_Array_Rectangle_Rectangle& value) { +inline Ark_RuntimeType runtimeType(const Union_Array_Rectangle_Rectangle& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -32104,7 +34270,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Array_Rectangle_Rectangle& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_Array_Rectangle_Rectangle& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -32121,7 +34288,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SafeAreaEdge& value) { +inline Ark_RuntimeType runtimeType(const Opt_SafeAreaEdge& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -32156,7 +34324,8 @@ inline void WriteToString(string* result, const Array_SafeAreaEdge* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_SafeAreaEdge& value) { +inline Ark_RuntimeType runtimeType(const Array_SafeAreaEdge& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -32173,7 +34342,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_SafeAreaEdge& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_SafeAreaEdge& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -32190,7 +34360,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SafeAreaType& value) { +inline Ark_RuntimeType runtimeType(const Opt_SafeAreaType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -32225,7 +34396,8 @@ inline void WriteToString(string* result, const Array_SafeAreaType* value, const result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Array_SafeAreaType& value) { +inline Ark_RuntimeType runtimeType(const Array_SafeAreaType& value) +{ return ARK_RUNTIME_OBJECT; } template <> @@ -32242,7 +34414,8 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_SafeAreaType& value) { +inline Ark_RuntimeType runtimeType(const Opt_Array_SafeAreaType& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } template <> @@ -32268,7 +34441,8 @@ inline void WriteToString(string* result, const Union_DrawModifier_Undefined* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Union_DrawModifier_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Union_DrawModifier_Undefined& value) +{ switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); @@ -32289,18 +34463,21 @@ result->append(", .value="); result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_DrawModifier_Undefined& value) { +inline Ark_RuntimeType runtimeType(const Opt_Union_DrawModifier_Undefined& value) +{ return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); } // Serializers + class Serializer : public SerializerBase { public: Serializer(uint8_t* data) : SerializerBase(data) { } - void writeResource(Ark_Resource value) { + void writeResource(Ark_Resource value) + { Serializer& valueSerializer = *this; const auto value_id = value.id; valueSerializer.writeNumber(value_id); @@ -32324,7 +34501,8 @@ class Serializer : public SerializerBase { } } } - void writePosition(Ark_Position value) { + void writePosition(Ark_Position value) + { Serializer& valueSerializer = *this; const auto value_x = value.x; int32_t value_x_type = ARK_RUNTIME_UNDEFINED; @@ -32343,7 +34521,8 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_y_value); } } - void writeArea(Ark_Area value) { + void writeArea(Ark_Area value) + { Serializer& valueSerializer = *this; const auto value_width = value.width; valueSerializer.writeLength(value_width); @@ -32354,10 +34533,11 @@ class Serializer : public SerializerBase { const auto value_globalPosition = value.globalPosition; valueSerializer.writePosition(value_globalPosition); } - void writeTransitionEffect(Ark_TransitionEffect value) { - Serializer& valueSerializer = *this; + void writeTransitionEffect(Ark_TransitionEffect value) + { } - void writeShadowOptions(Ark_ShadowOptions value) { + void writeShadowOptions(Ark_ShadowOptions value) + { Serializer& valueSerializer = *this; const auto value_radius = value.radius; int32_t value_radius_type = ARK_RUNTIME_UNDEFINED; @@ -32456,7 +34636,8 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_fill_value); } } - void writeFont(Ark_Font value) { + void writeFont(Ark_Font value) + { Serializer& valueSerializer = *this; const auto value_size = value.size; int32_t value_size_type = ARK_RUNTIME_UNDEFINED; @@ -32518,12 +34699,14 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_style_value); } } - void writeEventTarget(Ark_EventTarget value) { + void writeEventTarget(Ark_EventTarget value) + { Serializer& valueSerializer = *this; const auto value_area = value.area; valueSerializer.writeArea(value_area); } - void writeLocalizedEdgeColors(Ark_LocalizedEdgeColors value) { + void writeLocalizedEdgeColors(Ark_LocalizedEdgeColors value) + { Serializer& valueSerializer = *this; const auto value_top = value.top; int32_t value_top_type = ARK_RUNTIME_UNDEFINED; @@ -32642,7 +34825,8 @@ class Serializer : public SerializerBase { } } } - void writeLocalizedEdgeWidths(Ark_LocalizedEdgeWidths value) { + void writeLocalizedEdgeWidths(Ark_LocalizedEdgeWidths value) + { Serializer& valueSerializer = *this; const auto value_top = value.top; int32_t value_top_type = ARK_RUNTIME_UNDEFINED; @@ -32677,7 +34861,8 @@ class Serializer : public SerializerBase { valueSerializer.writeCustomObject("LengthMetrics", value_start_value); } } - void writeSheetTitleOptions(Ark_SheetTitleOptions value) { + void writeSheetTitleOptions(Ark_SheetTitleOptions value) + { Serializer& valueSerializer = *this; const auto value_title = value.title; int32_t value_title_type = ARK_RUNTIME_UNDEFINED; @@ -32712,7 +34897,8 @@ class Serializer : public SerializerBase { } } } - void writeContextMenuAnimationOptions(Ark_ContextMenuAnimationOptions value) { + void writeContextMenuAnimationOptions(Ark_ContextMenuAnimationOptions value) + { Serializer& valueSerializer = *this; const auto value_scale = value.scale; int32_t value_scale_type = ARK_RUNTIME_UNDEFINED; @@ -32739,7 +34925,8 @@ class Serializer : public SerializerBase { valueSerializer.writeCustomObject("AnimationRange", value_hoverScale_value); } } - void writePopupMessageOptions(Ark_PopupMessageOptions value) { + void writePopupMessageOptions(Ark_PopupMessageOptions value) + { Serializer& valueSerializer = *this; const auto value_textColor = value.textColor; int32_t value_textColor_type = ARK_RUNTIME_UNDEFINED; @@ -32779,10 +34966,8 @@ class Serializer : public SerializerBase { valueSerializer.writeFont(value_font_value); } } - void writeICurve(Ark_ICurve value) { - Serializer& valueSerializer = *this; - } - void writeRotateOptions(Ark_RotateOptions value) { + void writeRotateOptions(Ark_RotateOptions value) + { Serializer& valueSerializer = *this; const auto value_x = value.x; int32_t value_x_type = ARK_RUNTIME_UNDEFINED; @@ -32876,7 +35061,8 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_angle_1); } } - void writeScaleOptions(Ark_ScaleOptions value) { + void writeScaleOptions(Ark_ScaleOptions value) + { Serializer& valueSerializer = *this; const auto value_x = value.x; int32_t value_x_type = ARK_RUNTIME_UNDEFINED; @@ -32941,7 +35127,8 @@ class Serializer : public SerializerBase { } } } - void writeTranslateOptions(Ark_TranslateOptions value) { + void writeTranslateOptions(Ark_TranslateOptions value) + { Serializer& valueSerializer = *this; const auto value_x = value.x; int32_t value_x_type = ARK_RUNTIME_UNDEFINED; @@ -33001,7 +35188,8 @@ class Serializer : public SerializerBase { } } } - void writeLinearGradient(Ark_LinearGradient value) { + void writeLinearGradient(Ark_LinearGradient value) + { Serializer& valueSerializer = *this; const auto value_angle = value.angle; int32_t value_angle_type = ARK_RUNTIME_UNDEFINED; @@ -33071,7 +35259,8 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_repeating_value); } } - void writeLocalizedBorderRadiuses(Ark_LocalizedBorderRadiuses value) { + void writeLocalizedBorderRadiuses(Ark_LocalizedBorderRadiuses value) + { Serializer& valueSerializer = *this; const auto value_topStart = value.topStart; int32_t value_topStart_type = ARK_RUNTIME_UNDEFINED; @@ -33106,7 +35295,8 @@ class Serializer : public SerializerBase { valueSerializer.writeCustomObject("LengthMetrics", value_bottomEnd_value); } } - void writeBlurOptions(Ark_BlurOptions value) { + void writeBlurOptions(Ark_BlurOptions value) + { Serializer& valueSerializer = *this; const auto value_grayscale = value.grayscale; valueSerializer.writeInt8(runtimeType(value_grayscale)); @@ -33115,7 +35305,8 @@ class Serializer : public SerializerBase { const auto value_grayscale_1 = value_grayscale.value1; valueSerializer.writeNumber(value_grayscale_1); } - void writeBaseEvent(Ark_BaseEvent value) { + void writeBaseEvent(Ark_BaseEvent value) + { Serializer& valueSerializer = *this; const auto value_target = value.target; valueSerializer.writeEventTarget(value_target); @@ -33148,7 +35339,8 @@ class Serializer : public SerializerBase { const auto value_sourceTool = value.sourceTool; valueSerializer.writeInt32(value_sourceTool); } - void writeRectResult(Ark_RectResult value) { + void writeRectResult(Ark_RectResult value) + { Serializer& valueSerializer = *this; const auto value_x = value.x; valueSerializer.writeNumber(value_x); @@ -33159,10 +35351,11 @@ class Serializer : public SerializerBase { const auto value_height = value.height; valueSerializer.writeNumber(value_height); } - void writeColorFilter(Ark_ColorFilter value) { - Serializer& valueSerializer = *this; + void writeColorFilter(Ark_ColorFilter value) + { } - void writeLightSource(Ark_LightSource value) { + void writeLightSource(Ark_LightSource value) + { Serializer& valueSerializer = *this; const auto value_positionX = value.positionX; valueSerializer.writeLength(value_positionX); @@ -33202,7 +35395,8 @@ class Serializer : public SerializerBase { } } } - void writeBindOptions(Ark_BindOptions value) { + void writeBindOptions(Ark_BindOptions value) + { Serializer& valueSerializer = *this; const auto value_backgroundColor = value.backgroundColor; int32_t value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; @@ -33266,7 +35460,8 @@ class Serializer : public SerializerBase { valueSerializer.writeFunction(value_onWillDisappear_value); } } - void writeContextMenuOptions(Ark_ContextMenuOptions value) { + void writeContextMenuOptions(Ark_ContextMenuOptions value) + { Serializer& valueSerializer = *this; const auto value_offset = value.offset; int32_t value_offset_type = ARK_RUNTIME_UNDEFINED; @@ -33464,7 +35659,8 @@ class Serializer : public SerializerBase { valueSerializer.writeTransitionEffect(value_transition_value); } } - void writeCustomPopupOptions(Ark_CustomPopupOptions value) { + void writeCustomPopupOptions(Ark_CustomPopupOptions value) + { Serializer& valueSerializer = *this; const auto value_builder = value.builder; int32_t value_builder_type = ARK_RUNTIME_UNDEFINED; @@ -33743,7 +35939,8 @@ class Serializer : public SerializerBase { } } } - void writePopupOptions(Ark_PopupOptions value) { + void writePopupOptions(Ark_PopupOptions value) + { Serializer& valueSerializer = *this; const auto value_message = value.message; valueSerializer.writeString(value_message); @@ -34014,19 +36211,20 @@ class Serializer : public SerializerBase { } } } - void writeRectAttribute(Ark_RectAttribute value) { - Serializer& valueSerializer = *this; + void writeRectAttribute(Ark_RectAttribute value) + { } - void writePathAttribute(Ark_PathAttribute value) { - Serializer& valueSerializer = *this; + void writePathAttribute(Ark_PathAttribute value) + { } - void writeEllipseAttribute(Ark_EllipseAttribute value) { - Serializer& valueSerializer = *this; + void writeEllipseAttribute(Ark_EllipseAttribute value) + { } - void writeCircleAttribute(Ark_CircleAttribute value) { - Serializer& valueSerializer = *this; + void writeCircleAttribute(Ark_CircleAttribute value) + { } - void writeOverlayOffset(Ark_OverlayOffset value) { + void writeOverlayOffset(Ark_OverlayOffset value) + { Serializer& valueSerializer = *this; const auto value_x = value.x; int32_t value_x_type = ARK_RUNTIME_UNDEFINED; @@ -34045,7 +36243,8 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_y_value); } } - void writeDragItemInfo(Ark_DragItemInfo value) { + void writeDragItemInfo(Ark_DragItemInfo value) + { Serializer& valueSerializer = *this; const auto value_pixelMap = value.pixelMap; int32_t value_pixelMap_type = ARK_RUNTIME_UNDEFINED; @@ -34081,7 +36280,8 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_extraInfo_value); } } - void writeClickEffect(Ark_ClickEffect value) { + void writeClickEffect(Ark_ClickEffect value) + { Serializer& valueSerializer = *this; const auto value_level = value.level; valueSerializer.writeInt32(value_level); @@ -34094,7 +36294,8 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_scale_value); } } - void writeBias(Ark_Bias value) { + void writeBias(Ark_Bias value) + { Serializer& valueSerializer = *this; const auto value_horizontal = value.horizontal; int32_t value_horizontal_type = ARK_RUNTIME_UNDEFINED; @@ -34113,21 +36314,24 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_vertical_value); } } - void writeLocalizedVerticalAlignParam(Ark_LocalizedVerticalAlignParam value) { + void writeLocalizedVerticalAlignParam(Ark_LocalizedVerticalAlignParam value) + { Serializer& valueSerializer = *this; const auto value_anchor = value.anchor; valueSerializer.writeString(value_anchor); const auto value_align = value.align; valueSerializer.writeInt32(value_align); } - void writeLocalizedHorizontalAlignParam(Ark_LocalizedHorizontalAlignParam value) { + void writeLocalizedHorizontalAlignParam(Ark_LocalizedHorizontalAlignParam value) + { Serializer& valueSerializer = *this; const auto value_anchor = value.anchor; valueSerializer.writeString(value_anchor); const auto value_align = value.align; valueSerializer.writeInt32(value_align); } - void writeLocalizedEdges(Ark_LocalizedEdges value) { + void writeLocalizedEdges(Ark_LocalizedEdges value) + { Serializer& valueSerializer = *this; const auto value_top = value.top; int32_t value_top_type = ARK_RUNTIME_UNDEFINED; @@ -34162,7 +36366,8 @@ class Serializer : public SerializerBase { valueSerializer.writeCustomObject("LengthMetrics", value_end_value); } } - void writeEdges(Ark_Edges value) { + void writeEdges(Ark_Edges value) + { Serializer& valueSerializer = *this; const auto value_top = value.top; int32_t value_top_type = ARK_RUNTIME_UNDEFINED; @@ -34197,7 +36402,8 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_right_value); } } - void writeLocalizedPosition(Ark_LocalizedPosition value) { + void writeLocalizedPosition(Ark_LocalizedPosition value) + { Serializer& valueSerializer = *this; const auto value_start = value.start; int32_t value_start_type = ARK_RUNTIME_UNDEFINED; @@ -34216,7 +36422,8 @@ class Serializer : public SerializerBase { valueSerializer.writeCustomObject("LengthMetrics", value_top_value); } } - void writeMotionPathOptions(Ark_MotionPathOptions value) { + void writeMotionPathOptions(Ark_MotionPathOptions value) + { Serializer& valueSerializer = *this; const auto value_path = value.path; valueSerializer.writeString(value_path); @@ -34245,7 +36452,8 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_rotatable_value); } } - void writeInvertOptions(Ark_InvertOptions value) { + void writeInvertOptions(Ark_InvertOptions value) + { Serializer& valueSerializer = *this; const auto value_low = value.low; valueSerializer.writeNumber(value_low); @@ -34256,35 +36464,37 @@ class Serializer : public SerializerBase { const auto value_thresholdRange = value.thresholdRange; valueSerializer.writeNumber(value_thresholdRange); } - void writeMotionBlurAnchor(Ark_MotionBlurAnchor value) { + void writeMotionBlurAnchor(Ark_MotionBlurAnchor value) + { Serializer& valueSerializer = *this; const auto value_x = value.x; valueSerializer.writeNumber(value_x); const auto value_y = value.y; valueSerializer.writeNumber(value_y); } - void writeGestureGroupInterface(Ark_GestureGroupInterface value) { - Serializer& valueSerializer = *this; + void writeGestureGroupInterface(Ark_GestureGroupInterface value) + { } - void writeRotationGestureInterface(Ark_RotationGestureInterface value) { - Serializer& valueSerializer = *this; + void writeRotationGestureInterface(Ark_RotationGestureInterface value) + { } - void writeSwipeGestureInterface(Ark_SwipeGestureInterface value) { - Serializer& valueSerializer = *this; + void writeSwipeGestureInterface(Ark_SwipeGestureInterface value) + { } - void writePinchGestureInterface(Ark_PinchGestureInterface value) { - Serializer& valueSerializer = *this; + void writePinchGestureInterface(Ark_PinchGestureInterface value) + { } - void writePanGestureInterface(Ark_PanGestureInterface value) { - Serializer& valueSerializer = *this; + void writePanGestureInterface(Ark_PanGestureInterface value) + { } - void writeLongPressGestureInterface(Ark_LongPressGestureInterface value) { - Serializer& valueSerializer = *this; + void writeLongPressGestureInterface(Ark_LongPressGestureInterface value) + { } - void writeTapGestureInterface(Ark_TapGestureInterface value) { - Serializer& valueSerializer = *this; + void writeTapGestureInterface(Ark_TapGestureInterface value) + { } - void writeTransitionOptions(Ark_TransitionOptions value) { + void writeTransitionOptions(Ark_TransitionOptions value) + { Serializer& valueSerializer = *this; const auto value_type = value.type; int32_t value_type_type = ARK_RUNTIME_UNDEFINED; @@ -34327,7 +36537,8 @@ class Serializer : public SerializerBase { valueSerializer.writeRotateOptions(value_rotate_value); } } - void writeExpectedFrameRateRange(Ark_ExpectedFrameRateRange value) { + void writeExpectedFrameRateRange(Ark_ExpectedFrameRateRange value) + { Serializer& valueSerializer = *this; const auto value_min = value.min; valueSerializer.writeNumber(value_min); @@ -34336,7 +36547,8 @@ class Serializer : public SerializerBase { const auto value_expected = value.expected; valueSerializer.writeNumber(value_expected); } - void writeBlurStyleOptions(Ark_BlurStyleOptions value) { + void writeBlurStyleOptions(Ark_BlurStyleOptions value) + { Serializer& valueSerializer = *this; const auto value_colorMode = value.colorMode; int32_t value_colorMode_type = ARK_RUNTIME_UNDEFINED; @@ -34371,7 +36583,8 @@ class Serializer : public SerializerBase { valueSerializer.writeBlurOptions(value_blurOptions_value); } } - void writeSizeOptions(Ark_SizeOptions value) { + void writeSizeOptions(Ark_SizeOptions value) + { Serializer& valueSerializer = *this; const auto value_width = value.width; int32_t value_width_type = ARK_RUNTIME_UNDEFINED; @@ -34390,7 +36603,8 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_height_value); } } - void writeLocalizedPadding(Ark_LocalizedPadding value) { + void writeLocalizedPadding(Ark_LocalizedPadding value) + { Serializer& valueSerializer = *this; const auto value_top = value.top; int32_t value_top_type = ARK_RUNTIME_UNDEFINED; @@ -34425,7 +36639,8 @@ class Serializer : public SerializerBase { valueSerializer.writeCustomObject("LengthMetrics", value_start_value); } } - void writeRectangle(Ark_Rectangle value) { + void writeRectangle(Ark_Rectangle value) + { Serializer& valueSerializer = *this; const auto value_x = value.x; int32_t value_x_type = ARK_RUNTIME_UNDEFINED; @@ -34460,10 +36675,11 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_height_value); } } - void writeObject(Ark_Object value) { - Serializer& valueSerializer = *this; + void writeObject(Ark_Object value) + { } - void writeImageError(Ark_ImageError value) { + void writeImageError(Ark_ImageError value) + { Serializer& valueSerializer = *this; const auto value_componentWidth = value.componentWidth; valueSerializer.writeNumber(value_componentWidth); @@ -34472,7 +36688,8 @@ class Serializer : public SerializerBase { const auto value_message = value.message; valueSerializer.writeString(value_message); } - void writeFingerInfo(Ark_FingerInfo value) { + void writeFingerInfo(Ark_FingerInfo value) + { Serializer& valueSerializer = *this; const auto value_id = value.id; valueSerializer.writeNumber(value_id); @@ -34489,7 +36706,8 @@ class Serializer : public SerializerBase { const auto value_displayY = value.displayY; valueSerializer.writeNumber(value_displayY); } - void writeBaseGestureEvent(Ark_BaseGestureEvent value) { + void writeBaseGestureEvent(Ark_BaseGestureEvent value) + { Serializer& valueSerializer = *this; const auto value_target = value.target; valueSerializer.writeEventTarget(value_target); @@ -34529,7 +36747,8 @@ class Serializer : public SerializerBase { valueSerializer.writeFingerInfo(value_fingerList_element); } } - void writeGestureInfo(Ark_GestureInfo value) { + void writeGestureInfo(Ark_GestureInfo value) + { Serializer& valueSerializer = *this; const auto value_tag = value.tag; int32_t value_tag_type = ARK_RUNTIME_UNDEFINED; @@ -34544,14 +36763,16 @@ class Serializer : public SerializerBase { const auto value_isSystemGesture = value.isSystemGesture; valueSerializer.writeBoolean(value_isSystemGesture); } - void writeDragEvent(Ark_DragEvent value) { + void writeDragEvent(Ark_DragEvent value) + { Serializer& valueSerializer = *this; const auto value_dragBehavior = value.dragBehavior; valueSerializer.writeInt32(value_dragBehavior); const auto value_useCustomDropAnimation = value.useCustomDropAnimation; valueSerializer.writeBoolean(value_useCustomDropAnimation); } - void writeKeyEvent(Ark_KeyEvent value) { + void writeKeyEvent(Ark_KeyEvent value) + { Serializer& valueSerializer = *this; const auto value_type = value.type; valueSerializer.writeInt32(value_type); @@ -34572,7 +36793,8 @@ class Serializer : public SerializerBase { const auto value_intentionCode = value.intentionCode; valueSerializer.writeCustomObject("IntentionCode", value_intentionCode); } - void writeTouchObject(Ark_TouchObject value) { + void writeTouchObject(Ark_TouchObject value) + { Serializer& valueSerializer = *this; const auto value_type = value.type; valueSerializer.writeInt32(value_type); @@ -34595,7 +36817,8 @@ class Serializer : public SerializerBase { const auto value_y = value.y; valueSerializer.writeNumber(value_y); } - void writeTouchEvent(Ark_TouchEvent value) { + void writeTouchEvent(Ark_TouchEvent value) + { Serializer& valueSerializer = *this; const auto value_target = value.target; valueSerializer.writeEventTarget(value_target); @@ -34648,7 +36871,8 @@ class Serializer : public SerializerBase { const auto value_preventDefault = value.preventDefault; valueSerializer.writeFunction(value_preventDefault); } - void writeMouseEvent(Ark_MouseEvent value) { + void writeMouseEvent(Ark_MouseEvent value) + { Serializer& valueSerializer = *this; const auto value_target = value.target; valueSerializer.writeEventTarget(value_target); @@ -34703,7 +36927,8 @@ class Serializer : public SerializerBase { const auto value_stopPropagation = value.stopPropagation; valueSerializer.writeFunction(value_stopPropagation); } - void writeAccessibilityHoverEvent(Ark_AccessibilityHoverEvent value) { + void writeAccessibilityHoverEvent(Ark_AccessibilityHoverEvent value) + { Serializer& valueSerializer = *this; const auto value_target = value.target; valueSerializer.writeEventTarget(value_target); @@ -34750,7 +36975,8 @@ class Serializer : public SerializerBase { const auto value_windowY = value.windowY; valueSerializer.writeNumber(value_windowY); } - void writeHoverEvent(Ark_HoverEvent value) { + void writeHoverEvent(Ark_HoverEvent value) + { Serializer& valueSerializer = *this; const auto value_target = value.target; valueSerializer.writeEventTarget(value_target); @@ -34785,7 +37011,8 @@ class Serializer : public SerializerBase { const auto value_stopPropagation = value.stopPropagation; valueSerializer.writeFunction(value_stopPropagation); } - void writeClickEvent(Ark_ClickEvent value) { + void writeClickEvent(Ark_ClickEvent value) + { Serializer& valueSerializer = *this; const auto value_target = value.target; valueSerializer.writeEventTarget(value_target); @@ -34836,7 +37063,8 @@ class Serializer : public SerializerBase { const auto value_preventDefault = value.preventDefault; valueSerializer.writeFunction(value_preventDefault); } - void writeTouchTestInfo(Ark_TouchTestInfo value) { + void writeTouchTestInfo(Ark_TouchTestInfo value) + { Serializer& valueSerializer = *this; const auto value_windowX = value.windowX; valueSerializer.writeNumber(value_windowX); @@ -34855,10 +37083,11 @@ class Serializer : public SerializerBase { const auto value_id = value.id; valueSerializer.writeString(value_id); } - void writeUIGestureEvent(Ark_UIGestureEvent value) { - Serializer& valueSerializer = *this; + void writeUIGestureEvent(Ark_UIGestureEvent value) + { } - void writeImageAnalyzerConfig(Ark_ImageAnalyzerConfig value) { + void writeImageAnalyzerConfig(Ark_ImageAnalyzerConfig value) + { Serializer& valueSerializer = *this; const auto value_types = value.types; valueSerializer.writeInt8(runtimeType(value_types)); @@ -34868,7 +37097,8 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_types_element); } } - void writeImageAIOptions(Ark_ImageAIOptions value) { + void writeImageAIOptions(Ark_ImageAIOptions value) + { Serializer& valueSerializer = *this; const auto value_types = value.types; int32_t value_types_type = ARK_RUNTIME_UNDEFINED; @@ -34892,7 +37122,8 @@ class Serializer : public SerializerBase { valueSerializer.writeMaterialized(value_aiController_value); } } - void writePointLightStyle(Ark_PointLightStyle value) { + void writePointLightStyle(Ark_PointLightStyle value) + { Serializer& valueSerializer = *this; const auto value_lightSource = value.lightSource; int32_t value_lightSource_type = ARK_RUNTIME_UNDEFINED; @@ -34919,7 +37150,8 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_bloom_value); } } - void writeMarkStyle(Ark_MarkStyle value) { + void writeMarkStyle(Ark_MarkStyle value) + { Serializer& valueSerializer = *this; const auto value_strokeColor = value.strokeColor; int32_t value_strokeColor_type = ARK_RUNTIME_UNDEFINED; @@ -34967,7 +37199,8 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_strokeWidth_value); } } - void writeCheckboxOptions(Ark_CheckboxOptions value) { + void writeCheckboxOptions(Ark_CheckboxOptions value) + { Serializer& valueSerializer = *this; const auto value_name = value.name; int32_t value_name_type = ARK_RUNTIME_UNDEFINED; @@ -35003,7 +37236,8 @@ class Serializer : public SerializerBase { } } } - void writeLabelStyle(Ark_LabelStyle value) { + void writeLabelStyle(Ark_LabelStyle value) + { Serializer& valueSerializer = *this; const auto value_overflow = value.overflow; int32_t value_overflow_type = ARK_RUNTIME_UNDEFINED; @@ -35098,7 +37332,8 @@ class Serializer : public SerializerBase { valueSerializer.writeFont(value_font_value); } } - void writeButtonOptions(Ark_ButtonOptions value) { + void writeButtonOptions(Ark_ButtonOptions value) + { Serializer& valueSerializer = *this; const auto value_type = value.type; int32_t value_type_type = ARK_RUNTIME_UNDEFINED; @@ -35141,14 +37376,16 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_role_value); } } - void writeBackgroundBrightnessOptions(Ark_BackgroundBrightnessOptions value) { + void writeBackgroundBrightnessOptions(Ark_BackgroundBrightnessOptions value) + { Serializer& valueSerializer = *this; const auto value_rate = value.rate; valueSerializer.writeNumber(value_rate); const auto value_lightUpDegree = value.lightUpDegree; valueSerializer.writeNumber(value_lightUpDegree); } - void writePixelStretchEffectOptions(Ark_PixelStretchEffectOptions value) { + void writePixelStretchEffectOptions(Ark_PixelStretchEffectOptions value) + { Serializer& valueSerializer = *this; const auto value_top = value.top; int32_t value_top_type = ARK_RUNTIME_UNDEFINED; @@ -35183,7 +37420,8 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_right_value); } } - void writeStateStyles(Ark_StateStyles value) { + void writeStateStyles(Ark_StateStyles value) + { Serializer& valueSerializer = *this; const auto value_normal = value.normal; int32_t value_normal_type = ARK_RUNTIME_UNDEFINED; @@ -35234,7 +37472,8 @@ class Serializer : public SerializerBase { valueSerializer.writeCustomObject("Object", value_selected_value); } } - void writeSheetOptions(Ark_SheetOptions value) { + void writeSheetOptions(Ark_SheetOptions value) + { Serializer& valueSerializer = *this; const auto value_backgroundColor = value.backgroundColor; int32_t value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; @@ -35856,7 +38095,8 @@ class Serializer : public SerializerBase { valueSerializer.writeCustomObject("UIContext", value_uiContext_value); } } - void writeContentCoverOptions(Ark_ContentCoverOptions value) { + void writeContentCoverOptions(Ark_ContentCoverOptions value) + { Serializer& valueSerializer = *this; const auto value_backgroundColor = value.backgroundColor; int32_t value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; @@ -35944,7 +38184,8 @@ class Serializer : public SerializerBase { valueSerializer.writeTransitionEffect(value_transition_value); } } - void writeMenuOptions(Ark_MenuOptions value) { + void writeMenuOptions(Ark_MenuOptions value) + { Serializer& valueSerializer = *this; const auto value_offset = value.offset; int32_t value_offset_type = ARK_RUNTIME_UNDEFINED; @@ -36169,7 +38410,8 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_showInSubWindow_value); } } - void writeMenuElement(Ark_MenuElement value) { + void writeMenuElement(Ark_MenuElement value) + { Serializer& valueSerializer = *this; const auto value_value = value.value; int32_t value_value_type = ARK_RUNTIME_UNDEFINED; @@ -36222,7 +38464,8 @@ class Serializer : public SerializerBase { const auto value_action = value.action; valueSerializer.writeFunction(value_action); } - void writeGeometryTransitionOptions(Ark_GeometryTransitionOptions value) { + void writeGeometryTransitionOptions(Ark_GeometryTransitionOptions value) + { Serializer& valueSerializer = *this; const auto value_follow = value.follow; int32_t value_follow_type = ARK_RUNTIME_UNDEFINED; @@ -36241,7 +38484,8 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_hierarchyStrategy_value); } } - void writeOverlayOptions(Ark_OverlayOptions value) { + void writeOverlayOptions(Ark_OverlayOptions value) + { Serializer& valueSerializer = *this; const auto value_align = value.align; int32_t value_align_type = ARK_RUNTIME_UNDEFINED; @@ -36260,7 +38504,8 @@ class Serializer : public SerializerBase { valueSerializer.writeOverlayOffset(value_offset_value); } } - void writeDragInteractionOptions(Ark_DragInteractionOptions value) { + void writeDragInteractionOptions(Ark_DragInteractionOptions value) + { Serializer& valueSerializer = *this; const auto value_isMultiSelectionEnabled = value.isMultiSelectionEnabled; int32_t value_isMultiSelectionEnabled_type = ARK_RUNTIME_UNDEFINED; @@ -36279,7 +38524,8 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_defaultAnimationBeforeLifting_value); } } - void writeDragPreviewOptions(Ark_DragPreviewOptions value) { + void writeDragPreviewOptions(Ark_DragPreviewOptions value) + { Serializer& valueSerializer = *this; const auto value_mode = value.mode; int32_t value_mode_type = ARK_RUNTIME_UNDEFINED; @@ -36333,7 +38579,8 @@ class Serializer : public SerializerBase { } } } - void writeLocalizedAlignRuleOptions(Ark_LocalizedAlignRuleOptions value) { + void writeLocalizedAlignRuleOptions(Ark_LocalizedAlignRuleOptions value) + { Serializer& valueSerializer = *this; const auto value_start = value.start; int32_t value_start_type = ARK_RUNTIME_UNDEFINED; @@ -36392,7 +38639,8 @@ class Serializer : public SerializerBase { valueSerializer.writeBias(value_bias_value); } } - void writeAlignRuleOption(Ark_AlignRuleOption value) { + void writeAlignRuleOption(Ark_AlignRuleOption value) + { Serializer& valueSerializer = *this; const auto value_left = value.left; int32_t value_left_type = ARK_RUNTIME_UNDEFINED; @@ -36469,7 +38717,8 @@ class Serializer : public SerializerBase { valueSerializer.writeBias(value_bias_value); } } - void writesharedTransitionOptions(Ark_sharedTransitionOptions value) { + void writesharedTransitionOptions(Ark_sharedTransitionOptions value) + { Serializer& valueSerializer = *this; const auto value_duration = value.duration; int32_t value_duration_type = ARK_RUNTIME_UNDEFINED; @@ -36500,7 +38749,7 @@ class Serializer : public SerializerBase { else if (((value_curve_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_curve_value_2 = value_curve_value.value2; - valueSerializer.writeICurve(value_curve_value_2); + valueSerializer.writeMaterialized(value_curve_value_2); } } const auto value_delay = value.delay; @@ -36536,14 +38785,16 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_type_value); } } - void writeMotionBlurOptions(Ark_MotionBlurOptions value) { + void writeMotionBlurOptions(Ark_MotionBlurOptions value) + { Serializer& valueSerializer = *this; const auto value_radius = value.radius; valueSerializer.writeNumber(value_radius); const auto value_anchor = value.anchor; valueSerializer.writeMotionBlurAnchor(value_anchor); } - void writeLinearGradientBlurOptions(Ark_LinearGradientBlurOptions value) { + void writeLinearGradientBlurOptions(Ark_LinearGradientBlurOptions value) + { Serializer& valueSerializer = *this; const auto value_fractionStops = value.fractionStops; valueSerializer.writeInt8(runtimeType(value_fractionStops)); @@ -36559,7 +38810,8 @@ class Serializer : public SerializerBase { const auto value_direction = value.direction; valueSerializer.writeInt32(value_direction); } - void writeAnimateParam(Ark_AnimateParam value) { + void writeAnimateParam(Ark_AnimateParam value) + { Serializer& valueSerializer = *this; const auto value_duration = value.duration; int32_t value_duration_type = ARK_RUNTIME_UNDEFINED; @@ -36598,7 +38850,7 @@ class Serializer : public SerializerBase { else if (((value_curve_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_curve_value_2 = value_curve_value.value2; - valueSerializer.writeICurve(value_curve_value_2); + valueSerializer.writeMaterialized(value_curve_value_2); } } const auto value_delay = value.delay; @@ -36650,7 +38902,8 @@ class Serializer : public SerializerBase { valueSerializer.writeExpectedFrameRateRange(value_expectedFrameRateRange_value); } } - void writeFocusBoxStyle(Ark_FocusBoxStyle value) { + void writeFocusBoxStyle(Ark_FocusBoxStyle value) + { Serializer& valueSerializer = *this; const auto value_margin = value.margin; int32_t value_margin_type = ARK_RUNTIME_UNDEFINED; @@ -36677,7 +38930,8 @@ class Serializer : public SerializerBase { valueSerializer.writeCustomObject("LengthMetrics", value_strokeWidth_value); } } - void writeOutlineOptions(Ark_OutlineOptions value) { + void writeOutlineOptions(Ark_OutlineOptions value) + { Serializer& valueSerializer = *this; const auto value_width = value.width; int32_t value_width_type = ARK_RUNTIME_UNDEFINED; @@ -36990,7 +39244,8 @@ class Serializer : public SerializerBase { } } } - void writeBorderImageOption(Ark_BorderImageOption value) { + void writeBorderImageOption(Ark_BorderImageOption value) + { Serializer& valueSerializer = *this; const auto value_slice = value.slice; int32_t value_slice_type = ARK_RUNTIME_UNDEFINED; @@ -37198,7 +39453,8 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_fill_value); } } - void writeBorderOptions(Ark_BorderOptions value) { + void writeBorderOptions(Ark_BorderOptions value) + { Serializer& valueSerializer = *this; const auto value_width = value.width; int32_t value_width_type = ARK_RUNTIME_UNDEFINED; @@ -37631,7 +39887,8 @@ class Serializer : public SerializerBase { } } } - void writeForegroundBlurStyleOptions(Ark_ForegroundBlurStyleOptions value) { + void writeForegroundBlurStyleOptions(Ark_ForegroundBlurStyleOptions value) + { Serializer& valueSerializer = *this; const auto value_colorMode = value.colorMode; int32_t value_colorMode_type = ARK_RUNTIME_UNDEFINED; @@ -37666,12 +39923,14 @@ class Serializer : public SerializerBase { valueSerializer.writeBlurOptions(value_blurOptions_value); } } - void writeForegroundEffectOptions(Ark_ForegroundEffectOptions value) { + void writeForegroundEffectOptions(Ark_ForegroundEffectOptions value) + { Serializer& valueSerializer = *this; const auto value_radius = value.radius; valueSerializer.writeNumber(value_radius); } - void writeResizableOptions(Ark_ResizableOptions value) { + void writeResizableOptions(Ark_ResizableOptions value) + { Serializer& valueSerializer = *this; const auto value_slice = value.slice; int32_t value_slice_type = ARK_RUNTIME_UNDEFINED; @@ -37713,7 +39972,8 @@ class Serializer : public SerializerBase { } } } - void writeBackgroundEffectOptions(Ark_BackgroundEffectOptions value) { + void writeBackgroundEffectOptions(Ark_BackgroundEffectOptions value) + { Serializer& valueSerializer = *this; const auto value_radius = value.radius; valueSerializer.writeNumber(value_radius); @@ -37824,7 +40084,8 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_type_value); } } - void writeBackgroundBlurStyleOptions(Ark_BackgroundBlurStyleOptions value) { + void writeBackgroundBlurStyleOptions(Ark_BackgroundBlurStyleOptions value) + { Serializer& valueSerializer = *this; const auto value_colorMode = value.colorMode; int32_t value_colorMode_type = ARK_RUNTIME_UNDEFINED; @@ -37904,7 +40165,8 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_type_value); } } - void writePixelRoundPolicy(Ark_PixelRoundPolicy value) { + void writePixelRoundPolicy(Ark_PixelRoundPolicy value) + { Serializer& valueSerializer = *this; const auto value_start = value.start; int32_t value_start_type = ARK_RUNTIME_UNDEFINED; @@ -37939,7 +40201,8 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_bottom_value); } } - void writeConstraintSizeOptions(Ark_ConstraintSizeOptions value) { + void writeConstraintSizeOptions(Ark_ConstraintSizeOptions value) + { Serializer& valueSerializer = *this; const auto value_minWidth = value.minWidth; int32_t value_minWidth_type = ARK_RUNTIME_UNDEFINED; @@ -37978,13 +40241,15 @@ class Serializer : public SerializerBase { // Deserializers + class Deserializer : public DeserializerBase { public: Deserializer(uint8_t* data, int32_t length) : DeserializerBase(data, length) { } - Ark_Resource readResource() { - Deserializer& valueDeserializer = *this; + Ark_Resource readResource() + { Ark_Resource value = {}; + Deserializer& valueDeserializer = *this; value.id = static_cast::type>(valueDeserializer.readNumber()); value.type = static_cast::type>(valueDeserializer.readNumber()); value.moduleName = static_cast::type>(valueDeserializer.readString()); @@ -38012,9 +40277,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_Position readPosition() { - Deserializer& valueDeserializer = *this; + Ark_Position readPosition() + { Ark_Position value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.x.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38035,23 +40301,25 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_Area readArea() { - Deserializer& valueDeserializer = *this; + Ark_Area readArea() + { Ark_Area value = {}; + Deserializer& valueDeserializer = *this; value.width = static_cast::type>(valueDeserializer.readLength()); value.height = static_cast::type>(valueDeserializer.readLength()); value.position = valueDeserializer.readPosition(); value.globalPosition = valueDeserializer.readPosition(); return static_cast(value); } - Ark_TransitionEffect readTransitionEffect() { - Deserializer& valueDeserializer = *this; + Ark_TransitionEffect readTransitionEffect() + { Ark_TransitionEffect value = {}; return static_cast(value); } - Ark_ShadowOptions readShadowOptions() { - Deserializer& valueDeserializer = *this; + Ark_ShadowOptions readShadowOptions() + { Ark_ShadowOptions value = {}; + Deserializer& valueDeserializer = *this; { const int32_t selector = valueDeserializer.readInt8(); if (selector == 0) { @@ -38148,9 +40416,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_Font readFont() { - Deserializer& valueDeserializer = *this; + Ark_Font readFont() + { Ark_Font value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.size.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38213,15 +40482,17 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_EventTarget readEventTarget() { - Deserializer& valueDeserializer = *this; + Ark_EventTarget readEventTarget() + { Ark_EventTarget value = {}; + Deserializer& valueDeserializer = *this; value.area = valueDeserializer.readArea(); return static_cast(value); } - Ark_LocalizedEdgeColors readLocalizedEdgeColors() { - Deserializer& valueDeserializer = *this; + Ark_LocalizedEdgeColors readLocalizedEdgeColors() + { Ark_LocalizedEdgeColors value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38332,9 +40603,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_LocalizedEdgeWidths readLocalizedEdgeWidths() { - Deserializer& valueDeserializer = *this; + Ark_LocalizedEdgeWidths readLocalizedEdgeWidths() + { Ark_LocalizedEdgeWidths value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38373,9 +40645,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_SheetTitleOptions readSheetTitleOptions() { - Deserializer& valueDeserializer = *this; + Ark_SheetTitleOptions readSheetTitleOptions() + { Ark_SheetTitleOptions value = {}; + Deserializer& valueDeserializer = *this; { const int32_t selector = valueDeserializer.readInt8(); if (selector == 0) { @@ -38408,9 +40681,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ContextMenuAnimationOptions readContextMenuAnimationOptions() { - Deserializer& valueDeserializer = *this; + Ark_ContextMenuAnimationOptions readContextMenuAnimationOptions() + { Ark_ContextMenuAnimationOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.scale.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38440,9 +40714,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_PopupMessageOptions readPopupMessageOptions() { - Deserializer& valueDeserializer = *this; + Ark_PopupMessageOptions readPopupMessageOptions() + { Ark_PopupMessageOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.textColor.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38481,14 +40756,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ICurve readICurve() { - Deserializer& valueDeserializer = *this; - Ark_ICurve value = {}; - return static_cast(value); - } - Ark_RotateOptions readRotateOptions() { - Deserializer& valueDeserializer = *this; + Ark_RotateOptions readRotateOptions() + { Ark_RotateOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.x.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38585,9 +40856,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ScaleOptions readScaleOptions() { - Deserializer& valueDeserializer = *this; + Ark_ScaleOptions readScaleOptions() + { Ark_ScaleOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.x.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38655,9 +40927,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_TranslateOptions readTranslateOptions() { - Deserializer& valueDeserializer = *this; + Ark_TranslateOptions readTranslateOptions() + { Ark_TranslateOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.x.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38717,9 +40990,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_LinearGradient readLinearGradient() { - Deserializer& valueDeserializer = *this; + Ark_LinearGradient readLinearGradient() + { Ark_LinearGradient value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.angle.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38802,9 +41076,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_LocalizedBorderRadiuses readLocalizedBorderRadiuses() { - Deserializer& valueDeserializer = *this; + Ark_LocalizedBorderRadiuses readLocalizedBorderRadiuses() + { Ark_LocalizedBorderRadiuses value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.topStart.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -38843,9 +41118,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_BlurOptions readBlurOptions() { - Deserializer& valueDeserializer = *this; + Ark_BlurOptions readBlurOptions() + { Ark_BlurOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { @@ -38861,9 +41137,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_BaseEvent readBaseEvent() { - Deserializer& valueDeserializer = *this; + Ark_BaseEvent readBaseEvent() + { Ark_BaseEvent value = {}; + Deserializer& valueDeserializer = *this; value.target = valueDeserializer.readEventTarget(); value.timestamp = static_cast::type>(valueDeserializer.readNumber()); value.source = valueDeserializer.readInt32(); @@ -38891,23 +41168,25 @@ class Deserializer : public DeserializerBase { value.sourceTool = valueDeserializer.readInt32(); return static_cast(value); } - Ark_RectResult readRectResult() { - Deserializer& valueDeserializer = *this; + Ark_RectResult readRectResult() + { Ark_RectResult value = {}; + Deserializer& valueDeserializer = *this; value.x = static_cast::type>(valueDeserializer.readNumber()); value.y = static_cast::type>(valueDeserializer.readNumber()); value.width = static_cast::type>(valueDeserializer.readNumber()); value.height = static_cast::type>(valueDeserializer.readNumber()); return static_cast(value); } - Ark_ColorFilter readColorFilter() { - Deserializer& valueDeserializer = *this; + Ark_ColorFilter readColorFilter() + { Ark_ColorFilter value = {}; return static_cast(value); } - Ark_LightSource readLightSource() { - Deserializer& valueDeserializer = *this; + Ark_LightSource readLightSource() + { Ark_LightSource value = {}; + Deserializer& valueDeserializer = *this; value.positionX = static_cast::type>(valueDeserializer.readLength()); value.positionY = static_cast::type>(valueDeserializer.readLength()); value.positionZ = static_cast::type>(valueDeserializer.readLength()); @@ -38941,9 +41220,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_BindOptions readBindOptions() { - Deserializer& valueDeserializer = *this; + Ark_BindOptions readBindOptions() + { Ark_BindOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.backgroundColor.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -39009,9 +41289,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ContextMenuOptions readContextMenuOptions() { - Deserializer& valueDeserializer = *this; + Ark_ContextMenuOptions readContextMenuOptions() + { Ark_ContextMenuOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.offset.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -39226,9 +41507,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_CustomPopupOptions readCustomPopupOptions() { - Deserializer& valueDeserializer = *this; + Ark_CustomPopupOptions readCustomPopupOptions() + { Ark_CustomPopupOptions value = {}; + Deserializer& valueDeserializer = *this; { const int32_t selector = valueDeserializer.readInt8(); if (selector == 0) { @@ -39518,9 +41800,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_PopupOptions readPopupOptions() { - Deserializer& valueDeserializer = *this; + Ark_PopupOptions readPopupOptions() + { Ark_PopupOptions value = {}; + Deserializer& valueDeserializer = *this; value.message = static_cast::type>(valueDeserializer.readString()); { const auto runtimeType = static_cast(valueDeserializer.readInt8()); @@ -39808,29 +42091,30 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_RectAttribute readRectAttribute() { - Deserializer& valueDeserializer = *this; + Ark_RectAttribute readRectAttribute() + { Ark_RectAttribute value = {}; return static_cast(value); } - Ark_PathAttribute readPathAttribute() { - Deserializer& valueDeserializer = *this; + Ark_PathAttribute readPathAttribute() + { Ark_PathAttribute value = {}; return static_cast(value); } - Ark_EllipseAttribute readEllipseAttribute() { - Deserializer& valueDeserializer = *this; + Ark_EllipseAttribute readEllipseAttribute() + { Ark_EllipseAttribute value = {}; return static_cast(value); } - Ark_CircleAttribute readCircleAttribute() { - Deserializer& valueDeserializer = *this; + Ark_CircleAttribute readCircleAttribute() + { Ark_CircleAttribute value = {}; return static_cast(value); } - Ark_OverlayOffset readOverlayOffset() { - Deserializer& valueDeserializer = *this; + Ark_OverlayOffset readOverlayOffset() + { Ark_OverlayOffset value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.x.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -39851,9 +42135,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_DragItemInfo readDragItemInfo() { - Deserializer& valueDeserializer = *this; + Ark_DragItemInfo readDragItemInfo() + { Ark_DragItemInfo value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.pixelMap.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -39893,9 +42178,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ClickEffect readClickEffect() { - Deserializer& valueDeserializer = *this; + Ark_ClickEffect readClickEffect() + { Ark_ClickEffect value = {}; + Deserializer& valueDeserializer = *this; value.level = valueDeserializer.readInt32(); { const auto runtimeType = static_cast(valueDeserializer.readInt8()); @@ -39908,9 +42194,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_Bias readBias() { - Deserializer& valueDeserializer = *this; + Ark_Bias readBias() + { Ark_Bias value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.horizontal.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -39931,23 +42218,26 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_LocalizedVerticalAlignParam readLocalizedVerticalAlignParam() { - Deserializer& valueDeserializer = *this; + Ark_LocalizedVerticalAlignParam readLocalizedVerticalAlignParam() + { Ark_LocalizedVerticalAlignParam value = {}; + Deserializer& valueDeserializer = *this; value.anchor = static_cast::type>(valueDeserializer.readString()); value.align = valueDeserializer.readInt32(); return static_cast(value); } - Ark_LocalizedHorizontalAlignParam readLocalizedHorizontalAlignParam() { - Deserializer& valueDeserializer = *this; + Ark_LocalizedHorizontalAlignParam readLocalizedHorizontalAlignParam() + { Ark_LocalizedHorizontalAlignParam value = {}; + Deserializer& valueDeserializer = *this; value.anchor = static_cast::type>(valueDeserializer.readString()); value.align = valueDeserializer.readInt32(); return static_cast(value); } - Ark_LocalizedEdges readLocalizedEdges() { - Deserializer& valueDeserializer = *this; + Ark_LocalizedEdges readLocalizedEdges() + { Ark_LocalizedEdges value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -39986,9 +42276,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_Edges readEdges() { - Deserializer& valueDeserializer = *this; + Ark_Edges readEdges() + { Ark_Edges value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40027,9 +42318,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_LocalizedPosition readLocalizedPosition() { - Deserializer& valueDeserializer = *this; + Ark_LocalizedPosition readLocalizedPosition() + { Ark_LocalizedPosition value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.start.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40050,9 +42342,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_MotionPathOptions readMotionPathOptions() { - Deserializer& valueDeserializer = *this; + Ark_MotionPathOptions readMotionPathOptions() + { Ark_MotionPathOptions value = {}; + Deserializer& valueDeserializer = *this; value.path = static_cast::type>(valueDeserializer.readString()); { const auto runtimeType = static_cast(valueDeserializer.readInt8()); @@ -40083,60 +42376,63 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_InvertOptions readInvertOptions() { - Deserializer& valueDeserializer = *this; + Ark_InvertOptions readInvertOptions() + { Ark_InvertOptions value = {}; + Deserializer& valueDeserializer = *this; value.low = static_cast::type>(valueDeserializer.readNumber()); value.high = static_cast::type>(valueDeserializer.readNumber()); value.threshold = static_cast::type>(valueDeserializer.readNumber()); value.thresholdRange = static_cast::type>(valueDeserializer.readNumber()); return static_cast(value); } - Ark_MotionBlurAnchor readMotionBlurAnchor() { - Deserializer& valueDeserializer = *this; + Ark_MotionBlurAnchor readMotionBlurAnchor() + { Ark_MotionBlurAnchor value = {}; + Deserializer& valueDeserializer = *this; value.x = static_cast::type>(valueDeserializer.readNumber()); value.y = static_cast::type>(valueDeserializer.readNumber()); return static_cast(value); } - Ark_GestureGroupInterface readGestureGroupInterface() { - Deserializer& valueDeserializer = *this; + Ark_GestureGroupInterface readGestureGroupInterface() + { Ark_GestureGroupInterface value = {}; return static_cast(value); } - Ark_RotationGestureInterface readRotationGestureInterface() { - Deserializer& valueDeserializer = *this; + Ark_RotationGestureInterface readRotationGestureInterface() + { Ark_RotationGestureInterface value = {}; return static_cast(value); } - Ark_SwipeGestureInterface readSwipeGestureInterface() { - Deserializer& valueDeserializer = *this; + Ark_SwipeGestureInterface readSwipeGestureInterface() + { Ark_SwipeGestureInterface value = {}; return static_cast(value); } - Ark_PinchGestureInterface readPinchGestureInterface() { - Deserializer& valueDeserializer = *this; + Ark_PinchGestureInterface readPinchGestureInterface() + { Ark_PinchGestureInterface value = {}; return static_cast(value); } - Ark_PanGestureInterface readPanGestureInterface() { - Deserializer& valueDeserializer = *this; + Ark_PanGestureInterface readPanGestureInterface() + { Ark_PanGestureInterface value = {}; return static_cast(value); } - Ark_LongPressGestureInterface readLongPressGestureInterface() { - Deserializer& valueDeserializer = *this; + Ark_LongPressGestureInterface readLongPressGestureInterface() + { Ark_LongPressGestureInterface value = {}; return static_cast(value); } - Ark_TapGestureInterface readTapGestureInterface() { - Deserializer& valueDeserializer = *this; + Ark_TapGestureInterface readTapGestureInterface() + { Ark_TapGestureInterface value = {}; return static_cast(value); } - Ark_TransitionOptions readTransitionOptions() { - Deserializer& valueDeserializer = *this; + Ark_TransitionOptions readTransitionOptions() + { Ark_TransitionOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.type.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40184,17 +42480,19 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ExpectedFrameRateRange readExpectedFrameRateRange() { - Deserializer& valueDeserializer = *this; + Ark_ExpectedFrameRateRange readExpectedFrameRateRange() + { Ark_ExpectedFrameRateRange value = {}; + Deserializer& valueDeserializer = *this; value.min = static_cast::type>(valueDeserializer.readNumber()); value.max = static_cast::type>(valueDeserializer.readNumber()); value.expected = static_cast::type>(valueDeserializer.readNumber()); return static_cast(value); } - Ark_BlurStyleOptions readBlurStyleOptions() { - Deserializer& valueDeserializer = *this; + Ark_BlurStyleOptions readBlurStyleOptions() + { Ark_BlurStyleOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.colorMode.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40233,9 +42531,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_SizeOptions readSizeOptions() { - Deserializer& valueDeserializer = *this; + Ark_SizeOptions readSizeOptions() + { Ark_SizeOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.width.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40256,9 +42555,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_LocalizedPadding readLocalizedPadding() { - Deserializer& valueDeserializer = *this; + Ark_LocalizedPadding readLocalizedPadding() + { Ark_LocalizedPadding value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40297,9 +42597,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_Rectangle readRectangle() { - Deserializer& valueDeserializer = *this; + Ark_Rectangle readRectangle() + { Ark_Rectangle value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.x.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40338,22 +42639,24 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_Object readObject() { - Deserializer& valueDeserializer = *this; + Ark_Object readObject() + { Ark_Object value = {}; return static_cast(value); } - Ark_ImageError readImageError() { - Deserializer& valueDeserializer = *this; + Ark_ImageError readImageError() + { Ark_ImageError value = {}; + Deserializer& valueDeserializer = *this; value.componentWidth = static_cast::type>(valueDeserializer.readNumber()); value.componentHeight = static_cast::type>(valueDeserializer.readNumber()); value.message = static_cast::type>(valueDeserializer.readString()); return static_cast(value); } - Ark_FingerInfo readFingerInfo() { - Deserializer& valueDeserializer = *this; + Ark_FingerInfo readFingerInfo() + { Ark_FingerInfo value = {}; + Deserializer& valueDeserializer = *this; value.id = static_cast::type>(valueDeserializer.readNumber()); value.globalX = static_cast::type>(valueDeserializer.readNumber()); value.globalY = static_cast::type>(valueDeserializer.readNumber()); @@ -40363,9 +42666,10 @@ class Deserializer : public DeserializerBase { value.displayY = static_cast::type>(valueDeserializer.readNumber()); return static_cast(value); } - Ark_BaseGestureEvent readBaseGestureEvent() { - Deserializer& valueDeserializer = *this; + Ark_BaseGestureEvent readBaseGestureEvent() + { Ark_BaseGestureEvent value = {}; + Deserializer& valueDeserializer = *this; value.target = valueDeserializer.readEventTarget(); value.timestamp = static_cast::type>(valueDeserializer.readNumber()); value.source = valueDeserializer.readInt32(); @@ -40406,9 +42710,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_GestureInfo readGestureInfo() { - Deserializer& valueDeserializer = *this; + Ark_GestureInfo readGestureInfo() + { Ark_GestureInfo value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.tag.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40422,16 +42727,18 @@ class Deserializer : public DeserializerBase { value.isSystemGesture = valueDeserializer.readBoolean(); return static_cast(value); } - Ark_DragEvent readDragEvent() { - Deserializer& valueDeserializer = *this; + Ark_DragEvent readDragEvent() + { Ark_DragEvent value = {}; + Deserializer& valueDeserializer = *this; value.dragBehavior = valueDeserializer.readInt32(); value.useCustomDropAnimation = valueDeserializer.readBoolean(); return static_cast(value); } - Ark_KeyEvent readKeyEvent() { - Deserializer& valueDeserializer = *this; + Ark_KeyEvent readKeyEvent() + { Ark_KeyEvent value = {}; + Deserializer& valueDeserializer = *this; value.type = valueDeserializer.readInt32(); value.keyCode = static_cast::type>(valueDeserializer.readNumber()); value.keyText = static_cast::type>(valueDeserializer.readString()); @@ -40443,9 +42750,10 @@ class Deserializer : public DeserializerBase { value.intentionCode = valueDeserializer.readCustomObject("IntentionCode"); return static_cast(value); } - Ark_TouchObject readTouchObject() { - Deserializer& valueDeserializer = *this; + Ark_TouchObject readTouchObject() + { Ark_TouchObject value = {}; + Deserializer& valueDeserializer = *this; value.type = valueDeserializer.readInt32(); value.id = static_cast::type>(valueDeserializer.readNumber()); value.displayX = static_cast::type>(valueDeserializer.readNumber()); @@ -40458,9 +42766,10 @@ class Deserializer : public DeserializerBase { value.y = static_cast::type>(valueDeserializer.readNumber()); return static_cast(value); } - Ark_TouchEvent readTouchEvent() { - Deserializer& valueDeserializer = *this; + Ark_TouchEvent readTouchEvent() + { Ark_TouchEvent value = {}; + Deserializer& valueDeserializer = *this; value.target = valueDeserializer.readEventTarget(); value.timestamp = static_cast::type>(valueDeserializer.readNumber()); value.source = valueDeserializer.readInt32(); @@ -40517,9 +42826,10 @@ class Deserializer : public DeserializerBase { value.preventDefault = static_cast::type>(valueDeserializer.readFunction()); return static_cast(value); } - Ark_MouseEvent readMouseEvent() { - Deserializer& valueDeserializer = *this; + Ark_MouseEvent readMouseEvent() + { Ark_MouseEvent value = {}; + Deserializer& valueDeserializer = *this; value.target = valueDeserializer.readEventTarget(); value.timestamp = static_cast::type>(valueDeserializer.readNumber()); value.source = valueDeserializer.readInt32(); @@ -40558,9 +42868,10 @@ class Deserializer : public DeserializerBase { value.stopPropagation = static_cast::type>(valueDeserializer.readFunction()); return static_cast(value); } - Ark_AccessibilityHoverEvent readAccessibilityHoverEvent() { - Deserializer& valueDeserializer = *this; + Ark_AccessibilityHoverEvent readAccessibilityHoverEvent() + { Ark_AccessibilityHoverEvent value = {}; + Deserializer& valueDeserializer = *this; value.target = valueDeserializer.readEventTarget(); value.timestamp = static_cast::type>(valueDeserializer.readNumber()); value.source = valueDeserializer.readInt32(); @@ -40595,9 +42906,10 @@ class Deserializer : public DeserializerBase { value.windowY = static_cast::type>(valueDeserializer.readNumber()); return static_cast(value); } - Ark_HoverEvent readHoverEvent() { - Deserializer& valueDeserializer = *this; + Ark_HoverEvent readHoverEvent() + { Ark_HoverEvent value = {}; + Deserializer& valueDeserializer = *this; value.target = valueDeserializer.readEventTarget(); value.timestamp = static_cast::type>(valueDeserializer.readNumber()); value.source = valueDeserializer.readInt32(); @@ -40626,9 +42938,10 @@ class Deserializer : public DeserializerBase { value.stopPropagation = static_cast::type>(valueDeserializer.readFunction()); return static_cast(value); } - Ark_ClickEvent readClickEvent() { - Deserializer& valueDeserializer = *this; + Ark_ClickEvent readClickEvent() + { Ark_ClickEvent value = {}; + Deserializer& valueDeserializer = *this; value.target = valueDeserializer.readEventTarget(); value.timestamp = static_cast::type>(valueDeserializer.readNumber()); value.source = valueDeserializer.readInt32(); @@ -40665,9 +42978,10 @@ class Deserializer : public DeserializerBase { value.preventDefault = static_cast::type>(valueDeserializer.readFunction()); return static_cast(value); } - Ark_TouchTestInfo readTouchTestInfo() { - Deserializer& valueDeserializer = *this; + Ark_TouchTestInfo readTouchTestInfo() + { Ark_TouchTestInfo value = {}; + Deserializer& valueDeserializer = *this; value.windowX = static_cast::type>(valueDeserializer.readNumber()); value.windowY = static_cast::type>(valueDeserializer.readNumber()); value.parentX = static_cast::type>(valueDeserializer.readNumber()); @@ -40678,14 +42992,15 @@ class Deserializer : public DeserializerBase { value.id = static_cast::type>(valueDeserializer.readString()); return static_cast(value); } - Ark_UIGestureEvent readUIGestureEvent() { - Deserializer& valueDeserializer = *this; + Ark_UIGestureEvent readUIGestureEvent() + { Ark_UIGestureEvent value = {}; return static_cast(value); } - Ark_ImageAnalyzerConfig readImageAnalyzerConfig() { - Deserializer& valueDeserializer = *this; + Ark_ImageAnalyzerConfig readImageAnalyzerConfig() + { Ark_ImageAnalyzerConfig value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { @@ -40701,9 +43016,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ImageAIOptions readImageAIOptions() { - Deserializer& valueDeserializer = *this; + Ark_ImageAIOptions readImageAIOptions() + { Ark_ImageAIOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.types.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40736,9 +43052,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_PointLightStyle readPointLightStyle() { - Deserializer& valueDeserializer = *this; + Ark_PointLightStyle readPointLightStyle() + { Ark_PointLightStyle value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.lightSource.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40768,9 +43085,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_MarkStyle readMarkStyle() { - Deserializer& valueDeserializer = *this; + Ark_MarkStyle readMarkStyle() + { Ark_MarkStyle value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.strokeColor.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40818,9 +43136,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_CheckboxOptions readCheckboxOptions() { - Deserializer& valueDeserializer = *this; + Ark_CheckboxOptions readCheckboxOptions() + { Ark_CheckboxOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.name.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40860,9 +43179,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_LabelStyle readLabelStyle() { - Deserializer& valueDeserializer = *this; + Ark_LabelStyle readLabelStyle() + { Ark_LabelStyle value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.overflow.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -40959,9 +43279,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ButtonOptions readButtonOptions() { - Deserializer& valueDeserializer = *this; + Ark_ButtonOptions readButtonOptions() + { Ark_ButtonOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.type.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -41009,16 +43330,18 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_BackgroundBrightnessOptions readBackgroundBrightnessOptions() { - Deserializer& valueDeserializer = *this; + Ark_BackgroundBrightnessOptions readBackgroundBrightnessOptions() + { Ark_BackgroundBrightnessOptions value = {}; + Deserializer& valueDeserializer = *this; value.rate = static_cast::type>(valueDeserializer.readNumber()); value.lightUpDegree = static_cast::type>(valueDeserializer.readNumber()); return static_cast(value); } - Ark_PixelStretchEffectOptions readPixelStretchEffectOptions() { - Deserializer& valueDeserializer = *this; + Ark_PixelStretchEffectOptions readPixelStretchEffectOptions() + { Ark_PixelStretchEffectOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -41057,9 +43380,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_StateStyles readStateStyles() { - Deserializer& valueDeserializer = *this; + Ark_StateStyles readStateStyles() + { Ark_StateStyles value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.normal.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -41116,9 +43440,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_SheetOptions readSheetOptions() { - Deserializer& valueDeserializer = *this; + Ark_SheetOptions readSheetOptions() + { Ark_SheetOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.backgroundColor.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -41771,9 +44096,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ContentCoverOptions readContentCoverOptions() { - Deserializer& valueDeserializer = *this; + Ark_ContentCoverOptions readContentCoverOptions() + { Ark_ContentCoverOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.backgroundColor.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -41866,9 +44192,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_MenuOptions readMenuOptions() { - Deserializer& valueDeserializer = *this; + Ark_MenuOptions readMenuOptions() + { Ark_MenuOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.offset.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42111,9 +44438,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_MenuElement readMenuElement() { - Deserializer& valueDeserializer = *this; + Ark_MenuElement readMenuElement() + { Ark_MenuElement value = {}; + Deserializer& valueDeserializer = *this; { const int32_t selector = valueDeserializer.readInt8(); if (selector == 0) { @@ -42165,9 +44493,10 @@ class Deserializer : public DeserializerBase { value.action = static_cast::type>(valueDeserializer.readFunction()); return static_cast(value); } - Ark_GeometryTransitionOptions readGeometryTransitionOptions() { - Deserializer& valueDeserializer = *this; + Ark_GeometryTransitionOptions readGeometryTransitionOptions() + { Ark_GeometryTransitionOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.follow.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42188,9 +44517,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_OverlayOptions readOverlayOptions() { - Deserializer& valueDeserializer = *this; + Ark_OverlayOptions readOverlayOptions() + { Ark_OverlayOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.align.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42211,9 +44541,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_DragInteractionOptions readDragInteractionOptions() { - Deserializer& valueDeserializer = *this; + Ark_DragInteractionOptions readDragInteractionOptions() + { Ark_DragInteractionOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.isMultiSelectionEnabled.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42234,9 +44565,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_DragPreviewOptions readDragPreviewOptions() { - Deserializer& valueDeserializer = *this; + Ark_DragPreviewOptions readDragPreviewOptions() + { Ark_DragPreviewOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.mode.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42298,9 +44630,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_LocalizedAlignRuleOptions readLocalizedAlignRuleOptions() { - Deserializer& valueDeserializer = *this; + Ark_LocalizedAlignRuleOptions readLocalizedAlignRuleOptions() + { Ark_LocalizedAlignRuleOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.start.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42366,9 +44699,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_AlignRuleOption readAlignRuleOption() { - Deserializer& valueDeserializer = *this; + Ark_AlignRuleOption readAlignRuleOption() + { Ark_AlignRuleOption value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.left.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42458,9 +44792,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_sharedTransitionOptions readsharedTransitionOptions() { - Deserializer& valueDeserializer = *this; + Ark_sharedTransitionOptions readsharedTransitionOptions() + { Ark_sharedTransitionOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.duration.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42486,7 +44821,7 @@ class Deserializer : public DeserializerBase { value.curve.value.selector = 1; } else if (selector == 2) { - value.curve.value.value2 = valueDeserializer.readICurve(); + value.curve.value.value2 = static_cast(valueDeserializer.readMaterialized()); value.curve.value.selector = 2; } } @@ -42531,16 +44866,18 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_MotionBlurOptions readMotionBlurOptions() { - Deserializer& valueDeserializer = *this; + Ark_MotionBlurOptions readMotionBlurOptions() + { Ark_MotionBlurOptions value = {}; + Deserializer& valueDeserializer = *this; value.radius = static_cast::type>(valueDeserializer.readNumber()); value.anchor = valueDeserializer.readMotionBlurAnchor(); return static_cast(value); } - Ark_LinearGradientBlurOptions readLinearGradientBlurOptions() { - Deserializer& valueDeserializer = *this; + Ark_LinearGradientBlurOptions readLinearGradientBlurOptions() + { Ark_LinearGradientBlurOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { @@ -42569,9 +44906,10 @@ class Deserializer : public DeserializerBase { value.direction = valueDeserializer.readInt32(); return static_cast(value); } - Ark_AnimateParam readAnimateParam() { - Deserializer& valueDeserializer = *this; + Ark_AnimateParam readAnimateParam() + { Ark_AnimateParam value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.duration.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42606,7 +44944,7 @@ class Deserializer : public DeserializerBase { value.curve.value.selector = 1; } else if (selector == 2) { - value.curve.value.value2 = valueDeserializer.readICurve(); + value.curve.value.value2 = static_cast(valueDeserializer.readMaterialized()); value.curve.value.selector = 2; } } @@ -42669,9 +45007,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_FocusBoxStyle readFocusBoxStyle() { - Deserializer& valueDeserializer = *this; + Ark_FocusBoxStyle readFocusBoxStyle() + { Ark_FocusBoxStyle value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.margin.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -42701,9 +45040,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_OutlineOptions readOutlineOptions() { - Deserializer& valueDeserializer = *this; + Ark_OutlineOptions readOutlineOptions() + { Ark_OutlineOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.width.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -43028,9 +45368,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_BorderImageOption readBorderImageOption() { - Deserializer& valueDeserializer = *this; + Ark_BorderImageOption readBorderImageOption() + { Ark_BorderImageOption value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.slice.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -43257,9 +45598,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_BorderOptions readBorderOptions() { - Deserializer& valueDeserializer = *this; + Ark_BorderOptions readBorderOptions() + { Ark_BorderOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.width.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -43714,9 +46056,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ForegroundBlurStyleOptions readForegroundBlurStyleOptions() { - Deserializer& valueDeserializer = *this; + Ark_ForegroundBlurStyleOptions readForegroundBlurStyleOptions() + { Ark_ForegroundBlurStyleOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.colorMode.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -43755,15 +46098,17 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ForegroundEffectOptions readForegroundEffectOptions() { - Deserializer& valueDeserializer = *this; + Ark_ForegroundEffectOptions readForegroundEffectOptions() + { Ark_ForegroundEffectOptions value = {}; + Deserializer& valueDeserializer = *this; value.radius = static_cast::type>(valueDeserializer.readNumber()); return static_cast(value); } - Ark_ResizableOptions readResizableOptions() { - Deserializer& valueDeserializer = *this; + Ark_ResizableOptions readResizableOptions() + { Ark_ResizableOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.slice.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -43813,9 +46158,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_BackgroundEffectOptions readBackgroundEffectOptions() { - Deserializer& valueDeserializer = *this; + Ark_BackgroundEffectOptions readBackgroundEffectOptions() + { Ark_BackgroundEffectOptions value = {}; + Deserializer& valueDeserializer = *this; value.radius = static_cast::type>(valueDeserializer.readNumber()); { const auto runtimeType = static_cast(valueDeserializer.readInt8()); @@ -43927,9 +46273,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_BackgroundBlurStyleOptions readBackgroundBlurStyleOptions() { - Deserializer& valueDeserializer = *this; + Ark_BackgroundBlurStyleOptions readBackgroundBlurStyleOptions() + { Ark_BackgroundBlurStyleOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.colorMode.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -44013,9 +46360,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_PixelRoundPolicy readPixelRoundPolicy() { - Deserializer& valueDeserializer = *this; + Ark_PixelRoundPolicy readPixelRoundPolicy() + { Ark_PixelRoundPolicy value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.start.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -44054,9 +46402,10 @@ class Deserializer : public DeserializerBase { } return static_cast(value); } - Ark_ConstraintSizeOptions readConstraintSizeOptions() { - Deserializer& valueDeserializer = *this; + Ark_ConstraintSizeOptions readConstraintSizeOptions() + { Ark_ConstraintSizeOptions value = {}; + Deserializer& valueDeserializer = *this; { const auto runtimeType = static_cast(valueDeserializer.readInt8()); value.minWidth.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; diff --git a/arkoala/framework/native/src/generated/all_events.cc b/arkoala/framework/native/src/generated/all_events.cc index 61dd7a13e1660571b258fe56f6e04b665b563364..036b3a77dba3acca5391b06852520f4a8359b4a5 100644 --- a/arkoala/framework/native/src/generated/all_events.cc +++ b/arkoala/framework/native/src/generated/all_events.cc @@ -330,364 +330,439 @@ namespace Generated { }; namespace Checkbox { - void onChangeImpl(Ark_Int32 nodeId, const Ark_Boolean value) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCheckbox_onChange); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeBoolean(value); - sendEvent(&_eventBuffer); - } + void onChangeImpl(Ark_Int32 nodeId, + const Ark_Boolean value) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCheckbox_onChange); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeBoolean(value); + sendEvent(&_eventBuffer); + } } namespace CommonMethod { - void onChildTouchTestImpl(Ark_Int32 nodeId, const Array_TouchTestInfo value) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onChildTouchTest); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeInt8(runtimeType(value)); - _eventBufferSerializer.writeInt32(value.length); - for (int i = 0; i < value.length; i++) { - const auto value_element = value.array[i]; - _eventBufferSerializer.writeTouchTestInfo(value_element); - } - sendEvent(&_eventBuffer); - } - void onClickImpl(Ark_Int32 nodeId, const Ark_ClickEvent event) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onClick); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeClickEvent(event); - sendEvent(&_eventBuffer); - } - void onHoverImpl(Ark_Int32 nodeId, const Ark_Boolean isHover, const Ark_HoverEvent event) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onHover); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeBoolean(isHover); - _eventBufferSerializer.writeHoverEvent(event); - sendEvent(&_eventBuffer); - } - void onAccessibilityHoverImpl(Ark_Int32 nodeId, const Ark_Boolean isHover, const Ark_AccessibilityHoverEvent event) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onAccessibilityHover); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeBoolean(isHover); - _eventBufferSerializer.writeAccessibilityHoverEvent(event); - sendEvent(&_eventBuffer); - } - void onMouseImpl(Ark_Int32 nodeId, const Ark_MouseEvent event) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onMouse); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeMouseEvent(event); - sendEvent(&_eventBuffer); - } - void onTouchImpl(Ark_Int32 nodeId, const Ark_TouchEvent event) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onTouch); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeTouchEvent(event); - sendEvent(&_eventBuffer); - } - void onKeyEventImpl(Ark_Int32 nodeId, const Ark_KeyEvent event) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onKeyEvent); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeKeyEvent(event); - sendEvent(&_eventBuffer); - } - void onKeyPreImeImpl(Ark_Int32 nodeId, const Ark_KeyEvent data) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onKeyPreIme); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeKeyEvent(data); - sendEvent(&_eventBuffer); - } - void onFocusImpl(Ark_Int32 nodeId) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onFocus); - _eventBufferSerializer.writeInt32(nodeId); - sendEvent(&_eventBuffer); - } - void onBlurImpl(Ark_Int32 nodeId) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onBlur); - _eventBufferSerializer.writeInt32(nodeId); - sendEvent(&_eventBuffer); - } - void onAppearImpl(Ark_Int32 nodeId) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onAppear); - _eventBufferSerializer.writeInt32(nodeId); - sendEvent(&_eventBuffer); - } - void onDisAppearImpl(Ark_Int32 nodeId) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onDisAppear); - _eventBufferSerializer.writeInt32(nodeId); - sendEvent(&_eventBuffer); - } - void onAttachImpl(Ark_Int32 nodeId) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onAttach); - _eventBufferSerializer.writeInt32(nodeId); - sendEvent(&_eventBuffer); - } - void onDetachImpl(Ark_Int32 nodeId) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onDetach); - _eventBufferSerializer.writeInt32(nodeId); - sendEvent(&_eventBuffer); - } - void onAreaChangeImpl(Ark_Int32 nodeId, const Ark_Area oldValue, const Ark_Area newValue) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onAreaChange); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeArea(oldValue); - _eventBufferSerializer.writeArea(newValue); - sendEvent(&_eventBuffer); - } - void onDragStartImpl(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onDragStart); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeDragEvent(event); - int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; - extraParams_type = runtimeType(extraParams); - _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { - const auto extraParams_value = extraParams.value; - _eventBufferSerializer.writeString(extraParams_value); - } - sendEvent(&_eventBuffer); - } - void onDragEnterImpl(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onDragEnter); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeDragEvent(event); - int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; - extraParams_type = runtimeType(extraParams); - _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { - const auto extraParams_value = extraParams.value; - _eventBufferSerializer.writeString(extraParams_value); - } - sendEvent(&_eventBuffer); - } - void onDragMoveImpl(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onDragMove); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeDragEvent(event); - int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; - extraParams_type = runtimeType(extraParams); - _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { - const auto extraParams_value = extraParams.value; - _eventBufferSerializer.writeString(extraParams_value); - } - sendEvent(&_eventBuffer); - } - void onDragLeaveImpl(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onDragLeave); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeDragEvent(event); - int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; - extraParams_type = runtimeType(extraParams); - _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { - const auto extraParams_value = extraParams.value; - _eventBufferSerializer.writeString(extraParams_value); - } - sendEvent(&_eventBuffer); - } - void onDropImpl(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onDrop); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeDragEvent(event); - int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; - extraParams_type = runtimeType(extraParams); - _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { - const auto extraParams_value = extraParams.value; - _eventBufferSerializer.writeString(extraParams_value); - } - sendEvent(&_eventBuffer); - } - void onDragEndImpl(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onDragEnd); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeDragEvent(event); - int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; - extraParams_type = runtimeType(extraParams); - _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { - const auto extraParams_value = extraParams.value; - _eventBufferSerializer.writeString(extraParams_value); - } - sendEvent(&_eventBuffer); - } - void onPreDragImpl(Ark_Int32 nodeId, const Ark_Int32 data) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onPreDrag); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeInt32(data); - sendEvent(&_eventBuffer); - } - void onVisibleAreaChangeImpl(Ark_Int32 nodeId, const Ark_Boolean isVisible, const Ark_Number currentRatio) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onVisibleAreaChange); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeBoolean(isVisible); - _eventBufferSerializer.writeNumber(currentRatio); - sendEvent(&_eventBuffer); - } - void keyboardShortcutImpl(Ark_Int32 nodeId) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_keyboardShortcut); - _eventBufferSerializer.writeInt32(nodeId); - sendEvent(&_eventBuffer); - } - void onGestureJudgeBeginImpl(Ark_Int32 nodeId, const Ark_GestureInfo gestureInfo, const Ark_BaseGestureEvent event) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onGestureJudgeBegin); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeGestureInfo(gestureInfo); - _eventBufferSerializer.writeBaseGestureEvent(event); - sendEvent(&_eventBuffer); - } - void onGestureRecognizerJudgeBeginImpl(Ark_Int32 nodeId, const Ark_BaseGestureEvent event, const Ark_Materialized current, const Array_GestureRecognizer recognizers) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onGestureRecognizerJudgeBegin); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeBaseGestureEvent(event); - _eventBufferSerializer.writeMaterialized(current); - _eventBufferSerializer.writeInt8(runtimeType(recognizers)); - _eventBufferSerializer.writeInt32(recognizers.length); - for (int i = 0; i < recognizers.length; i++) { - const auto recognizers_element = recognizers.array[i]; - _eventBufferSerializer.writeMaterialized(recognizers_element); - } - sendEvent(&_eventBuffer); - } - void shouldBuiltInRecognizerParallelWithImpl(Ark_Int32 nodeId, const Ark_Materialized current, const Array_GestureRecognizer others) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_shouldBuiltInRecognizerParallelWith); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeMaterialized(current); - _eventBufferSerializer.writeInt8(runtimeType(others)); - _eventBufferSerializer.writeInt32(others.length); - for (int i = 0; i < others.length; i++) { - const auto others_element = others.array[i]; - _eventBufferSerializer.writeMaterialized(others_element); - } - sendEvent(&_eventBuffer); - } - void onTouchInterceptImpl(Ark_Int32 nodeId, const Ark_TouchEvent data) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onTouchIntercept); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeTouchEvent(data); - sendEvent(&_eventBuffer); - } - void onSizeChangeImpl(Ark_Int32 nodeId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindCommonMethod_onSizeChange); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeSizeOptions(oldValue); - _eventBufferSerializer.writeSizeOptions(newValue); - sendEvent(&_eventBuffer); - } + void onChildTouchTestImpl(Ark_Int32 nodeId, + const Array_TouchTestInfo value) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onChildTouchTest); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeInt8(runtimeType(value)); + _eventBufferSerializer.writeInt32(value.length); + for (int i = 0; i < value.length; i++) { + const auto value_element = value.array[i]; + _eventBufferSerializer.writeTouchTestInfo(value_element); + } + sendEvent(&_eventBuffer); + } + void onClickImpl(Ark_Int32 nodeId, + const Ark_ClickEvent event) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onClick); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeClickEvent(event); + sendEvent(&_eventBuffer); + } + void onHoverImpl(Ark_Int32 nodeId, + const Ark_Boolean isHover, + const Ark_HoverEvent event) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onHover); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeBoolean(isHover); + _eventBufferSerializer.writeHoverEvent(event); + sendEvent(&_eventBuffer); + } + void onAccessibilityHoverImpl(Ark_Int32 nodeId, + const Ark_Boolean isHover, + const Ark_AccessibilityHoverEvent event) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onAccessibilityHover); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeBoolean(isHover); + _eventBufferSerializer.writeAccessibilityHoverEvent(event); + sendEvent(&_eventBuffer); + } + void onMouseImpl(Ark_Int32 nodeId, + const Ark_MouseEvent event) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onMouse); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeMouseEvent(event); + sendEvent(&_eventBuffer); + } + void onTouchImpl(Ark_Int32 nodeId, + const Ark_TouchEvent event) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onTouch); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeTouchEvent(event); + sendEvent(&_eventBuffer); + } + void onKeyEventImpl(Ark_Int32 nodeId, + const Ark_KeyEvent event) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onKeyEvent); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeKeyEvent(event); + sendEvent(&_eventBuffer); + } + void onKeyPreImeImpl(Ark_Int32 nodeId, + const Ark_KeyEvent data) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onKeyPreIme); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeKeyEvent(data); + sendEvent(&_eventBuffer); + } + void onFocusImpl(Ark_Int32 nodeId) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onFocus); + _eventBufferSerializer.writeInt32(nodeId); + sendEvent(&_eventBuffer); + } + void onBlurImpl(Ark_Int32 nodeId) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onBlur); + _eventBufferSerializer.writeInt32(nodeId); + sendEvent(&_eventBuffer); + } + void onAppearImpl(Ark_Int32 nodeId) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onAppear); + _eventBufferSerializer.writeInt32(nodeId); + sendEvent(&_eventBuffer); + } + void onDisAppearImpl(Ark_Int32 nodeId) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onDisAppear); + _eventBufferSerializer.writeInt32(nodeId); + sendEvent(&_eventBuffer); + } + void onAttachImpl(Ark_Int32 nodeId) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onAttach); + _eventBufferSerializer.writeInt32(nodeId); + sendEvent(&_eventBuffer); + } + void onDetachImpl(Ark_Int32 nodeId) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onDetach); + _eventBufferSerializer.writeInt32(nodeId); + sendEvent(&_eventBuffer); + } + void onAreaChangeImpl(Ark_Int32 nodeId, + const Ark_Area oldValue, + const Ark_Area newValue) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onAreaChange); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeArea(oldValue); + _eventBufferSerializer.writeArea(newValue); + sendEvent(&_eventBuffer); + } + void onDragStartImpl(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onDragStart); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeDragEvent(event); + int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; + extraParams_type = runtimeType(extraParams); + _eventBufferSerializer.writeInt8(extraParams_type); + if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + const auto extraParams_value = extraParams.value; + _eventBufferSerializer.writeString(extraParams_value); + } + sendEvent(&_eventBuffer); + } + void onDragEnterImpl(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onDragEnter); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeDragEvent(event); + int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; + extraParams_type = runtimeType(extraParams); + _eventBufferSerializer.writeInt8(extraParams_type); + if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + const auto extraParams_value = extraParams.value; + _eventBufferSerializer.writeString(extraParams_value); + } + sendEvent(&_eventBuffer); + } + void onDragMoveImpl(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onDragMove); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeDragEvent(event); + int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; + extraParams_type = runtimeType(extraParams); + _eventBufferSerializer.writeInt8(extraParams_type); + if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + const auto extraParams_value = extraParams.value; + _eventBufferSerializer.writeString(extraParams_value); + } + sendEvent(&_eventBuffer); + } + void onDragLeaveImpl(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onDragLeave); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeDragEvent(event); + int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; + extraParams_type = runtimeType(extraParams); + _eventBufferSerializer.writeInt8(extraParams_type); + if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + const auto extraParams_value = extraParams.value; + _eventBufferSerializer.writeString(extraParams_value); + } + sendEvent(&_eventBuffer); + } + void onDropImpl(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onDrop); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeDragEvent(event); + int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; + extraParams_type = runtimeType(extraParams); + _eventBufferSerializer.writeInt8(extraParams_type); + if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + const auto extraParams_value = extraParams.value; + _eventBufferSerializer.writeString(extraParams_value); + } + sendEvent(&_eventBuffer); + } + void onDragEndImpl(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onDragEnd); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeDragEvent(event); + int32_t extraParams_type = ARK_RUNTIME_UNDEFINED; + extraParams_type = runtimeType(extraParams); + _eventBufferSerializer.writeInt8(extraParams_type); + if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + const auto extraParams_value = extraParams.value; + _eventBufferSerializer.writeString(extraParams_value); + } + sendEvent(&_eventBuffer); + } + void onPreDragImpl(Ark_Int32 nodeId, + const Ark_Int32 data) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onPreDrag); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeInt32(data); + sendEvent(&_eventBuffer); + } + void onVisibleAreaChangeImpl(Ark_Int32 nodeId, + const Ark_Boolean isVisible, + const Ark_Number currentRatio) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onVisibleAreaChange); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeBoolean(isVisible); + _eventBufferSerializer.writeNumber(currentRatio); + sendEvent(&_eventBuffer); + } + void keyboardShortcutImpl(Ark_Int32 nodeId) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_keyboardShortcut); + _eventBufferSerializer.writeInt32(nodeId); + sendEvent(&_eventBuffer); + } + void onGestureJudgeBeginImpl(Ark_Int32 nodeId, + const Ark_GestureInfo gestureInfo, + const Ark_BaseGestureEvent event) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onGestureJudgeBegin); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeGestureInfo(gestureInfo); + _eventBufferSerializer.writeBaseGestureEvent(event); + sendEvent(&_eventBuffer); + } + void onGestureRecognizerJudgeBeginImpl(Ark_Int32 nodeId, + const Ark_BaseGestureEvent event, + const Ark_Materialized current, + const Array_GestureRecognizer recognizers) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onGestureRecognizerJudgeBegin); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeBaseGestureEvent(event); + _eventBufferSerializer.writeMaterialized(current); + _eventBufferSerializer.writeInt8(runtimeType(recognizers)); + _eventBufferSerializer.writeInt32(recognizers.length); + for (int i = 0; i < recognizers.length; i++) { + const auto recognizers_element = recognizers.array[i]; + _eventBufferSerializer.writeMaterialized(recognizers_element); + } + sendEvent(&_eventBuffer); + } + void shouldBuiltInRecognizerParallelWithImpl(Ark_Int32 nodeId, + const Ark_Materialized current, + const Array_GestureRecognizer others) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_shouldBuiltInRecognizerParallelWith); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeMaterialized(current); + _eventBufferSerializer.writeInt8(runtimeType(others)); + _eventBufferSerializer.writeInt32(others.length); + for (int i = 0; i < others.length; i++) { + const auto others_element = others.array[i]; + _eventBufferSerializer.writeMaterialized(others_element); + } + sendEvent(&_eventBuffer); + } + void onTouchInterceptImpl(Ark_Int32 nodeId, + const Ark_TouchEvent data) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onTouchIntercept); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeTouchEvent(data); + sendEvent(&_eventBuffer); + } + void onSizeChangeImpl(Ark_Int32 nodeId, + const Ark_SizeOptions oldValue, + const Ark_SizeOptions newValue) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindCommonMethod_onSizeChange); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeSizeOptions(oldValue); + _eventBufferSerializer.writeSizeOptions(newValue); + sendEvent(&_eventBuffer); + } } namespace Image { - void onCompleteImpl(Ark_Int32 nodeId, const Opt_Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number event) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindImage_onComplete); - _eventBufferSerializer.writeInt32(nodeId); - int32_t event_type = ARK_RUNTIME_UNDEFINED; - event_type = runtimeType(event); - _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { - const auto event_value = event.value; - const auto event_value_width = event_value.width; - _eventBufferSerializer.writeNumber(event_value_width); - const auto event_value_height = event_value.height; - _eventBufferSerializer.writeNumber(event_value_height); - const auto event_value_componentWidth = event_value.componentWidth; - _eventBufferSerializer.writeNumber(event_value_componentWidth); - const auto event_value_componentHeight = event_value.componentHeight; - _eventBufferSerializer.writeNumber(event_value_componentHeight); - const auto event_value_loadingStatus = event_value.loadingStatus; - _eventBufferSerializer.writeNumber(event_value_loadingStatus); - const auto event_value_contentWidth = event_value.contentWidth; - _eventBufferSerializer.writeNumber(event_value_contentWidth); - const auto event_value_contentHeight = event_value.contentHeight; - _eventBufferSerializer.writeNumber(event_value_contentHeight); - const auto event_value_contentOffsetX = event_value.contentOffsetX; - _eventBufferSerializer.writeNumber(event_value_contentOffsetX); - const auto event_value_contentOffsetY = event_value.contentOffsetY; - _eventBufferSerializer.writeNumber(event_value_contentOffsetY); - } - sendEvent(&_eventBuffer); - } - void onErrorImpl(Ark_Int32 nodeId, const Ark_ImageError error) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindImage_onError); - _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeImageError(error); - sendEvent(&_eventBuffer); - } - void onFinishImpl(Ark_Int32 nodeId) { - EventBuffer _eventBuffer; - Serializer _eventBufferSerializer(_eventBuffer.buffer); - _eventBufferSerializer.writeInt32(KindImage_onFinish); - _eventBufferSerializer.writeInt32(nodeId); - sendEvent(&_eventBuffer); - } + void onCompleteImpl(Ark_Int32 nodeId, + const Opt_Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY event) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindImage_onComplete); + _eventBufferSerializer.writeInt32(nodeId); + int32_t event_type = ARK_RUNTIME_UNDEFINED; + event_type = runtimeType(event); + _eventBufferSerializer.writeInt8(event_type); + if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + const auto event_value = event.value; + const auto event_value_width = event_value.width; + _eventBufferSerializer.writeNumber(event_value_width); + const auto event_value_height = event_value.height; + _eventBufferSerializer.writeNumber(event_value_height); + const auto event_value_componentWidth = event_value.componentWidth; + _eventBufferSerializer.writeNumber(event_value_componentWidth); + const auto event_value_componentHeight = event_value.componentHeight; + _eventBufferSerializer.writeNumber(event_value_componentHeight); + const auto event_value_loadingStatus = event_value.loadingStatus; + _eventBufferSerializer.writeNumber(event_value_loadingStatus); + const auto event_value_contentWidth = event_value.contentWidth; + _eventBufferSerializer.writeNumber(event_value_contentWidth); + const auto event_value_contentHeight = event_value.contentHeight; + _eventBufferSerializer.writeNumber(event_value_contentHeight); + const auto event_value_contentOffsetX = event_value.contentOffsetX; + _eventBufferSerializer.writeNumber(event_value_contentOffsetX); + const auto event_value_contentOffsetY = event_value.contentOffsetY; + _eventBufferSerializer.writeNumber(event_value_contentOffsetY); + } + sendEvent(&_eventBuffer); + } + void onErrorImpl(Ark_Int32 nodeId, + const Ark_ImageError error) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindImage_onError); + _eventBufferSerializer.writeInt32(nodeId); + _eventBufferSerializer.writeImageError(error); + sendEvent(&_eventBuffer); + } + void onFinishImpl(Ark_Int32 nodeId) + { + EventBuffer _eventBuffer; + Serializer _eventBufferSerializer(_eventBuffer.buffer); + _eventBufferSerializer.writeInt32(KindImage_onFinish); + _eventBufferSerializer.writeInt32(nodeId); + sendEvent(&_eventBuffer); + } } - const GENERATED_ArkUICheckboxEventsReceiver* GetCheckboxEventsReceiver() { + const GENERATED_ArkUICheckboxEventsReceiver* GetCheckboxEventsReceiver() + { static const GENERATED_ArkUICheckboxEventsReceiver GENERATED_ArkUICheckboxEventsReceiverImpl { Checkbox::onChangeImpl, }; return &GENERATED_ArkUICheckboxEventsReceiverImpl; } - const GENERATED_ArkUICommonMethodEventsReceiver* GetCommonMethodEventsReceiver() { + const GENERATED_ArkUICommonMethodEventsReceiver* GetCommonMethodEventsReceiver() + { static const GENERATED_ArkUICommonMethodEventsReceiver GENERATED_ArkUICommonMethodEventsReceiverImpl { CommonMethod::onChildTouchTestImpl, CommonMethod::onClickImpl, @@ -722,7 +797,8 @@ namespace Generated { return &GENERATED_ArkUICommonMethodEventsReceiverImpl; } - const GENERATED_ArkUIImageEventsReceiver* GetImageEventsReceiver() { + const GENERATED_ArkUIImageEventsReceiver* GetImageEventsReceiver() + { static const GENERATED_ArkUIImageEventsReceiver GENERATED_ArkUIImageEventsReceiverImpl { Image::onCompleteImpl, Image::onErrorImpl, @@ -731,7 +807,8 @@ namespace Generated { return &GENERATED_ArkUIImageEventsReceiverImpl; } - const GENERATED_ArkUIEventsAPI* GetArkUiEventsAPI() { + const GENERATED_ArkUIEventsAPI* GetArkUiEventsAPI() + { static const GENERATED_ArkUIEventsAPI eventsImpl = { nullptr, nullptr, diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index a69963033538d9d729a7f6eb0ba45ef5941c91e4..d88581bbd0744f15fd5602696dfce0d67ceb0c47 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -32,6 +32,8 @@ #define GENERATED_ARKUI_NODE_MODIFIERS_API_VERSION 6 #define GENERATED_ARKUI_AUTO_GENERATE_NODE_ID (-2) +/* clang-format off */ + #ifdef __cplusplus extern "C" { #endif @@ -192,9 +194,15 @@ typedef struct Opt_Resource { Ark_Resource value; } Opt_Resource; typedef Ark_Int32 Ark_ColoringStrategy; -typedef struct Opt_ColoringStrategy { enum Ark_Tag tag; Ark_ColoringStrategy value; } Opt_ColoringStrategy; +typedef struct Opt_ColoringStrategy { + enum Ark_Tag tag; + Ark_ColoringStrategy value; +} Opt_ColoringStrategy; typedef Ark_Int32 Ark_Color; -typedef struct Opt_Color { enum Ark_Tag tag; Ark_Color value; } Opt_Color; +typedef struct Opt_Color { + enum Ark_Tag tag; + Ark_Color value; +} Opt_Color; typedef struct Ark_Position { Opt_Length x; Opt_Length y; @@ -203,26 +211,26 @@ typedef struct Opt_Position { enum Ark_Tag tag; Ark_Position value; } Opt_Position; -typedef struct Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length { +typedef struct Ark_BorderRadiuses { Opt_Length topLeft; Opt_Length topRight; Opt_Length bottomLeft; Opt_Length bottomRight; -} Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length; -typedef struct Opt_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length { +} Ark_BorderRadiuses; +typedef struct Opt_BorderRadiuses { enum Ark_Tag tag; - Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length value; -} Opt_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length; -typedef struct Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length { + Ark_BorderRadiuses value; +} Opt_BorderRadiuses; +typedef struct Ark_Padding { Opt_Length top; Opt_Length right; Opt_Length bottom; Opt_Length left; -} Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length; -typedef struct Opt_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length { +} Ark_Padding; +typedef struct Opt_Padding { enum Ark_Tag tag; - Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value; -} Opt_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length; + Ark_Padding value; +} Opt_Padding; typedef struct Tuple_Length_Length { Ark_Length value0; Ark_Length value1; @@ -264,9 +272,15 @@ typedef struct Opt_Union_Color_String_Resource_ColoringStrategy { Union_Color_String_Resource_ColoringStrategy value; } Opt_Union_Color_String_Resource_ColoringStrategy; typedef Ark_Int32 Ark_ShadowType; -typedef struct Opt_ShadowType { enum Ark_Tag tag; Ark_ShadowType value; } Opt_ShadowType; +typedef struct Opt_ShadowType { + enum Ark_Tag tag; + Ark_ShadowType value; +} Opt_ShadowType; typedef Ark_Int32 Ark_FontWeight; -typedef struct Opt_FontWeight { enum Ark_Tag tag; Ark_FontWeight value; } Opt_FontWeight; +typedef struct Opt_FontWeight { + enum Ark_Tag tag; + Ark_FontWeight value; +} Opt_FontWeight; typedef struct Ark_Area { Ark_Length width; Ark_Length height; @@ -277,28 +291,28 @@ typedef struct Opt_Area { enum Ark_Tag tag; Ark_Area value; } Opt_Area; -typedef struct Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length { +typedef struct Union_Length_Ark_BorderRadiuses { Ark_Int32 selector; union { Ark_Length value0; - struct Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length value1; + struct Ark_BorderRadiuses value1; }; -} Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length; -typedef struct Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length { +} Union_Length_Ark_BorderRadiuses; +typedef struct Opt_Union_Length_BorderRadiuses { enum Ark_Tag tag; - Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length value; -} Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length; -typedef struct Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length { + Union_Length_Ark_BorderRadiuses value; +} Opt_Union_Length_BorderRadiuses; +typedef struct Union_Length_Ark_Padding { Ark_Int32 selector; union { Ark_Length value0; - struct Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value1; + struct Ark_Padding value1; }; -} Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length; -typedef struct Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length { +} Union_Length_Ark_Padding; +typedef struct Opt_Union_Length_Padding { enum Ark_Tag tag; - Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value; -} Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length; + Union_Length_Ark_Padding value; +} Opt_Union_Length_Padding; typedef struct Ark_LeadingMarginPlaceholder { Ark_CustomObject pixelMap; struct Tuple_Length_Length size; @@ -308,8 +322,11 @@ typedef struct Opt_LeadingMarginPlaceholder { Ark_LeadingMarginPlaceholder value; } Opt_LeadingMarginPlaceholder; typedef Ark_Int32 Ark_TextDecorationStyle; -typedef struct Opt_TextDecorationStyle { enum Ark_Tag tag; Ark_TextDecorationStyle value; } Opt_TextDecorationStyle; -typedef struct Union_Color_Number_String_Resource { +typedef struct Opt_TextDecorationStyle { + enum Ark_Tag tag; + Ark_TextDecorationStyle value; +} Opt_TextDecorationStyle; +typedef struct Ark_ResourceColor { Ark_Int32 selector; union { Ark_Color value0; @@ -317,35 +334,38 @@ typedef struct Union_Color_Number_String_Resource { Ark_String value2; struct Ark_Resource value3; }; -} Union_Color_Number_String_Resource; -typedef struct Opt_Union_Color_Number_String_Resource { +} Ark_ResourceColor; +typedef struct Opt_ResourceColor { enum Ark_Tag tag; - Union_Color_Number_String_Resource value; -} Opt_Union_Color_Number_String_Resource; + Ark_ResourceColor value; +} Opt_ResourceColor; typedef Ark_Int32 Ark_TextDecorationType; -typedef struct Opt_TextDecorationType { enum Ark_Tag tag; Ark_TextDecorationType value; } Opt_TextDecorationType; -typedef struct Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length { +typedef struct Opt_TextDecorationType { + enum Ark_Tag tag; + Ark_TextDecorationType value; +} Opt_TextDecorationType; +typedef struct Union_CustomObject_Ark_BorderRadiuses { Ark_Int32 selector; union { Ark_CustomObject value0; - struct Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length value1; + struct Ark_BorderRadiuses value1; }; -} Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length; -typedef struct Opt_Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length { +} Union_CustomObject_Ark_BorderRadiuses; +typedef struct Opt_Union_CustomObject_BorderRadiuses { enum Ark_Tag tag; - Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length value; -} Opt_Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length; -typedef struct Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length { + Union_CustomObject_Ark_BorderRadiuses value; +} Opt_Union_CustomObject_BorderRadiuses; +typedef struct Union_CustomObject_Ark_Padding { Ark_Int32 selector; union { Ark_CustomObject value0; - struct Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value1; + struct Ark_Padding value1; }; -} Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length; -typedef struct Opt_Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length { +} Union_CustomObject_Ark_Padding; +typedef struct Opt_Union_CustomObject_Padding { enum Ark_Tag tag; - Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value; -} Opt_Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length; + Union_CustomObject_Ark_Padding value; +} Opt_Union_CustomObject_Padding; typedef struct Array_ShadowOptions { struct Ark_ShadowOptions* array; Ark_Int32 length; @@ -366,16 +386,21 @@ typedef struct Opt_ShadowOptions { enum Ark_Tag tag; Ark_ShadowOptions value; } Opt_ShadowOptions; -typedef struct Ark_ICurve { -} Ark_ICurve; +typedef Ark_Materialized Ark_ICurve; typedef struct Opt_ICurve { enum Ark_Tag tag; Ark_ICurve value; } Opt_ICurve; typedef Ark_Int32 Ark_Curve; -typedef struct Opt_Curve { enum Ark_Tag tag; Ark_Curve value; } Opt_Curve; +typedef struct Opt_Curve { + enum Ark_Tag tag; + Ark_Curve value; +} Opt_Curve; typedef Ark_Int32 Ark_FontStyle; -typedef struct Opt_FontStyle { enum Ark_Tag tag; Ark_FontStyle value; } Opt_FontStyle; +typedef struct Opt_FontStyle { + enum Ark_Tag tag; + Ark_FontStyle value; +} Opt_FontStyle; typedef struct Union_String_Resource { Ark_Int32 selector; union { @@ -399,7 +424,19 @@ typedef struct Opt_Union_FontWeight_Number_String { enum Ark_Tag tag; Union_FontWeight_Number_String value; } Opt_Union_FontWeight_Number_String; +typedef struct Ark_ResourceStr { + Ark_Int32 selector; + union { + Ark_String value0; + struct Ark_Resource value1; + }; +} Ark_ResourceStr; +typedef struct Opt_ResourceStr { + enum Ark_Tag tag; + Ark_ResourceStr value; +} Opt_ResourceStr; typedef struct Ark_CommonMethod { + void *handle; } Ark_CommonMethod; typedef struct Opt_CommonMethod { enum Ark_Tag tag; @@ -441,11 +478,20 @@ typedef struct Opt_CanvasGradient { Ark_CanvasGradient value; } Opt_CanvasGradient; typedef Ark_Int32 Ark_SheetSize; -typedef struct Opt_SheetSize { enum Ark_Tag tag; Ark_SheetSize value; } Opt_SheetSize; +typedef struct Opt_SheetSize { + enum Ark_Tag tag; + Ark_SheetSize value; +} Opt_SheetSize; typedef Ark_Int32 Ark_SourceTool; -typedef struct Opt_SourceTool { enum Ark_Tag tag; Ark_SourceTool value; } Opt_SourceTool; +typedef struct Opt_SourceTool { + enum Ark_Tag tag; + Ark_SourceTool value; +} Opt_SourceTool; typedef Ark_Int32 Ark_SourceType; -typedef struct Opt_SourceType { enum Ark_Tag tag; Ark_SourceType value; } Opt_SourceType; +typedef struct Opt_SourceType { + enum Ark_Tag tag; + Ark_SourceType value; +} Opt_SourceType; typedef struct Ark_EventTarget { struct Ark_Area area; } Ark_EventTarget; @@ -454,17 +500,23 @@ typedef struct Opt_EventTarget { Ark_EventTarget value; } Opt_EventTarget; typedef struct Ark_RichEditorLayoutStyle { - struct Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length margin; - struct Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length borderRadius; + struct Opt_Union_Length_Padding margin; + struct Opt_Union_Length_BorderRadiuses borderRadius; } Ark_RichEditorLayoutStyle; typedef struct Opt_RichEditorLayoutStyle { enum Ark_Tag tag; Ark_RichEditorLayoutStyle value; } Opt_RichEditorLayoutStyle; typedef Ark_Int32 Ark_ImageFit; -typedef struct Opt_ImageFit { enum Ark_Tag tag; Ark_ImageFit value; } Opt_ImageFit; +typedef struct Opt_ImageFit { + enum Ark_Tag tag; + Ark_ImageFit value; +} Opt_ImageFit; typedef Ark_Int32 Ark_ImageSpanAlignment; -typedef struct Opt_ImageSpanAlignment { enum Ark_Tag tag; Ark_ImageSpanAlignment value; } Opt_ImageSpanAlignment; +typedef struct Opt_ImageSpanAlignment { + enum Ark_Tag tag; + Ark_ImageSpanAlignment value; +} Opt_ImageSpanAlignment; typedef struct Tuple_Number_Number { Ark_Number value0; Ark_Number value1; @@ -474,9 +526,15 @@ typedef struct Opt_Tuple_Number_Number { Tuple_Number_Number value; } Opt_Tuple_Number_Number; typedef Ark_Int32 Ark_LineBreakStrategy; -typedef struct Opt_LineBreakStrategy { enum Ark_Tag tag; Ark_LineBreakStrategy value; } Opt_LineBreakStrategy; +typedef struct Opt_LineBreakStrategy { + enum Ark_Tag tag; + Ark_LineBreakStrategy value; +} Opt_LineBreakStrategy; typedef Ark_Int32 Ark_WordBreak; -typedef struct Opt_WordBreak { enum Ark_Tag tag; Ark_WordBreak value; } Opt_WordBreak; +typedef struct Opt_WordBreak { + enum Ark_Tag tag; + Ark_WordBreak value; +} Opt_WordBreak; typedef struct Union_Length_LeadingMarginPlaceholder { Ark_Int32 selector; union { @@ -489,11 +547,20 @@ typedef struct Opt_Union_Length_LeadingMarginPlaceholder { Union_Length_LeadingMarginPlaceholder value; } Opt_Union_Length_LeadingMarginPlaceholder; typedef Ark_Int32 Ark_TextAlign; -typedef struct Opt_TextAlign { enum Ark_Tag tag; Ark_TextAlign value; } Opt_TextAlign; +typedef struct Opt_TextAlign { + enum Ark_Tag tag; + Ark_TextAlign value; +} Opt_TextAlign; typedef Ark_Int32 Ark_SymbolRenderingStrategy; -typedef struct Opt_SymbolRenderingStrategy { enum Ark_Tag tag; Ark_SymbolRenderingStrategy value; } Opt_SymbolRenderingStrategy; +typedef struct Opt_SymbolRenderingStrategy { + enum Ark_Tag tag; + Ark_SymbolRenderingStrategy value; +} Opt_SymbolRenderingStrategy; typedef Ark_Int32 Ark_SymbolEffectStrategy; -typedef struct Opt_SymbolEffectStrategy { enum Ark_Tag tag; Ark_SymbolEffectStrategy value; } Opt_SymbolEffectStrategy; +typedef struct Opt_SymbolEffectStrategy { + enum Ark_Tag tag; + Ark_SymbolEffectStrategy value; +} Opt_SymbolEffectStrategy; typedef struct Union_Number_FontWeight_String { Ark_Int32 selector; union { @@ -506,14 +573,14 @@ typedef struct Opt_Union_Number_FontWeight_String { enum Ark_Tag tag; Union_Number_FontWeight_String value; } Opt_Union_Number_FontWeight_String; -typedef struct Array_Union_Color_Number_String_Resource { - struct Union_Color_Number_String_Resource* array; +typedef struct Array_Ark_ResourceColor { + struct Ark_ResourceColor* array; Ark_Int32 length; -} Array_Union_Color_Number_String_Resource; -typedef struct Opt_Array_Union_Color_Number_String_Resource { +} Array_Ark_ResourceColor; +typedef struct Opt_Array_ResourceColor { enum Ark_Tag tag; - Array_Union_Color_Number_String_Resource value; -} Opt_Array_Union_Color_Number_String_Resource; + Array_Ark_ResourceColor value; +} Opt_Array_ResourceColor; typedef struct Union_Number_String_Resource { Ark_Int32 selector; union { @@ -528,7 +595,7 @@ typedef struct Opt_Union_Number_String_Resource { } Opt_Union_Number_String_Resource; typedef struct Ark_DecorationStyleResult { Ark_TextDecorationType type; - struct Union_Color_Number_String_Resource color; + struct Ark_ResourceColor color; Opt_TextDecorationStyle style; } Ark_DecorationStyleResult; typedef struct Opt_DecorationStyleResult { @@ -547,11 +614,14 @@ typedef struct Opt_Union_Number_LeadingMarginPlaceholder { Union_Number_LeadingMarginPlaceholder value; } Opt_Union_Number_LeadingMarginPlaceholder; typedef Ark_Int32 Ark_TextOverflow; -typedef struct Opt_TextOverflow { enum Ark_Tag tag; Ark_TextOverflow value; } Opt_TextOverflow; +typedef struct Opt_TextOverflow { + enum Ark_Tag tag; + Ark_TextOverflow value; +} Opt_TextOverflow; typedef struct Ark_ImageAttachmentLayoutStyle { - struct Opt_Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length margin; - struct Opt_Union_CustomObject_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length padding; - struct Opt_Union_CustomObject_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length borderRadius; + struct Opt_Union_CustomObject_Padding margin; + struct Opt_Union_CustomObject_Padding padding; + struct Opt_Union_CustomObject_BorderRadiuses borderRadius; } Ark_ImageAttachmentLayoutStyle; typedef struct Opt_ImageAttachmentLayoutStyle { enum Ark_Tag tag; @@ -597,7 +667,7 @@ typedef struct Opt_Union_ShadowOptions_Array_ShadowOptions { } Opt_Union_ShadowOptions_Array_ShadowOptions; typedef struct Ark_DecorationStyleInterface { Ark_TextDecorationType type; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; Opt_TextDecorationStyle style; } Ark_DecorationStyleInterface; typedef struct Opt_DecorationStyleInterface { @@ -619,7 +689,7 @@ typedef struct Union_Curve_ICurve { Ark_Int32 selector; union { Ark_Curve value0; - struct Ark_ICurve value1; + Ark_ICurve value1; }; } Union_Curve_ICurve; typedef struct Opt_Union_Curve_ICurve { @@ -647,19 +717,23 @@ typedef struct Opt_Font { Ark_Font value; } Opt_Font; typedef Ark_Int32 Ark_TextHeightAdaptivePolicy; -typedef struct Opt_TextHeightAdaptivePolicy { enum Ark_Tag tag; Ark_TextHeightAdaptivePolicy value; } Opt_TextHeightAdaptivePolicy; -typedef struct Union_Number_Union_String_Resource { +typedef struct Opt_TextHeightAdaptivePolicy { + enum Ark_Tag tag; + Ark_TextHeightAdaptivePolicy value; +} Opt_TextHeightAdaptivePolicy; +typedef struct Union_Number_Ark_ResourceStr { Ark_Int32 selector; union { Ark_Number value0; - struct Union_String_Resource value1; + struct Ark_ResourceStr value1; }; -} Union_Number_Union_String_Resource; -typedef struct Opt_Union_Number_Union_String_Resource { +} Union_Number_Ark_ResourceStr; +typedef struct Opt_Union_Number_ResourceStr { enum Ark_Tag tag; - Union_Number_Union_String_Resource value; -} Opt_Union_Number_Union_String_Resource; + Union_Number_Ark_ResourceStr value; +} Opt_Union_Number_ResourceStr; typedef struct Ark_CommonShapeMethod { + void *handle; } Ark_CommonShapeMethod; typedef struct Opt_CommonShapeMethod { enum Ark_Tag tag; @@ -679,18 +753,21 @@ typedef struct Opt_Array_CustomObject { Array_CustomObject value; } Opt_Array_CustomObject; typedef Ark_Int32 Ark_TitleHeight; -typedef struct Opt_TitleHeight { enum Ark_Tag tag; Ark_TitleHeight value; } Opt_TitleHeight; -typedef struct Union_Function_Undefined { +typedef struct Opt_TitleHeight { + enum Ark_Tag tag; + Ark_TitleHeight value; +} Opt_TitleHeight; +typedef struct Ark_CustomBuilder { Ark_Int32 selector; union { struct Ark_Function value0; Ark_Undefined value1; }; -} Union_Function_Undefined; -typedef struct Opt_Union_Function_Undefined { +} Ark_CustomBuilder; +typedef struct Opt_CustomBuilder { enum Ark_Tag tag; - Union_Function_Undefined value; -} Opt_Union_Function_Undefined; + Ark_CustomBuilder value; +} Opt_CustomBuilder; typedef struct Union_Length_GridRowSizeOption { Ark_Int32 selector; union { @@ -702,17 +779,20 @@ typedef struct Opt_Union_Length_GridRowSizeOption { enum Ark_Tag tag; Union_Length_GridRowSizeOption value; } Opt_Union_Length_GridRowSizeOption; -typedef struct Array_Tuple_Union_Color_Number_String_Resource_Number { - struct Tuple_Union_Color_Number_String_Resource_Number* array; +typedef struct Array_Tuple_Ark_ResourceColor_Number { + struct Tuple_Ark_ResourceColor_Number* array; Ark_Int32 length; -} Array_Tuple_Union_Color_Number_String_Resource_Number; -typedef struct Opt_Array_Tuple_Union_Color_Number_String_Resource_Number { +} Array_Tuple_Ark_ResourceColor_Number; +typedef struct Opt_Array_Tuple_ResourceColor_Number { enum Ark_Tag tag; - Array_Tuple_Union_Color_Number_String_Resource_Number value; -} Opt_Array_Tuple_Union_Color_Number_String_Resource_Number; + Array_Tuple_Ark_ResourceColor_Number value; +} Opt_Array_Tuple_ResourceColor_Number; typedef Ark_Int32 Ark_GradientDirection; -typedef struct Opt_GradientDirection { enum Ark_Tag tag; Ark_GradientDirection value; } Opt_GradientDirection; -typedef struct Union_String_String_String_String_String_String { +typedef struct Opt_GradientDirection { + enum Ark_Tag tag; + Ark_GradientDirection value; +} Opt_GradientDirection; +typedef struct Ark_CanvasTextBaseline { Ark_Int32 selector; union { struct Ark_String value0; @@ -722,12 +802,12 @@ typedef struct Union_String_String_String_String_String_String { struct Ark_String value4; struct Ark_String value5; }; -} Union_String_String_String_String_String_String; -typedef struct Opt_Union_String_String_String_String_String_String { +} Ark_CanvasTextBaseline; +typedef struct Opt_CanvasTextBaseline { enum Ark_Tag tag; - Union_String_String_String_String_String_String value; -} Opt_Union_String_String_String_String_String_String; -typedef struct Union_String_String_String_String_String { + Ark_CanvasTextBaseline value; +} Opt_CanvasTextBaseline; +typedef struct Ark_CanvasTextAlign { Ark_Int32 selector; union { struct Ark_String value0; @@ -736,23 +816,59 @@ typedef struct Union_String_String_String_String_String { struct Ark_String value3; struct Ark_String value4; }; -} Union_String_String_String_String_String; -typedef struct Opt_Union_String_String_String_String_String { +} Ark_CanvasTextAlign; +typedef struct Opt_CanvasTextAlign { + enum Ark_Tag tag; + Ark_CanvasTextAlign value; +} Opt_CanvasTextAlign; +typedef struct Ark_CanvasDirection { + Ark_Int32 selector; + union { + struct Ark_String value0; + struct Ark_String value1; + struct Ark_String value2; + }; +} Ark_CanvasDirection; +typedef struct Opt_CanvasDirection { enum Ark_Tag tag; - Union_String_String_String_String_String value; -} Opt_Union_String_String_String_String_String; -typedef struct Union_String_String_String { + Ark_CanvasDirection value; +} Opt_CanvasDirection; +typedef struct Ark_CanvasLineJoin { Ark_Int32 selector; union { struct Ark_String value0; struct Ark_String value1; struct Ark_String value2; }; -} Union_String_String_String; -typedef struct Opt_Union_String_String_String { +} Ark_CanvasLineJoin; +typedef struct Opt_CanvasLineJoin { enum Ark_Tag tag; - Union_String_String_String value; -} Opt_Union_String_String_String; + Ark_CanvasLineJoin value; +} Opt_CanvasLineJoin; +typedef struct Ark_CanvasLineCap { + Ark_Int32 selector; + union { + struct Ark_String value0; + struct Ark_String value1; + struct Ark_String value2; + }; +} Ark_CanvasLineCap; +typedef struct Opt_CanvasLineCap { + enum Ark_Tag tag; + Ark_CanvasLineCap value; +} Opt_CanvasLineCap; +typedef struct Ark_ImageSmoothingQuality { + Ark_Int32 selector; + union { + struct Ark_String value0; + struct Ark_String value1; + struct Ark_String value2; + }; +} Ark_ImageSmoothingQuality; +typedef struct Opt_ImageSmoothingQuality { + enum Ark_Tag tag; + Ark_ImageSmoothingQuality value; +} Opt_ImageSmoothingQuality; typedef struct Union_String_Number_CanvasGradient_CanvasPattern { Ark_Int32 selector; union { @@ -772,9 +888,15 @@ typedef struct Opt_CanvasPath { Ark_CanvasPath value; } Opt_CanvasPath; typedef Ark_Int32 Ark_BadgePosition; -typedef struct Opt_BadgePosition { enum Ark_Tag tag; Ark_BadgePosition value; } Opt_BadgePosition; +typedef struct Opt_BadgePosition { + enum Ark_Tag tag; + Ark_BadgePosition value; +} Opt_BadgePosition; typedef Ark_Int32 Ark_BorderStyle; -typedef struct Opt_BorderStyle { enum Ark_Tag tag; Ark_BorderStyle value; } Opt_BorderStyle; +typedef struct Opt_BorderStyle { + enum Ark_Tag tag; + Ark_BorderStyle value; +} Opt_BorderStyle; typedef struct Union_SheetSize_Length { Ark_Int32 selector; union { @@ -787,24 +909,34 @@ typedef struct Opt_Union_SheetSize_Length { Union_SheetSize_Length value; } Opt_Union_SheetSize_Length; typedef struct Ark_TransitionEffect { + void *handle; } Ark_TransitionEffect; typedef struct Opt_TransitionEffect { enum Ark_Tag tag; Ark_TransitionEffect value; } Opt_TransitionEffect; typedef Ark_Int32 Ark_MenuPreviewMode; -typedef struct Opt_MenuPreviewMode { enum Ark_Tag tag; Ark_MenuPreviewMode value; } Opt_MenuPreviewMode; +typedef struct Opt_MenuPreviewMode { + enum Ark_Tag tag; + Ark_MenuPreviewMode value; +} Opt_MenuPreviewMode; typedef Ark_Int32 Ark_ShadowStyle; -typedef struct Opt_ShadowStyle { enum Ark_Tag tag; Ark_ShadowStyle value; } Opt_ShadowStyle; -typedef struct Literal_color_Union_Color_Number_String_Resource { - struct Union_Color_Number_String_Resource color; -} Literal_color_Union_Color_Number_String_Resource; -typedef struct Opt_Literal_color_Union_Color_Number_String_Resource { - enum Ark_Tag tag; - Literal_color_Union_Color_Number_String_Resource value; -} Opt_Literal_color_Union_Color_Number_String_Resource; +typedef struct Opt_ShadowStyle { + enum Ark_Tag tag; + Ark_ShadowStyle value; +} Opt_ShadowStyle; +typedef struct Literal_Ark_ResourceColor_color { + struct Ark_ResourceColor color; +} Literal_Ark_ResourceColor_color; +typedef struct Opt_Literal_ResourceColor_color { + enum Ark_Tag tag; + Literal_Ark_ResourceColor_color value; +} Opt_Literal_ResourceColor_color; typedef Ark_Int32 Ark_OutlineStyle; -typedef struct Opt_OutlineStyle { enum Ark_Tag tag; Ark_OutlineStyle value; } Opt_OutlineStyle; +typedef struct Opt_OutlineStyle { + enum Ark_Tag tag; + Ark_OutlineStyle value; +} Opt_OutlineStyle; typedef struct Array_TouchObject { struct Ark_TouchObject* array; Ark_Int32 length; @@ -814,7 +946,10 @@ typedef struct Opt_Array_TouchObject { Array_TouchObject value; } Opt_Array_TouchObject; typedef Ark_Int32 Ark_TouchType; -typedef struct Opt_TouchType { enum Ark_Tag tag; Ark_TouchType value; } Opt_TouchType; +typedef struct Opt_TouchType { + enum Ark_Tag tag; + Ark_TouchType value; +} Opt_TouchType; typedef struct Ark_BaseEvent { struct Ark_EventTarget target; Ark_Number timestamp; @@ -874,7 +1009,7 @@ typedef struct Opt_RichEditorParagraphStyle { } Opt_RichEditorParagraphStyle; typedef struct Ark_RichEditorSymbolSpanStyle { struct Opt_Union_Number_String_Resource fontSize; - struct Opt_Array_Union_Color_Number_String_Resource fontColor; + struct Opt_Array_ResourceColor fontColor; struct Opt_Union_Number_FontWeight_String fontWeight; Opt_SymbolEffectStrategy effectStrategy; Opt_SymbolRenderingStrategy renderingStrategy; @@ -884,7 +1019,7 @@ typedef struct Opt_RichEditorSymbolSpanStyle { Ark_RichEditorSymbolSpanStyle value; } Opt_RichEditorSymbolSpanStyle; typedef struct Ark_RichEditorTextStyleResult { - struct Union_Color_Number_String_Resource fontColor; + struct Ark_ResourceColor fontColor; Ark_Number fontSize; Ark_FontStyle fontStyle; Ark_Number fontWeight; @@ -899,6 +1034,7 @@ typedef struct Opt_RichEditorTextStyleResult { Ark_RichEditorTextStyleResult value; } Opt_RichEditorTextStyleResult; typedef struct Ark_UserDataSpan { + void *handle; } Ark_UserDataSpan; typedef struct Opt_UserDataSpan { enum Ark_Tag tag; @@ -940,6 +1076,7 @@ typedef struct Opt_ImageAttachment { Ark_ImageAttachment value; } Opt_ImageAttachment; typedef struct Ark_GestureStyle { + void *handle; } Ark_GestureStyle; typedef struct Opt_GestureStyle { enum Ark_Tag tag; @@ -968,7 +1105,7 @@ typedef struct Opt_BaselineOffsetStyle { } Opt_BaselineOffsetStyle; typedef struct Ark_DecorationStyle { Ark_TextDecorationType type; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; Opt_TextDecorationStyle style; } Ark_DecorationStyle; typedef struct Opt_DecorationStyle { @@ -1001,11 +1138,11 @@ typedef struct Opt_RichEditorImageSpanStyle { Ark_RichEditorImageSpanStyle value; } Opt_RichEditorImageSpanStyle; typedef struct Ark_RichEditorTextStyle { - struct Opt_Union_Color_Number_String_Resource fontColor; + struct Opt_ResourceColor fontColor; struct Opt_Union_Length_Number fontSize; Opt_FontStyle fontStyle; struct Opt_Union_Number_FontWeight_String fontWeight; - struct Opt_Union_String_Resource fontFamily; + struct Opt_ResourceStr fontFamily; struct Opt_DecorationStyleInterface decoration; struct Opt_Union_ShadowOptions_Array_ShadowOptions textShadow; struct Opt_Union_Number_String letterSpacing; @@ -1063,7 +1200,10 @@ typedef struct Opt_WebController { Ark_WebController value; } Opt_WebController; typedef Ark_Int32 Ark_PlaybackSpeed; -typedef struct Opt_PlaybackSpeed { enum Ark_Tag tag; Ark_PlaybackSpeed value; } Opt_PlaybackSpeed; +typedef struct Opt_PlaybackSpeed { + enum Ark_Tag tag; + Ark_PlaybackSpeed value; +} Opt_PlaybackSpeed; typedef struct Array_Number { Ark_Number* array; Ark_Int32 length; @@ -1096,53 +1236,62 @@ typedef struct Opt_Array_Array_String { enum Ark_Tag tag; Array_Array_String value; } Opt_Array_Array_String; -typedef struct Union_Union_Color_Number_String_Resource_Undefined { +typedef struct Union_Ark_ResourceColor_Undefined { Ark_Int32 selector; union { - struct Union_Color_Number_String_Resource value0; + struct Ark_ResourceColor value0; Ark_Undefined value1; }; -} Union_Union_Color_Number_String_Resource_Undefined; -typedef struct Opt_Union_Union_Color_Number_String_Resource_Undefined { +} Union_Ark_ResourceColor_Undefined; +typedef struct Opt_Union_ResourceColor_Undefined { enum Ark_Tag tag; - Union_Union_Color_Number_String_Resource_Undefined value; -} Opt_Union_Union_Color_Number_String_Resource_Undefined; + Union_Ark_ResourceColor_Undefined value; +} Opt_Union_ResourceColor_Undefined; typedef Ark_Materialized Ark_TextContentControllerBase; typedef struct Opt_TextContentControllerBase { enum Ark_Tag tag; Ark_TextContentControllerBase value; } Opt_TextContentControllerBase; typedef Ark_Int32 Ark_MarqueeStartPolicy; -typedef struct Opt_MarqueeStartPolicy { enum Ark_Tag tag; Ark_MarqueeStartPolicy value; } Opt_MarqueeStartPolicy; +typedef struct Opt_MarqueeStartPolicy { + enum Ark_Tag tag; + Ark_MarqueeStartPolicy value; +} Opt_MarqueeStartPolicy; typedef struct Ark_TabBarIconStyle { - struct Opt_Union_Color_Number_String_Resource selectedColor; - struct Opt_Union_Color_Number_String_Resource unselectedColor; + struct Opt_ResourceColor selectedColor; + struct Opt_ResourceColor unselectedColor; } Ark_TabBarIconStyle; typedef struct Opt_TabBarIconStyle { enum Ark_Tag tag; Ark_TabBarIconStyle value; } Opt_TabBarIconStyle; typedef Ark_Int32 Ark_VerticalAlign; -typedef struct Opt_VerticalAlign { enum Ark_Tag tag; Ark_VerticalAlign value; } Opt_VerticalAlign; +typedef struct Opt_VerticalAlign { + enum Ark_Tag tag; + Ark_VerticalAlign value; +} Opt_VerticalAlign; typedef Ark_Int32 Ark_LayoutMode; -typedef struct Opt_LayoutMode { enum Ark_Tag tag; Ark_LayoutMode value; } Opt_LayoutMode; -typedef struct Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding { +typedef struct Opt_LayoutMode { + enum Ark_Tag tag; + Ark_LayoutMode value; +} Opt_LayoutMode; +typedef struct Union_Ark_Padding_Length_LocalizedPadding { Ark_Int32 selector; union { - struct Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value0; + struct Ark_Padding value0; Ark_Length value1; struct Ark_LocalizedPadding value2; }; -} Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding; -typedef struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding { +} Union_Ark_Padding_Length_LocalizedPadding; +typedef struct Opt_Union_Padding_Length_LocalizedPadding { enum Ark_Tag tag; - Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding value; -} Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding; + Union_Ark_Padding_Length_LocalizedPadding value; +} Opt_Union_Padding_Length_LocalizedPadding; typedef struct Ark_LabelStyle { Opt_TextOverflow overflow; Opt_Number maxLines; - struct Opt_Union_Number_Union_String_Resource minFontSize; - struct Opt_Union_Number_Union_String_Resource maxFontSize; + struct Opt_Union_Number_ResourceStr minFontSize; + struct Opt_Union_Number_ResourceStr maxFontSize; Opt_TextHeightAdaptivePolicy heightAdaptivePolicy; struct Opt_Font font; } Ark_LabelStyle; @@ -1150,17 +1299,17 @@ typedef struct Opt_LabelStyle { enum Ark_Tag tag; Ark_LabelStyle value; } Opt_LabelStyle; -typedef struct Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length { +typedef struct Union_Ark_Padding_Length { Ark_Int32 selector; union { - struct Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value0; + struct Ark_Padding value0; Ark_Length value1; }; -} Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length; -typedef struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length { +} Union_Ark_Padding_Length; +typedef struct Opt_Union_Padding_Length { enum Ark_Tag tag; - Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length value; -} Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length; + Union_Ark_Padding_Length value; +} Opt_Union_Padding_Length; typedef struct Ark_BoardStyle { Opt_Length borderRadius; } Ark_BoardStyle; @@ -1169,7 +1318,10 @@ typedef struct Opt_BoardStyle { Ark_BoardStyle value; } Opt_BoardStyle; typedef Ark_Int32 Ark_SelectedMode; -typedef struct Opt_SelectedMode { enum Ark_Tag tag; Ark_SelectedMode value; } Opt_SelectedMode; +typedef struct Opt_SelectedMode { + enum Ark_Tag tag; + Ark_SelectedMode value; +} Opt_SelectedMode; typedef struct Ark_IndicatorStyle { Opt_Length left; Opt_Length top; @@ -1177,24 +1329,24 @@ typedef struct Ark_IndicatorStyle { Opt_Length bottom; Opt_Length size; Opt_Boolean mask; - struct Opt_Union_Color_Number_String_Resource color; - struct Opt_Union_Color_Number_String_Resource selectedColor; + struct Opt_ResourceColor color; + struct Opt_ResourceColor selectedColor; } Ark_IndicatorStyle; typedef struct Opt_IndicatorStyle { enum Ark_Tag tag; Ark_IndicatorStyle value; } Opt_IndicatorStyle; -typedef struct Union_String_Number { +typedef struct Ark_VP { Ark_Int32 selector; union { struct Ark_String value0; Ark_Number value1; }; -} Union_String_Number; -typedef struct Opt_Union_String_Number { +} Ark_VP; +typedef struct Opt_VP { enum Ark_Tag tag; - Union_String_Number value; -} Opt_Union_String_Number; + Ark_VP value; +} Opt_VP; typedef struct Ark_Indicator { Opt_Length _left; Opt_Length _top; @@ -1208,24 +1360,28 @@ typedef struct Opt_Indicator { Ark_Indicator value; } Opt_Indicator; typedef struct Ark_RectAttribute { + void *handle; } Ark_RectAttribute; typedef struct Opt_RectAttribute { enum Ark_Tag tag; Ark_RectAttribute value; } Opt_RectAttribute; typedef struct Ark_PathAttribute { + void *handle; } Ark_PathAttribute; typedef struct Opt_PathAttribute { enum Ark_Tag tag; Ark_PathAttribute value; } Opt_PathAttribute; typedef struct Ark_EllipseAttribute { + void *handle; } Ark_EllipseAttribute; typedef struct Opt_EllipseAttribute { enum Ark_Tag tag; Ark_EllipseAttribute value; } Opt_EllipseAttribute; typedef struct Ark_CircleAttribute { + void *handle; } Ark_CircleAttribute; typedef struct Opt_CircleAttribute { enum Ark_Tag tag; @@ -1233,7 +1389,7 @@ typedef struct Opt_CircleAttribute { } Opt_CircleAttribute; typedef struct Ark_DividerOptions { Opt_Length strokeWidth; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; Opt_Length startMargin; Opt_Length endMargin; } Ark_DividerOptions; @@ -1242,11 +1398,14 @@ typedef struct Opt_DividerOptions { Ark_DividerOptions value; } Opt_DividerOptions; typedef Ark_Int32 Ark_CancelButtonStyle; -typedef struct Opt_CancelButtonStyle { enum Ark_Tag tag; Ark_CancelButtonStyle value; } Opt_CancelButtonStyle; +typedef struct Opt_CancelButtonStyle { + enum Ark_Tag tag; + Ark_CancelButtonStyle value; +} Opt_CancelButtonStyle; typedef struct Ark_IconOptions { Opt_Length size; - struct Opt_Union_Color_Number_String_Resource color; - struct Opt_Union_String_Resource src; + struct Opt_ResourceColor color; + struct Opt_ResourceStr src; } Ark_IconOptions; typedef struct Opt_IconOptions { enum Ark_Tag tag; @@ -1294,7 +1453,7 @@ typedef struct Opt_Union_TitleHeight_Length { Union_TitleHeight_Length value; } Opt_Union_TitleHeight_Length; typedef struct Ark_SwipeActionItem { - struct Opt_Union_Function_Undefined builder; + struct Opt_CustomBuilder builder; Opt_Length actionAreaDistance; struct Opt_Function onAction; struct Opt_Function onEnterActionArea; @@ -1306,7 +1465,10 @@ typedef struct Opt_SwipeActionItem { Ark_SwipeActionItem value; } Opt_SwipeActionItem; typedef Ark_Int32 Ark_BreakpointsReference; -typedef struct Opt_BreakpointsReference { enum Ark_Tag tag; Ark_BreakpointsReference value; } Opt_BreakpointsReference; +typedef struct Opt_BreakpointsReference { + enum Ark_Tag tag; + Ark_BreakpointsReference value; +} Opt_BreakpointsReference; typedef struct Ark_GridRowColumnOption { Opt_Number xs; Opt_Number sm; @@ -1342,7 +1504,7 @@ typedef struct Opt_GridColColumnOption { typedef struct Ark_LinearGradient { struct Opt_Union_Number_String angle; Opt_GradientDirection direction; - struct Array_Tuple_Union_Color_Number_String_Resource_Number colors; + struct Array_Tuple_Ark_ResourceColor_Number colors; Opt_Boolean repeating; } Ark_LinearGradient; typedef struct Opt_LinearGradient { @@ -1363,11 +1525,11 @@ typedef struct Opt_Array_CalendarDay { Array_CalendarDay value; } Opt_Array_CalendarDay; typedef struct Ark_BadgeStyle { - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; struct Opt_Union_Number_String fontSize; struct Opt_Union_Number_String badgeSize; - struct Opt_Union_Color_Number_String_Resource badgeColor; - struct Opt_Union_Color_Number_String_Resource borderColor; + struct Opt_ResourceColor badgeColor; + struct Opt_ResourceColor borderColor; Opt_Length borderWidth; struct Opt_Union_Number_FontWeight_String fontWeight; } Ark_BadgeStyle; @@ -1386,36 +1548,36 @@ typedef struct Opt_Union_BadgePosition_Position { enum Ark_Tag tag; Union_BadgePosition_Position value; } Opt_Union_BadgePosition_Position; -typedef struct Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle { +typedef struct Ark_EdgeStyles { Opt_BorderStyle top; Opt_BorderStyle right; Opt_BorderStyle bottom; Opt_BorderStyle left; -} Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle; -typedef struct Opt_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle { +} Ark_EdgeStyles; +typedef struct Opt_EdgeStyles { enum Ark_Tag tag; - Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle value; -} Opt_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle; + Ark_EdgeStyles value; +} Opt_EdgeStyles; typedef struct Ark_LocalizedEdgeColors { - struct Opt_Union_Color_Number_String_Resource top; - struct Opt_Union_Color_Number_String_Resource end; - struct Opt_Union_Color_Number_String_Resource bottom; - struct Opt_Union_Color_Number_String_Resource start; + struct Opt_ResourceColor top; + struct Opt_ResourceColor end; + struct Opt_ResourceColor bottom; + struct Opt_ResourceColor start; } Ark_LocalizedEdgeColors; typedef struct Opt_LocalizedEdgeColors { enum Ark_Tag tag; Ark_LocalizedEdgeColors value; } Opt_LocalizedEdgeColors; -typedef struct Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource { - struct Opt_Union_Color_Number_String_Resource top; - struct Opt_Union_Color_Number_String_Resource right; - struct Opt_Union_Color_Number_String_Resource bottom; - struct Opt_Union_Color_Number_String_Resource left; -} Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource; -typedef struct Opt_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource { - enum Ark_Tag tag; - Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource value; -} Opt_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource; +typedef struct Ark_EdgeColors { + struct Opt_ResourceColor top; + struct Opt_ResourceColor right; + struct Opt_ResourceColor bottom; + struct Opt_ResourceColor left; +} Ark_EdgeColors; +typedef struct Opt_EdgeColors { + enum Ark_Tag tag; + Ark_EdgeColors value; +} Opt_EdgeColors; typedef struct Ark_LocalizedEdgeWidths { Opt_CustomObject top; Opt_CustomObject end; @@ -1426,16 +1588,29 @@ typedef struct Opt_LocalizedEdgeWidths { enum Ark_Tag tag; Ark_LocalizedEdgeWidths value; } Opt_LocalizedEdgeWidths; +typedef struct Ark_EdgeWidths { + Opt_Length top; + Opt_Length right; + Opt_Length bottom; + Opt_Length left; +} Ark_EdgeWidths; +typedef struct Opt_EdgeWidths { + enum Ark_Tag tag; + Ark_EdgeWidths value; +} Opt_EdgeWidths; typedef struct Ark_SheetTitleOptions { - struct Union_String_Resource title; - struct Opt_Union_String_Resource subtitle; + struct Ark_ResourceStr title; + struct Opt_ResourceStr subtitle; } Ark_SheetTitleOptions; typedef struct Opt_SheetTitleOptions { enum Ark_Tag tag; Ark_SheetTitleOptions value; } Opt_SheetTitleOptions; typedef Ark_Int32 Ark_BlurStyle; -typedef struct Opt_BlurStyle { enum Ark_Tag tag; Ark_BlurStyle value; } Opt_BlurStyle; +typedef struct Opt_BlurStyle { + enum Ark_Tag tag; + Ark_BlurStyle value; +} Opt_BlurStyle; typedef struct Ark_ContextMenuAnimationOptions { Opt_CustomObject scale; struct Opt_TransitionEffect transition; @@ -1445,19 +1620,22 @@ typedef struct Opt_ContextMenuAnimationOptions { enum Ark_Tag tag; Ark_ContextMenuAnimationOptions value; } Opt_ContextMenuAnimationOptions; -typedef struct Union_MenuPreviewMode_Union_Function_Undefined { +typedef struct Union_MenuPreviewMode_Ark_CustomBuilder { Ark_Int32 selector; union { Ark_MenuPreviewMode value0; - struct Union_Function_Undefined value1; + struct Ark_CustomBuilder value1; }; -} Union_MenuPreviewMode_Union_Function_Undefined; -typedef struct Opt_Union_MenuPreviewMode_Union_Function_Undefined { +} Union_MenuPreviewMode_Ark_CustomBuilder; +typedef struct Opt_Union_MenuPreviewMode_CustomBuilder { enum Ark_Tag tag; - Union_MenuPreviewMode_Union_Function_Undefined value; -} Opt_Union_MenuPreviewMode_Union_Function_Undefined; + Union_MenuPreviewMode_Ark_CustomBuilder value; +} Opt_Union_MenuPreviewMode_CustomBuilder; typedef Ark_Int32 Ark_Placement; -typedef struct Opt_Placement { enum Ark_Tag tag; Ark_Placement value; } Opt_Placement; +typedef struct Opt_Placement { + enum Ark_Tag tag; + Ark_Placement value; +} Opt_Placement; typedef struct Union_Boolean_Ark_Function { Ark_Int32 selector; union { @@ -1481,18 +1659,21 @@ typedef struct Opt_Union_ShadowOptions_ShadowStyle { Union_ShadowOptions_ShadowStyle value; } Opt_Union_ShadowOptions_ShadowStyle; typedef Ark_Int32 Ark_ArrowPointPosition; -typedef struct Opt_ArrowPointPosition { enum Ark_Tag tag; Ark_ArrowPointPosition value; } Opt_ArrowPointPosition; -typedef struct Union_Boolean_Literal_color_Union_Color_Number_String_Resource { +typedef struct Opt_ArrowPointPosition { + enum Ark_Tag tag; + Ark_ArrowPointPosition value; +} Opt_ArrowPointPosition; +typedef struct Union_Boolean_Literal_Ark_ResourceColor_color { Ark_Int32 selector; union { Ark_Boolean value0; - struct Literal_color_Union_Color_Number_String_Resource value1; + struct Literal_Ark_ResourceColor_color value1; }; -} Union_Boolean_Literal_color_Union_Color_Number_String_Resource; -typedef struct Opt_Union_Boolean_Literal_color_Union_Color_Number_String_Resource { +} Union_Boolean_Literal_Ark_ResourceColor_color; +typedef struct Opt_Union_Boolean_Literal_ResourceColor_color { enum Ark_Tag tag; - Union_Boolean_Literal_color_Union_Color_Number_String_Resource value; -} Opt_Union_Boolean_Literal_color_Union_Color_Number_String_Resource; + Union_Boolean_Literal_Ark_ResourceColor_color value; +} Opt_Union_Boolean_Literal_ResourceColor_color; typedef struct Union_Color_String_Resource_Number { Ark_Int32 selector; union { @@ -1507,21 +1688,21 @@ typedef struct Opt_Union_Color_String_Resource_Number { Union_Color_String_Resource_Number value; } Opt_Union_Color_String_Resource_Number; typedef struct Ark_PopupMessageOptions { - struct Opt_Union_Color_Number_String_Resource textColor; + struct Opt_ResourceColor textColor; struct Opt_Font font; } Ark_PopupMessageOptions; typedef struct Opt_PopupMessageOptions { enum Ark_Tag tag; Ark_PopupMessageOptions value; } Opt_PopupMessageOptions; -typedef struct Literal_value_String_action_Function { +typedef struct Literal_String_value_Function_action { Ark_String value; struct Ark_Function action; -} Literal_value_String_action_Function; -typedef struct Opt_Literal_value_String_action_Function { +} Literal_String_value_Function_action; +typedef struct Opt_Literal_String_value_Function_action { enum Ark_Tag tag; - Literal_value_String_action_Function value; -} Opt_Literal_value_String_action_Function; + Literal_String_value_Function_action value; +} Opt_Literal_String_value_Function_action; typedef int32_t Ark_DragPreviewMode; typedef struct Array_DragPreviewMode { Ark_DragPreviewMode* array; @@ -1533,20 +1714,30 @@ typedef struct Opt_Array_DragPreviewMode { Array_DragPreviewMode value; } Opt_Array_DragPreviewMode; typedef Ark_Int32 Ark_DragPreviewMode; -typedef struct Opt_DragPreviewMode { enum Ark_Tag tag; Ark_DragPreviewMode value; } Opt_DragPreviewMode; +typedef struct Opt_DragPreviewMode { + enum Ark_Tag tag; + Ark_DragPreviewMode value; +} Opt_DragPreviewMode; typedef Ark_Int32 Ark_ClickEffectLevel; -typedef struct Opt_ClickEffectLevel { enum Ark_Tag tag; Ark_ClickEffectLevel value; } Opt_ClickEffectLevel; +typedef struct Opt_ClickEffectLevel { + enum Ark_Tag tag; + Ark_ClickEffectLevel value; +} Opt_ClickEffectLevel; typedef Ark_Int32 Ark_HorizontalAlign; -typedef struct Opt_HorizontalAlign { enum Ark_Tag tag; Ark_HorizontalAlign value; } Opt_HorizontalAlign; -typedef struct Literal_span_Number_offset_Number { +typedef struct Opt_HorizontalAlign { + enum Ark_Tag tag; + Ark_HorizontalAlign value; +} Opt_HorizontalAlign; +typedef struct Literal_Number_span_offset { Ark_Number span; Ark_Number offset; -} Literal_span_Number_offset_Number; -typedef struct Opt_Literal_span_Number_offset_Number { +} Literal_Number_span_offset; +typedef struct Opt_Literal_Number_span_offset { enum Ark_Tag tag; - Literal_span_Number_offset_Number value; -} Opt_Literal_span_Number_offset_Number; + Literal_Number_span_offset value; +} Opt_Literal_Number_span_offset; typedef struct Ark_GestureInterface { + void *handle; } Ark_GestureInterface; typedef struct Opt_GestureInterface { enum Ark_Tag tag; @@ -1587,17 +1778,40 @@ typedef struct Opt_TranslateOptions { Ark_TranslateOptions value; } Opt_TranslateOptions; typedef Ark_Int32 Ark_TransitionType; -typedef struct Opt_TransitionType { enum Ark_Tag tag; Ark_TransitionType value; } Opt_TransitionType; -typedef struct Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle { +typedef struct Opt_TransitionType { + enum Ark_Tag tag; + Ark_TransitionType value; +} Opt_TransitionType; +typedef struct Ark_EdgeOutlineStyles { Opt_OutlineStyle top; Opt_OutlineStyle right; Opt_OutlineStyle bottom; Opt_OutlineStyle left; -} Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle; -typedef struct Opt_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle { +} Ark_EdgeOutlineStyles; +typedef struct Opt_EdgeOutlineStyles { enum Ark_Tag tag; - Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle value; -} Opt_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle; + Ark_EdgeOutlineStyles value; +} Opt_EdgeOutlineStyles; +typedef struct Ark_OutlineRadiuses { + Opt_Length topLeft; + Opt_Length topRight; + Opt_Length bottomLeft; + Opt_Length bottomRight; +} Ark_OutlineRadiuses; +typedef struct Opt_OutlineRadiuses { + enum Ark_Tag tag; + Ark_OutlineRadiuses value; +} Opt_OutlineRadiuses; +typedef struct Ark_EdgeOutlineWidths { + Opt_Length top; + Opt_Length right; + Opt_Length bottom; + Opt_Length left; +} Ark_EdgeOutlineWidths; +typedef struct Opt_EdgeOutlineWidths { + enum Ark_Tag tag; + Ark_EdgeOutlineWidths value; +} Opt_EdgeOutlineWidths; typedef struct Ark_LocalizedBorderRadiuses { Opt_CustomObject topStart; Opt_CustomObject topEnd; @@ -1616,16 +1830,25 @@ typedef struct Opt_BlurOptions { Ark_BlurOptions value; } Opt_BlurOptions; typedef Ark_Int32 Ark_AdaptiveColor; -typedef struct Opt_AdaptiveColor { enum Ark_Tag tag; Ark_AdaptiveColor value; } Opt_AdaptiveColor; +typedef struct Opt_AdaptiveColor { + enum Ark_Tag tag; + Ark_AdaptiveColor value; +} Opt_AdaptiveColor; typedef Ark_Int32 Ark_ThemeColorMode; -typedef struct Opt_ThemeColorMode { enum Ark_Tag tag; Ark_ThemeColorMode value; } Opt_ThemeColorMode; +typedef struct Opt_ThemeColorMode { + enum Ark_Tag tag; + Ark_ThemeColorMode value; +} Opt_ThemeColorMode; typedef Ark_Materialized Ark_WebKeyboardController; typedef struct Opt_WebKeyboardController { enum Ark_Tag tag; Ark_WebKeyboardController value; } Opt_WebKeyboardController; typedef Ark_Int32 Ark_RenderProcessNotRespondingReason; -typedef struct Opt_RenderProcessNotRespondingReason { enum Ark_Tag tag; Ark_RenderProcessNotRespondingReason value; } Opt_RenderProcessNotRespondingReason; +typedef struct Opt_RenderProcessNotRespondingReason { + enum Ark_Tag tag; + Ark_RenderProcessNotRespondingReason value; +} Opt_RenderProcessNotRespondingReason; typedef Ark_Materialized Ark_EventResult; typedef struct Opt_EventResult { enum Ark_Tag tag; @@ -1667,9 +1890,15 @@ typedef struct Opt_NativeEmbedInfo { Ark_NativeEmbedInfo value; } Opt_NativeEmbedInfo; typedef Ark_Int32 Ark_NativeEmbedStatus; -typedef struct Opt_NativeEmbedStatus { enum Ark_Tag tag; Ark_NativeEmbedStatus value; } Opt_NativeEmbedStatus; +typedef struct Opt_NativeEmbedStatus { + enum Ark_Tag tag; + Ark_NativeEmbedStatus value; +} Opt_NativeEmbedStatus; typedef Ark_Int32 Ark_WebNavigationType; -typedef struct Opt_WebNavigationType { enum Ark_Tag tag; Ark_WebNavigationType value; } Opt_WebNavigationType; +typedef struct Opt_WebNavigationType { + enum Ark_Tag tag; + Ark_WebNavigationType value; +} Opt_WebNavigationType; typedef Ark_Materialized Ark_DataResubmissionHandler; typedef struct Opt_DataResubmissionHandler { enum Ark_Tag tag; @@ -1686,7 +1915,10 @@ typedef struct Opt_ClientAuthenticationHandler { Ark_ClientAuthenticationHandler value; } Opt_ClientAuthenticationHandler; typedef Ark_Int32 Ark_SslError; -typedef struct Opt_SslError { enum Ark_Tag tag; Ark_SslError value; } Opt_SslError; +typedef struct Opt_SslError { + enum Ark_Tag tag; + Ark_SslError value; +} Opt_SslError; typedef Ark_Materialized Ark_SslErrorHandler; typedef struct Opt_SslErrorHandler { enum Ark_Tag tag; @@ -1769,7 +2001,10 @@ typedef struct Opt_JsGeolocation { Ark_JsGeolocation value; } Opt_JsGeolocation; typedef Ark_Int32 Ark_TextDeleteDirection; -typedef struct Opt_TextDeleteDirection { enum Ark_Tag tag; Ark_TextDeleteDirection value; } Opt_TextDeleteDirection; +typedef struct Opt_TextDeleteDirection { + enum Ark_Tag tag; + Ark_TextDeleteDirection value; +} Opt_TextDeleteDirection; typedef struct Array_RichEditorTextSpanResult { struct Ark_RichEditorTextSpanResult* array; Ark_Int32 length; @@ -1797,7 +2032,7 @@ typedef struct Opt_TextRange { typedef struct Ark_RichEditorImageSpanResult { struct Ark_RichEditorSpanPosition spanPosition; Opt_CustomObject valuePixelMap; - struct Opt_Union_String_Resource valueResourceStr; + struct Opt_ResourceStr valueResourceStr; struct Ark_RichEditorImageSpanStyleResult imageStyle; struct Tuple_Number_Number offsetInSpan; } Ark_RichEditorImageSpanResult; @@ -1828,21 +2063,37 @@ typedef struct Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResul Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult value; } Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult; typedef Ark_Int32 Ark_RichEditorDeleteDirection; -typedef struct Opt_RichEditorDeleteDirection { enum Ark_Tag tag; Ark_RichEditorDeleteDirection value; } Opt_RichEditorDeleteDirection; +typedef struct Opt_RichEditorDeleteDirection { + enum Ark_Tag tag; + Ark_RichEditorDeleteDirection value; +} Opt_RichEditorDeleteDirection; typedef struct Ark_Object { + void *handle; } Ark_Object; typedef struct Opt_Object { enum Ark_Tag tag; Ark_Object value; } Opt_Object; typedef Ark_Int32 Ark_NavDestinationMode; -typedef struct Opt_NavDestinationMode { enum Ark_Tag tag; Ark_NavDestinationMode value; } Opt_NavDestinationMode; +typedef struct Opt_NavDestinationMode { + enum Ark_Tag tag; + Ark_NavDestinationMode value; +} Opt_NavDestinationMode; typedef Ark_Int32 Ark_ListItemGroupArea; -typedef struct Opt_ListItemGroupArea { enum Ark_Tag tag; Ark_ListItemGroupArea value; } Opt_ListItemGroupArea; +typedef struct Opt_ListItemGroupArea { + enum Ark_Tag tag; + Ark_ListItemGroupArea value; +} Opt_ListItemGroupArea; typedef Ark_Int32 Ark_AppRotation; -typedef struct Opt_AppRotation { enum Ark_Tag tag; Ark_AppRotation value; } Opt_AppRotation; +typedef struct Opt_AppRotation { + enum Ark_Tag tag; + Ark_AppRotation value; +} Opt_AppRotation; typedef Ark_Int32 Ark_FoldStatus; -typedef struct Opt_FoldStatus { enum Ark_Tag tag; Ark_FoldStatus value; } Opt_FoldStatus; +typedef struct Opt_FoldStatus { + enum Ark_Tag tag; + Ark_FoldStatus value; +} Opt_FoldStatus; typedef struct Array_FingerInfo { struct Ark_FingerInfo* array; Ark_Int32 length; @@ -1852,19 +2103,40 @@ typedef struct Opt_Array_FingerInfo { Array_FingerInfo value; } Opt_Array_FingerInfo; typedef Ark_Int32 Ark_GestureControl_GestureType; -typedef struct Opt_GestureControl_GestureType { enum Ark_Tag tag; Ark_GestureControl_GestureType value; } Opt_GestureControl_GestureType; +typedef struct Opt_GestureControl_GestureType { + enum Ark_Tag tag; + Ark_GestureControl_GestureType value; +} Opt_GestureControl_GestureType; typedef Ark_Int32 Ark_DragBehavior; -typedef struct Opt_DragBehavior { enum Ark_Tag tag; Ark_DragBehavior value; } Opt_DragBehavior; +typedef struct Opt_DragBehavior { + enum Ark_Tag tag; + Ark_DragBehavior value; +} Opt_DragBehavior; typedef Ark_Int32 Ark_KeySource; -typedef struct Opt_KeySource { enum Ark_Tag tag; Ark_KeySource value; } Opt_KeySource; +typedef struct Opt_KeySource { + enum Ark_Tag tag; + Ark_KeySource value; +} Opt_KeySource; typedef Ark_Int32 Ark_KeyType; -typedef struct Opt_KeyType { enum Ark_Tag tag; Ark_KeyType value; } Opt_KeyType; +typedef struct Opt_KeyType { + enum Ark_Tag tag; + Ark_KeyType value; +} Opt_KeyType; typedef Ark_Int32 Ark_MouseAction; -typedef struct Opt_MouseAction { enum Ark_Tag tag; Ark_MouseAction value; } Opt_MouseAction; +typedef struct Opt_MouseAction { + enum Ark_Tag tag; + Ark_MouseAction value; +} Opt_MouseAction; typedef Ark_Int32 Ark_MouseButton; -typedef struct Opt_MouseButton { enum Ark_Tag tag; Ark_MouseButton value; } Opt_MouseButton; +typedef struct Opt_MouseButton { + enum Ark_Tag tag; + Ark_MouseButton value; +} Opt_MouseButton; typedef Ark_Int32 Ark_AccessibilityHoverType; -typedef struct Opt_AccessibilityHoverType { enum Ark_Tag tag; Ark_AccessibilityHoverType value; } Opt_AccessibilityHoverType; +typedef struct Opt_AccessibilityHoverType { + enum Ark_Tag tag; + Ark_AccessibilityHoverType value; +} Opt_AccessibilityHoverType; typedef struct Ark_RectResult { Ark_Number x; Ark_Number y; @@ -1876,10 +2148,17 @@ typedef struct Opt_RectResult { Ark_RectResult value; } Opt_RectResult; typedef Ark_Int32 Ark_SelectStatus; -typedef struct Opt_SelectStatus { enum Ark_Tag tag; Ark_SelectStatus value; } Opt_SelectStatus; +typedef struct Opt_SelectStatus { + enum Ark_Tag tag; + Ark_SelectStatus value; +} Opt_SelectStatus; typedef Ark_Int32 Ark_WebCaptureMode; -typedef struct Opt_WebCaptureMode { enum Ark_Tag tag; Ark_WebCaptureMode value; } Opt_WebCaptureMode; +typedef struct Opt_WebCaptureMode { + enum Ark_Tag tag; + Ark_WebCaptureMode value; +} Opt_WebCaptureMode; typedef struct Ark_ArrayBuffer { + void *handle; } Ark_ArrayBuffer; typedef struct Opt_ArrayBuffer { enum Ark_Tag tag; @@ -1893,7 +2172,7 @@ typedef struct Opt_Array_Header { enum Ark_Tag tag; Array_Header value; } Opt_Array_Header; -typedef struct Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan { +typedef struct Ark_StyledStringValue { Ark_Int32 selector; union { struct Ark_TextStyle value0; @@ -1908,15 +2187,21 @@ typedef struct Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacing Ark_CustomSpan value9; struct Ark_UserDataSpan value10; }; -} Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan; -typedef struct Opt_Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan { +} Ark_StyledStringValue; +typedef struct Opt_StyledStringValue { enum Ark_Tag tag; - Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan value; -} Opt_Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan; + Ark_StyledStringValue value; +} Opt_StyledStringValue; typedef Ark_Int32 Ark_StyledStringKey; -typedef struct Opt_StyledStringKey { enum Ark_Tag tag; Ark_StyledStringKey value; } Opt_StyledStringKey; +typedef struct Opt_StyledStringKey { + enum Ark_Tag tag; + Ark_StyledStringKey value; +} Opt_StyledStringKey; typedef Ark_Int32 Ark_MenuPolicy; -typedef struct Opt_MenuPolicy { enum Ark_Tag tag; Ark_MenuPolicy value; } Opt_MenuPolicy; +typedef struct Opt_MenuPolicy { + enum Ark_Tag tag; + Ark_MenuPolicy value; +} Opt_MenuPolicy; typedef struct Ark_RichEditorUpdateSymbolSpanStyleOptions { Opt_Number start; Opt_Number end; @@ -1953,15 +2238,22 @@ typedef struct Opt_RichEditorGesture { Ark_RichEditorGesture value; } Opt_RichEditorGesture; typedef struct Ark_TextMenuItemId { + void *handle; } Ark_TextMenuItemId; typedef struct Opt_TextMenuItemId { enum Ark_Tag tag; Ark_TextMenuItemId value; } Opt_TextMenuItemId; typedef Ark_Int32 Ark_LaunchMode; -typedef struct Opt_LaunchMode { enum Ark_Tag tag; Ark_LaunchMode value; } Opt_LaunchMode; +typedef struct Opt_LaunchMode { + enum Ark_Tag tag; + Ark_LaunchMode value; +} Opt_LaunchMode; typedef Ark_Int32 Ark_Axis; -typedef struct Opt_Axis { enum Ark_Tag tag; Ark_Axis value; } Opt_Axis; +typedef struct Opt_Axis { + enum Ark_Tag tag; + Ark_Axis value; +} Opt_Axis; typedef struct Union_ScrollAnimationOptions_Boolean { Ark_Int32 selector; union { @@ -1974,6 +2266,7 @@ typedef struct Opt_Union_ScrollAnimationOptions_Boolean { Union_ScrollAnimationOptions_Boolean value; } Opt_Union_ScrollAnimationOptions_Boolean; typedef struct Ark_Uint8ClampedArray { + void *handle; } Ark_Uint8ClampedArray; typedef struct Opt_Uint8ClampedArray { enum Ark_Tag tag; @@ -1985,7 +2278,10 @@ typedef struct Opt_ImageBitmap { Ark_ImageBitmap value; } Opt_ImageBitmap; typedef Ark_Int32 Ark_PanDirection; -typedef struct Opt_PanDirection { enum Ark_Tag tag; Ark_PanDirection value; } Opt_PanDirection; +typedef struct Opt_PanDirection { + enum Ark_Tag tag; + Ark_PanDirection value; +} Opt_PanDirection; typedef struct Ark_LinearIndicatorStyle { Opt_CustomObject space; Opt_CustomObject strokeWidth; @@ -1998,9 +2294,15 @@ typedef struct Opt_LinearIndicatorStyle { Ark_LinearIndicatorStyle value; } Opt_LinearIndicatorStyle; typedef Ark_Int32 Ark_DpiFollowStrategy; -typedef struct Opt_DpiFollowStrategy { enum Ark_Tag tag; Ark_DpiFollowStrategy value; } Opt_DpiFollowStrategy; +typedef struct Opt_DpiFollowStrategy { + enum Ark_Tag tag; + Ark_DpiFollowStrategy value; +} Opt_DpiFollowStrategy; typedef Ark_Int32 Ark_WaterFlowLayoutMode; -typedef struct Opt_WaterFlowLayoutMode { enum Ark_Tag tag; Ark_WaterFlowLayoutMode value; } Opt_WaterFlowLayoutMode; +typedef struct Opt_WaterFlowLayoutMode { + enum Ark_Tag tag; + Ark_WaterFlowLayoutMode value; +} Opt_WaterFlowLayoutMode; typedef Ark_Materialized Ark_WaterFlowSections; typedef struct Opt_WaterFlowSections { enum Ark_Tag tag; @@ -2024,7 +2326,7 @@ typedef struct Opt_RRect { } Opt_RRect; typedef struct Ark_DividerStyle { Ark_Length strokeWidth; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; Opt_Length startMargin; Opt_Length endMargin; } Ark_DividerStyle; @@ -2032,15 +2334,15 @@ typedef struct Opt_DividerStyle { enum Ark_Tag tag; Ark_DividerStyle value; } Opt_DividerStyle; -typedef struct Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource { +typedef struct Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching { struct Union_String_CustomObject_Resource shown; struct Union_String_CustomObject_Resource hidden; struct Opt_Union_String_CustomObject_Resource switching; -} Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource; -typedef struct Opt_Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource { +} Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching; +typedef struct Opt_Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching { enum Ark_Tag tag; - Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource value; -} Opt_Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource; + Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching value; +} Opt_Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching; typedef struct Ark_ImageAIOptions { struct Opt_Array_ImageAnalyzerType types; Opt_ImageAnalyzerController aiController; @@ -2055,7 +2357,10 @@ typedef struct Opt_XComponentController { Ark_XComponentController value; } Opt_XComponentController; typedef Ark_Int32 Ark_XComponentType; -typedef struct Opt_XComponentType { enum Ark_Tag tag; Ark_XComponentType value; } Opt_XComponentType; +typedef struct Opt_XComponentType { + enum Ark_Tag tag; + Ark_XComponentType value; +} Opt_XComponentType; typedef struct Union_WebController_CustomObject { Ark_Int32 selector; union { @@ -2068,7 +2373,10 @@ typedef struct Opt_Union_WebController_CustomObject { Union_WebController_CustomObject value; } Opt_Union_WebController_CustomObject; typedef Ark_Int32 Ark_RenderMode; -typedef struct Opt_RenderMode { enum Ark_Tag tag; Ark_RenderMode value; } Opt_RenderMode; +typedef struct Opt_RenderMode { + enum Ark_Tag tag; + Ark_RenderMode value; +} Opt_RenderMode; typedef Ark_Materialized Ark_VideoController; typedef struct Opt_VideoController { enum Ark_Tag tag; @@ -2087,9 +2395,15 @@ typedef struct Opt_Union_Number_String_PlaybackSpeed { Union_Number_String_PlaybackSpeed value; } Opt_Union_Number_String_PlaybackSpeed; typedef Ark_Int32 Ark_ToggleType; -typedef struct Opt_ToggleType { enum Ark_Tag tag; Ark_ToggleType value; } Opt_ToggleType; +typedef struct Opt_ToggleType { + enum Ark_Tag tag; + Ark_ToggleType value; +} Opt_ToggleType; typedef Ark_Int32 Ark_TimePickerFormat; -typedef struct Opt_TimePickerFormat { enum Ark_Tag tag; Ark_TimePickerFormat value; } Opt_TimePickerFormat; +typedef struct Opt_TimePickerFormat { + enum Ark_Tag tag; + Ark_TimePickerFormat value; +} Opt_TimePickerFormat; typedef Ark_Materialized Ark_TextTimerController; typedef struct Opt_TextTimerController { enum Ark_Tag tag; @@ -2132,19 +2446,25 @@ typedef struct Opt_Union_Array_String_Array_Array_String_Resource_Array_TextPick Union_Array_String_Array_Array_String_Resource_Array_TextPickerRangeContent_Array_TextCascadePickerRangeContent value; } Opt_Union_Array_String_Array_Array_String_Resource_Array_TextPickerRangeContent_Array_TextCascadePickerRangeContent; typedef struct Ark_UnderlineColor { - struct Opt_Union_Union_Color_Number_String_Resource_Undefined typing; - struct Opt_Union_Union_Color_Number_String_Resource_Undefined normal; - struct Opt_Union_Union_Color_Number_String_Resource_Undefined error; - struct Opt_Union_Union_Color_Number_String_Resource_Undefined disable; + struct Opt_Union_ResourceColor_Undefined typing; + struct Opt_Union_ResourceColor_Undefined normal; + struct Opt_Union_ResourceColor_Undefined error; + struct Opt_Union_ResourceColor_Undefined disable; } Ark_UnderlineColor; typedef struct Opt_UnderlineColor { enum Ark_Tag tag; Ark_UnderlineColor value; } Opt_UnderlineColor; typedef Ark_Int32 Ark_TextContentStyle; -typedef struct Opt_TextContentStyle { enum Ark_Tag tag; Ark_TextContentStyle value; } Opt_TextContentStyle; +typedef struct Opt_TextContentStyle { + enum Ark_Tag tag; + Ark_TextContentStyle value; +} Opt_TextContentStyle; typedef Ark_Int32 Ark_TextInputStyle; -typedef struct Opt_TextInputStyle { enum Ark_Tag tag; Ark_TextInputStyle value; } Opt_TextInputStyle; +typedef struct Opt_TextInputStyle { + enum Ark_Tag tag; + Ark_TextInputStyle value; +} Opt_TextInputStyle; typedef Ark_Materialized Ark_TextInputController; typedef struct Opt_TextInputController { enum Ark_Tag tag; @@ -2180,7 +2500,7 @@ typedef struct Opt_TextController { } Opt_TextController; typedef struct Ark_BottomTabBarStyle { struct Opt_LabelStyle _labelStyle; - struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding _padding; + struct Opt_Union_Padding_Length_LocalizedPadding _padding; Opt_LayoutMode _layoutMode; Opt_VerticalAlign _verticalAlign; Opt_Boolean _symmetricExtensible; @@ -2196,48 +2516,60 @@ typedef struct Ark_SubTabBarStyle { Opt_SelectedMode _selectedMode; struct Opt_BoardStyle _board; struct Opt_LabelStyle _labelStyle; - struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length _padding; + struct Opt_Union_Padding_Length _padding; Opt_String _id; } Ark_SubTabBarStyle; typedef struct Opt_SubTabBarStyle { enum Ark_Tag tag; Ark_SubTabBarStyle value; } Opt_SubTabBarStyle; -typedef struct Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource { +typedef struct Literal_Opt_Union_String_Resource_icon_text { struct Opt_Union_String_Resource icon; struct Opt_Union_String_Resource text; -} Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource; -typedef struct Opt_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource { +} Literal_Opt_Union_String_Resource_icon_text; +typedef struct Opt_Literal_Opt_Union_String_Resource_icon_text { enum Ark_Tag tag; - Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource value; -} Opt_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource; + Literal_Opt_Union_String_Resource_icon_text value; +} Opt_Literal_Opt_Union_String_Resource_icon_text; typedef Ark_Int32 Ark_EdgeEffect; -typedef struct Opt_EdgeEffect { enum Ark_Tag tag; Ark_EdgeEffect value; } Opt_EdgeEffect; +typedef struct Opt_EdgeEffect { + enum Ark_Tag tag; + Ark_EdgeEffect value; +} Opt_EdgeEffect; typedef Ark_Int32 Ark_AnimationMode; -typedef struct Opt_AnimationMode { enum Ark_Tag tag; Ark_AnimationMode value; } Opt_AnimationMode; +typedef struct Opt_AnimationMode { + enum Ark_Tag tag; + Ark_AnimationMode value; +} Opt_AnimationMode; typedef Ark_Int32 Ark_LayoutStyle; -typedef struct Opt_LayoutStyle { enum Ark_Tag tag; Ark_LayoutStyle value; } Opt_LayoutStyle; +typedef struct Opt_LayoutStyle { + enum Ark_Tag tag; + Ark_LayoutStyle value; +} Opt_LayoutStyle; typedef Ark_Materialized Ark_TabsController; typedef struct Opt_TabsController { enum Ark_Tag tag; Ark_TabsController value; } Opt_TabsController; typedef Ark_Int32 Ark_BarPosition; -typedef struct Opt_BarPosition { enum Ark_Tag tag; Ark_BarPosition value; } Opt_BarPosition; -typedef struct Literal_minSize_Union_String_Number { - struct Union_String_Number minSize; -} Literal_minSize_Union_String_Number; -typedef struct Opt_Literal_minSize_Union_String_Number { - enum Ark_Tag tag; - Literal_minSize_Union_String_Number value; -} Opt_Literal_minSize_Union_String_Number; +typedef struct Opt_BarPosition { + enum Ark_Tag tag; + Ark_BarPosition value; +} Opt_BarPosition; +typedef struct Ark_SwiperAutoFill { + struct Ark_VP minSize; +} Ark_SwiperAutoFill; +typedef struct Opt_SwiperAutoFill { + enum Ark_Tag tag; + Ark_SwiperAutoFill value; +} Opt_SwiperAutoFill; typedef struct Ark_ArrowStyle { Opt_Boolean showBackground; Opt_Boolean isSidebarMiddle; Opt_Length backgroundSize; - struct Opt_Union_Color_Number_String_Resource backgroundColor; + struct Opt_ResourceColor backgroundColor; Opt_Length arrowSize; - struct Opt_Union_Color_Number_String_Resource arrowColor; + struct Opt_ResourceColor arrowColor; } Ark_ArrowStyle; typedef struct Opt_ArrowStyle { enum Ark_Tag tag; @@ -2250,8 +2582,8 @@ typedef struct Ark_DigitIndicator { Opt_Length _bottom; Opt_CustomObject _start; Opt_CustomObject _end; - struct Opt_Union_Color_Number_String_Resource _fontColor; - struct Opt_Union_Color_Number_String_Resource _selectedFontColor; + struct Opt_ResourceColor _fontColor; + struct Opt_ResourceColor _selectedFontColor; struct Opt_Font _digitFont; struct Opt_Font _selectedDigitFont; } Ark_DigitIndicator; @@ -2271,8 +2603,8 @@ typedef struct Ark_DotIndicator { Opt_Length _selectedItemWidth; Opt_Length _selectedItemHeight; Opt_Boolean _mask; - struct Opt_Union_Color_Number_String_Resource _color; - struct Opt_Union_Color_Number_String_Resource _selectedColor; + struct Opt_ResourceColor _color; + struct Opt_ResourceColor _selectedColor; Opt_Number _maxDisplayCount; } Ark_DotIndicator; typedef struct Opt_DotIndicator { @@ -2280,7 +2612,10 @@ typedef struct Opt_DotIndicator { Ark_DotIndicator value; } Opt_DotIndicator; typedef Ark_Int32 Ark_Alignment; -typedef struct Opt_Alignment { enum Ark_Tag tag; Ark_Alignment value; } Opt_Alignment; +typedef struct Opt_Alignment { + enum Ark_Tag tag; + Ark_Alignment value; +} Opt_Alignment; typedef struct Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute { Ark_Int32 selector; union { @@ -2295,11 +2630,20 @@ typedef struct Opt_Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttr Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute value; } Opt_Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute; typedef Ark_Int32 Ark_SliderBlockType; -typedef struct Opt_SliderBlockType { enum Ark_Tag tag; Ark_SliderBlockType value; } Opt_SliderBlockType; +typedef struct Opt_SliderBlockType { + enum Ark_Tag tag; + Ark_SliderBlockType value; +} Opt_SliderBlockType; typedef Ark_Int32 Ark_SliderStyle; -typedef struct Opt_SliderStyle { enum Ark_Tag tag; Ark_SliderStyle value; } Opt_SliderStyle; +typedef struct Opt_SliderStyle { + enum Ark_Tag tag; + Ark_SliderStyle value; +} Opt_SliderStyle; typedef Ark_Int32 Ark_OptionWidthMode; -typedef struct Opt_OptionWidthMode { enum Ark_Tag tag; Ark_OptionWidthMode value; } Opt_OptionWidthMode; +typedef struct Opt_OptionWidthMode { + enum Ark_Tag tag; + Ark_OptionWidthMode value; +} Opt_OptionWidthMode; typedef struct Ark_CancelButtonSymbolOptions { Opt_CancelButtonStyle style; Opt_CustomObject icon; @@ -2322,9 +2666,15 @@ typedef struct Opt_SearchController { Ark_SearchController value; } Opt_SearchController; typedef Ark_Int32 Ark_BarState; -typedef struct Opt_BarState { enum Ark_Tag tag; Ark_BarState value; } Opt_BarState; +typedef struct Opt_BarState { + enum Ark_Tag tag; + Ark_BarState value; +} Opt_BarState; typedef Ark_Int32 Ark_ScrollBarDirection; -typedef struct Opt_ScrollBarDirection { enum Ark_Tag tag; Ark_ScrollBarDirection value; } Opt_ScrollBarDirection; +typedef struct Opt_ScrollBarDirection { + enum Ark_Tag tag; + Ark_ScrollBarDirection value; +} Opt_ScrollBarDirection; typedef struct Union_Length_Array_Length { Ark_Int32 selector; union { @@ -2337,13 +2687,36 @@ typedef struct Opt_Union_Length_Array_Length { Union_Length_Array_Length value; } Opt_Union_Length_Array_Length; typedef Ark_Int32 Ark_ScrollSnapAlign; -typedef struct Opt_ScrollSnapAlign { enum Ark_Tag tag; Ark_ScrollSnapAlign value; } Opt_ScrollSnapAlign; +typedef struct Opt_ScrollSnapAlign { + enum Ark_Tag tag; + Ark_ScrollSnapAlign value; +} Opt_ScrollSnapAlign; typedef Ark_Int32 Ark_ButtonType; -typedef struct Opt_ButtonType { enum Ark_Tag tag; Ark_ButtonType value; } Opt_ButtonType; +typedef struct Opt_ButtonType { + enum Ark_Tag tag; + Ark_ButtonType value; +} Opt_ButtonType; typedef Ark_Int32 Ark_SaveDescription; -typedef struct Opt_SaveDescription { enum Ark_Tag tag; Ark_SaveDescription value; } Opt_SaveDescription; +typedef struct Opt_SaveDescription { + enum Ark_Tag tag; + Ark_SaveDescription value; +} Opt_SaveDescription; typedef Ark_Int32 Ark_SaveIconStyle; -typedef struct Opt_SaveIconStyle { enum Ark_Tag tag; Ark_SaveIconStyle value; } Opt_SaveIconStyle; +typedef struct Opt_SaveIconStyle { + enum Ark_Tag tag; + Ark_SaveIconStyle value; +} Opt_SaveIconStyle; +typedef struct Union_String_Number { + Ark_Int32 selector; + union { + Ark_String value0; + Ark_Number value1; + }; +} Union_String_Number; +typedef struct Opt_Union_String_Number { + enum Ark_Tag tag; + Union_String_Number value; +} Opt_Union_String_Number; typedef int32_t Ark_TextDataDetectorType; typedef struct Array_TextDataDetectorType { Ark_TextDataDetectorType* array; @@ -2355,9 +2728,15 @@ typedef struct Opt_Array_TextDataDetectorType { Array_TextDataDetectorType value; } Opt_Array_TextDataDetectorType; typedef Ark_Int32 Ark_RichEditorResponseType; -typedef struct Opt_RichEditorResponseType { enum Ark_Tag tag; Ark_RichEditorResponseType value; } Opt_RichEditorResponseType; +typedef struct Opt_RichEditorResponseType { + enum Ark_Tag tag; + Ark_RichEditorResponseType value; +} Opt_RichEditorResponseType; typedef Ark_Int32 Ark_ResponseType; -typedef struct Opt_ResponseType { enum Ark_Tag tag; Ark_ResponseType value; } Opt_ResponseType; +typedef struct Opt_ResponseType { + enum Ark_Tag tag; + Ark_ResponseType value; +} Opt_ResponseType; typedef Ark_Materialized Ark_RichEditorStyledStringController; typedef struct Opt_RichEditorStyledStringController { enum Ark_Tag tag; @@ -2369,9 +2748,15 @@ typedef struct Opt_RichEditorController { Ark_RichEditorController value; } Opt_RichEditorController; typedef Ark_Int32 Ark_LocalizedBarrierDirection; -typedef struct Opt_LocalizedBarrierDirection { enum Ark_Tag tag; Ark_LocalizedBarrierDirection value; } Opt_LocalizedBarrierDirection; +typedef struct Opt_LocalizedBarrierDirection { + enum Ark_Tag tag; + Ark_LocalizedBarrierDirection value; +} Opt_LocalizedBarrierDirection; typedef Ark_Int32 Ark_BarrierDirection; -typedef struct Opt_BarrierDirection { enum Ark_Tag tag; Ark_BarrierDirection value; } Opt_BarrierDirection; +typedef struct Opt_BarrierDirection { + enum Ark_Tag tag; + Ark_BarrierDirection value; +} Opt_BarrierDirection; typedef struct Ark_GuideLinePosition { Opt_Length start; Opt_Length end; @@ -2380,27 +2765,30 @@ typedef struct Opt_GuideLinePosition { enum Ark_Tag tag; Ark_GuideLinePosition value; } Opt_GuideLinePosition; -typedef struct Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String { +typedef struct Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight { struct Opt_Union_Number_String width; struct Opt_Union_Number_String height; struct Opt_Union_Number_String radiusWidth; struct Opt_Union_Number_String radiusHeight; -} Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String; -typedef struct Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String { +} Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight; +typedef struct Opt_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight { enum Ark_Tag tag; - Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String value; -} Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String; -typedef struct Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject { + Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight value; +} Opt_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight; +typedef struct Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius { struct Opt_Union_Number_String width; struct Opt_Union_Number_String height; struct Opt_Union_Number_String_Array_CustomObject radius; -} Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject; -typedef struct Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject { +} Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius; +typedef struct Opt_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius { enum Ark_Tag tag; - Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject value; -} Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject; + Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius value; +} Opt_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius; typedef Ark_Int32 Ark_RadioIndicatorType; -typedef struct Opt_RadioIndicatorType { enum Ark_Tag tag; Ark_RadioIndicatorType value; } Opt_RadioIndicatorType; +typedef struct Opt_RadioIndicatorType { + enum Ark_Tag tag; + Ark_RadioIndicatorType value; +} Opt_RadioIndicatorType; typedef struct Ark_PluginComponentTemplate { Ark_String source; Ark_String bundleName; @@ -2410,7 +2798,7 @@ typedef struct Opt_PluginComponentTemplate { Ark_PluginComponentTemplate value; } Opt_PluginComponentTemplate; typedef struct Ark_CircleStyleOptions { - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; Opt_CustomObject radius; Opt_Boolean enableWaveEffect; } Ark_CircleStyleOptions; @@ -2419,15 +2807,30 @@ typedef struct Opt_CircleStyleOptions { Ark_CircleStyleOptions value; } Opt_CircleStyleOptions; typedef Ark_Int32 Ark_PasteDescription; -typedef struct Opt_PasteDescription { enum Ark_Tag tag; Ark_PasteDescription value; } Opt_PasteDescription; +typedef struct Opt_PasteDescription { + enum Ark_Tag tag; + Ark_PasteDescription value; +} Opt_PasteDescription; typedef Ark_Int32 Ark_PasteIconStyle; -typedef struct Opt_PasteIconStyle { enum Ark_Tag tag; Ark_PasteIconStyle value; } Opt_PasteIconStyle; +typedef struct Opt_PasteIconStyle { + enum Ark_Tag tag; + Ark_PasteIconStyle value; +} Opt_PasteIconStyle; typedef Ark_Int32 Ark_PanelHeight; -typedef struct Opt_PanelHeight { enum Ark_Tag tag; Ark_PanelHeight value; } Opt_PanelHeight; +typedef struct Opt_PanelHeight { + enum Ark_Tag tag; + Ark_PanelHeight value; +} Opt_PanelHeight; typedef Ark_Int32 Ark_NavigationType; -typedef struct Opt_NavigationType { enum Ark_Tag tag; Ark_NavigationType value; } Opt_NavigationType; +typedef struct Opt_NavigationType { + enum Ark_Tag tag; + Ark_NavigationType value; +} Opt_NavigationType; typedef Ark_Int32 Ark_ToolbarItemStatus; -typedef struct Opt_ToolbarItemStatus { enum Ark_Tag tag; Ark_ToolbarItemStatus value; } Opt_ToolbarItemStatus; +typedef struct Opt_ToolbarItemStatus { + enum Ark_Tag tag; + Ark_ToolbarItemStatus value; +} Opt_ToolbarItemStatus; typedef struct Array_ToolbarItem { struct Ark_ToolbarItem* array; Ark_Int32 length; @@ -2445,7 +2848,7 @@ typedef struct Opt_Array_NavigationMenuItem { Array_NavigationMenuItem value; } Opt_Array_NavigationMenuItem; typedef struct Ark_NavigationCustomTitle { - struct Union_Function_Undefined builder; + struct Ark_CustomBuilder builder; struct Union_TitleHeight_Length height; } Ark_NavigationCustomTitle; typedef struct Opt_NavigationCustomTitle { @@ -2461,9 +2864,12 @@ typedef struct Opt_NavigationCommonTitle { Ark_NavigationCommonTitle value; } Opt_NavigationCommonTitle; typedef Ark_Int32 Ark_BarStyle; -typedef struct Opt_BarStyle { enum Ark_Tag tag; Ark_BarStyle value; } Opt_BarStyle; +typedef struct Opt_BarStyle { + enum Ark_Tag tag; + Ark_BarStyle value; +} Opt_BarStyle; typedef struct Ark_NavDestinationCustomTitle { - struct Union_Function_Undefined builder; + struct Ark_CustomBuilder builder; struct Union_TitleHeight_Length height; } Ark_NavDestinationCustomTitle; typedef struct Opt_NavDestinationCustomTitle { @@ -2478,25 +2884,25 @@ typedef struct Opt_NavDestinationCommonTitle { enum Ark_Tag tag; Ark_NavDestinationCommonTitle value; } Opt_NavDestinationCommonTitle; -typedef struct Union_Union_String_Resource_Union_Function_Undefined { +typedef struct Union_Ark_ResourceStr_Ark_CustomBuilder { Ark_Int32 selector; union { - struct Union_String_Resource value0; - struct Union_Function_Undefined value1; + struct Ark_ResourceStr value0; + struct Ark_CustomBuilder value1; }; -} Union_Union_String_Resource_Union_Function_Undefined; -typedef struct Opt_Union_Union_String_Resource_Union_Function_Undefined { +} Union_Ark_ResourceStr_Ark_CustomBuilder; +typedef struct Opt_Union_ResourceStr_Ark_CustomBuilder { enum Ark_Tag tag; - Union_Union_String_Resource_Union_Function_Undefined value; -} Opt_Union_Union_String_Resource_Union_Function_Undefined; + Union_Ark_ResourceStr_Ark_CustomBuilder value; +} Opt_Union_ResourceStr_Ark_CustomBuilder; typedef struct Ark_MenuItemOptions { - struct Opt_Union_String_Resource startIcon; + struct Opt_ResourceStr startIcon; Opt_CustomObject symbolStartIcon; - struct Opt_Union_String_Resource content; - struct Opt_Union_String_Resource endIcon; + struct Opt_ResourceStr content; + struct Opt_ResourceStr endIcon; Opt_CustomObject symbolEndIcon; - struct Opt_Union_String_Resource labelInfo; - struct Opt_Union_Function_Undefined builder; + struct Opt_ResourceStr labelInfo; + struct Opt_CustomBuilder builder; } Ark_MenuItemOptions; typedef struct Opt_MenuItemOptions { enum Ark_Tag tag; @@ -2504,7 +2910,7 @@ typedef struct Opt_MenuItemOptions { } Opt_MenuItemOptions; typedef struct Ark_DividerStyleOptions { Opt_CustomObject strokeWidth; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; Opt_CustomObject startMargin; Opt_CustomObject endMargin; } Ark_DividerStyleOptions; @@ -2521,9 +2927,15 @@ typedef struct Opt_ASTCResource { Ark_ASTCResource value; } Opt_ASTCResource; typedef Ark_Int32 Ark_LocationDescription; -typedef struct Opt_LocationDescription { enum Ark_Tag tag; Ark_LocationDescription value; } Opt_LocationDescription; +typedef struct Opt_LocationDescription { + enum Ark_Tag tag; + Ark_LocationDescription value; +} Opt_LocationDescription; typedef Ark_Int32 Ark_LocationIconStyle; -typedef struct Opt_LocationIconStyle { enum Ark_Tag tag; Ark_LocationIconStyle value; } Opt_LocationIconStyle; +typedef struct Opt_LocationIconStyle { + enum Ark_Tag tag; + Ark_LocationIconStyle value; +} Opt_LocationIconStyle; typedef struct Ark_LocalizedEdges { Opt_CustomObject top; Opt_CustomObject start; @@ -2544,46 +2956,62 @@ typedef struct Opt_Edges { enum Ark_Tag tag; Ark_Edges value; } Opt_Edges; -typedef struct Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length { +typedef struct Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin { Ark_Length strokeWidth; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; Opt_Length startMargin; Opt_Length endMargin; -} Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length; -typedef struct Opt_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length { +} Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin; +typedef struct Opt_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin { enum Ark_Tag tag; - Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length value; -} Opt_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length; + Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin value; +} Opt_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin; typedef Ark_Int32 Ark_ListItemGroupStyle; -typedef struct Opt_ListItemGroupStyle { enum Ark_Tag tag; Ark_ListItemGroupStyle value; } Opt_ListItemGroupStyle; +typedef struct Opt_ListItemGroupStyle { + enum Ark_Tag tag; + Ark_ListItemGroupStyle value; +} Opt_ListItemGroupStyle; typedef Ark_Int32 Ark_SwipeEdgeEffect; -typedef struct Opt_SwipeEdgeEffect { enum Ark_Tag tag; Ark_SwipeEdgeEffect value; } Opt_SwipeEdgeEffect; -typedef struct Union_Union_Function_Undefined_SwipeActionItem { +typedef struct Opt_SwipeEdgeEffect { + enum Ark_Tag tag; + Ark_SwipeEdgeEffect value; +} Opt_SwipeEdgeEffect; +typedef struct Union_Ark_CustomBuilder_SwipeActionItem { Ark_Int32 selector; union { - struct Union_Function_Undefined value0; + struct Ark_CustomBuilder value0; struct Ark_SwipeActionItem value1; }; -} Union_Union_Function_Undefined_SwipeActionItem; -typedef struct Opt_Union_Union_Function_Undefined_SwipeActionItem { +} Union_Ark_CustomBuilder_SwipeActionItem; +typedef struct Opt_Union_CustomBuilder_SwipeActionItem { enum Ark_Tag tag; - Union_Union_Function_Undefined_SwipeActionItem value; -} Opt_Union_Union_Function_Undefined_SwipeActionItem; + Union_Ark_CustomBuilder_SwipeActionItem value; +} Opt_Union_CustomBuilder_SwipeActionItem; typedef Ark_Int32 Ark_EditMode; -typedef struct Opt_EditMode { enum Ark_Tag tag; Ark_EditMode value; } Opt_EditMode; +typedef struct Opt_EditMode { + enum Ark_Tag tag; + Ark_EditMode value; +} Opt_EditMode; typedef Ark_Int32 Ark_ListItemStyle; -typedef struct Opt_ListItemStyle { enum Ark_Tag tag; Ark_ListItemStyle value; } Opt_ListItemStyle; +typedef struct Opt_ListItemStyle { + enum Ark_Tag tag; + Ark_ListItemStyle value; +} Opt_ListItemStyle; typedef Ark_Int32 Ark_ChainEdgeEffect; -typedef struct Opt_ChainEdgeEffect { enum Ark_Tag tag; Ark_ChainEdgeEffect value; } Opt_ChainEdgeEffect; -typedef struct Literal_minLength_Length_maxLength_Length { +typedef struct Opt_ChainEdgeEffect { + enum Ark_Tag tag; + Ark_ChainEdgeEffect value; +} Opt_ChainEdgeEffect; +typedef struct Ark_LengthConstrain { Ark_Length minLength; Ark_Length maxLength; -} Literal_minLength_Length_maxLength_Length; -typedef struct Opt_Literal_minLength_Length_maxLength_Length { +} Ark_LengthConstrain; +typedef struct Opt_LengthConstrain { enum Ark_Tag tag; - Literal_minLength_Length_maxLength_Length value; -} Opt_Literal_minLength_Length_maxLength_Length; + Ark_LengthConstrain value; +} Opt_LengthConstrain; typedef struct Ark_ColorFilter { + void *handle; } Ark_ColorFilter; typedef struct Opt_ColorFilter { enum Ark_Tag tag; @@ -2602,9 +3030,15 @@ typedef struct Opt_Union_String_Resource_CustomObject { Union_String_Resource_CustomObject value; } Opt_Union_String_Resource_CustomObject; typedef Ark_Int32 Ark_ImageContent; -typedef struct Opt_ImageContent { enum Ark_Tag tag; Ark_ImageContent value; } Opt_ImageContent; +typedef struct Opt_ImageContent { + enum Ark_Tag tag; + Ark_ImageContent value; +} Opt_ImageContent; typedef Ark_Int32 Ark_GridRowDirection; -typedef struct Opt_GridRowDirection { enum Ark_Tag tag; Ark_GridRowDirection value; } Opt_GridRowDirection; +typedef struct Opt_GridRowDirection { + enum Ark_Tag tag; + Ark_GridRowDirection value; +} Opt_GridRowDirection; typedef struct Ark_BreakPoints { struct Opt_Array_String value; Opt_BreakpointsReference reference; @@ -2636,7 +3070,10 @@ typedef struct Opt_Union_Length_GutterOption { Union_Length_GutterOption value; } Opt_Union_Length_GutterOption; typedef Ark_Int32 Ark_SizeType; -typedef struct Opt_SizeType { enum Ark_Tag tag; Ark_SizeType value; } Opt_SizeType; +typedef struct Opt_SizeType { + enum Ark_Tag tag; + Ark_SizeType value; +} Opt_SizeType; typedef struct Union_Number_GridColColumnOption { Ark_Int32 selector; union { @@ -2649,9 +3086,15 @@ typedef struct Opt_Union_Number_GridColColumnOption { Union_Number_GridColColumnOption value; } Opt_Union_Number_GridColColumnOption; typedef Ark_Int32 Ark_GridItemStyle; -typedef struct Opt_GridItemStyle { enum Ark_Tag tag; Ark_GridItemStyle value; } Opt_GridItemStyle; +typedef struct Opt_GridItemStyle { + enum Ark_Tag tag; + Ark_GridItemStyle value; +} Opt_GridItemStyle; typedef Ark_Int32 Ark_NestedScrollMode; -typedef struct Opt_NestedScrollMode { enum Ark_Tag tag; Ark_NestedScrollMode value; } Opt_NestedScrollMode; +typedef struct Opt_NestedScrollMode { + enum Ark_Tag tag; + Ark_NestedScrollMode value; +} Opt_NestedScrollMode; typedef struct Ark_MultiShadowOptions { struct Opt_Union_Number_Resource radius; struct Opt_Union_Number_Resource offsetX; @@ -2661,31 +3104,40 @@ typedef struct Opt_MultiShadowOptions { enum Ark_Tag tag; Ark_MultiShadowOptions value; } Opt_MultiShadowOptions; -typedef struct Union_Union_Color_Number_String_Resource_LinearGradient { +typedef struct Union_Ark_ResourceColor_LinearGradient { Ark_Int32 selector; union { - struct Union_Color_Number_String_Resource value0; + struct Ark_ResourceColor value0; struct Ark_LinearGradient value1; }; -} Union_Union_Color_Number_String_Resource_LinearGradient; -typedef struct Opt_Union_Union_Color_Number_String_Resource_LinearGradient { +} Union_Ark_ResourceColor_LinearGradient; +typedef struct Opt_Union_ResourceColor_LinearGradient { enum Ark_Tag tag; - Union_Union_Color_Number_String_Resource_LinearGradient value; -} Opt_Union_Union_Color_Number_String_Resource_LinearGradient; -typedef struct Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number { - struct Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number* array; + Union_Ark_ResourceColor_LinearGradient value; +} Opt_Union_ResourceColor_LinearGradient; +typedef struct Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number { + struct Tuple_Union_Ark_ResourceColor_LinearGradient_Number* array; Ark_Int32 length; -} Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number; -typedef struct Opt_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number { +} Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number; +typedef struct Opt_Array_Tuple_Union_ResourceColor_LinearGradient_Number { enum Ark_Tag tag; - Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number value; -} Opt_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number; + Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number value; +} Opt_Array_Tuple_Union_ResourceColor_LinearGradient_Number; typedef Ark_Int32 Ark_FormShape; -typedef struct Opt_FormShape { enum Ark_Tag tag; Ark_FormShape value; } Opt_FormShape; +typedef struct Opt_FormShape { + enum Ark_Tag tag; + Ark_FormShape value; +} Opt_FormShape; typedef Ark_Int32 Ark_FormRenderingMode; -typedef struct Opt_FormRenderingMode { enum Ark_Tag tag; Ark_FormRenderingMode value; } Opt_FormRenderingMode; +typedef struct Opt_FormRenderingMode { + enum Ark_Tag tag; + Ark_FormRenderingMode value; +} Opt_FormRenderingMode; typedef Ark_Int32 Ark_FormDimension; -typedef struct Opt_FormDimension { enum Ark_Tag tag; Ark_FormDimension value; } Opt_FormDimension; +typedef struct Opt_FormDimension { + enum Ark_Tag tag; + Ark_FormDimension value; +} Opt_FormDimension; typedef struct Ark_FlexSpaceOptions { Opt_CustomObject main; Opt_CustomObject cross; @@ -2695,25 +3147,43 @@ typedef struct Opt_FlexSpaceOptions { Ark_FlexSpaceOptions value; } Opt_FlexSpaceOptions; typedef Ark_Int32 Ark_FlexAlign; -typedef struct Opt_FlexAlign { enum Ark_Tag tag; Ark_FlexAlign value; } Opt_FlexAlign; +typedef struct Opt_FlexAlign { + enum Ark_Tag tag; + Ark_FlexAlign value; +} Opt_FlexAlign; typedef Ark_Int32 Ark_ItemAlign; -typedef struct Opt_ItemAlign { enum Ark_Tag tag; Ark_ItemAlign value; } Opt_ItemAlign; +typedef struct Opt_ItemAlign { + enum Ark_Tag tag; + Ark_ItemAlign value; +} Opt_ItemAlign; typedef Ark_Int32 Ark_FlexWrap; -typedef struct Opt_FlexWrap { enum Ark_Tag tag; Ark_FlexWrap value; } Opt_FlexWrap; +typedef struct Opt_FlexWrap { + enum Ark_Tag tag; + Ark_FlexWrap value; +} Opt_FlexWrap; typedef Ark_Int32 Ark_FlexDirection; -typedef struct Opt_FlexDirection { enum Ark_Tag tag; Ark_FlexDirection value; } Opt_FlexDirection; -typedef struct Array_Union_Union_Color_Number_String_Resource_LinearGradient { - struct Union_Union_Color_Number_String_Resource_LinearGradient* array; +typedef struct Opt_FlexDirection { + enum Ark_Tag tag; + Ark_FlexDirection value; +} Opt_FlexDirection; +typedef struct Array_Union_Ark_ResourceColor_LinearGradient { + struct Union_Ark_ResourceColor_LinearGradient* array; Ark_Int32 length; -} Array_Union_Union_Color_Number_String_Resource_LinearGradient; -typedef struct Opt_Array_Union_Union_Color_Number_String_Resource_LinearGradient { +} Array_Union_Ark_ResourceColor_LinearGradient; +typedef struct Opt_Array_Union_ResourceColor_LinearGradient { enum Ark_Tag tag; - Array_Union_Union_Color_Number_String_Resource_LinearGradient value; -} Opt_Array_Union_Union_Color_Number_String_Resource_LinearGradient; + Array_Union_Ark_ResourceColor_LinearGradient value; +} Opt_Array_Union_ResourceColor_LinearGradient; typedef Ark_Int32 Ark_DataPanelType; -typedef struct Opt_DataPanelType { enum Ark_Tag tag; Ark_DataPanelType value; } Opt_DataPanelType; +typedef struct Opt_DataPanelType { + enum Ark_Tag tag; + Ark_DataPanelType value; +} Opt_DataPanelType; typedef Ark_Int32 Ark_ModelType; -typedef struct Opt_ModelType { enum Ark_Tag tag; Ark_ModelType value; } Opt_ModelType; +typedef struct Opt_ModelType { + enum Ark_Tag tag; + Ark_ModelType value; +} Opt_ModelType; typedef struct Union_Resource_CustomObject { Ark_Int32 selector; union { @@ -2734,13 +3204,16 @@ typedef struct Opt_ColumnSplitDividerStyle { Ark_ColumnSplitDividerStyle value; } Opt_ColumnSplitDividerStyle; typedef Ark_Int32 Ark_IlluminatedType; -typedef struct Opt_IlluminatedType { enum Ark_Tag tag; Ark_IlluminatedType value; } Opt_IlluminatedType; +typedef struct Opt_IlluminatedType { + enum Ark_Tag tag; + Ark_IlluminatedType value; +} Opt_IlluminatedType; typedef struct Ark_LightSource { Ark_Length positionX; Ark_Length positionY; Ark_Length positionZ; Ark_Number intensity; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; } Ark_LightSource; typedef struct Opt_LightSource { enum Ark_Tag tag; @@ -2770,21 +3243,30 @@ typedef struct Opt_MonthData { enum Ark_Tag tag; Ark_MonthData value; } Opt_MonthData; -typedef struct Literal_year_Number_month_Number_day_Number { +typedef struct Literal_Number_year_month_day { Ark_Number year; Ark_Number month; Ark_Number day; -} Literal_year_Number_month_Number_day_Number; -typedef struct Opt_Literal_year_Number_month_Number_day_Number { +} Literal_Number_year_month_day; +typedef struct Opt_Literal_Number_year_month_day { enum Ark_Tag tag; - Literal_year_Number_month_Number_day_Number value; -} Opt_Literal_year_Number_month_Number_day_Number; + Literal_Number_year_month_day value; +} Opt_Literal_Number_year_month_day; typedef Ark_Int32 Ark_ButtonRole; -typedef struct Opt_ButtonRole { enum Ark_Tag tag; Ark_ButtonRole value; } Opt_ButtonRole; +typedef struct Opt_ButtonRole { + enum Ark_Tag tag; + Ark_ButtonRole value; +} Opt_ButtonRole; typedef Ark_Int32 Ark_ControlSize; -typedef struct Opt_ControlSize { enum Ark_Tag tag; Ark_ControlSize value; } Opt_ControlSize; +typedef struct Opt_ControlSize { + enum Ark_Tag tag; + Ark_ControlSize value; +} Opt_ControlSize; typedef Ark_Int32 Ark_ButtonStyleMode; -typedef struct Opt_ButtonStyleMode { enum Ark_Tag tag; Ark_ButtonStyleMode value; } Opt_ButtonStyleMode; +typedef struct Opt_ButtonStyleMode { + enum Ark_Tag tag; + Ark_ButtonStyleMode value; +} Opt_ButtonStyleMode; typedef struct Ark_BadgeParam { struct Opt_Union_BadgePosition_Position position; struct Ark_BadgeStyle style; @@ -2794,77 +3276,92 @@ typedef struct Opt_BadgeParam { Ark_BadgeParam value; } Opt_BadgeParam; typedef struct Ark_ScrollMotion { + void *handle; } Ark_ScrollMotion; typedef struct Opt_ScrollMotion { enum Ark_Tag tag; Ark_ScrollMotion value; } Opt_ScrollMotion; typedef struct Ark_FrictionMotion { + void *handle; } Ark_FrictionMotion; typedef struct Opt_FrictionMotion { enum Ark_Tag tag; Ark_FrictionMotion value; } Opt_FrictionMotion; typedef struct Ark_SpringMotion { + void *handle; } Ark_SpringMotion; typedef struct Opt_SpringMotion { enum Ark_Tag tag; Ark_SpringMotion value; } Opt_SpringMotion; typedef Ark_Int32 Ark_FunctionKey; -typedef struct Opt_FunctionKey { enum Ark_Tag tag; Ark_FunctionKey value; } Opt_FunctionKey; +typedef struct Opt_FunctionKey { + enum Ark_Tag tag; + Ark_FunctionKey value; +} Opt_FunctionKey; typedef Ark_Int32 Ark_ScrollSizeMode; -typedef struct Opt_ScrollSizeMode { enum Ark_Tag tag; Ark_ScrollSizeMode value; } Opt_ScrollSizeMode; +typedef struct Opt_ScrollSizeMode { + enum Ark_Tag tag; + Ark_ScrollSizeMode value; +} Opt_ScrollSizeMode; typedef Ark_Int32 Ark_SheetMode; -typedef struct Opt_SheetMode { enum Ark_Tag tag; Ark_SheetMode value; } Opt_SheetMode; -typedef struct Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle { +typedef struct Opt_SheetMode { + enum Ark_Tag tag; + Ark_SheetMode value; +} Opt_SheetMode; +typedef struct Union_BorderStyle_Ark_EdgeStyles { Ark_Int32 selector; union { Ark_BorderStyle value0; - struct Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle value1; + struct Ark_EdgeStyles value1; }; -} Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle; -typedef struct Opt_Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle { +} Union_BorderStyle_Ark_EdgeStyles; +typedef struct Opt_Union_BorderStyle_EdgeStyles { enum Ark_Tag tag; - Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle value; -} Opt_Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle; -typedef struct Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors { + Union_BorderStyle_Ark_EdgeStyles value; +} Opt_Union_BorderStyle_EdgeStyles; +typedef struct Union_Ark_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors { Ark_Int32 selector; union { - struct Union_Color_Number_String_Resource value0; - struct Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource value1; + struct Ark_ResourceColor value0; + struct Ark_EdgeColors value1; struct Ark_LocalizedEdgeColors value2; }; -} Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors; -typedef struct Opt_Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors { +} Union_Ark_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors; +typedef struct Opt_Union_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors { enum Ark_Tag tag; - Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors value; -} Opt_Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors; -typedef struct Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths { + Union_Ark_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors value; +} Opt_Union_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors; +typedef struct Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths { Ark_Int32 selector; union { Ark_Length value0; - struct Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value1; + struct Ark_EdgeWidths value1; struct Ark_LocalizedEdgeWidths value2; }; -} Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths; -typedef struct Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths { +} Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths; +typedef struct Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths { enum Ark_Tag tag; - Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths value; -} Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths; -typedef struct Union_SheetTitleOptions_Union_Function_Undefined { + Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths value; +} Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths; +typedef struct Union_SheetTitleOptions_Ark_CustomBuilder { Ark_Int32 selector; union { struct Ark_SheetTitleOptions value0; - struct Union_Function_Undefined value1; + struct Ark_CustomBuilder value1; }; -} Union_SheetTitleOptions_Union_Function_Undefined; -typedef struct Opt_Union_SheetTitleOptions_Union_Function_Undefined { +} Union_SheetTitleOptions_Ark_CustomBuilder; +typedef struct Opt_Union_SheetTitleOptions_CustomBuilder { enum Ark_Tag tag; - Union_SheetTitleOptions_Union_Function_Undefined value; -} Opt_Union_SheetTitleOptions_Union_Function_Undefined; + Union_SheetTitleOptions_Ark_CustomBuilder value; +} Opt_Union_SheetTitleOptions_CustomBuilder; typedef Ark_Int32 Ark_SheetType; -typedef struct Opt_SheetType { enum Ark_Tag tag; Ark_SheetType value; } Opt_SheetType; +typedef struct Opt_SheetType { + enum Ark_Tag tag; + Ark_SheetType value; +} Opt_SheetType; typedef struct Union_Boolean_Resource { Ark_Int32 selector; union { @@ -2886,7 +3383,7 @@ typedef struct Opt_Tuple_Union_SheetSize_Length_Opt_Union_SheetSize_Length_Opt_U Tuple_Union_SheetSize_Length_Opt_Union_SheetSize_Length_Opt_Union_SheetSize_Length value; } Opt_Tuple_Union_SheetSize_Length_Opt_Union_SheetSize_Length_Opt_Union_SheetSize_Length; typedef struct Ark_BindOptions { - struct Opt_Union_Color_Number_String_Resource backgroundColor; + struct Opt_ResourceColor backgroundColor; struct Opt_Function onAppear; struct Opt_Function onDisappear; struct Opt_Function onWillAppear; @@ -2897,7 +3394,10 @@ typedef struct Opt_BindOptions { Ark_BindOptions value; } Opt_BindOptions; typedef Ark_Int32 Ark_ModalTransition; -typedef struct Opt_ModalTransition { enum Ark_Tag tag; Ark_ModalTransition value; } Opt_ModalTransition; +typedef struct Opt_ModalTransition { + enum Ark_Tag tag; + Ark_ModalTransition value; +} Opt_ModalTransition; typedef struct Array_MenuElement { struct Ark_MenuElement* array; Ark_Int32 length; @@ -2911,14 +3411,14 @@ typedef struct Ark_ContextMenuOptions { Opt_Placement placement; Opt_Boolean enableArrow; Opt_Length arrowOffset; - struct Opt_Union_MenuPreviewMode_Union_Function_Undefined preview; - struct Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length borderRadius; + struct Opt_Union_MenuPreviewMode_CustomBuilder preview; + struct Opt_Union_Length_BorderRadiuses borderRadius; struct Opt_Function onAppear; struct Opt_Function onDisappear; struct Opt_Function aboutToAppear; struct Opt_Function aboutToDisappear; struct Opt_ContextMenuAnimationOptions previewAnimationOptions; - struct Opt_Union_Color_Number_String_Resource backgroundColor; + struct Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; struct Opt_TransitionEffect transition; } Ark_ContextMenuOptions; @@ -2927,7 +3427,7 @@ typedef struct Opt_ContextMenuOptions { Ark_ContextMenuOptions value; } Opt_ContextMenuOptions; typedef struct Ark_CustomPopupOptions { - struct Union_Function_Undefined builder; + struct Ark_CustomBuilder builder; Opt_Placement placement; struct Opt_Union_Color_String_Resource_Number maskColor; struct Opt_Union_Color_String_Resource_Number popupColor; @@ -2936,7 +3436,7 @@ typedef struct Ark_CustomPopupOptions { struct Opt_Function onStateChange; Opt_Length arrowOffset; Opt_Boolean showInSubWindow; - struct Opt_Union_Boolean_Literal_color_Union_Color_Number_String_Resource mask; + struct Opt_Union_Boolean_Literal_ResourceColor_color mask; Opt_Length targetSpace; struct Opt_Position offset; Opt_Length width; @@ -2958,12 +3458,12 @@ typedef struct Ark_PopupOptions { Ark_String message; Opt_Boolean placementOnTop; Opt_Placement placement; - struct Opt_Literal_value_String_action_Function primaryButton; - struct Opt_Literal_value_String_action_Function secondaryButton; + struct Opt_Literal_String_value_Function_action primaryButton; + struct Opt_Literal_String_value_Function_action secondaryButton; struct Opt_Function onStateChange; Opt_Length arrowOffset; Opt_Boolean showInSubWindow; - struct Opt_Union_Boolean_Literal_color_Union_Color_Number_String_Resource mask; + struct Opt_Union_Boolean_Literal_ResourceColor_color mask; struct Opt_PopupMessageOptions messageOptions; Opt_Length targetSpace; Opt_Boolean enableArrow; @@ -2985,7 +3485,10 @@ typedef struct Opt_PopupOptions { Ark_PopupOptions value; } Opt_PopupOptions; typedef Ark_Int32 Ark_TransitionHierarchyStrategy; -typedef struct Opt_TransitionHierarchyStrategy { enum Ark_Tag tag; Ark_TransitionHierarchyStrategy value; } Opt_TransitionHierarchyStrategy; +typedef struct Opt_TransitionHierarchyStrategy { + enum Ark_Tag tag; + Ark_TransitionHierarchyStrategy value; +} Opt_TransitionHierarchyStrategy; typedef Ark_Materialized Ark_ProgressMask; typedef struct Opt_ProgressMask { enum Ark_Tag tag; @@ -3023,7 +3526,7 @@ typedef struct Opt_Union_DragPreviewMode_Array_DragPreviewMode { } Opt_Union_DragPreviewMode_Array_DragPreviewMode; typedef struct Ark_DragItemInfo { Opt_CustomObject pixelMap; - struct Opt_Union_Function_Undefined builder; + struct Opt_CustomBuilder builder; Opt_String extraInfo; } Ark_DragItemInfo; typedef struct Opt_DragItemInfo { @@ -3062,33 +3565,33 @@ typedef struct Opt_LocalizedHorizontalAlignParam { enum Ark_Tag tag; Ark_LocalizedHorizontalAlignParam value; } Opt_LocalizedHorizontalAlignParam; -typedef struct Literal_anchor_String_align_VerticalAlign { +typedef struct Literal_String_anchor_VerticalAlign_align { Ark_String anchor; Ark_VerticalAlign align; -} Literal_anchor_String_align_VerticalAlign; -typedef struct Opt_Literal_anchor_String_align_VerticalAlign { +} Literal_String_anchor_VerticalAlign_align; +typedef struct Opt_Literal_String_anchor_VerticalAlign_align { enum Ark_Tag tag; - Literal_anchor_String_align_VerticalAlign value; -} Opt_Literal_anchor_String_align_VerticalAlign; -typedef struct Literal_anchor_String_align_HorizontalAlign { + Literal_String_anchor_VerticalAlign_align value; +} Opt_Literal_String_anchor_VerticalAlign_align; +typedef struct Literal_String_anchor_HorizontalAlign_align { Ark_String anchor; Ark_HorizontalAlign align; -} Literal_anchor_String_align_HorizontalAlign; -typedef struct Opt_Literal_anchor_String_align_HorizontalAlign { +} Literal_String_anchor_HorizontalAlign_align; +typedef struct Opt_Literal_String_anchor_HorizontalAlign_align { enum Ark_Tag tag; - Literal_anchor_String_align_HorizontalAlign value; -} Opt_Literal_anchor_String_align_HorizontalAlign; -typedef struct Union_Number_Literal_span_Number_offset_Number { + Literal_String_anchor_HorizontalAlign_align value; +} Opt_Literal_String_anchor_HorizontalAlign_align; +typedef struct Union_Number_Literal_Number_span_offset { Ark_Int32 selector; union { Ark_Number value0; - struct Literal_span_Number_offset_Number value1; + struct Literal_Number_span_offset value1; }; -} Union_Number_Literal_span_Number_offset_Number; -typedef struct Opt_Union_Number_Literal_span_Number_offset_Number { +} Union_Number_Literal_Number_span_offset; +typedef struct Opt_Union_Number_Literal_Number_span_offset { enum Ark_Tag tag; - Union_Number_Literal_span_Number_offset_Number value; -} Opt_Union_Number_Literal_span_Number_offset_Number; + Union_Number_Literal_Number_span_offset value; +} Opt_Union_Number_Literal_Number_span_offset; typedef struct Ark_LocalizedPosition { Opt_CustomObject start; Opt_CustomObject top; @@ -3098,7 +3601,10 @@ typedef struct Opt_LocalizedPosition { Ark_LocalizedPosition value; } Opt_LocalizedPosition; typedef Ark_Int32 Ark_SharedTransitionEffectType; -typedef struct Opt_SharedTransitionEffectType { enum Ark_Tag tag; Ark_SharedTransitionEffectType value; } Opt_SharedTransitionEffectType; +typedef struct Opt_SharedTransitionEffectType { + enum Ark_Tag tag; + Ark_SharedTransitionEffectType value; +} Opt_SharedTransitionEffectType; typedef struct Ark_MotionPathOptions { Ark_String path; Opt_Number from; @@ -3114,7 +3620,7 @@ typedef struct Union_Curve_String_ICurve { union { Ark_Curve value0; Ark_String value1; - struct Ark_ICurve value2; + Ark_ICurve value2; }; } Union_Curve_String_ICurve; typedef struct Opt_Union_Curve_String_ICurve { @@ -3148,42 +3654,49 @@ typedef struct Opt_Array_Tuple_Number_Number { Array_Tuple_Number_Number value; } Opt_Array_Tuple_Number_Number; typedef struct Ark_GestureGroupInterface { + void *handle; } Ark_GestureGroupInterface; typedef struct Opt_GestureGroupInterface { enum Ark_Tag tag; Ark_GestureGroupInterface value; } Opt_GestureGroupInterface; typedef struct Ark_RotationGestureInterface { + void *handle; } Ark_RotationGestureInterface; typedef struct Opt_RotationGestureInterface { enum Ark_Tag tag; Ark_RotationGestureInterface value; } Opt_RotationGestureInterface; typedef struct Ark_SwipeGestureInterface { + void *handle; } Ark_SwipeGestureInterface; typedef struct Opt_SwipeGestureInterface { enum Ark_Tag tag; Ark_SwipeGestureInterface value; } Opt_SwipeGestureInterface; typedef struct Ark_PinchGestureInterface { + void *handle; } Ark_PinchGestureInterface; typedef struct Opt_PinchGestureInterface { enum Ark_Tag tag; Ark_PinchGestureInterface value; } Opt_PinchGestureInterface; typedef struct Ark_PanGestureInterface { + void *handle; } Ark_PanGestureInterface; typedef struct Opt_PanGestureInterface { enum Ark_Tag tag; Ark_PanGestureInterface value; } Opt_PanGestureInterface; typedef struct Ark_LongPressGestureInterface { + void *handle; } Ark_LongPressGestureInterface; typedef struct Opt_LongPressGestureInterface { enum Ark_Tag tag; Ark_LongPressGestureInterface value; } Opt_LongPressGestureInterface; typedef struct Ark_TapGestureInterface { + void *handle; } Ark_TapGestureInterface; typedef struct Opt_TapGestureInterface { enum Ark_Tag tag; @@ -3210,43 +3723,60 @@ typedef struct Opt_ExpectedFrameRateRange { Ark_ExpectedFrameRateRange value; } Opt_ExpectedFrameRateRange; typedef Ark_Int32 Ark_FinishCallbackType; -typedef struct Opt_FinishCallbackType { enum Ark_Tag tag; Ark_FinishCallbackType value; } Opt_FinishCallbackType; +typedef struct Opt_FinishCallbackType { + enum Ark_Tag tag; + Ark_FinishCallbackType value; +} Opt_FinishCallbackType; typedef Ark_Int32 Ark_PlayMode; -typedef struct Opt_PlayMode { enum Ark_Tag tag; Ark_PlayMode value; } Opt_PlayMode; -typedef struct Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle { +typedef struct Opt_PlayMode { + enum Ark_Tag tag; + Ark_PlayMode value; +} Opt_PlayMode; +typedef struct Union_Ark_EdgeOutlineStyles_OutlineStyle { Ark_Int32 selector; union { - struct Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle value0; + struct Ark_EdgeOutlineStyles value0; Ark_OutlineStyle value1; }; -} Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle; -typedef struct Opt_Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle { +} Union_Ark_EdgeOutlineStyles_OutlineStyle; +typedef struct Opt_Union_EdgeOutlineStyles_OutlineStyle { enum Ark_Tag tag; - Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle value; -} Opt_Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle; -typedef struct Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length { + Union_Ark_EdgeOutlineStyles_OutlineStyle value; +} Opt_Union_EdgeOutlineStyles_OutlineStyle; +typedef struct Union_Ark_OutlineRadiuses_Length { Ark_Int32 selector; union { - struct Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length value0; + struct Ark_OutlineRadiuses value0; Ark_Length value1; }; -} Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length; -typedef struct Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length { +} Union_Ark_OutlineRadiuses_Length; +typedef struct Opt_Union_OutlineRadiuses_Length { enum Ark_Tag tag; - Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length value; -} Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length; -typedef struct Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors { + Union_Ark_OutlineRadiuses_Length value; +} Opt_Union_OutlineRadiuses_Length; +typedef struct Union_Ark_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors { Ark_Int32 selector; union { - struct Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource value0; - struct Union_Color_Number_String_Resource value1; + struct Ark_EdgeColors value0; + struct Ark_ResourceColor value1; struct Ark_LocalizedEdgeColors value2; }; -} Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors; -typedef struct Opt_Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors { +} Union_Ark_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors; +typedef struct Opt_Union_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors { enum Ark_Tag tag; - Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors value; -} Opt_Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors; + Union_Ark_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors value; +} Opt_Union_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors; +typedef struct Union_Ark_EdgeOutlineWidths_Length { + Ark_Int32 selector; + union { + struct Ark_EdgeOutlineWidths value0; + Ark_Length value1; + }; +} Union_Ark_EdgeOutlineWidths_Length; +typedef struct Opt_Union_EdgeOutlineWidths_Length { + enum Ark_Tag tag; + Union_Ark_EdgeOutlineWidths_Length value; +} Opt_Union_EdgeOutlineWidths_Length; typedef struct Union_String_Resource_LinearGradient { Ark_Int32 selector; union { @@ -3260,54 +3790,57 @@ typedef struct Opt_Union_String_Resource_LinearGradient { Union_String_Resource_LinearGradient value; } Opt_Union_String_Resource_LinearGradient; typedef Ark_Int32 Ark_RepeatMode; -typedef struct Opt_RepeatMode { enum Ark_Tag tag; Ark_RepeatMode value; } Opt_RepeatMode; -typedef struct Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths { +typedef struct Opt_RepeatMode { + enum Ark_Tag tag; + Ark_RepeatMode value; +} Opt_RepeatMode; +typedef struct Union_Ark_EdgeWidths_CustomObject_LocalizedEdgeWidths { Ark_Int32 selector; union { - struct Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value0; + struct Ark_EdgeWidths value0; Ark_CustomObject value1; struct Ark_LocalizedEdgeWidths value2; }; -} Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths; -typedef struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths { +} Union_Ark_EdgeWidths_CustomObject_LocalizedEdgeWidths; +typedef struct Opt_Union_EdgeWidths_CustomObject_LocalizedEdgeWidths { enum Ark_Tag tag; - Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths value; -} Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths; -typedef struct Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle { + Union_Ark_EdgeWidths_CustomObject_LocalizedEdgeWidths value; +} Opt_Union_EdgeWidths_CustomObject_LocalizedEdgeWidths; +typedef struct Union_Ark_EdgeStyles_BorderStyle { Ark_Int32 selector; union { - struct Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle value0; + struct Ark_EdgeStyles value0; Ark_BorderStyle value1; }; -} Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle; -typedef struct Opt_Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle { +} Union_Ark_EdgeStyles_BorderStyle; +typedef struct Opt_Union_EdgeStyles_BorderStyle { enum Ark_Tag tag; - Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle value; -} Opt_Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle; -typedef struct Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses { + Union_Ark_EdgeStyles_BorderStyle value; +} Opt_Union_EdgeStyles_BorderStyle; +typedef struct Union_Ark_BorderRadiuses_Length_LocalizedBorderRadiuses { Ark_Int32 selector; union { - struct Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length value0; + struct Ark_BorderRadiuses value0; Ark_Length value1; struct Ark_LocalizedBorderRadiuses value2; }; -} Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses; -typedef struct Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses { +} Union_Ark_BorderRadiuses_Length_LocalizedBorderRadiuses; +typedef struct Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses { enum Ark_Tag tag; - Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses value; -} Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses; -typedef struct Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths { + Union_Ark_BorderRadiuses_Length_LocalizedBorderRadiuses value; +} Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses; +typedef struct Union_Ark_EdgeWidths_Length_LocalizedEdgeWidths { Ark_Int32 selector; union { - struct Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length value0; + struct Ark_EdgeWidths value0; Ark_Length value1; struct Ark_LocalizedEdgeWidths value2; }; -} Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths; -typedef struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths { +} Union_Ark_EdgeWidths_Length_LocalizedEdgeWidths; +typedef struct Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths { enum Ark_Tag tag; - Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths value; -} Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths; + Union_Ark_EdgeWidths_Length_LocalizedEdgeWidths value; +} Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths; typedef struct Ark_BlurStyleOptions { Opt_ThemeColorMode colorMode; Opt_AdaptiveColor adaptiveColor; @@ -3319,13 +3852,25 @@ typedef struct Opt_BlurStyleOptions { Ark_BlurStyleOptions value; } Opt_BlurStyleOptions; typedef Ark_Int32 Ark_BlurType; -typedef struct Opt_BlurType { enum Ark_Tag tag; Ark_BlurType value; } Opt_BlurType; +typedef struct Opt_BlurType { + enum Ark_Tag tag; + Ark_BlurType value; +} Opt_BlurType; typedef Ark_Int32 Ark_BlurStyleActivePolicy; -typedef struct Opt_BlurStyleActivePolicy { enum Ark_Tag tag; Ark_BlurStyleActivePolicy value; } Opt_BlurStyleActivePolicy; +typedef struct Opt_BlurStyleActivePolicy { + enum Ark_Tag tag; + Ark_BlurStyleActivePolicy value; +} Opt_BlurStyleActivePolicy; typedef Ark_Int32 Ark_ImageSize; -typedef struct Opt_ImageSize { enum Ark_Tag tag; Ark_ImageSize value; } Opt_ImageSize; +typedef struct Opt_ImageSize { + enum Ark_Tag tag; + Ark_ImageSize value; +} Opt_ImageSize; typedef Ark_Int32 Ark_PixelRoundCalcPolicy; -typedef struct Opt_PixelRoundCalcPolicy { enum Ark_Tag tag; Ark_PixelRoundCalcPolicy value; } Opt_PixelRoundCalcPolicy; +typedef struct Opt_PixelRoundCalcPolicy { + enum Ark_Tag tag; + Ark_PixelRoundCalcPolicy value; +} Opt_PixelRoundCalcPolicy; typedef struct Ark_Rectangle { Opt_Length x; Opt_Length y; @@ -3374,7 +3919,10 @@ typedef struct Opt_WebKeyboardCallbackInfo { Ark_WebKeyboardCallbackInfo value; } Opt_WebKeyboardCallbackInfo; typedef Ark_Int32 Ark_ViewportFit; -typedef struct Opt_ViewportFit { enum Ark_Tag tag; Ark_ViewportFit value; } Opt_ViewportFit; +typedef struct Opt_ViewportFit { + enum Ark_Tag tag; + Ark_ViewportFit value; +} Opt_ViewportFit; typedef struct Ark_RenderProcessNotRespondingData { Ark_String jsStack; Ark_Number pid; @@ -3423,7 +3971,10 @@ typedef struct Opt_LoadCommittedDetails { Ark_LoadCommittedDetails value; } Opt_LoadCommittedDetails; typedef Ark_Int32 Ark_ThreatType; -typedef struct Opt_ThreatType { enum Ark_Tag tag; Ark_ThreatType value; } Opt_ThreatType; +typedef struct Opt_ThreatType { + enum Ark_Tag tag; + Ark_ThreatType value; +} Opt_ThreatType; typedef struct Ark_OnOverScrollEvent { Ark_Number xOffset; Ark_Number yOffset; @@ -3624,14 +4175,14 @@ typedef struct Opt_OnResourceLoadEvent { enum Ark_Tag tag; Ark_OnResourceLoadEvent value; } Opt_OnResourceLoadEvent; -typedef struct Literal_callback_Function_fileSelector_CustomObject { +typedef struct Literal_Function_callback_CustomObject_fileSelector { Ark_Function callback; Ark_CustomObject fileSelector; -} Literal_callback_Function_fileSelector_CustomObject; -typedef struct Opt_Literal_callback_Function_fileSelector_CustomObject { +} Literal_Function_callback_CustomObject_fileSelector; +typedef struct Opt_Literal_Function_callback_CustomObject_fileSelector { enum Ark_Tag tag; - Literal_callback_Function_fileSelector_CustomObject value; -} Opt_Literal_callback_Function_fileSelector_CustomObject; + Literal_Function_callback_CustomObject_fileSelector value; +} Opt_Literal_Function_callback_CustomObject_fileSelector; typedef struct Ark_OnShowFileSelectorEvent { Ark_FileSelectorResult result; Ark_FileSelectorParam fileSelector; @@ -3640,21 +4191,21 @@ typedef struct Opt_OnShowFileSelectorEvent { enum Ark_Tag tag; Ark_OnShowFileSelectorEvent value; } Opt_OnShowFileSelectorEvent; -typedef struct Literal_handler_Function_error_CustomObject { +typedef struct Literal_Function_handler_CustomObject_error { Ark_Function handler; Ark_CustomObject error; -} Literal_handler_Function_error_CustomObject; -typedef struct Opt_Literal_handler_Function_error_CustomObject { +} Literal_Function_handler_CustomObject_error; +typedef struct Opt_Literal_Function_handler_CustomObject_error { enum Ark_Tag tag; - Literal_handler_Function_error_CustomObject value; -} Opt_Literal_handler_Function_error_CustomObject; -typedef struct Literal_data_Union_String_WebResourceRequest { + Literal_Function_handler_CustomObject_error value; +} Opt_Literal_Function_handler_CustomObject_error; +typedef struct Literal_Union_String_WebResourceRequest_data { struct Union_String_WebResourceRequest data; -} Literal_data_Union_String_WebResourceRequest; -typedef struct Opt_Literal_data_Union_String_WebResourceRequest { +} Literal_Union_String_WebResourceRequest_data; +typedef struct Opt_Literal_Union_String_WebResourceRequest_data { enum Ark_Tag tag; - Literal_data_Union_String_WebResourceRequest value; -} Opt_Literal_data_Union_String_WebResourceRequest; + Literal_Union_String_WebResourceRequest_data value; +} Opt_Literal_Union_String_WebResourceRequest_data; typedef struct Ark_OnRefreshAccessedHistoryEvent { Ark_String url; Ark_Boolean isRefreshed; @@ -3770,27 +4321,27 @@ typedef struct Opt_OnPageEndEvent { enum Ark_Tag tag; Ark_OnPageEndEvent value; } Opt_OnPageEndEvent; -typedef struct Literal_time_Number { +typedef struct Literal_Number_time { Ark_Number time; -} Literal_time_Number; -typedef struct Opt_Literal_time_Number { +} Literal_Number_time; +typedef struct Opt_Literal_Number_time { enum Ark_Tag tag; - Literal_time_Number value; -} Opt_Literal_time_Number; -typedef struct Literal_duration_Number { + Literal_Number_time value; +} Opt_Literal_Number_time; +typedef struct Literal_Number_duration { Ark_Number duration; -} Literal_duration_Number; -typedef struct Opt_Literal_duration_Number { +} Literal_Number_duration; +typedef struct Opt_Literal_Number_duration { enum Ark_Tag tag; - Literal_duration_Number value; -} Opt_Literal_duration_Number; -typedef struct Literal_fullscreen_Boolean { + Literal_Number_duration value; +} Opt_Literal_Number_duration; +typedef struct Literal_Boolean_fullscreen { Ark_Boolean fullscreen; -} Literal_fullscreen_Boolean; -typedef struct Opt_Literal_fullscreen_Boolean { +} Literal_Boolean_fullscreen; +typedef struct Opt_Literal_Boolean_fullscreen { enum Ark_Tag tag; - Literal_fullscreen_Boolean value; -} Opt_Literal_fullscreen_Boolean; + Literal_Boolean_fullscreen value; +} Opt_Literal_Boolean_fullscreen; typedef struct Ark_TimePickerResult { Ark_Number hour; Ark_Number minute; @@ -3801,7 +4352,10 @@ typedef struct Opt_TimePickerResult { Ark_TimePickerResult value; } Opt_TimePickerResult; typedef Ark_Int32 Ark_MarqueeState; -typedef struct Opt_MarqueeState { enum Ark_Tag tag; Ark_MarqueeState value; } Opt_MarqueeState; +typedef struct Opt_MarqueeState { + enum Ark_Tag tag; + Ark_MarqueeState value; +} Opt_MarqueeState; typedef struct Ark_TabsAnimationEvent { Ark_Number currentOffset; Ark_Number targetOffset; @@ -3821,7 +4375,10 @@ typedef struct Opt_SwiperAnimationEvent { Ark_SwiperAnimationEvent value; } Opt_SwiperAnimationEvent; typedef Ark_Int32 Ark_SliderChangeMode; -typedef struct Opt_SliderChangeMode { enum Ark_Tag tag; Ark_SliderChangeMode value; } Opt_SliderChangeMode; +typedef struct Opt_SliderChangeMode { + enum Ark_Tag tag; + Ark_SliderChangeMode value; +} Opt_SliderChangeMode; typedef struct Ark_DeleteValue { Ark_Number deleteOffset; Ark_TextDeleteDirection direction; @@ -3848,7 +4405,10 @@ typedef struct Opt_PreviewText { Ark_PreviewText value; } Opt_PreviewText; typedef Ark_Int32 Ark_SaveButtonOnClickResult; -typedef struct Opt_SaveButtonOnClickResult { enum Ark_Tag tag; Ark_SaveButtonOnClickResult value; } Opt_SaveButtonOnClickResult; +typedef struct Opt_SaveButtonOnClickResult { + enum Ark_Tag tag; + Ark_SaveButtonOnClickResult value; +} Opt_SaveButtonOnClickResult; typedef struct Ark_CopyEvent { struct Opt_Function preventDefault; } Ark_CopyEvent; @@ -3926,19 +4486,28 @@ typedef struct Opt_RichEditorSelection { Ark_RichEditorSelection value; } Opt_RichEditorSelection; typedef Ark_Int32 Ark_RefreshStatus; -typedef struct Opt_RefreshStatus { enum Ark_Tag tag; Ark_RefreshStatus value; } Opt_RefreshStatus; -typedef struct Literal_errcode_Number_msg_String { +typedef struct Opt_RefreshStatus { + enum Ark_Tag tag; + Ark_RefreshStatus value; +} Opt_RefreshStatus; +typedef struct Literal_Number_errcode_String_msg { Ark_Number errcode; Ark_String msg; -} Literal_errcode_Number_msg_String; -typedef struct Opt_Literal_errcode_Number_msg_String { +} Literal_Number_errcode_String_msg; +typedef struct Opt_Literal_Number_errcode_String_msg { enum Ark_Tag tag; - Literal_errcode_Number_msg_String value; -} Opt_Literal_errcode_Number_msg_String; + Literal_Number_errcode_String_msg value; +} Opt_Literal_Number_errcode_String_msg; typedef Ark_Int32 Ark_PasteButtonOnClickResult; -typedef struct Opt_PasteButtonOnClickResult { enum Ark_Tag tag; Ark_PasteButtonOnClickResult value; } Opt_PasteButtonOnClickResult; +typedef struct Opt_PasteButtonOnClickResult { + enum Ark_Tag tag; + Ark_PasteButtonOnClickResult value; +} Opt_PasteButtonOnClickResult; typedef Ark_Int32 Ark_NavigationOperation; -typedef struct Opt_NavigationOperation { enum Ark_Tag tag; Ark_NavigationOperation value; } Opt_NavigationOperation; +typedef struct Opt_NavigationOperation { + enum Ark_Tag tag; + Ark_NavigationOperation value; +} Opt_NavigationOperation; typedef struct Ark_NavContentInfo { Opt_String name; Ark_Number index; @@ -3951,7 +4520,10 @@ typedef struct Opt_NavContentInfo { Ark_NavContentInfo value; } Opt_NavContentInfo; typedef Ark_Int32 Ark_LocationButtonOnClickResult; -typedef struct Opt_LocationButtonOnClickResult { enum Ark_Tag tag; Ark_LocationButtonOnClickResult value; } Opt_LocationButtonOnClickResult; +typedef struct Opt_LocationButtonOnClickResult { + enum Ark_Tag tag; + Ark_LocationButtonOnClickResult value; +} Opt_LocationButtonOnClickResult; typedef struct Ark_VisibleListContentInfo { Ark_Number index; Opt_ListItemGroupArea itemGroupArea; @@ -3985,7 +4557,7 @@ typedef struct Opt_ImageError { enum Ark_Tag tag; Ark_ImageError value; } Opt_ImageError; -typedef struct Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number { +typedef struct Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY { Ark_Number width; Ark_Number height; Ark_Number componentWidth; @@ -3995,11 +4567,11 @@ typedef struct Literal_width_Number_height_Number_componentWidth_Number_componen Ark_Number contentHeight; Ark_Number contentOffsetX; Ark_Number contentOffsetY; -} Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number; -typedef struct Opt_Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number { +} Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY; +typedef struct Opt_Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY { enum Ark_Tag tag; - Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number value; -} Opt_Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number; + Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY value; +} Opt_Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY; typedef struct Ark_ItemDragInfo { Ark_Number x; Ark_Number y; @@ -4026,13 +4598,13 @@ typedef struct Opt_HoverEventParam { enum Ark_Tag tag; Ark_HoverEventParam value; } Opt_HoverEventParam; -typedef struct Literal_foldStatus_FoldStatus { +typedef struct Literal_FoldStatus_foldStatus { Ark_FoldStatus foldStatus; -} Literal_foldStatus_FoldStatus; -typedef struct Opt_Literal_foldStatus_FoldStatus { +} Literal_FoldStatus_foldStatus; +typedef struct Opt_Literal_FoldStatus_foldStatus { enum Ark_Tag tag; - Literal_foldStatus_FoldStatus value; -} Opt_Literal_foldStatus_FoldStatus; + Literal_FoldStatus_foldStatus value; +} Opt_Literal_FoldStatus_foldStatus; typedef struct Ark_DatePickerResult { Opt_Number year; Opt_Number month; @@ -4043,7 +4615,10 @@ typedef struct Opt_DatePickerResult { Ark_DatePickerResult value; } Opt_DatePickerResult; typedef Ark_Int32 Ark_ScrollState; -typedef struct Opt_ScrollState { enum Ark_Tag tag; Ark_ScrollState value; } Opt_ScrollState; +typedef struct Opt_ScrollState { + enum Ark_Tag tag; + Ark_ScrollState value; +} Opt_ScrollState; typedef Ark_Materialized Ark_GestureRecognizer; typedef struct Array_GestureRecognizer { Ark_GestureRecognizer* array; @@ -4097,7 +4672,10 @@ typedef struct Opt_GestureInfo { Ark_GestureInfo value; } Opt_GestureInfo; typedef Ark_Int32 Ark_PreDragStatus; -typedef struct Opt_PreDragStatus { enum Ark_Tag tag; Ark_PreDragStatus value; } Opt_PreDragStatus; +typedef struct Opt_PreDragStatus { + enum Ark_Tag tag; + Ark_PreDragStatus value; +} Opt_PreDragStatus; typedef struct Ark_DragEvent { Ark_DragBehavior dragBehavior; Ark_Boolean useCustomDropAnimation; @@ -4289,7 +4867,7 @@ typedef struct Ark_SectionOptions { struct Opt_Function onGetItemMainSizeByIndex; Opt_Length columnsGap; Opt_Length rowsGap; - struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length margin; + struct Opt_Union_Padding_Length margin; } Ark_SectionOptions; typedef struct Opt_SectionOptions { enum Ark_Tag tag; @@ -4320,14 +4898,14 @@ typedef struct Opt_SurfaceRect { enum Ark_Tag tag; Ark_SurfaceRect value; } Opt_SurfaceRect; -typedef struct Literal_surfaceWidth_Number_surfaceHeight_Number { +typedef struct Literal_Number_surfaceWidth_surfaceHeight { Ark_Number surfaceWidth; Ark_Number surfaceHeight; -} Literal_surfaceWidth_Number_surfaceHeight_Number; -typedef struct Opt_Literal_surfaceWidth_Number_surfaceHeight_Number { +} Literal_Number_surfaceWidth_surfaceHeight; +typedef struct Opt_Literal_Number_surfaceWidth_surfaceHeight { enum Ark_Tag tag; - Literal_surfaceWidth_Number_surfaceHeight_Number value; -} Opt_Literal_surfaceWidth_Number_surfaceHeight_Number; + Literal_Number_surfaceWidth_surfaceHeight value; +} Opt_Literal_Number_surfaceWidth_surfaceHeight; typedef struct Ark_ScreenCaptureConfig { Ark_WebCaptureMode captureMode; } Ark_ScreenCaptureConfig; @@ -4349,16 +4927,19 @@ typedef struct Opt_Union_String_Number_Resource_ArrayBuffer { Union_String_Number_Resource_ArrayBuffer value; } Opt_Union_String_Number_Resource_ArrayBuffer; typedef Ark_Int32 Ark_MessageLevel; -typedef struct Opt_MessageLevel { enum Ark_Tag tag; Ark_MessageLevel value; } Opt_MessageLevel; -typedef struct Literal_object_CustomObject_name_String_methodList_Array_String { +typedef struct Opt_MessageLevel { + enum Ark_Tag tag; + Ark_MessageLevel value; +} Opt_MessageLevel; +typedef struct Literal_CustomObject_object_String_name_Array_String_methodList { Ark_CustomObject object; Ark_String name; struct Array_String methodList; -} Literal_object_CustomObject_name_String_methodList_Array_String; -typedef struct Opt_Literal_object_CustomObject_name_String_methodList_Array_String { +} Literal_CustomObject_object_String_name_Array_String_methodList; +typedef struct Opt_Literal_CustomObject_object_String_name_Array_String_methodList { enum Ark_Tag tag; - Literal_object_CustomObject_name_String_methodList_Array_String value; -} Opt_Literal_object_CustomObject_name_String_methodList_Array_String; + Literal_CustomObject_object_String_name_Array_String_methodList value; +} Opt_Literal_CustomObject_object_String_name_Array_String_methodList; typedef struct Ark_Header { Ark_String headerKey; Ark_String headerValue; @@ -4367,40 +4948,43 @@ typedef struct Opt_Header { enum Ark_Tag tag; Ark_Header value; } Opt_Header; -typedef struct Literal_url_Union_String_Resource_headers_Opt_Array_Header { +typedef struct Literal_Union_String_Resource_url_Opt_Array_Header_headers { struct Union_String_Resource url; struct Opt_Array_Header headers; -} Literal_url_Union_String_Resource_headers_Opt_Array_Header; -typedef struct Opt_Literal_url_Union_String_Resource_headers_Opt_Array_Header { +} Literal_Union_String_Resource_url_Opt_Array_Header_headers; +typedef struct Opt_Literal_Union_String_Resource_url_Opt_Array_Header_headers { enum Ark_Tag tag; - Literal_url_Union_String_Resource_headers_Opt_Array_Header value; -} Opt_Literal_url_Union_String_Resource_headers_Opt_Array_Header; -typedef struct Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String { + Literal_Union_String_Resource_url_Opt_Array_Header_headers value; +} Opt_Literal_Union_String_Resource_url_Opt_Array_Header_headers; +typedef struct Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl { Ark_String data; Ark_String mimeType; Ark_String encoding; Opt_String baseUrl; Opt_String historyUrl; -} Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String; -typedef struct Opt_Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String { +} Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl; +typedef struct Opt_Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl { enum Ark_Tag tag; - Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String value; -} Opt_Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String; -typedef struct Literal_script_String_callback_Opt_Function { + Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl value; +} Opt_Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl; +typedef struct Literal_String_script_Opt_Function_callback { Ark_String script; struct Opt_Function callback; -} Literal_script_String_callback_Opt_Function; -typedef struct Opt_Literal_script_String_callback_Opt_Function { +} Literal_String_script_Opt_Function_callback; +typedef struct Opt_Literal_String_script_Opt_Function_callback { enum Ark_Tag tag; - Literal_script_String_callback_Opt_Function value; -} Opt_Literal_script_String_callback_Opt_Function; + Literal_String_script_Opt_Function_callback value; +} Opt_Literal_String_script_Opt_Function_callback; typedef Ark_Int32 Ark_SeekMode; -typedef struct Opt_SeekMode { enum Ark_Tag tag; Ark_SeekMode value; } Opt_SeekMode; +typedef struct Opt_SeekMode { + enum Ark_Tag tag; + Ark_SeekMode value; +} Opt_SeekMode; typedef struct Ark_SpanStyle { Ark_Number start; Ark_Number length; Ark_StyledStringKey styledKey; - struct Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan styledValue; + struct Ark_StyledStringValue styledValue; } Ark_SpanStyle; typedef struct Opt_SpanStyle { enum Ark_Tag tag; @@ -4435,7 +5019,7 @@ typedef struct Ark_StyleOptions { Opt_Number start; Opt_Number length; Ark_StyledStringKey styledKey; - struct Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan styledValue; + struct Ark_StyledStringValue styledValue; } Ark_StyleOptions; typedef struct Opt_StyleOptions { enum Ark_Tag tag; @@ -4518,17 +5102,17 @@ typedef struct Opt_RichEditorImageSpanOptions { enum Ark_Tag tag; Ark_RichEditorImageSpanOptions value; } Opt_RichEditorImageSpanOptions; -typedef struct Union_CustomObject_Union_String_Resource { +typedef struct Union_CustomObject_Ark_ResourceStr { Ark_Int32 selector; union { Ark_CustomObject value0; - struct Union_String_Resource value1; + struct Ark_ResourceStr value1; }; -} Union_CustomObject_Union_String_Resource; -typedef struct Opt_Union_CustomObject_Union_String_Resource { +} Union_CustomObject_Ark_ResourceStr; +typedef struct Opt_Union_CustomObject_ResourceStr { enum Ark_Tag tag; - Union_CustomObject_Union_String_Resource value; -} Opt_Union_CustomObject_Union_String_Resource; + Union_CustomObject_Ark_ResourceStr value; +} Opt_Union_CustomObject_ResourceStr; typedef struct Ark_RichEditorTextSpanOptions { Opt_Number offset; struct Opt_RichEditorTextStyle style; @@ -4540,8 +5124,8 @@ typedef struct Opt_RichEditorTextSpanOptions { Ark_RichEditorTextSpanOptions value; } Opt_RichEditorTextSpanOptions; typedef struct Ark_TextMenuItem { - struct Union_String_Resource content; - struct Opt_Union_String_Resource icon; + struct Ark_ResourceStr content; + struct Opt_ResourceStr icon; struct Ark_TextMenuItemId id; } Ark_TextMenuItem; typedef struct Opt_TextMenuItem { @@ -4557,7 +5141,10 @@ typedef struct Opt_Array_TextMenuItem { Array_TextMenuItem value; } Opt_Array_TextMenuItem; typedef Ark_Int32 Ark_PatternLockChallengeResult; -typedef struct Opt_PatternLockChallengeResult { enum Ark_Tag tag; Ark_PatternLockChallengeResult value; } Opt_PatternLockChallengeResult; +typedef struct Opt_PatternLockChallengeResult { + enum Ark_Tag tag; + Ark_PatternLockChallengeResult value; +} Opt_PatternLockChallengeResult; typedef struct Ark_NavigationInterception { struct Opt_Function willShow; struct Opt_Function didShow; @@ -4592,15 +5179,18 @@ typedef struct Opt_ScrollToIndexOptions { Ark_ScrollToIndexOptions value; } Opt_ScrollToIndexOptions; typedef Ark_Int32 Ark_ScrollAlign; -typedef struct Opt_ScrollAlign { enum Ark_Tag tag; Ark_ScrollAlign value; } Opt_ScrollAlign; -typedef struct Literal_next_Boolean_direction_Opt_Axis { +typedef struct Opt_ScrollAlign { + enum Ark_Tag tag; + Ark_ScrollAlign value; +} Opt_ScrollAlign; +typedef struct Literal_Boolean_next_Opt_Axis_direction { Ark_Boolean next; Opt_Axis direction; -} Literal_next_Boolean_direction_Opt_Axis; -typedef struct Opt_Literal_next_Boolean_direction_Opt_Axis { +} Literal_Boolean_next_Opt_Axis_direction; +typedef struct Opt_Literal_Boolean_next_Opt_Axis_direction { enum Ark_Tag tag; - Literal_next_Boolean_direction_Opt_Axis value; -} Opt_Literal_next_Boolean_direction_Opt_Axis; + Literal_Boolean_next_Opt_Axis_direction value; +} Opt_Literal_Boolean_next_Opt_Axis_direction; typedef struct Ark_ScrollPageOptions { Ark_Boolean next; Opt_Boolean animation; @@ -4617,16 +5207,19 @@ typedef struct Opt_ScrollEdgeOptions { Ark_ScrollEdgeOptions value; } Opt_ScrollEdgeOptions; typedef Ark_Int32 Ark_Edge; -typedef struct Opt_Edge { enum Ark_Tag tag; Ark_Edge value; } Opt_Edge; -typedef struct Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean { +typedef struct Opt_Edge { + enum Ark_Tag tag; + Ark_Edge value; +} Opt_Edge; +typedef struct Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation { struct Union_Number_String xOffset; struct Union_Number_String yOffset; struct Opt_Union_ScrollAnimationOptions_Boolean animation; -} Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean; -typedef struct Opt_Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean { +} Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation; +typedef struct Opt_Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation { enum Ark_Tag tag; - Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean value; -} Opt_Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean; + Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation value; +} Opt_Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation; typedef Ark_Materialized Ark_Matrix2D; typedef struct Opt_Matrix2D { enum Ark_Tag tag; @@ -4657,17 +5250,17 @@ typedef struct Opt_Path2D { enum Ark_Tag tag; Ark_Path2D value; } Opt_Path2D; -typedef struct Union_String_String { +typedef struct Ark_CanvasFillRule { Ark_Int32 selector; union { struct Ark_String value0; struct Ark_String value1; }; -} Union_String_String; -typedef struct Opt_Union_String_String { +} Ark_CanvasFillRule; +typedef struct Opt_CanvasFillRule { enum Ark_Tag tag; - Union_String_String value; -} Opt_Union_String_String; + Ark_CanvasFillRule value; +} Opt_CanvasFillRule; typedef struct Union_ImageBitmap_CustomObject { Ark_Int32 selector; union { @@ -4687,20 +5280,21 @@ typedef struct Opt_RenderingContextSettings { Ark_RenderingContextSettings value; } Opt_RenderingContextSettings; typedef struct Ark_UIGestureEvent { + void *handle; } Ark_UIGestureEvent; typedef struct Opt_UIGestureEvent { enum Ark_Tag tag; Ark_UIGestureEvent value; } Opt_UIGestureEvent; -typedef struct Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number { +typedef struct Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction { Opt_Number fingers; Opt_PanDirection direction; Opt_Number distance; -} Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number; -typedef struct Opt_Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number { +} Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction; +typedef struct Opt_Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction { enum Ark_Tag tag; - Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number value; -} Opt_Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number; + Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction value; +} Opt_Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction; typedef Ark_Materialized Ark_LinearIndicatorController; typedef struct Opt_LinearIndicatorController { enum Ark_Tag tag; @@ -4716,7 +5310,7 @@ typedef struct Opt_UIExtensionOptions { Ark_UIExtensionOptions value; } Opt_UIExtensionOptions; typedef struct Ark_WaterFlowOptions { - struct Opt_Union_Function_Undefined footer; + struct Opt_CustomBuilder footer; Opt_Scroller scroller; Opt_WaterFlowSections sections; Opt_WaterFlowLayoutMode layoutMode; @@ -4747,20 +5341,26 @@ typedef struct Opt_Union_DividerStyle_Undefined { Union_DividerStyle_Ark_Undefined value; } Opt_Union_DividerStyle_Undefined; typedef Ark_Int32 Ark_SideBarPosition; -typedef struct Opt_SideBarPosition { enum Ark_Tag tag; Ark_SideBarPosition value; } Opt_SideBarPosition; +typedef struct Opt_SideBarPosition { + enum Ark_Tag tag; + Ark_SideBarPosition value; +} Opt_SideBarPosition; typedef struct Ark_ButtonStyle { Opt_Number left; Opt_Number top; Opt_Number width; Opt_Number height; - struct Opt_Literal_shown_Union_String_CustomObject_Resource_hidden_Union_String_CustomObject_Resource_switching_Opt_Union_String_CustomObject_Resource icons; + struct Opt_Literal_Union_String_CustomObject_Resource_shown_hidden_Opt_Union_String_CustomObject_Resource_switching icons; } Ark_ButtonStyle; typedef struct Opt_ButtonStyle { enum Ark_Tag tag; Ark_ButtonStyle value; } Opt_ButtonStyle; typedef Ark_Int32 Ark_SideBarContainerType; -typedef struct Opt_SideBarContainerType { enum Ark_Tag tag; Ark_SideBarContainerType value; } Opt_SideBarContainerType; +typedef struct Opt_SideBarContainerType { + enum Ark_Tag tag; + Ark_SideBarContainerType value; +} Opt_SideBarContainerType; typedef struct Ark_XComponentOptions { Ark_XComponentType type; Ark_XComponentController controller; @@ -4770,31 +5370,34 @@ typedef struct Opt_XComponentOptions { enum Ark_Tag tag; Ark_XComponentOptions value; } Opt_XComponentOptions; -typedef struct Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController { +typedef struct Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller { Ark_String id; Ark_XComponentType type; Opt_String libraryname; Opt_XComponentController controller; -} Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController; -typedef struct Opt_Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController { +} Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller; +typedef struct Opt_Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller { enum Ark_Tag tag; - Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController value; -} Opt_Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController; -typedef struct Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController { + Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller value; +} Opt_Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller; +typedef struct Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller { Ark_String id; Ark_String type; Opt_String libraryname; Opt_XComponentController controller; -} Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController; -typedef struct Opt_Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController { +} Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller; +typedef struct Opt_Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller { enum Ark_Tag tag; - Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController value; -} Opt_Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController; + Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller value; +} Opt_Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller; typedef Ark_Int32 Ark_WebKeyboardAvoidMode; -typedef struct Opt_WebKeyboardAvoidMode { enum Ark_Tag tag; Ark_WebKeyboardAvoidMode value; } Opt_WebKeyboardAvoidMode; +typedef struct Opt_WebKeyboardAvoidMode { + enum Ark_Tag tag; + Ark_WebKeyboardAvoidMode value; +} Opt_WebKeyboardAvoidMode; typedef struct Ark_ExpandedMenuItemOptions { - struct Union_String_Resource content; - struct Opt_Union_String_Resource startIcon; + struct Ark_ResourceStr content; + struct Opt_ResourceStr startIcon; struct Ark_Function action; } Ark_ExpandedMenuItemOptions; typedef struct Opt_ExpandedMenuItemOptions { @@ -4818,7 +5421,10 @@ typedef struct Opt_NativeMediaPlayerConfig { Ark_NativeMediaPlayerConfig value; } Opt_NativeMediaPlayerConfig; typedef Ark_Int32 Ark_WebLayoutMode; -typedef struct Opt_WebLayoutMode { enum Ark_Tag tag; Ark_WebLayoutMode value; } Opt_WebLayoutMode; +typedef struct Opt_WebLayoutMode { + enum Ark_Tag tag; + Ark_WebLayoutMode value; +} Opt_WebLayoutMode; typedef struct Array_ScriptItem { struct Ark_ScriptItem* array; Ark_Int32 length; @@ -4836,7 +5442,10 @@ typedef struct Opt_ScriptItem { Ark_ScriptItem value; } Opt_ScriptItem; typedef Ark_Int32 Ark_OverScrollMode; -typedef struct Opt_OverScrollMode { enum Ark_Tag tag; Ark_OverScrollMode value; } Opt_OverScrollMode; +typedef struct Opt_OverScrollMode { + enum Ark_Tag tag; + Ark_OverScrollMode value; +} Opt_OverScrollMode; typedef struct Ark_WebMediaOptions { Opt_Number resumeInterval; Opt_Boolean audioExclusive; @@ -4846,9 +5455,15 @@ typedef struct Opt_WebMediaOptions { Ark_WebMediaOptions value; } Opt_WebMediaOptions; typedef Ark_Int32 Ark_WebDarkMode; -typedef struct Opt_WebDarkMode { enum Ark_Tag tag; Ark_WebDarkMode value; } Opt_WebDarkMode; +typedef struct Opt_WebDarkMode { + enum Ark_Tag tag; + Ark_WebDarkMode value; +} Opt_WebDarkMode; typedef Ark_Int32 Ark_CacheMode; -typedef struct Opt_CacheMode { enum Ark_Tag tag; Ark_CacheMode value; } Opt_CacheMode; +typedef struct Opt_CacheMode { + enum Ark_Tag tag; + Ark_CacheMode value; +} Opt_CacheMode; typedef struct Ark_JavaScriptProxy { Ark_CustomObject object; Ark_String name; @@ -4862,7 +5477,10 @@ typedef struct Opt_JavaScriptProxy { Ark_JavaScriptProxy value; } Opt_JavaScriptProxy; typedef Ark_Int32 Ark_MixedMode; -typedef struct Opt_MixedMode { enum Ark_Tag tag; Ark_MixedMode value; } Opt_MixedMode; +typedef struct Opt_MixedMode { + enum Ark_Tag tag; + Ark_MixedMode value; +} Opt_MixedMode; typedef struct Ark_WebOptions { struct Union_String_Resource src; struct Union_WebController_CustomObject controller; @@ -4887,22 +5505,22 @@ typedef struct Opt_VideoOptions { } Opt_VideoOptions; typedef struct Ark_SwitchStyle { struct Opt_Union_Number_Resource pointRadius; - struct Opt_Union_Color_Number_String_Resource unselectedColor; - struct Opt_Union_Color_Number_String_Resource pointColor; + struct Opt_ResourceColor unselectedColor; + struct Opt_ResourceColor pointColor; struct Opt_Union_Number_Resource trackBorderRadius; } Ark_SwitchStyle; typedef struct Opt_SwitchStyle { enum Ark_Tag tag; Ark_SwitchStyle value; } Opt_SwitchStyle; -typedef struct Literal_type_ToggleType_isOn_Opt_Boolean { +typedef struct Literal_ToggleType_type_Opt_Boolean_isOn { Ark_ToggleType type; Opt_Boolean isOn; -} Literal_type_ToggleType_isOn_Opt_Boolean; -typedef struct Opt_Literal_type_ToggleType_isOn_Opt_Boolean { +} Literal_ToggleType_type_Opt_Boolean_isOn; +typedef struct Opt_Literal_ToggleType_type_Opt_Boolean_isOn { enum Ark_Tag tag; - Literal_type_ToggleType_isOn_Opt_Boolean value; -} Opt_Literal_type_ToggleType_isOn_Opt_Boolean; + Literal_ToggleType_type_Opt_Boolean_isOn value; +} Opt_Literal_ToggleType_type_Opt_Boolean_isOn; typedef struct Ark_TimePickerOptions { Opt_CustomObject selected; Opt_TimePickerFormat format; @@ -4956,37 +5574,37 @@ typedef struct Opt_TextPickerOptions { enum Ark_Tag tag; Ark_TextPickerOptions value; } Opt_TextPickerOptions; -typedef struct Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions { +typedef struct Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon { Opt_CancelButtonStyle style; struct Opt_IconOptions icon; -} Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions; -typedef struct Opt_Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions { +} Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon; +typedef struct Opt_Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon { enum Ark_Tag tag; - Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions value; -} Opt_Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions; -typedef struct Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined { + Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon value; +} Opt_Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon; +typedef struct Union_Ark_ResourceColor_UnderlineColor_Undefined { Ark_Int32 selector; union { - struct Union_Color_Number_String_Resource value0; + struct Ark_ResourceColor value0; struct Ark_UnderlineColor value1; Ark_Undefined value2; }; -} Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined; -typedef struct Opt_Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined { +} Union_Ark_ResourceColor_UnderlineColor_Undefined; +typedef struct Opt_Union_ResourceColor_UnderlineColor_Undefined { enum Ark_Tag tag; - Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined value; -} Opt_Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined; -typedef struct Union_Union_String_Resource_Undefined { + Union_Ark_ResourceColor_UnderlineColor_Undefined value; +} Opt_Union_ResourceColor_UnderlineColor_Undefined; +typedef struct Union_Ark_ResourceStr_Undefined { Ark_Int32 selector; union { - struct Union_String_Resource value0; + struct Ark_ResourceStr value0; Ark_Undefined value1; }; -} Union_Union_String_Resource_Undefined; -typedef struct Opt_Union_Union_String_Resource_Undefined { +} Union_Ark_ResourceStr_Undefined; +typedef struct Opt_Union_ResourceStr_Undefined { enum Ark_Tag tag; - Union_Union_String_Resource_Undefined value; -} Opt_Union_Union_String_Resource_Undefined; + Union_Ark_ResourceStr_Undefined value; +} Opt_Union_ResourceStr_Undefined; typedef struct Ark_PasswordIcon { struct Opt_Union_String_Resource onIconSrc; struct Opt_Union_String_Resource offIconSrc; @@ -5007,28 +5625,37 @@ typedef struct Opt_Union_TextInputStyle_TextContentStyle { Union_TextInputStyle_TextContentStyle value; } Opt_Union_TextInputStyle_TextContentStyle; typedef Ark_Int32 Ark_InputType; -typedef struct Opt_InputType { enum Ark_Tag tag; Ark_InputType value; } Opt_InputType; +typedef struct Opt_InputType { + enum Ark_Tag tag; + Ark_InputType value; +} Opt_InputType; typedef struct Ark_TextInputOptions { - struct Opt_Union_String_Resource placeholder; - struct Opt_Union_String_Resource text; + struct Opt_ResourceStr placeholder; + struct Opt_ResourceStr text; Opt_TextInputController controller; } Ark_TextInputOptions; typedef struct Opt_TextInputOptions { enum Ark_Tag tag; Ark_TextInputOptions value; } Opt_TextInputOptions; -typedef struct Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController { +typedef struct Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller { Opt_Number timeZoneOffset; Opt_TextClockController controller; -} Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController; -typedef struct Opt_Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController { +} Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller; +typedef struct Opt_Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller { enum Ark_Tag tag; - Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController value; -} Opt_Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController; + Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller value; +} Opt_Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller; typedef Ark_Int32 Ark_ContentType; -typedef struct Opt_ContentType { enum Ark_Tag tag; Ark_ContentType value; } Opt_ContentType; +typedef struct Opt_ContentType { + enum Ark_Tag tag; + Ark_ContentType value; +} Opt_ContentType; typedef Ark_Int32 Ark_TextAreaType; -typedef struct Opt_TextAreaType { enum Ark_Tag tag; Ark_TextAreaType value; } Opt_TextAreaType; +typedef struct Opt_TextAreaType { + enum Ark_Tag tag; + Ark_TextAreaType value; +} Opt_TextAreaType; typedef struct Ark_InputCounterOptions { Opt_Number thresholdPercentage; Opt_Boolean highlightBorder; @@ -5038,8 +5665,8 @@ typedef struct Opt_InputCounterOptions { Ark_InputCounterOptions value; } Opt_InputCounterOptions; typedef struct Ark_TextAreaOptions { - struct Opt_Union_String_Resource placeholder; - struct Opt_Union_String_Resource text; + struct Opt_ResourceStr placeholder; + struct Opt_ResourceStr text; Opt_TextAreaController controller; } Ark_TextAreaOptions; typedef struct Opt_TextAreaOptions { @@ -5047,20 +5674,32 @@ typedef struct Opt_TextAreaOptions { Ark_TextAreaOptions value; } Opt_TextAreaOptions; typedef Ark_Int32 Ark_TextSelectableMode; -typedef struct Opt_TextSelectableMode { enum Ark_Tag tag; Ark_TextSelectableMode value; } Opt_TextSelectableMode; +typedef struct Opt_TextSelectableMode { + enum Ark_Tag tag; + Ark_TextSelectableMode value; +} Opt_TextSelectableMode; typedef Ark_Int32 Ark_TextResponseType; -typedef struct Opt_TextResponseType { enum Ark_Tag tag; Ark_TextResponseType value; } Opt_TextResponseType; +typedef struct Opt_TextResponseType { + enum Ark_Tag tag; + Ark_TextResponseType value; +} Opt_TextResponseType; typedef Ark_Int32 Ark_TextSpanType; -typedef struct Opt_TextSpanType { enum Ark_Tag tag; Ark_TextSpanType value; } Opt_TextSpanType; +typedef struct Opt_TextSpanType { + enum Ark_Tag tag; + Ark_TextSpanType value; +} Opt_TextSpanType; typedef Ark_Int32 Ark_EllipsisMode; -typedef struct Opt_EllipsisMode { enum Ark_Tag tag; Ark_EllipsisMode value; } Opt_EllipsisMode; -typedef struct Literal_overflow_TextOverflow { +typedef struct Opt_EllipsisMode { + enum Ark_Tag tag; + Ark_EllipsisMode value; +} Opt_EllipsisMode; +typedef struct Literal_TextOverflow_overflow { Ark_TextOverflow overflow; -} Literal_overflow_TextOverflow; -typedef struct Opt_Literal_overflow_TextOverflow { +} Literal_TextOverflow_overflow; +typedef struct Opt_Literal_TextOverflow_overflow { enum Ark_Tag tag; - Literal_overflow_TextOverflow value; -} Opt_Literal_overflow_TextOverflow; + Literal_TextOverflow_overflow value; +} Opt_Literal_TextOverflow_overflow; typedef struct Ark_TextOptions { Ark_TextController controller; } Ark_TextOptions; @@ -5079,19 +5718,19 @@ typedef struct Opt_Union_SubTabBarStyle_BottomTabBarStyle { enum Ark_Tag tag; Union_SubTabBarStyle_BottomTabBarStyle value; } Opt_Union_SubTabBarStyle_BottomTabBarStyle; -typedef struct Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource { +typedef struct Union_String_Resource_Ark_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text { Ark_Int32 selector; union { Ark_String value0; struct Ark_Resource value1; - struct Union_Function_Undefined value2; - struct Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource value3; + struct Ark_CustomBuilder value2; + struct Literal_Opt_Union_String_Resource_icon_text value3; }; -} Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource; -typedef struct Opt_Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource { +} Union_String_Resource_Ark_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text; +typedef struct Opt_Union_String_Resource_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text { enum Ark_Tag tag; - Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource value; -} Opt_Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource; + Union_String_Resource_Ark_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text value; +} Opt_Union_String_Resource_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text; typedef struct Ark_BarGridColumnOptions { Opt_Number sm; Opt_Number md; @@ -5112,17 +5751,21 @@ typedef struct Opt_ScrollableBarModeOptions { Ark_ScrollableBarModeOptions value; } Opt_ScrollableBarModeOptions; typedef Ark_Int32 Ark_BarMode; -typedef struct Opt_BarMode { enum Ark_Tag tag; Ark_BarMode value; } Opt_BarMode; -typedef struct Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController { +typedef struct Opt_BarMode { + enum Ark_Tag tag; + Ark_BarMode value; +} Opt_BarMode; +typedef struct Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller { Opt_BarPosition barPosition; Opt_Number index; Opt_TabsController controller; -} Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController; -typedef struct Opt_Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController { +} Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller; +typedef struct Opt_Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller { enum Ark_Tag tag; - Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController value; -} Opt_Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController; + Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller value; +} Opt_Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller; typedef struct Ark_SymbolEffect { + void *handle; } Ark_SymbolEffect; typedef struct Opt_SymbolEffect { enum Ark_Tag tag; @@ -5137,21 +5780,27 @@ typedef struct Opt_SwiperContentAnimatedTransition { Ark_SwiperContentAnimatedTransition value; } Opt_SwiperContentAnimatedTransition; typedef Ark_Int32 Ark_SwiperNestedScrollMode; -typedef struct Opt_SwiperNestedScrollMode { enum Ark_Tag tag; Ark_SwiperNestedScrollMode value; } Opt_SwiperNestedScrollMode; -typedef struct Union_Number_String_Literal_minSize_Union_String_Number { +typedef struct Opt_SwiperNestedScrollMode { + enum Ark_Tag tag; + Ark_SwiperNestedScrollMode value; +} Opt_SwiperNestedScrollMode; +typedef struct Union_Number_String_Ark_SwiperAutoFill { Ark_Int32 selector; union { Ark_Number value0; Ark_String value1; - struct Literal_minSize_Union_String_Number value2; + struct Ark_SwiperAutoFill value2; }; -} Union_Number_String_Literal_minSize_Union_String_Number; -typedef struct Opt_Union_Number_String_Literal_minSize_Union_String_Number { +} Union_Number_String_Ark_SwiperAutoFill; +typedef struct Opt_Union_Number_String_SwiperAutoFill { enum Ark_Tag tag; - Union_Number_String_Literal_minSize_Union_String_Number value; -} Opt_Union_Number_String_Literal_minSize_Union_String_Number; + Union_Number_String_Ark_SwiperAutoFill value; +} Opt_Union_Number_String_SwiperAutoFill; typedef Ark_Int32 Ark_SwiperDisplayMode; -typedef struct Opt_SwiperDisplayMode { enum Ark_Tag tag; Ark_SwiperDisplayMode value; } Opt_SwiperDisplayMode; +typedef struct Opt_SwiperDisplayMode { + enum Ark_Tag tag; + Ark_SwiperDisplayMode value; +} Opt_SwiperDisplayMode; typedef struct Union_ArrowStyle_Boolean { Ark_Int32 selector; union { @@ -5181,23 +5830,29 @@ typedef struct Opt_SwiperController { Ark_SwiperController value; } Opt_SwiperController; typedef Ark_Int32 Ark_ItemState; -typedef struct Opt_ItemState { enum Ark_Tag tag; Ark_ItemState value; } Opt_ItemState; -typedef struct Literal_index_Opt_Number { +typedef struct Opt_ItemState { + enum Ark_Tag tag; + Ark_ItemState value; +} Opt_ItemState; +typedef struct Literal_Opt_Number_index { Opt_Number index; -} Literal_index_Opt_Number; -typedef struct Opt_Literal_index_Opt_Number { +} Literal_Opt_Number_index; +typedef struct Opt_Literal_Opt_Number_index { enum Ark_Tag tag; - Literal_index_Opt_Number value; -} Opt_Literal_index_Opt_Number; -typedef struct Literal_alignContent_Opt_Alignment { + Literal_Opt_Number_index value; +} Opt_Literal_Opt_Number_index; +typedef struct Literal_Opt_Alignment_alignContent { Opt_Alignment alignContent; -} Literal_alignContent_Opt_Alignment; -typedef struct Opt_Literal_alignContent_Opt_Alignment { +} Literal_Opt_Alignment_alignContent; +typedef struct Opt_Literal_Opt_Alignment_alignContent { enum Ark_Tag tag; - Literal_alignContent_Opt_Alignment value; -} Opt_Literal_alignContent_Opt_Alignment; + Literal_Opt_Alignment_alignContent value; +} Opt_Literal_Opt_Alignment_alignContent; typedef Ark_Int32 Ark_TextCase; -typedef struct Opt_TextCase { enum Ark_Tag tag; Ark_TextCase value; } Opt_TextCase; +typedef struct Opt_TextCase { + enum Ark_Tag tag; + Ark_TextCase value; +} Opt_TextCase; typedef struct Ark_SlideRange { Opt_Number from; Opt_Number to; @@ -5207,10 +5862,13 @@ typedef struct Opt_SlideRange { Ark_SlideRange value; } Opt_SlideRange; typedef Ark_Int32 Ark_SliderInteraction; -typedef struct Opt_SliderInteraction { enum Ark_Tag tag; Ark_SliderInteraction value; } Opt_SliderInteraction; +typedef struct Opt_SliderInteraction { + enum Ark_Tag tag; + Ark_SliderInteraction value; +} Opt_SliderInteraction; typedef struct Ark_SliderBlockStyle { Ark_SliderBlockType type; - struct Opt_Union_String_Resource image; + struct Opt_ResourceStr image; struct Opt_Union_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute shape; } Ark_SliderBlockStyle; typedef struct Opt_SliderBlockStyle { @@ -5230,16 +5888,16 @@ typedef struct Opt_SliderOptions { enum Ark_Tag tag; Ark_SliderOptions value; } Opt_SliderOptions; -typedef struct Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String { +typedef struct Literal_Opt_Union_Number_String_x_y_width_height { struct Opt_Union_Number_String x; struct Opt_Union_Number_String y; struct Opt_Union_Number_String width; struct Opt_Union_Number_String height; -} Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String; -typedef struct Opt_Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String { +} Literal_Opt_Union_Number_String_x_y_width_height; +typedef struct Opt_Literal_Opt_Union_Number_String_x_y_width_height { enum Ark_Tag tag; - Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String value; -} Opt_Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String; + Literal_Opt_Union_Number_String_x_y_width_height value; +} Opt_Literal_Opt_Union_Number_String_x_y_width_height; typedef struct Union_Opt_DividerOptions_Ark_Undefined { Ark_Int32 selector; union { @@ -5263,12 +5921,18 @@ typedef struct Opt_Union_Length_OptionWidthMode { Union_Length_OptionWidthMode value; } Opt_Union_Length_OptionWidthMode; typedef Ark_Int32 Ark_MenuAlignType; -typedef struct Opt_MenuAlignType { enum Ark_Tag tag; Ark_MenuAlignType value; } Opt_MenuAlignType; +typedef struct Opt_MenuAlignType { + enum Ark_Tag tag; + Ark_MenuAlignType value; +} Opt_MenuAlignType; typedef Ark_Int32 Ark_ArrowPosition; -typedef struct Opt_ArrowPosition { enum Ark_Tag tag; Ark_ArrowPosition value; } Opt_ArrowPosition; +typedef struct Opt_ArrowPosition { + enum Ark_Tag tag; + Ark_ArrowPosition value; +} Opt_ArrowPosition; typedef struct Ark_SelectOption { - struct Union_String_Resource value; - struct Opt_Union_String_Resource icon; + struct Ark_ResourceStr value; + struct Opt_ResourceStr icon; Opt_CustomObject symbolIcon; } Ark_SelectOption; typedef struct Opt_SelectOption { @@ -5284,10 +5948,13 @@ typedef struct Opt_Array_SelectOption { Array_SelectOption value; } Opt_Array_SelectOption; typedef Ark_Int32 Ark_SearchType; -typedef struct Opt_SearchType { enum Ark_Tag tag; Ark_SearchType value; } Opt_SearchType; +typedef struct Opt_SearchType { + enum Ark_Tag tag; + Ark_SearchType value; +} Opt_SearchType; typedef struct Ark_TextDecorationOptions { Ark_TextDecorationType type; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; Opt_TextDecorationStyle style; } Ark_TextDecorationOptions; typedef struct Opt_TextDecorationOptions { @@ -5296,7 +5963,7 @@ typedef struct Opt_TextDecorationOptions { } Opt_TextDecorationOptions; typedef struct Ark_CaretStyle { Opt_Length width; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; } Ark_CaretStyle; typedef struct Opt_CaretStyle { enum Ark_Tag tag; @@ -5326,22 +5993,22 @@ typedef struct Opt_Union_IconOptions_CustomObject { } Opt_Union_IconOptions_CustomObject; typedef struct Ark_SearchButtonOptions { Opt_Length fontSize; - struct Opt_Union_Color_Number_String_Resource fontColor; + struct Opt_ResourceColor fontColor; } Ark_SearchButtonOptions; typedef struct Opt_SearchButtonOptions { enum Ark_Tag tag; Ark_SearchButtonOptions value; } Opt_SearchButtonOptions; -typedef struct Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController { +typedef struct Literal_Opt_String_value_icon_Ark_ResourceStr_placeholder_Opt_SearchController_controller { Opt_String value; - struct Opt_Union_String_Resource placeholder; + struct Opt_ResourceStr placeholder; Opt_String icon; Opt_SearchController controller; -} Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController; -typedef struct Opt_Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController { +} Literal_Opt_String_value_icon_Ark_ResourceStr_placeholder_Opt_SearchController_controller; +typedef struct Opt_Literal_Opt_String_value_icon_ResourceStr_placeholder_Opt_SearchController_controller { enum Ark_Tag tag; - Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController value; -} Opt_Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController; + Literal_Opt_String_value_icon_Ark_ResourceStr_placeholder_Opt_SearchController_controller value; +} Opt_Literal_Opt_String_value_icon_ResourceStr_placeholder_Opt_SearchController_controller; typedef struct Ark_ScrollBarOptions { Ark_Scroller scroller; Opt_ScrollBarDirection direction; @@ -5382,7 +6049,10 @@ typedef struct Opt_Union_Color_Number_String { Union_Color_Number_String value; } Opt_Union_Color_Number_String; typedef Ark_Int32 Ark_ScrollDirection; -typedef struct Opt_ScrollDirection { enum Ark_Tag tag; Ark_ScrollDirection value; } Opt_ScrollDirection; +typedef struct Opt_ScrollDirection { + enum Ark_Tag tag; + Ark_ScrollDirection value; +} Opt_ScrollDirection; typedef struct Ark_SaveButtonOptions { Opt_SaveIconStyle icon; Opt_SaveDescription text; @@ -5392,14 +6062,15 @@ typedef struct Opt_SaveButtonOptions { enum Ark_Tag tag; Ark_SaveButtonOptions value; } Opt_SaveButtonOptions; -typedef struct Literal_space_Opt_Union_String_Number { +typedef struct Literal_Opt_Union_String_Number_space { struct Opt_Union_String_Number space; -} Literal_space_Opt_Union_String_Number; -typedef struct Opt_Literal_space_Opt_Union_String_Number { +} Literal_Opt_Union_String_Number_space; +typedef struct Opt_Literal_Opt_Union_String_Number_space { enum Ark_Tag tag; - Literal_space_Opt_Union_String_Number value; -} Opt_Literal_space_Opt_Union_String_Number; + Literal_Opt_Union_String_Number_space value; +} Opt_Literal_Opt_Union_String_Number_space; typedef struct Ark_RootSceneSession { + void *handle; } Ark_RootSceneSession; typedef struct Opt_RootSceneSession { enum Ark_Tag tag; @@ -5411,17 +6082,23 @@ typedef struct Opt_EditMenuOptions { Ark_EditMenuOptions value; } Opt_EditMenuOptions; typedef Ark_Int32 Ark_EnterKeyType; -typedef struct Opt_EnterKeyType { enum Ark_Tag tag; Ark_EnterKeyType value; } Opt_EnterKeyType; +typedef struct Opt_EnterKeyType { + enum Ark_Tag tag; + Ark_EnterKeyType value; +} Opt_EnterKeyType; typedef struct Ark_PlaceholderStyle { struct Opt_Font font; - struct Opt_Union_Color_Number_String_Resource fontColor; + struct Opt_ResourceColor fontColor; } Ark_PlaceholderStyle; typedef struct Opt_PlaceholderStyle { enum Ark_Tag tag; Ark_PlaceholderStyle value; } Opt_PlaceholderStyle; typedef Ark_Int32 Ark_TextDataDetectorType; -typedef struct Opt_TextDataDetectorType { enum Ark_Tag tag; Ark_TextDataDetectorType value; } Opt_TextDataDetectorType; +typedef struct Opt_TextDataDetectorType { + enum Ark_Tag tag; + Ark_TextDataDetectorType value; +} Opt_TextDataDetectorType; typedef struct Ark_TextDataDetectorConfig { struct Array_TextDataDetectorType types; struct Opt_Function onDetectResultUpdate; @@ -5457,7 +6134,10 @@ typedef struct Opt_Union_ResponseType_RichEditorResponseType { Union_ResponseType_RichEditorResponseType value; } Opt_Union_ResponseType_RichEditorResponseType; typedef Ark_Int32 Ark_RichEditorSpanType; -typedef struct Opt_RichEditorSpanType { enum Ark_Tag tag; Ark_RichEditorSpanType value; } Opt_RichEditorSpanType; +typedef struct Opt_RichEditorSpanType { + enum Ark_Tag tag; + Ark_RichEditorSpanType value; +} Opt_RichEditorSpanType; typedef struct Ark_RichEditorStyledStringOptions { Ark_RichEditorStyledStringController controller; } Ark_RichEditorStyledStringOptions; @@ -5527,45 +6207,45 @@ typedef struct Ark_RefreshOptions { Ark_Boolean refreshing; struct Opt_Union_Number_String offset; struct Opt_Union_Number_String friction; - struct Opt_Union_String_Resource promptText; - struct Opt_Union_Function_Undefined builder; + struct Opt_ResourceStr promptText; + struct Opt_CustomBuilder builder; } Ark_RefreshOptions; typedef struct Opt_RefreshOptions { enum Ark_Tag tag; Ark_RefreshOptions value; } Opt_RefreshOptions; -typedef struct Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String { +typedef struct Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight { Ark_Int32 selector; union { - struct Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject value0; - struct Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String value1; + struct Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius value0; + struct Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight value1; }; -} Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String; -typedef struct Opt_Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String { +} Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight; +typedef struct Opt_Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight { enum Ark_Tag tag; - Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String value; -} Opt_Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String; -typedef struct Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String { + Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight value; +} Opt_Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight; +typedef struct Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri { Ark_String backgroundUri; Ark_String foregroundUri; Opt_String secondaryUri; -} Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String; -typedef struct Opt_Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String { +} Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri; +typedef struct Opt_Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri { enum Ark_Tag tag; - Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String value; -} Opt_Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String; -typedef struct Literal_rating_Number_indicator_Opt_Boolean { + Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri value; +} Opt_Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri; +typedef struct Literal_Number_rating_Opt_Boolean_indicator { Ark_Number rating; Opt_Boolean indicator; -} Literal_rating_Number_indicator_Opt_Boolean; -typedef struct Opt_Literal_rating_Number_indicator_Opt_Boolean { +} Literal_Number_rating_Opt_Boolean_indicator; +typedef struct Opt_Literal_Number_rating_Opt_Boolean_indicator { enum Ark_Tag tag; - Literal_rating_Number_indicator_Opt_Boolean value; -} Opt_Literal_rating_Number_indicator_Opt_Boolean; + Literal_Number_rating_Opt_Boolean_indicator value; +} Opt_Literal_Number_rating_Opt_Boolean_indicator; typedef struct Ark_RadioStyle { - struct Opt_Union_Color_Number_String_Resource checkedBackgroundColor; - struct Opt_Union_Color_Number_String_Resource uncheckedBorderColor; - struct Opt_Union_Color_Number_String_Resource indicatorColor; + struct Opt_ResourceColor checkedBackgroundColor; + struct Opt_ResourceColor uncheckedBorderColor; + struct Opt_ResourceColor indicatorColor; } Ark_RadioStyle; typedef struct Opt_RadioStyle { enum Ark_Tag tag; @@ -5575,42 +6255,42 @@ typedef struct Ark_RadioOptions { Ark_String group; Ark_String value; Opt_RadioIndicatorType indicatorType; - struct Opt_Union_Function_Undefined indicatorBuilder; + struct Opt_CustomBuilder indicatorBuilder; } Ark_RadioOptions; typedef struct Opt_RadioOptions { enum Ark_Tag tag; Ark_RadioOptions value; } Opt_RadioOptions; -typedef struct Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number { +typedef struct Literal_Opt_Union_String_Number_width_height { struct Opt_Union_String_Number width; struct Opt_Union_String_Number height; -} Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number; -typedef struct Opt_Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number { +} Literal_Opt_Union_String_Number_width_height; +typedef struct Opt_Literal_Opt_Union_String_Number_width_height { enum Ark_Tag tag; - Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number value; -} Opt_Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number; -typedef struct Literal_template_PluginComponentTemplate_data_CustomObject { + Literal_Opt_Union_String_Number_width_height value; +} Opt_Literal_Opt_Union_String_Number_width_height; +typedef struct Literal_PluginComponentTemplate_template_CustomObject_data { struct Ark_PluginComponentTemplate template_; Ark_CustomObject data; -} Literal_template_PluginComponentTemplate_data_CustomObject; -typedef struct Opt_Literal_template_PluginComponentTemplate_data_CustomObject { +} Literal_PluginComponentTemplate_template_CustomObject_data; +typedef struct Opt_Literal_PluginComponentTemplate_template_CustomObject_data { enum Ark_Tag tag; - Literal_template_PluginComponentTemplate_data_CustomObject value; -} Opt_Literal_template_PluginComponentTemplate_data_CustomObject; + Literal_PluginComponentTemplate_template_CustomObject_data value; +} Opt_Literal_PluginComponentTemplate_template_CustomObject_data; typedef Ark_Materialized Ark_PatternLockController; typedef struct Opt_PatternLockController { enum Ark_Tag tag; Ark_PatternLockController value; } Opt_PatternLockController; -typedef struct Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String { +typedef struct Literal_Opt_Union_Number_String_width_height_Opt_String_commands { struct Opt_Union_Number_String width; struct Opt_Union_Number_String height; Opt_String commands; -} Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String; -typedef struct Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String { +} Literal_Opt_Union_Number_String_width_height_Opt_String_commands; +typedef struct Opt_Literal_Opt_Union_Number_String_width_height_Opt_String_commands { enum Ark_Tag tag; - Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String value; -} Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String; + Literal_Opt_Union_Number_String_width_height_Opt_String_commands value; +} Opt_Literal_Opt_Union_Number_String_width_height_Opt_String_commands; typedef struct Ark_PasteButtonOptions { Opt_PasteIconStyle icon; Opt_PasteDescription text; @@ -5632,17 +6312,23 @@ typedef struct Opt_Union_Length_PanelHeight { Union_Length_PanelHeight value; } Opt_Union_Length_PanelHeight; typedef Ark_Int32 Ark_PanelType; -typedef struct Opt_PanelType { enum Ark_Tag tag; Ark_PanelType value; } Opt_PanelType; +typedef struct Opt_PanelType { + enum Ark_Tag tag; + Ark_PanelType value; +} Opt_PanelType; typedef Ark_Int32 Ark_PanelMode; -typedef struct Opt_PanelMode { enum Ark_Tag tag; Ark_PanelMode value; } Opt_PanelMode; -typedef struct Literal_target_String_type_Opt_NavigationType { +typedef struct Opt_PanelMode { + enum Ark_Tag tag; + Ark_PanelMode value; +} Opt_PanelMode; +typedef struct Literal_String_target_Opt_NavigationType_type { Ark_String target; Opt_NavigationType type; -} Literal_target_String_type_Opt_NavigationType; -typedef struct Opt_Literal_target_String_type_Opt_NavigationType { +} Literal_String_target_Opt_NavigationType_type; +typedef struct Opt_Literal_String_target_Opt_NavigationType_type { enum Ark_Tag tag; - Literal_target_String_type_Opt_NavigationType value; -} Opt_Literal_target_String_type_Opt_NavigationType; + Literal_String_target_Opt_NavigationType_type value; +} Opt_Literal_String_target_Opt_NavigationType_type; typedef int32_t Ark_LayoutSafeAreaEdge; typedef struct Array_LayoutSafeAreaEdge { Ark_LayoutSafeAreaEdge* array; @@ -5664,7 +6350,7 @@ typedef struct Opt_Array_LayoutSafeAreaType { Array_LayoutSafeAreaType value; } Opt_Array_LayoutSafeAreaType; typedef struct Ark_NavigationToolbarOptions { - struct Opt_Union_Color_Number_String_Resource backgroundColor; + struct Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; } Ark_NavigationToolbarOptions; typedef struct Opt_NavigationToolbarOptions { @@ -5672,66 +6358,69 @@ typedef struct Opt_NavigationToolbarOptions { Ark_NavigationToolbarOptions value; } Opt_NavigationToolbarOptions; typedef struct Ark_ToolbarItem { - struct Union_String_Resource value; - struct Opt_Union_String_Resource icon; + struct Ark_ResourceStr value; + struct Opt_ResourceStr icon; Opt_CustomObject symbolIcon; struct Opt_Function action; Opt_ToolbarItemStatus status; - struct Opt_Union_String_Resource activeIcon; + struct Opt_ResourceStr activeIcon; Opt_CustomObject activeSymbolIcon; } Ark_ToolbarItem; typedef struct Opt_ToolbarItem { enum Ark_Tag tag; Ark_ToolbarItem value; } Opt_ToolbarItem; -typedef struct Union_Array_ToolbarItem_Union_Function_Undefined { +typedef struct Union_Array_ToolbarItem_Ark_CustomBuilder { Ark_Int32 selector; union { struct Array_ToolbarItem value0; - struct Union_Function_Undefined value1; + struct Ark_CustomBuilder value1; }; -} Union_Array_ToolbarItem_Union_Function_Undefined; -typedef struct Opt_Union_Array_ToolbarItem_Union_Function_Undefined { +} Union_Array_ToolbarItem_Ark_CustomBuilder; +typedef struct Opt_Union_Array_ToolbarItem_CustomBuilder { enum Ark_Tag tag; - Union_Array_ToolbarItem_Union_Function_Undefined value; -} Opt_Union_Array_ToolbarItem_Union_Function_Undefined; -typedef struct Union_CustomObject_Union_Function_Undefined { + Union_Array_ToolbarItem_Ark_CustomBuilder value; +} Opt_Union_Array_ToolbarItem_CustomBuilder; +typedef struct Union_CustomObject_Ark_CustomBuilder { Ark_Int32 selector; union { Ark_CustomObject value0; - struct Union_Function_Undefined value1; + struct Ark_CustomBuilder value1; }; -} Union_CustomObject_Union_Function_Undefined; -typedef struct Opt_Union_CustomObject_Union_Function_Undefined { +} Union_CustomObject_Ark_CustomBuilder; +typedef struct Opt_Union_CustomObject_CustomBuilder { enum Ark_Tag tag; - Union_CustomObject_Union_Function_Undefined value; -} Opt_Union_CustomObject_Union_Function_Undefined; -typedef struct Union_Array_NavigationMenuItem_Union_Function_Undefined { + Union_CustomObject_Ark_CustomBuilder value; +} Opt_Union_CustomObject_CustomBuilder; +typedef struct Union_Array_NavigationMenuItem_Ark_CustomBuilder { Ark_Int32 selector; union { struct Array_NavigationMenuItem value0; - struct Union_Function_Undefined value1; + struct Ark_CustomBuilder value1; }; -} Union_Array_NavigationMenuItem_Union_Function_Undefined; -typedef struct Opt_Union_Array_NavigationMenuItem_Union_Function_Undefined { +} Union_Array_NavigationMenuItem_Ark_CustomBuilder; +typedef struct Opt_Union_Array_NavigationMenuItem_CustomBuilder { enum Ark_Tag tag; - Union_Array_NavigationMenuItem_Union_Function_Undefined value; -} Opt_Union_Array_NavigationMenuItem_Union_Function_Undefined; + Union_Array_NavigationMenuItem_Ark_CustomBuilder value; +} Opt_Union_Array_NavigationMenuItem_CustomBuilder; typedef Ark_Int32 Ark_NavigationTitleMode; -typedef struct Opt_NavigationTitleMode { enum Ark_Tag tag; Ark_NavigationTitleMode value; } Opt_NavigationTitleMode; -typedef struct Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle { +typedef struct Opt_NavigationTitleMode { + enum Ark_Tag tag; + Ark_NavigationTitleMode value; +} Opt_NavigationTitleMode; +typedef struct Union_Ark_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle { Ark_Int32 selector; union { - struct Union_String_Resource value0; - struct Union_Function_Undefined value1; + struct Ark_ResourceStr value0; + struct Ark_CustomBuilder value1; struct Ark_NavigationCommonTitle value2; struct Ark_NavigationCustomTitle value3; }; -} Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle; -typedef struct Opt_Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle { +} Union_Ark_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle; +typedef struct Opt_Union_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle { enum Ark_Tag tag; - Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle value; -} Opt_Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle; + Union_Ark_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle value; +} Opt_Union_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle; typedef struct Union_String_CustomObject_Resource_CustomObject { Ark_Int32 selector; union { @@ -5746,16 +6435,25 @@ typedef struct Opt_Union_String_CustomObject_Resource_CustomObject { Union_String_CustomObject_Resource_CustomObject value; } Opt_Union_String_CustomObject_Resource_CustomObject; typedef Ark_Int32 Ark_NavigationMode; -typedef struct Opt_NavigationMode { enum Ark_Tag tag; Ark_NavigationMode value; } Opt_NavigationMode; +typedef struct Opt_NavigationMode { + enum Ark_Tag tag; + Ark_NavigationMode value; +} Opt_NavigationMode; typedef Ark_Int32 Ark_NavBarPosition; -typedef struct Opt_NavBarPosition { enum Ark_Tag tag; Ark_NavBarPosition value; } Opt_NavBarPosition; +typedef struct Opt_NavBarPosition { + enum Ark_Tag tag; + Ark_NavBarPosition value; +} Opt_NavBarPosition; typedef Ark_Materialized Ark_NavPathStack; typedef struct Opt_NavPathStack { enum Ark_Tag tag; Ark_NavPathStack value; } Opt_NavPathStack; typedef Ark_Int32 Ark_NavRouteMode; -typedef struct Opt_NavRouteMode { enum Ark_Tag tag; Ark_NavRouteMode value; } Opt_NavRouteMode; +typedef struct Opt_NavRouteMode { + enum Ark_Tag tag; + Ark_NavRouteMode value; +} Opt_NavRouteMode; typedef struct Ark_RouteInfo { Ark_String name; Opt_CustomObject param; @@ -5765,9 +6463,15 @@ typedef struct Opt_RouteInfo { Ark_RouteInfo value; } Opt_RouteInfo; typedef Ark_Int32 Ark_LayoutSafeAreaEdge; -typedef struct Opt_LayoutSafeAreaEdge { enum Ark_Tag tag; Ark_LayoutSafeAreaEdge value; } Opt_LayoutSafeAreaEdge; +typedef struct Opt_LayoutSafeAreaEdge { + enum Ark_Tag tag; + Ark_LayoutSafeAreaEdge value; +} Opt_LayoutSafeAreaEdge; typedef Ark_Int32 Ark_LayoutSafeAreaType; -typedef struct Opt_LayoutSafeAreaType { enum Ark_Tag tag; Ark_LayoutSafeAreaType value; } Opt_LayoutSafeAreaType; +typedef struct Opt_LayoutSafeAreaType { + enum Ark_Tag tag; + Ark_LayoutSafeAreaType value; +} Opt_LayoutSafeAreaType; typedef struct Ark_NavigationMenuItem { Ark_String value; Opt_String icon; @@ -5779,20 +6483,20 @@ typedef struct Opt_NavigationMenuItem { enum Ark_Tag tag; Ark_NavigationMenuItem value; } Opt_NavigationMenuItem; -typedef struct Union_Union_String_Resource_CustomObject_CustomObject { +typedef struct Union_Ark_ResourceStr_CustomObject_CustomObject { Ark_Int32 selector; union { - struct Union_String_Resource value0; + struct Ark_ResourceStr value0; Ark_CustomObject value1; Ark_CustomObject value2; }; -} Union_Union_String_Resource_CustomObject_CustomObject; -typedef struct Opt_Union_Union_String_Resource_CustomObject_CustomObject { +} Union_Ark_ResourceStr_CustomObject_CustomObject; +typedef struct Opt_Union_ResourceStr_CustomObject_CustomObject { enum Ark_Tag tag; - Union_Union_String_Resource_CustomObject_CustomObject value; -} Opt_Union_Union_String_Resource_CustomObject_CustomObject; + Union_Ark_ResourceStr_CustomObject_CustomObject value; +} Opt_Union_ResourceStr_CustomObject_CustomObject; typedef struct Ark_NavigationTitleOptions { - struct Opt_Union_Color_Number_String_Resource backgroundColor; + struct Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; Opt_BarStyle barStyle; Opt_CustomObject paddingStart; @@ -5802,52 +6506,55 @@ typedef struct Opt_NavigationTitleOptions { enum Ark_Tag tag; Ark_NavigationTitleOptions value; } Opt_NavigationTitleOptions; -typedef struct Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle { +typedef struct Union_String_Ark_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle { Ark_Int32 selector; union { Ark_String value0; - struct Union_Function_Undefined value1; + struct Ark_CustomBuilder value1; struct Ark_NavDestinationCommonTitle value2; struct Ark_NavDestinationCustomTitle value3; }; -} Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle; -typedef struct Opt_Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle { +} Union_String_Ark_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle; +typedef struct Opt_Union_String_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle { enum Ark_Tag tag; - Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle value; -} Opt_Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle; + Union_String_Ark_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle value; +} Opt_Union_String_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle; typedef struct Ark_MenuItemGroupOptions { - struct Opt_Union_Union_String_Resource_Union_Function_Undefined header; - struct Opt_Union_Union_String_Resource_Union_Function_Undefined footer; + struct Opt_Union_ResourceStr_Ark_CustomBuilder header; + struct Opt_Union_ResourceStr_Ark_CustomBuilder footer; } Ark_MenuItemGroupOptions; typedef struct Opt_MenuItemGroupOptions { enum Ark_Tag tag; Ark_MenuItemGroupOptions value; } Opt_MenuItemGroupOptions; -typedef struct Union_Boolean_Union_String_Resource_CustomObject { +typedef struct Union_Boolean_Ark_ResourceStr_CustomObject { Ark_Int32 selector; union { Ark_Boolean value0; - struct Union_String_Resource value1; + struct Ark_ResourceStr value1; Ark_CustomObject value2; }; -} Union_Boolean_Union_String_Resource_CustomObject; -typedef struct Opt_Union_Boolean_Union_String_Resource_CustomObject { +} Union_Boolean_Ark_ResourceStr_CustomObject; +typedef struct Opt_Union_Boolean_ResourceStr_CustomObject { enum Ark_Tag tag; - Union_Boolean_Union_String_Resource_CustomObject value; -} Opt_Union_Boolean_Union_String_Resource_CustomObject; -typedef struct Union_MenuItemOptions_Union_Function_Undefined { + Union_Boolean_Ark_ResourceStr_CustomObject value; +} Opt_Union_Boolean_ResourceStr_CustomObject; +typedef struct Union_MenuItemOptions_Ark_CustomBuilder { Ark_Int32 selector; union { struct Ark_MenuItemOptions value0; - struct Union_Function_Undefined value1; + struct Ark_CustomBuilder value1; }; -} Union_MenuItemOptions_Union_Function_Undefined; -typedef struct Opt_Union_MenuItemOptions_Union_Function_Undefined { +} Union_MenuItemOptions_Ark_CustomBuilder; +typedef struct Opt_Union_MenuItemOptions_CustomBuilder { enum Ark_Tag tag; - Union_MenuItemOptions_Union_Function_Undefined value; -} Opt_Union_MenuItemOptions_Union_Function_Undefined; + Union_MenuItemOptions_Ark_CustomBuilder value; +} Opt_Union_MenuItemOptions_CustomBuilder; typedef Ark_Int32 Ark_SubMenuExpandingMode; -typedef struct Opt_SubMenuExpandingMode { enum Ark_Tag tag; Ark_SubMenuExpandingMode value; } Opt_SubMenuExpandingMode; +typedef struct Opt_SubMenuExpandingMode { + enum Ark_Tag tag; + Ark_SubMenuExpandingMode value; +} Opt_SubMenuExpandingMode; typedef struct Union_DividerStyleOptions_Undefined { Ark_Int32 selector; union { @@ -5859,32 +6566,35 @@ typedef struct Opt_Union_DividerStyleOptions_Undefined { enum Ark_Tag tag; Union_DividerStyleOptions_Undefined value; } Opt_Union_DividerStyleOptions_Undefined; -typedef struct Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource { +typedef struct Union_CustomObject_Ark_ResourceStr_CustomObject_ASTCResource { Ark_Int32 selector; union { Ark_CustomObject value0; - struct Union_String_Resource value1; + struct Ark_ResourceStr value1; Ark_CustomObject value2; struct Ark_ASTCResource value3; }; -} Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource; -typedef struct Opt_Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource { +} Union_CustomObject_Ark_ResourceStr_CustomObject_ASTCResource; +typedef struct Opt_Union_CustomObject_ResourceStr_CustomObject_ASTCResource { enum Ark_Tag tag; - Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource value; -} Opt_Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource; + Union_CustomObject_Ark_ResourceStr_CustomObject_ASTCResource value; +} Opt_Union_CustomObject_ResourceStr_CustomObject_ASTCResource; typedef Ark_Int32 Ark_MarqueeUpdateStrategy; -typedef struct Opt_MarqueeUpdateStrategy { enum Ark_Tag tag; Ark_MarqueeUpdateStrategy value; } Opt_MarqueeUpdateStrategy; -typedef struct Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String { +typedef struct Opt_MarqueeUpdateStrategy { + enum Ark_Tag tag; + Ark_MarqueeUpdateStrategy value; +} Opt_MarqueeUpdateStrategy; +typedef struct Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src { Ark_Boolean start; Opt_Number step; Opt_Number loop; Opt_Boolean fromStart; Ark_String src; -} Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String; -typedef struct Opt_Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String { +} Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src; +typedef struct Opt_Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src { enum Ark_Tag tag; - Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String value; -} Opt_Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String; + Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src value; +} Opt_Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src; typedef struct Ark_LocationButtonOptions { Opt_LocationIconStyle icon; Opt_LocationDescription text; @@ -5907,21 +6617,24 @@ typedef struct Opt_Union_Position_Edges_LocalizedEdges { Union_Position_Edges_LocalizedEdges value; } Opt_Union_Position_Edges_LocalizedEdges; typedef Ark_Int32 Ark_SecurityComponentLayoutDirection; -typedef struct Opt_SecurityComponentLayoutDirection { enum Ark_Tag tag; Ark_SecurityComponentLayoutDirection value; } Opt_SecurityComponentLayoutDirection; -typedef struct Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Ark_Undefined { +typedef struct Opt_SecurityComponentLayoutDirection { + enum Ark_Tag tag; + Ark_SecurityComponentLayoutDirection value; +} Opt_SecurityComponentLayoutDirection; +typedef struct Union_Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined { Ark_Int32 selector; union { - struct Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length value0; + struct Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin value0; struct Ark_Undefined value1; }; -} Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Ark_Undefined; -typedef struct Opt_Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Undefined { +} Union_Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined; +typedef struct Opt_Union_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined { enum Ark_Tag tag; - Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Ark_Undefined value; -} Opt_Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Undefined; + Union_Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined value; +} Opt_Union_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined; typedef struct Ark_ListItemGroupOptions { - struct Opt_Union_Function_Undefined header; - struct Opt_Union_Function_Undefined footer; + struct Opt_CustomBuilder header; + struct Opt_CustomBuilder footer; struct Opt_Union_Number_String space; Opt_ListItemGroupStyle style; } Ark_ListItemGroupOptions; @@ -5930,8 +6643,8 @@ typedef struct Opt_ListItemGroupOptions { Ark_ListItemGroupOptions value; } Opt_ListItemGroupOptions; typedef struct Ark_SwipeActionOptions { - struct Opt_Union_Union_Function_Undefined_SwipeActionItem start; - struct Opt_Union_Union_Function_Undefined_SwipeActionItem end; + struct Opt_Union_CustomBuilder_SwipeActionItem start; + struct Opt_Union_CustomBuilder_SwipeActionItem end; Opt_SwipeEdgeEffect edgeEffect; struct Opt_Function onOffsetChange; } Ark_SwipeActionOptions; @@ -5951,7 +6664,10 @@ typedef struct Opt_Union_Boolean_EditMode { Union_Boolean_EditMode value; } Opt_Union_Boolean_EditMode; typedef Ark_Int32 Ark_Sticky; -typedef struct Opt_Sticky { enum Ark_Tag tag; Ark_Sticky value; } Opt_Sticky; +typedef struct Opt_Sticky { + enum Ark_Tag tag; + Ark_Sticky value; +} Opt_Sticky; typedef struct Ark_ListItemOptions { Opt_ListItemStyle style; } Ark_ListItemOptions; @@ -5965,7 +6681,10 @@ typedef struct Opt_ChildrenMainSize { Ark_ChildrenMainSize value; } Opt_ChildrenMainSize; typedef Ark_Int32 Ark_StickyStyle; -typedef struct Opt_StickyStyle { enum Ark_Tag tag; Ark_StickyStyle value; } Opt_StickyStyle; +typedef struct Opt_StickyStyle { + enum Ark_Tag tag; + Ark_StickyStyle value; +} Opt_StickyStyle; typedef struct Ark_ChainAnimationOptions { Ark_Length minSpace; Ark_Length maxSpace; @@ -5980,27 +6699,30 @@ typedef struct Opt_ChainAnimationOptions { Ark_ChainAnimationOptions value; } Opt_ChainAnimationOptions; typedef Ark_Int32 Ark_ListItemAlign; -typedef struct Opt_ListItemAlign { enum Ark_Tag tag; Ark_ListItemAlign value; } Opt_ListItemAlign; -typedef struct Union_Number_Literal_minLength_Length_maxLength_Length { +typedef struct Opt_ListItemAlign { + enum Ark_Tag tag; + Ark_ListItemAlign value; +} Opt_ListItemAlign; +typedef struct Union_Number_Ark_LengthConstrain { Ark_Int32 selector; union { Ark_Number value0; - struct Literal_minLength_Length_maxLength_Length value1; + struct Ark_LengthConstrain value1; }; -} Union_Number_Literal_minLength_Length_maxLength_Length; -typedef struct Opt_Union_Number_Literal_minLength_Length_maxLength_Length { +} Union_Number_Ark_LengthConstrain; +typedef struct Opt_Union_Number_LengthConstrain { enum Ark_Tag tag; - Union_Number_Literal_minLength_Length_maxLength_Length value; -} Opt_Union_Number_Literal_minLength_Length_maxLength_Length; -typedef struct Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller { + Union_Number_Ark_LengthConstrain value; +} Opt_Union_Number_LengthConstrain; +typedef struct Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller { Opt_Number initialIndex; struct Opt_Union_Number_String space; Opt_Scroller scroller; -} Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller; -typedef struct Opt_Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller { +} Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller; +typedef struct Opt_Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller { enum Ark_Tag tag; - Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller value; -} Opt_Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller; + Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller value; +} Opt_Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller; typedef struct Union_ColorFilter_CustomObject { Ark_Int32 selector; union { @@ -6012,17 +6734,17 @@ typedef struct Opt_Union_ColorFilter_CustomObject { enum Ark_Tag tag; Union_ColorFilter_CustomObject value; } Opt_Union_ColorFilter_CustomObject; -typedef struct Union_Union_String_Resource_CustomObject { +typedef struct Union_Ark_ResourceStr_CustomObject { Ark_Int32 selector; union { - struct Union_String_Resource value0; + struct Ark_ResourceStr value0; Ark_CustomObject value1; }; -} Union_Union_String_Resource_CustomObject; -typedef struct Opt_Union_Union_String_Resource_CustomObject { +} Union_Ark_ResourceStr_CustomObject; +typedef struct Opt_Union_ResourceStr_CustomObject { enum Ark_Tag tag; - Union_Union_String_Resource_CustomObject value; -} Opt_Union_Union_String_Resource_CustomObject; + Union_Ark_ResourceStr_CustomObject value; +} Opt_Union_ResourceStr_CustomObject; typedef struct Ark_ImageFrameInfo { struct Union_String_Resource_CustomObject src; struct Opt_Union_Number_String width; @@ -6051,46 +6773,71 @@ typedef struct Opt_ImageAnalyzerConfig { Ark_ImageAnalyzerConfig value; } Opt_ImageAnalyzerConfig; typedef Ark_Int32 Ark_CopyOptions; -typedef struct Opt_CopyOptions { enum Ark_Tag tag; Ark_CopyOptions value; } Opt_CopyOptions; -typedef struct Literal_width_Number_height_Number { +typedef struct Opt_CopyOptions { + enum Ark_Tag tag; + Ark_CopyOptions value; +} Opt_CopyOptions; +typedef struct Literal_Number_width_height { Ark_Number width; Ark_Number height; -} Literal_width_Number_height_Number; -typedef struct Opt_Literal_width_Number_height_Number { +} Literal_Number_width_height; +typedef struct Opt_Literal_Number_width_height { enum Ark_Tag tag; - Literal_width_Number_height_Number value; -} Opt_Literal_width_Number_height_Number; + Literal_Number_width_height value; +} Opt_Literal_Number_width_height; typedef Ark_Int32 Ark_ImageInterpolation; -typedef struct Opt_ImageInterpolation { enum Ark_Tag tag; Ark_ImageInterpolation value; } Opt_ImageInterpolation; +typedef struct Opt_ImageInterpolation { + enum Ark_Tag tag; + Ark_ImageInterpolation value; +} Opt_ImageInterpolation; typedef Ark_Int32 Ark_DynamicRangeMode; -typedef struct Opt_DynamicRangeMode { enum Ark_Tag tag; Ark_DynamicRangeMode value; } Opt_DynamicRangeMode; +typedef struct Opt_DynamicRangeMode { + enum Ark_Tag tag; + Ark_DynamicRangeMode value; +} Opt_DynamicRangeMode; typedef Ark_Int32 Ark_ImageRenderMode; -typedef struct Opt_ImageRenderMode { enum Ark_Tag tag; Ark_ImageRenderMode value; } Opt_ImageRenderMode; -typedef struct Union_CustomObject_Union_String_Resource_CustomObject { +typedef struct Opt_ImageRenderMode { + enum Ark_Tag tag; + Ark_ImageRenderMode value; +} Opt_ImageRenderMode; +typedef struct Union_CustomObject_Ark_ResourceStr_CustomObject { Ark_Int32 selector; union { Ark_CustomObject value0; - struct Union_String_Resource value1; + struct Ark_ResourceStr value1; Ark_CustomObject value2; }; -} Union_CustomObject_Union_String_Resource_CustomObject; -typedef struct Opt_Union_CustomObject_Union_String_Resource_CustomObject { +} Union_CustomObject_Ark_ResourceStr_CustomObject; +typedef struct Opt_Union_CustomObject_ResourceStr_CustomObject { enum Ark_Tag tag; - Union_CustomObject_Union_String_Resource_CustomObject value; -} Opt_Union_CustomObject_Union_String_Resource_CustomObject; -typedef struct Union_CustomObject_Union_String_Resource_CustomObject_ImageContent { + Union_CustomObject_Ark_ResourceStr_CustomObject value; +} Opt_Union_CustomObject_ResourceStr_CustomObject; +typedef struct Union_CustomObject_Ark_ResourceStr_CustomObject_ImageContent { Ark_Int32 selector; union { Ark_CustomObject value0; - struct Union_String_Resource value1; + struct Ark_ResourceStr value1; Ark_CustomObject value2; Ark_ImageContent value3; }; -} Union_CustomObject_Union_String_Resource_CustomObject_ImageContent; -typedef struct Opt_Union_CustomObject_Union_String_Resource_CustomObject_ImageContent { +} Union_CustomObject_Ark_ResourceStr_CustomObject_ImageContent; +typedef struct Opt_Union_CustomObject_ResourceStr_CustomObject_ImageContent { enum Ark_Tag tag; - Union_CustomObject_Union_String_Resource_CustomObject_ImageContent value; -} Opt_Union_CustomObject_Union_String_Resource_CustomObject_ImageContent; + Union_CustomObject_Ark_ResourceStr_CustomObject_ImageContent value; +} Opt_Union_CustomObject_ResourceStr_CustomObject_ImageContent; +typedef struct Union_Color_Number_String_Resource { + Ark_Int32 selector; + union { + Ark_Color value0; + Ark_Number value1; + Ark_String value2; + struct Ark_Resource value3; + }; +} Union_Color_Number_String_Resource; +typedef struct Opt_Union_Color_Number_String_Resource { + enum Ark_Tag tag; + Union_Color_Number_String_Resource value; +} Opt_Union_Color_Number_String_Resource; typedef struct Ark_GridRowOptions { struct Opt_Union_Length_GutterOption gutter; struct Opt_Union_Number_GridRowColumnOption columns; @@ -6128,7 +6875,10 @@ typedef struct Opt_GridItemOptions { Ark_GridItemOptions value; } Opt_GridItemOptions; typedef Ark_Int32 Ark_GridDirection; -typedef struct Opt_GridDirection { enum Ark_Tag tag; Ark_GridDirection value; } Opt_GridDirection; +typedef struct Opt_GridDirection { + enum Ark_Tag tag; + Ark_GridDirection value; +} Opt_GridDirection; typedef struct Ark_GridLayoutOptions { struct Tuple_Number_Number regularSize; struct Opt_Array_Number irregularIndexes; @@ -6155,7 +6905,7 @@ typedef struct Opt_EdgeEffectOptions { Ark_EdgeEffectOptions value; } Opt_EdgeEffectOptions; typedef struct Ark_GaugeIndicatorOptions { - struct Opt_Union_String_Resource icon; + struct Opt_ResourceStr icon; Opt_Length space; } Ark_GaugeIndicatorOptions; typedef struct Opt_GaugeIndicatorOptions { @@ -6171,35 +6921,35 @@ typedef struct Opt_GaugeShadowOptions { enum Ark_Tag tag; Ark_GaugeShadowOptions value; } Opt_GaugeShadowOptions; -typedef struct Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number { - struct Union_Union_Color_Number_String_Resource_LinearGradient value0; +typedef struct Tuple_Union_Ark_ResourceColor_LinearGradient_Number { + struct Union_Ark_ResourceColor_LinearGradient value0; Ark_Number value1; -} Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number; -typedef struct Opt_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number { +} Tuple_Union_Ark_ResourceColor_LinearGradient_Number; +typedef struct Opt_Tuple_Union_ResourceColor_LinearGradient_Number { enum Ark_Tag tag; - Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number value; -} Opt_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number; -typedef struct Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number { + Tuple_Union_Ark_ResourceColor_LinearGradient_Number value; +} Opt_Tuple_Union_ResourceColor_LinearGradient_Number; +typedef struct Union_Ark_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number { Ark_Int32 selector; union { - struct Union_Color_Number_String_Resource value0; + struct Ark_ResourceColor value0; struct Ark_LinearGradient value1; - struct Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number value2; + struct Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number value2; }; -} Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number; -typedef struct Opt_Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number { +} Union_Ark_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number; +typedef struct Opt_Union_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number { enum Ark_Tag tag; - Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number value; -} Opt_Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number; -typedef struct Literal_value_Number_min_Opt_Number_max_Opt_Number { + Union_Ark_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number value; +} Opt_Union_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number; +typedef struct Literal_Number_value_Opt_Number_min_max { Ark_Number value; Opt_Number min; Opt_Number max; -} Literal_value_Number_min_Opt_Number_max_Opt_Number; -typedef struct Opt_Literal_value_Number_min_Opt_Number_max_Opt_Number { +} Literal_Number_value_Opt_Number_min_max; +typedef struct Opt_Literal_Number_value_Opt_Number_min_max { enum Ark_Tag tag; - Literal_value_Number_min_Opt_Number_max_Opt_Number value; -} Opt_Literal_value_Number_min_Opt_Number_max_Opt_Number; + Literal_Number_value_Opt_Number_min_max value; +} Opt_Literal_Number_value_Opt_Number_min_max; typedef struct Ark_FormLinkOptions { Ark_String action; Opt_String moduleName; @@ -6228,13 +6978,13 @@ typedef struct Opt_FormInfo { enum Ark_Tag tag; Ark_FormInfo value; } Opt_FormInfo; -typedef struct Literal_upperItems_Opt_Array_String { +typedef struct Literal_Opt_Array_String_upperItems { struct Opt_Array_String upperItems; -} Literal_upperItems_Opt_Array_String; -typedef struct Opt_Literal_upperItems_Opt_Array_String { +} Literal_Opt_Array_String_upperItems; +typedef struct Opt_Literal_Opt_Array_String_upperItems { enum Ark_Tag tag; - Literal_upperItems_Opt_Array_String value; -} Opt_Literal_upperItems_Opt_Array_String; + Literal_Opt_Array_String_upperItems value; +} Opt_Literal_Opt_Array_String_upperItems; typedef struct Ark_FlexOptions { Opt_FlexDirection direction; Opt_FlexWrap wrap; @@ -6248,7 +6998,10 @@ typedef struct Opt_FlexOptions { Ark_FlexOptions value; } Opt_FlexOptions; typedef Ark_Int32 Ark_EmbeddedType; -typedef struct Opt_EmbeddedType { enum Ark_Tag tag; Ark_EmbeddedType value; } Opt_EmbeddedType; +typedef struct Opt_EmbeddedType { + enum Ark_Tag tag; + Ark_EmbeddedType value; +} Opt_EmbeddedType; typedef struct Ark_DatePickerOptions { Opt_CustomObject start; Opt_CustomObject end; @@ -6262,7 +7015,7 @@ typedef struct Ark_DataPanelShadowOptions { struct Opt_Union_Number_Resource radius; struct Opt_Union_Number_Resource offsetX; struct Opt_Union_Number_Resource offsetY; - struct Opt_Array_Union_Union_Color_Number_String_Resource_LinearGradient colors; + struct Opt_Array_Union_ResourceColor_LinearGradient colors; } Ark_DataPanelShadowOptions; typedef struct Opt_DataPanelShadowOptions { enum Ark_Tag tag; @@ -6278,8 +7031,8 @@ typedef struct Opt_DataPanelOptions { Ark_DataPanelOptions value; } Opt_DataPanelOptions; typedef struct Ark_TextBackgroundStyle { - struct Opt_Union_Color_Number_String_Resource color; - struct Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length radius; + struct Opt_ResourceColor color; + struct Opt_Union_Length_BorderRadiuses radius; } Ark_TextBackgroundStyle; typedef struct Opt_TextBackgroundStyle { enum Ark_Tag tag; @@ -6322,9 +7075,15 @@ typedef struct Opt_CircleOptions { Ark_CircleOptions value; } Opt_CircleOptions; typedef Ark_Int32 Ark_LineJoinStyle; -typedef struct Opt_LineJoinStyle { enum Ark_Tag tag; Ark_LineJoinStyle value; } Opt_LineJoinStyle; +typedef struct Opt_LineJoinStyle { + enum Ark_Tag tag; + Ark_LineJoinStyle value; +} Opt_LineJoinStyle; typedef Ark_Int32 Ark_LineCapStyle; -typedef struct Opt_LineCapStyle { enum Ark_Tag tag; Ark_LineCapStyle value; } Opt_LineCapStyle; +typedef struct Opt_LineCapStyle { + enum Ark_Tag tag; + Ark_LineCapStyle value; +} Opt_LineCapStyle; typedef struct Ark_CheckboxGroupOptions { Opt_String group; } Ark_CheckboxGroupOptions; @@ -6333,7 +7092,7 @@ typedef struct Opt_CheckboxGroupOptions { Ark_CheckboxGroupOptions value; } Opt_CheckboxGroupOptions; typedef struct Ark_MarkStyle { - struct Opt_Union_Color_Number_String_Resource strokeColor; + struct Opt_ResourceColor strokeColor; Opt_Length size; Opt_Length strokeWidth; } Ark_MarkStyle; @@ -6342,18 +7101,24 @@ typedef struct Opt_MarkStyle { Ark_MarkStyle value; } Opt_MarkStyle; typedef Ark_Int32 Ark_CheckBoxShape; -typedef struct Opt_CheckBoxShape { enum Ark_Tag tag; Ark_CheckBoxShape value; } Opt_CheckBoxShape; +typedef struct Opt_CheckBoxShape { + enum Ark_Tag tag; + Ark_CheckBoxShape value; +} Opt_CheckBoxShape; typedef struct Ark_CheckboxOptions { Opt_String name; Opt_String group; - struct Opt_Union_Function_Undefined indicatorBuilder; + struct Opt_CustomBuilder indicatorBuilder; } Ark_CheckboxOptions; typedef struct Opt_CheckboxOptions { enum Ark_Tag tag; Ark_CheckboxOptions value; } Opt_CheckboxOptions; typedef Ark_Int32 Ark_ImageAnalyzerType; -typedef struct Opt_ImageAnalyzerType { enum Ark_Tag tag; Ark_ImageAnalyzerType value; } Opt_ImageAnalyzerType; +typedef struct Opt_ImageAnalyzerType { + enum Ark_Tag tag; + Ark_ImageAnalyzerType value; +} Opt_ImageAnalyzerType; typedef struct Union_CanvasRenderingContext2D_DrawingRenderingContext { Ark_Int32 selector; union { @@ -6366,23 +7131,26 @@ typedef struct Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext { Union_CanvasRenderingContext2D_DrawingRenderingContext value; } Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext; typedef struct Ark_PickerTextStyle { - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; struct Opt_Font font; } Ark_PickerTextStyle; typedef struct Opt_PickerTextStyle { enum Ark_Tag tag; Ark_PickerTextStyle value; } Opt_PickerTextStyle; -typedef struct Literal_dx_Length_dy_Length { +typedef struct Ark_Offset { Ark_Length dx; Ark_Length dy; -} Literal_dx_Length_dy_Length; -typedef struct Opt_Literal_dx_Length_dy_Length { +} Ark_Offset; +typedef struct Opt_Offset { enum Ark_Tag tag; - Literal_dx_Length_dy_Length value; -} Opt_Literal_dx_Length_dy_Length; + Ark_Offset value; +} Opt_Offset; typedef Ark_Int32 Ark_CalendarAlign; -typedef struct Opt_CalendarAlign { enum Ark_Tag tag; Ark_CalendarAlign value; } Opt_CalendarAlign; +typedef struct Opt_CalendarAlign { + enum Ark_Tag tag; + Ark_CalendarAlign value; +} Opt_CalendarAlign; typedef struct Ark_CalendarOptions { struct Opt_Union_Number_Resource hintRadius; Opt_CustomObject selected; @@ -6392,8 +7160,8 @@ typedef struct Opt_CalendarOptions { Ark_CalendarOptions value; } Opt_CalendarOptions; typedef struct Ark_WorkStateStyle { - struct Opt_Union_Color_Number_String_Resource workDayMarkColor; - struct Opt_Union_Color_Number_String_Resource offDayMarkColor; + struct Opt_ResourceColor workDayMarkColor; + struct Opt_ResourceColor offDayMarkColor; Opt_Number workDayMarkSize; Opt_Number offDayMarkSize; Opt_Number workStateWidth; @@ -6405,9 +7173,9 @@ typedef struct Opt_WorkStateStyle { Ark_WorkStateStyle value; } Opt_WorkStateStyle; typedef struct Ark_WeekStyle { - struct Opt_Union_Color_Number_String_Resource weekColor; - struct Opt_Union_Color_Number_String_Resource weekendDayColor; - struct Opt_Union_Color_Number_String_Resource weekendLunarColor; + struct Opt_ResourceColor weekColor; + struct Opt_ResourceColor weekendDayColor; + struct Opt_ResourceColor weekendLunarColor; Opt_Number weekFontSize; Opt_Number weekHeight; Opt_Number weekWidth; @@ -6418,9 +7186,9 @@ typedef struct Opt_WeekStyle { Ark_WeekStyle value; } Opt_WeekStyle; typedef struct Ark_TodayStyle { - struct Opt_Union_Color_Number_String_Resource focusedDayColor; - struct Opt_Union_Color_Number_String_Resource focusedLunarColor; - struct Opt_Union_Color_Number_String_Resource focusedAreaBackgroundColor; + struct Opt_ResourceColor focusedDayColor; + struct Opt_ResourceColor focusedLunarColor; + struct Opt_ResourceColor focusedAreaBackgroundColor; Opt_Number focusedAreaRadius; } Ark_TodayStyle; typedef struct Opt_TodayStyle { @@ -6428,19 +7196,19 @@ typedef struct Opt_TodayStyle { Ark_TodayStyle value; } Opt_TodayStyle; typedef struct Ark_NonCurrentDayStyle { - struct Opt_Union_Color_Number_String_Resource nonCurrentMonthDayColor; - struct Opt_Union_Color_Number_String_Resource nonCurrentMonthLunarColor; - struct Opt_Union_Color_Number_String_Resource nonCurrentMonthWorkDayMarkColor; - struct Opt_Union_Color_Number_String_Resource nonCurrentMonthOffDayMarkColor; + struct Opt_ResourceColor nonCurrentMonthDayColor; + struct Opt_ResourceColor nonCurrentMonthLunarColor; + struct Opt_ResourceColor nonCurrentMonthWorkDayMarkColor; + struct Opt_ResourceColor nonCurrentMonthOffDayMarkColor; } Ark_NonCurrentDayStyle; typedef struct Opt_NonCurrentDayStyle { enum Ark_Tag tag; Ark_NonCurrentDayStyle value; } Opt_NonCurrentDayStyle; typedef struct Ark_CurrentDayStyle { - struct Opt_Union_Color_Number_String_Resource dayColor; - struct Opt_Union_Color_Number_String_Resource lunarColor; - struct Opt_Union_Color_Number_String_Resource markLunarColor; + struct Opt_ResourceColor dayColor; + struct Opt_ResourceColor lunarColor; + struct Opt_ResourceColor markLunarColor; Opt_Number dayFontSize; Opt_Number lunarDayFontSize; Opt_Number dayHeight; @@ -6483,17 +7251,17 @@ typedef struct Opt_CalendarDay { enum Ark_Tag tag; Ark_CalendarDay value; } Opt_CalendarDay; -typedef struct Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController { - struct Literal_year_Number_month_Number_day_Number date; +typedef struct Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller { + struct Literal_Number_year_month_day date; struct Ark_MonthData currentData; struct Ark_MonthData preData; struct Ark_MonthData nextData; Opt_CalendarController controller; -} Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController; -typedef struct Opt_Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController { +} Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller; +typedef struct Opt_Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller { enum Ark_Tag tag; - Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController value; -} Opt_Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController; + Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller value; +} Opt_Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller; typedef struct Ark_ButtonOptions { Opt_ButtonType type; Opt_Boolean stateEffect; @@ -6537,26 +7305,35 @@ typedef struct Opt_Union_SpringMotion_FrictionMotion_ScrollMotion { Union_SpringMotion_FrictionMotion_ScrollMotion value; } Opt_Union_SpringMotion_FrictionMotion_ScrollMotion; typedef Ark_Int32 Ark_FillMode; -typedef struct Opt_FillMode { enum Ark_Tag tag; Ark_FillMode value; } Opt_FillMode; +typedef struct Opt_FillMode { + enum Ark_Tag tag; + Ark_FillMode value; +} Opt_FillMode; typedef Ark_Int32 Ark_AnimationStatus; -typedef struct Opt_AnimationStatus { enum Ark_Tag tag; Ark_AnimationStatus value; } Opt_AnimationStatus; +typedef struct Opt_AnimationStatus { + enum Ark_Tag tag; + Ark_AnimationStatus value; +} Opt_AnimationStatus; typedef Ark_Int32 Ark_IndexerAlign; -typedef struct Opt_IndexerAlign { enum Ark_Tag tag; Ark_IndexerAlign value; } Opt_IndexerAlign; -typedef struct Literal_arrayValue_Array_String_selected_Number { +typedef struct Opt_IndexerAlign { + enum Ark_Tag tag; + Ark_IndexerAlign value; +} Opt_IndexerAlign; +typedef struct Literal_Array_String_arrayValue_Number_selected { struct Array_String arrayValue; Ark_Number selected; -} Literal_arrayValue_Array_String_selected_Number; -typedef struct Opt_Literal_arrayValue_Array_String_selected_Number { +} Literal_Array_String_arrayValue_Number_selected; +typedef struct Opt_Literal_Array_String_arrayValue_Number_selected { enum Ark_Tag tag; - Literal_arrayValue_Array_String_selected_Number value; -} Opt_Literal_arrayValue_Array_String_selected_Number; -typedef struct Literal_want_CustomObject { + Literal_Array_String_arrayValue_Number_selected value; +} Opt_Literal_Array_String_arrayValue_Number_selected; +typedef struct Literal_CustomObject_want { Ark_CustomObject want; -} Literal_want_CustomObject; -typedef struct Opt_Literal_want_CustomObject { +} Literal_CustomObject_want; +typedef struct Opt_Literal_CustomObject_want { enum Ark_Tag tag; - Literal_want_CustomObject value; -} Opt_Literal_want_CustomObject; + Literal_CustomObject_want value; +} Opt_Literal_CustomObject_want; typedef struct Ark_BackgroundBrightnessOptions { Ark_Number rate; Ark_Number lightUpDegree; @@ -6571,9 +7348,15 @@ typedef struct Opt_GestureModifier { Ark_GestureModifier value; } Opt_GestureModifier; typedef Ark_Int32 Ark_RenderFit; -typedef struct Opt_RenderFit { enum Ark_Tag tag; Ark_RenderFit value; } Opt_RenderFit; +typedef struct Opt_RenderFit { + enum Ark_Tag tag; + Ark_RenderFit value; +} Opt_RenderFit; typedef Ark_Int32 Ark_ObscuredReasons; -typedef struct Opt_ObscuredReasons { enum Ark_Tag tag; Ark_ObscuredReasons value; } Opt_ObscuredReasons; +typedef struct Opt_ObscuredReasons { + enum Ark_Tag tag; + Ark_ObscuredReasons value; +} Opt_ObscuredReasons; typedef int32_t Ark_ObscuredReasons; typedef struct Array_ObscuredReasons { Ark_ObscuredReasons* array; @@ -6585,7 +7368,10 @@ typedef struct Opt_Array_ObscuredReasons { Array_ObscuredReasons value; } Opt_Array_ObscuredReasons; typedef Ark_Int32 Ark_ModifierKey; -typedef struct Opt_ModifierKey { enum Ark_Tag tag; Ark_ModifierKey value; } Opt_ModifierKey; +typedef struct Opt_ModifierKey { + enum Ark_Tag tag; + Ark_ModifierKey value; +} Opt_ModifierKey; typedef int32_t Ark_ModifierKey; typedef struct Array_ModifierKey { Ark_ModifierKey* array; @@ -6630,27 +7416,27 @@ typedef struct Opt_StateStyles { Ark_StateStyles value; } Opt_StateStyles; typedef struct Ark_SheetOptions { - struct Opt_Union_Color_Number_String_Resource backgroundColor; + struct Opt_ResourceColor backgroundColor; struct Opt_Function onAppear; struct Opt_Function onDisappear; struct Opt_Function onWillAppear; struct Opt_Function onWillDisappear; struct Opt_Union_SheetSize_Length height; Opt_Boolean dragBar; - struct Opt_Union_Color_Number_String_Resource maskColor; + struct Opt_ResourceColor maskColor; struct Opt_Tuple_Union_SheetSize_Length_Opt_Union_SheetSize_Length_Opt_Union_SheetSize_Length detents; Opt_BlurStyle blurStyle; struct Opt_Union_Boolean_Resource showClose; Opt_SheetType preferType; - struct Opt_Union_SheetTitleOptions_Union_Function_Undefined title; + struct Opt_Union_SheetTitleOptions_CustomBuilder title; struct Opt_Function shouldDismiss; struct Opt_Function onWillDismiss; struct Opt_Function onWillSpringBackWhenDismiss; Opt_Boolean enableOutsideInteractive; Opt_Length width; - struct Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths borderWidth; - struct Opt_Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors borderColor; - struct Opt_Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle borderStyle; + struct Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths borderWidth; + struct Opt_Union_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors borderColor; + struct Opt_Union_BorderStyle_EdgeStyles borderStyle; struct Opt_Union_ShadowOptions_ShadowStyle shadow; struct Opt_Function onHeightDidChange; Opt_SheetMode mode; @@ -6665,7 +7451,7 @@ typedef struct Opt_SheetOptions { Ark_SheetOptions value; } Opt_SheetOptions; typedef struct Ark_ContentCoverOptions { - struct Opt_Union_Color_Number_String_Resource backgroundColor; + struct Opt_ResourceColor backgroundColor; struct Opt_Function onAppear; struct Opt_Function onDisappear; struct Opt_Function onWillAppear; @@ -6678,33 +7464,33 @@ typedef struct Opt_ContentCoverOptions { enum Ark_Tag tag; Ark_ContentCoverOptions value; } Opt_ContentCoverOptions; -typedef struct Union_Array_MenuElement_Union_Function_Undefined { +typedef struct Union_Array_MenuElement_Ark_CustomBuilder { Ark_Int32 selector; union { struct Array_MenuElement value0; - struct Union_Function_Undefined value1; + struct Ark_CustomBuilder value1; }; -} Union_Array_MenuElement_Union_Function_Undefined; -typedef struct Opt_Union_Array_MenuElement_Union_Function_Undefined { +} Union_Array_MenuElement_Ark_CustomBuilder; +typedef struct Opt_Union_Array_MenuElement_CustomBuilder { enum Ark_Tag tag; - Union_Array_MenuElement_Union_Function_Undefined value; -} Opt_Union_Array_MenuElement_Union_Function_Undefined; + Union_Array_MenuElement_Ark_CustomBuilder value; +} Opt_Union_Array_MenuElement_CustomBuilder; typedef struct Ark_MenuOptions { struct Opt_Position offset; Opt_Placement placement; Opt_Boolean enableArrow; Opt_Length arrowOffset; - struct Opt_Union_MenuPreviewMode_Union_Function_Undefined preview; - struct Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length borderRadius; + struct Opt_Union_MenuPreviewMode_CustomBuilder preview; + struct Opt_Union_Length_BorderRadiuses borderRadius; struct Opt_Function onAppear; struct Opt_Function onDisappear; struct Opt_Function aboutToAppear; struct Opt_Function aboutToDisappear; struct Opt_ContextMenuAnimationOptions previewAnimationOptions; - struct Opt_Union_Color_Number_String_Resource backgroundColor; + struct Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; struct Opt_TransitionEffect transition; - struct Opt_Union_String_Resource title; + struct Opt_ResourceStr title; Opt_Boolean showInSubWindow; } Ark_MenuOptions; typedef struct Opt_MenuOptions { @@ -6712,8 +7498,8 @@ typedef struct Opt_MenuOptions { Ark_MenuOptions value; } Opt_MenuOptions; typedef struct Ark_MenuElement { - struct Union_String_Resource value; - struct Opt_Union_String_Resource icon; + struct Ark_ResourceStr value; + struct Opt_ResourceStr icon; Opt_CustomObject symbolIcon; Opt_Boolean enabled; struct Ark_Function action; @@ -6783,49 +7569,55 @@ typedef struct Opt_Union_Boolean_CircleAttribute_EllipseAttribute_PathAttribute_ Union_Boolean_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute value; } Opt_Union_Boolean_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute; typedef Ark_Int32 Ark_BlendApplyType; -typedef struct Opt_BlendApplyType { enum Ark_Tag tag; Ark_BlendApplyType value; } Opt_BlendApplyType; +typedef struct Opt_BlendApplyType { + enum Ark_Tag tag; + Ark_BlendApplyType value; +} Opt_BlendApplyType; typedef Ark_Int32 Ark_BlendMode; -typedef struct Opt_BlendMode { enum Ark_Tag tag; Ark_BlendMode value; } Opt_BlendMode; -typedef struct Tuple_Union_Color_Number_String_Resource_Number { - struct Union_Color_Number_String_Resource value0; +typedef struct Opt_BlendMode { + enum Ark_Tag tag; + Ark_BlendMode value; +} Opt_BlendMode; +typedef struct Tuple_Ark_ResourceColor_Number { + struct Ark_ResourceColor value0; Ark_Number value1; -} Tuple_Union_Color_Number_String_Resource_Number; -typedef struct Opt_Tuple_Union_Color_Number_String_Resource_Number { +} Tuple_Ark_ResourceColor_Number; +typedef struct Opt_Tuple_ResourceColor_Number { enum Ark_Tag tag; - Tuple_Union_Color_Number_String_Resource_Number value; -} Opt_Tuple_Union_Color_Number_String_Resource_Number; -typedef struct Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean { + Tuple_Ark_ResourceColor_Number value; +} Opt_Tuple_ResourceColor_Number; +typedef struct Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating { struct Tuple_Length_Length center; struct Union_Number_String radius; - struct Array_Tuple_Union_Color_Number_String_Resource_Number colors; + struct Array_Tuple_Ark_ResourceColor_Number colors; Opt_Boolean repeating; -} Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean; -typedef struct Opt_Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean { +} Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating; +typedef struct Opt_Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating { enum Ark_Tag tag; - Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean value; -} Opt_Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean; -typedef struct Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean { + Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating value; +} Opt_Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating; +typedef struct Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating { struct Tuple_Length_Length center; struct Opt_Union_Number_String start; struct Opt_Union_Number_String end; struct Opt_Union_Number_String rotation; - struct Array_Tuple_Union_Color_Number_String_Resource_Number colors; + struct Array_Tuple_Ark_ResourceColor_Number colors; Opt_Boolean repeating; -} Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean; -typedef struct Opt_Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean { +} Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating; +typedef struct Opt_Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating { enum Ark_Tag tag; - Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean value; -} Opt_Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean; -typedef struct Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean { + Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating value; +} Opt_Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating; +typedef struct Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating { struct Opt_Union_Number_String angle; Opt_GradientDirection direction; - struct Array_Tuple_Union_Color_Number_String_Resource_Number colors; + struct Array_Tuple_Ark_ResourceColor_Number colors; Opt_Boolean repeating; -} Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean; -typedef struct Opt_Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean { +} Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating; +typedef struct Opt_Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating { enum Ark_Tag tag; - Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean value; -} Opt_Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean; + Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating value; +} Opt_Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating; typedef struct Ark_OverlayOptions { Opt_Alignment align; struct Opt_OverlayOffset offset; @@ -6834,18 +7626,18 @@ typedef struct Opt_OverlayOptions { enum Ark_Tag tag; Ark_OverlayOptions value; } Opt_OverlayOptions; -typedef struct Union_String_Union_Function_Undefined_CustomObject { +typedef struct Union_String_Ark_CustomBuilder_CustomObject { Ark_Int32 selector; union { Ark_String value0; - struct Union_Function_Undefined value1; + struct Ark_CustomBuilder value1; Ark_CustomObject value2; }; -} Union_String_Union_Function_Undefined_CustomObject; -typedef struct Opt_Union_String_Union_Function_Undefined_CustomObject { +} Union_String_Ark_CustomBuilder_CustomObject; +typedef struct Opt_Union_String_CustomBuilder_CustomObject { enum Ark_Tag tag; - Union_String_Union_Function_Undefined_CustomObject value; -} Opt_Union_String_Union_Function_Undefined_CustomObject; + Union_String_Ark_CustomBuilder_CustomObject value; +} Opt_Union_String_CustomBuilder_CustomObject; typedef struct Ark_DragInteractionOptions { Opt_Boolean isMultiSelectionEnabled; Opt_Boolean defaultAnimationBeforeLifting; @@ -6863,18 +7655,18 @@ typedef struct Opt_DragPreviewOptions { enum Ark_Tag tag; Ark_DragPreviewOptions value; } Opt_DragPreviewOptions; -typedef struct Union_Union_Function_Undefined_DragItemInfo_String { +typedef struct Union_Ark_CustomBuilder_DragItemInfo_String { Ark_Int32 selector; union { - struct Union_Function_Undefined value0; + struct Ark_CustomBuilder value0; struct Ark_DragItemInfo value1; Ark_String value2; }; -} Union_Union_Function_Undefined_DragItemInfo_String; -typedef struct Opt_Union_Union_Function_Undefined_DragItemInfo_String { +} Union_Ark_CustomBuilder_DragItemInfo_String; +typedef struct Opt_Union_CustomBuilder_DragItemInfo_String { enum Ark_Tag tag; - Union_Union_Function_Undefined_DragItemInfo_String value; -} Opt_Union_Union_Function_Undefined_DragItemInfo_String; + Union_Ark_CustomBuilder_DragItemInfo_String value; +} Opt_Union_CustomBuilder_DragItemInfo_String; typedef struct Union_Array_CustomObject_Ark_Undefined { Ark_Int32 selector; union { @@ -6898,7 +7690,10 @@ typedef struct Opt_Union_ClickEffect_Undefined { Union_ClickEffect_Ark_Undefined value; } Opt_Union_ClickEffect_Undefined; typedef Ark_Int32 Ark_ChainStyle; -typedef struct Opt_ChainStyle { enum Ark_Tag tag; Ark_ChainStyle value; } Opt_ChainStyle; +typedef struct Opt_ChainStyle { + enum Ark_Tag tag; + Ark_ChainStyle value; +} Opt_ChainStyle; typedef struct Ark_LocalizedAlignRuleOptions { struct Opt_LocalizedHorizontalAlignParam start; struct Opt_LocalizedHorizontalAlignParam end; @@ -6913,28 +7708,28 @@ typedef struct Opt_LocalizedAlignRuleOptions { Ark_LocalizedAlignRuleOptions value; } Opt_LocalizedAlignRuleOptions; typedef struct Ark_AlignRuleOption { - struct Opt_Literal_anchor_String_align_HorizontalAlign left; - struct Opt_Literal_anchor_String_align_HorizontalAlign right; - struct Opt_Literal_anchor_String_align_HorizontalAlign middle; - struct Opt_Literal_anchor_String_align_VerticalAlign top; - struct Opt_Literal_anchor_String_align_VerticalAlign bottom; - struct Opt_Literal_anchor_String_align_VerticalAlign center; + struct Opt_Literal_String_anchor_HorizontalAlign_align left; + struct Opt_Literal_String_anchor_HorizontalAlign_align right; + struct Opt_Literal_String_anchor_HorizontalAlign_align middle; + struct Opt_Literal_String_anchor_VerticalAlign_align top; + struct Opt_Literal_String_anchor_VerticalAlign_align bottom; + struct Opt_Literal_String_anchor_VerticalAlign_align center; struct Opt_Bias bias; } Ark_AlignRuleOption; typedef struct Opt_AlignRuleOption { enum Ark_Tag tag; Ark_AlignRuleOption value; } Opt_AlignRuleOption; -typedef struct Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number { - struct Opt_Union_Number_Literal_span_Number_offset_Number xs; - struct Opt_Union_Number_Literal_span_Number_offset_Number sm; - struct Opt_Union_Number_Literal_span_Number_offset_Number md; - struct Opt_Union_Number_Literal_span_Number_offset_Number lg; -} Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number; -typedef struct Opt_Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number { - enum Ark_Tag tag; - Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number value; -} Opt_Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number; +typedef struct Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg { + struct Opt_Union_Number_Literal_Number_span_offset xs; + struct Opt_Union_Number_Literal_Number_span_offset sm; + struct Opt_Union_Number_Literal_Number_span_offset md; + struct Opt_Union_Number_Literal_Number_span_offset lg; +} Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg; +typedef struct Opt_Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg { + enum Ark_Tag tag; + Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg value; +} Opt_Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg; typedef struct Union_Position_LocalizedPosition { Ark_Int32 selector; union { @@ -6947,7 +7742,10 @@ typedef struct Opt_Union_Position_LocalizedPosition { Union_Position_LocalizedPosition value; } Opt_Union_Position_LocalizedPosition; typedef Ark_Int32 Ark_Direction; -typedef struct Opt_Direction { enum Ark_Tag tag; Ark_Direction value; } Opt_Direction; +typedef struct Opt_Direction { + enum Ark_Tag tag; + Ark_Direction value; +} Opt_Direction; typedef struct Ark_sharedTransitionOptions { Opt_Number duration; struct Opt_Union_Curve_String_ICurve curve; @@ -6961,7 +7759,10 @@ typedef struct Opt_sharedTransitionOptions { Ark_sharedTransitionOptions value; } Opt_sharedTransitionOptions; typedef Ark_Int32 Ark_Visibility; -typedef struct Opt_Visibility { enum Ark_Tag tag; Ark_Visibility value; } Opt_Visibility; +typedef struct Opt_Visibility { + enum Ark_Tag tag; + Ark_Visibility value; +} Opt_Visibility; typedef struct Union_Number_InvertOptions { Ark_Int32 selector; union { @@ -7002,8 +7803,11 @@ typedef struct Opt_LinearGradientBlurOptions { Ark_LinearGradientBlurOptions value; } Opt_LinearGradientBlurOptions; typedef Ark_Int32 Ark_GestureMask; -typedef struct Opt_GestureMask { enum Ark_Tag tag; Ark_GestureMask value; } Opt_GestureMask; -typedef struct Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface { +typedef struct Opt_GestureMask { + enum Ark_Tag tag; + Ark_GestureMask value; +} Opt_GestureMask; +typedef struct Ark_GestureType { Ark_Int32 selector; union { struct Ark_TapGestureInterface value0; @@ -7014,11 +7818,11 @@ typedef struct Union_TapGestureInterface_LongPressGestureInterface_PanGestureInt struct Ark_RotationGestureInterface value5; struct Ark_GestureGroupInterface value6; }; -} Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface; -typedef struct Opt_Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface { +} Ark_GestureType; +typedef struct Opt_GestureType { enum Ark_Tag tag; - Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface value; -} Opt_Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface; + Ark_GestureType value; +} Opt_GestureType; typedef struct Union_TransitionOptions_TransitionEffect { Ark_Int32 selector; union { @@ -7046,7 +7850,10 @@ typedef struct Opt_AnimateParam { Ark_AnimateParam value; } Opt_AnimateParam; typedef Ark_Int32 Ark_FocusPriority; -typedef struct Opt_FocusPriority { enum Ark_Tag tag; Ark_FocusPriority value; } Opt_FocusPriority; +typedef struct Opt_FocusPriority { + enum Ark_Tag tag; + Ark_FocusPriority value; +} Opt_FocusPriority; typedef struct Ark_FocusBoxStyle { Opt_CustomObject margin; Opt_CustomObject strokeColor; @@ -7057,70 +7864,95 @@ typedef struct Opt_FocusBoxStyle { Ark_FocusBoxStyle value; } Opt_FocusBoxStyle; typedef Ark_Int32 Ark_HoverEffect; -typedef struct Opt_HoverEffect { enum Ark_Tag tag; Ark_HoverEffect value; } Opt_HoverEffect; -typedef struct Union_Union_Color_Number_String_Resource_ColoringStrategy { +typedef struct Opt_HoverEffect { + enum Ark_Tag tag; + Ark_HoverEffect value; +} Opt_HoverEffect; +typedef struct Union_Ark_ResourceColor_ColoringStrategy { Ark_Int32 selector; union { - struct Union_Color_Number_String_Resource value0; + struct Ark_ResourceColor value0; Ark_ColoringStrategy value1; }; -} Union_Union_Color_Number_String_Resource_ColoringStrategy; -typedef struct Opt_Union_Union_Color_Number_String_Resource_ColoringStrategy { +} Union_Ark_ResourceColor_ColoringStrategy; +typedef struct Opt_Union_ResourceColor_ColoringStrategy { + enum Ark_Tag tag; + Union_Ark_ResourceColor_ColoringStrategy value; +} Opt_Union_ResourceColor_ColoringStrategy; +typedef struct Union_Length_Ark_OutlineRadiuses { + Ark_Int32 selector; + union { + Ark_Length value0; + struct Ark_OutlineRadiuses value1; + }; +} Union_Length_Ark_OutlineRadiuses; +typedef struct Opt_Union_Length_OutlineRadiuses { enum Ark_Tag tag; - Union_Union_Color_Number_String_Resource_ColoringStrategy value; -} Opt_Union_Union_Color_Number_String_Resource_ColoringStrategy; -typedef struct Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle { + Union_Length_Ark_OutlineRadiuses value; +} Opt_Union_Length_OutlineRadiuses; +typedef struct Union_Length_Ark_EdgeOutlineWidths { + Ark_Int32 selector; + union { + Ark_Length value0; + struct Ark_EdgeOutlineWidths value1; + }; +} Union_Length_Ark_EdgeOutlineWidths; +typedef struct Opt_Union_Length_EdgeOutlineWidths { + enum Ark_Tag tag; + Union_Length_Ark_EdgeOutlineWidths value; +} Opt_Union_Length_EdgeOutlineWidths; +typedef struct Union_OutlineStyle_Ark_EdgeOutlineStyles { Ark_Int32 selector; union { Ark_OutlineStyle value0; - struct Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle value1; + struct Ark_EdgeOutlineStyles value1; }; -} Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle; -typedef struct Opt_Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle { +} Union_OutlineStyle_Ark_EdgeOutlineStyles; +typedef struct Opt_Union_OutlineStyle_EdgeOutlineStyles { enum Ark_Tag tag; - Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle value; -} Opt_Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle; + Union_OutlineStyle_Ark_EdgeOutlineStyles value; +} Opt_Union_OutlineStyle_EdgeOutlineStyles; typedef struct Ark_OutlineOptions { - struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length width; - struct Opt_Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors color; - struct Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length radius; - struct Opt_Union_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle_OutlineStyle style; + struct Opt_Union_EdgeOutlineWidths_Length width; + struct Opt_Union_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors color; + struct Opt_Union_OutlineRadiuses_Length radius; + struct Opt_Union_EdgeOutlineStyles_OutlineStyle style; } Ark_OutlineOptions; typedef struct Opt_OutlineOptions { enum Ark_Tag tag; Ark_OutlineOptions value; } Opt_OutlineOptions; typedef struct Ark_BorderImageOption { - struct Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths slice; + struct Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths slice; Opt_RepeatMode repeat; struct Opt_Union_String_Resource_LinearGradient source; - struct Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths width; - struct Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths outset; + struct Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths width; + struct Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths outset; Opt_Boolean fill; } Ark_BorderImageOption; typedef struct Opt_BorderImageOption { enum Ark_Tag tag; Ark_BorderImageOption value; } Opt_BorderImageOption; -typedef struct Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses { +typedef struct Union_Length_Ark_BorderRadiuses_LocalizedBorderRadiuses { Ark_Int32 selector; union { Ark_Length value0; - struct Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length value1; + struct Ark_BorderRadiuses value1; struct Ark_LocalizedBorderRadiuses value2; }; -} Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses; -typedef struct Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses { +} Union_Length_Ark_BorderRadiuses_LocalizedBorderRadiuses; +typedef struct Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses { enum Ark_Tag tag; - Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses value; -} Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses; + Union_Length_Ark_BorderRadiuses_LocalizedBorderRadiuses value; +} Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses; typedef struct Ark_BorderOptions { - struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedEdgeWidths width; - struct Opt_Union_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_Union_Color_Number_String_Resource_LocalizedEdgeColors color; - struct Opt_Union_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_Length_LocalizedBorderRadiuses radius; - struct Opt_Union_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle_BorderStyle style; - struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths dashGap; - struct Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_CustomObject_LocalizedEdgeWidths dashWidth; + struct Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths width; + struct Opt_Union_EdgeColors_Ark_ResourceColor_LocalizedEdgeColors color; + struct Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses radius; + struct Opt_Union_EdgeStyles_BorderStyle style; + struct Opt_Union_EdgeWidths_CustomObject_LocalizedEdgeWidths dashGap; + struct Opt_Union_EdgeWidths_CustomObject_LocalizedEdgeWidths dashWidth; } Ark_BorderOptions; typedef struct Opt_BorderOptions { enum Ark_Tag tag; @@ -7144,7 +7976,7 @@ typedef struct Opt_ForegroundEffectOptions { Ark_ForegroundEffectOptions value; } Opt_ForegroundEffectOptions; typedef struct Ark_ResizableOptions { - struct Opt_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length slice; + struct Opt_EdgeWidths slice; } Ark_ResizableOptions; typedef struct Opt_ResizableOptions { enum Ark_Tag tag; @@ -7154,11 +7986,11 @@ typedef struct Ark_BackgroundEffectOptions { Ark_Number radius; Opt_Number saturation; Opt_Number brightness; - struct Opt_Union_Color_Number_String_Resource color; + struct Opt_ResourceColor color; Opt_AdaptiveColor adaptiveColor; struct Opt_BlurOptions blurOptions; Opt_BlurStyleActivePolicy policy; - struct Opt_Union_Color_Number_String_Resource inactiveColor; + struct Opt_ResourceColor inactiveColor; Opt_BlurType type; } Ark_BackgroundEffectOptions; typedef struct Opt_BackgroundEffectOptions { @@ -7171,7 +8003,7 @@ typedef struct Ark_BackgroundBlurStyleOptions { Opt_Number scale; struct Opt_BlurOptions blurOptions; Opt_BlurStyleActivePolicy policy; - struct Opt_Union_Color_Number_String_Resource inactiveColor; + struct Opt_ResourceColor inactiveColor; Opt_BlurType type; } Ark_BackgroundBlurStyleOptions; typedef struct Opt_BackgroundBlurStyleOptions { @@ -7201,7 +8033,10 @@ typedef struct Opt_Union_SizeOptions_ImageSize { Union_SizeOptions_ImageSize value; } Opt_Union_SizeOptions_ImageSize; typedef Ark_Int32 Ark_ImageRepeat; -typedef struct Opt_ImageRepeat { enum Ark_Tag tag; Ark_ImageRepeat value; } Opt_ImageRepeat; +typedef struct Opt_ImageRepeat { + enum Ark_Tag tag; + Ark_ImageRepeat value; +} Opt_ImageRepeat; typedef struct Ark_PixelRoundPolicy { Opt_PixelRoundCalcPolicy start; Opt_PixelRoundCalcPolicy top; @@ -7212,15 +8047,18 @@ typedef struct Opt_PixelRoundPolicy { enum Ark_Tag tag; Ark_PixelRoundPolicy value; } Opt_PixelRoundPolicy; -typedef struct Literal_align_Opt_Alignment { +typedef struct Literal_Opt_Alignment_align { Opt_Alignment align; -} Literal_align_Opt_Alignment; -typedef struct Opt_Literal_align_Opt_Alignment { +} Literal_Opt_Alignment_align; +typedef struct Opt_Literal_Opt_Alignment_align { enum Ark_Tag tag; - Literal_align_Opt_Alignment value; -} Opt_Literal_align_Opt_Alignment; + Literal_Opt_Alignment_align value; +} Opt_Literal_Opt_Alignment_align; typedef Ark_Int32 Ark_HitTestMode; -typedef struct Opt_HitTestMode { enum Ark_Tag tag; Ark_HitTestMode value; } Opt_HitTestMode; +typedef struct Opt_HitTestMode { + enum Ark_Tag tag; + Ark_HitTestMode value; +} Opt_HitTestMode; typedef struct Ark_ConstraintSizeOptions { Opt_Length minWidth; Opt_Length maxWidth; @@ -7243,7 +8081,10 @@ typedef struct Opt_Union_Array_Rectangle_Rectangle { Union_Array_Rectangle_Rectangle value; } Opt_Union_Array_Rectangle_Rectangle; typedef Ark_Int32 Ark_SafeAreaEdge; -typedef struct Opt_SafeAreaEdge { enum Ark_Tag tag; Ark_SafeAreaEdge value; } Opt_SafeAreaEdge; +typedef struct Opt_SafeAreaEdge { + enum Ark_Tag tag; + Ark_SafeAreaEdge value; +} Opt_SafeAreaEdge; typedef int32_t Ark_SafeAreaEdge; typedef struct Array_SafeAreaEdge { Ark_SafeAreaEdge* array; @@ -7255,7 +8096,10 @@ typedef struct Opt_Array_SafeAreaEdge { Array_SafeAreaEdge value; } Opt_Array_SafeAreaEdge; typedef Ark_Int32 Ark_SafeAreaType; -typedef struct Opt_SafeAreaType { enum Ark_Tag tag; Ark_SafeAreaType value; } Opt_SafeAreaType; +typedef struct Opt_SafeAreaType { + enum Ark_Tag tag; + Ark_SafeAreaType value; +} Opt_SafeAreaType; typedef int32_t Ark_SafeAreaType; typedef struct Array_SafeAreaType { Ark_SafeAreaType* array; @@ -7287,20 +8131,18 @@ typedef Union_Array_Rectangle_Rectangle Type_CommonMethod_mouseResponseRegion_Ar typedef Opt_Union_Array_Rectangle_Rectangle Opt_Type_CommonMethod_mouseResponseRegion_Arg0; typedef Union_Number_String Type_CommonMethod_layoutWeight_Arg0; typedef Opt_Union_Number_String Opt_Type_CommonMethod_layoutWeight_Arg0; -typedef Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding Type_CommonMethod_padding_Arg0; -typedef Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding Opt_Type_CommonMethod_padding_Arg0; +typedef Union_Ark_Padding_Length_LocalizedPadding Type_CommonMethod_padding_Arg0; +typedef Opt_Union_Padding_Length_LocalizedPadding Opt_Type_CommonMethod_padding_Arg0; typedef Ark_CustomObject LengthMetrics; typedef Opt_CustomObject Opt_LengthMetrics; -typedef Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding Type_CommonMethod_margin_Arg0; -typedef Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length_LocalizedPadding Opt_Type_CommonMethod_margin_Arg0; -typedef Union_Function_Undefined CustomBuilder; -typedef Opt_Union_Function_Undefined Opt_CustomBuilder; -typedef Literal_align_Opt_Alignment Type_CommonMethod_background_Arg1; -typedef Opt_Literal_align_Opt_Alignment Opt_Type_CommonMethod_background_Arg1; -typedef Union_Color_Number_String_Resource ResourceColor; -typedef Opt_Union_Color_Number_String_Resource Opt_ResourceColor; -typedef Union_Union_String_Resource_CustomObject Type_CommonMethod_backgroundImage_Arg0; -typedef Opt_Union_Union_String_Resource_CustomObject Opt_Type_CommonMethod_backgroundImage_Arg0; +typedef Union_Ark_Padding_Length_LocalizedPadding Type_CommonMethod_margin_Arg0; +typedef Opt_Union_Padding_Length_LocalizedPadding Opt_Type_CommonMethod_margin_Arg0; +typedef Ark_CustomBuilder CustomBuilder; +typedef Literal_Opt_Alignment_align Type_CommonMethod_background_Arg1; +typedef Opt_Literal_Opt_Alignment_align Opt_Type_CommonMethod_background_Arg1; +typedef Ark_ResourceColor ResourceColor; +typedef Union_Ark_ResourceStr_CustomObject Type_CommonMethod_backgroundImage_Arg0; +typedef Opt_Union_ResourceStr_CustomObject Opt_Type_CommonMethod_backgroundImage_Arg0; typedef Union_SizeOptions_ImageSize Type_CommonMethod_backgroundImageSize_Arg0; typedef Opt_Union_SizeOptions_ImageSize Opt_Type_CommonMethod_backgroundImageSize_Arg0; typedef Union_Position_Alignment Type_CommonMethod_backgroundImagePosition_Arg0; @@ -7311,30 +8153,28 @@ typedef Ark_CustomObject Filter; typedef Opt_CustomObject Opt_Filter; typedef Union_Number_Resource Type_CommonMethod_opacity_Arg0; typedef Opt_Union_Number_Resource Opt_Type_CommonMethod_opacity_Arg0; -typedef Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle Type_CommonMethod_borderStyle_Arg0; -typedef Opt_Union_BorderStyle_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle Opt_Type_CommonMethod_borderStyle_Arg0; -typedef Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths Type_CommonMethod_borderWidth_Arg0; -typedef Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_LocalizedEdgeWidths Opt_Type_CommonMethod_borderWidth_Arg0; -typedef Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors Type_CommonMethod_borderColor_Arg0; -typedef Opt_Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors Opt_Type_CommonMethod_borderColor_Arg0; -typedef Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses Type_CommonMethod_borderRadius_Arg0; -typedef Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length_LocalizedBorderRadiuses Opt_Type_CommonMethod_borderRadius_Arg0; -typedef Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle Type_CommonMethod_outlineStyle_Arg0; -typedef Opt_Union_OutlineStyle_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle Opt_Type_CommonMethod_outlineStyle_Arg0; -typedef Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length Type_CommonMethod_outlineWidth_Arg0; -typedef Opt_Union_Length_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length Opt_Type_CommonMethod_outlineWidth_Arg0; -typedef Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors Type_CommonMethod_outlineColor_Arg0; -typedef Opt_Union_Union_Color_Number_String_Resource_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource_LocalizedEdgeColors Opt_Type_CommonMethod_outlineColor_Arg0; -typedef Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length Type_CommonMethod_outlineRadius_Arg0; -typedef Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length Opt_Type_CommonMethod_outlineRadius_Arg0; -typedef Union_Union_Color_Number_String_Resource_ColoringStrategy Type_CommonMethod_foregroundColor_Arg0; -typedef Opt_Union_Union_Color_Number_String_Resource_ColoringStrategy Opt_Type_CommonMethod_foregroundColor_Arg0; +typedef Union_BorderStyle_Ark_EdgeStyles Type_CommonMethod_borderStyle_Arg0; +typedef Opt_Union_BorderStyle_EdgeStyles Opt_Type_CommonMethod_borderStyle_Arg0; +typedef Union_Length_Ark_EdgeWidths_LocalizedEdgeWidths Type_CommonMethod_borderWidth_Arg0; +typedef Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths Opt_Type_CommonMethod_borderWidth_Arg0; +typedef Union_Ark_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors Type_CommonMethod_borderColor_Arg0; +typedef Opt_Union_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors Opt_Type_CommonMethod_borderColor_Arg0; +typedef Union_Length_Ark_BorderRadiuses_LocalizedBorderRadiuses Type_CommonMethod_borderRadius_Arg0; +typedef Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses Opt_Type_CommonMethod_borderRadius_Arg0; +typedef Union_OutlineStyle_Ark_EdgeOutlineStyles Type_CommonMethod_outlineStyle_Arg0; +typedef Opt_Union_OutlineStyle_EdgeOutlineStyles Opt_Type_CommonMethod_outlineStyle_Arg0; +typedef Union_Length_Ark_EdgeOutlineWidths Type_CommonMethod_outlineWidth_Arg0; +typedef Opt_Union_Length_EdgeOutlineWidths Opt_Type_CommonMethod_outlineWidth_Arg0; +typedef Union_Ark_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors Type_CommonMethod_outlineColor_Arg0; +typedef Opt_Union_ResourceColor_Ark_EdgeColors_LocalizedEdgeColors Opt_Type_CommonMethod_outlineColor_Arg0; +typedef Union_Length_Ark_OutlineRadiuses Type_CommonMethod_outlineRadius_Arg0; +typedef Opt_Union_Length_OutlineRadiuses Opt_Type_CommonMethod_outlineRadius_Arg0; +typedef Union_Ark_ResourceColor_ColoringStrategy Type_CommonMethod_foregroundColor_Arg0; +typedef Opt_Union_ResourceColor_ColoringStrategy Opt_Type_CommonMethod_foregroundColor_Arg0; typedef Ark_Function Callback; typedef Opt_Function Opt_Callback; typedef Union_TransitionOptions_TransitionEffect Type_CommonMethod_transition_Arg0; typedef Opt_Union_TransitionOptions_TransitionEffect Opt_Type_CommonMethod_transition_Arg0; -typedef Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface Ark_GestureType; -typedef Opt_Union_TapGestureInterface_LongPressGestureInterface_PanGestureInterface_PinchGestureInterface_SwipeGestureInterface_RotationGestureInterface_GestureGroupInterface Opt_GestureType; typedef Union_Color_String_Resource Type_CommonMethod_colorBlend_Arg0; typedef Opt_Union_Color_String_Resource Opt_Type_CommonMethod_colorBlend_Arg0; typedef Union_Number_InvertOptions Type_CommonMethod_invert_Arg0; @@ -7349,22 +8189,22 @@ typedef Union_Position_LocalizedPosition Type_CommonMethod_markAnchor_Arg0; typedef Opt_Union_Position_LocalizedPosition Opt_Type_CommonMethod_markAnchor_Arg0; typedef Union_Position_Edges_LocalizedEdges Type_CommonMethod_offset_Arg0; typedef Opt_Union_Position_Edges_LocalizedEdges Opt_Type_CommonMethod_offset_Arg0; -typedef Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number Type_CommonMethod_useSizeType_Arg0; -typedef Opt_Literal_xs_Opt_Union_Number_Literal_span_Number_offset_Number_sm_Opt_Union_Number_Literal_span_Number_offset_Number_md_Opt_Union_Number_Literal_span_Number_offset_Number_lg_Opt_Union_Number_Literal_span_Number_offset_Number Opt_Type_CommonMethod_useSizeType_Arg0; +typedef Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg Type_CommonMethod_useSizeType_Arg0; +typedef Opt_Literal_Opt_Union_Number_Literal_Number_span_offset_xs_sm_md_lg Opt_Type_CommonMethod_useSizeType_Arg0; typedef Union_ClickEffect_Ark_Undefined Type_CommonMethod_clickEffect_Arg0; typedef Opt_Union_ClickEffect_Undefined Opt_Type_CommonMethod_clickEffect_Arg0; typedef Union_Array_CustomObject_Ark_Undefined Type_CommonMethod_allowDrop_Arg0; typedef Opt_Union_Array_CustomObject_Undefined Opt_Type_CommonMethod_allowDrop_Arg0; -typedef Union_Union_Function_Undefined_DragItemInfo_String Type_CommonMethod_dragPreview_Arg0; -typedef Opt_Union_Union_Function_Undefined_DragItemInfo_String Opt_Type_CommonMethod_dragPreview_Arg0; -typedef Union_String_Union_Function_Undefined_CustomObject Type_CommonMethod_overlay_Arg0; -typedef Opt_Union_String_Union_Function_Undefined_CustomObject Opt_Type_CommonMethod_overlay_Arg0; -typedef Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean Type_CommonMethod_linearGradient_Arg0; -typedef Opt_Literal_angle_Opt_Union_Number_String_direction_Opt_GradientDirection_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean Opt_Type_CommonMethod_linearGradient_Arg0; -typedef Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean Type_CommonMethod_sweepGradient_Arg0; -typedef Opt_Literal_center_Tuple_Length_Length_start_Opt_Union_Number_String_end_Opt_Union_Number_String_rotation_Opt_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean Opt_Type_CommonMethod_sweepGradient_Arg0; -typedef Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean Type_CommonMethod_radialGradient_Arg0; -typedef Opt_Literal_center_Tuple_Length_Length_radius_Union_Number_String_colors_Array_Tuple_Union_Color_Number_String_Resource_Number_repeating_Opt_Boolean Opt_Type_CommonMethod_radialGradient_Arg0; +typedef Union_Ark_CustomBuilder_DragItemInfo_String Type_CommonMethod_dragPreview_Arg0; +typedef Opt_Union_CustomBuilder_DragItemInfo_String Opt_Type_CommonMethod_dragPreview_Arg0; +typedef Union_String_Ark_CustomBuilder_CustomObject Type_CommonMethod_overlay_Arg0; +typedef Opt_Union_String_CustomBuilder_CustomObject Opt_Type_CommonMethod_overlay_Arg0; +typedef Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating Type_CommonMethod_linearGradient_Arg0; +typedef Opt_Literal_Opt_Union_Number_String_angle_Opt_GradientDirection_direction_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating Opt_Type_CommonMethod_linearGradient_Arg0; +typedef Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating Type_CommonMethod_sweepGradient_Arg0; +typedef Opt_Literal_Tuple_Length_Length_center_Opt_Union_Number_String_start_end_rotation_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating Opt_Type_CommonMethod_sweepGradient_Arg0; +typedef Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_Ark_ResourceColor_Number_colors_Opt_Boolean_repeating Type_CommonMethod_radialGradient_Arg0; +typedef Opt_Literal_Tuple_Length_Length_center_Union_Number_String_radius_Array_Tuple_ResourceColor_Number_colors_Opt_Boolean_repeating Opt_Type_CommonMethod_radialGradient_Arg0; typedef Union_ShadowOptions_ShadowStyle Type_CommonMethod_shadow_Arg0; typedef Opt_Union_ShadowOptions_ShadowStyle Opt_Type_CommonMethod_shadow_Arg0; typedef Union_Boolean_CircleAttribute_EllipseAttribute_PathAttribute_RectAttribute Type_CommonMethod_clip1_Arg0; @@ -7377,39 +8217,37 @@ typedef Union_CustomObject_CustomObject_CustomObject_CustomObject Type_CommonMet typedef Opt_Union_CustomObject_CustomObject_CustomObject_CustomObject Opt_Type_CommonMethod_maskShape_Arg0; typedef Union_PopupOptions_CustomPopupOptions Type_CommonMethod_bindPopup_Arg1; typedef Opt_Union_PopupOptions_CustomPopupOptions Opt_Type_CommonMethod_bindPopup_Arg1; -typedef Union_Array_MenuElement_Union_Function_Undefined Type_CommonMethod_bindMenu_Arg0; -typedef Opt_Union_Array_MenuElement_Union_Function_Undefined Opt_Type_CommonMethod_bindMenu_Arg0; -typedef Union_Array_MenuElement_Union_Function_Undefined Type_CommonMethod_bindMenu1_Arg1; -typedef Opt_Union_Array_MenuElement_Union_Function_Undefined Opt_Type_CommonMethod_bindMenu1_Arg1; +typedef Union_Array_MenuElement_Ark_CustomBuilder Type_CommonMethod_bindMenu_Arg0; +typedef Opt_Union_Array_MenuElement_CustomBuilder Opt_Type_CommonMethod_bindMenu_Arg0; +typedef Union_Array_MenuElement_Ark_CustomBuilder Type_CommonMethod_bindMenu1_Arg1; +typedef Opt_Union_Array_MenuElement_CustomBuilder Opt_Type_CommonMethod_bindMenu1_Arg1; typedef Union_String_FunctionKey Type_CommonMethod_keyboardShortcut_Arg0; typedef Opt_Union_String_FunctionKey Opt_Type_CommonMethod_keyboardShortcut_Arg0; typedef Ark_Resource Resource; -typedef Literal_want_CustomObject Type_AbilityComponentInterface__setAbilityComponentOptions_Arg0; -typedef Opt_Literal_want_CustomObject Opt_Type_AbilityComponentInterface__setAbilityComponentOptions_Arg0; -typedef Literal_arrayValue_Array_String_selected_Number Type_AlphabetIndexerInterface__setAlphabetIndexerOptions_Arg0; -typedef Opt_Literal_arrayValue_Array_String_selected_Number Opt_Type_AlphabetIndexerInterface__setAlphabetIndexerOptions_Arg0; +typedef Literal_CustomObject_want Type_AbilityComponentInterface_setAbilityComponentOptions_Arg0; +typedef Opt_Literal_CustomObject_want Opt_Type_AbilityComponentInterface_setAbilityComponentOptions_Arg0; +typedef Literal_Array_String_arrayValue_Number_selected Type_AlphabetIndexerInterface_setAlphabetIndexerOptions_Arg0; +typedef Opt_Literal_Array_String_arrayValue_Number_selected Opt_Type_AlphabetIndexerInterface_setAlphabetIndexerOptions_Arg0; typedef Union_String_Number Type_AlphabetIndexerAttribute_itemSize_Arg0; typedef Opt_Union_String_Number Opt_Type_AlphabetIndexerAttribute_itemSize_Arg0; typedef Union_SpringMotion_FrictionMotion_ScrollMotion Type_AnimatorAttribute_motion_Arg0; typedef Opt_Union_SpringMotion_FrictionMotion_ScrollMotion Opt_Type_AnimatorAttribute_motion_Arg0; -typedef Union_Number_String Type_BlankInterface__setBlankOptions_Arg0; -typedef Opt_Union_Number_String Opt_Type_BlankInterface__setBlankOptions_Arg0; -typedef Union_String_Resource ResourceStr; -typedef Opt_Union_String_Resource Opt_ResourceStr; +typedef Union_Number_String Type_BlankInterface_setBlankOptions_Arg0; +typedef Opt_Union_Number_String Opt_Type_BlankInterface_setBlankOptions_Arg0; +typedef Ark_ResourceStr ResourceStr; typedef Union_Number_FontWeight_String Type_ButtonAttribute_fontWeight_Arg0; typedef Opt_Union_Number_FontWeight_String Opt_Type_ButtonAttribute_fontWeight_Arg0; typedef Union_String_Resource Type_ButtonAttribute_fontFamily_Arg0; typedef Opt_Union_String_Resource Opt_Type_ButtonAttribute_fontFamily_Arg0; typedef Ark_CustomObject ContentModifier; typedef Opt_CustomObject Opt_ContentModifier; -typedef Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController Type_CalendarInterface__setCalendarOptions_Arg0; -typedef Opt_Literal_date_Literal_year_Number_month_Number_day_Number_currentData_MonthData_preData_MonthData_nextData_MonthData_controller_Opt_CalendarController Opt_Type_CalendarInterface__setCalendarOptions_Arg0; -typedef Literal_dx_Length_dy_Length Offset; -typedef Opt_Literal_dx_Length_dy_Length Opt_Offset; -typedef Union_CanvasRenderingContext2D_DrawingRenderingContext Type_CanvasInterface__setCanvasOptions_Arg0; -typedef Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext Opt_Type_CanvasInterface__setCanvasOptions_Arg0; -typedef Union_CanvasRenderingContext2D_DrawingRenderingContext Type_CanvasInterface__setCanvasOptions1_Arg0; -typedef Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext Opt_Type_CanvasInterface__setCanvasOptions1_Arg0; +typedef Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller Type_CalendarInterface_setCalendarOptions_Arg0; +typedef Opt_Literal_Literal_Number_year_month_day_date_MonthData_currentData_preData_nextData_Opt_CalendarController_controller Opt_Type_CalendarInterface_setCalendarOptions_Arg0; +typedef Ark_Offset Offset; +typedef Union_CanvasRenderingContext2D_DrawingRenderingContext Type_CanvasInterface_setCanvasOptions_Arg0; +typedef Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext Opt_Type_CanvasInterface_setCanvasOptions_Arg0; +typedef Union_CanvasRenderingContext2D_DrawingRenderingContext Type_CanvasInterface_setCanvasOptions1_Arg0; +typedef Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext Opt_Type_CanvasInterface_setCanvasOptions1_Arg0; typedef Union_Number_String Type_CommonShapeMethod_strokeDashOffset_Arg0; typedef Opt_Union_Number_String Opt_Type_CommonShapeMethod_strokeDashOffset_Arg0; typedef Union_Number_String Type_CommonShapeMethod_strokeMiterLimit_Arg0; @@ -7418,24 +8256,23 @@ typedef Union_Number_String_Resource Type_CommonShapeMethod_strokeOpacity_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_CommonShapeMethod_strokeOpacity_Arg0; typedef Union_Number_String_Resource Type_CommonShapeMethod_fillOpacity_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_CommonShapeMethod_fillOpacity_Arg0; -typedef Literal_space_Opt_Union_String_Number Type_ColumnInterface__setColumnOptions_Arg0; -typedef Opt_Literal_space_Opt_Union_String_Number Opt_Type_ColumnInterface__setColumnOptions_Arg0; +typedef Literal_Opt_Union_String_Number_space Type_ColumnInterface_setColumnOptions_Arg0; +typedef Opt_Literal_Opt_Union_String_Number_space Opt_Type_ColumnInterface_setColumnOptions_Arg0; typedef Union_ColumnSplitDividerStyle_Ark_Undefined Type_ColumnSplitAttribute_divider_Arg0; typedef Opt_Union_ColumnSplitDividerStyle_Undefined Opt_Type_ColumnSplitAttribute_divider_Arg0; -typedef Array_Union_Union_Color_Number_String_Resource_LinearGradient Array_Union_ResourceColor_LinearGradient; -typedef Opt_Array_Union_Union_Color_Number_String_Resource_LinearGradient Opt_Array_Union_ResourceColor_LinearGradient; +typedef Array_Union_Ark_ResourceColor_LinearGradient Array_Union_ResourceColor_LinearGradient; typedef Union_Number_String Type_DividerAttribute_strokeWidth_Arg0; typedef Opt_Union_Number_String Opt_Type_DividerAttribute_strokeWidth_Arg0; -typedef Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number Type_EllipseInterface__setEllipseOptions_Arg0; -typedef Opt_Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number Opt_Type_EllipseInterface__setEllipseOptions_Arg0; -typedef Literal_upperItems_Opt_Array_String Type_FolderStackInterface__setFolderStackOptions_Arg0; -typedef Opt_Literal_upperItems_Opt_Array_String Opt_Type_FolderStackInterface__setFolderStackOptions_Arg0; -typedef Literal_width_Number_height_Number Type_FormComponentAttribute_size_Arg0; -typedef Opt_Literal_width_Number_height_Number Opt_Type_FormComponentAttribute_size_Arg0; -typedef Literal_value_Number_min_Opt_Number_max_Opt_Number Type_GaugeInterface__setGaugeOptions_Arg0; -typedef Opt_Literal_value_Number_min_Opt_Number_max_Opt_Number Opt_Type_GaugeInterface__setGaugeOptions_Arg0; -typedef Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number Type_GaugeAttribute_colors_Arg0; -typedef Opt_Union_Union_Color_Number_String_Resource_LinearGradient_Array_Tuple_Union_Union_Color_Number_String_Resource_LinearGradient_Number Opt_Type_GaugeAttribute_colors_Arg0; +typedef Literal_Opt_Union_String_Number_width_height Type_EllipseInterface_setEllipseOptions_Arg0; +typedef Opt_Literal_Opt_Union_String_Number_width_height Opt_Type_EllipseInterface_setEllipseOptions_Arg0; +typedef Literal_Opt_Array_String_upperItems Type_FolderStackInterface_setFolderStackOptions_Arg0; +typedef Opt_Literal_Opt_Array_String_upperItems Opt_Type_FolderStackInterface_setFolderStackOptions_Arg0; +typedef Literal_Number_width_height Type_FormComponentAttribute_size_Arg0; +typedef Opt_Literal_Number_width_height Opt_Type_FormComponentAttribute_size_Arg0; +typedef Literal_Number_value_Opt_Number_min_max Type_GaugeInterface_setGaugeOptions_Arg0; +typedef Opt_Literal_Number_value_Opt_Number_min_max Opt_Type_GaugeInterface_setGaugeOptions_Arg0; +typedef Union_Ark_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number Type_GaugeAttribute_colors_Arg0; +typedef Opt_Union_ResourceColor_LinearGradient_Array_Tuple_Union_Ark_ResourceColor_LinearGradient_Number Opt_Type_GaugeAttribute_colors_Arg0; typedef Union_Color_Number_String Type_ScrollableCommonMethod_scrollBarColor_Arg0; typedef Opt_Union_Color_Number_String Opt_Type_ScrollableCommonMethod_scrollBarColor_Arg0; typedef Union_Number_String Type_ScrollableCommonMethod_scrollBarWidth_Arg0; @@ -7454,92 +8291,92 @@ typedef Union_Number_GridColColumnOption Type_GridColAttribute_gridColOffset_Arg typedef Opt_Union_Number_GridColColumnOption Opt_Type_GridColAttribute_gridColOffset_Arg0; typedef Union_Number_GridColColumnOption Type_GridColAttribute_order_Arg0; typedef Opt_Union_Number_GridColColumnOption Opt_Type_GridColAttribute_order_Arg0; -typedef Union_String_Resource Type_HyperlinkInterface__setHyperlinkOptions_Arg0; -typedef Opt_Union_String_Resource Opt_Type_HyperlinkInterface__setHyperlinkOptions_Arg0; -typedef Union_String_Resource Type_HyperlinkInterface__setHyperlinkOptions_Arg1; -typedef Opt_Union_String_Resource Opt_Type_HyperlinkInterface__setHyperlinkOptions_Arg1; +typedef Union_String_Resource Type_HyperlinkInterface_setHyperlinkOptions_Arg0; +typedef Opt_Union_String_Resource Opt_Type_HyperlinkInterface_setHyperlinkOptions_Arg0; +typedef Union_String_Resource Type_HyperlinkInterface_setHyperlinkOptions_Arg1; +typedef Opt_Union_String_Resource Opt_Type_HyperlinkInterface_setHyperlinkOptions_Arg1; typedef Union_Color_Number_String_Resource Type_HyperlinkAttribute_color_Arg0; typedef Opt_Union_Color_Number_String_Resource Opt_Type_HyperlinkAttribute_color_Arg0; -typedef Union_CustomObject_Union_String_Resource_CustomObject Type_ImageInterface__setImageOptions_Arg0; -typedef Opt_Union_CustomObject_Union_String_Resource_CustomObject Opt_Type_ImageInterface__setImageOptions_Arg0; -typedef Union_CustomObject_Union_String_Resource_CustomObject_ImageContent Type_ImageInterface__setImageOptions1_Arg0; -typedef Opt_Union_CustomObject_Union_String_Resource_CustomObject_ImageContent Opt_Type_ImageInterface__setImageOptions1_Arg0; -typedef Union_CustomObject_Union_String_Resource_CustomObject Type_ImageInterface__setImageOptions2_Arg0; -typedef Opt_Union_CustomObject_Union_String_Resource_CustomObject Opt_Type_ImageInterface__setImageOptions2_Arg0; +typedef Union_CustomObject_Ark_ResourceStr_CustomObject Type_ImageInterface_setImageOptions_Arg0; +typedef Opt_Union_CustomObject_ResourceStr_CustomObject Opt_Type_ImageInterface_setImageOptions_Arg0; +typedef Union_CustomObject_Ark_ResourceStr_CustomObject_ImageContent Type_ImageInterface_setImageOptions1_Arg0; +typedef Opt_Union_CustomObject_ResourceStr_CustomObject_ImageContent Opt_Type_ImageInterface_setImageOptions1_Arg0; +typedef Union_CustomObject_Ark_ResourceStr_CustomObject Type_ImageInterface_setImageOptions2_Arg0; +typedef Opt_Union_CustomObject_ResourceStr_CustomObject Opt_Type_ImageInterface_setImageOptions2_Arg0; typedef Union_String_Resource_CustomObject Type_ImageAttribute_alt_Arg0; typedef Opt_Union_String_Resource_CustomObject Opt_Type_ImageAttribute_alt_Arg0; -typedef Literal_width_Number_height_Number Type_ImageAttribute_sourceSize_Arg0; -typedef Opt_Literal_width_Number_height_Number Opt_Type_ImageAttribute_sourceSize_Arg0; +typedef Literal_Number_width_height Type_ImageAttribute_sourceSize_Arg0; +typedef Opt_Literal_Number_width_height Opt_Type_ImageAttribute_sourceSize_Arg0; typedef Union_ColorFilter_CustomObject Type_ImageAttribute_colorFilter_Arg0; typedef Opt_Union_ColorFilter_CustomObject Opt_Type_ImageAttribute_colorFilter_Arg0; typedef Ark_CustomObject ResolutionQuality; typedef Opt_CustomObject Opt_ResolutionQuality; -typedef Union_Union_String_Resource_CustomObject Type_ImageSpanInterface__setImageSpanOptions_Arg0; -typedef Opt_Union_Union_String_Resource_CustomObject Opt_Type_ImageSpanInterface__setImageSpanOptions_Arg0; +typedef Union_Ark_ResourceStr_CustomObject Type_ImageSpanInterface_setImageSpanOptions_Arg0; +typedef Opt_Union_ResourceStr_CustomObject Opt_Type_ImageSpanInterface_setImageSpanOptions_Arg0; typedef Union_ColorFilter_CustomObject Type_ImageSpanAttribute_colorFilter_Arg0; typedef Opt_Union_ColorFilter_CustomObject Opt_Type_ImageSpanAttribute_colorFilter_Arg0; typedef Ark_CustomObject PixelMap; typedef Opt_CustomObject Opt_PixelMap; -typedef Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number Type_LineInterface__setLineOptions_Arg0; -typedef Opt_Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number Opt_Type_LineInterface__setLineOptions_Arg0; -typedef Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller Type_ListInterface__setListOptions_Arg0; -typedef Opt_Literal_initialIndex_Opt_Number_space_Opt_Union_Number_String_scroller_Opt_Scroller Opt_Type_ListInterface__setListOptions_Arg0; -typedef Union_Number_Literal_minLength_Length_maxLength_Length Type_ListAttribute_lanes_Arg0; -typedef Opt_Union_Number_Literal_minLength_Length_maxLength_Length Opt_Type_ListAttribute_lanes_Arg0; -typedef Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Ark_Undefined Type_ListAttribute_divider_Arg0; -typedef Opt_Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Undefined Opt_Type_ListAttribute_divider_Arg0; +typedef Literal_Opt_Union_String_Number_width_height Type_LineInterface_setLineOptions_Arg0; +typedef Opt_Literal_Opt_Union_String_Number_width_height Opt_Type_LineInterface_setLineOptions_Arg0; +typedef Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller Type_ListInterface_setListOptions_Arg0; +typedef Opt_Literal_Opt_Number_initialIndex_Opt_Union_Number_String_space_Opt_Scroller_scroller Opt_Type_ListInterface_setListOptions_Arg0; +typedef Union_Number_Ark_LengthConstrain Type_ListAttribute_lanes_Arg0; +typedef Opt_Union_Number_LengthConstrain Opt_Type_ListAttribute_lanes_Arg0; +typedef Union_Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined Type_ListAttribute_divider_Arg0; +typedef Opt_Union_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined Opt_Type_ListAttribute_divider_Arg0; typedef Union_Number_Resource Type_ListAttribute_friction_Arg0; typedef Opt_Union_Number_Resource Opt_Type_ListAttribute_friction_Arg0; typedef Union_Boolean_EditMode Type_ListItemAttribute_editable_Arg0; typedef Opt_Union_Boolean_EditMode Opt_Type_ListItemAttribute_editable_Arg0; -typedef Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Ark_Undefined Type_ListItemGroupAttribute_divider_Arg0; -typedef Opt_Union_Literal_strokeWidth_Length_color_Opt_Union_Color_Number_String_Resource_startMargin_Opt_Length_endMargin_Opt_Length_Undefined Opt_Type_ListItemGroupAttribute_divider_Arg0; +typedef Union_Literal_Length_strokeWidth_Ark_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined Type_ListItemGroupAttribute_divider_Arg0; +typedef Opt_Union_Literal_Length_strokeWidth_ResourceColor_color_Opt_Length_startMargin_endMargin_Ark_Undefined Opt_Type_ListItemGroupAttribute_divider_Arg0; typedef Union_Position_Edges_LocalizedEdges Type_SecurityComponentMethod_offset_Arg0; typedef Opt_Union_Position_Edges_LocalizedEdges Opt_Type_SecurityComponentMethod_offset_Arg0; typedef Union_Number_FontWeight_String Type_SecurityComponentMethod_fontWeight_Arg0; typedef Opt_Union_Number_FontWeight_String Opt_Type_SecurityComponentMethod_fontWeight_Arg0; typedef Union_String_Resource Type_SecurityComponentMethod_fontFamily_Arg0; typedef Opt_Union_String_Resource Opt_Type_SecurityComponentMethod_fontFamily_Arg0; -typedef Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length Type_SecurityComponentMethod_padding_Arg0; -typedef Opt_Union_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length_Length Opt_Type_SecurityComponentMethod_padding_Arg0; -typedef Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String Type_MarqueeInterface__setMarqueeOptions_Arg0; -typedef Opt_Literal_start_Boolean_step_Opt_Number_loop_Opt_Number_fromStart_Opt_Boolean_src_String Opt_Type_MarqueeInterface__setMarqueeOptions_Arg0; +typedef Union_Ark_Padding_Length Type_SecurityComponentMethod_padding_Arg0; +typedef Opt_Union_Padding_Length Opt_Type_SecurityComponentMethod_padding_Arg0; +typedef Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src Type_MarqueeInterface_setMarqueeOptions_Arg0; +typedef Opt_Literal_Boolean_start_Opt_Number_step_loop_Opt_Boolean_fromStart_String_src Opt_Type_MarqueeInterface_setMarqueeOptions_Arg0; typedef Union_Number_FontWeight_String Type_MarqueeAttribute_fontWeight_Arg0; typedef Opt_Union_Number_FontWeight_String Opt_Type_MarqueeAttribute_fontWeight_Arg0; typedef Union_String_Resource Type_MarqueeAttribute_fontFamily_Arg0; typedef Opt_Union_String_Resource Opt_Type_MarqueeAttribute_fontFamily_Arg0; -typedef Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource Type_MediaCachedImageInterface__setMediaCachedImageOptions_Arg0; -typedef Opt_Union_CustomObject_Union_String_Resource_CustomObject_ASTCResource Opt_Type_MediaCachedImageInterface__setMediaCachedImageOptions_Arg0; -typedef Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length Type_MenuAttribute_radius_Arg0; -typedef Opt_Union_Length_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length Opt_Type_MenuAttribute_radius_Arg0; +typedef Union_CustomObject_Ark_ResourceStr_CustomObject_ASTCResource Type_MediaCachedImageInterface_setMediaCachedImageOptions_Arg0; +typedef Opt_Union_CustomObject_ResourceStr_CustomObject_ASTCResource Opt_Type_MediaCachedImageInterface_setMediaCachedImageOptions_Arg0; +typedef Union_Length_Ark_BorderRadiuses Type_MenuAttribute_radius_Arg0; +typedef Opt_Union_Length_BorderRadiuses Opt_Type_MenuAttribute_radius_Arg0; typedef Union_DividerStyleOptions_Undefined Type_MenuAttribute_menuItemDivider_Arg0; typedef Opt_Union_DividerStyleOptions_Undefined Opt_Type_MenuAttribute_menuItemDivider_Arg0; typedef Union_DividerStyleOptions_Undefined Type_MenuAttribute_menuItemGroupDivider_Arg0; typedef Opt_Union_DividerStyleOptions_Undefined Opt_Type_MenuAttribute_menuItemGroupDivider_Arg0; -typedef Union_MenuItemOptions_Union_Function_Undefined Type_MenuItemInterface__setMenuItemOptions_Arg0; -typedef Opt_Union_MenuItemOptions_Union_Function_Undefined Opt_Type_MenuItemInterface__setMenuItemOptions_Arg0; -typedef Union_Boolean_Union_String_Resource_CustomObject Type_MenuItemAttribute_selectIcon_Arg0; -typedef Opt_Union_Boolean_Union_String_Resource_CustomObject Opt_Type_MenuItemAttribute_selectIcon_Arg0; -typedef Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle Type_NavDestinationAttribute_title_Arg0; -typedef Opt_Union_String_Union_Function_Undefined_NavDestinationCommonTitle_NavDestinationCustomTitle Opt_Type_NavDestinationAttribute_title_Arg0; -typedef Union_Union_String_Resource_CustomObject_CustomObject Type_NavDestinationAttribute_backButtonIcon_Arg0; -typedef Opt_Union_Union_String_Resource_CustomObject_CustomObject Opt_Type_NavDestinationAttribute_backButtonIcon_Arg0; -typedef Union_Array_NavigationMenuItem_Union_Function_Undefined Type_NavDestinationAttribute_menus_Arg0; -typedef Opt_Union_Array_NavigationMenuItem_Union_Function_Undefined Opt_Type_NavDestinationAttribute_menus_Arg0; +typedef Union_MenuItemOptions_Ark_CustomBuilder Type_MenuItemInterface_setMenuItemOptions_Arg0; +typedef Opt_Union_MenuItemOptions_CustomBuilder Opt_Type_MenuItemInterface_setMenuItemOptions_Arg0; +typedef Union_Boolean_Ark_ResourceStr_CustomObject Type_MenuItemAttribute_selectIcon_Arg0; +typedef Opt_Union_Boolean_ResourceStr_CustomObject Opt_Type_MenuItemAttribute_selectIcon_Arg0; +typedef Union_String_Ark_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle Type_NavDestinationAttribute_title_Arg0; +typedef Opt_Union_String_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle Opt_Type_NavDestinationAttribute_title_Arg0; +typedef Union_Ark_ResourceStr_CustomObject_CustomObject Type_NavDestinationAttribute_backButtonIcon_Arg0; +typedef Opt_Union_ResourceStr_CustomObject_CustomObject Opt_Type_NavDestinationAttribute_backButtonIcon_Arg0; +typedef Union_Array_NavigationMenuItem_Ark_CustomBuilder Type_NavDestinationAttribute_menus_Arg0; +typedef Opt_Union_Array_NavigationMenuItem_CustomBuilder Opt_Type_NavDestinationAttribute_menus_Arg0; typedef Tuple_Length_Length Type_NavigationAttribute_navBarWidthRange_Arg0; typedef Opt_Tuple_Length_Length Opt_Type_NavigationAttribute_navBarWidthRange_Arg0; typedef Union_String_CustomObject_Resource_CustomObject Type_NavigationAttribute_backButtonIcon_Arg0; typedef Opt_Union_String_CustomObject_Resource_CustomObject Opt_Type_NavigationAttribute_backButtonIcon_Arg0; -typedef Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle Type_NavigationAttribute_title_Arg0; -typedef Opt_Union_Union_String_Resource_Union_Function_Undefined_NavigationCommonTitle_NavigationCustomTitle Opt_Type_NavigationAttribute_title_Arg0; -typedef Union_Array_NavigationMenuItem_Union_Function_Undefined Type_NavigationAttribute_menus_Arg0; -typedef Opt_Union_Array_NavigationMenuItem_Union_Function_Undefined Opt_Type_NavigationAttribute_menus_Arg0; -typedef Union_CustomObject_Union_Function_Undefined Type_NavigationAttribute_toolBar_Arg0; -typedef Opt_Union_CustomObject_Union_Function_Undefined Opt_Type_NavigationAttribute_toolBar_Arg0; -typedef Union_Array_ToolbarItem_Union_Function_Undefined Type_NavigationAttribute_toolbarConfiguration_Arg0; -typedef Opt_Union_Array_ToolbarItem_Union_Function_Undefined Opt_Type_NavigationAttribute_toolbarConfiguration_Arg0; -typedef Literal_target_String_type_Opt_NavigationType Type_NavigatorInterface__setNavigatorOptions_Arg0; -typedef Opt_Literal_target_String_type_Opt_NavigationType Opt_Type_NavigatorInterface__setNavigatorOptions_Arg0; +typedef Union_Ark_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle Type_NavigationAttribute_title_Arg0; +typedef Opt_Union_ResourceStr_Ark_CustomBuilder_NavigationCommonTitle_NavigationCustomTitle Opt_Type_NavigationAttribute_title_Arg0; +typedef Union_Array_NavigationMenuItem_Ark_CustomBuilder Type_NavigationAttribute_menus_Arg0; +typedef Opt_Union_Array_NavigationMenuItem_CustomBuilder Opt_Type_NavigationAttribute_menus_Arg0; +typedef Union_CustomObject_Ark_CustomBuilder Type_NavigationAttribute_toolBar_Arg0; +typedef Opt_Union_CustomObject_CustomBuilder Opt_Type_NavigationAttribute_toolBar_Arg0; +typedef Union_Array_ToolbarItem_Ark_CustomBuilder Type_NavigationAttribute_toolbarConfiguration_Arg0; +typedef Opt_Union_Array_ToolbarItem_CustomBuilder Opt_Type_NavigationAttribute_toolbarConfiguration_Arg0; +typedef Literal_String_target_Opt_NavigationType_type Type_NavigatorInterface_setNavigatorOptions_Arg0; +typedef Opt_Literal_String_target_Opt_NavigationType_type Opt_Type_NavigatorInterface_setNavigatorOptions_Arg0; typedef Union_Length_PanelHeight Type_PanelAttribute_customHeight_Arg0; typedef Opt_Union_Length_PanelHeight Opt_Type_PanelAttribute_customHeight_Arg0; typedef Union_Number_String Type_PanelAttribute_fullHeight_Arg0; @@ -7548,24 +8385,24 @@ typedef Union_Number_String Type_PanelAttribute_halfHeight_Arg0; typedef Opt_Union_Number_String Opt_Type_PanelAttribute_halfHeight_Arg0; typedef Union_Number_String Type_PanelAttribute_miniHeight_Arg0; typedef Opt_Union_Number_String Opt_Type_PanelAttribute_miniHeight_Arg0; -typedef Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String Type_PathInterface__setPathOptions_Arg0; -typedef Opt_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_commands_Opt_String Opt_Type_PathInterface__setPathOptions_Arg0; +typedef Literal_Opt_Union_Number_String_width_height_Opt_String_commands Type_PathInterface_setPathOptions_Arg0; +typedef Opt_Literal_Opt_Union_Number_String_width_height_Opt_String_commands Opt_Type_PathInterface_setPathOptions_Arg0; typedef Union_Number_String Type_PatternLockAttribute_pathStrokeWidth_Arg0; typedef Opt_Union_Number_String Opt_Type_PatternLockAttribute_pathStrokeWidth_Arg0; -typedef Literal_template_PluginComponentTemplate_data_CustomObject Type_PluginComponentInterface__setPluginComponentOptions_Arg0; -typedef Opt_Literal_template_PluginComponentTemplate_data_CustomObject Opt_Type_PluginComponentInterface__setPluginComponentOptions_Arg0; -typedef Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number Type_PolygonInterface__setPolygonOptions_Arg0; -typedef Opt_Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number Opt_Type_PolygonInterface__setPolygonOptions_Arg0; -typedef Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number Type_PolylineInterface__setPolylineOptions_Arg0; -typedef Opt_Literal_width_Opt_Union_String_Number_height_Opt_Union_String_Number Opt_Type_PolylineInterface__setPolylineOptions_Arg0; +typedef Literal_PluginComponentTemplate_template_CustomObject_data Type_PluginComponentInterface_setPluginComponentOptions_Arg0; +typedef Opt_Literal_PluginComponentTemplate_template_CustomObject_data Opt_Type_PluginComponentInterface_setPluginComponentOptions_Arg0; +typedef Literal_Opt_Union_String_Number_width_height Type_PolygonInterface_setPolygonOptions_Arg0; +typedef Opt_Literal_Opt_Union_String_Number_width_height Opt_Type_PolygonInterface_setPolygonOptions_Arg0; +typedef Literal_Opt_Union_String_Number_width_height Type_PolylineInterface_setPolylineOptions_Arg0; +typedef Opt_Literal_Opt_Union_String_Number_width_height Opt_Type_PolylineInterface_setPolylineOptions_Arg0; typedef Union_Number_Resource Type_QRCodeAttribute_contentOpacity_Arg0; typedef Opt_Union_Number_Resource Opt_Type_QRCodeAttribute_contentOpacity_Arg0; -typedef Literal_rating_Number_indicator_Opt_Boolean Type_RatingInterface__setRatingOptions_Arg0; -typedef Opt_Literal_rating_Number_indicator_Opt_Boolean Opt_Type_RatingInterface__setRatingOptions_Arg0; -typedef Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String Type_RatingAttribute_starStyle_Arg0; -typedef Opt_Literal_backgroundUri_String_foregroundUri_String_secondaryUri_Opt_String Opt_Type_RatingAttribute_starStyle_Arg0; -typedef Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String Type_RectInterface__setRectOptions_Arg0; -typedef Opt_Union_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radius_Opt_Union_Number_String_Array_CustomObject_Literal_width_Opt_Union_Number_String_height_Opt_Union_Number_String_radiusWidth_Opt_Union_Number_String_radiusHeight_Opt_Union_Number_String Opt_Type_RectInterface__setRectOptions_Arg0; +typedef Literal_Number_rating_Opt_Boolean_indicator Type_RatingInterface_setRatingOptions_Arg0; +typedef Opt_Literal_Number_rating_Opt_Boolean_indicator Opt_Type_RatingInterface_setRatingOptions_Arg0; +typedef Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri Type_RatingAttribute_starStyle_Arg0; +typedef Opt_Literal_String_backgroundUri_foregroundUri_Opt_String_secondaryUri Opt_Type_RatingAttribute_starStyle_Arg0; +typedef Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight Type_RectInterface_setRectOptions_Arg0; +typedef Opt_Union_Literal_Opt_Union_Number_String_width_height_Opt_Union_Number_String_Array_CustomObject_radius_Literal_Opt_Union_Number_String_width_height_radiusWidth_radiusHeight Opt_Type_RectInterface_setRectOptions_Arg0; typedef Union_Number_String Type_RectAttribute_radiusWidth_Arg0; typedef Opt_Union_Number_String Opt_Type_RectAttribute_radiusWidth_Arg0; typedef Union_Number_String Type_RectAttribute_radiusHeight_Arg0; @@ -7574,16 +8411,16 @@ typedef Union_Number_String_Array_CustomObject Type_RectAttribute_radius_Arg0; typedef Opt_Union_Number_String_Array_CustomObject Opt_Type_RectAttribute_radius_Arg0; typedef Union_ResponseType_RichEditorResponseType Type_RichEditorAttribute_bindSelectionMenu_Arg2; typedef Opt_Union_ResponseType_RichEditorResponseType Opt_Type_RichEditorAttribute_bindSelectionMenu_Arg2; -typedef Literal_space_Opt_Union_String_Number Type_RowInterface__setRowOptions_Arg0; -typedef Opt_Literal_space_Opt_Union_String_Number Opt_Type_RowInterface__setRowOptions_Arg0; +typedef Literal_Opt_Union_String_Number_space Type_RowInterface_setRowOptions_Arg0; +typedef Opt_Literal_Opt_Union_String_Number_space Opt_Type_RowInterface_setRowOptions_Arg0; typedef Union_Color_Number_String Type_ScrollAttribute_scrollBarColor_Arg0; typedef Opt_Union_Color_Number_String Opt_Type_ScrollAttribute_scrollBarColor_Arg0; typedef Union_Number_String Type_ScrollAttribute_scrollBarWidth_Arg0; typedef Opt_Union_Number_String Opt_Type_ScrollAttribute_scrollBarWidth_Arg0; typedef Union_Number_Resource Type_ScrollAttribute_friction_Arg0; typedef Opt_Union_Number_Resource Opt_Type_ScrollAttribute_friction_Arg0; -typedef Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController Type_SearchInterface__setSearchOptions_Arg0; -typedef Opt_Literal_value_Opt_String_placeholder_Opt_Union_String_Resource_icon_Opt_String_controller_Opt_SearchController Opt_Type_SearchInterface__setSearchOptions_Arg0; +typedef Literal_Opt_String_value_icon_Ark_ResourceStr_placeholder_Opt_SearchController_controller Type_SearchInterface_setSearchOptions_Arg0; +typedef Opt_Literal_Opt_String_value_icon_ResourceStr_placeholder_Opt_SearchController_controller Opt_Type_SearchInterface_setSearchOptions_Arg0; typedef Union_IconOptions_CustomObject Type_SearchAttribute_searchIcon_Arg0; typedef Opt_Union_IconOptions_CustomObject Opt_Type_SearchAttribute_searchIcon_Arg0; typedef Union_CancelButtonOptions_CancelButtonSymbolOptions Type_SearchAttribute_cancelButton_Arg0; @@ -7604,8 +8441,8 @@ typedef Union_Length_OptionWidthMode Type_SelectAttribute_optionWidth_Arg0; typedef Opt_Union_Length_OptionWidthMode Opt_Type_SelectAttribute_optionWidth_Arg0; typedef Union_Opt_DividerOptions_Ark_Undefined Type_SelectAttribute_divider_Arg0; typedef Opt_Union_Opt_DividerOptions_Undefined Opt_Type_SelectAttribute_divider_Arg0; -typedef Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String Type_ShapeAttribute_viewPort_Arg0; -typedef Opt_Literal_x_Opt_Union_Number_String_y_Opt_Union_Number_String_width_Opt_Union_Number_String_height_Opt_Union_Number_String Opt_Type_ShapeAttribute_viewPort_Arg0; +typedef Literal_Opt_Union_Number_String_x_y_width_height Type_ShapeAttribute_viewPort_Arg0; +typedef Opt_Literal_Opt_Union_Number_String_x_y_width_height Opt_Type_ShapeAttribute_viewPort_Arg0; typedef Union_Number_String Type_ShapeAttribute_strokeDashOffset_Arg0; typedef Opt_Union_Number_String Opt_Type_ShapeAttribute_strokeDashOffset_Arg0; typedef Union_Number_String Type_ShapeAttribute_strokeMiterLimit_Arg0; @@ -7616,10 +8453,10 @@ typedef Union_Number_String_Resource Type_ShapeAttribute_fillOpacity_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_ShapeAttribute_fillOpacity_Arg0; typedef Union_Number_String Type_ShapeAttribute_strokeWidth_Arg0; typedef Opt_Union_Number_String Opt_Type_ShapeAttribute_strokeWidth_Arg0; -typedef Union_Union_Color_Number_String_Resource_LinearGradient Type_SliderAttribute_trackColor_Arg0; -typedef Opt_Union_Union_Color_Number_String_Resource_LinearGradient Opt_Type_SliderAttribute_trackColor_Arg0; -typedef Union_String_Resource Type_SpanInterface__setSpanOptions_Arg0; -typedef Opt_Union_String_Resource Opt_Type_SpanInterface__setSpanOptions_Arg0; +typedef Union_Ark_ResourceColor_LinearGradient Type_SliderAttribute_trackColor_Arg0; +typedef Opt_Union_ResourceColor_LinearGradient Opt_Type_SliderAttribute_trackColor_Arg0; +typedef Union_String_Resource Type_SpanInterface_setSpanOptions_Arg0; +typedef Opt_Union_String_Resource Opt_Type_SpanInterface_setSpanOptions_Arg0; typedef Union_Number_String_Resource Type_SpanAttribute_fontSize_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_SpanAttribute_fontSize_Arg0; typedef Union_Number_FontWeight_String Type_SpanAttribute_fontWeight_Arg0; @@ -7630,40 +8467,39 @@ typedef Union_Number_String Type_SpanAttribute_letterSpacing_Arg0; typedef Opt_Union_Number_String Opt_Type_SpanAttribute_letterSpacing_Arg0; typedef Union_ShadowOptions_Array_ShadowOptions Type_SpanAttribute_textShadow_Arg0; typedef Opt_Union_ShadowOptions_Array_ShadowOptions Opt_Type_SpanAttribute_textShadow_Arg0; -typedef Literal_alignContent_Opt_Alignment Type_StackInterface__setStackOptions_Arg0; -typedef Opt_Literal_alignContent_Opt_Alignment Opt_Type_StackInterface__setStackOptions_Arg0; -typedef Literal_index_Opt_Number Type_StepperInterface__setStepperOptions_Arg0; -typedef Opt_Literal_index_Opt_Number Opt_Type_StepperInterface__setStepperOptions_Arg0; +typedef Literal_Opt_Alignment_alignContent Type_StackInterface_setStackOptions_Arg0; +typedef Opt_Literal_Opt_Alignment_alignContent Opt_Type_StackInterface_setStackOptions_Arg0; +typedef Literal_Opt_Number_index Type_StepperInterface_setStepperOptions_Arg0; +typedef Opt_Literal_Opt_Number_index Opt_Type_StepperInterface_setStepperOptions_Arg0; typedef Union_DotIndicator_DigitIndicator_Boolean Type_SwiperAttribute_indicator_Arg0; typedef Opt_Union_DotIndicator_DigitIndicator_Boolean Opt_Type_SwiperAttribute_indicator_Arg0; typedef Union_ArrowStyle_Boolean Type_SwiperAttribute_displayArrow_Arg0; typedef Opt_Union_ArrowStyle_Boolean Opt_Type_SwiperAttribute_displayArrow_Arg0; typedef Union_Number_String Type_SwiperAttribute_itemSpace_Arg0; typedef Opt_Union_Number_String Opt_Type_SwiperAttribute_itemSpace_Arg0; -typedef Union_Number_String_Literal_minSize_Union_String_Number Type_SwiperAttribute_displayCount_Arg0; -typedef Opt_Union_Number_String_Literal_minSize_Union_String_Number Opt_Type_SwiperAttribute_displayCount_Arg0; +typedef Union_Number_String_Ark_SwiperAutoFill Type_SwiperAttribute_displayCount_Arg0; +typedef Opt_Union_Number_String_SwiperAutoFill Opt_Type_SwiperAttribute_displayCount_Arg0; typedef Union_Curve_String_ICurve Type_SwiperAttribute_curve_Arg0; typedef Opt_Union_Curve_String_ICurve Opt_Type_SwiperAttribute_curve_Arg0; typedef Union_Number_String_Resource Type_SymbolGlyphAttribute_fontSize_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_SymbolGlyphAttribute_fontSize_Arg0; -typedef Array_Union_Color_Number_String_Resource Array_ResourceColor; -typedef Opt_Array_Union_Color_Number_String_Resource Opt_Array_ResourceColor; +typedef Array_Ark_ResourceColor Array_ResourceColor; typedef Union_Number_FontWeight_String Type_SymbolGlyphAttribute_fontWeight_Arg0; typedef Opt_Union_Number_FontWeight_String Opt_Type_SymbolGlyphAttribute_fontWeight_Arg0; typedef Union_Number_String_Resource Type_SymbolSpanAttribute_fontSize_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_SymbolSpanAttribute_fontSize_Arg0; typedef Union_Number_FontWeight_String Type_SymbolSpanAttribute_fontWeight_Arg0; typedef Opt_Union_Number_FontWeight_String Opt_Type_SymbolSpanAttribute_fontWeight_Arg0; -typedef Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController Type_TabsInterface__setTabsOptions_Arg0; -typedef Opt_Literal_barPosition_Opt_BarPosition_index_Opt_Number_controller_Opt_TabsController Opt_Type_TabsInterface__setTabsOptions_Arg0; +typedef Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller Type_TabsInterface_setTabsOptions_Arg0; +typedef Opt_Literal_Opt_BarPosition_barPosition_Opt_Number_index_Opt_TabsController_controller Opt_Type_TabsInterface_setTabsOptions_Arg0; typedef Union_DividerStyle_Ark_Undefined Type_TabsAttribute_divider_Arg0; typedef Opt_Union_DividerStyle_Undefined Opt_Type_TabsAttribute_divider_Arg0; -typedef Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource Type_TabContentAttribute_tabBar_Arg0; -typedef Opt_Union_String_Resource_Union_Function_Undefined_Literal_icon_Opt_Union_String_Resource_text_Opt_Union_String_Resource Opt_Type_TabContentAttribute_tabBar_Arg0; +typedef Union_String_Resource_Ark_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text Type_TabContentAttribute_tabBar_Arg0; +typedef Opt_Union_String_Resource_CustomBuilder_Literal_Opt_Union_String_Resource_icon_text Opt_Type_TabContentAttribute_tabBar_Arg0; typedef Union_SubTabBarStyle_BottomTabBarStyle Type_TabContentAttribute_tabBar1_Arg0; typedef Opt_Union_SubTabBarStyle_BottomTabBarStyle Opt_Type_TabContentAttribute_tabBar1_Arg0; -typedef Union_String_Resource Type_TextInterface__setTextOptions_Arg0; -typedef Opt_Union_String_Resource Opt_Type_TextInterface__setTextOptions_Arg0; +typedef Union_String_Resource Type_TextInterface_setTextOptions_Arg0; +typedef Opt_Union_String_Resource Opt_Type_TextInterface_setTextOptions_Arg0; typedef Union_Number_String_Resource Type_TextAttribute_fontSize_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_TextAttribute_fontSize_Arg0; typedef Union_Number_String_Resource Type_TextAttribute_minFontSize_Arg0; @@ -7678,8 +8514,8 @@ typedef Union_Number_FontWeight_String Type_TextAttribute_fontWeight_Arg0; typedef Opt_Union_Number_FontWeight_String Opt_Type_TextAttribute_fontWeight_Arg0; typedef Union_Number_String_Resource Type_TextAttribute_lineHeight_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_TextAttribute_lineHeight_Arg0; -typedef Literal_overflow_TextOverflow Type_TextAttribute_textOverflow_Arg0; -typedef Opt_Literal_overflow_TextOverflow Opt_Type_TextAttribute_textOverflow_Arg0; +typedef Literal_TextOverflow_overflow Type_TextAttribute_textOverflow_Arg0; +typedef Opt_Literal_TextOverflow_overflow Opt_Type_TextAttribute_textOverflow_Arg0; typedef Union_String_Resource Type_TextAttribute_fontFamily_Arg0; typedef Opt_Union_String_Resource Opt_Type_TextAttribute_fontFamily_Arg0; typedef Union_Number_String Type_TextAttribute_letterSpacing_Arg0; @@ -7698,8 +8534,8 @@ typedef Union_Number_String_Resource Type_TextAreaAttribute_letterSpacing_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_TextAreaAttribute_letterSpacing_Arg0; typedef Union_Number_String_Resource Type_TextAreaAttribute_lineHeight_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_TextAreaAttribute_lineHeight_Arg0; -typedef Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController Type_TextClockInterface__setTextClockOptions_Arg0; -typedef Opt_Literal_timeZoneOffset_Opt_Number_controller_Opt_TextClockController Opt_Type_TextClockInterface__setTextClockOptions_Arg0; +typedef Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller Type_TextClockInterface_setTextClockOptions_Arg0; +typedef Opt_Literal_Opt_Number_timeZoneOffset_Opt_TextClockController_controller Opt_Type_TextClockInterface_setTextClockOptions_Arg0; typedef Union_Number_FontWeight_String Type_TextClockAttribute_fontWeight_Arg0; typedef Opt_Union_Number_FontWeight_String Opt_Type_TextClockAttribute_fontWeight_Arg0; typedef Union_ShadowOptions_Array_ShadowOptions Type_TextClockAttribute_textShadow_Arg0; @@ -7708,12 +8544,12 @@ typedef Union_Number_FontWeight_String Type_TextInputAttribute_fontWeight_Arg0; typedef Opt_Union_Number_FontWeight_String Opt_Type_TextInputAttribute_fontWeight_Arg0; typedef Union_TextInputStyle_TextContentStyle Type_TextInputAttribute_style_Arg0; typedef Opt_Union_TextInputStyle_TextContentStyle Opt_Type_TextInputAttribute_style_Arg0; -typedef Union_Union_String_Resource_Undefined Type_TextInputAttribute_showError_Arg0; -typedef Opt_Union_Union_String_Resource_Undefined Opt_Type_TextInputAttribute_showError_Arg0; -typedef Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined Type_TextInputAttribute_underlineColor_Arg0; -typedef Opt_Union_Union_Color_Number_String_Resource_UnderlineColor_Undefined Opt_Type_TextInputAttribute_underlineColor_Arg0; -typedef Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions Type_TextInputAttribute_cancelButton_Arg0; -typedef Opt_Literal_style_Opt_CancelButtonStyle_icon_Opt_IconOptions Opt_Type_TextInputAttribute_cancelButton_Arg0; +typedef Union_Ark_ResourceStr_Undefined Type_TextInputAttribute_showError_Arg0; +typedef Opt_Union_ResourceStr_Undefined Opt_Type_TextInputAttribute_showError_Arg0; +typedef Union_Ark_ResourceColor_UnderlineColor_Undefined Type_TextInputAttribute_underlineColor_Arg0; +typedef Opt_Union_ResourceColor_UnderlineColor_Undefined Opt_Type_TextInputAttribute_underlineColor_Arg0; +typedef Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon Type_TextInputAttribute_cancelButton_Arg0; +typedef Opt_Literal_Opt_CancelButtonStyle_style_Opt_IconOptions_icon Opt_Type_TextInputAttribute_cancelButton_Arg0; typedef Union_Number_String_Resource Type_TextInputAttribute_minFontSize_Arg0; typedef Opt_Union_Number_String_Resource Opt_Type_TextInputAttribute_minFontSize_Arg0; typedef Union_Number_String_Resource Type_TextInputAttribute_maxFontSize_Arg0; @@ -7734,70 +8570,49 @@ typedef Union_ShadowOptions_Array_ShadowOptions Type_TextTimerAttribute_textShad typedef Opt_Union_ShadowOptions_Array_ShadowOptions Opt_Type_TextTimerAttribute_textShadow_Arg0; typedef Ark_CustomObject DateTimeOptions; typedef Opt_CustomObject Opt_DateTimeOptions; -typedef Literal_type_ToggleType_isOn_Opt_Boolean Type_ToggleInterface__setToggleOptions_Arg0; -typedef Opt_Literal_type_ToggleType_isOn_Opt_Boolean Opt_Type_ToggleInterface__setToggleOptions_Arg0; -typedef Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController Type_XComponentInterface__setXComponentOptions_Arg0; -typedef Opt_Literal_id_String_type_String_libraryname_Opt_String_controller_Opt_XComponentController Opt_Type_XComponentInterface__setXComponentOptions_Arg0; -typedef Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController Type_XComponentInterface__setXComponentOptions1_Arg0; -typedef Opt_Literal_id_String_type_XComponentType_libraryname_Opt_String_controller_Opt_XComponentController Opt_Type_XComponentInterface__setXComponentOptions1_Arg0; +typedef Literal_ToggleType_type_Opt_Boolean_isOn Type_ToggleInterface_setToggleOptions_Arg0; +typedef Opt_Literal_ToggleType_type_Opt_Boolean_isOn Opt_Type_ToggleInterface_setToggleOptions_Arg0; +typedef Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller Type_XComponentInterface_setXComponentOptions_Arg0; +typedef Opt_Literal_String_id_type_Opt_String_libraryname_Opt_XComponentController_controller Opt_Type_XComponentInterface_setXComponentOptions_Arg0; +typedef Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller Type_XComponentInterface_setXComponentOptions1_Arg0; +typedef Opt_Literal_String_id_XComponentType_type_Opt_String_libraryname_Opt_XComponentController_controller Opt_Type_XComponentInterface_setXComponentOptions1_Arg0; typedef Union_DividerStyle_Ark_Undefined Type_SideBarContainerAttribute_divider_Arg0; typedef Opt_Union_DividerStyle_Undefined Opt_Type_SideBarContainerAttribute_divider_Arg0; typedef Union_Number_Resource Type_WaterFlowAttribute_friction_Arg0; typedef Opt_Union_Number_Resource Opt_Type_WaterFlowAttribute_friction_Arg0; typedef Ark_CustomObject DrawContext; typedef Opt_CustomObject Opt_DrawContext; -typedef Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number Literal_fingers_Opt_Number_direction_PanDirection_distance_Opt_Number; -typedef Opt_Literal_fingers_Opt_Number_direction_Opt_PanDirection_distance_Opt_Number Opt_Literal_fingers_Opt_Number_direction_PanDirection_distance_Opt_Number; typedef Ark_CustomObject T; typedef Opt_CustomObject Opt_T; -typedef Union_String_String_String ImageSmoothingQuality; -typedef Opt_Union_String_String_String Opt_ImageSmoothingQuality; -typedef Union_String_String_String CanvasLineCap; -typedef Opt_Union_String_String_String Opt_CanvasLineCap; -typedef Union_String_String_String CanvasLineJoin; -typedef Opt_Union_String_String_String Opt_CanvasLineJoin; -typedef Union_String_String_String CanvasDirection; -typedef Opt_Union_String_String_String Opt_CanvasDirection; -typedef Union_String_String_String_String_String CanvasTextAlign; -typedef Opt_Union_String_String_String_String_String Opt_CanvasTextAlign; -typedef Union_String_String_String_String_String_String CanvasTextBaseline; -typedef Opt_Union_String_String_String_String_String_String Opt_CanvasTextBaseline; +typedef Ark_ImageSmoothingQuality ImageSmoothingQuality; +typedef Ark_CanvasLineCap CanvasLineCap; +typedef Ark_CanvasLineJoin CanvasLineJoin; +typedef Ark_CanvasDirection CanvasDirection; +typedef Ark_CanvasTextAlign CanvasTextAlign; +typedef Ark_CanvasTextBaseline CanvasTextBaseline; typedef Union_ImageBitmap_CustomObject Union_ImageBitmap_PixelMap; typedef Opt_Union_ImageBitmap_CustomObject Opt_Union_ImageBitmap_PixelMap; -typedef Union_String_String CanvasFillRule; -typedef Opt_Union_String_String Opt_CanvasFillRule; +typedef Ark_CanvasFillRule CanvasFillRule; typedef Ark_CustomObject LengthMetricsUnit; typedef Opt_CustomObject Opt_LengthMetricsUnit; -typedef Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_Opt_ScrollAnimationOptions_Opt_Boolean; -typedef Opt_Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_ScrollAnimationOptions_Boolean Opt_Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_Opt_ScrollAnimationOptions_Opt_Boolean; -typedef Literal_next_Boolean_direction_Opt_Axis Literal_next_Boolean_direction_Axis; -typedef Opt_Literal_next_Boolean_direction_Opt_Axis Opt_Literal_next_Boolean_direction_Axis; -typedef Union_CustomObject_Union_String_Resource Union_PixelMap_ResourceStr; -typedef Opt_Union_CustomObject_Union_String_Resource Opt_Union_PixelMap_ResourceStr; +typedef Union_CustomObject_Ark_ResourceStr Union_PixelMap_ResourceStr; +typedef Opt_Union_CustomObject_ResourceStr Opt_Union_PixelMap_ResourceStr; typedef Ark_CustomObject WebviewController; typedef Opt_CustomObject Opt_WebviewController; typedef Ark_CustomObject Date; typedef Opt_CustomObject Opt_Date; -typedef Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length Padding; -typedef Opt_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length Opt_Padding; -typedef Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length Margin; -typedef Opt_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length Opt_Margin; +typedef Ark_Padding Padding; +typedef Ark_Padding Margin; +typedef Opt_Padding Opt_Margin; typedef Ark_LocalizedPadding LocalizedMargin; typedef Opt_LocalizedPadding Opt_LocalizedMargin; -typedef Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length EdgeWidths; -typedef Opt_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length Opt_EdgeWidths; -typedef Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource EdgeColors; -typedef Opt_Literal_top_Opt_Union_Color_Number_String_Resource_right_Opt_Union_Color_Number_String_Resource_bottom_Opt_Union_Color_Number_String_Resource_left_Opt_Union_Color_Number_String_Resource Opt_EdgeColors; -typedef Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length BorderRadiuses; -typedef Opt_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length Opt_BorderRadiuses; -typedef Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle EdgeStyles; -typedef Opt_Literal_top_Opt_BorderStyle_right_Opt_BorderStyle_bottom_Opt_BorderStyle_left_Opt_BorderStyle Opt_EdgeStyles; -typedef Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length EdgeOutlineWidths; -typedef Opt_Literal_top_Opt_Length_right_Opt_Length_bottom_Opt_Length_left_Opt_Length Opt_EdgeOutlineWidths; -typedef Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length OutlineRadiuses; -typedef Opt_Literal_topLeft_Opt_Length_topRight_Opt_Length_bottomLeft_Opt_Length_bottomRight_Opt_Length Opt_OutlineRadiuses; -typedef Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle EdgeOutlineStyles; -typedef Opt_Literal_top_Opt_OutlineStyle_right_Opt_OutlineStyle_bottom_Opt_OutlineStyle_left_Opt_OutlineStyle Opt_EdgeOutlineStyles; +typedef Ark_EdgeWidths EdgeWidths; +typedef Ark_EdgeColors EdgeColors; +typedef Ark_BorderRadiuses BorderRadiuses; +typedef Ark_EdgeStyles EdgeStyles; +typedef Ark_EdgeOutlineWidths EdgeOutlineWidths; +typedef Ark_OutlineRadiuses OutlineRadiuses; +typedef Ark_EdgeOutlineStyles EdgeOutlineStyles; typedef Ark_CustomObject ColorMetrics; typedef Opt_CustomObject Opt_ColorMetrics; typedef Tuple_Number_Number FractionStop; @@ -7824,16 +8639,12 @@ typedef Ark_CustomObject DrawableDescriptor; typedef Opt_CustomObject Opt_DrawableDescriptor; typedef Ark_CustomObject DrawingColorFilter; typedef Opt_CustomObject Opt_DrawingColorFilter; -typedef Literal_minLength_Length_maxLength_Length LengthConstrain; -typedef Opt_Literal_minLength_Length_maxLength_Length Opt_LengthConstrain; +typedef Ark_LengthConstrain LengthConstrain; typedef Ark_CustomObject SystemBarStyle; typedef Opt_CustomObject Opt_SystemBarStyle; -typedef Literal_minSize_Union_String_Number SwiperAutoFill; -typedef Opt_Literal_minSize_Union_String_Number Opt_SwiperAutoFill; -typedef Union_String_Number VP; -typedef Opt_Union_String_Number Opt_VP; -typedef Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan StyledStringValue; -typedef Opt_Union_TextStyle_DecorationStyle_BaselineOffsetStyle_LetterSpacingStyle_TextShadowStyle_GestureStyle_ImageAttachment_ParagraphStyle_LineHeightStyle_CustomSpan_UserDataSpan Opt_StyledStringValue; +typedef Ark_SwiperAutoFill SwiperAutoFill; +typedef Ark_VP VP; +typedef Ark_StyledStringValue StyledStringValue; typedef Ark_CustomObject IntentionCode; typedef Opt_CustomObject Opt_IntentionCode; typedef Ark_CustomObject WindowStatusType; @@ -7843,1703 +8654,3135 @@ typedef Opt_Length Opt_Dimension; typedef struct GENERATED_ArkUIAbilityComponentModifier { - void (*_setAbilityComponentOptions)(Ark_NativePointer node, const Type_AbilityComponentInterface__setAbilityComponentOptions_Arg0* value); - void (*setOnConnect)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDisconnect)(Ark_NativePointer node, Ark_Function callback); + void (*setAbilityComponentOptions)(Ark_NativePointer node, + const Type_AbilityComponentInterface_setAbilityComponentOptions_Arg0* value); + void (*setOnConnect)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDisconnect)(Ark_NativePointer node, + Ark_Function callback); } GENERATED_ArkUIAbilityComponentModifier; typedef struct GENERATED_ArkUIAlphabetIndexerModifier { - void (*_setAlphabetIndexerOptions)(Ark_NativePointer node, const Type_AlphabetIndexerInterface__setAlphabetIndexerOptions_Arg0* value); - void (*setOnSelected)(Ark_NativePointer node, Ark_Function callback); - void (*setColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setSelectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setPopupColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setSelectedBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setPopupBackground)(Ark_NativePointer node, const ResourceColor* value); - void (*setPopupSelectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setPopupUnselectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setPopupItemBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setUsingPopup)(Ark_NativePointer node, Ark_Boolean value); - void (*setSelectedFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setPopupFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setPopupItemFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setItemSize)(Ark_NativePointer node, const Type_AlphabetIndexerAttribute_itemSize_Arg0* value); - void (*setFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setAlignStyle)(Ark_NativePointer node, Ark_Int32 value, const Opt_Length* offset); - void (*setOnSelect)(Ark_NativePointer node, Ark_Function callback); - void (*setOnRequestPopupData)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPopupSelect)(Ark_NativePointer node, Ark_Function callback); - void (*setSelected)(Ark_NativePointer node, const Ark_Number* index); - void (*setPopupPosition)(Ark_NativePointer node, const Ark_Position* value); - void (*setAutoCollapse)(Ark_NativePointer node, Ark_Boolean value); - void (*setPopupItemBorderRadius)(Ark_NativePointer node, const Ark_Number* value); - void (*setItemBorderRadius)(Ark_NativePointer node, const Ark_Number* value); - void (*setPopupBackgroundBlurStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setPopupTitleBackground)(Ark_NativePointer node, const ResourceColor* value); - void (*setEnableHapticFeedback)(Ark_NativePointer node, Ark_Boolean value); + void (*setAlphabetIndexerOptions)(Ark_NativePointer node, + const Type_AlphabetIndexerInterface_setAlphabetIndexerOptions_Arg0* value); + void (*setOnSelected)(Ark_NativePointer node, + Ark_Function callback); + void (*setColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setSelectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPopupColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setSelectedBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPopupBackground)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPopupSelectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPopupUnselectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPopupItemBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setUsingPopup)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelectedFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setPopupFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setPopupItemFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setItemSize)(Ark_NativePointer node, + const Type_AlphabetIndexerAttribute_itemSize_Arg0* value); + void (*setFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setAlignStyle)(Ark_NativePointer node, + Ark_Int32 value, + const Opt_Length* offset); + void (*setOnSelect)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnRequestPopupData)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPopupSelect)(Ark_NativePointer node, + Ark_Function callback); + void (*setSelected)(Ark_NativePointer node, + const Ark_Number* index); + void (*setPopupPosition)(Ark_NativePointer node, + const Ark_Position* value); + void (*setAutoCollapse)(Ark_NativePointer node, + Ark_Boolean value); + void (*setPopupItemBorderRadius)(Ark_NativePointer node, + const Ark_Number* value); + void (*setItemBorderRadius)(Ark_NativePointer node, + const Ark_Number* value); + void (*setPopupBackgroundBlurStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setPopupTitleBackground)(Ark_NativePointer node, + const ResourceColor* value); + void (*setEnableHapticFeedback)(Ark_NativePointer node, + Ark_Boolean value); } GENERATED_ArkUIAlphabetIndexerModifier; typedef struct GENERATED_ArkUIAnimatorModifier { - void (*_setAnimatorOptions)(Ark_NativePointer node, const Ark_String* value); - void (*setState)(Ark_NativePointer node, Ark_Int32 value); - void (*setDuration)(Ark_NativePointer node, const Ark_Number* value); - void (*setCurve)(Ark_NativePointer node, Ark_Int32 value); - void (*setDelay)(Ark_NativePointer node, const Ark_Number* value); - void (*setFillMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setIterations)(Ark_NativePointer node, const Ark_Number* value); - void (*setPlayMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setMotion)(Ark_NativePointer node, const Type_AnimatorAttribute_motion_Arg0* value); - void (*setOnStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnPause)(Ark_NativePointer node, Ark_Function event); - void (*setOnRepeat)(Ark_NativePointer node, Ark_Function event); - void (*setOnCancel)(Ark_NativePointer node, Ark_Function event); - void (*setOnFinish)(Ark_NativePointer node, Ark_Function event); - void (*setOnFrame)(Ark_NativePointer node, Ark_Function event); + void (*setAnimatorOptions)(Ark_NativePointer node, + const Ark_String* value); + void (*setState)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDuration)(Ark_NativePointer node, + const Ark_Number* value); + void (*setCurve)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDelay)(Ark_NativePointer node, + const Ark_Number* value); + void (*setFillMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setIterations)(Ark_NativePointer node, + const Ark_Number* value); + void (*setPlayMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setMotion)(Ark_NativePointer node, + const Type_AnimatorAttribute_motion_Arg0* value); + void (*setOnStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnPause)(Ark_NativePointer node, + Ark_Function event); + void (*setOnRepeat)(Ark_NativePointer node, + Ark_Function event); + void (*setOnCancel)(Ark_NativePointer node, + Ark_Function event); + void (*setOnFinish)(Ark_NativePointer node, + Ark_Function event); + void (*setOnFrame)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUIAnimatorModifier; typedef struct GENERATED_ArkUIBadgeModifier { - void (*_setBadgeOptions_BadgeParamWithNumber)(Ark_NativePointer node, const Ark_BadgeParamWithNumber* value); - void (*_setBadgeOptions_BadgeParamWithString)(Ark_NativePointer node, const Ark_BadgeParamWithString* value); + void (*setBadgeOptions0)(Ark_NativePointer node, + const Ark_BadgeParamWithNumber* value); + void (*setBadgeOptions1)(Ark_NativePointer node, + const Ark_BadgeParamWithString* value); } GENERATED_ArkUIBadgeModifier; typedef struct GENERATED_ArkUIBlankModifier { - void (*_setBlankOptions)(Ark_NativePointer node, const Opt_Type_BlankInterface__setBlankOptions_Arg0* min); - void (*setColor)(Ark_NativePointer node, const ResourceColor* value); + void (*setBlankOptions)(Ark_NativePointer node, + const Opt_Type_BlankInterface_setBlankOptions_Arg0* min); + void (*setColor)(Ark_NativePointer node, + const ResourceColor* value); } GENERATED_ArkUIBlankModifier; typedef struct GENERATED_ArkUIButtonModifier { - void (*_setButtonOptions_)(Ark_NativePointer node); - void (*_setButtonOptions_ButtonOptions)(Ark_NativePointer node, const Ark_ButtonOptions* options); - void (*_setButtonOptions_ResourceStr_ButtonOptions)(Ark_NativePointer node, const ResourceStr* label, const Opt_ButtonOptions* options); - void (*setType)(Ark_NativePointer node, Ark_Int32 value); - void (*setStateEffect)(Ark_NativePointer node, Ark_Boolean value); - void (*setButtonStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setControlSize)(Ark_NativePointer node, Ark_Int32 value); - void (*setRole)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setFontSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setFontWeight)(Ark_NativePointer node, const Type_ButtonAttribute_fontWeight_Arg0* value); - void (*setFontStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontFamily)(Ark_NativePointer node, const Type_ButtonAttribute_fontFamily_Arg0* value); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); - void (*setLabelStyle)(Ark_NativePointer node, const Ark_LabelStyle* value); + void (*setButtonOptions0)(Ark_NativePointer node); + void (*setButtonOptions1)(Ark_NativePointer node, + const Ark_ButtonOptions* options); + void (*setButtonOptions2)(Ark_NativePointer node, + const ResourceStr* label, + const Opt_ButtonOptions* options); + void (*setType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setStateEffect)(Ark_NativePointer node, + Ark_Boolean value); + void (*setButtonStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setControlSize)(Ark_NativePointer node, + Ark_Int32 value); + void (*setRole)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFontSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_ButtonAttribute_fontWeight_Arg0* value); + void (*setFontStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontFamily)(Ark_NativePointer node, + const Type_ButtonAttribute_fontFamily_Arg0* value); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); + void (*setLabelStyle)(Ark_NativePointer node, + const Ark_LabelStyle* value); } GENERATED_ArkUIButtonModifier; typedef struct GENERATED_ArkUICalendarModifier { - void (*_setCalendarOptions)(Ark_NativePointer node, const Type_CalendarInterface__setCalendarOptions_Arg0* value); - void (*setShowLunar)(Ark_NativePointer node, Ark_Boolean value); - void (*setShowHoliday)(Ark_NativePointer node, Ark_Boolean value); - void (*setNeedSlide)(Ark_NativePointer node, Ark_Boolean value); - void (*setStartOfWeek)(Ark_NativePointer node, const Ark_Number* value); - void (*setOffDays)(Ark_NativePointer node, const Ark_Number* value); - void (*setDirection)(Ark_NativePointer node, Ark_Int32 value); - void (*setCurrentDayStyle)(Ark_NativePointer node, const Ark_CurrentDayStyle* value); - void (*setNonCurrentDayStyle)(Ark_NativePointer node, const Ark_NonCurrentDayStyle* value); - void (*setTodayStyle)(Ark_NativePointer node, const Ark_TodayStyle* value); - void (*setWeekStyle)(Ark_NativePointer node, const Ark_WeekStyle* value); - void (*setWorkStateStyle)(Ark_NativePointer node, const Ark_WorkStateStyle* value); - void (*setOnSelectChange)(Ark_NativePointer node, Ark_Function event); - void (*setOnRequestData)(Ark_NativePointer node, Ark_Function event); + void (*setCalendarOptions)(Ark_NativePointer node, + const Type_CalendarInterface_setCalendarOptions_Arg0* value); + void (*setShowLunar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setShowHoliday)(Ark_NativePointer node, + Ark_Boolean value); + void (*setNeedSlide)(Ark_NativePointer node, + Ark_Boolean value); + void (*setStartOfWeek)(Ark_NativePointer node, + const Ark_Number* value); + void (*setOffDays)(Ark_NativePointer node, + const Ark_Number* value); + void (*setDirection)(Ark_NativePointer node, + Ark_Int32 value); + void (*setCurrentDayStyle)(Ark_NativePointer node, + const Ark_CurrentDayStyle* value); + void (*setNonCurrentDayStyle)(Ark_NativePointer node, + const Ark_NonCurrentDayStyle* value); + void (*setTodayStyle)(Ark_NativePointer node, + const Ark_TodayStyle* value); + void (*setWeekStyle)(Ark_NativePointer node, + const Ark_WeekStyle* value); + void (*setWorkStateStyle)(Ark_NativePointer node, + const Ark_WorkStateStyle* value); + void (*setOnSelectChange)(Ark_NativePointer node, + Ark_Function event); + void (*setOnRequestData)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUICalendarModifier; typedef struct GENERATED_ArkUICalendarPickerModifier { - void (*_setCalendarPickerOptions)(Ark_NativePointer node, const Opt_CalendarOptions* options); - void (*setEdgeAlign)(Ark_NativePointer node, Ark_Int32 alignType, const Opt_Offset* offset); - void (*setTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); + void (*setCalendarPickerOptions)(Ark_NativePointer node, + const Opt_CalendarOptions* options); + void (*setEdgeAlign)(Ark_NativePointer node, + Ark_Int32 alignType, + const Opt_Offset* offset); + void (*setTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); } GENERATED_ArkUICalendarPickerModifier; typedef struct GENERATED_ArkUICanvasModifier { - void (*_setCanvasOptions_CanvasRenderingContextDDrawingRenderingContext)(Ark_NativePointer node, const Opt_Type_CanvasInterface__setCanvasOptions_Arg0* context); - void (*_setCanvasOptions_CanvasRenderingContextDDrawingRenderingContext_ImageAIOptions)(Ark_NativePointer node, const Type_CanvasInterface__setCanvasOptions1_Arg0* context, const Ark_ImageAIOptions* imageAIOptions); - void (*setOnReady)(Ark_NativePointer node, Ark_Function event); - void (*setEnableAnalyzer)(Ark_NativePointer node, Ark_Boolean enable); + void (*setCanvasOptions0)(Ark_NativePointer node, + const Opt_Type_CanvasInterface_setCanvasOptions_Arg0* context); + void (*setCanvasOptions1)(Ark_NativePointer node, + const Type_CanvasInterface_setCanvasOptions1_Arg0* context, + const Ark_ImageAIOptions* imageAIOptions); + void (*setOnReady)(Ark_NativePointer node, + Ark_Function event); + void (*setEnableAnalyzer)(Ark_NativePointer node, + Ark_Boolean enable); } GENERATED_ArkUICanvasModifier; typedef struct GENERATED_ArkUICheckboxModifier { - void (*_setCheckboxOptions)(Ark_NativePointer node, const Opt_CheckboxOptions* options); - void (*setSelect)(Ark_NativePointer node, Ark_Boolean value); - void (*setSelectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setShape)(Ark_NativePointer node, Ark_Int32 value); - void (*setUnselectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setMark)(Ark_NativePointer node, const Ark_MarkStyle* value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); + void (*setCheckboxOptions)(Ark_NativePointer node, + const Opt_CheckboxOptions* options); + void (*setSelect)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setShape)(Ark_NativePointer node, + Ark_Int32 value); + void (*setUnselectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setMark)(Ark_NativePointer node, + const Ark_MarkStyle* value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); } GENERATED_ArkUICheckboxModifier; typedef struct GENERATED_ArkUICheckboxGroupModifier { - void (*_setCheckboxGroupOptions)(Ark_NativePointer node, const Opt_CheckboxGroupOptions* options); - void (*setSelectAll)(Ark_NativePointer node, Ark_Boolean value); - void (*setSelectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setUnselectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setMark)(Ark_NativePointer node, const Ark_MarkStyle* value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setCheckboxShape)(Ark_NativePointer node, Ark_Int32 value); + void (*setCheckboxGroupOptions)(Ark_NativePointer node, + const Opt_CheckboxGroupOptions* options); + void (*setSelectAll)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setUnselectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setMark)(Ark_NativePointer node, + const Ark_MarkStyle* value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setCheckboxShape)(Ark_NativePointer node, + Ark_Int32 value); } GENERATED_ArkUICheckboxGroupModifier; typedef struct GENERATED_ArkUICircleModifier { - void (*_setCircleOptions)(Ark_NativePointer node, const Opt_CircleOptions* value); + void (*setCircleOptions)(Ark_NativePointer node, + const Opt_CircleOptions* value); } GENERATED_ArkUICircleModifier; typedef struct GENERATED_ArkUIColumnModifier { - void (*_setColumnOptions)(Ark_NativePointer node, const Opt_Type_ColumnInterface__setColumnOptions_Arg0* value); - void (*setAlignItems)(Ark_NativePointer node, Ark_Int32 value); - void (*setJustifyContent)(Ark_NativePointer node, Ark_Int32 value); - void (*setPointLight)(Ark_NativePointer node, const Ark_PointLightStyle* value); + void (*setColumnOptions)(Ark_NativePointer node, + const Opt_Type_ColumnInterface_setColumnOptions_Arg0* value); + void (*setAlignItems)(Ark_NativePointer node, + Ark_Int32 value); + void (*setJustifyContent)(Ark_NativePointer node, + Ark_Int32 value); + void (*setPointLight)(Ark_NativePointer node, + const Ark_PointLightStyle* value); } GENERATED_ArkUIColumnModifier; typedef struct GENERATED_ArkUIColumnSplitModifier { - void (*_setColumnSplitOptions)(Ark_NativePointer node); - void (*setResizeable)(Ark_NativePointer node, Ark_Boolean value); - void (*setDivider)(Ark_NativePointer node, const Type_ColumnSplitAttribute_divider_Arg0* value); + void (*setColumnSplitOptions)(Ark_NativePointer node); + void (*setResizeable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setDivider)(Ark_NativePointer node, + const Type_ColumnSplitAttribute_divider_Arg0* value); } GENERATED_ArkUIColumnSplitModifier; typedef struct GENERATED_ArkUICommonMethodModifier { - void (*setWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setHeight)(Ark_NativePointer node, const Ark_Length* value); - void (*setDrawModifier)(Ark_NativePointer node, const Type_CommonMethod_drawModifier_Arg0* modifier); - void (*setCustomProperty)(Ark_NativePointer node, const Ark_String* name, const Opt_Object* value); - void (*setExpandSafeArea)(Ark_NativePointer node, const Opt_Array_SafeAreaType* types, const Opt_Array_SafeAreaEdge* edges); - void (*setResponseRegion)(Ark_NativePointer node, const Type_CommonMethod_responseRegion_Arg0* value); - void (*setMouseResponseRegion)(Ark_NativePointer node, const Type_CommonMethod_mouseResponseRegion_Arg0* value); - void (*setSize)(Ark_NativePointer node, const Ark_SizeOptions* value); - void (*setConstraintSize)(Ark_NativePointer node, const Ark_ConstraintSizeOptions* value); - void (*setTouchable)(Ark_NativePointer node, Ark_Boolean value); - void (*setHitTestBehavior)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnChildTouchTest)(Ark_NativePointer node, Ark_Function event); - void (*setLayoutWeight)(Ark_NativePointer node, const Type_CommonMethod_layoutWeight_Arg0* value); - void (*setPadding)(Ark_NativePointer node, const Type_CommonMethod_padding_Arg0* value); - void (*setMargin)(Ark_NativePointer node, const Type_CommonMethod_margin_Arg0* value); - void (*setBackground)(Ark_NativePointer node, const CustomBuilder* builder, const Opt_Type_CommonMethod_background_Arg1* options); - void (*setBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setPixelRound)(Ark_NativePointer node, const Ark_PixelRoundPolicy* value); - void (*setBackgroundImage)(Ark_NativePointer node, const Type_CommonMethod_backgroundImage_Arg0* src, const Opt_ImageRepeat* repeat); - void (*setBackgroundImageSize)(Ark_NativePointer node, const Type_CommonMethod_backgroundImageSize_Arg0* value); - void (*setBackgroundImagePosition)(Ark_NativePointer node, const Type_CommonMethod_backgroundImagePosition_Arg0* value); - void (*setBackgroundBlurStyle)(Ark_NativePointer node, Ark_Int32 value, const Opt_BackgroundBlurStyleOptions* options); - void (*setBackgroundEffect)(Ark_NativePointer node, const Ark_BackgroundEffectOptions* options); - void (*setBackgroundImageResizable)(Ark_NativePointer node, const Ark_ResizableOptions* value); - void (*setForegroundEffect)(Ark_NativePointer node, const Ark_ForegroundEffectOptions* options); - void (*setVisualEffect)(Ark_NativePointer node, const Ark_CustomObject* effect); - void (*setBackgroundFilter)(Ark_NativePointer node, const Ark_CustomObject* filter); - void (*setForegroundFilter)(Ark_NativePointer node, const Ark_CustomObject* filter); - void (*setCompositingFilter)(Ark_NativePointer node, const Ark_CustomObject* filter); - void (*setForegroundBlurStyle)(Ark_NativePointer node, Ark_Int32 value, const Opt_ForegroundBlurStyleOptions* options); - void (*setOpacity)(Ark_NativePointer node, const Type_CommonMethod_opacity_Arg0* value); - void (*setBorder)(Ark_NativePointer node, const Ark_BorderOptions* value); - void (*setBorderStyle)(Ark_NativePointer node, const Type_CommonMethod_borderStyle_Arg0* value); - void (*setBorderWidth)(Ark_NativePointer node, const Type_CommonMethod_borderWidth_Arg0* value); - void (*setBorderColor)(Ark_NativePointer node, const Type_CommonMethod_borderColor_Arg0* value); - void (*setBorderRadius)(Ark_NativePointer node, const Type_CommonMethod_borderRadius_Arg0* value); - void (*setBorderImage)(Ark_NativePointer node, const Ark_BorderImageOption* value); - void (*setOutline)(Ark_NativePointer node, const Ark_OutlineOptions* value); - void (*setOutlineStyle)(Ark_NativePointer node, const Type_CommonMethod_outlineStyle_Arg0* value); - void (*setOutlineWidth)(Ark_NativePointer node, const Type_CommonMethod_outlineWidth_Arg0* value); - void (*setOutlineColor)(Ark_NativePointer node, const Type_CommonMethod_outlineColor_Arg0* value); - void (*setOutlineRadius)(Ark_NativePointer node, const Type_CommonMethod_outlineRadius_Arg0* value); - void (*setForegroundColor)(Ark_NativePointer node, const Type_CommonMethod_foregroundColor_Arg0* value); - void (*setOnClick)(Ark_NativePointer node, Ark_Function event); - void (*setOnHover)(Ark_NativePointer node, Ark_Function event); - void (*setOnAccessibilityHover)(Ark_NativePointer node, Ark_Function callback); - void (*setHoverEffect)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnMouse)(Ark_NativePointer node, Ark_Function event); - void (*setOnTouch)(Ark_NativePointer node, Ark_Function event); - void (*setOnKeyEvent)(Ark_NativePointer node, Ark_Function event); - void (*setOnKeyPreIme)(Ark_NativePointer node, Ark_Function event); - void (*setFocusable)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnFocus)(Ark_NativePointer node, Ark_Function event); - void (*setOnBlur)(Ark_NativePointer node, Ark_Function event); - void (*setTabIndex)(Ark_NativePointer node, const Ark_Number* index); - void (*setDefaultFocus)(Ark_NativePointer node, Ark_Boolean value); - void (*setGroupDefaultFocus)(Ark_NativePointer node, Ark_Boolean value); - void (*setFocusOnTouch)(Ark_NativePointer node, Ark_Boolean value); - void (*setFocusBox)(Ark_NativePointer node, const Ark_FocusBoxStyle* style); - void (*setFocusScopeId)(Ark_NativePointer node, const Ark_String* id, const Opt_Boolean* isGroup); - void (*setFocusScopePriority)(Ark_NativePointer node, const Ark_String* scopeId, const Opt_FocusPriority* priority); - void (*setAnimation)(Ark_NativePointer node, const Ark_AnimateParam* value); - void (*setTransition_TransitionOptionsTransitionEffect)(Ark_NativePointer node, const Type_CommonMethod_transition_Arg0* value); - void (*setTransition_TransitionEffect_TransitionFinishCallbackundefined)(Ark_NativePointer node, const Ark_TransitionEffect* effect, const Opt_Function* onFinish); - void (*setGesture)(Ark_NativePointer node, const Ark_GestureType* gesture, const Opt_GestureMask* mask); - void (*setPriorityGesture)(Ark_NativePointer node, const Ark_GestureType* gesture, const Opt_GestureMask* mask); - void (*setParallelGesture)(Ark_NativePointer node, const Ark_GestureType* gesture, const Opt_GestureMask* mask); - void (*setBlur)(Ark_NativePointer node, const Ark_Number* value, const Opt_BlurOptions* options); - void (*setLinearGradientBlur)(Ark_NativePointer node, const Ark_Number* value, const Ark_LinearGradientBlurOptions* options); - void (*setMotionBlur)(Ark_NativePointer node, const Ark_MotionBlurOptions* value); - void (*setBrightness)(Ark_NativePointer node, const Ark_Number* value); - void (*setContrast)(Ark_NativePointer node, const Ark_Number* value); - void (*setGrayscale)(Ark_NativePointer node, const Ark_Number* value); - void (*setColorBlend)(Ark_NativePointer node, const Type_CommonMethod_colorBlend_Arg0* value); - void (*setSaturate)(Ark_NativePointer node, const Ark_Number* value); - void (*setSepia)(Ark_NativePointer node, const Ark_Number* value); - void (*setInvert)(Ark_NativePointer node, const Type_CommonMethod_invert_Arg0* value); + void (*setWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setHeight)(Ark_NativePointer node, + const Ark_Length* value); + void (*setDrawModifier)(Ark_NativePointer node, + const Type_CommonMethod_drawModifier_Arg0* modifier); + void (*setCustomProperty)(Ark_NativePointer node, + const Ark_String* name, + const Opt_Object* value); + void (*setExpandSafeArea)(Ark_NativePointer node, + const Opt_Array_SafeAreaType* types, + const Opt_Array_SafeAreaEdge* edges); + void (*setResponseRegion)(Ark_NativePointer node, + const Type_CommonMethod_responseRegion_Arg0* value); + void (*setMouseResponseRegion)(Ark_NativePointer node, + const Type_CommonMethod_mouseResponseRegion_Arg0* value); + void (*setSize)(Ark_NativePointer node, + const Ark_SizeOptions* value); + void (*setConstraintSize)(Ark_NativePointer node, + const Ark_ConstraintSizeOptions* value); + void (*setTouchable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setHitTestBehavior)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnChildTouchTest)(Ark_NativePointer node, + Ark_Function event); + void (*setLayoutWeight)(Ark_NativePointer node, + const Type_CommonMethod_layoutWeight_Arg0* value); + void (*setPadding)(Ark_NativePointer node, + const Type_CommonMethod_padding_Arg0* value); + void (*setMargin)(Ark_NativePointer node, + const Type_CommonMethod_margin_Arg0* value); + void (*setBackground)(Ark_NativePointer node, + const CustomBuilder* builder, + const Opt_Type_CommonMethod_background_Arg1* options); + void (*setBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPixelRound)(Ark_NativePointer node, + const Ark_PixelRoundPolicy* value); + void (*setBackgroundImage)(Ark_NativePointer node, + const Type_CommonMethod_backgroundImage_Arg0* src, + const Opt_ImageRepeat* repeat); + void (*setBackgroundImageSize)(Ark_NativePointer node, + const Type_CommonMethod_backgroundImageSize_Arg0* value); + void (*setBackgroundImagePosition)(Ark_NativePointer node, + const Type_CommonMethod_backgroundImagePosition_Arg0* value); + void (*setBackgroundBlurStyle)(Ark_NativePointer node, + Ark_Int32 value, + const Opt_BackgroundBlurStyleOptions* options); + void (*setBackgroundEffect)(Ark_NativePointer node, + const Ark_BackgroundEffectOptions* options); + void (*setBackgroundImageResizable)(Ark_NativePointer node, + const Ark_ResizableOptions* value); + void (*setForegroundEffect)(Ark_NativePointer node, + const Ark_ForegroundEffectOptions* options); + void (*setVisualEffect)(Ark_NativePointer node, + const Ark_CustomObject* effect); + void (*setBackgroundFilter)(Ark_NativePointer node, + const Ark_CustomObject* filter); + void (*setForegroundFilter)(Ark_NativePointer node, + const Ark_CustomObject* filter); + void (*setCompositingFilter)(Ark_NativePointer node, + const Ark_CustomObject* filter); + void (*setForegroundBlurStyle)(Ark_NativePointer node, + Ark_Int32 value, + const Opt_ForegroundBlurStyleOptions* options); + void (*setOpacity)(Ark_NativePointer node, + const Type_CommonMethod_opacity_Arg0* value); + void (*setBorder)(Ark_NativePointer node, + const Ark_BorderOptions* value); + void (*setBorderStyle)(Ark_NativePointer node, + const Type_CommonMethod_borderStyle_Arg0* value); + void (*setBorderWidth)(Ark_NativePointer node, + const Type_CommonMethod_borderWidth_Arg0* value); + void (*setBorderColor)(Ark_NativePointer node, + const Type_CommonMethod_borderColor_Arg0* value); + void (*setBorderRadius)(Ark_NativePointer node, + const Type_CommonMethod_borderRadius_Arg0* value); + void (*setBorderImage)(Ark_NativePointer node, + const Ark_BorderImageOption* value); + void (*setOutline)(Ark_NativePointer node, + const Ark_OutlineOptions* value); + void (*setOutlineStyle)(Ark_NativePointer node, + const Type_CommonMethod_outlineStyle_Arg0* value); + void (*setOutlineWidth)(Ark_NativePointer node, + const Type_CommonMethod_outlineWidth_Arg0* value); + void (*setOutlineColor)(Ark_NativePointer node, + const Type_CommonMethod_outlineColor_Arg0* value); + void (*setOutlineRadius)(Ark_NativePointer node, + const Type_CommonMethod_outlineRadius_Arg0* value); + void (*setForegroundColor)(Ark_NativePointer node, + const Type_CommonMethod_foregroundColor_Arg0* value); + void (*setOnClick)(Ark_NativePointer node, + Ark_Function event); + void (*setOnHover)(Ark_NativePointer node, + Ark_Function event); + void (*setOnAccessibilityHover)(Ark_NativePointer node, + Ark_Function callback); + void (*setHoverEffect)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnMouse)(Ark_NativePointer node, + Ark_Function event); + void (*setOnTouch)(Ark_NativePointer node, + Ark_Function event); + void (*setOnKeyEvent)(Ark_NativePointer node, + Ark_Function event); + void (*setOnKeyPreIme)(Ark_NativePointer node, + Ark_Function event); + void (*setFocusable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnFocus)(Ark_NativePointer node, + Ark_Function event); + void (*setOnBlur)(Ark_NativePointer node, + Ark_Function event); + void (*setTabIndex)(Ark_NativePointer node, + const Ark_Number* index); + void (*setDefaultFocus)(Ark_NativePointer node, + Ark_Boolean value); + void (*setGroupDefaultFocus)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFocusOnTouch)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFocusBox)(Ark_NativePointer node, + const Ark_FocusBoxStyle* style); + void (*setFocusScopeId)(Ark_NativePointer node, + const Ark_String* id, + const Opt_Boolean* isGroup); + void (*setFocusScopePriority)(Ark_NativePointer node, + const Ark_String* scopeId, + const Opt_FocusPriority* priority); + void (*setAnimation)(Ark_NativePointer node, + const Ark_AnimateParam* value); + void (*setTransition0)(Ark_NativePointer node, + const Type_CommonMethod_transition_Arg0* value); + void (*setTransition1)(Ark_NativePointer node, + const Ark_TransitionEffect* effect, + const Opt_Function* onFinish); + void (*setGesture)(Ark_NativePointer node, + const Ark_GestureType* gesture, + const Opt_GestureMask* mask); + void (*setPriorityGesture)(Ark_NativePointer node, + const Ark_GestureType* gesture, + const Opt_GestureMask* mask); + void (*setParallelGesture)(Ark_NativePointer node, + const Ark_GestureType* gesture, + const Opt_GestureMask* mask); + void (*setBlur)(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options); + void (*setLinearGradientBlur)(Ark_NativePointer node, + const Ark_Number* value, + const Ark_LinearGradientBlurOptions* options); + void (*setMotionBlur)(Ark_NativePointer node, + const Ark_MotionBlurOptions* value); + void (*setBrightness)(Ark_NativePointer node, + const Ark_Number* value); + void (*setContrast)(Ark_NativePointer node, + const Ark_Number* value); + void (*setGrayscale)(Ark_NativePointer node, + const Ark_Number* value); + void (*setColorBlend)(Ark_NativePointer node, + const Type_CommonMethod_colorBlend_Arg0* value); + void (*setSaturate)(Ark_NativePointer node, + const Ark_Number* value); + void (*setSepia)(Ark_NativePointer node, + const Ark_Number* value); + void (*setInvert)(Ark_NativePointer node, + const Type_CommonMethod_invert_Arg0* value); void (*setSystemBarEffect)(Ark_NativePointer node); - void (*setHueRotate)(Ark_NativePointer node, const Type_CommonMethod_hueRotate_Arg0* value); - void (*setUseShadowBatching)(Ark_NativePointer node, Ark_Boolean value); - void (*setUseEffect)(Ark_NativePointer node, Ark_Boolean value); - void (*setBackdropBlur)(Ark_NativePointer node, const Ark_Number* value, const Opt_BlurOptions* options); - void (*setRenderGroup)(Ark_NativePointer node, Ark_Boolean value); - void (*setFreeze)(Ark_NativePointer node, Ark_Boolean value); - void (*setTranslate)(Ark_NativePointer node, const Ark_TranslateOptions* value); - void (*setScale)(Ark_NativePointer node, const Ark_ScaleOptions* value); - void (*setGridSpan)(Ark_NativePointer node, const Ark_Number* value); - void (*setGridOffset)(Ark_NativePointer node, const Ark_Number* value); - void (*setRotate)(Ark_NativePointer node, const Ark_RotateOptions* value); - void (*setTransform)(Ark_NativePointer node, const Ark_CustomObject* value); - void (*setOnAppear)(Ark_NativePointer node, Ark_Function event); - void (*setOnDisAppear)(Ark_NativePointer node, Ark_Function event); - void (*setOnAttach)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDetach)(Ark_NativePointer node, Ark_Function callback); - void (*setOnAreaChange)(Ark_NativePointer node, Ark_Function event); - void (*setVisibility)(Ark_NativePointer node, Ark_Int32 value); - void (*setFlexGrow)(Ark_NativePointer node, const Ark_Number* value); - void (*setFlexShrink)(Ark_NativePointer node, const Ark_Number* value); - void (*setFlexBasis)(Ark_NativePointer node, const Type_CommonMethod_flexBasis_Arg0* value); - void (*setAlignSelf)(Ark_NativePointer node, Ark_Int32 value); - void (*setDisplayPriority)(Ark_NativePointer node, const Ark_Number* value); - void (*setZIndex)(Ark_NativePointer node, const Ark_Number* value); - void (*setSharedTransition)(Ark_NativePointer node, const Ark_String* id, const Opt_sharedTransitionOptions* options); - void (*setDirection)(Ark_NativePointer node, Ark_Int32 value); - void (*setAlign)(Ark_NativePointer node, Ark_Int32 value); - void (*setPosition)(Ark_NativePointer node, const Type_CommonMethod_position_Arg0* value); - void (*setMarkAnchor)(Ark_NativePointer node, const Type_CommonMethod_markAnchor_Arg0* value); - void (*setOffset)(Ark_NativePointer node, const Type_CommonMethod_offset_Arg0* value); - void (*setEnabled)(Ark_NativePointer node, Ark_Boolean value); - void (*setUseSizeType)(Ark_NativePointer node, const Type_CommonMethod_useSizeType_Arg0* value); - void (*setAlignRules_AlignRuleOption)(Ark_NativePointer node, const Ark_AlignRuleOption* value); - void (*setAlignRules_LocalizedAlignRuleOptions)(Ark_NativePointer node, const Ark_LocalizedAlignRuleOptions* alignRule); - void (*setChainMode)(Ark_NativePointer node, Ark_Int32 direction, Ark_Int32 style); - void (*setAspectRatio)(Ark_NativePointer node, const Ark_Number* value); - void (*setClickEffect)(Ark_NativePointer node, const Type_CommonMethod_clickEffect_Arg0* value); - void (*setOnDragStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnDragEnter)(Ark_NativePointer node, Ark_Function event); - void (*setOnDragMove)(Ark_NativePointer node, Ark_Function event); - void (*setOnDragLeave)(Ark_NativePointer node, Ark_Function event); - void (*setOnDrop)(Ark_NativePointer node, Ark_Function event); - void (*setOnDragEnd)(Ark_NativePointer node, Ark_Function event); - void (*setAllowDrop)(Ark_NativePointer node, const Type_CommonMethod_allowDrop_Arg0* value); - void (*setDraggable)(Ark_NativePointer node, Ark_Boolean value); - void (*setDragPreview)(Ark_NativePointer node, const Type_CommonMethod_dragPreview_Arg0* value); - void (*setDragPreviewOptions)(Ark_NativePointer node, const Ark_DragPreviewOptions* value, const Opt_DragInteractionOptions* options); - void (*setOnPreDrag)(Ark_NativePointer node, Ark_Function callback); - void (*setOverlay)(Ark_NativePointer node, const Type_CommonMethod_overlay_Arg0* value, const Opt_OverlayOptions* options); - void (*setLinearGradient)(Ark_NativePointer node, const Type_CommonMethod_linearGradient_Arg0* value); - void (*setSweepGradient)(Ark_NativePointer node, const Type_CommonMethod_sweepGradient_Arg0* value); - void (*setRadialGradient)(Ark_NativePointer node, const Type_CommonMethod_radialGradient_Arg0* value); - void (*setMotionPath)(Ark_NativePointer node, const Ark_MotionPathOptions* value); - void (*setShadow)(Ark_NativePointer node, const Type_CommonMethod_shadow_Arg0* value); - void (*setBlendMode)(Ark_NativePointer node, Ark_Int32 value, const Opt_BlendApplyType* type); - void (*setClip_boolean)(Ark_NativePointer node, Ark_Boolean value); - void (*setClip_booleanCircleAttributeEllipseAttributePathAttributeRectAttribute)(Ark_NativePointer node, const Type_CommonMethod_clip1_Arg0* value); - void (*setClipShape)(Ark_NativePointer node, const Type_CommonMethod_clipShape_Arg0* value); - void (*setMask_ProgressMask)(Ark_NativePointer node, const Ark_Materialized* value); - void (*setMask_CircleAttributeEllipseAttributePathAttributeRectAttributeProgressMask)(Ark_NativePointer node, const Type_CommonMethod_mask1_Arg0* value); - void (*setMaskShape)(Ark_NativePointer node, const Type_CommonMethod_maskShape_Arg0* value); - void (*setKey)(Ark_NativePointer node, const Ark_String* value); - void (*setId)(Ark_NativePointer node, const Ark_String* value); - void (*setGeometryTransition_string)(Ark_NativePointer node, const Ark_String* id); - void (*setGeometryTransition_string_GeometryTransitionOptions)(Ark_NativePointer node, const Ark_String* id, const Opt_GeometryTransitionOptions* options); - void (*setBindPopup)(Ark_NativePointer node, Ark_Boolean show, const Type_CommonMethod_bindPopup_Arg1* popup); - void (*setBindMenu_ArrayMenuElementCustomBuilder_MenuOptions)(Ark_NativePointer node, const Type_CommonMethod_bindMenu_Arg0* content, const Opt_MenuOptions* options); - void (*setBindMenu_boolean_ArrayMenuElementCustomBuilder_MenuOptions)(Ark_NativePointer node, Ark_Boolean isShow, const Type_CommonMethod_bindMenu1_Arg1* content, const Opt_MenuOptions* options); - void (*setBindContextMenu_CustomBuilder_ResponseType_ContextMenuOptions)(Ark_NativePointer node, const CustomBuilder* content, Ark_Int32 responseType, const Opt_ContextMenuOptions* options); - void (*setBindContextMenu_boolean_CustomBuilder_ContextMenuOptions)(Ark_NativePointer node, Ark_Boolean isShown, const CustomBuilder* content, const Opt_ContextMenuOptions* options); - void (*setBindContentCover_booleanundefined_CustomBuilder_ModalTransition)(Ark_NativePointer node, const Opt_Boolean* isShow, const CustomBuilder* builder, const Opt_ModalTransition* type); - void (*setBindContentCover_booleanundefined_CustomBuilder_ContentCoverOptions)(Ark_NativePointer node, const Opt_Boolean* isShow, const CustomBuilder* builder, const Opt_ContentCoverOptions* options); - void (*setBindSheet)(Ark_NativePointer node, const Opt_Boolean* isShow, const CustomBuilder* builder, const Opt_SheetOptions* options); - void (*setStateStyles)(Ark_NativePointer node, const Ark_StateStyles* value); - void (*setRestoreId)(Ark_NativePointer node, const Ark_Number* value); - void (*setOnVisibleAreaChange)(Ark_NativePointer node, const Array_Number* ratios, Ark_Function event); - void (*setSphericalEffect)(Ark_NativePointer node, const Ark_Number* value); - void (*setLightUpEffect)(Ark_NativePointer node, const Ark_Number* value); - void (*setPixelStretchEffect)(Ark_NativePointer node, const Ark_PixelStretchEffectOptions* options); - void (*setKeyboardShortcut)(Ark_NativePointer node, const Type_CommonMethod_keyboardShortcut_Arg0* value, const Array_ModifierKey* keys, const Opt_Function* action); - void (*setAccessibilityGroup)(Ark_NativePointer node, Ark_Boolean value); - void (*setAccessibilityText_string)(Ark_NativePointer node, const Ark_String* value); - void (*setAccessibilityText_Resource)(Ark_NativePointer node, const Ark_Resource* text); - void (*setAccessibilityTextHint)(Ark_NativePointer node, const Ark_String* value); - void (*setAccessibilityDescription_string)(Ark_NativePointer node, const Ark_String* value); - void (*setAccessibilityDescription_Resource)(Ark_NativePointer node, const Ark_Resource* description); - void (*setAccessibilityLevel)(Ark_NativePointer node, const Ark_String* value); - void (*setAccessibilityVirtualNode)(Ark_NativePointer node, const CustomBuilder* builder); - void (*setObscured)(Ark_NativePointer node, const Array_ObscuredReasons* reasons); - void (*setReuseId)(Ark_NativePointer node, const Ark_String* id); - void (*setRenderFit)(Ark_NativePointer node, Ark_Int32 fitMode); - void (*setGestureModifier)(Ark_NativePointer node, const Ark_Materialized* modifier); - void (*setBackgroundBrightness)(Ark_NativePointer node, const Ark_BackgroundBrightnessOptions* params); - void (*setOnGestureJudgeBegin)(Ark_NativePointer node, Ark_Function callback); - void (*setOnGestureRecognizerJudgeBegin)(Ark_NativePointer node, Ark_Function callback); - void (*setShouldBuiltInRecognizerParallelWith)(Ark_NativePointer node, Ark_Function callback); - void (*setMonopolizeEvents)(Ark_NativePointer node, Ark_Boolean monopolize); - void (*setOnTouchIntercept)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSizeChange)(Ark_NativePointer node, Ark_Function event); + void (*setHueRotate)(Ark_NativePointer node, + const Type_CommonMethod_hueRotate_Arg0* value); + void (*setUseShadowBatching)(Ark_NativePointer node, + Ark_Boolean value); + void (*setUseEffect)(Ark_NativePointer node, + Ark_Boolean value); + void (*setBackdropBlur)(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options); + void (*setRenderGroup)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFreeze)(Ark_NativePointer node, + Ark_Boolean value); + void (*setTranslate)(Ark_NativePointer node, + const Ark_TranslateOptions* value); + void (*setScale)(Ark_NativePointer node, + const Ark_ScaleOptions* value); + void (*setGridSpan)(Ark_NativePointer node, + const Ark_Number* value); + void (*setGridOffset)(Ark_NativePointer node, + const Ark_Number* value); + void (*setRotate)(Ark_NativePointer node, + const Ark_RotateOptions* value); + void (*setTransform)(Ark_NativePointer node, + const Ark_CustomObject* value); + void (*setOnAppear)(Ark_NativePointer node, + Ark_Function event); + void (*setOnDisAppear)(Ark_NativePointer node, + Ark_Function event); + void (*setOnAttach)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDetach)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnAreaChange)(Ark_NativePointer node, + Ark_Function event); + void (*setVisibility)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFlexGrow)(Ark_NativePointer node, + const Ark_Number* value); + void (*setFlexShrink)(Ark_NativePointer node, + const Ark_Number* value); + void (*setFlexBasis)(Ark_NativePointer node, + const Type_CommonMethod_flexBasis_Arg0* value); + void (*setAlignSelf)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDisplayPriority)(Ark_NativePointer node, + const Ark_Number* value); + void (*setZIndex)(Ark_NativePointer node, + const Ark_Number* value); + void (*setSharedTransition)(Ark_NativePointer node, + const Ark_String* id, + const Opt_sharedTransitionOptions* options); + void (*setDirection)(Ark_NativePointer node, + Ark_Int32 value); + void (*setAlign)(Ark_NativePointer node, + Ark_Int32 value); + void (*setPosition)(Ark_NativePointer node, + const Type_CommonMethod_position_Arg0* value); + void (*setMarkAnchor)(Ark_NativePointer node, + const Type_CommonMethod_markAnchor_Arg0* value); + void (*setOffset)(Ark_NativePointer node, + const Type_CommonMethod_offset_Arg0* value); + void (*setEnabled)(Ark_NativePointer node, + Ark_Boolean value); + void (*setUseSizeType)(Ark_NativePointer node, + const Type_CommonMethod_useSizeType_Arg0* value); + void (*setAlignRules0)(Ark_NativePointer node, + const Ark_AlignRuleOption* value); + void (*setAlignRules1)(Ark_NativePointer node, + const Ark_LocalizedAlignRuleOptions* alignRule); + void (*setChainMode)(Ark_NativePointer node, + Ark_Int32 direction, + Ark_Int32 style); + void (*setAspectRatio)(Ark_NativePointer node, + const Ark_Number* value); + void (*setClickEffect)(Ark_NativePointer node, + const Type_CommonMethod_clickEffect_Arg0* value); + void (*setOnDragStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnDragEnter)(Ark_NativePointer node, + Ark_Function event); + void (*setOnDragMove)(Ark_NativePointer node, + Ark_Function event); + void (*setOnDragLeave)(Ark_NativePointer node, + Ark_Function event); + void (*setOnDrop)(Ark_NativePointer node, + Ark_Function event); + void (*setOnDragEnd)(Ark_NativePointer node, + Ark_Function event); + void (*setAllowDrop)(Ark_NativePointer node, + const Type_CommonMethod_allowDrop_Arg0* value); + void (*setDraggable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setDragPreview)(Ark_NativePointer node, + const Type_CommonMethod_dragPreview_Arg0* value); + void (*setDragPreviewOptions)(Ark_NativePointer node, + const Ark_DragPreviewOptions* value, + const Opt_DragInteractionOptions* options); + void (*setOnPreDrag)(Ark_NativePointer node, + Ark_Function callback); + void (*setOverlay)(Ark_NativePointer node, + const Type_CommonMethod_overlay_Arg0* value, + const Opt_OverlayOptions* options); + void (*setLinearGradient)(Ark_NativePointer node, + const Type_CommonMethod_linearGradient_Arg0* value); + void (*setSweepGradient)(Ark_NativePointer node, + const Type_CommonMethod_sweepGradient_Arg0* value); + void (*setRadialGradient)(Ark_NativePointer node, + const Type_CommonMethod_radialGradient_Arg0* value); + void (*setMotionPath)(Ark_NativePointer node, + const Ark_MotionPathOptions* value); + void (*setShadow)(Ark_NativePointer node, + const Type_CommonMethod_shadow_Arg0* value); + void (*setBlendMode)(Ark_NativePointer node, + Ark_Int32 value, + const Opt_BlendApplyType* type); + void (*setClip0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setClip1)(Ark_NativePointer node, + const Type_CommonMethod_clip1_Arg0* value); + void (*setClipShape)(Ark_NativePointer node, + const Type_CommonMethod_clipShape_Arg0* value); + void (*setMask0)(Ark_NativePointer node, + const Ark_Materialized* value); + void (*setMask1)(Ark_NativePointer node, + const Type_CommonMethod_mask1_Arg0* value); + void (*setMaskShape)(Ark_NativePointer node, + const Type_CommonMethod_maskShape_Arg0* value); + void (*setKey)(Ark_NativePointer node, + const Ark_String* value); + void (*setId)(Ark_NativePointer node, + const Ark_String* value); + void (*setGeometryTransition0)(Ark_NativePointer node, + const Ark_String* id); + void (*setGeometryTransition1)(Ark_NativePointer node, + const Ark_String* id, + const Opt_GeometryTransitionOptions* options); + void (*setBindPopup)(Ark_NativePointer node, + Ark_Boolean show, + const Type_CommonMethod_bindPopup_Arg1* popup); + void (*setBindMenu0)(Ark_NativePointer node, + const Type_CommonMethod_bindMenu_Arg0* content, + const Opt_MenuOptions* options); + void (*setBindMenu1)(Ark_NativePointer node, + Ark_Boolean isShow, + const Type_CommonMethod_bindMenu1_Arg1* content, + const Opt_MenuOptions* options); + void (*setBindContextMenu0)(Ark_NativePointer node, + const CustomBuilder* content, + Ark_Int32 responseType, + const Opt_ContextMenuOptions* options); + void (*setBindContextMenu1)(Ark_NativePointer node, + Ark_Boolean isShown, + const CustomBuilder* content, + const Opt_ContextMenuOptions* options); + void (*setBindContentCover0)(Ark_NativePointer node, + const Opt_Boolean* isShow, + const CustomBuilder* builder, + const Opt_ModalTransition* type); + void (*setBindContentCover1)(Ark_NativePointer node, + const Opt_Boolean* isShow, + const CustomBuilder* builder, + const Opt_ContentCoverOptions* options); + void (*setBindSheet)(Ark_NativePointer node, + const Opt_Boolean* isShow, + const CustomBuilder* builder, + const Opt_SheetOptions* options); + void (*setStateStyles)(Ark_NativePointer node, + const Ark_StateStyles* value); + void (*setRestoreId)(Ark_NativePointer node, + const Ark_Number* value); + void (*setOnVisibleAreaChange)(Ark_NativePointer node, + const Array_Number* ratios, + Ark_Function event); + void (*setSphericalEffect)(Ark_NativePointer node, + const Ark_Number* value); + void (*setLightUpEffect)(Ark_NativePointer node, + const Ark_Number* value); + void (*setPixelStretchEffect)(Ark_NativePointer node, + const Ark_PixelStretchEffectOptions* options); + void (*setKeyboardShortcut)(Ark_NativePointer node, + const Type_CommonMethod_keyboardShortcut_Arg0* value, + const Array_ModifierKey* keys, + const Opt_Function* action); + void (*setAccessibilityGroup)(Ark_NativePointer node, + Ark_Boolean value); + void (*setAccessibilityText0)(Ark_NativePointer node, + const Ark_String* value); + void (*setAccessibilityText1)(Ark_NativePointer node, + const Ark_Resource* text); + void (*setAccessibilityTextHint)(Ark_NativePointer node, + const Ark_String* value); + void (*setAccessibilityDescription0)(Ark_NativePointer node, + const Ark_String* value); + void (*setAccessibilityDescription1)(Ark_NativePointer node, + const Ark_Resource* description); + void (*setAccessibilityLevel)(Ark_NativePointer node, + const Ark_String* value); + void (*setAccessibilityVirtualNode)(Ark_NativePointer node, + const CustomBuilder* builder); + void (*setObscured)(Ark_NativePointer node, + const Array_ObscuredReasons* reasons); + void (*setReuseId)(Ark_NativePointer node, + const Ark_String* id); + void (*setRenderFit)(Ark_NativePointer node, + Ark_Int32 fitMode); + void (*setGestureModifier)(Ark_NativePointer node, + const Ark_Materialized* modifier); + void (*setBackgroundBrightness)(Ark_NativePointer node, + const Ark_BackgroundBrightnessOptions* params); + void (*setOnGestureJudgeBegin)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnGestureRecognizerJudgeBegin)(Ark_NativePointer node, + Ark_Function callback); + void (*setShouldBuiltInRecognizerParallelWith)(Ark_NativePointer node, + Ark_Function callback); + void (*setMonopolizeEvents)(Ark_NativePointer node, + Ark_Boolean monopolize); + void (*setOnTouchIntercept)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSizeChange)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUICommonMethodModifier; typedef struct GENERATED_ArkUICommonShapeMethodModifier { - void (*setStroke)(Ark_NativePointer node, const ResourceColor* value); - void (*setFill)(Ark_NativePointer node, const ResourceColor* value); - void (*setStrokeDashOffset)(Ark_NativePointer node, const Type_CommonShapeMethod_strokeDashOffset_Arg0* value); - void (*setStrokeLineCap)(Ark_NativePointer node, Ark_Int32 value); - void (*setStrokeLineJoin)(Ark_NativePointer node, Ark_Int32 value); - void (*setStrokeMiterLimit)(Ark_NativePointer node, const Type_CommonShapeMethod_strokeMiterLimit_Arg0* value); - void (*setStrokeOpacity)(Ark_NativePointer node, const Type_CommonShapeMethod_strokeOpacity_Arg0* value); - void (*setFillOpacity)(Ark_NativePointer node, const Type_CommonShapeMethod_fillOpacity_Arg0* value); - void (*setStrokeWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setAntiAlias)(Ark_NativePointer node, Ark_Boolean value); - void (*setStrokeDashArray)(Ark_NativePointer node, const Array_CustomObject* value); + void (*setStroke)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFill)(Ark_NativePointer node, + const ResourceColor* value); + void (*setStrokeDashOffset)(Ark_NativePointer node, + const Type_CommonShapeMethod_strokeDashOffset_Arg0* value); + void (*setStrokeLineCap)(Ark_NativePointer node, + Ark_Int32 value); + void (*setStrokeLineJoin)(Ark_NativePointer node, + Ark_Int32 value); + void (*setStrokeMiterLimit)(Ark_NativePointer node, + const Type_CommonShapeMethod_strokeMiterLimit_Arg0* value); + void (*setStrokeOpacity)(Ark_NativePointer node, + const Type_CommonShapeMethod_strokeOpacity_Arg0* value); + void (*setFillOpacity)(Ark_NativePointer node, + const Type_CommonShapeMethod_fillOpacity_Arg0* value); + void (*setStrokeWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setAntiAlias)(Ark_NativePointer node, + Ark_Boolean value); + void (*setStrokeDashArray)(Ark_NativePointer node, + const Array_CustomObject* value); } GENERATED_ArkUICommonShapeMethodModifier; typedef struct GENERATED_ArkUICommonModifier { - void (*_setCommonOptions)(Ark_NativePointer node); + void (*setCommonOptions)(Ark_NativePointer node); } GENERATED_ArkUICommonModifier; typedef struct GENERATED_ArkUIScrollableCommonMethodModifier { - void (*setScrollBar)(Ark_NativePointer node, Ark_Int32 barState); - void (*setScrollBarColor)(Ark_NativePointer node, const Type_ScrollableCommonMethod_scrollBarColor_Arg0* color); - void (*setScrollBarWidth)(Ark_NativePointer node, const Type_ScrollableCommonMethod_scrollBarWidth_Arg0* value); - void (*setEdgeEffect)(Ark_NativePointer node, Ark_Int32 edgeEffect, const Opt_EdgeEffectOptions* options); - void (*setNestedScroll)(Ark_NativePointer node, const Ark_NestedScrollOptions* value); - void (*setEnableScrollInteraction)(Ark_NativePointer node, Ark_Boolean value); - void (*setFriction)(Ark_NativePointer node, const Type_ScrollableCommonMethod_friction_Arg0* value); - void (*setOnScroll)(Ark_NativePointer node, Ark_Function event); - void (*setOnWillScroll)(Ark_NativePointer node, const Ark_CustomObject* stub_for_onWillScroll); - void (*setOnDidScroll)(Ark_NativePointer node, Ark_Function handler); - void (*setOnReachStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnReachEnd)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollStop)(Ark_NativePointer node, Ark_Function event); - void (*setFlingSpeedLimit)(Ark_NativePointer node, const Ark_Number* speedLimit); + void (*setScrollBar)(Ark_NativePointer node, + Ark_Int32 barState); + void (*setScrollBarColor)(Ark_NativePointer node, + const Type_ScrollableCommonMethod_scrollBarColor_Arg0* color); + void (*setScrollBarWidth)(Ark_NativePointer node, + const Type_ScrollableCommonMethod_scrollBarWidth_Arg0* value); + void (*setEdgeEffect)(Ark_NativePointer node, + Ark_Int32 edgeEffect, + const Opt_EdgeEffectOptions* options); + void (*setNestedScroll)(Ark_NativePointer node, + const Ark_NestedScrollOptions* value); + void (*setEnableScrollInteraction)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFriction)(Ark_NativePointer node, + const Type_ScrollableCommonMethod_friction_Arg0* value); + void (*setOnScroll)(Ark_NativePointer node, + Ark_Function event); + void (*setOnWillScroll)(Ark_NativePointer node, + const Ark_CustomObject* stub_for_onWillScroll); + void (*setOnDidScroll)(Ark_NativePointer node, + Ark_Function handler); + void (*setOnReachStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnReachEnd)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollStop)(Ark_NativePointer node, + Ark_Function event); + void (*setFlingSpeedLimit)(Ark_NativePointer node, + const Ark_Number* speedLimit); } GENERATED_ArkUIScrollableCommonMethodModifier; typedef struct GENERATED_ArkUIComponent3DModifier { - void (*_setComponent3DOptions)(Ark_NativePointer node, const Opt_SceneOptions* sceneOptions); - void (*setEnvironment)(Ark_NativePointer node, const Ark_Resource* uri); - void (*setCustomRender)(Ark_NativePointer node, const Ark_Resource* uri, Ark_Boolean selfRenderUpdate); - void (*setShader)(Ark_NativePointer node, const Ark_Resource* uri); - void (*setShaderImageTexture)(Ark_NativePointer node, const Ark_Resource* uri); - void (*setShaderInputBuffer)(Ark_NativePointer node, const Array_Number* buffer); - void (*setRenderWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setRenderHeight)(Ark_NativePointer node, const Ark_Length* value); + void (*setComponent3DOptions)(Ark_NativePointer node, + const Opt_SceneOptions* sceneOptions); + void (*setEnvironment)(Ark_NativePointer node, + const Ark_Resource* uri); + void (*setCustomRender)(Ark_NativePointer node, + const Ark_Resource* uri, + Ark_Boolean selfRenderUpdate); + void (*setShader)(Ark_NativePointer node, + const Ark_Resource* uri); + void (*setShaderImageTexture)(Ark_NativePointer node, + const Ark_Resource* uri); + void (*setShaderInputBuffer)(Ark_NativePointer node, + const Array_Number* buffer); + void (*setRenderWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setRenderHeight)(Ark_NativePointer node, + const Ark_Length* value); } GENERATED_ArkUIComponent3DModifier; typedef struct GENERATED_ArkUIContainerSpanModifier { - void (*_setContainerSpanOptions)(Ark_NativePointer node); - void (*setTextBackgroundStyle)(Ark_NativePointer node, const Ark_TextBackgroundStyle* style); + void (*setContainerSpanOptions)(Ark_NativePointer node); + void (*setTextBackgroundStyle)(Ark_NativePointer node, + const Ark_TextBackgroundStyle* style); } GENERATED_ArkUIContainerSpanModifier; typedef struct GENERATED_ArkUICounterModifier { - void (*_setCounterOptions)(Ark_NativePointer node); - void (*setOnInc)(Ark_NativePointer node, Ark_Function event); - void (*setOnDec)(Ark_NativePointer node, Ark_Function event); - void (*setEnableDec)(Ark_NativePointer node, Ark_Boolean value); - void (*setEnableInc)(Ark_NativePointer node, Ark_Boolean value); + void (*setCounterOptions)(Ark_NativePointer node); + void (*setOnInc)(Ark_NativePointer node, + Ark_Function event); + void (*setOnDec)(Ark_NativePointer node, + Ark_Function event); + void (*setEnableDec)(Ark_NativePointer node, + Ark_Boolean value); + void (*setEnableInc)(Ark_NativePointer node, + Ark_Boolean value); } GENERATED_ArkUICounterModifier; typedef struct GENERATED_ArkUIDataPanelModifier { - void (*_setDataPanelOptions)(Ark_NativePointer node, const Ark_DataPanelOptions* options); - void (*setCloseEffect)(Ark_NativePointer node, Ark_Boolean value); - void (*setValueColors)(Ark_NativePointer node, const Array_Union_ResourceColor_LinearGradient* value); - void (*setTrackBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setStrokeWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setTrackShadow)(Ark_NativePointer node, const Ark_DataPanelShadowOptions* value); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); + void (*setDataPanelOptions)(Ark_NativePointer node, + const Ark_DataPanelOptions* options); + void (*setCloseEffect)(Ark_NativePointer node, + Ark_Boolean value); + void (*setValueColors)(Ark_NativePointer node, + const Array_Union_ResourceColor_LinearGradient* value); + void (*setTrackBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setStrokeWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setTrackShadow)(Ark_NativePointer node, + const Ark_DataPanelShadowOptions* value); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); } GENERATED_ArkUIDataPanelModifier; typedef struct GENERATED_ArkUIDatePickerModifier { - void (*_setDatePickerOptions)(Ark_NativePointer node, const Opt_DatePickerOptions* options); - void (*setLunar)(Ark_NativePointer node, Ark_Boolean value); - void (*setDisappearTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setSelectedTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDateChange)(Ark_NativePointer node, Ark_Function callback); + void (*setDatePickerOptions)(Ark_NativePointer node, + const Opt_DatePickerOptions* options); + void (*setLunar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setDisappearTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setSelectedTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDateChange)(Ark_NativePointer node, + Ark_Function callback); } GENERATED_ArkUIDatePickerModifier; typedef struct GENERATED_ArkUIDividerModifier { - void (*_setDividerOptions)(Ark_NativePointer node); - void (*setVertical)(Ark_NativePointer node, Ark_Boolean value); - void (*setColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setStrokeWidth)(Ark_NativePointer node, const Type_DividerAttribute_strokeWidth_Arg0* value); - void (*setLineCap)(Ark_NativePointer node, Ark_Int32 value); + void (*setDividerOptions)(Ark_NativePointer node); + void (*setVertical)(Ark_NativePointer node, + Ark_Boolean value); + void (*setColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setStrokeWidth)(Ark_NativePointer node, + const Type_DividerAttribute_strokeWidth_Arg0* value); + void (*setLineCap)(Ark_NativePointer node, + Ark_Int32 value); } GENERATED_ArkUIDividerModifier; typedef struct GENERATED_ArkUIEffectComponentModifier { - void (*_setEffectComponentOptions)(Ark_NativePointer node); + void (*setEffectComponentOptions)(Ark_NativePointer node); } GENERATED_ArkUIEffectComponentModifier; typedef struct GENERATED_ArkUIEllipseModifier { - void (*_setEllipseOptions)(Ark_NativePointer node, const Opt_Type_EllipseInterface__setEllipseOptions_Arg0* value); + void (*setEllipseOptions)(Ark_NativePointer node, + const Opt_Type_EllipseInterface_setEllipseOptions_Arg0* value); } GENERATED_ArkUIEllipseModifier; typedef struct GENERATED_ArkUIEmbeddedComponentModifier { - void (*_setEmbeddedComponentOptions)(Ark_NativePointer node, const Ark_CustomObject* loader, Ark_Int32 type); - void (*setOnTerminated)(Ark_NativePointer node, Ark_Function callback); - void (*setOnError)(Ark_NativePointer node, const Ark_CustomObject* callback); + void (*setEmbeddedComponentOptions)(Ark_NativePointer node, + const Ark_CustomObject* loader, + Ark_Int32 type); + void (*setOnTerminated)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnError)(Ark_NativePointer node, + const Ark_CustomObject* callback); } GENERATED_ArkUIEmbeddedComponentModifier; typedef struct GENERATED_ArkUIFlexModifier { - void (*_setFlexOptions)(Ark_NativePointer node, const Opt_FlexOptions* value); - void (*setPointLight)(Ark_NativePointer node, const Ark_PointLightStyle* value); + void (*setFlexOptions)(Ark_NativePointer node, + const Opt_FlexOptions* value); + void (*setPointLight)(Ark_NativePointer node, + const Ark_PointLightStyle* value); } GENERATED_ArkUIFlexModifier; typedef struct GENERATED_ArkUIFlowItemModifier { - void (*_setFlowItemOptions)(Ark_NativePointer node); + void (*setFlowItemOptions)(Ark_NativePointer node); } GENERATED_ArkUIFlowItemModifier; typedef struct GENERATED_ArkUIFolderStackModifier { - void (*_setFolderStackOptions)(Ark_NativePointer node, const Opt_Type_FolderStackInterface__setFolderStackOptions_Arg0* value); - void (*setAlignContent)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnFolderStateChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnHoverStatusChange)(Ark_NativePointer node, Ark_Function handler); - void (*setEnableAnimation)(Ark_NativePointer node, Ark_Boolean value); - void (*setAutoHalfFold)(Ark_NativePointer node, Ark_Boolean value); + void (*setFolderStackOptions)(Ark_NativePointer node, + const Opt_Type_FolderStackInterface_setFolderStackOptions_Arg0* value); + void (*setAlignContent)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnFolderStateChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnHoverStatusChange)(Ark_NativePointer node, + Ark_Function handler); + void (*setEnableAnimation)(Ark_NativePointer node, + Ark_Boolean value); + void (*setAutoHalfFold)(Ark_NativePointer node, + Ark_Boolean value); } GENERATED_ArkUIFolderStackModifier; typedef struct GENERATED_ArkUIFormComponentModifier { - void (*_setFormComponentOptions)(Ark_NativePointer node, const Ark_FormInfo* value); - void (*setSize)(Ark_NativePointer node, const Type_FormComponentAttribute_size_Arg0* value); - void (*setModuleName)(Ark_NativePointer node, const Ark_String* value); - void (*setDimension)(Ark_NativePointer node, Ark_Int32 value); - void (*setAllowUpdate)(Ark_NativePointer node, Ark_Boolean value); - void (*setVisibility)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnAcquired)(Ark_NativePointer node, Ark_Function callback); - void (*setOnError)(Ark_NativePointer node, Ark_Function callback); - void (*setOnRouter)(Ark_NativePointer node, Ark_Function callback); - void (*setOnUninstall)(Ark_NativePointer node, Ark_Function callback); - void (*setOnLoad)(Ark_NativePointer node, Ark_Function callback); + void (*setFormComponentOptions)(Ark_NativePointer node, + const Ark_FormInfo* value); + void (*setSize)(Ark_NativePointer node, + const Type_FormComponentAttribute_size_Arg0* value); + void (*setModuleName)(Ark_NativePointer node, + const Ark_String* value); + void (*setDimension)(Ark_NativePointer node, + Ark_Int32 value); + void (*setAllowUpdate)(Ark_NativePointer node, + Ark_Boolean value); + void (*setVisibility)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnAcquired)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnError)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnRouter)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnUninstall)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnLoad)(Ark_NativePointer node, + Ark_Function callback); } GENERATED_ArkUIFormComponentModifier; typedef struct GENERATED_ArkUIFormLinkModifier { - void (*_setFormLinkOptions)(Ark_NativePointer node, const Ark_FormLinkOptions* options); + void (*setFormLinkOptions)(Ark_NativePointer node, + const Ark_FormLinkOptions* options); } GENERATED_ArkUIFormLinkModifier; typedef struct GENERATED_ArkUIGaugeModifier { - void (*_setGaugeOptions)(Ark_NativePointer node, const Type_GaugeInterface__setGaugeOptions_Arg0* options); - void (*setValue)(Ark_NativePointer node, const Ark_Number* value); - void (*setStartAngle)(Ark_NativePointer node, const Ark_Number* angle); - void (*setEndAngle)(Ark_NativePointer node, const Ark_Number* angle); - void (*setColors)(Ark_NativePointer node, const Type_GaugeAttribute_colors_Arg0* colors); - void (*setStrokeWidth)(Ark_NativePointer node, const Ark_Length* length); - void (*setDescription)(Ark_NativePointer node, const CustomBuilder* value); - void (*setTrackShadow)(Ark_NativePointer node, const Ark_GaugeShadowOptions* value); - void (*setIndicator)(Ark_NativePointer node, const Ark_GaugeIndicatorOptions* value); - void (*setPrivacySensitive)(Ark_NativePointer node, const Opt_Boolean* isPrivacySensitiveMode); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); + void (*setGaugeOptions)(Ark_NativePointer node, + const Type_GaugeInterface_setGaugeOptions_Arg0* options); + void (*setValue)(Ark_NativePointer node, + const Ark_Number* value); + void (*setStartAngle)(Ark_NativePointer node, + const Ark_Number* angle); + void (*setEndAngle)(Ark_NativePointer node, + const Ark_Number* angle); + void (*setColors)(Ark_NativePointer node, + const Type_GaugeAttribute_colors_Arg0* colors); + void (*setStrokeWidth)(Ark_NativePointer node, + const Ark_Length* length); + void (*setDescription)(Ark_NativePointer node, + const CustomBuilder* value); + void (*setTrackShadow)(Ark_NativePointer node, + const Ark_GaugeShadowOptions* value); + void (*setIndicator)(Ark_NativePointer node, + const Ark_GaugeIndicatorOptions* value); + void (*setPrivacySensitive)(Ark_NativePointer node, + const Opt_Boolean* isPrivacySensitiveMode); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); } GENERATED_ArkUIGaugeModifier; typedef struct GENERATED_ArkUIGridModifier { - void (*_setGridOptions)(Ark_NativePointer node, const Opt_Scroller* scroller, const Opt_GridLayoutOptions* layoutOptions); - void (*setColumnsTemplate)(Ark_NativePointer node, const Ark_String* value); - void (*setRowsTemplate)(Ark_NativePointer node, const Ark_String* value); - void (*setColumnsGap)(Ark_NativePointer node, const Ark_Length* value); - void (*setRowsGap)(Ark_NativePointer node, const Ark_Length* value); - void (*setScrollBarWidth)(Ark_NativePointer node, const Type_GridAttribute_scrollBarWidth_Arg0* value); - void (*setScrollBarColor)(Ark_NativePointer node, const Type_GridAttribute_scrollBarColor_Arg0* value); - void (*setScrollBar)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnScrollBarUpdate)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollIndex)(Ark_NativePointer node, Ark_Function event); - void (*setCachedCount)(Ark_NativePointer node, const Ark_Number* value); - void (*setEditMode)(Ark_NativePointer node, Ark_Boolean value); - void (*setMultiSelectable)(Ark_NativePointer node, Ark_Boolean value); - void (*setMaxCount)(Ark_NativePointer node, const Ark_Number* value); - void (*setMinCount)(Ark_NativePointer node, const Ark_Number* value); - void (*setCellLength)(Ark_NativePointer node, const Ark_Number* value); - void (*setLayoutDirection)(Ark_NativePointer node, Ark_Int32 value); - void (*setSupportAnimation)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnItemDragStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDragEnter)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDragMove)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDragLeave)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDrop)(Ark_NativePointer node, Ark_Function event); - void (*setEdgeEffect)(Ark_NativePointer node, Ark_Int32 value, const Opt_EdgeEffectOptions* options); - void (*setNestedScroll)(Ark_NativePointer node, const Ark_NestedScrollOptions* value); - void (*setEnableScrollInteraction)(Ark_NativePointer node, Ark_Boolean value); - void (*setFriction)(Ark_NativePointer node, const Type_GridAttribute_friction_Arg0* value); - void (*setOnScroll)(Ark_NativePointer node, Ark_Function event); - void (*setOnReachStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnReachEnd)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollStop)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollFrameBegin)(Ark_NativePointer node, Ark_Function event); + void (*setGridOptions)(Ark_NativePointer node, + const Opt_Scroller* scroller, + const Opt_GridLayoutOptions* layoutOptions); + void (*setColumnsTemplate)(Ark_NativePointer node, + const Ark_String* value); + void (*setRowsTemplate)(Ark_NativePointer node, + const Ark_String* value); + void (*setColumnsGap)(Ark_NativePointer node, + const Ark_Length* value); + void (*setRowsGap)(Ark_NativePointer node, + const Ark_Length* value); + void (*setScrollBarWidth)(Ark_NativePointer node, + const Type_GridAttribute_scrollBarWidth_Arg0* value); + void (*setScrollBarColor)(Ark_NativePointer node, + const Type_GridAttribute_scrollBarColor_Arg0* value); + void (*setScrollBar)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnScrollBarUpdate)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollIndex)(Ark_NativePointer node, + Ark_Function event); + void (*setCachedCount)(Ark_NativePointer node, + const Ark_Number* value); + void (*setEditMode)(Ark_NativePointer node, + Ark_Boolean value); + void (*setMultiSelectable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setMaxCount)(Ark_NativePointer node, + const Ark_Number* value); + void (*setMinCount)(Ark_NativePointer node, + const Ark_Number* value); + void (*setCellLength)(Ark_NativePointer node, + const Ark_Number* value); + void (*setLayoutDirection)(Ark_NativePointer node, + Ark_Int32 value); + void (*setSupportAnimation)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnItemDragStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDragEnter)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDragMove)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDragLeave)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDrop)(Ark_NativePointer node, + Ark_Function event); + void (*setEdgeEffect)(Ark_NativePointer node, + Ark_Int32 value, + const Opt_EdgeEffectOptions* options); + void (*setNestedScroll)(Ark_NativePointer node, + const Ark_NestedScrollOptions* value); + void (*setEnableScrollInteraction)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFriction)(Ark_NativePointer node, + const Type_GridAttribute_friction_Arg0* value); + void (*setOnScroll)(Ark_NativePointer node, + Ark_Function event); + void (*setOnReachStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnReachEnd)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollStop)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollFrameBegin)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUIGridModifier; typedef struct GENERATED_ArkUIGridItemModifier { - void (*_setGridItemOptions)(Ark_NativePointer node, const Opt_GridItemOptions* value); - void (*setRowStart)(Ark_NativePointer node, const Ark_Number* value); - void (*setRowEnd)(Ark_NativePointer node, const Ark_Number* value); - void (*setColumnStart)(Ark_NativePointer node, const Ark_Number* value); - void (*setColumnEnd)(Ark_NativePointer node, const Ark_Number* value); - void (*setForceRebuild)(Ark_NativePointer node, Ark_Boolean value); - void (*setSelectable)(Ark_NativePointer node, Ark_Boolean value); - void (*setSelected)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnSelect)(Ark_NativePointer node, Ark_Function event); + void (*setGridItemOptions)(Ark_NativePointer node, + const Opt_GridItemOptions* value); + void (*setRowStart)(Ark_NativePointer node, + const Ark_Number* value); + void (*setRowEnd)(Ark_NativePointer node, + const Ark_Number* value); + void (*setColumnStart)(Ark_NativePointer node, + const Ark_Number* value); + void (*setColumnEnd)(Ark_NativePointer node, + const Ark_Number* value); + void (*setForceRebuild)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelectable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelected)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnSelect)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUIGridItemModifier; typedef struct GENERATED_ArkUIGridColModifier { - void (*_setGridColOptions)(Ark_NativePointer node, const Opt_GridColOptions* option); - void (*setSpan)(Ark_NativePointer node, const Type_GridColAttribute_span_Arg0* value); - void (*setGridColOffset)(Ark_NativePointer node, const Type_GridColAttribute_gridColOffset_Arg0* value); - void (*setOrder)(Ark_NativePointer node, const Type_GridColAttribute_order_Arg0* value); + void (*setGridColOptions)(Ark_NativePointer node, + const Opt_GridColOptions* option); + void (*setSpan)(Ark_NativePointer node, + const Type_GridColAttribute_span_Arg0* value); + void (*setGridColOffset)(Ark_NativePointer node, + const Type_GridColAttribute_gridColOffset_Arg0* value); + void (*setOrder)(Ark_NativePointer node, + const Type_GridColAttribute_order_Arg0* value); } GENERATED_ArkUIGridColModifier; typedef struct GENERATED_ArkUIGridContainerModifier { - void (*_setGridContainerOptions)(Ark_NativePointer node, const Opt_GridContainerOptions* value); + void (*setGridContainerOptions)(Ark_NativePointer node, + const Opt_GridContainerOptions* value); } GENERATED_ArkUIGridContainerModifier; typedef struct GENERATED_ArkUIGridRowModifier { - void (*_setGridRowOptions)(Ark_NativePointer node, const Opt_GridRowOptions* option); - void (*setOnBreakpointChange)(Ark_NativePointer node, Ark_Function callback); - void (*setAlignItems)(Ark_NativePointer node, Ark_Int32 value); + void (*setGridRowOptions)(Ark_NativePointer node, + const Opt_GridRowOptions* option); + void (*setOnBreakpointChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setAlignItems)(Ark_NativePointer node, + Ark_Int32 value); } GENERATED_ArkUIGridRowModifier; typedef struct GENERATED_ArkUIHyperlinkModifier { - void (*_setHyperlinkOptions)(Ark_NativePointer node, const Type_HyperlinkInterface__setHyperlinkOptions_Arg0* address, const Opt_Type_HyperlinkInterface__setHyperlinkOptions_Arg1* content); - void (*setColor)(Ark_NativePointer node, const Type_HyperlinkAttribute_color_Arg0* value); + void (*setHyperlinkOptions)(Ark_NativePointer node, + const Type_HyperlinkInterface_setHyperlinkOptions_Arg0* address, + const Opt_Type_HyperlinkInterface_setHyperlinkOptions_Arg1* content); + void (*setColor)(Ark_NativePointer node, + const Type_HyperlinkAttribute_color_Arg0* value); } GENERATED_ArkUIHyperlinkModifier; typedef struct GENERATED_ArkUIImageModifier { - void (*_setImageOptions_PixelMapResourceStrDrawableDescriptor)(Ark_NativePointer node, const Type_ImageInterface__setImageOptions_Arg0* src); - void (*_setImageOptions_PixelMapResourceStrDrawableDescriptorImageContent)(Ark_NativePointer node, const Type_ImageInterface__setImageOptions1_Arg0* src); - void (*_setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptions)(Ark_NativePointer node, const Type_ImageInterface__setImageOptions2_Arg0* src, const Ark_ImageAIOptions* imageAIOptions); - void (*setAlt)(Ark_NativePointer node, const Type_ImageAttribute_alt_Arg0* value); - void (*setMatchTextDirection)(Ark_NativePointer node, Ark_Boolean value); - void (*setFitOriginalSize)(Ark_NativePointer node, Ark_Boolean value); - void (*setFillColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setObjectFit)(Ark_NativePointer node, Ark_Int32 value); - void (*setObjectRepeat)(Ark_NativePointer node, Ark_Int32 value); - void (*setAutoResize)(Ark_NativePointer node, Ark_Boolean value); - void (*setRenderMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setDynamicRangeMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setInterpolation)(Ark_NativePointer node, Ark_Int32 value); - void (*setSourceSize)(Ark_NativePointer node, const Type_ImageAttribute_sourceSize_Arg0* value); - void (*setSyncLoad)(Ark_NativePointer node, Ark_Boolean value); - void (*setColorFilter)(Ark_NativePointer node, const Type_ImageAttribute_colorFilter_Arg0* value); - void (*setCopyOption)(Ark_NativePointer node, Ark_Int32 value); - void (*setDraggable)(Ark_NativePointer node, Ark_Boolean value); - void (*setPointLight)(Ark_NativePointer node, const Ark_PointLightStyle* value); - void (*setEdgeAntialiasing)(Ark_NativePointer node, const Ark_Number* value); - void (*setOnComplete)(Ark_NativePointer node, Ark_Function callback); - void (*setOnError)(Ark_NativePointer node, Ark_Function callback); - void (*setOnFinish)(Ark_NativePointer node, Ark_Function event); - void (*setEnableAnalyzer)(Ark_NativePointer node, Ark_Boolean enable); - void (*setAnalyzerConfig)(Ark_NativePointer node, const Ark_ImageAnalyzerConfig* config); - void (*setResizable)(Ark_NativePointer node, const Ark_ResizableOptions* value); - void (*setPrivacySensitive)(Ark_NativePointer node, Ark_Boolean supported); - void (*setEnhancedImageQuality)(Ark_NativePointer node, const Ark_CustomObject* imageQuality); + void (*setImageOptions0)(Ark_NativePointer node, + const Type_ImageInterface_setImageOptions_Arg0* src); + void (*setImageOptions1)(Ark_NativePointer node, + const Type_ImageInterface_setImageOptions1_Arg0* src); + void (*setImageOptions2)(Ark_NativePointer node, + const Type_ImageInterface_setImageOptions2_Arg0* src, + const Ark_ImageAIOptions* imageAIOptions); + void (*setAlt)(Ark_NativePointer node, + const Type_ImageAttribute_alt_Arg0* value); + void (*setMatchTextDirection)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFitOriginalSize)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFillColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setObjectFit)(Ark_NativePointer node, + Ark_Int32 value); + void (*setObjectRepeat)(Ark_NativePointer node, + Ark_Int32 value); + void (*setAutoResize)(Ark_NativePointer node, + Ark_Boolean value); + void (*setRenderMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDynamicRangeMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setInterpolation)(Ark_NativePointer node, + Ark_Int32 value); + void (*setSourceSize)(Ark_NativePointer node, + const Type_ImageAttribute_sourceSize_Arg0* value); + void (*setSyncLoad)(Ark_NativePointer node, + Ark_Boolean value); + void (*setColorFilter)(Ark_NativePointer node, + const Type_ImageAttribute_colorFilter_Arg0* value); + void (*setCopyOption)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDraggable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setPointLight)(Ark_NativePointer node, + const Ark_PointLightStyle* value); + void (*setEdgeAntialiasing)(Ark_NativePointer node, + const Ark_Number* value); + void (*setOnComplete)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnError)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnFinish)(Ark_NativePointer node, + Ark_Function event); + void (*setEnableAnalyzer)(Ark_NativePointer node, + Ark_Boolean enable); + void (*setAnalyzerConfig)(Ark_NativePointer node, + const Ark_ImageAnalyzerConfig* config); + void (*setResizable)(Ark_NativePointer node, + const Ark_ResizableOptions* value); + void (*setPrivacySensitive)(Ark_NativePointer node, + Ark_Boolean supported); + void (*setEnhancedImageQuality)(Ark_NativePointer node, + const Ark_CustomObject* imageQuality); } GENERATED_ArkUIImageModifier; typedef struct GENERATED_ArkUIImageAnimatorModifier { - void (*_setImageAnimatorOptions)(Ark_NativePointer node); - void (*setImages)(Ark_NativePointer node, const Array_ImageFrameInfo* value); - void (*setState)(Ark_NativePointer node, Ark_Int32 value); - void (*setDuration)(Ark_NativePointer node, const Ark_Number* value); - void (*setReverse)(Ark_NativePointer node, Ark_Boolean value); - void (*setFixedSize)(Ark_NativePointer node, Ark_Boolean value); - void (*setPreDecode)(Ark_NativePointer node, const Ark_Number* value); - void (*setFillMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setIterations)(Ark_NativePointer node, const Ark_Number* value); - void (*setOnStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnPause)(Ark_NativePointer node, Ark_Function event); - void (*setOnRepeat)(Ark_NativePointer node, Ark_Function event); - void (*setOnCancel)(Ark_NativePointer node, Ark_Function event); - void (*setOnFinish)(Ark_NativePointer node, Ark_Function event); + void (*setImageAnimatorOptions)(Ark_NativePointer node); + void (*setImages)(Ark_NativePointer node, + const Array_ImageFrameInfo* value); + void (*setState)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDuration)(Ark_NativePointer node, + const Ark_Number* value); + void (*setReverse)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFixedSize)(Ark_NativePointer node, + Ark_Boolean value); + void (*setPreDecode)(Ark_NativePointer node, + const Ark_Number* value); + void (*setFillMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setIterations)(Ark_NativePointer node, + const Ark_Number* value); + void (*setOnStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnPause)(Ark_NativePointer node, + Ark_Function event); + void (*setOnRepeat)(Ark_NativePointer node, + Ark_Function event); + void (*setOnCancel)(Ark_NativePointer node, + Ark_Function event); + void (*setOnFinish)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUIImageAnimatorModifier; typedef struct GENERATED_ArkUIImageSpanModifier { - void (*_setImageSpanOptions)(Ark_NativePointer node, const Type_ImageSpanInterface__setImageSpanOptions_Arg0* value); - void (*setVerticalAlign)(Ark_NativePointer node, Ark_Int32 value); - void (*setColorFilter)(Ark_NativePointer node, const Type_ImageSpanAttribute_colorFilter_Arg0* filter); - void (*setObjectFit)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnComplete)(Ark_NativePointer node, Ark_Function callback); - void (*setOnError)(Ark_NativePointer node, Ark_Function callback); - void (*setAlt)(Ark_NativePointer node, const Ark_CustomObject* value); + void (*setImageSpanOptions)(Ark_NativePointer node, + const Type_ImageSpanInterface_setImageSpanOptions_Arg0* value); + void (*setVerticalAlign)(Ark_NativePointer node, + Ark_Int32 value); + void (*setColorFilter)(Ark_NativePointer node, + const Type_ImageSpanAttribute_colorFilter_Arg0* filter); + void (*setObjectFit)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnComplete)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnError)(Ark_NativePointer node, + Ark_Function callback); + void (*setAlt)(Ark_NativePointer node, + const Ark_CustomObject* value); } GENERATED_ArkUIImageSpanModifier; typedef struct GENERATED_ArkUILineModifier { - void (*_setLineOptions)(Ark_NativePointer node, const Opt_Type_LineInterface__setLineOptions_Arg0* value); - void (*setStartPoint)(Ark_NativePointer node, const Array_CustomObject* value); - void (*setEndPoint)(Ark_NativePointer node, const Array_CustomObject* value); + void (*setLineOptions)(Ark_NativePointer node, + const Opt_Type_LineInterface_setLineOptions_Arg0* value); + void (*setStartPoint)(Ark_NativePointer node, + const Array_CustomObject* value); + void (*setEndPoint)(Ark_NativePointer node, + const Array_CustomObject* value); } GENERATED_ArkUILineModifier; typedef struct GENERATED_ArkUIListModifier { - void (*_setListOptions)(Ark_NativePointer node, const Opt_Type_ListInterface__setListOptions_Arg0* value); - void (*setLanes)(Ark_NativePointer node, const Type_ListAttribute_lanes_Arg0* value, const Opt_Dimension* gutter); - void (*setAlignListItem)(Ark_NativePointer node, Ark_Int32 value); - void (*setListDirection)(Ark_NativePointer node, Ark_Int32 value); - void (*setScrollBar)(Ark_NativePointer node, Ark_Int32 value); - void (*setEdgeEffect)(Ark_NativePointer node, Ark_Int32 value, const Opt_EdgeEffectOptions* options); - void (*setFadingEdge)(Ark_NativePointer node, const Opt_Boolean* value); - void (*setContentStartOffset)(Ark_NativePointer node, const Ark_Number* value); - void (*setContentEndOffset)(Ark_NativePointer node, const Ark_Number* value); - void (*setDivider)(Ark_NativePointer node, const Type_ListAttribute_divider_Arg0* value); - void (*setEditMode)(Ark_NativePointer node, Ark_Boolean value); - void (*setMultiSelectable)(Ark_NativePointer node, Ark_Boolean value); - void (*setCachedCount)(Ark_NativePointer node, const Ark_Number* value); - void (*setChainAnimation)(Ark_NativePointer node, Ark_Boolean value); - void (*setChainAnimationOptions)(Ark_NativePointer node, const Ark_ChainAnimationOptions* value); - void (*setSticky)(Ark_NativePointer node, Ark_Int32 value); - void (*setScrollSnapAlign)(Ark_NativePointer node, Ark_Int32 value); - void (*setNestedScroll)(Ark_NativePointer node, const Ark_NestedScrollOptions* value); - void (*setEnableScrollInteraction)(Ark_NativePointer node, Ark_Boolean value); - void (*setFriction)(Ark_NativePointer node, const Type_ListAttribute_friction_Arg0* value); - void (*setChildrenMainSize)(Ark_NativePointer node, const Ark_Materialized* value); - void (*setOnScroll)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollIndex)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollVisibleContentChange)(Ark_NativePointer node, Ark_Function handler); - void (*setOnReachStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnReachEnd)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollStop)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDelete)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemMove)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDragStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDragEnter)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDragMove)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDragLeave)(Ark_NativePointer node, Ark_Function event); - void (*setOnItemDrop)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollFrameBegin)(Ark_NativePointer node, Ark_Function event); + void (*setListOptions)(Ark_NativePointer node, + const Opt_Type_ListInterface_setListOptions_Arg0* value); + void (*setLanes)(Ark_NativePointer node, + const Type_ListAttribute_lanes_Arg0* value, + const Opt_Dimension* gutter); + void (*setAlignListItem)(Ark_NativePointer node, + Ark_Int32 value); + void (*setListDirection)(Ark_NativePointer node, + Ark_Int32 value); + void (*setScrollBar)(Ark_NativePointer node, + Ark_Int32 value); + void (*setEdgeEffect)(Ark_NativePointer node, + Ark_Int32 value, + const Opt_EdgeEffectOptions* options); + void (*setFadingEdge)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setContentStartOffset)(Ark_NativePointer node, + const Ark_Number* value); + void (*setContentEndOffset)(Ark_NativePointer node, + const Ark_Number* value); + void (*setDivider)(Ark_NativePointer node, + const Type_ListAttribute_divider_Arg0* value); + void (*setEditMode)(Ark_NativePointer node, + Ark_Boolean value); + void (*setMultiSelectable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setCachedCount)(Ark_NativePointer node, + const Ark_Number* value); + void (*setChainAnimation)(Ark_NativePointer node, + Ark_Boolean value); + void (*setChainAnimationOptions)(Ark_NativePointer node, + const Ark_ChainAnimationOptions* value); + void (*setSticky)(Ark_NativePointer node, + Ark_Int32 value); + void (*setScrollSnapAlign)(Ark_NativePointer node, + Ark_Int32 value); + void (*setNestedScroll)(Ark_NativePointer node, + const Ark_NestedScrollOptions* value); + void (*setEnableScrollInteraction)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFriction)(Ark_NativePointer node, + const Type_ListAttribute_friction_Arg0* value); + void (*setChildrenMainSize)(Ark_NativePointer node, + const Ark_Materialized* value); + void (*setOnScroll)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollIndex)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollVisibleContentChange)(Ark_NativePointer node, + Ark_Function handler); + void (*setOnReachStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnReachEnd)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollStop)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDelete)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemMove)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDragStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDragEnter)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDragMove)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDragLeave)(Ark_NativePointer node, + Ark_Function event); + void (*setOnItemDrop)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollFrameBegin)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUIListModifier; typedef struct GENERATED_ArkUIListItemModifier { - void (*_setListItemOptions_ListItemOptions)(Ark_NativePointer node, const Opt_ListItemOptions* value); - void (*_setListItemOptions_string)(Ark_NativePointer node, const Opt_String* value); - void (*setSticky)(Ark_NativePointer node, Ark_Int32 value); - void (*setEditable)(Ark_NativePointer node, const Type_ListItemAttribute_editable_Arg0* value); - void (*setSelectable)(Ark_NativePointer node, Ark_Boolean value); - void (*setSelected)(Ark_NativePointer node, Ark_Boolean value); - void (*setSwipeAction)(Ark_NativePointer node, const Ark_SwipeActionOptions* value); - void (*setOnSelect)(Ark_NativePointer node, Ark_Function event); + void (*setListItemOptions0)(Ark_NativePointer node, + const Opt_ListItemOptions* value); + void (*setListItemOptions1)(Ark_NativePointer node, + const Opt_String* value); + void (*setSticky)(Ark_NativePointer node, + Ark_Int32 value); + void (*setEditable)(Ark_NativePointer node, + const Type_ListItemAttribute_editable_Arg0* value); + void (*setSelectable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelected)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSwipeAction)(Ark_NativePointer node, + const Ark_SwipeActionOptions* value); + void (*setOnSelect)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUIListItemModifier; typedef struct GENERATED_ArkUIListItemGroupModifier { - void (*_setListItemGroupOptions)(Ark_NativePointer node, const Opt_ListItemGroupOptions* options); - void (*setDivider)(Ark_NativePointer node, const Type_ListItemGroupAttribute_divider_Arg0* value); - void (*setChildrenMainSize)(Ark_NativePointer node, const Ark_Materialized* value); + void (*setListItemGroupOptions)(Ark_NativePointer node, + const Opt_ListItemGroupOptions* options); + void (*setDivider)(Ark_NativePointer node, + const Type_ListItemGroupAttribute_divider_Arg0* value); + void (*setChildrenMainSize)(Ark_NativePointer node, + const Ark_Materialized* value); } GENERATED_ArkUIListItemGroupModifier; typedef struct GENERATED_ArkUILoadingProgressModifier { - void (*_setLoadingProgressOptions)(Ark_NativePointer node); - void (*setColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setEnableLoading)(Ark_NativePointer node, Ark_Boolean value); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); + void (*setLoadingProgressOptions)(Ark_NativePointer node); + void (*setColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setEnableLoading)(Ark_NativePointer node, + Ark_Boolean value); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); } GENERATED_ArkUILoadingProgressModifier; typedef struct GENERATED_ArkUILocationButtonModifier { - void (*_setLocationButtonOptions_)(Ark_NativePointer node); - void (*_setLocationButtonOptions_LocationButtonOptions)(Ark_NativePointer node, const Ark_LocationButtonOptions* options); - void (*setOnClick)(Ark_NativePointer node, Ark_Function event); + void (*setLocationButtonOptions0)(Ark_NativePointer node); + void (*setLocationButtonOptions1)(Ark_NativePointer node, + const Ark_LocationButtonOptions* options); + void (*setOnClick)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUILocationButtonModifier; typedef struct GENERATED_ArkUIMarqueeModifier { - void (*_setMarqueeOptions)(Ark_NativePointer node, const Type_MarqueeInterface__setMarqueeOptions_Arg0* value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setFontSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setAllowScale)(Ark_NativePointer node, Ark_Boolean value); - void (*setFontWeight)(Ark_NativePointer node, const Type_MarqueeAttribute_fontWeight_Arg0* value); - void (*setFontFamily)(Ark_NativePointer node, const Type_MarqueeAttribute_fontFamily_Arg0* value); - void (*setMarqueeUpdateStrategy)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnBounce)(Ark_NativePointer node, Ark_Function event); - void (*setOnFinish)(Ark_NativePointer node, Ark_Function event); + void (*setMarqueeOptions)(Ark_NativePointer node, + const Type_MarqueeInterface_setMarqueeOptions_Arg0* value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFontSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setAllowScale)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_MarqueeAttribute_fontWeight_Arg0* value); + void (*setFontFamily)(Ark_NativePointer node, + const Type_MarqueeAttribute_fontFamily_Arg0* value); + void (*setMarqueeUpdateStrategy)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnBounce)(Ark_NativePointer node, + Ark_Function event); + void (*setOnFinish)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUIMarqueeModifier; typedef struct GENERATED_ArkUIMediaCachedImageModifier { - void (*_setMediaCachedImageOptions)(Ark_NativePointer node, const Type_MediaCachedImageInterface__setMediaCachedImageOptions_Arg0* src); + void (*setMediaCachedImageOptions)(Ark_NativePointer node, + const Type_MediaCachedImageInterface_setMediaCachedImageOptions_Arg0* src); } GENERATED_ArkUIMediaCachedImageModifier; typedef struct GENERATED_ArkUIMenuModifier { - void (*_setMenuOptions)(Ark_NativePointer node); - void (*setFontSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setRadius)(Ark_NativePointer node, const Type_MenuAttribute_radius_Arg0* value); - void (*setMenuItemDivider)(Ark_NativePointer node, const Type_MenuAttribute_menuItemDivider_Arg0* options); - void (*setMenuItemGroupDivider)(Ark_NativePointer node, const Type_MenuAttribute_menuItemGroupDivider_Arg0* options); - void (*setSubMenuExpandingMode)(Ark_NativePointer node, Ark_Int32 mode); + void (*setMenuOptions)(Ark_NativePointer node); + void (*setFontSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setRadius)(Ark_NativePointer node, + const Type_MenuAttribute_radius_Arg0* value); + void (*setMenuItemDivider)(Ark_NativePointer node, + const Type_MenuAttribute_menuItemDivider_Arg0* options); + void (*setMenuItemGroupDivider)(Ark_NativePointer node, + const Type_MenuAttribute_menuItemGroupDivider_Arg0* options); + void (*setSubMenuExpandingMode)(Ark_NativePointer node, + Ark_Int32 mode); } GENERATED_ArkUIMenuModifier; typedef struct GENERATED_ArkUIMenuItemModifier { - void (*_setMenuItemOptions)(Ark_NativePointer node, const Opt_Type_MenuItemInterface__setMenuItemOptions_Arg0* value); - void (*setSelected)(Ark_NativePointer node, Ark_Boolean value); - void (*setSelectIcon)(Ark_NativePointer node, const Type_MenuItemAttribute_selectIcon_Arg0* value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setContentFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setContentFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setLabelFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setLabelFontColor)(Ark_NativePointer node, const ResourceColor* value); + void (*setMenuItemOptions)(Ark_NativePointer node, + const Opt_Type_MenuItemInterface_setMenuItemOptions_Arg0* value); + void (*setSelected)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelectIcon)(Ark_NativePointer node, + const Type_MenuItemAttribute_selectIcon_Arg0* value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setContentFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setContentFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setLabelFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setLabelFontColor)(Ark_NativePointer node, + const ResourceColor* value); } GENERATED_ArkUIMenuItemModifier; typedef struct GENERATED_ArkUIMenuItemGroupModifier { - void (*_setMenuItemGroupOptions)(Ark_NativePointer node, const Opt_MenuItemGroupOptions* value); + void (*setMenuItemGroupOptions)(Ark_NativePointer node, + const Opt_MenuItemGroupOptions* value); } GENERATED_ArkUIMenuItemGroupModifier; typedef struct GENERATED_ArkUINavDestinationModifier { - void (*_setNavDestinationOptions)(Ark_NativePointer node); - void (*setTitle)(Ark_NativePointer node, const Type_NavDestinationAttribute_title_Arg0* value, const Opt_NavigationTitleOptions* options); - void (*setHideTitleBar)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnShown)(Ark_NativePointer node, Ark_Function callback); - void (*setOnHidden)(Ark_NativePointer node, Ark_Function callback); - void (*setOnBackPressed)(Ark_NativePointer node, Ark_Function callback); - void (*setMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setBackButtonIcon)(Ark_NativePointer node, const Type_NavDestinationAttribute_backButtonIcon_Arg0* value); - void (*setMenus)(Ark_NativePointer node, const Type_NavDestinationAttribute_menus_Arg0* value); - void (*setOnReady)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWillAppear)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWillDisappear)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWillShow)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWillHide)(Ark_NativePointer node, Ark_Function callback); - void (*setIgnoreLayoutSafeArea)(Ark_NativePointer node, const Opt_Array_LayoutSafeAreaType* types, const Opt_Array_LayoutSafeAreaEdge* edges); - void (*setSystemBarStyle)(Ark_NativePointer node, const Opt_CustomObject* style); + void (*setNavDestinationOptions)(Ark_NativePointer node); + void (*setTitle)(Ark_NativePointer node, + const Type_NavDestinationAttribute_title_Arg0* value, + const Opt_NavigationTitleOptions* options); + void (*setHideTitleBar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnShown)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnHidden)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnBackPressed)(Ark_NativePointer node, + Ark_Function callback); + void (*setMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setBackButtonIcon)(Ark_NativePointer node, + const Type_NavDestinationAttribute_backButtonIcon_Arg0* value); + void (*setMenus)(Ark_NativePointer node, + const Type_NavDestinationAttribute_menus_Arg0* value); + void (*setOnReady)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWillAppear)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWillDisappear)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWillShow)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWillHide)(Ark_NativePointer node, + Ark_Function callback); + void (*setIgnoreLayoutSafeArea)(Ark_NativePointer node, + const Opt_Array_LayoutSafeAreaType* types, + const Opt_Array_LayoutSafeAreaEdge* edges); + void (*setSystemBarStyle)(Ark_NativePointer node, + const Opt_CustomObject* style); } GENERATED_ArkUINavDestinationModifier; typedef struct GENERATED_ArkUINavRouterModifier { - void (*_setNavRouterOptions_)(Ark_NativePointer node); - void (*_setNavRouterOptions_RouteInfo)(Ark_NativePointer node, const Ark_RouteInfo* value); - void (*setOnStateChange)(Ark_NativePointer node, Ark_Function callback); - void (*setMode)(Ark_NativePointer node, Ark_Int32 mode); + void (*setNavRouterOptions0)(Ark_NativePointer node); + void (*setNavRouterOptions1)(Ark_NativePointer node, + const Ark_RouteInfo* value); + void (*setOnStateChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setMode)(Ark_NativePointer node, + Ark_Int32 mode); } GENERATED_ArkUINavRouterModifier; typedef struct GENERATED_ArkUINavigationModifier { - void (*_setNavigationOptions_)(Ark_NativePointer node); - void (*_setNavigationOptions_NavPathStack)(Ark_NativePointer node, const Ark_Materialized* pathInfos); - void (*setNavBarWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setNavBarPosition)(Ark_NativePointer node, Ark_Int32 value); - void (*setNavBarWidthRange)(Ark_NativePointer node, const Type_NavigationAttribute_navBarWidthRange_Arg0* value); - void (*setMinContentWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setBackButtonIcon)(Ark_NativePointer node, const Type_NavigationAttribute_backButtonIcon_Arg0* value); - void (*setHideNavBar)(Ark_NativePointer node, Ark_Boolean value); - void (*setTitle)(Ark_NativePointer node, const Type_NavigationAttribute_title_Arg0* value, const Opt_NavigationTitleOptions* options); - void (*setSubTitle)(Ark_NativePointer node, const Ark_String* value); - void (*setHideTitleBar)(Ark_NativePointer node, Ark_Boolean value); - void (*setHideBackButton)(Ark_NativePointer node, Ark_Boolean value); - void (*setTitleMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setMenus)(Ark_NativePointer node, const Type_NavigationAttribute_menus_Arg0* value); - void (*setToolBar)(Ark_NativePointer node, const Type_NavigationAttribute_toolBar_Arg0* value); - void (*setToolbarConfiguration)(Ark_NativePointer node, const Type_NavigationAttribute_toolbarConfiguration_Arg0* value, const Opt_NavigationToolbarOptions* options); - void (*setHideToolBar)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnTitleModeChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnNavBarStateChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnNavigationModeChange)(Ark_NativePointer node, Ark_Function callback); - void (*setNavDestination)(Ark_NativePointer node, Ark_Function builder); - void (*setCustomNavContentTransition)(Ark_NativePointer node, Ark_Function delegate); - void (*setIgnoreLayoutSafeArea)(Ark_NativePointer node, const Opt_Array_LayoutSafeAreaType* types, const Opt_Array_LayoutSafeAreaEdge* edges); - void (*setSystemBarStyle)(Ark_NativePointer node, const Opt_CustomObject* style); + void (*setNavigationOptions0)(Ark_NativePointer node); + void (*setNavigationOptions1)(Ark_NativePointer node, + const Ark_Materialized* pathInfos); + void (*setNavBarWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setNavBarPosition)(Ark_NativePointer node, + Ark_Int32 value); + void (*setNavBarWidthRange)(Ark_NativePointer node, + const Type_NavigationAttribute_navBarWidthRange_Arg0* value); + void (*setMinContentWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setBackButtonIcon)(Ark_NativePointer node, + const Type_NavigationAttribute_backButtonIcon_Arg0* value); + void (*setHideNavBar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setTitle)(Ark_NativePointer node, + const Type_NavigationAttribute_title_Arg0* value, + const Opt_NavigationTitleOptions* options); + void (*setSubTitle)(Ark_NativePointer node, + const Ark_String* value); + void (*setHideTitleBar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setHideBackButton)(Ark_NativePointer node, + Ark_Boolean value); + void (*setTitleMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setMenus)(Ark_NativePointer node, + const Type_NavigationAttribute_menus_Arg0* value); + void (*setToolBar)(Ark_NativePointer node, + const Type_NavigationAttribute_toolBar_Arg0* value); + void (*setToolbarConfiguration)(Ark_NativePointer node, + const Type_NavigationAttribute_toolbarConfiguration_Arg0* value, + const Opt_NavigationToolbarOptions* options); + void (*setHideToolBar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnTitleModeChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnNavBarStateChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnNavigationModeChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setNavDestination)(Ark_NativePointer node, + Ark_Function builder); + void (*setCustomNavContentTransition)(Ark_NativePointer node, + Ark_Function delegate); + void (*setIgnoreLayoutSafeArea)(Ark_NativePointer node, + const Opt_Array_LayoutSafeAreaType* types, + const Opt_Array_LayoutSafeAreaEdge* edges); + void (*setSystemBarStyle)(Ark_NativePointer node, + const Opt_CustomObject* style); } GENERATED_ArkUINavigationModifier; typedef struct GENERATED_ArkUINavigatorModifier { - void (*_setNavigatorOptions_targetstringtypeNavigationType)(Ark_NativePointer node, const Opt_Type_NavigatorInterface__setNavigatorOptions_Arg0* value); - void (*_setNavigatorOptions_)(Ark_NativePointer node); - void (*setActive)(Ark_NativePointer node, Ark_Boolean value); - void (*setType)(Ark_NativePointer node, Ark_Int32 value); - void (*setTarget)(Ark_NativePointer node, const Ark_String* value); - void (*setParams)(Ark_NativePointer node, const Ark_CustomObject* value); + void (*setNavigatorOptions0)(Ark_NativePointer node, + const Opt_Type_NavigatorInterface_setNavigatorOptions_Arg0* value); + void (*setNavigatorOptions1)(Ark_NativePointer node); + void (*setActive)(Ark_NativePointer node, + Ark_Boolean value); + void (*setType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setTarget)(Ark_NativePointer node, + const Ark_String* value); + void (*setParams)(Ark_NativePointer node, + const Ark_CustomObject* value); } GENERATED_ArkUINavigatorModifier; typedef struct GENERATED_ArkUINodeContainerModifier { - void (*_setNodeContainerOptions)(Ark_NativePointer node, const Ark_CustomObject* controller); + void (*setNodeContainerOptions)(Ark_NativePointer node, + const Ark_CustomObject* controller); } GENERATED_ArkUINodeContainerModifier; typedef struct GENERATED_ArkUIPanelModifier { - void (*_setPanelOptions)(Ark_NativePointer node, Ark_Boolean show); - void (*setMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setType)(Ark_NativePointer node, Ark_Int32 value); - void (*setDragBar)(Ark_NativePointer node, Ark_Boolean value); - void (*setCustomHeight)(Ark_NativePointer node, const Type_PanelAttribute_customHeight_Arg0* value); - void (*setFullHeight)(Ark_NativePointer node, const Type_PanelAttribute_fullHeight_Arg0* value); - void (*setHalfHeight)(Ark_NativePointer node, const Type_PanelAttribute_halfHeight_Arg0* value); - void (*setMiniHeight)(Ark_NativePointer node, const Type_PanelAttribute_miniHeight_Arg0* value); - void (*setShow)(Ark_NativePointer node, Ark_Boolean value); - void (*setBackgroundMask)(Ark_NativePointer node, const ResourceColor* color); - void (*setShowCloseIcon)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function event); - void (*setOnHeightChange)(Ark_NativePointer node, Ark_Function callback); + void (*setPanelOptions)(Ark_NativePointer node, + Ark_Boolean show); + void (*setMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDragBar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setCustomHeight)(Ark_NativePointer node, + const Type_PanelAttribute_customHeight_Arg0* value); + void (*setFullHeight)(Ark_NativePointer node, + const Type_PanelAttribute_fullHeight_Arg0* value); + void (*setHalfHeight)(Ark_NativePointer node, + const Type_PanelAttribute_halfHeight_Arg0* value); + void (*setMiniHeight)(Ark_NativePointer node, + const Type_PanelAttribute_miniHeight_Arg0* value); + void (*setShow)(Ark_NativePointer node, + Ark_Boolean value); + void (*setBackgroundMask)(Ark_NativePointer node, + const ResourceColor* color); + void (*setShowCloseIcon)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function event); + void (*setOnHeightChange)(Ark_NativePointer node, + Ark_Function callback); } GENERATED_ArkUIPanelModifier; typedef struct GENERATED_ArkUIPasteButtonModifier { - void (*_setPasteButtonOptions_)(Ark_NativePointer node); - void (*_setPasteButtonOptions_PasteButtonOptions)(Ark_NativePointer node, const Ark_PasteButtonOptions* options); - void (*setOnClick)(Ark_NativePointer node, Ark_Function event); + void (*setPasteButtonOptions0)(Ark_NativePointer node); + void (*setPasteButtonOptions1)(Ark_NativePointer node, + const Ark_PasteButtonOptions* options); + void (*setOnClick)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUIPasteButtonModifier; typedef struct GENERATED_ArkUIPathModifier { - void (*_setPathOptions)(Ark_NativePointer node, const Opt_Type_PathInterface__setPathOptions_Arg0* value); - void (*setCommands)(Ark_NativePointer node, const Ark_String* value); + void (*setPathOptions)(Ark_NativePointer node, + const Opt_Type_PathInterface_setPathOptions_Arg0* value); + void (*setCommands)(Ark_NativePointer node, + const Ark_String* value); } GENERATED_ArkUIPathModifier; typedef struct GENERATED_ArkUIPatternLockModifier { - void (*_setPatternLockOptions)(Ark_NativePointer node, const Opt_PatternLockController* controller); - void (*setSideLength)(Ark_NativePointer node, const Ark_Length* value); - void (*setCircleRadius)(Ark_NativePointer node, const Ark_Length* value); - void (*setBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setRegularColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setSelectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setActiveColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setPathColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setPathStrokeWidth)(Ark_NativePointer node, const Type_PatternLockAttribute_pathStrokeWidth_Arg0* value); - void (*setOnPatternComplete)(Ark_NativePointer node, Ark_Function callback); - void (*setAutoReset)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnDotConnect)(Ark_NativePointer node, Ark_Function callback); - void (*setActivateCircleStyle)(Ark_NativePointer node, const Opt_CircleStyleOptions* options); + void (*setPatternLockOptions)(Ark_NativePointer node, + const Opt_PatternLockController* controller); + void (*setSideLength)(Ark_NativePointer node, + const Ark_Length* value); + void (*setCircleRadius)(Ark_NativePointer node, + const Ark_Length* value); + void (*setBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setRegularColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setSelectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setActiveColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPathColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPathStrokeWidth)(Ark_NativePointer node, + const Type_PatternLockAttribute_pathStrokeWidth_Arg0* value); + void (*setOnPatternComplete)(Ark_NativePointer node, + Ark_Function callback); + void (*setAutoReset)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnDotConnect)(Ark_NativePointer node, + Ark_Function callback); + void (*setActivateCircleStyle)(Ark_NativePointer node, + const Opt_CircleStyleOptions* options); } GENERATED_ArkUIPatternLockModifier; typedef struct GENERATED_ArkUIPluginComponentModifier { - void (*_setPluginComponentOptions)(Ark_NativePointer node, const Type_PluginComponentInterface__setPluginComponentOptions_Arg0* value); - void (*setOnComplete)(Ark_NativePointer node, Ark_Function callback); - void (*setOnError)(Ark_NativePointer node, Ark_Function callback); + void (*setPluginComponentOptions)(Ark_NativePointer node, + const Type_PluginComponentInterface_setPluginComponentOptions_Arg0* value); + void (*setOnComplete)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnError)(Ark_NativePointer node, + Ark_Function callback); } GENERATED_ArkUIPluginComponentModifier; typedef struct GENERATED_ArkUIPolygonModifier { - void (*_setPolygonOptions)(Ark_NativePointer node, const Opt_Type_PolygonInterface__setPolygonOptions_Arg0* value); - void (*setPoints)(Ark_NativePointer node, const Array_CustomObject* value); + void (*setPolygonOptions)(Ark_NativePointer node, + const Opt_Type_PolygonInterface_setPolygonOptions_Arg0* value); + void (*setPoints)(Ark_NativePointer node, + const Array_CustomObject* value); } GENERATED_ArkUIPolygonModifier; typedef struct GENERATED_ArkUIPolylineModifier { - void (*_setPolylineOptions)(Ark_NativePointer node, const Opt_Type_PolylineInterface__setPolylineOptions_Arg0* value); - void (*setPoints)(Ark_NativePointer node, const Array_CustomObject* value); + void (*setPolylineOptions)(Ark_NativePointer node, + const Opt_Type_PolylineInterface_setPolylineOptions_Arg0* value); + void (*setPoints)(Ark_NativePointer node, + const Array_CustomObject* value); } GENERATED_ArkUIPolylineModifier; typedef struct GENERATED_ArkUIQRCodeModifier { - void (*_setQRCodeOptions)(Ark_NativePointer node, const Ark_String* value); - void (*setColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setContentOpacity)(Ark_NativePointer node, const Type_QRCodeAttribute_contentOpacity_Arg0* value); + void (*setQRCodeOptions)(Ark_NativePointer node, + const Ark_String* value); + void (*setColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setContentOpacity)(Ark_NativePointer node, + const Type_QRCodeAttribute_contentOpacity_Arg0* value); } GENERATED_ArkUIQRCodeModifier; typedef struct GENERATED_ArkUIRadioModifier { - void (*_setRadioOptions)(Ark_NativePointer node, const Ark_RadioOptions* options); - void (*setChecked)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setRadioStyle)(Ark_NativePointer node, const Opt_RadioStyle* value); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); + void (*setRadioOptions)(Ark_NativePointer node, + const Ark_RadioOptions* options); + void (*setChecked)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setRadioStyle)(Ark_NativePointer node, + const Opt_RadioStyle* value); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); } GENERATED_ArkUIRadioModifier; typedef struct GENERATED_ArkUIRatingModifier { - void (*_setRatingOptions)(Ark_NativePointer node, const Opt_Type_RatingInterface__setRatingOptions_Arg0* options); - void (*setStars)(Ark_NativePointer node, const Ark_Number* value); - void (*setStepSize)(Ark_NativePointer node, const Ark_Number* value); - void (*setStarStyle)(Ark_NativePointer node, const Type_RatingAttribute_starStyle_Arg0* value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); + void (*setRatingOptions)(Ark_NativePointer node, + const Opt_Type_RatingInterface_setRatingOptions_Arg0* options); + void (*setStars)(Ark_NativePointer node, + const Ark_Number* value); + void (*setStepSize)(Ark_NativePointer node, + const Ark_Number* value); + void (*setStarStyle)(Ark_NativePointer node, + const Type_RatingAttribute_starStyle_Arg0* value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); } GENERATED_ArkUIRatingModifier; typedef struct GENERATED_ArkUIRectModifier { - void (*_setRectOptions)(Ark_NativePointer node, const Opt_Type_RectInterface__setRectOptions_Arg0* value); - void (*setRadiusWidth)(Ark_NativePointer node, const Type_RectAttribute_radiusWidth_Arg0* value); - void (*setRadiusHeight)(Ark_NativePointer node, const Type_RectAttribute_radiusHeight_Arg0* value); - void (*setRadius)(Ark_NativePointer node, const Type_RectAttribute_radius_Arg0* value); + void (*setRectOptions)(Ark_NativePointer node, + const Opt_Type_RectInterface_setRectOptions_Arg0* value); + void (*setRadiusWidth)(Ark_NativePointer node, + const Type_RectAttribute_radiusWidth_Arg0* value); + void (*setRadiusHeight)(Ark_NativePointer node, + const Type_RectAttribute_radiusHeight_Arg0* value); + void (*setRadius)(Ark_NativePointer node, + const Type_RectAttribute_radius_Arg0* value); } GENERATED_ArkUIRectModifier; typedef struct GENERATED_ArkUIRefreshModifier { - void (*_setRefreshOptions)(Ark_NativePointer node, const Ark_RefreshOptions* value); - void (*setOnStateChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnRefreshing)(Ark_NativePointer node, Ark_Function callback); - void (*setRefreshOffset)(Ark_NativePointer node, const Ark_Number* value); - void (*setPullToRefresh)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnOffsetChange)(Ark_NativePointer node, Ark_Function callback); - void (*setPullDownRatio)(Ark_NativePointer node, const Opt_Number* ratio); + void (*setRefreshOptions)(Ark_NativePointer node, + const Ark_RefreshOptions* value); + void (*setOnStateChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnRefreshing)(Ark_NativePointer node, + Ark_Function callback); + void (*setRefreshOffset)(Ark_NativePointer node, + const Ark_Number* value); + void (*setPullToRefresh)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnOffsetChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setPullDownRatio)(Ark_NativePointer node, + const Opt_Number* ratio); } GENERATED_ArkUIRefreshModifier; typedef struct GENERATED_ArkUIRelativeContainerModifier { - void (*_setRelativeContainerOptions)(Ark_NativePointer node); - void (*setGuideLine)(Ark_NativePointer node, const Array_GuideLineStyle* value); - void (*setBarrier_ArrayBarrierStyle)(Ark_NativePointer node, const Array_BarrierStyle* value); - void (*setBarrier_ArrayLocalizedBarrierStyle)(Ark_NativePointer node, const Array_LocalizedBarrierStyle* barrierStyle); + void (*setRelativeContainerOptions)(Ark_NativePointer node); + void (*setGuideLine)(Ark_NativePointer node, + const Array_GuideLineStyle* value); + void (*setBarrier0)(Ark_NativePointer node, + const Array_BarrierStyle* value); + void (*setBarrier1)(Ark_NativePointer node, + const Array_LocalizedBarrierStyle* barrierStyle); } GENERATED_ArkUIRelativeContainerModifier; typedef struct GENERATED_ArkUIRichEditorModifier { - void (*_setRichEditorOptions_RichEditorOptions)(Ark_NativePointer node, const Ark_RichEditorOptions* value); - void (*_setRichEditorOptions_RichEditorStyledStringOptions)(Ark_NativePointer node, const Ark_RichEditorStyledStringOptions* options); - void (*setOnReady)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSelect)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSelectionChange)(Ark_NativePointer node, Ark_Function callback); - void (*setAboutToIMEInput)(Ark_NativePointer node, Ark_Function callback); - void (*setOnIMEInputComplete)(Ark_NativePointer node, Ark_Function callback); - void (*setAboutToDelete)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDeleteComplete)(Ark_NativePointer node, Ark_Function callback); - void (*setCopyOptions)(Ark_NativePointer node, Ark_Int32 value); - void (*setBindSelectionMenu)(Ark_NativePointer node, Ark_Int32 spanType, const CustomBuilder* content, const Type_RichEditorAttribute_bindSelectionMenu_Arg2* responseType, const Opt_SelectionMenuOptions* options); - void (*setCustomKeyboard)(Ark_NativePointer node, const CustomBuilder* value, const Opt_KeyboardOptions* options); - void (*setOnPaste)(Ark_NativePointer node, Ark_Function callback); - void (*setEnableDataDetector)(Ark_NativePointer node, Ark_Boolean enable); - void (*setEnablePreviewText)(Ark_NativePointer node, Ark_Boolean enable); - void (*setDataDetectorConfig)(Ark_NativePointer node, const Ark_TextDataDetectorConfig* config); - void (*setPlaceholder)(Ark_NativePointer node, const ResourceStr* value, const Opt_PlaceholderStyle* style); - void (*setCaretColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setSelectedBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setOnEditingChange)(Ark_NativePointer node, Ark_Function callback); - void (*setEnterKeyType)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnSubmit)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWillChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDidChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnCut)(Ark_NativePointer node, Ark_Function callback); - void (*setOnCopy)(Ark_NativePointer node, Ark_Function callback); - void (*setEditMenuOptions)(Ark_NativePointer node, const Ark_Materialized* editMenu); + void (*setRichEditorOptions0)(Ark_NativePointer node, + const Ark_RichEditorOptions* value); + void (*setRichEditorOptions1)(Ark_NativePointer node, + const Ark_RichEditorStyledStringOptions* options); + void (*setOnReady)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSelect)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSelectionChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setAboutToIMEInput)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnIMEInputComplete)(Ark_NativePointer node, + Ark_Function callback); + void (*setAboutToDelete)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDeleteComplete)(Ark_NativePointer node, + Ark_Function callback); + void (*setCopyOptions)(Ark_NativePointer node, + Ark_Int32 value); + void (*setBindSelectionMenu)(Ark_NativePointer node, + Ark_Int32 spanType, + const CustomBuilder* content, + const Type_RichEditorAttribute_bindSelectionMenu_Arg2* responseType, + const Opt_SelectionMenuOptions* options); + void (*setCustomKeyboard)(Ark_NativePointer node, + const CustomBuilder* value, + const Opt_KeyboardOptions* options); + void (*setOnPaste)(Ark_NativePointer node, + Ark_Function callback); + void (*setEnableDataDetector)(Ark_NativePointer node, + Ark_Boolean enable); + void (*setEnablePreviewText)(Ark_NativePointer node, + Ark_Boolean enable); + void (*setDataDetectorConfig)(Ark_NativePointer node, + const Ark_TextDataDetectorConfig* config); + void (*setPlaceholder)(Ark_NativePointer node, + const ResourceStr* value, + const Opt_PlaceholderStyle* style); + void (*setCaretColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setSelectedBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setOnEditingChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setEnterKeyType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnSubmit)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWillChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDidChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnCut)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnCopy)(Ark_NativePointer node, + Ark_Function callback); + void (*setEditMenuOptions)(Ark_NativePointer node, + const Ark_Materialized* editMenu); } GENERATED_ArkUIRichEditorModifier; typedef struct GENERATED_ArkUIRichTextModifier { - void (*_setRichTextOptions)(Ark_NativePointer node, const Ark_String* content); - void (*setOnStart)(Ark_NativePointer node, Ark_Function callback); - void (*setOnComplete)(Ark_NativePointer node, Ark_Function callback); + void (*setRichTextOptions)(Ark_NativePointer node, + const Ark_String* content); + void (*setOnStart)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnComplete)(Ark_NativePointer node, + Ark_Function callback); } GENERATED_ArkUIRichTextModifier; typedef struct GENERATED_ArkUIRootSceneModifier { - void (*_setRootSceneOptions)(Ark_NativePointer node, const Ark_RootSceneSession* session); + void (*setRootSceneOptions)(Ark_NativePointer node, + const Ark_RootSceneSession* session); } GENERATED_ArkUIRootSceneModifier; typedef struct GENERATED_ArkUIRowModifier { - void (*_setRowOptions)(Ark_NativePointer node, const Opt_Type_RowInterface__setRowOptions_Arg0* value); - void (*setAlignItems)(Ark_NativePointer node, Ark_Int32 value); - void (*setJustifyContent)(Ark_NativePointer node, Ark_Int32 value); - void (*setPointLight)(Ark_NativePointer node, const Ark_PointLightStyle* value); + void (*setRowOptions)(Ark_NativePointer node, + const Opt_Type_RowInterface_setRowOptions_Arg0* value); + void (*setAlignItems)(Ark_NativePointer node, + Ark_Int32 value); + void (*setJustifyContent)(Ark_NativePointer node, + Ark_Int32 value); + void (*setPointLight)(Ark_NativePointer node, + const Ark_PointLightStyle* value); } GENERATED_ArkUIRowModifier; typedef struct GENERATED_ArkUIRowSplitModifier { - void (*_setRowSplitOptions)(Ark_NativePointer node); - void (*setResizeable)(Ark_NativePointer node, Ark_Boolean value); + void (*setRowSplitOptions)(Ark_NativePointer node); + void (*setResizeable)(Ark_NativePointer node, + Ark_Boolean value); } GENERATED_ArkUIRowSplitModifier; typedef struct GENERATED_ArkUISaveButtonModifier { - void (*_setSaveButtonOptions_)(Ark_NativePointer node); - void (*_setSaveButtonOptions_SaveButtonOptions)(Ark_NativePointer node, const Ark_SaveButtonOptions* options); - void (*setOnClick)(Ark_NativePointer node, Ark_Function event); + void (*setSaveButtonOptions0)(Ark_NativePointer node); + void (*setSaveButtonOptions1)(Ark_NativePointer node, + const Ark_SaveButtonOptions* options); + void (*setOnClick)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUISaveButtonModifier; typedef struct GENERATED_ArkUIScreenModifier { - void (*_setScreenOptions)(Ark_NativePointer node, const Ark_Number* screenId); + void (*setScreenOptions)(Ark_NativePointer node, + const Ark_Number* screenId); } GENERATED_ArkUIScreenModifier; typedef struct GENERATED_ArkUIScrollModifier { - void (*_setScrollOptions)(Ark_NativePointer node, const Opt_Scroller* scroller); - void (*setScrollable)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnScroll)(Ark_NativePointer node, Ark_Function event); - void (*setOnWillScroll)(Ark_NativePointer node, const Ark_CustomObject* stub_for_onWillScroll); - void (*setOnDidScroll)(Ark_NativePointer node, Ark_Function handler); - void (*setOnScrollEdge)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollEnd)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollStop)(Ark_NativePointer node, Ark_Function event); - void (*setScrollBar)(Ark_NativePointer node, Ark_Int32 barState); - void (*setScrollBarColor)(Ark_NativePointer node, const Type_ScrollAttribute_scrollBarColor_Arg0* color); - void (*setScrollBarWidth)(Ark_NativePointer node, const Type_ScrollAttribute_scrollBarWidth_Arg0* value); - void (*setEdgeEffect)(Ark_NativePointer node, Ark_Int32 edgeEffect, const Opt_EdgeEffectOptions* options); - void (*setOnScrollFrameBegin)(Ark_NativePointer node, Ark_Function event); - void (*setNestedScroll)(Ark_NativePointer node, const Ark_NestedScrollOptions* value); - void (*setEnableScrollInteraction)(Ark_NativePointer node, Ark_Boolean value); - void (*setFriction)(Ark_NativePointer node, const Type_ScrollAttribute_friction_Arg0* value); - void (*setScrollSnap)(Ark_NativePointer node, const Ark_ScrollSnapOptions* value); - void (*setEnablePaging)(Ark_NativePointer node, Ark_Boolean value); - void (*setInitialOffset)(Ark_NativePointer node, const Ark_OffsetOptions* value); + void (*setScrollOptions)(Ark_NativePointer node, + const Opt_Scroller* scroller); + void (*setScrollable)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnScroll)(Ark_NativePointer node, + Ark_Function event); + void (*setOnWillScroll)(Ark_NativePointer node, + const Ark_CustomObject* stub_for_onWillScroll); + void (*setOnDidScroll)(Ark_NativePointer node, + Ark_Function handler); + void (*setOnScrollEdge)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollEnd)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollStop)(Ark_NativePointer node, + Ark_Function event); + void (*setScrollBar)(Ark_NativePointer node, + Ark_Int32 barState); + void (*setScrollBarColor)(Ark_NativePointer node, + const Type_ScrollAttribute_scrollBarColor_Arg0* color); + void (*setScrollBarWidth)(Ark_NativePointer node, + const Type_ScrollAttribute_scrollBarWidth_Arg0* value); + void (*setEdgeEffect)(Ark_NativePointer node, + Ark_Int32 edgeEffect, + const Opt_EdgeEffectOptions* options); + void (*setOnScrollFrameBegin)(Ark_NativePointer node, + Ark_Function event); + void (*setNestedScroll)(Ark_NativePointer node, + const Ark_NestedScrollOptions* value); + void (*setEnableScrollInteraction)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFriction)(Ark_NativePointer node, + const Type_ScrollAttribute_friction_Arg0* value); + void (*setScrollSnap)(Ark_NativePointer node, + const Ark_ScrollSnapOptions* value); + void (*setEnablePaging)(Ark_NativePointer node, + Ark_Boolean value); + void (*setInitialOffset)(Ark_NativePointer node, + const Ark_OffsetOptions* value); } GENERATED_ArkUIScrollModifier; typedef struct GENERATED_ArkUIScrollBarModifier { - void (*_setScrollBarOptions)(Ark_NativePointer node, const Ark_ScrollBarOptions* value); + void (*setScrollBarOptions)(Ark_NativePointer node, + const Ark_ScrollBarOptions* value); } GENERATED_ArkUIScrollBarModifier; typedef struct GENERATED_ArkUISearchModifier { - void (*_setSearchOptions)(Ark_NativePointer node, const Opt_Type_SearchInterface__setSearchOptions_Arg0* options); - void (*setSearchButton)(Ark_NativePointer node, const Ark_String* value, const Opt_SearchButtonOptions* option); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setSearchIcon)(Ark_NativePointer node, const Type_SearchAttribute_searchIcon_Arg0* value); - void (*setCancelButton)(Ark_NativePointer node, const Type_SearchAttribute_cancelButton_Arg0* value); - void (*setTextIndent)(Ark_NativePointer node, const Ark_Length* value); - void (*setInputFilter)(Ark_NativePointer node, const ResourceStr* value, const Opt_Callback* error); - void (*setOnEditChange)(Ark_NativePointer node, Ark_Function callback); - void (*setSelectedBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setCaretStyle)(Ark_NativePointer node, const Ark_CaretStyle* value); - void (*setPlaceholderColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setPlaceholderFont)(Ark_NativePointer node, const Opt_Font* value); - void (*setTextFont)(Ark_NativePointer node, const Opt_Font* value); - void (*setEnterKeyType)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnSubmit)(Ark_NativePointer node, Ark_Function callback); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnTextSelectionChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnContentScroll)(Ark_NativePointer node, Ark_Function callback); - void (*setOnCopy)(Ark_NativePointer node, Ark_Function callback); - void (*setOnCut)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPaste)(Ark_NativePointer node, Ark_Function callback); - void (*setCopyOption)(Ark_NativePointer node, Ark_Int32 value); - void (*setMaxLength)(Ark_NativePointer node, const Ark_Number* value); - void (*setTextAlign)(Ark_NativePointer node, Ark_Int32 value); - void (*setEnableKeyboardOnFocus)(Ark_NativePointer node, Ark_Boolean value); - void (*setSelectionMenuHidden)(Ark_NativePointer node, Ark_Boolean value); - void (*setMinFontSize)(Ark_NativePointer node, const Type_SearchAttribute_minFontSize_Arg0* value); - void (*setMaxFontSize)(Ark_NativePointer node, const Type_SearchAttribute_maxFontSize_Arg0* value); - void (*setCustomKeyboard)(Ark_NativePointer node, const CustomBuilder* value, const Opt_KeyboardOptions* options); - void (*setDecoration)(Ark_NativePointer node, const Ark_TextDecorationOptions* value); - void (*setLetterSpacing)(Ark_NativePointer node, const Type_SearchAttribute_letterSpacing_Arg0* value); - void (*setLineHeight)(Ark_NativePointer node, const Type_SearchAttribute_lineHeight_Arg0* value); - void (*setType)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontFeature)(Ark_NativePointer node, const Ark_String* value); - void (*setOnWillInsert)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDidInsert)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWillDelete)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDidDelete)(Ark_NativePointer node, Ark_Function callback); - void (*setEditMenuOptions)(Ark_NativePointer node, const Ark_Materialized* editMenu); - void (*setEnablePreviewText)(Ark_NativePointer node, Ark_Boolean enable); + void (*setSearchOptions)(Ark_NativePointer node, + const Opt_Type_SearchInterface_setSearchOptions_Arg0* options); + void (*setSearchButton)(Ark_NativePointer node, + const Ark_String* value, + const Opt_SearchButtonOptions* option); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setSearchIcon)(Ark_NativePointer node, + const Type_SearchAttribute_searchIcon_Arg0* value); + void (*setCancelButton)(Ark_NativePointer node, + const Type_SearchAttribute_cancelButton_Arg0* value); + void (*setTextIndent)(Ark_NativePointer node, + const Ark_Length* value); + void (*setInputFilter)(Ark_NativePointer node, + const ResourceStr* value, + const Opt_Callback* error); + void (*setOnEditChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setSelectedBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setCaretStyle)(Ark_NativePointer node, + const Ark_CaretStyle* value); + void (*setPlaceholderColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPlaceholderFont)(Ark_NativePointer node, + const Opt_Font* value); + void (*setTextFont)(Ark_NativePointer node, + const Opt_Font* value); + void (*setEnterKeyType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnSubmit)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnTextSelectionChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnContentScroll)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnCopy)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnCut)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPaste)(Ark_NativePointer node, + Ark_Function callback); + void (*setCopyOption)(Ark_NativePointer node, + Ark_Int32 value); + void (*setMaxLength)(Ark_NativePointer node, + const Ark_Number* value); + void (*setTextAlign)(Ark_NativePointer node, + Ark_Int32 value); + void (*setEnableKeyboardOnFocus)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelectionMenuHidden)(Ark_NativePointer node, + Ark_Boolean value); + void (*setMinFontSize)(Ark_NativePointer node, + const Type_SearchAttribute_minFontSize_Arg0* value); + void (*setMaxFontSize)(Ark_NativePointer node, + const Type_SearchAttribute_maxFontSize_Arg0* value); + void (*setCustomKeyboard)(Ark_NativePointer node, + const CustomBuilder* value, + const Opt_KeyboardOptions* options); + void (*setDecoration)(Ark_NativePointer node, + const Ark_TextDecorationOptions* value); + void (*setLetterSpacing)(Ark_NativePointer node, + const Type_SearchAttribute_letterSpacing_Arg0* value); + void (*setLineHeight)(Ark_NativePointer node, + const Type_SearchAttribute_lineHeight_Arg0* value); + void (*setType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontFeature)(Ark_NativePointer node, + const Ark_String* value); + void (*setOnWillInsert)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDidInsert)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWillDelete)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDidDelete)(Ark_NativePointer node, + Ark_Function callback); + void (*setEditMenuOptions)(Ark_NativePointer node, + const Ark_Materialized* editMenu); + void (*setEnablePreviewText)(Ark_NativePointer node, + Ark_Boolean enable); } GENERATED_ArkUISearchModifier; typedef struct GENERATED_ArkUISecurityComponentMethodModifier { - void (*setIconSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setLayoutDirection)(Ark_NativePointer node, Ark_Int32 value); - void (*setPosition)(Ark_NativePointer node, const Ark_Position* value); - void (*setMarkAnchor)(Ark_NativePointer node, const Ark_Position* value); - void (*setOffset)(Ark_NativePointer node, const Type_SecurityComponentMethod_offset_Arg0* value); - void (*setFontSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setFontStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontWeight)(Ark_NativePointer node, const Type_SecurityComponentMethod_fontWeight_Arg0* value); - void (*setFontFamily)(Ark_NativePointer node, const Type_SecurityComponentMethod_fontFamily_Arg0* value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setIconColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setBorderStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setBorderWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setBorderColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setBorderRadius)(Ark_NativePointer node, const Ark_Length* value); - void (*setPadding)(Ark_NativePointer node, const Type_SecurityComponentMethod_padding_Arg0* value); - void (*setTextIconSpace)(Ark_NativePointer node, const Ark_Length* value); - void (*setKey)(Ark_NativePointer node, const Ark_String* value); - void (*setWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setHeight)(Ark_NativePointer node, const Ark_Length* value); - void (*setSize)(Ark_NativePointer node, const Ark_SizeOptions* value); - void (*setConstraintSize)(Ark_NativePointer node, const Ark_ConstraintSizeOptions* value); + void (*setIconSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setLayoutDirection)(Ark_NativePointer node, + Ark_Int32 value); + void (*setPosition)(Ark_NativePointer node, + const Ark_Position* value); + void (*setMarkAnchor)(Ark_NativePointer node, + const Ark_Position* value); + void (*setOffset)(Ark_NativePointer node, + const Type_SecurityComponentMethod_offset_Arg0* value); + void (*setFontSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setFontStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_SecurityComponentMethod_fontWeight_Arg0* value); + void (*setFontFamily)(Ark_NativePointer node, + const Type_SecurityComponentMethod_fontFamily_Arg0* value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setIconColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setBorderStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setBorderWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setBorderColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setBorderRadius)(Ark_NativePointer node, + const Ark_Length* value); + void (*setPadding)(Ark_NativePointer node, + const Type_SecurityComponentMethod_padding_Arg0* value); + void (*setTextIconSpace)(Ark_NativePointer node, + const Ark_Length* value); + void (*setKey)(Ark_NativePointer node, + const Ark_String* value); + void (*setWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setHeight)(Ark_NativePointer node, + const Ark_Length* value); + void (*setSize)(Ark_NativePointer node, + const Ark_SizeOptions* value); + void (*setConstraintSize)(Ark_NativePointer node, + const Ark_ConstraintSizeOptions* value); } GENERATED_ArkUISecurityComponentMethodModifier; typedef struct GENERATED_ArkUISelectModifier { - void (*_setSelectOptions)(Ark_NativePointer node, const Array_SelectOption* options); - void (*setSelected)(Ark_NativePointer node, const Type_SelectAttribute_selected_Arg0* value); - void (*setValue)(Ark_NativePointer node, const ResourceStr* value); - void (*setFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setSelectedOptionBgColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setSelectedOptionFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setSelectedOptionFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setOptionBgColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setOptionFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setOptionFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setOnSelect)(Ark_NativePointer node, Ark_Function callback); - void (*setSpace)(Ark_NativePointer node, const Ark_Length* value); - void (*setArrowPosition)(Ark_NativePointer node, Ark_Int32 value); - void (*setMenuAlign)(Ark_NativePointer node, Ark_Int32 alignType, const Opt_Offset* offset); - void (*setOptionWidth)(Ark_NativePointer node, const Type_SelectAttribute_optionWidth_Arg0* value); - void (*setOptionHeight)(Ark_NativePointer node, const Ark_Length* value); - void (*setMenuBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setMenuBackgroundBlurStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setControlSize)(Ark_NativePointer node, Ark_Int32 value); - void (*setMenuItemContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); - void (*setDivider)(Ark_NativePointer node, const Type_SelectAttribute_divider_Arg0* options); + void (*setSelectOptions)(Ark_NativePointer node, + const Array_SelectOption* options); + void (*setSelected)(Ark_NativePointer node, + const Type_SelectAttribute_selected_Arg0* value); + void (*setValue)(Ark_NativePointer node, + const ResourceStr* value); + void (*setFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setSelectedOptionBgColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setSelectedOptionFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setSelectedOptionFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setOptionBgColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setOptionFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setOptionFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setOnSelect)(Ark_NativePointer node, + Ark_Function callback); + void (*setSpace)(Ark_NativePointer node, + const Ark_Length* value); + void (*setArrowPosition)(Ark_NativePointer node, + Ark_Int32 value); + void (*setMenuAlign)(Ark_NativePointer node, + Ark_Int32 alignType, + const Opt_Offset* offset); + void (*setOptionWidth)(Ark_NativePointer node, + const Type_SelectAttribute_optionWidth_Arg0* value); + void (*setOptionHeight)(Ark_NativePointer node, + const Ark_Length* value); + void (*setMenuBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setMenuBackgroundBlurStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setControlSize)(Ark_NativePointer node, + Ark_Int32 value); + void (*setMenuItemContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); + void (*setDivider)(Ark_NativePointer node, + const Type_SelectAttribute_divider_Arg0* options); } GENERATED_ArkUISelectModifier; typedef struct GENERATED_ArkUIShapeModifier { - void (*_setShapeOptions_PixelMap)(Ark_NativePointer node, const Ark_CustomObject* value); - void (*_setShapeOptions_)(Ark_NativePointer node); - void (*setViewPort)(Ark_NativePointer node, const Type_ShapeAttribute_viewPort_Arg0* value); - void (*setStroke)(Ark_NativePointer node, const ResourceColor* value); - void (*setFill)(Ark_NativePointer node, const ResourceColor* value); - void (*setStrokeDashOffset)(Ark_NativePointer node, const Type_ShapeAttribute_strokeDashOffset_Arg0* value); - void (*setStrokeDashArray)(Ark_NativePointer node, const Array_CustomObject* value); - void (*setStrokeLineCap)(Ark_NativePointer node, Ark_Int32 value); - void (*setStrokeLineJoin)(Ark_NativePointer node, Ark_Int32 value); - void (*setStrokeMiterLimit)(Ark_NativePointer node, const Type_ShapeAttribute_strokeMiterLimit_Arg0* value); - void (*setStrokeOpacity)(Ark_NativePointer node, const Type_ShapeAttribute_strokeOpacity_Arg0* value); - void (*setFillOpacity)(Ark_NativePointer node, const Type_ShapeAttribute_fillOpacity_Arg0* value); - void (*setStrokeWidth)(Ark_NativePointer node, const Type_ShapeAttribute_strokeWidth_Arg0* value); - void (*setAntiAlias)(Ark_NativePointer node, Ark_Boolean value); - void (*setMesh)(Ark_NativePointer node, const Array_CustomObject* value, const Ark_Number* column, const Ark_Number* row); + void (*setShapeOptions0)(Ark_NativePointer node, + const Ark_CustomObject* value); + void (*setShapeOptions1)(Ark_NativePointer node); + void (*setViewPort)(Ark_NativePointer node, + const Type_ShapeAttribute_viewPort_Arg0* value); + void (*setStroke)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFill)(Ark_NativePointer node, + const ResourceColor* value); + void (*setStrokeDashOffset)(Ark_NativePointer node, + const Type_ShapeAttribute_strokeDashOffset_Arg0* value); + void (*setStrokeDashArray)(Ark_NativePointer node, + const Array_CustomObject* value); + void (*setStrokeLineCap)(Ark_NativePointer node, + Ark_Int32 value); + void (*setStrokeLineJoin)(Ark_NativePointer node, + Ark_Int32 value); + void (*setStrokeMiterLimit)(Ark_NativePointer node, + const Type_ShapeAttribute_strokeMiterLimit_Arg0* value); + void (*setStrokeOpacity)(Ark_NativePointer node, + const Type_ShapeAttribute_strokeOpacity_Arg0* value); + void (*setFillOpacity)(Ark_NativePointer node, + const Type_ShapeAttribute_fillOpacity_Arg0* value); + void (*setStrokeWidth)(Ark_NativePointer node, + const Type_ShapeAttribute_strokeWidth_Arg0* value); + void (*setAntiAlias)(Ark_NativePointer node, + Ark_Boolean value); + void (*setMesh)(Ark_NativePointer node, + const Array_CustomObject* value, + const Ark_Number* column, + const Ark_Number* row); } GENERATED_ArkUIShapeModifier; typedef struct GENERATED_ArkUISliderModifier { - void (*_setSliderOptions)(Ark_NativePointer node, const Opt_SliderOptions* options); - void (*setBlockColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setTrackColor)(Ark_NativePointer node, const Type_SliderAttribute_trackColor_Arg0* value); - void (*setSelectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setMinLabel)(Ark_NativePointer node, const Ark_String* value); - void (*setMaxLabel)(Ark_NativePointer node, const Ark_String* value); - void (*setShowSteps)(Ark_NativePointer node, Ark_Boolean value); - void (*setShowTips)(Ark_NativePointer node, Ark_Boolean value, const Opt_ResourceStr* content); - void (*setTrackThickness)(Ark_NativePointer node, const Ark_Length* value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setBlockBorderColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setBlockBorderWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setStepColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setTrackBorderRadius)(Ark_NativePointer node, const Ark_Length* value); - void (*setSelectedBorderRadius)(Ark_NativePointer node, const Ark_Length* value); - void (*setBlockSize)(Ark_NativePointer node, const Ark_SizeOptions* value); - void (*setBlockStyle)(Ark_NativePointer node, const Ark_SliderBlockStyle* value); - void (*setStepSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setSliderInteractionMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setMinResponsiveDistance)(Ark_NativePointer node, const Ark_Number* value); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); - void (*setSlideRange)(Ark_NativePointer node, const Ark_SlideRange* value); + void (*setSliderOptions)(Ark_NativePointer node, + const Opt_SliderOptions* options); + void (*setBlockColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setTrackColor)(Ark_NativePointer node, + const Type_SliderAttribute_trackColor_Arg0* value); + void (*setSelectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setMinLabel)(Ark_NativePointer node, + const Ark_String* value); + void (*setMaxLabel)(Ark_NativePointer node, + const Ark_String* value); + void (*setShowSteps)(Ark_NativePointer node, + Ark_Boolean value); + void (*setShowTips)(Ark_NativePointer node, + Ark_Boolean value, + const Opt_ResourceStr* content); + void (*setTrackThickness)(Ark_NativePointer node, + const Ark_Length* value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setBlockBorderColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setBlockBorderWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setStepColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setTrackBorderRadius)(Ark_NativePointer node, + const Ark_Length* value); + void (*setSelectedBorderRadius)(Ark_NativePointer node, + const Ark_Length* value); + void (*setBlockSize)(Ark_NativePointer node, + const Ark_SizeOptions* value); + void (*setBlockStyle)(Ark_NativePointer node, + const Ark_SliderBlockStyle* value); + void (*setStepSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setSliderInteractionMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setMinResponsiveDistance)(Ark_NativePointer node, + const Ark_Number* value); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); + void (*setSlideRange)(Ark_NativePointer node, + const Ark_SlideRange* value); } GENERATED_ArkUISliderModifier; typedef struct GENERATED_ArkUIBaseSpanModifier { - void (*setTextBackgroundStyle)(Ark_NativePointer node, const Ark_TextBackgroundStyle* style); - void (*setBaselineOffset)(Ark_NativePointer node, const Ark_CustomObject* value); + void (*setTextBackgroundStyle)(Ark_NativePointer node, + const Ark_TextBackgroundStyle* style); + void (*setBaselineOffset)(Ark_NativePointer node, + const Ark_CustomObject* value); } GENERATED_ArkUIBaseSpanModifier; typedef struct GENERATED_ArkUISpanModifier { - void (*_setSpanOptions)(Ark_NativePointer node, const Type_SpanInterface__setSpanOptions_Arg0* value); - void (*setFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setFontSize)(Ark_NativePointer node, const Type_SpanAttribute_fontSize_Arg0* value); - void (*setFontStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontWeight)(Ark_NativePointer node, const Type_SpanAttribute_fontWeight_Arg0* value); - void (*setFontFamily)(Ark_NativePointer node, const Type_SpanAttribute_fontFamily_Arg0* value); - void (*setDecoration)(Ark_NativePointer node, const Ark_DecorationStyleInterface* value); - void (*setLetterSpacing)(Ark_NativePointer node, const Type_SpanAttribute_letterSpacing_Arg0* value); - void (*setTextCase)(Ark_NativePointer node, Ark_Int32 value); - void (*setLineHeight)(Ark_NativePointer node, const Ark_Length* value); - void (*setTextShadow)(Ark_NativePointer node, const Type_SpanAttribute_textShadow_Arg0* value); + void (*setSpanOptions)(Ark_NativePointer node, + const Type_SpanInterface_setSpanOptions_Arg0* value); + void (*setFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFontSize)(Ark_NativePointer node, + const Type_SpanAttribute_fontSize_Arg0* value); + void (*setFontStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_SpanAttribute_fontWeight_Arg0* value); + void (*setFontFamily)(Ark_NativePointer node, + const Type_SpanAttribute_fontFamily_Arg0* value); + void (*setDecoration)(Ark_NativePointer node, + const Ark_DecorationStyleInterface* value); + void (*setLetterSpacing)(Ark_NativePointer node, + const Type_SpanAttribute_letterSpacing_Arg0* value); + void (*setTextCase)(Ark_NativePointer node, + Ark_Int32 value); + void (*setLineHeight)(Ark_NativePointer node, + const Ark_Length* value); + void (*setTextShadow)(Ark_NativePointer node, + const Type_SpanAttribute_textShadow_Arg0* value); } GENERATED_ArkUISpanModifier; typedef struct GENERATED_ArkUIStackModifier { - void (*_setStackOptions)(Ark_NativePointer node, const Opt_Type_StackInterface__setStackOptions_Arg0* value); - void (*setAlignContent)(Ark_NativePointer node, Ark_Int32 value); - void (*setPointLight)(Ark_NativePointer node, const Ark_PointLightStyle* value); + void (*setStackOptions)(Ark_NativePointer node, + const Opt_Type_StackInterface_setStackOptions_Arg0* value); + void (*setAlignContent)(Ark_NativePointer node, + Ark_Int32 value); + void (*setPointLight)(Ark_NativePointer node, + const Ark_PointLightStyle* value); } GENERATED_ArkUIStackModifier; typedef struct GENERATED_ArkUIStepperModifier { - void (*_setStepperOptions)(Ark_NativePointer node, const Opt_Type_StepperInterface__setStepperOptions_Arg0* value); - void (*setOnFinish)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSkip)(Ark_NativePointer node, Ark_Function callback); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnNext)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPrevious)(Ark_NativePointer node, Ark_Function callback); + void (*setStepperOptions)(Ark_NativePointer node, + const Opt_Type_StepperInterface_setStepperOptions_Arg0* value); + void (*setOnFinish)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSkip)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnNext)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPrevious)(Ark_NativePointer node, + Ark_Function callback); } GENERATED_ArkUIStepperModifier; typedef struct GENERATED_ArkUIStepperItemModifier { - void (*_setStepperItemOptions)(Ark_NativePointer node); - void (*setPrevLabel)(Ark_NativePointer node, const Ark_String* value); - void (*setNextLabel)(Ark_NativePointer node, const Ark_String* value); - void (*setStatus)(Ark_NativePointer node, const Opt_ItemState* value); + void (*setStepperItemOptions)(Ark_NativePointer node); + void (*setPrevLabel)(Ark_NativePointer node, + const Ark_String* value); + void (*setNextLabel)(Ark_NativePointer node, + const Ark_String* value); + void (*setStatus)(Ark_NativePointer node, + const Opt_ItemState* value); } GENERATED_ArkUIStepperItemModifier; typedef struct GENERATED_ArkUISwiperModifier { - void (*_setSwiperOptions)(Ark_NativePointer node, const Opt_SwiperController* controller); - void (*setIndex)(Ark_NativePointer node, const Ark_Number* value); - void (*setAutoPlay)(Ark_NativePointer node, Ark_Boolean value); - void (*setInterval)(Ark_NativePointer node, const Ark_Number* value); - void (*setIndicator)(Ark_NativePointer node, const Type_SwiperAttribute_indicator_Arg0* value); - void (*setDisplayArrow)(Ark_NativePointer node, const Type_SwiperAttribute_displayArrow_Arg0* value, const Opt_Boolean* isHoverShow); - void (*setLoop)(Ark_NativePointer node, Ark_Boolean value); - void (*setDuration)(Ark_NativePointer node, const Ark_Number* value); - void (*setVertical)(Ark_NativePointer node, Ark_Boolean value); - void (*setItemSpace)(Ark_NativePointer node, const Type_SwiperAttribute_itemSpace_Arg0* value); - void (*setDisplayMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setCachedCount)(Ark_NativePointer node, const Ark_Number* value); - void (*setDisplayCount)(Ark_NativePointer node, const Type_SwiperAttribute_displayCount_Arg0* value, const Opt_Boolean* swipeByGroup); - void (*setEffectMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setDisableSwipe)(Ark_NativePointer node, Ark_Boolean value); - void (*setCurve)(Ark_NativePointer node, const Type_SwiperAttribute_curve_Arg0* value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function event); - void (*setIndicatorStyle)(Ark_NativePointer node, const Opt_IndicatorStyle* value); - void (*setPrevMargin)(Ark_NativePointer node, const Ark_Length* value, const Opt_Boolean* ignoreBlank); - void (*setNextMargin)(Ark_NativePointer node, const Ark_Length* value, const Opt_Boolean* ignoreBlank); - void (*setOnAnimationStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnAnimationEnd)(Ark_NativePointer node, Ark_Function event); - void (*setOnGestureSwipe)(Ark_NativePointer node, Ark_Function event); - void (*setNestedScroll)(Ark_NativePointer node, Ark_Int32 value); - void (*setCustomContentTransition)(Ark_NativePointer node, const Ark_SwiperContentAnimatedTransition* transition); - void (*setOnContentDidScroll)(Ark_NativePointer node, Ark_Function handler); - void (*setIndicatorInteractive)(Ark_NativePointer node, Ark_Boolean value); + void (*setSwiperOptions)(Ark_NativePointer node, + const Opt_SwiperController* controller); + void (*setIndex)(Ark_NativePointer node, + const Ark_Number* value); + void (*setAutoPlay)(Ark_NativePointer node, + Ark_Boolean value); + void (*setInterval)(Ark_NativePointer node, + const Ark_Number* value); + void (*setIndicator)(Ark_NativePointer node, + const Type_SwiperAttribute_indicator_Arg0* value); + void (*setDisplayArrow)(Ark_NativePointer node, + const Type_SwiperAttribute_displayArrow_Arg0* value, + const Opt_Boolean* isHoverShow); + void (*setLoop)(Ark_NativePointer node, + Ark_Boolean value); + void (*setDuration)(Ark_NativePointer node, + const Ark_Number* value); + void (*setVertical)(Ark_NativePointer node, + Ark_Boolean value); + void (*setItemSpace)(Ark_NativePointer node, + const Type_SwiperAttribute_itemSpace_Arg0* value); + void (*setDisplayMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setCachedCount)(Ark_NativePointer node, + const Ark_Number* value); + void (*setDisplayCount)(Ark_NativePointer node, + const Type_SwiperAttribute_displayCount_Arg0* value, + const Opt_Boolean* swipeByGroup); + void (*setEffectMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDisableSwipe)(Ark_NativePointer node, + Ark_Boolean value); + void (*setCurve)(Ark_NativePointer node, + const Type_SwiperAttribute_curve_Arg0* value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function event); + void (*setIndicatorStyle)(Ark_NativePointer node, + const Opt_IndicatorStyle* value); + void (*setPrevMargin)(Ark_NativePointer node, + const Ark_Length* value, + const Opt_Boolean* ignoreBlank); + void (*setNextMargin)(Ark_NativePointer node, + const Ark_Length* value, + const Opt_Boolean* ignoreBlank); + void (*setOnAnimationStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnAnimationEnd)(Ark_NativePointer node, + Ark_Function event); + void (*setOnGestureSwipe)(Ark_NativePointer node, + Ark_Function event); + void (*setNestedScroll)(Ark_NativePointer node, + Ark_Int32 value); + void (*setCustomContentTransition)(Ark_NativePointer node, + const Ark_SwiperContentAnimatedTransition* transition); + void (*setOnContentDidScroll)(Ark_NativePointer node, + Ark_Function handler); + void (*setIndicatorInteractive)(Ark_NativePointer node, + Ark_Boolean value); } GENERATED_ArkUISwiperModifier; typedef struct GENERATED_ArkUISymbolGlyphModifier { - void (*_setSymbolGlyphOptions)(Ark_NativePointer node, const Opt_Resource* value); - void (*setFontSize)(Ark_NativePointer node, const Type_SymbolGlyphAttribute_fontSize_Arg0* value); - void (*setFontColor)(Ark_NativePointer node, const Array_ResourceColor* value); - void (*setFontWeight)(Ark_NativePointer node, const Type_SymbolGlyphAttribute_fontWeight_Arg0* value); - void (*setEffectStrategy)(Ark_NativePointer node, Ark_Int32 value); - void (*setRenderingStrategy)(Ark_NativePointer node, Ark_Int32 value); - void (*setSymbolEffect_SymbolEffect_boolean)(Ark_NativePointer node, const Ark_SymbolEffect* symbolEffect, const Opt_Boolean* isActive); - void (*setSymbolEffect_SymbolEffect_number)(Ark_NativePointer node, const Ark_SymbolEffect* symbolEffect, const Opt_Number* triggerValue); + void (*setSymbolGlyphOptions)(Ark_NativePointer node, + const Opt_Resource* value); + void (*setFontSize)(Ark_NativePointer node, + const Type_SymbolGlyphAttribute_fontSize_Arg0* value); + void (*setFontColor)(Ark_NativePointer node, + const Array_ResourceColor* value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_SymbolGlyphAttribute_fontWeight_Arg0* value); + void (*setEffectStrategy)(Ark_NativePointer node, + Ark_Int32 value); + void (*setRenderingStrategy)(Ark_NativePointer node, + Ark_Int32 value); + void (*setSymbolEffect0)(Ark_NativePointer node, + const Ark_SymbolEffect* symbolEffect, + const Opt_Boolean* isActive); + void (*setSymbolEffect1)(Ark_NativePointer node, + const Ark_SymbolEffect* symbolEffect, + const Opt_Number* triggerValue); } GENERATED_ArkUISymbolGlyphModifier; typedef struct GENERATED_ArkUISymbolSpanModifier { - void (*_setSymbolSpanOptions)(Ark_NativePointer node, const Ark_Resource* value); - void (*setFontSize)(Ark_NativePointer node, const Type_SymbolSpanAttribute_fontSize_Arg0* value); - void (*setFontColor)(Ark_NativePointer node, const Array_ResourceColor* value); - void (*setFontWeight)(Ark_NativePointer node, const Type_SymbolSpanAttribute_fontWeight_Arg0* value); - void (*setEffectStrategy)(Ark_NativePointer node, Ark_Int32 value); - void (*setRenderingStrategy)(Ark_NativePointer node, Ark_Int32 value); + void (*setSymbolSpanOptions)(Ark_NativePointer node, + const Ark_Resource* value); + void (*setFontSize)(Ark_NativePointer node, + const Type_SymbolSpanAttribute_fontSize_Arg0* value); + void (*setFontColor)(Ark_NativePointer node, + const Array_ResourceColor* value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_SymbolSpanAttribute_fontWeight_Arg0* value); + void (*setEffectStrategy)(Ark_NativePointer node, + Ark_Int32 value); + void (*setRenderingStrategy)(Ark_NativePointer node, + Ark_Int32 value); } GENERATED_ArkUISymbolSpanModifier; typedef struct GENERATED_ArkUITabsModifier { - void (*_setTabsOptions)(Ark_NativePointer node, const Opt_Type_TabsInterface__setTabsOptions_Arg0* value); - void (*setVertical)(Ark_NativePointer node, Ark_Boolean value); - void (*setBarPosition)(Ark_NativePointer node, Ark_Int32 value); - void (*setScrollable)(Ark_NativePointer node, Ark_Boolean value); - void (*setBarMode_BarModeFixed)(Ark_NativePointer node, Ark_Int32 value); - void (*setBarMode_BarModeScrollable_ScrollableBarModeOptions)(Ark_NativePointer node, Ark_Int32 value, const Ark_ScrollableBarModeOptions* options); - void (*setBarMode_BarMode_ScrollableBarModeOptions)(Ark_NativePointer node, Ark_Int32 value, const Opt_ScrollableBarModeOptions* options); - void (*setBarWidth)(Ark_NativePointer node, const Ark_Length* value); - void (*setBarHeight)(Ark_NativePointer node, const Ark_Length* value); - void (*setAnimationDuration)(Ark_NativePointer node, const Ark_Number* value); - void (*setAnimationMode)(Ark_NativePointer node, const Opt_AnimationMode* mode); - void (*setEdgeEffect)(Ark_NativePointer node, const Opt_EdgeEffect* edgeEffect); - void (*setOnChange)(Ark_NativePointer node, Ark_Function event); - void (*setOnTabBarClick)(Ark_NativePointer node, Ark_Function event); - void (*setOnAnimationStart)(Ark_NativePointer node, Ark_Function handler); - void (*setOnAnimationEnd)(Ark_NativePointer node, Ark_Function handler); - void (*setOnGestureSwipe)(Ark_NativePointer node, Ark_Function handler); - void (*setFadingEdge)(Ark_NativePointer node, Ark_Boolean value); - void (*setDivider)(Ark_NativePointer node, const Type_TabsAttribute_divider_Arg0* value); - void (*setBarOverlap)(Ark_NativePointer node, Ark_Boolean value); - void (*setBarBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setBarGridAlign)(Ark_NativePointer node, const Ark_BarGridColumnOptions* value); - void (*setCustomContentTransition)(Ark_NativePointer node, Ark_Function delegate); - void (*setBarBackgroundBlurStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnContentWillChange)(Ark_NativePointer node, Ark_Function handler); + void (*setTabsOptions)(Ark_NativePointer node, + const Opt_Type_TabsInterface_setTabsOptions_Arg0* value); + void (*setVertical)(Ark_NativePointer node, + Ark_Boolean value); + void (*setBarPosition)(Ark_NativePointer node, + Ark_Int32 value); + void (*setScrollable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setBarMode0)(Ark_NativePointer node, + Ark_Int32 value); + void (*setBarMode1)(Ark_NativePointer node, + Ark_Int32 value, + const Ark_ScrollableBarModeOptions* options); + void (*setBarMode2)(Ark_NativePointer node, + Ark_Int32 value, + const Opt_ScrollableBarModeOptions* options); + void (*setBarWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setBarHeight)(Ark_NativePointer node, + const Ark_Length* value); + void (*setAnimationDuration)(Ark_NativePointer node, + const Ark_Number* value); + void (*setAnimationMode)(Ark_NativePointer node, + const Opt_AnimationMode* mode); + void (*setEdgeEffect)(Ark_NativePointer node, + const Opt_EdgeEffect* edgeEffect); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function event); + void (*setOnTabBarClick)(Ark_NativePointer node, + Ark_Function event); + void (*setOnAnimationStart)(Ark_NativePointer node, + Ark_Function handler); + void (*setOnAnimationEnd)(Ark_NativePointer node, + Ark_Function handler); + void (*setOnGestureSwipe)(Ark_NativePointer node, + Ark_Function handler); + void (*setFadingEdge)(Ark_NativePointer node, + Ark_Boolean value); + void (*setDivider)(Ark_NativePointer node, + const Type_TabsAttribute_divider_Arg0* value); + void (*setBarOverlap)(Ark_NativePointer node, + Ark_Boolean value); + void (*setBarBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setBarGridAlign)(Ark_NativePointer node, + const Ark_BarGridColumnOptions* value); + void (*setCustomContentTransition)(Ark_NativePointer node, + Ark_Function delegate); + void (*setBarBackgroundBlurStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnContentWillChange)(Ark_NativePointer node, + Ark_Function handler); } GENERATED_ArkUITabsModifier; typedef struct GENERATED_ArkUITabContentModifier { - void (*_setTabContentOptions)(Ark_NativePointer node); - void (*setTabBar_stringResourceCustomBuildericonstringResourcetextstringResource)(Ark_NativePointer node, const Type_TabContentAttribute_tabBar_Arg0* value); - void (*setTabBar_SubTabBarStyleBottomTabBarStyle)(Ark_NativePointer node, const Type_TabContentAttribute_tabBar1_Arg0* value); - void (*setOnWillShow)(Ark_NativePointer node, Ark_Function event); - void (*setOnWillHide)(Ark_NativePointer node, Ark_Function event); + void (*setTabContentOptions)(Ark_NativePointer node); + void (*setTabBar0)(Ark_NativePointer node, + const Type_TabContentAttribute_tabBar_Arg0* value); + void (*setTabBar1)(Ark_NativePointer node, + const Type_TabContentAttribute_tabBar1_Arg0* value); + void (*setOnWillShow)(Ark_NativePointer node, + Ark_Function event); + void (*setOnWillHide)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUITabContentModifier; typedef struct GENERATED_ArkUITextModifier { - void (*_setTextOptions)(Ark_NativePointer node, const Opt_Type_TextInterface__setTextOptions_Arg0* content, const Opt_TextOptions* value); - void (*setFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setFontSize)(Ark_NativePointer node, const Type_TextAttribute_fontSize_Arg0* value); - void (*setMinFontSize)(Ark_NativePointer node, const Type_TextAttribute_minFontSize_Arg0* value); - void (*setMaxFontSize)(Ark_NativePointer node, const Type_TextAttribute_maxFontSize_Arg0* value); - void (*setMinFontScale)(Ark_NativePointer node, const Type_TextAttribute_minFontScale_Arg0* scale); - void (*setMaxFontScale)(Ark_NativePointer node, const Type_TextAttribute_maxFontScale_Arg0* scale); - void (*setFontStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontWeight)(Ark_NativePointer node, const Type_TextAttribute_fontWeight_Arg0* value); - void (*setLineSpacing)(Ark_NativePointer node, const Ark_CustomObject* value); - void (*setTextAlign)(Ark_NativePointer node, Ark_Int32 value); - void (*setLineHeight)(Ark_NativePointer node, const Type_TextAttribute_lineHeight_Arg0* value); - void (*setTextOverflow)(Ark_NativePointer node, const Type_TextAttribute_textOverflow_Arg0* value); - void (*setFontFamily)(Ark_NativePointer node, const Type_TextAttribute_fontFamily_Arg0* value); - void (*setMaxLines)(Ark_NativePointer node, const Ark_Number* value); - void (*setDecoration)(Ark_NativePointer node, const Ark_DecorationStyleInterface* value); - void (*setLetterSpacing)(Ark_NativePointer node, const Type_TextAttribute_letterSpacing_Arg0* value); - void (*setTextCase)(Ark_NativePointer node, Ark_Int32 value); - void (*setBaselineOffset)(Ark_NativePointer node, const Type_TextAttribute_baselineOffset_Arg0* value); - void (*setCopyOption)(Ark_NativePointer node, Ark_Int32 value); - void (*setDraggable)(Ark_NativePointer node, Ark_Boolean value); - void (*setTextShadow)(Ark_NativePointer node, const Type_TextAttribute_textShadow_Arg0* value); - void (*setHeightAdaptivePolicy)(Ark_NativePointer node, Ark_Int32 value); - void (*setTextIndent)(Ark_NativePointer node, const Ark_Length* value); - void (*setWordBreak)(Ark_NativePointer node, Ark_Int32 value); - void (*setLineBreakStrategy)(Ark_NativePointer node, Ark_Int32 strategy); - void (*setOnCopy)(Ark_NativePointer node, Ark_Function callback); - void (*setSelection)(Ark_NativePointer node, const Ark_Number* selectionStart, const Ark_Number* selectionEnd); - void (*setEllipsisMode)(Ark_NativePointer node, Ark_Int32 value); - void (*setEnableDataDetector)(Ark_NativePointer node, Ark_Boolean enable); - void (*setDataDetectorConfig)(Ark_NativePointer node, const Ark_TextDataDetectorConfig* config); - void (*setBindSelectionMenu)(Ark_NativePointer node, Ark_Int32 spanType, const CustomBuilder* content, Ark_Int32 responseType, const Opt_SelectionMenuOptions* options); - void (*setOnTextSelectionChange)(Ark_NativePointer node, Ark_Function callback); - void (*setFontFeature)(Ark_NativePointer node, const Ark_String* value); - void (*setMarqueeOptions)(Ark_NativePointer node, const Opt_MarqueeOptions* value); - void (*setOnMarqueeStateChange)(Ark_NativePointer node, Ark_Function callback); - void (*setPrivacySensitive)(Ark_NativePointer node, Ark_Boolean supported); - void (*setTextSelectable)(Ark_NativePointer node, Ark_Int32 mode); - void (*setEditMenuOptions)(Ark_NativePointer node, const Ark_Materialized* editMenu); + void (*setTextOptions)(Ark_NativePointer node, + const Opt_Type_TextInterface_setTextOptions_Arg0* content, + const Opt_TextOptions* value); + void (*setFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFontSize)(Ark_NativePointer node, + const Type_TextAttribute_fontSize_Arg0* value); + void (*setMinFontSize)(Ark_NativePointer node, + const Type_TextAttribute_minFontSize_Arg0* value); + void (*setMaxFontSize)(Ark_NativePointer node, + const Type_TextAttribute_maxFontSize_Arg0* value); + void (*setMinFontScale)(Ark_NativePointer node, + const Type_TextAttribute_minFontScale_Arg0* scale); + void (*setMaxFontScale)(Ark_NativePointer node, + const Type_TextAttribute_maxFontScale_Arg0* scale); + void (*setFontStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_TextAttribute_fontWeight_Arg0* value); + void (*setLineSpacing)(Ark_NativePointer node, + const Ark_CustomObject* value); + void (*setTextAlign)(Ark_NativePointer node, + Ark_Int32 value); + void (*setLineHeight)(Ark_NativePointer node, + const Type_TextAttribute_lineHeight_Arg0* value); + void (*setTextOverflow)(Ark_NativePointer node, + const Type_TextAttribute_textOverflow_Arg0* value); + void (*setFontFamily)(Ark_NativePointer node, + const Type_TextAttribute_fontFamily_Arg0* value); + void (*setMaxLines)(Ark_NativePointer node, + const Ark_Number* value); + void (*setDecoration)(Ark_NativePointer node, + const Ark_DecorationStyleInterface* value); + void (*setLetterSpacing)(Ark_NativePointer node, + const Type_TextAttribute_letterSpacing_Arg0* value); + void (*setTextCase)(Ark_NativePointer node, + Ark_Int32 value); + void (*setBaselineOffset)(Ark_NativePointer node, + const Type_TextAttribute_baselineOffset_Arg0* value); + void (*setCopyOption)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDraggable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setTextShadow)(Ark_NativePointer node, + const Type_TextAttribute_textShadow_Arg0* value); + void (*setHeightAdaptivePolicy)(Ark_NativePointer node, + Ark_Int32 value); + void (*setTextIndent)(Ark_NativePointer node, + const Ark_Length* value); + void (*setWordBreak)(Ark_NativePointer node, + Ark_Int32 value); + void (*setLineBreakStrategy)(Ark_NativePointer node, + Ark_Int32 strategy); + void (*setOnCopy)(Ark_NativePointer node, + Ark_Function callback); + void (*setSelection)(Ark_NativePointer node, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd); + void (*setEllipsisMode)(Ark_NativePointer node, + Ark_Int32 value); + void (*setEnableDataDetector)(Ark_NativePointer node, + Ark_Boolean enable); + void (*setDataDetectorConfig)(Ark_NativePointer node, + const Ark_TextDataDetectorConfig* config); + void (*setBindSelectionMenu)(Ark_NativePointer node, + Ark_Int32 spanType, + const CustomBuilder* content, + Ark_Int32 responseType, + const Opt_SelectionMenuOptions* options); + void (*setOnTextSelectionChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setFontFeature)(Ark_NativePointer node, + const Ark_String* value); + void (*setMarqueeOptions)(Ark_NativePointer node, + const Opt_MarqueeOptions* value); + void (*setOnMarqueeStateChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setPrivacySensitive)(Ark_NativePointer node, + Ark_Boolean supported); + void (*setTextSelectable)(Ark_NativePointer node, + Ark_Int32 mode); + void (*setEditMenuOptions)(Ark_NativePointer node, + const Ark_Materialized* editMenu); } GENERATED_ArkUITextModifier; typedef struct GENERATED_ArkUITextAreaModifier { - void (*_setTextAreaOptions)(Ark_NativePointer node, const Opt_TextAreaOptions* value); - void (*setPlaceholderColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setPlaceholderFont)(Ark_NativePointer node, const Ark_Font* value); - void (*setEnterKeyType)(Ark_NativePointer node, Ark_Int32 value); - void (*setTextAlign)(Ark_NativePointer node, Ark_Int32 value); - void (*setCaretColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setFontSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setFontStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontWeight)(Ark_NativePointer node, const Type_TextAreaAttribute_fontWeight_Arg0* value); - void (*setFontFamily)(Ark_NativePointer node, const ResourceStr* value); - void (*setTextOverflow)(Ark_NativePointer node, Ark_Int32 value); - void (*setTextIndent)(Ark_NativePointer node, const Ark_Length* value); - void (*setInputFilter)(Ark_NativePointer node, const ResourceStr* value, const Opt_Function* error); - void (*setCaretStyle)(Ark_NativePointer node, const Ark_CaretStyle* value); - void (*setSelectedBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setOnSubmit)(Ark_NativePointer node, Ark_Function callback); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnTextSelectionChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnContentScroll)(Ark_NativePointer node, Ark_Function callback); - void (*setOnEditChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnCopy)(Ark_NativePointer node, Ark_Function callback); - void (*setOnCut)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPaste)(Ark_NativePointer node, Ark_Function callback); - void (*setCopyOption)(Ark_NativePointer node, Ark_Int32 value); - void (*setEnableKeyboardOnFocus)(Ark_NativePointer node, Ark_Boolean value); - void (*setMaxLength)(Ark_NativePointer node, const Ark_Number* value); - void (*setShowCounter)(Ark_NativePointer node, Ark_Boolean value, const Opt_InputCounterOptions* options); - void (*setStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setBarState)(Ark_NativePointer node, Ark_Int32 value); - void (*setSelectionMenuHidden)(Ark_NativePointer node, Ark_Boolean value); - void (*setMinFontSize)(Ark_NativePointer node, const Type_TextAreaAttribute_minFontSize_Arg0* value); - void (*setMaxFontSize)(Ark_NativePointer node, const Type_TextAreaAttribute_maxFontSize_Arg0* value); - void (*setHeightAdaptivePolicy)(Ark_NativePointer node, Ark_Int32 value); - void (*setMaxLines)(Ark_NativePointer node, const Ark_Number* value); - void (*setWordBreak)(Ark_NativePointer node, Ark_Int32 value); - void (*setLineBreakStrategy)(Ark_NativePointer node, Ark_Int32 strategy); - void (*setCustomKeyboard)(Ark_NativePointer node, const CustomBuilder* value, const Opt_KeyboardOptions* options); - void (*setDecoration)(Ark_NativePointer node, const Ark_TextDecorationOptions* value); - void (*setLetterSpacing)(Ark_NativePointer node, const Type_TextAreaAttribute_letterSpacing_Arg0* value); - void (*setLineSpacing)(Ark_NativePointer node, const Ark_CustomObject* value); - void (*setLineHeight)(Ark_NativePointer node, const Type_TextAreaAttribute_lineHeight_Arg0* value); - void (*setType)(Ark_NativePointer node, Ark_Int32 value); - void (*setEnableAutoFill)(Ark_NativePointer node, Ark_Boolean value); - void (*setContentType)(Ark_NativePointer node, Ark_Int32 contentType); - void (*setFontFeature)(Ark_NativePointer node, const Ark_String* value); - void (*setOnWillInsert)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDidInsert)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWillDelete)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDidDelete)(Ark_NativePointer node, Ark_Function callback); - void (*setEditMenuOptions)(Ark_NativePointer node, const Ark_Materialized* editMenu); - void (*setEnablePreviewText)(Ark_NativePointer node, Ark_Boolean enable); + void (*setTextAreaOptions)(Ark_NativePointer node, + const Opt_TextAreaOptions* value); + void (*setPlaceholderColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setPlaceholderFont)(Ark_NativePointer node, + const Ark_Font* value); + void (*setEnterKeyType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setTextAlign)(Ark_NativePointer node, + Ark_Int32 value); + void (*setCaretColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFontSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setFontStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_TextAreaAttribute_fontWeight_Arg0* value); + void (*setFontFamily)(Ark_NativePointer node, + const ResourceStr* value); + void (*setTextOverflow)(Ark_NativePointer node, + Ark_Int32 value); + void (*setTextIndent)(Ark_NativePointer node, + const Ark_Length* value); + void (*setInputFilter)(Ark_NativePointer node, + const ResourceStr* value, + const Opt_Function* error); + void (*setCaretStyle)(Ark_NativePointer node, + const Ark_CaretStyle* value); + void (*setSelectedBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setOnSubmit)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnTextSelectionChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnContentScroll)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnEditChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnCopy)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnCut)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPaste)(Ark_NativePointer node, + Ark_Function callback); + void (*setCopyOption)(Ark_NativePointer node, + Ark_Int32 value); + void (*setEnableKeyboardOnFocus)(Ark_NativePointer node, + Ark_Boolean value); + void (*setMaxLength)(Ark_NativePointer node, + const Ark_Number* value); + void (*setShowCounter)(Ark_NativePointer node, + Ark_Boolean value, + const Opt_InputCounterOptions* options); + void (*setStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setBarState)(Ark_NativePointer node, + Ark_Int32 value); + void (*setSelectionMenuHidden)(Ark_NativePointer node, + Ark_Boolean value); + void (*setMinFontSize)(Ark_NativePointer node, + const Type_TextAreaAttribute_minFontSize_Arg0* value); + void (*setMaxFontSize)(Ark_NativePointer node, + const Type_TextAreaAttribute_maxFontSize_Arg0* value); + void (*setHeightAdaptivePolicy)(Ark_NativePointer node, + Ark_Int32 value); + void (*setMaxLines)(Ark_NativePointer node, + const Ark_Number* value); + void (*setWordBreak)(Ark_NativePointer node, + Ark_Int32 value); + void (*setLineBreakStrategy)(Ark_NativePointer node, + Ark_Int32 strategy); + void (*setCustomKeyboard)(Ark_NativePointer node, + const CustomBuilder* value, + const Opt_KeyboardOptions* options); + void (*setDecoration)(Ark_NativePointer node, + const Ark_TextDecorationOptions* value); + void (*setLetterSpacing)(Ark_NativePointer node, + const Type_TextAreaAttribute_letterSpacing_Arg0* value); + void (*setLineSpacing)(Ark_NativePointer node, + const Ark_CustomObject* value); + void (*setLineHeight)(Ark_NativePointer node, + const Type_TextAreaAttribute_lineHeight_Arg0* value); + void (*setType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setEnableAutoFill)(Ark_NativePointer node, + Ark_Boolean value); + void (*setContentType)(Ark_NativePointer node, + Ark_Int32 contentType); + void (*setFontFeature)(Ark_NativePointer node, + const Ark_String* value); + void (*setOnWillInsert)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDidInsert)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWillDelete)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDidDelete)(Ark_NativePointer node, + Ark_Function callback); + void (*setEditMenuOptions)(Ark_NativePointer node, + const Ark_Materialized* editMenu); + void (*setEnablePreviewText)(Ark_NativePointer node, + Ark_Boolean enable); } GENERATED_ArkUITextAreaModifier; typedef struct GENERATED_ArkUITextClockModifier { - void (*_setTextClockOptions)(Ark_NativePointer node, const Opt_Type_TextClockInterface__setTextClockOptions_Arg0* options); - void (*setFormat)(Ark_NativePointer node, const Ark_String* value); - void (*setOnDateChange)(Ark_NativePointer node, Ark_Function event); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setFontSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setFontStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontWeight)(Ark_NativePointer node, const Type_TextClockAttribute_fontWeight_Arg0* value); - void (*setFontFamily)(Ark_NativePointer node, const ResourceStr* value); - void (*setTextShadow)(Ark_NativePointer node, const Type_TextClockAttribute_textShadow_Arg0* value); - void (*setFontFeature)(Ark_NativePointer node, const Ark_String* value); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); - void (*setDateTimeOptions)(Ark_NativePointer node, const Opt_CustomObject* dateTimeOptions); + void (*setTextClockOptions)(Ark_NativePointer node, + const Opt_Type_TextClockInterface_setTextClockOptions_Arg0* options); + void (*setFormat)(Ark_NativePointer node, + const Ark_String* value); + void (*setOnDateChange)(Ark_NativePointer node, + Ark_Function event); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFontSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setFontStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_TextClockAttribute_fontWeight_Arg0* value); + void (*setFontFamily)(Ark_NativePointer node, + const ResourceStr* value); + void (*setTextShadow)(Ark_NativePointer node, + const Type_TextClockAttribute_textShadow_Arg0* value); + void (*setFontFeature)(Ark_NativePointer node, + const Ark_String* value); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); + void (*setDateTimeOptions)(Ark_NativePointer node, + const Opt_CustomObject* dateTimeOptions); } GENERATED_ArkUITextClockModifier; typedef struct GENERATED_ArkUITextInputModifier { - void (*_setTextInputOptions)(Ark_NativePointer node, const Opt_TextInputOptions* value); - void (*setType)(Ark_NativePointer node, Ark_Int32 value); - void (*setContentType)(Ark_NativePointer node, Ark_Int32 value); - void (*setPlaceholderColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setTextOverflow)(Ark_NativePointer node, Ark_Int32 value); - void (*setTextIndent)(Ark_NativePointer node, const Ark_Length* value); - void (*setPlaceholderFont)(Ark_NativePointer node, const Opt_Font* value); - void (*setEnterKeyType)(Ark_NativePointer node, Ark_Int32 value); - void (*setCaretColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setOnEditChanged)(Ark_NativePointer node, Ark_Function callback); - void (*setOnEditChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSubmit)(Ark_NativePointer node, Ark_Function callback); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnTextSelectionChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnContentScroll)(Ark_NativePointer node, Ark_Function callback); - void (*setMaxLength)(Ark_NativePointer node, const Ark_Number* value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setFontSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setFontStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontWeight)(Ark_NativePointer node, const Type_TextInputAttribute_fontWeight_Arg0* value); - void (*setFontFamily)(Ark_NativePointer node, const ResourceStr* value); - void (*setInputFilter)(Ark_NativePointer node, const ResourceStr* value, const Opt_Function* error); - void (*setOnCopy)(Ark_NativePointer node, Ark_Function callback); - void (*setOnCut)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPaste)(Ark_NativePointer node, Ark_Function callback); - void (*setCopyOption)(Ark_NativePointer node, Ark_Int32 value); - void (*setShowPasswordIcon)(Ark_NativePointer node, Ark_Boolean value); - void (*setTextAlign)(Ark_NativePointer node, Ark_Int32 value); - void (*setStyle)(Ark_NativePointer node, const Type_TextInputAttribute_style_Arg0* value); - void (*setCaretStyle)(Ark_NativePointer node, const Ark_CaretStyle* value); - void (*setSelectedBackgroundColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setCaretPosition)(Ark_NativePointer node, const Ark_Number* value); - void (*setEnableKeyboardOnFocus)(Ark_NativePointer node, Ark_Boolean value); - void (*setPasswordIcon)(Ark_NativePointer node, const Ark_PasswordIcon* value); - void (*setShowError)(Ark_NativePointer node, const Opt_Type_TextInputAttribute_showError_Arg0* value); - void (*setShowUnit)(Ark_NativePointer node, const CustomBuilder* value); - void (*setShowUnderline)(Ark_NativePointer node, Ark_Boolean value); - void (*setUnderlineColor)(Ark_NativePointer node, const Type_TextInputAttribute_underlineColor_Arg0* value); - void (*setSelectionMenuHidden)(Ark_NativePointer node, Ark_Boolean value); - void (*setBarState)(Ark_NativePointer node, Ark_Int32 value); - void (*setMaxLines)(Ark_NativePointer node, const Ark_Number* value); - void (*setWordBreak)(Ark_NativePointer node, Ark_Int32 value); - void (*setLineBreakStrategy)(Ark_NativePointer node, Ark_Int32 strategy); - void (*setCustomKeyboard)(Ark_NativePointer node, const CustomBuilder* value, const Opt_KeyboardOptions* options); - void (*setShowCounter)(Ark_NativePointer node, Ark_Boolean value, const Opt_InputCounterOptions* options); - void (*setCancelButton)(Ark_NativePointer node, const Type_TextInputAttribute_cancelButton_Arg0* value); - void (*setSelectAll)(Ark_NativePointer node, Ark_Boolean value); - void (*setMinFontSize)(Ark_NativePointer node, const Type_TextInputAttribute_minFontSize_Arg0* value); - void (*setMaxFontSize)(Ark_NativePointer node, const Type_TextInputAttribute_maxFontSize_Arg0* value); - void (*setHeightAdaptivePolicy)(Ark_NativePointer node, Ark_Int32 value); - void (*setEnableAutoFill)(Ark_NativePointer node, Ark_Boolean value); - void (*setDecoration)(Ark_NativePointer node, const Ark_TextDecorationOptions* value); - void (*setLetterSpacing)(Ark_NativePointer node, const Type_TextInputAttribute_letterSpacing_Arg0* value); - void (*setLineHeight)(Ark_NativePointer node, const Type_TextInputAttribute_lineHeight_Arg0* value); - void (*setPasswordRules)(Ark_NativePointer node, const Ark_String* value); - void (*setFontFeature)(Ark_NativePointer node, const Ark_String* value); - void (*setShowPassword)(Ark_NativePointer node, Ark_Boolean visible); - void (*setOnSecurityStateChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWillInsert)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDidInsert)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWillDelete)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDidDelete)(Ark_NativePointer node, Ark_Function callback); - void (*setEditMenuOptions)(Ark_NativePointer node, const Ark_Materialized* editMenu); - void (*setEnablePreviewText)(Ark_NativePointer node, Ark_Boolean enable); + void (*setTextInputOptions)(Ark_NativePointer node, + const Opt_TextInputOptions* value); + void (*setType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setContentType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setPlaceholderColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setTextOverflow)(Ark_NativePointer node, + Ark_Int32 value); + void (*setTextIndent)(Ark_NativePointer node, + const Ark_Length* value); + void (*setPlaceholderFont)(Ark_NativePointer node, + const Opt_Font* value); + void (*setEnterKeyType)(Ark_NativePointer node, + Ark_Int32 value); + void (*setCaretColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setOnEditChanged)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnEditChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSubmit)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnTextSelectionChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnContentScroll)(Ark_NativePointer node, + Ark_Function callback); + void (*setMaxLength)(Ark_NativePointer node, + const Ark_Number* value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFontSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setFontStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_TextInputAttribute_fontWeight_Arg0* value); + void (*setFontFamily)(Ark_NativePointer node, + const ResourceStr* value); + void (*setInputFilter)(Ark_NativePointer node, + const ResourceStr* value, + const Opt_Function* error); + void (*setOnCopy)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnCut)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPaste)(Ark_NativePointer node, + Ark_Function callback); + void (*setCopyOption)(Ark_NativePointer node, + Ark_Int32 value); + void (*setShowPasswordIcon)(Ark_NativePointer node, + Ark_Boolean value); + void (*setTextAlign)(Ark_NativePointer node, + Ark_Int32 value); + void (*setStyle)(Ark_NativePointer node, + const Type_TextInputAttribute_style_Arg0* value); + void (*setCaretStyle)(Ark_NativePointer node, + const Ark_CaretStyle* value); + void (*setSelectedBackgroundColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setCaretPosition)(Ark_NativePointer node, + const Ark_Number* value); + void (*setEnableKeyboardOnFocus)(Ark_NativePointer node, + Ark_Boolean value); + void (*setPasswordIcon)(Ark_NativePointer node, + const Ark_PasswordIcon* value); + void (*setShowError)(Ark_NativePointer node, + const Opt_Type_TextInputAttribute_showError_Arg0* value); + void (*setShowUnit)(Ark_NativePointer node, + const CustomBuilder* value); + void (*setShowUnderline)(Ark_NativePointer node, + Ark_Boolean value); + void (*setUnderlineColor)(Ark_NativePointer node, + const Type_TextInputAttribute_underlineColor_Arg0* value); + void (*setSelectionMenuHidden)(Ark_NativePointer node, + Ark_Boolean value); + void (*setBarState)(Ark_NativePointer node, + Ark_Int32 value); + void (*setMaxLines)(Ark_NativePointer node, + const Ark_Number* value); + void (*setWordBreak)(Ark_NativePointer node, + Ark_Int32 value); + void (*setLineBreakStrategy)(Ark_NativePointer node, + Ark_Int32 strategy); + void (*setCustomKeyboard)(Ark_NativePointer node, + const CustomBuilder* value, + const Opt_KeyboardOptions* options); + void (*setShowCounter)(Ark_NativePointer node, + Ark_Boolean value, + const Opt_InputCounterOptions* options); + void (*setCancelButton)(Ark_NativePointer node, + const Type_TextInputAttribute_cancelButton_Arg0* value); + void (*setSelectAll)(Ark_NativePointer node, + Ark_Boolean value); + void (*setMinFontSize)(Ark_NativePointer node, + const Type_TextInputAttribute_minFontSize_Arg0* value); + void (*setMaxFontSize)(Ark_NativePointer node, + const Type_TextInputAttribute_maxFontSize_Arg0* value); + void (*setHeightAdaptivePolicy)(Ark_NativePointer node, + Ark_Int32 value); + void (*setEnableAutoFill)(Ark_NativePointer node, + Ark_Boolean value); + void (*setDecoration)(Ark_NativePointer node, + const Ark_TextDecorationOptions* value); + void (*setLetterSpacing)(Ark_NativePointer node, + const Type_TextInputAttribute_letterSpacing_Arg0* value); + void (*setLineHeight)(Ark_NativePointer node, + const Type_TextInputAttribute_lineHeight_Arg0* value); + void (*setPasswordRules)(Ark_NativePointer node, + const Ark_String* value); + void (*setFontFeature)(Ark_NativePointer node, + const Ark_String* value); + void (*setShowPassword)(Ark_NativePointer node, + Ark_Boolean visible); + void (*setOnSecurityStateChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWillInsert)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDidInsert)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWillDelete)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDidDelete)(Ark_NativePointer node, + Ark_Function callback); + void (*setEditMenuOptions)(Ark_NativePointer node, + const Ark_Materialized* editMenu); + void (*setEnablePreviewText)(Ark_NativePointer node, + Ark_Boolean enable); } GENERATED_ArkUITextInputModifier; typedef struct GENERATED_ArkUITextPickerModifier { - void (*_setTextPickerOptions)(Ark_NativePointer node, const Opt_TextPickerOptions* options); - void (*setDefaultPickerItemHeight)(Ark_NativePointer node, const Type_TextPickerAttribute_defaultPickerItemHeight_Arg0* value); - void (*setCanLoop)(Ark_NativePointer node, Ark_Boolean value); - void (*setDisappearTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setSelectedTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setOnAccept)(Ark_NativePointer node, Ark_Function callback); - void (*setOnCancel)(Ark_NativePointer node, Ark_Function callback); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setSelectedIndex)(Ark_NativePointer node, const Type_TextPickerAttribute_selectedIndex_Arg0* value); - void (*setDivider)(Ark_NativePointer node, const Type_TextPickerAttribute_divider_Arg0* value); - void (*setGradientHeight)(Ark_NativePointer node, const Ark_Length* value); + void (*setTextPickerOptions)(Ark_NativePointer node, + const Opt_TextPickerOptions* options); + void (*setDefaultPickerItemHeight)(Ark_NativePointer node, + const Type_TextPickerAttribute_defaultPickerItemHeight_Arg0* value); + void (*setCanLoop)(Ark_NativePointer node, + Ark_Boolean value); + void (*setDisappearTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setSelectedTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setOnAccept)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnCancel)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setSelectedIndex)(Ark_NativePointer node, + const Type_TextPickerAttribute_selectedIndex_Arg0* value); + void (*setDivider)(Ark_NativePointer node, + const Type_TextPickerAttribute_divider_Arg0* value); + void (*setGradientHeight)(Ark_NativePointer node, + const Ark_Length* value); } GENERATED_ArkUITextPickerModifier; typedef struct GENERATED_ArkUITextTimerModifier { - void (*_setTextTimerOptions)(Ark_NativePointer node, const Opt_TextTimerOptions* options); - void (*setFormat)(Ark_NativePointer node, const Ark_String* value); - void (*setFontColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setFontSize)(Ark_NativePointer node, const Ark_Length* value); - void (*setFontStyle)(Ark_NativePointer node, Ark_Int32 value); - void (*setFontWeight)(Ark_NativePointer node, const Type_TextTimerAttribute_fontWeight_Arg0* value); - void (*setFontFamily)(Ark_NativePointer node, const ResourceStr* value); - void (*setOnTimer)(Ark_NativePointer node, Ark_Function event); - void (*setTextShadow)(Ark_NativePointer node, const Type_TextTimerAttribute_textShadow_Arg0* value); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); + void (*setTextTimerOptions)(Ark_NativePointer node, + const Opt_TextTimerOptions* options); + void (*setFormat)(Ark_NativePointer node, + const Ark_String* value); + void (*setFontColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setFontSize)(Ark_NativePointer node, + const Ark_Length* value); + void (*setFontStyle)(Ark_NativePointer node, + Ark_Int32 value); + void (*setFontWeight)(Ark_NativePointer node, + const Type_TextTimerAttribute_fontWeight_Arg0* value); + void (*setFontFamily)(Ark_NativePointer node, + const ResourceStr* value); + void (*setOnTimer)(Ark_NativePointer node, + Ark_Function event); + void (*setTextShadow)(Ark_NativePointer node, + const Type_TextTimerAttribute_textShadow_Arg0* value); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); } GENERATED_ArkUITextTimerModifier; typedef struct GENERATED_ArkUITimePickerModifier { - void (*_setTimePickerOptions)(Ark_NativePointer node, const Opt_TimePickerOptions* options); - void (*setUseMilitaryTime)(Ark_NativePointer node, Ark_Boolean value); - void (*setLoop)(Ark_NativePointer node, Ark_Boolean value); - void (*setDisappearTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setSelectedTextStyle)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setDateTimeOptions)(Ark_NativePointer node, const Ark_CustomObject* value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setEnableHapticFeedback)(Ark_NativePointer node, Ark_Boolean enable); + void (*setTimePickerOptions)(Ark_NativePointer node, + const Opt_TimePickerOptions* options); + void (*setUseMilitaryTime)(Ark_NativePointer node, + Ark_Boolean value); + void (*setLoop)(Ark_NativePointer node, + Ark_Boolean value); + void (*setDisappearTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setSelectedTextStyle)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setDateTimeOptions)(Ark_NativePointer node, + const Ark_CustomObject* value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setEnableHapticFeedback)(Ark_NativePointer node, + Ark_Boolean enable); } GENERATED_ArkUITimePickerModifier; typedef struct GENERATED_ArkUIToggleModifier { - void (*_setToggleOptions)(Ark_NativePointer node, const Type_ToggleInterface__setToggleOptions_Arg0* options); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setContentModifier)(Ark_NativePointer node, const Ark_CustomObject* modifier); - void (*setSelectedColor)(Ark_NativePointer node, const ResourceColor* value); - void (*setSwitchPointColor)(Ark_NativePointer node, const ResourceColor* color); - void (*setSwitchStyle)(Ark_NativePointer node, const Ark_SwitchStyle* value); + void (*setToggleOptions)(Ark_NativePointer node, + const Type_ToggleInterface_setToggleOptions_Arg0* options); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setContentModifier)(Ark_NativePointer node, + const Ark_CustomObject* modifier); + void (*setSelectedColor)(Ark_NativePointer node, + const ResourceColor* value); + void (*setSwitchPointColor)(Ark_NativePointer node, + const ResourceColor* color); + void (*setSwitchStyle)(Ark_NativePointer node, + const Ark_SwitchStyle* value); } GENERATED_ArkUIToggleModifier; typedef struct GENERATED_ArkUIVideoModifier { - void (*_setVideoOptions)(Ark_NativePointer node, const Ark_VideoOptions* value); - void (*setMuted)(Ark_NativePointer node, Ark_Boolean value); - void (*setAutoPlay)(Ark_NativePointer node, Ark_Boolean value); - void (*setControls)(Ark_NativePointer node, Ark_Boolean value); - void (*setLoop)(Ark_NativePointer node, Ark_Boolean value); - void (*setObjectFit)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnPause)(Ark_NativePointer node, Ark_Function event); - void (*setOnFinish)(Ark_NativePointer node, Ark_Function event); - void (*setOnFullscreenChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPrepared)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSeeking)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSeeked)(Ark_NativePointer node, Ark_Function callback); - void (*setOnUpdate)(Ark_NativePointer node, Ark_Function callback); - void (*setOnError)(Ark_NativePointer node, Ark_Function event); - void (*setOnStop)(Ark_NativePointer node, Ark_Function event); - void (*setEnableAnalyzer)(Ark_NativePointer node, Ark_Boolean enable); - void (*setAnalyzerConfig)(Ark_NativePointer node, const Ark_ImageAnalyzerConfig* config); + void (*setVideoOptions)(Ark_NativePointer node, + const Ark_VideoOptions* value); + void (*setMuted)(Ark_NativePointer node, + Ark_Boolean value); + void (*setAutoPlay)(Ark_NativePointer node, + Ark_Boolean value); + void (*setControls)(Ark_NativePointer node, + Ark_Boolean value); + void (*setLoop)(Ark_NativePointer node, + Ark_Boolean value); + void (*setObjectFit)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnPause)(Ark_NativePointer node, + Ark_Function event); + void (*setOnFinish)(Ark_NativePointer node, + Ark_Function event); + void (*setOnFullscreenChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPrepared)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSeeking)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSeeked)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnUpdate)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnError)(Ark_NativePointer node, + Ark_Function event); + void (*setOnStop)(Ark_NativePointer node, + Ark_Function event); + void (*setEnableAnalyzer)(Ark_NativePointer node, + Ark_Boolean enable); + void (*setAnalyzerConfig)(Ark_NativePointer node, + const Ark_ImageAnalyzerConfig* config); } GENERATED_ArkUIVideoModifier; typedef struct GENERATED_ArkUIWebModifier { - void (*_setWebOptions)(Ark_NativePointer node, const Ark_WebOptions* value); - void (*setJavaScriptAccess)(Ark_NativePointer node, Ark_Boolean javaScriptAccess); - void (*setFileAccess)(Ark_NativePointer node, Ark_Boolean fileAccess); - void (*setOnlineImageAccess)(Ark_NativePointer node, Ark_Boolean onlineImageAccess); - void (*setDomStorageAccess)(Ark_NativePointer node, Ark_Boolean domStorageAccess); - void (*setImageAccess)(Ark_NativePointer node, Ark_Boolean imageAccess); - void (*setMixedMode)(Ark_NativePointer node, Ark_Int32 mixedMode); - void (*setZoomAccess)(Ark_NativePointer node, Ark_Boolean zoomAccess); - void (*setGeolocationAccess)(Ark_NativePointer node, Ark_Boolean geolocationAccess); - void (*setJavaScriptProxy)(Ark_NativePointer node, const Ark_JavaScriptProxy* javaScriptProxy); - void (*setPassword)(Ark_NativePointer node, Ark_Boolean password); - void (*setCacheMode)(Ark_NativePointer node, Ark_Int32 cacheMode); - void (*setDarkMode)(Ark_NativePointer node, Ark_Int32 mode); - void (*setForceDarkAccess)(Ark_NativePointer node, Ark_Boolean access); - void (*setMediaOptions)(Ark_NativePointer node, const Ark_WebMediaOptions* options); - void (*setTableData)(Ark_NativePointer node, Ark_Boolean tableData); - void (*setWideViewModeAccess)(Ark_NativePointer node, Ark_Boolean wideViewModeAccess); - void (*setOverviewModeAccess)(Ark_NativePointer node, Ark_Boolean overviewModeAccess); - void (*setOverScrollMode)(Ark_NativePointer node, Ark_Int32 mode); - void (*setTextZoomAtio)(Ark_NativePointer node, const Ark_Number* textZoomAtio); - void (*setTextZoomRatio)(Ark_NativePointer node, const Ark_Number* textZoomRatio); - void (*setDatabaseAccess)(Ark_NativePointer node, Ark_Boolean databaseAccess); - void (*setInitialScale)(Ark_NativePointer node, const Ark_Number* percent); - void (*setUserAgent)(Ark_NativePointer node, const Ark_String* userAgent); - void (*setMetaViewport)(Ark_NativePointer node, Ark_Boolean enabled); - void (*setOnPageEnd)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPageBegin)(Ark_NativePointer node, Ark_Function callback); - void (*setOnProgressChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnTitleReceive)(Ark_NativePointer node, Ark_Function callback); - void (*setOnGeolocationHide)(Ark_NativePointer node, Ark_Function callback); - void (*setOnGeolocationShow)(Ark_NativePointer node, Ark_Function callback); - void (*setOnRequestSelected)(Ark_NativePointer node, Ark_Function callback); - void (*setOnAlert)(Ark_NativePointer node, Ark_Function callback); - void (*setOnBeforeUnload)(Ark_NativePointer node, Ark_Function callback); - void (*setOnConfirm)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPrompt)(Ark_NativePointer node, Ark_Function callback); - void (*setOnConsole)(Ark_NativePointer node, Ark_Function callback); - void (*setOnErrorReceive)(Ark_NativePointer node, Ark_Function callback); - void (*setOnHttpErrorReceive)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDownloadStart)(Ark_NativePointer node, Ark_Function callback); - void (*setOnRefreshAccessedHistory)(Ark_NativePointer node, Ark_Function callback); - void (*setOnUrlLoadIntercept)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSslErrorReceive)(Ark_NativePointer node, Ark_Function callback); - void (*setOnRenderExited_CallbackOnRenderExitedEvent)(Ark_NativePointer node, Ark_Function callback); - void (*setOnShowFileSelector)(Ark_NativePointer node, Ark_Function callback); - void (*setOnRenderExited_eventdetailObjectboolean)(Ark_NativePointer node, Ark_Function callback); - void (*setOnFileSelectorShow)(Ark_NativePointer node, Ark_Function callback); - void (*setOnResourceLoad)(Ark_NativePointer node, Ark_Function callback); - void (*setOnFullScreenExit)(Ark_NativePointer node, Ark_Function callback); - void (*setOnFullScreenEnter)(Ark_NativePointer node, Ark_Function callback); - void (*setOnScaleChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnHttpAuthRequest)(Ark_NativePointer node, Ark_Function callback); - void (*setOnInterceptRequest)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPermissionRequest)(Ark_NativePointer node, Ark_Function callback); - void (*setOnScreenCaptureRequest)(Ark_NativePointer node, Ark_Function callback); - void (*setOnContextMenuShow)(Ark_NativePointer node, Ark_Function callback); - void (*setOnContextMenuHide)(Ark_NativePointer node, Ark_Function callback); - void (*setMediaPlayGestureAccess)(Ark_NativePointer node, Ark_Boolean access); - void (*setOnSearchResultReceive)(Ark_NativePointer node, Ark_Function callback); - void (*setOnScroll)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSslErrorEventReceive)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSslErrorEvent)(Ark_NativePointer node, Ark_Function callback); - void (*setOnClientAuthenticationRequest)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWindowNew)(Ark_NativePointer node, Ark_Function callback); - void (*setOnWindowExit)(Ark_NativePointer node, Ark_Function callback); - void (*setMultiWindowAccess)(Ark_NativePointer node, Ark_Boolean multiWindow); - void (*setOnInterceptKeyEvent)(Ark_NativePointer node, Ark_Function callback); - void (*setWebStandardFont)(Ark_NativePointer node, const Ark_String* family); - void (*setWebSerifFont)(Ark_NativePointer node, const Ark_String* family); - void (*setWebSansSerifFont)(Ark_NativePointer node, const Ark_String* family); - void (*setWebFixedFont)(Ark_NativePointer node, const Ark_String* family); - void (*setWebFantasyFont)(Ark_NativePointer node, const Ark_String* family); - void (*setWebCursiveFont)(Ark_NativePointer node, const Ark_String* family); - void (*setDefaultFixedFontSize)(Ark_NativePointer node, const Ark_Number* size); - void (*setDefaultFontSize)(Ark_NativePointer node, const Ark_Number* size); - void (*setMinFontSize)(Ark_NativePointer node, const Ark_Number* size); - void (*setMinLogicalFontSize)(Ark_NativePointer node, const Ark_Number* size); - void (*setDefaultTextEncodingFormat)(Ark_NativePointer node, const Ark_String* textEncodingFormat); - void (*setForceDisplayScrollBar)(Ark_NativePointer node, Ark_Boolean enabled); - void (*setBlockNetwork)(Ark_NativePointer node, Ark_Boolean block); - void (*setHorizontalScrollBarAccess)(Ark_NativePointer node, Ark_Boolean horizontalScrollBar); - void (*setVerticalScrollBarAccess)(Ark_NativePointer node, Ark_Boolean verticalScrollBar); - void (*setOnTouchIconUrlReceived)(Ark_NativePointer node, Ark_Function callback); - void (*setOnFaviconReceived)(Ark_NativePointer node, Ark_Function callback); - void (*setOnPageVisible)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDataResubmitted)(Ark_NativePointer node, Ark_Function callback); - void (*setPinchSmooth)(Ark_NativePointer node, Ark_Boolean isEnabled); - void (*setAllowWindowOpenMethod)(Ark_NativePointer node, Ark_Boolean flag); - void (*setOnAudioStateChanged)(Ark_NativePointer node, Ark_Function callback); - void (*setOnFirstContentfulPaint)(Ark_NativePointer node, Ark_Function callback); - void (*setOnFirstMeaningfulPaint)(Ark_NativePointer node, Ark_Function callback); - void (*setOnLargestContentfulPaint)(Ark_NativePointer node, Ark_Function callback); - void (*setOnLoadIntercept)(Ark_NativePointer node, Ark_Function callback); - void (*setOnControllerAttached)(Ark_NativePointer node, Ark_Function callback); - void (*setOnOverScroll)(Ark_NativePointer node, Ark_Function callback); - void (*setOnSafeBrowsingCheckResult)(Ark_NativePointer node, Ark_Function callback); - void (*setOnNavigationEntryCommitted)(Ark_NativePointer node, Ark_Function callback); - void (*setOnIntelligentTrackingPreventionResult)(Ark_NativePointer node, Ark_Function callback); - void (*setJavaScriptOnDocumentStart)(Ark_NativePointer node, const Array_ScriptItem* scripts); - void (*setJavaScriptOnDocumentEnd)(Ark_NativePointer node, const Array_ScriptItem* scripts); - void (*setLayoutMode)(Ark_NativePointer node, Ark_Int32 mode); - void (*setNestedScroll)(Ark_NativePointer node, const Ark_NestedScrollOptions* value); - void (*setEnableNativeEmbedMode)(Ark_NativePointer node, Ark_Boolean mode); - void (*setRegisterNativeEmbedRule)(Ark_NativePointer node, const Ark_String* tag, const Ark_String* type); - void (*setOnNativeEmbedLifecycleChange)(Ark_NativePointer node, Ark_Function callback); - void (*setOnNativeEmbedGestureEvent)(Ark_NativePointer node, Ark_Function callback); - void (*setCopyOptions)(Ark_NativePointer node, Ark_Int32 value); - void (*setOnOverrideUrlLoading)(Ark_NativePointer node, Ark_Function callback); - void (*setTextAutosizing)(Ark_NativePointer node, Ark_Boolean textAutosizing); - void (*setEnableNativeMediaPlayer)(Ark_NativePointer node, const Ark_NativeMediaPlayerConfig* config); - void (*setEnableSmoothDragResize)(Ark_NativePointer node, Ark_Boolean mode); - void (*setOnRenderProcessNotResponding)(Ark_NativePointer node, Ark_Function callback); - void (*setOnRenderProcessResponding)(Ark_NativePointer node, Ark_Function callback); - void (*setSelectionMenuOptions)(Ark_NativePointer node, const Array_ExpandedMenuItemOptions* expandedMenuOptions); - void (*setOnViewportFitChanged)(Ark_NativePointer node, Ark_Function callback); - void (*setOnInterceptKeyboardAttach)(Ark_NativePointer node, Ark_Function callback); - void (*setOnAdsBlocked)(Ark_NativePointer node, Ark_Function callback); - void (*setKeyboardAvoidMode)(Ark_NativePointer node, Ark_Int32 mode); + void (*setWebOptions)(Ark_NativePointer node, + const Ark_WebOptions* value); + void (*setJavaScriptAccess)(Ark_NativePointer node, + Ark_Boolean javaScriptAccess); + void (*setFileAccess)(Ark_NativePointer node, + Ark_Boolean fileAccess); + void (*setOnlineImageAccess)(Ark_NativePointer node, + Ark_Boolean onlineImageAccess); + void (*setDomStorageAccess)(Ark_NativePointer node, + Ark_Boolean domStorageAccess); + void (*setImageAccess)(Ark_NativePointer node, + Ark_Boolean imageAccess); + void (*setMixedMode)(Ark_NativePointer node, + Ark_Int32 mixedMode); + void (*setZoomAccess)(Ark_NativePointer node, + Ark_Boolean zoomAccess); + void (*setGeolocationAccess)(Ark_NativePointer node, + Ark_Boolean geolocationAccess); + void (*setJavaScriptProxy)(Ark_NativePointer node, + const Ark_JavaScriptProxy* javaScriptProxy); + void (*setPassword)(Ark_NativePointer node, + Ark_Boolean password); + void (*setCacheMode)(Ark_NativePointer node, + Ark_Int32 cacheMode); + void (*setDarkMode)(Ark_NativePointer node, + Ark_Int32 mode); + void (*setForceDarkAccess)(Ark_NativePointer node, + Ark_Boolean access); + void (*setMediaOptions)(Ark_NativePointer node, + const Ark_WebMediaOptions* options); + void (*setTableData)(Ark_NativePointer node, + Ark_Boolean tableData); + void (*setWideViewModeAccess)(Ark_NativePointer node, + Ark_Boolean wideViewModeAccess); + void (*setOverviewModeAccess)(Ark_NativePointer node, + Ark_Boolean overviewModeAccess); + void (*setOverScrollMode)(Ark_NativePointer node, + Ark_Int32 mode); + void (*setTextZoomAtio)(Ark_NativePointer node, + const Ark_Number* textZoomAtio); + void (*setTextZoomRatio)(Ark_NativePointer node, + const Ark_Number* textZoomRatio); + void (*setDatabaseAccess)(Ark_NativePointer node, + Ark_Boolean databaseAccess); + void (*setInitialScale)(Ark_NativePointer node, + const Ark_Number* percent); + void (*setUserAgent)(Ark_NativePointer node, + const Ark_String* userAgent); + void (*setMetaViewport)(Ark_NativePointer node, + Ark_Boolean enabled); + void (*setOnPageEnd)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPageBegin)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnProgressChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnTitleReceive)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnGeolocationHide)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnGeolocationShow)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnRequestSelected)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnAlert)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnBeforeUnload)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnConfirm)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPrompt)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnConsole)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnErrorReceive)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnHttpErrorReceive)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDownloadStart)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnRefreshAccessedHistory)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnUrlLoadIntercept)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSslErrorReceive)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnRenderExited0)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnShowFileSelector)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnRenderExited1)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnFileSelectorShow)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnResourceLoad)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnFullScreenExit)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnFullScreenEnter)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnScaleChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnHttpAuthRequest)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnInterceptRequest)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPermissionRequest)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnScreenCaptureRequest)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnContextMenuShow)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnContextMenuHide)(Ark_NativePointer node, + Ark_Function callback); + void (*setMediaPlayGestureAccess)(Ark_NativePointer node, + Ark_Boolean access); + void (*setOnSearchResultReceive)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnScroll)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSslErrorEventReceive)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSslErrorEvent)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnClientAuthenticationRequest)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWindowNew)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnWindowExit)(Ark_NativePointer node, + Ark_Function callback); + void (*setMultiWindowAccess)(Ark_NativePointer node, + Ark_Boolean multiWindow); + void (*setOnInterceptKeyEvent)(Ark_NativePointer node, + Ark_Function callback); + void (*setWebStandardFont)(Ark_NativePointer node, + const Ark_String* family); + void (*setWebSerifFont)(Ark_NativePointer node, + const Ark_String* family); + void (*setWebSansSerifFont)(Ark_NativePointer node, + const Ark_String* family); + void (*setWebFixedFont)(Ark_NativePointer node, + const Ark_String* family); + void (*setWebFantasyFont)(Ark_NativePointer node, + const Ark_String* family); + void (*setWebCursiveFont)(Ark_NativePointer node, + const Ark_String* family); + void (*setDefaultFixedFontSize)(Ark_NativePointer node, + const Ark_Number* size); + void (*setDefaultFontSize)(Ark_NativePointer node, + const Ark_Number* size); + void (*setMinFontSize)(Ark_NativePointer node, + const Ark_Number* size); + void (*setMinLogicalFontSize)(Ark_NativePointer node, + const Ark_Number* size); + void (*setDefaultTextEncodingFormat)(Ark_NativePointer node, + const Ark_String* textEncodingFormat); + void (*setForceDisplayScrollBar)(Ark_NativePointer node, + Ark_Boolean enabled); + void (*setBlockNetwork)(Ark_NativePointer node, + Ark_Boolean block); + void (*setHorizontalScrollBarAccess)(Ark_NativePointer node, + Ark_Boolean horizontalScrollBar); + void (*setVerticalScrollBarAccess)(Ark_NativePointer node, + Ark_Boolean verticalScrollBar); + void (*setOnTouchIconUrlReceived)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnFaviconReceived)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnPageVisible)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDataResubmitted)(Ark_NativePointer node, + Ark_Function callback); + void (*setPinchSmooth)(Ark_NativePointer node, + Ark_Boolean isEnabled); + void (*setAllowWindowOpenMethod)(Ark_NativePointer node, + Ark_Boolean flag); + void (*setOnAudioStateChanged)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnFirstContentfulPaint)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnFirstMeaningfulPaint)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnLargestContentfulPaint)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnLoadIntercept)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnControllerAttached)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnOverScroll)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnSafeBrowsingCheckResult)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnNavigationEntryCommitted)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnIntelligentTrackingPreventionResult)(Ark_NativePointer node, + Ark_Function callback); + void (*setJavaScriptOnDocumentStart)(Ark_NativePointer node, + const Array_ScriptItem* scripts); + void (*setJavaScriptOnDocumentEnd)(Ark_NativePointer node, + const Array_ScriptItem* scripts); + void (*setLayoutMode)(Ark_NativePointer node, + Ark_Int32 mode); + void (*setNestedScroll)(Ark_NativePointer node, + const Ark_NestedScrollOptions* value); + void (*setEnableNativeEmbedMode)(Ark_NativePointer node, + Ark_Boolean mode); + void (*setRegisterNativeEmbedRule)(Ark_NativePointer node, + const Ark_String* tag, + const Ark_String* type); + void (*setOnNativeEmbedLifecycleChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnNativeEmbedGestureEvent)(Ark_NativePointer node, + Ark_Function callback); + void (*setCopyOptions)(Ark_NativePointer node, + Ark_Int32 value); + void (*setOnOverrideUrlLoading)(Ark_NativePointer node, + Ark_Function callback); + void (*setTextAutosizing)(Ark_NativePointer node, + Ark_Boolean textAutosizing); + void (*setEnableNativeMediaPlayer)(Ark_NativePointer node, + const Ark_NativeMediaPlayerConfig* config); + void (*setEnableSmoothDragResize)(Ark_NativePointer node, + Ark_Boolean mode); + void (*setOnRenderProcessNotResponding)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnRenderProcessResponding)(Ark_NativePointer node, + Ark_Function callback); + void (*setSelectionMenuOptions)(Ark_NativePointer node, + const Array_ExpandedMenuItemOptions* expandedMenuOptions); + void (*setOnViewportFitChanged)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnInterceptKeyboardAttach)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnAdsBlocked)(Ark_NativePointer node, + Ark_Function callback); + void (*setKeyboardAvoidMode)(Ark_NativePointer node, + Ark_Int32 mode); } GENERATED_ArkUIWebModifier; typedef struct GENERATED_ArkUIWindowSceneModifier { - void (*_setWindowSceneOptions)(Ark_NativePointer node, const Ark_Number* persistentId); - void (*setAttractionEffect)(Ark_NativePointer node, const Ark_Position* destination, const Ark_Number* fraction); + void (*setWindowSceneOptions)(Ark_NativePointer node, + const Ark_Number* persistentId); + void (*setAttractionEffect)(Ark_NativePointer node, + const Ark_Position* destination, + const Ark_Number* fraction); } GENERATED_ArkUIWindowSceneModifier; typedef struct GENERATED_ArkUIXComponentModifier { - void (*_setXComponentOptions_idstringtypestringlibrarynamestringcontrollerXComponentController)(Ark_NativePointer node, const Type_XComponentInterface__setXComponentOptions_Arg0* value); - void (*_setXComponentOptions_idstringtypeXComponentTypelibrarynamestringcontrollerXComponentController)(Ark_NativePointer node, const Type_XComponentInterface__setXComponentOptions1_Arg0* value); - void (*_setXComponentOptions_XComponentOptions)(Ark_NativePointer node, const Ark_XComponentOptions* options); - void (*setOnLoad)(Ark_NativePointer node, Ark_Function callback); - void (*setOnDestroy)(Ark_NativePointer node, Ark_Function event); - void (*setEnableAnalyzer)(Ark_NativePointer node, Ark_Boolean enable); + void (*setXComponentOptions0)(Ark_NativePointer node, + const Type_XComponentInterface_setXComponentOptions_Arg0* value); + void (*setXComponentOptions1)(Ark_NativePointer node, + const Type_XComponentInterface_setXComponentOptions1_Arg0* value); + void (*setXComponentOptions2)(Ark_NativePointer node, + const Ark_XComponentOptions* options); + void (*setOnLoad)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnDestroy)(Ark_NativePointer node, + Ark_Function event); + void (*setEnableAnalyzer)(Ark_NativePointer node, + Ark_Boolean enable); } GENERATED_ArkUIXComponentModifier; typedef struct GENERATED_ArkUISideBarContainerModifier { - void (*_setSideBarContainerOptions)(Ark_NativePointer node, const Opt_SideBarContainerType* type); - void (*setShowSideBar)(Ark_NativePointer node, Ark_Boolean value); - void (*setControlButton)(Ark_NativePointer node, const Ark_ButtonStyle* value); - void (*setShowControlButton)(Ark_NativePointer node, Ark_Boolean value); - void (*setOnChange)(Ark_NativePointer node, Ark_Function callback); - void (*setSideBarWidth_number)(Ark_NativePointer node, const Ark_Number* value); - void (*setMinSideBarWidth_number)(Ark_NativePointer node, const Ark_Number* value); - void (*setMaxSideBarWidth_number)(Ark_NativePointer node, const Ark_Number* value); - void (*setSideBarWidth_Length)(Ark_NativePointer node, const Ark_Length* value); - void (*setMinSideBarWidth_Length)(Ark_NativePointer node, const Ark_Length* value); - void (*setMaxSideBarWidth_Length)(Ark_NativePointer node, const Ark_Length* value); - void (*setAutoHide)(Ark_NativePointer node, Ark_Boolean value); - void (*setSideBarPosition)(Ark_NativePointer node, Ark_Int32 value); - void (*setDivider)(Ark_NativePointer node, const Type_SideBarContainerAttribute_divider_Arg0* value); - void (*setMinContentWidth)(Ark_NativePointer node, const Ark_Length* value); + void (*setSideBarContainerOptions)(Ark_NativePointer node, + const Opt_SideBarContainerType* type); + void (*setShowSideBar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setControlButton)(Ark_NativePointer node, + const Ark_ButtonStyle* value); + void (*setShowControlButton)(Ark_NativePointer node, + Ark_Boolean value); + void (*setOnChange)(Ark_NativePointer node, + Ark_Function callback); + void (*setSideBarWidth0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setMinSideBarWidth0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setMaxSideBarWidth0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setSideBarWidth1)(Ark_NativePointer node, + const Ark_Length* value); + void (*setMinSideBarWidth1)(Ark_NativePointer node, + const Ark_Length* value); + void (*setMaxSideBarWidth1)(Ark_NativePointer node, + const Ark_Length* value); + void (*setAutoHide)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSideBarPosition)(Ark_NativePointer node, + Ark_Int32 value); + void (*setDivider)(Ark_NativePointer node, + const Type_SideBarContainerAttribute_divider_Arg0* value); + void (*setMinContentWidth)(Ark_NativePointer node, + const Ark_Length* value); } GENERATED_ArkUISideBarContainerModifier; typedef struct GENERATED_ArkUIRemoteWindowModifier { - void (*_setRemoteWindowOptions)(Ark_NativePointer node, const Ark_WindowAnimationTarget* target); + void (*setRemoteWindowOptions)(Ark_NativePointer node, + const Ark_WindowAnimationTarget* target); } GENERATED_ArkUIRemoteWindowModifier; typedef struct GENERATED_ArkUIWaterFlowModifier { - void (*_setWaterFlowOptions)(Ark_NativePointer node, const Opt_WaterFlowOptions* options); - void (*setColumnsTemplate)(Ark_NativePointer node, const Ark_String* value); - void (*setItemConstraintSize)(Ark_NativePointer node, const Ark_ConstraintSizeOptions* value); - void (*setRowsTemplate)(Ark_NativePointer node, const Ark_String* value); - void (*setColumnsGap)(Ark_NativePointer node, const Ark_Length* value); - void (*setRowsGap)(Ark_NativePointer node, const Ark_Length* value); - void (*setLayoutDirection)(Ark_NativePointer node, Ark_Int32 value); - void (*setNestedScroll)(Ark_NativePointer node, const Ark_NestedScrollOptions* value); - void (*setEnableScrollInteraction)(Ark_NativePointer node, Ark_Boolean value); - void (*setFriction)(Ark_NativePointer node, const Type_WaterFlowAttribute_friction_Arg0* value); - void (*setCachedCount)(Ark_NativePointer node, const Ark_Number* value); - void (*setOnReachStart)(Ark_NativePointer node, Ark_Function event); - void (*setOnReachEnd)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollFrameBegin)(Ark_NativePointer node, Ark_Function event); - void (*setOnScrollIndex)(Ark_NativePointer node, Ark_Function event); + void (*setWaterFlowOptions)(Ark_NativePointer node, + const Opt_WaterFlowOptions* options); + void (*setColumnsTemplate)(Ark_NativePointer node, + const Ark_String* value); + void (*setItemConstraintSize)(Ark_NativePointer node, + const Ark_ConstraintSizeOptions* value); + void (*setRowsTemplate)(Ark_NativePointer node, + const Ark_String* value); + void (*setColumnsGap)(Ark_NativePointer node, + const Ark_Length* value); + void (*setRowsGap)(Ark_NativePointer node, + const Ark_Length* value); + void (*setLayoutDirection)(Ark_NativePointer node, + Ark_Int32 value); + void (*setNestedScroll)(Ark_NativePointer node, + const Ark_NestedScrollOptions* value); + void (*setEnableScrollInteraction)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFriction)(Ark_NativePointer node, + const Type_WaterFlowAttribute_friction_Arg0* value); + void (*setCachedCount)(Ark_NativePointer node, + const Ark_Number* value); + void (*setOnReachStart)(Ark_NativePointer node, + Ark_Function event); + void (*setOnReachEnd)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollFrameBegin)(Ark_NativePointer node, + Ark_Function event); + void (*setOnScrollIndex)(Ark_NativePointer node, + Ark_Function event); } GENERATED_ArkUIWaterFlowModifier; typedef struct GENERATED_ArkUIUIExtensionComponentModifier { - void (*_setUIExtensionComponentOptions)(Ark_NativePointer node, const Ark_CustomObject* want, const Opt_UIExtensionOptions* options); - void (*setOnRemoteReady)(Ark_NativePointer node, Ark_Function callback); - void (*setOnReceive)(Ark_NativePointer node, Ark_Function callback); - void (*setOnResult)(Ark_NativePointer node, Ark_Function callback); - void (*setOnRelease)(Ark_NativePointer node, Ark_Function callback); - void (*setOnError)(Ark_NativePointer node, const Ark_CustomObject* callback); - void (*setOnTerminated)(Ark_NativePointer node, Ark_Function callback); + void (*setUIExtensionComponentOptions)(Ark_NativePointer node, + const Ark_CustomObject* want, + const Opt_UIExtensionOptions* options); + void (*setOnRemoteReady)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnReceive)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnResult)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnRelease)(Ark_NativePointer node, + Ark_Function callback); + void (*setOnError)(Ark_NativePointer node, + const Ark_CustomObject* callback); + void (*setOnTerminated)(Ark_NativePointer node, + Ark_Function callback); } GENERATED_ArkUIUIExtensionComponentModifier; typedef struct GENERATED_ArkUILinearIndicatorModifier { - void (*_setLinearIndicatorOptions)(Ark_NativePointer node, const Opt_Number* count, const Opt_LinearIndicatorController* controller); - void (*setIndicatorStyle)(Ark_NativePointer node, const Opt_LinearIndicatorStyle* style); - void (*setIndicatorLoop)(Ark_NativePointer node, const Opt_Boolean* loop); - void (*setOnChange)(Ark_NativePointer node, const Opt_Function* callback); + void (*setLinearIndicatorOptions)(Ark_NativePointer node, + const Opt_Number* count, + const Opt_LinearIndicatorController* controller); + void (*setIndicatorStyle)(Ark_NativePointer node, + const Opt_LinearIndicatorStyle* style); + void (*setIndicatorLoop)(Ark_NativePointer node, + const Opt_Boolean* loop); + void (*setOnChange)(Ark_NativePointer node, + const Opt_Function* callback); } GENERATED_ArkUILinearIndicatorModifier; // Accessors @@ -9554,9 +11797,16 @@ typedef struct GENERATED_ArkUIDrawModifierAccessor { void (*invalidate)(DrawModifierPeer* peer); } GENERATED_ArkUIDrawModifierAccessor; +typedef struct ICurvePeer ICurvePeer; +typedef struct GENERATED_ArkUIICurveAccessor { + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Int32 (*interpolate)(ICurvePeer* peer, const Ark_Number* fraction); +} GENERATED_ArkUIICurveAccessor; + typedef struct PanGestureOptionsPeer PanGestureOptionsPeer; typedef struct GENERATED_ArkUIPanGestureOptionsAccessor { - Ark_NativePointer (*ctor)(const Opt_Literal_fingers_Opt_Number_direction_PanDirection_distance_Opt_Number* value); + Ark_NativePointer (*ctor)(const Opt_Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction* value); Ark_NativePointer (*getFinalizer)(); void (*setDirection)(PanGestureOptionsPeer* peer, Ark_Int32 value); void (*setDistance)(PanGestureOptionsPeer* peer, const Ark_Number* value); @@ -9623,7 +11873,7 @@ typedef struct GENERATED_ArkUICalendarControllerAccessor { Ark_NativePointer (*ctor)(); Ark_NativePointer (*getFinalizer)(); void (*backToToday)(CalendarControllerPeer* peer); - void (*goTo)(CalendarControllerPeer* peer, const Literal_year_Number_month_Number_day_Number* value); + void (*goTo)(CalendarControllerPeer* peer, const Literal_Number_year_month_day* value); } GENERATED_ArkUICalendarControllerAccessor; typedef struct CanvasRenderingContext2DPeer CanvasRenderingContext2DPeer; @@ -9641,26 +11891,26 @@ typedef struct CanvasRendererPeer CanvasRendererPeer; typedef struct GENERATED_ArkUICanvasRendererAccessor { Ark_NativePointer (*ctor)(); Ark_NativePointer (*getFinalizer)(); - void (*drawImage_ImageBitmapPixelMap_number_number)(CanvasRendererPeer* peer, const Union_ImageBitmap_PixelMap* image, const Ark_Number* dx, const Ark_Number* dy); - void (*drawImage_ImageBitmapPixelMap_number_number_number_number)(CanvasRendererPeer* peer, const Union_ImageBitmap_PixelMap* image, const Ark_Number* dx, const Ark_Number* dy, const Ark_Number* dw, const Ark_Number* dh); - void (*drawImage_ImageBitmapPixelMap_number_number_number_number_number_number_number_number)(CanvasRendererPeer* peer, const Union_ImageBitmap_PixelMap* image, const Ark_Number* sx, const Ark_Number* sy, const Ark_Number* sw, const Ark_Number* sh, const Ark_Number* dx, const Ark_Number* dy, const Ark_Number* dw, const Ark_Number* dh); + void (*drawImage0)(CanvasRendererPeer* peer, const Union_ImageBitmap_PixelMap* image, const Ark_Number* dx, const Ark_Number* dy); + void (*drawImage1)(CanvasRendererPeer* peer, const Union_ImageBitmap_PixelMap* image, const Ark_Number* dx, const Ark_Number* dy, const Ark_Number* dw, const Ark_Number* dh); + void (*drawImage2)(CanvasRendererPeer* peer, const Union_ImageBitmap_PixelMap* image, const Ark_Number* sx, const Ark_Number* sy, const Ark_Number* sw, const Ark_Number* sh, const Ark_Number* dx, const Ark_Number* dy, const Ark_Number* dw, const Ark_Number* dh); void (*beginPath)(CanvasRendererPeer* peer); - void (*clip_CanvasFillRule)(CanvasRendererPeer* peer, const Opt_CanvasFillRule* fillRule); - void (*clip_PathD_CanvasFillRule)(CanvasRendererPeer* peer, const Ark_Materialized* path, const Opt_CanvasFillRule* fillRule); - void (*fill_CanvasFillRule)(CanvasRendererPeer* peer, const Opt_CanvasFillRule* fillRule); - void (*fill_PathD_CanvasFillRule)(CanvasRendererPeer* peer, const Ark_Materialized* path, const Opt_CanvasFillRule* fillRule); - void (*stroke_)(CanvasRendererPeer* peer); - void (*stroke_PathD)(CanvasRendererPeer* peer, const Ark_Materialized* path); + void (*clip0)(CanvasRendererPeer* peer, const Opt_CanvasFillRule* fillRule); + void (*clip1)(CanvasRendererPeer* peer, const Ark_Materialized* path, const Opt_CanvasFillRule* fillRule); + void (*fill0)(CanvasRendererPeer* peer, const Opt_CanvasFillRule* fillRule); + void (*fill1)(CanvasRendererPeer* peer, const Ark_Materialized* path, const Opt_CanvasFillRule* fillRule); + void (*stroke0)(CanvasRendererPeer* peer); + void (*stroke1)(CanvasRendererPeer* peer, const Ark_Materialized* path); Ark_NativePointer (*createLinearGradient)(CanvasRendererPeer* peer, const Ark_Number* x0, const Ark_Number* y0, const Ark_Number* x1, const Ark_Number* y1); Ark_NativePointer (*createPattern)(CanvasRendererPeer* peer, const Ark_Materialized* image, const Union_String_Ark_Undefined* repetition); Ark_NativePointer (*createRadialGradient)(CanvasRendererPeer* peer, const Ark_Number* x0, const Ark_Number* y0, const Ark_Number* r0, const Ark_Number* x1, const Ark_Number* y1, const Ark_Number* r1); Ark_NativePointer (*createConicGradient)(CanvasRendererPeer* peer, const Ark_Number* startAngle, const Ark_Number* x, const Ark_Number* y); - Ark_NativePointer (*createImageData_number_number)(CanvasRendererPeer* peer, const Ark_Number* sw, const Ark_Number* sh); - Ark_NativePointer (*createImageData_ImageData)(CanvasRendererPeer* peer, const Ark_ImageData* imagedata); + Ark_NativePointer (*createImageData0)(CanvasRendererPeer* peer, const Ark_Number* sw, const Ark_Number* sh); + Ark_NativePointer (*createImageData1)(CanvasRendererPeer* peer, const Ark_ImageData* imagedata); Ark_NativePointer (*getImageData)(CanvasRendererPeer* peer, const Ark_Number* sx, const Ark_Number* sy, const Ark_Number* sw, const Ark_Number* sh); Ark_NativePointer (*getPixelMap)(CanvasRendererPeer* peer, const Ark_Number* sx, const Ark_Number* sy, const Ark_Number* sw, const Ark_Number* sh); - void (*putImageData_ImageData_numberstring_numberstring)(CanvasRendererPeer* peer, const Ark_ImageData* imagedata, const Union_Number_String* dx, const Union_Number_String* dy); - void (*putImageData_ImageData_numberstring_numberstring_numberstring_numberstring_numberstring_numberstring)(CanvasRendererPeer* peer, const Ark_ImageData* imagedata, const Union_Number_String* dx, const Union_Number_String* dy, const Union_Number_String* dirtyX, const Union_Number_String* dirtyY, const Union_Number_String* dirtyWidth, const Union_Number_String* dirtyHeight); + void (*putImageData0)(CanvasRendererPeer* peer, const Ark_ImageData* imagedata, const Union_Number_String* dx, const Union_Number_String* dy); + void (*putImageData1)(CanvasRendererPeer* peer, const Ark_ImageData* imagedata, const Union_Number_String* dx, const Union_Number_String* dy, const Union_Number_String* dirtyX, const Union_Number_String* dirtyY, const Union_Number_String* dirtyWidth, const Union_Number_String* dirtyHeight); void (*getLineDash)(CanvasRendererPeer* peer); void (*setLineDash)(CanvasRendererPeer* peer, const Array_Number* segments); void (*clearRect)(CanvasRendererPeer* peer, const Ark_Number* x, const Ark_Number* y, const Ark_Number* w, const Ark_Number* h); @@ -9675,8 +11925,8 @@ typedef struct GENERATED_ArkUICanvasRendererAccessor { void (*resetTransform)(CanvasRendererPeer* peer); void (*rotate)(CanvasRendererPeer* peer, const Ark_Number* angle); void (*scale)(CanvasRendererPeer* peer, const Ark_Number* x, const Ark_Number* y); - void (*setTransform_number_number_number_number_number_number)(CanvasRendererPeer* peer, const Ark_Number* a, const Ark_Number* b, const Ark_Number* c, const Ark_Number* d, const Ark_Number* e, const Ark_Number* f); - void (*setTransform_MatrixD)(CanvasRendererPeer* peer, const Opt_Matrix2D* transform); + void (*setTransform0)(CanvasRendererPeer* peer, const Ark_Number* a, const Ark_Number* b, const Ark_Number* c, const Ark_Number* d, const Ark_Number* e, const Ark_Number* f); + void (*setTransform1)(CanvasRendererPeer* peer, const Opt_Matrix2D* transform); void (*transform)(CanvasRendererPeer* peer, const Ark_Number* a, const Ark_Number* b, const Ark_Number* c, const Ark_Number* d, const Ark_Number* e, const Ark_Number* f); void (*translate)(CanvasRendererPeer* peer, const Ark_Number* x, const Ark_Number* y); void (*setPixelMap)(CanvasRendererPeer* peer, const Opt_PixelMap* value); @@ -9756,8 +12006,8 @@ typedef struct GENERATED_ArkUIMatrix2DAccessor { Ark_NativePointer (*identity)(Matrix2DPeer* peer); Ark_NativePointer (*invert)(Matrix2DPeer* peer); Ark_NativePointer (*multiply)(Matrix2DPeer* peer, const Opt_Matrix2D* other); - Ark_NativePointer (*rotate_number_number)(Matrix2DPeer* peer, const Opt_Number* rx, const Opt_Number* ry); - Ark_NativePointer (*rotate_number_number_number)(Matrix2DPeer* peer, const Ark_Number* degree, const Opt_Number* rx, const Opt_Number* ry); + Ark_NativePointer (*rotate0)(Matrix2DPeer* peer, const Opt_Number* rx, const Opt_Number* ry); + Ark_NativePointer (*rotate1)(Matrix2DPeer* peer, const Ark_Number* degree, const Opt_Number* rx, const Opt_Number* ry); Ark_NativePointer (*translate)(Matrix2DPeer* peer, const Opt_Number* tx, const Opt_Number* ty); Ark_NativePointer (*scale)(Matrix2DPeer* peer, const Opt_Number* sx, const Opt_Number* sy); Ark_Int32 (*getScaleX)(Matrix2DPeer* peer); @@ -9806,11 +12056,11 @@ typedef struct ScrollerPeer ScrollerPeer; typedef struct GENERATED_ArkUIScrollerAccessor { Ark_NativePointer (*ctor)(); Ark_NativePointer (*getFinalizer)(); - void (*scrollTo)(ScrollerPeer* peer, const Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_Opt_ScrollAnimationOptions_Opt_Boolean* value); + void (*scrollTo)(ScrollerPeer* peer, const Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation* value); void (*scrollEdge)(ScrollerPeer* peer, Ark_Int32 value, const Opt_ScrollEdgeOptions* options); void (*fling)(ScrollerPeer* peer, const Ark_Number* velocity); - void (*scrollPage_ScrollPageOptions)(ScrollerPeer* peer, const Ark_ScrollPageOptions* value); - void (*scrollPage_nextbooleandirectionAxis)(ScrollerPeer* peer, const Literal_next_Boolean_direction_Axis* value); + void (*scrollPage0)(ScrollerPeer* peer, const Ark_ScrollPageOptions* value); + void (*scrollPage1)(ScrollerPeer* peer, const Literal_Boolean_next_Opt_Axis_direction* value); Ark_NativePointer (*currentOffset)(ScrollerPeer* peer); void (*scrollToIndex)(ScrollerPeer* peer, const Ark_Number* value, const Opt_Boolean* smooth, const Opt_ScrollAlign* align, const Opt_ScrollToIndexOptions* options); void (*scrollBy)(ScrollerPeer* peer, const Ark_Length* dx, const Ark_Length* dy); @@ -9843,25 +12093,25 @@ typedef struct NavPathStackPeer NavPathStackPeer; typedef struct GENERATED_ArkUINavPathStackAccessor { Ark_NativePointer (*ctor)(); Ark_NativePointer (*getFinalizer)(); - void (*pushPath_NavPathInfo_boolean)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_Boolean* animated); - void (*pushPath_NavPathInfo_NavigationOptions)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_NavigationOptions* options); - Ark_NativePointer (*pushDestination_NavPathInfo_boolean)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_Boolean* animated); - Ark_NativePointer (*pushDestination_NavPathInfo_NavigationOptions)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_NavigationOptions* options); - void (*pushPathByName_string_unknown_boolean)(NavPathStackPeer* peer, const Ark_String* name, const Ark_CustomObject* param, const Opt_Boolean* animated); - void (*pushPathByName_string_Object_IMPORTCallbackPopInfoFROMapiohosbase_boolean)(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, Ark_Function onPop, const Opt_Boolean* animated); - Ark_NativePointer (*pushDestinationByName_string_Object_boolean)(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, const Opt_Boolean* animated); - Ark_NativePointer (*pushDestinationByName_string_Object_IMPORTCallbackPopInfoFROMapiohosbase_boolean)(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, Ark_Function onPop, const Opt_Boolean* animated); - void (*replacePath_NavPathInfo_boolean)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_Boolean* animated); - void (*replacePath_NavPathInfo_NavigationOptions)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_NavigationOptions* options); + void (*pushPath0)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_Boolean* animated); + void (*pushPath1)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_NavigationOptions* options); + Ark_NativePointer (*pushDestination0)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_Boolean* animated); + Ark_NativePointer (*pushDestination1)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_NavigationOptions* options); + void (*pushPathByName0)(NavPathStackPeer* peer, const Ark_String* name, const Ark_CustomObject* param, const Opt_Boolean* animated); + void (*pushPathByName1)(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, Ark_Function onPop, const Opt_Boolean* animated); + Ark_NativePointer (*pushDestinationByName0)(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, const Opt_Boolean* animated); + Ark_NativePointer (*pushDestinationByName1)(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, Ark_Function onPop, const Opt_Boolean* animated); + void (*replacePath0)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_Boolean* animated); + void (*replacePath1)(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_NavigationOptions* options); void (*replacePathByName)(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, const Opt_Boolean* animated); Ark_Int32 (*removeByIndexes)(NavPathStackPeer* peer, const Array_Number* indexes); Ark_Int32 (*removeByName)(NavPathStackPeer* peer, const Ark_String* name); - void (*pop_boolean)(NavPathStackPeer* peer, const Opt_Boolean* animated); - void (*pop_Object_boolean)(NavPathStackPeer* peer, const Ark_Object* result, const Opt_Boolean* animated); - Ark_Int32 (*popToName_string_boolean)(NavPathStackPeer* peer, const Ark_String* name, const Opt_Boolean* animated); - Ark_Int32 (*popToName_string_Object_boolean)(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* result, const Opt_Boolean* animated); - void (*popToIndex_number_boolean)(NavPathStackPeer* peer, const Ark_Number* index, const Opt_Boolean* animated); - void (*popToIndex_number_Object_boolean)(NavPathStackPeer* peer, const Ark_Number* index, const Ark_Object* result, const Opt_Boolean* animated); + void (*pop0)(NavPathStackPeer* peer, const Opt_Boolean* animated); + void (*pop1)(NavPathStackPeer* peer, const Ark_Object* result, const Opt_Boolean* animated); + Ark_Int32 (*popToName0)(NavPathStackPeer* peer, const Ark_String* name, const Opt_Boolean* animated); + Ark_Int32 (*popToName1)(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* result, const Opt_Boolean* animated); + void (*popToIndex0)(NavPathStackPeer* peer, const Ark_Number* index, const Opt_Boolean* animated); + void (*popToIndex1)(NavPathStackPeer* peer, const Ark_Number* index, const Ark_Object* result, const Opt_Boolean* animated); Ark_Int32 (*moveToTop)(NavPathStackPeer* peer, const Ark_String* name, const Opt_Boolean* animated); void (*moveIndexToTop)(NavPathStackPeer* peer, const Ark_Number* index, const Opt_Boolean* animated); void (*clear)(NavPathStackPeer* peer, const Opt_Boolean* animated); @@ -10132,10 +12382,10 @@ typedef struct GENERATED_ArkUIVideoControllerAccessor { void (*start)(VideoControllerPeer* peer); void (*pause)(VideoControllerPeer* peer); void (*stop)(VideoControllerPeer* peer); - void (*setCurrentTime_number)(VideoControllerPeer* peer, const Ark_Number* value); + void (*setCurrentTime0)(VideoControllerPeer* peer, const Ark_Number* value); void (*requestFullscreen)(VideoControllerPeer* peer, Ark_Boolean value); void (*exitFullscreen)(VideoControllerPeer* peer); - void (*setCurrentTime_number_SeekMode)(VideoControllerPeer* peer, const Ark_Number* value, Ark_Int32 seekMode); + void (*setCurrentTime1)(VideoControllerPeer* peer, const Ark_Number* value, Ark_Int32 seekMode); void (*reset)(VideoControllerPeer* peer); } GENERATED_ArkUIVideoControllerAccessor; @@ -10147,12 +12397,12 @@ typedef struct GENERATED_ArkUIWebControllerAccessor { void (*onActive)(WebControllerPeer* peer); void (*zoom)(WebControllerPeer* peer, const Ark_Number* factor); void (*clearHistory)(WebControllerPeer* peer); - void (*runJavaScript)(WebControllerPeer* peer, const Literal_script_String_callback_Opt_Function* options); - void (*loadData)(WebControllerPeer* peer, const Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String* options); - void (*loadUrl)(WebControllerPeer* peer, const Literal_url_Union_String_Resource_headers_Opt_Array_Header* options); + void (*runJavaScript)(WebControllerPeer* peer, const Literal_String_script_Opt_Function_callback* options); + void (*loadData)(WebControllerPeer* peer, const Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl* options); + void (*loadUrl)(WebControllerPeer* peer, const Literal_Union_String_Resource_url_Opt_Array_Header_headers* options); void (*refresh)(WebControllerPeer* peer); void (*stop)(WebControllerPeer* peer); - void (*registerJavaScriptProxy)(WebControllerPeer* peer, const Literal_object_CustomObject_name_String_methodList_Array_String* options); + void (*registerJavaScriptProxy)(WebControllerPeer* peer, const Literal_CustomObject_object_String_name_Array_String_methodList* options); void (*deleteJavaScriptRegister)(WebControllerPeer* peer, const Ark_String* name); Ark_NativePointer (*getHitTest)(WebControllerPeer* peer); void (*requestFocus)(WebControllerPeer* peer); @@ -10331,8 +12581,8 @@ typedef struct ClientAuthenticationHandlerPeer ClientAuthenticationHandlerPeer; typedef struct GENERATED_ArkUIClientAuthenticationHandlerAccessor { Ark_NativePointer (*ctor)(); Ark_NativePointer (*getFinalizer)(); - void (*confirm_string_string)(ClientAuthenticationHandlerPeer* peer, const Ark_String* priKeyFile, const Ark_String* certChainFile); - void (*confirm_string)(ClientAuthenticationHandlerPeer* peer, const Ark_String* authUri); + void (*confirm0)(ClientAuthenticationHandlerPeer* peer, const Ark_String* priKeyFile, const Ark_String* certChainFile); + void (*confirm1)(ClientAuthenticationHandlerPeer* peer, const Ark_String* authUri); void (*cancel)(ClientAuthenticationHandlerPeer* peer); void (*ignore)(ClientAuthenticationHandlerPeer* peer); } GENERATED_ArkUIClientAuthenticationHandlerAccessor; @@ -10376,7 +12626,7 @@ typedef struct GENERATED_ArkUIXComponentControllerAccessor { Ark_NativePointer (*getFinalizer)(); void (*getXComponentSurfaceId)(XComponentControllerPeer* peer); Ark_NativePointer (*getXComponentContext)(XComponentControllerPeer* peer); - void (*setXComponentSurfaceSize)(XComponentControllerPeer* peer, const Literal_surfaceWidth_Number_surfaceHeight_Number* value); + void (*setXComponentSurfaceSize)(XComponentControllerPeer* peer, const Literal_Number_surfaceWidth_surfaceHeight* value); void (*setXComponentSurfaceRect)(XComponentControllerPeer* peer, const Ark_SurfaceRect* rect); Ark_NativePointer (*getXComponentSurfaceRect)(XComponentControllerPeer* peer); void (*setXComponentSurfaceRotation)(XComponentControllerPeer* peer, const Ark_SurfaceRotationOptions* rotationOptions); @@ -10415,10 +12665,14 @@ typedef struct GENERATED_ArkUIAbilityComponentEventsReceiver { } GENERATED_ArkUIAbilityComponentEventsReceiver; typedef struct GENERATED_ArkUIAlphabetIndexerEventsReceiver { - void (*onSelected)(Ark_Int32 nodeId, const Ark_Number index); - void (*onSelect)(Ark_Int32 nodeId, const Ark_Number index); - void (*onRequestPopupData)(Ark_Int32 nodeId, const Ark_Number index); - void (*onPopupSelect)(Ark_Int32 nodeId, const Ark_Number index); + void (*onSelected)(Ark_Int32 nodeId, + const Ark_Number index); + void (*onSelect)(Ark_Int32 nodeId, + const Ark_Number index); + void (*onRequestPopupData)(Ark_Int32 nodeId, + const Ark_Number index); + void (*onPopupSelect)(Ark_Int32 nodeId, + const Ark_Number index); } GENERATED_ArkUIAlphabetIndexerEventsReceiver; typedef struct GENERATED_ArkUIAnimatorEventsReceiver { @@ -10427,16 +12681,20 @@ typedef struct GENERATED_ArkUIAnimatorEventsReceiver { void (*onRepeat)(Ark_Int32 nodeId); void (*onCancel)(Ark_Int32 nodeId); void (*onFinish)(Ark_Int32 nodeId); - void (*onFrame)(Ark_Int32 nodeId, const Ark_Number value); + void (*onFrame)(Ark_Int32 nodeId, + const Ark_Number value); } GENERATED_ArkUIAnimatorEventsReceiver; typedef struct GENERATED_ArkUICalendarEventsReceiver { - void (*onSelectChange)(Ark_Int32 nodeId, const Ark_CalendarSelectedDate event); - void (*onRequestData)(Ark_Int32 nodeId, const Ark_CalendarRequestedData event); + void (*onSelectChange)(Ark_Int32 nodeId, + const Ark_CalendarSelectedDate event); + void (*onRequestData)(Ark_Int32 nodeId, + const Ark_CalendarRequestedData event); } GENERATED_ArkUICalendarEventsReceiver; typedef struct GENERATED_ArkUICalendarPickerEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_CustomObject value); + void (*onChange)(Ark_Int32 nodeId, + const Ark_CustomObject value); } GENERATED_ArkUICalendarPickerEventsReceiver; typedef struct GENERATED_ArkUICanvasEventsReceiver { @@ -10444,48 +12702,91 @@ typedef struct GENERATED_ArkUICanvasEventsReceiver { } GENERATED_ArkUICanvasEventsReceiver; typedef struct GENERATED_ArkUICheckboxEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Boolean value); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Boolean value); } GENERATED_ArkUICheckboxEventsReceiver; typedef struct GENERATED_ArkUICheckboxGroupEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_CheckboxGroupResult event); + void (*onChange)(Ark_Int32 nodeId, + const Ark_CheckboxGroupResult event); } GENERATED_ArkUICheckboxGroupEventsReceiver; typedef struct GENERATED_ArkUICommonMethodEventsReceiver { - void (*onChildTouchTest)(Ark_Int32 nodeId, const Array_TouchTestInfo value); - void (*onClick)(Ark_Int32 nodeId, const Ark_ClickEvent event); - void (*onHover)(Ark_Int32 nodeId, const Ark_Boolean isHover, const Ark_HoverEvent event); - void (*onAccessibilityHover)(Ark_Int32 nodeId, const Ark_Boolean isHover, const Ark_AccessibilityHoverEvent event); - void (*onMouse)(Ark_Int32 nodeId, const Ark_MouseEvent event); - void (*onTouch)(Ark_Int32 nodeId, const Ark_TouchEvent event); - void (*onKeyEvent)(Ark_Int32 nodeId, const Ark_KeyEvent event); - void (*onKeyPreIme)(Ark_Int32 nodeId, const Ark_KeyEvent data); + void (*onChildTouchTest)(Ark_Int32 nodeId, + const Array_TouchTestInfo value); + void (*onClick)(Ark_Int32 nodeId, + const Ark_ClickEvent event); + void (*onHover)(Ark_Int32 nodeId, + const Ark_Boolean isHover, + const Ark_HoverEvent event); + void (*onAccessibilityHover)(Ark_Int32 nodeId, + const Ark_Boolean isHover, + const Ark_AccessibilityHoverEvent event); + void (*onMouse)(Ark_Int32 nodeId, + const Ark_MouseEvent event); + void (*onTouch)(Ark_Int32 nodeId, + const Ark_TouchEvent event); + void (*onKeyEvent)(Ark_Int32 nodeId, + const Ark_KeyEvent event); + void (*onKeyPreIme)(Ark_Int32 nodeId, + const Ark_KeyEvent data); void (*onFocus)(Ark_Int32 nodeId); void (*onBlur)(Ark_Int32 nodeId); void (*onAppear)(Ark_Int32 nodeId); void (*onDisAppear)(Ark_Int32 nodeId); void (*onAttach)(Ark_Int32 nodeId); void (*onDetach)(Ark_Int32 nodeId); - void (*onAreaChange)(Ark_Int32 nodeId, const Ark_Area oldValue, const Ark_Area newValue); - void (*onDragStart)(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams); - void (*onDragEnter)(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams); - void (*onDragMove)(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams); - void (*onDragLeave)(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams); - void (*onDrop)(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams); - void (*onDragEnd)(Ark_Int32 nodeId, const Ark_DragEvent event, const Opt_String extraParams); - void (*onPreDrag)(Ark_Int32 nodeId, const Ark_Int32 data); - void (*onVisibleAreaChange)(Ark_Int32 nodeId, const Ark_Boolean isVisible, const Ark_Number currentRatio); + void (*onAreaChange)(Ark_Int32 nodeId, + const Ark_Area oldValue, + const Ark_Area newValue); + void (*onDragStart)(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams); + void (*onDragEnter)(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams); + void (*onDragMove)(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams); + void (*onDragLeave)(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams); + void (*onDrop)(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams); + void (*onDragEnd)(Ark_Int32 nodeId, + const Ark_DragEvent event, + const Opt_String extraParams); + void (*onPreDrag)(Ark_Int32 nodeId, + const Ark_Int32 data); + void (*onVisibleAreaChange)(Ark_Int32 nodeId, + const Ark_Boolean isVisible, + const Ark_Number currentRatio); void (*keyboardShortcut)(Ark_Int32 nodeId); - void (*onGestureJudgeBegin)(Ark_Int32 nodeId, const Ark_GestureInfo gestureInfo, const Ark_BaseGestureEvent event); - void (*onGestureRecognizerJudgeBegin)(Ark_Int32 nodeId, const Ark_BaseGestureEvent event, const Ark_Materialized current, const Array_GestureRecognizer recognizers); - void (*shouldBuiltInRecognizerParallelWith)(Ark_Int32 nodeId, const Ark_Materialized current, const Array_GestureRecognizer others); - void (*onTouchIntercept)(Ark_Int32 nodeId, const Ark_TouchEvent data); - void (*onSizeChange)(Ark_Int32 nodeId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue); + void (*onGestureJudgeBegin)(Ark_Int32 nodeId, + const Ark_GestureInfo gestureInfo, + const Ark_BaseGestureEvent event); + void (*onGestureRecognizerJudgeBegin)(Ark_Int32 nodeId, + const Ark_BaseGestureEvent event, + const Ark_Materialized current, + const Array_GestureRecognizer recognizers); + void (*shouldBuiltInRecognizerParallelWith)(Ark_Int32 nodeId, + const Ark_Materialized current, + const Array_GestureRecognizer others); + void (*onTouchIntercept)(Ark_Int32 nodeId, + const Ark_TouchEvent data); + void (*onSizeChange)(Ark_Int32 nodeId, + const Ark_SizeOptions oldValue, + const Ark_SizeOptions newValue); } GENERATED_ArkUICommonMethodEventsReceiver; typedef struct GENERATED_ArkUIScrollableCommonMethodEventsReceiver { - void (*onScroll)(Ark_Int32 nodeId, const Ark_Number scrollOffset, const Ark_Int32 scrollState); - void (*onDidScroll)(Ark_Int32 nodeId, const Ark_Number scrollOffset, const Ark_Int32 scrollState); + void (*onScroll)(Ark_Int32 nodeId, + const Ark_Number scrollOffset, + const Ark_Int32 scrollState); + void (*onDidScroll)(Ark_Int32 nodeId, + const Ark_Number scrollOffset, + const Ark_Int32 scrollState); void (*onReachStart)(Ark_Int32 nodeId); void (*onReachEnd)(Ark_Int32 nodeId); void (*onScrollStart)(Ark_Int32 nodeId); @@ -10498,50 +12799,82 @@ typedef struct GENERATED_ArkUICounterEventsReceiver { } GENERATED_ArkUICounterEventsReceiver; typedef struct GENERATED_ArkUIDatePickerEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_DatePickerResult value); - void (*onDateChange)(Ark_Int32 nodeId, const Ark_CustomObject value); + void (*onChange)(Ark_Int32 nodeId, + const Ark_DatePickerResult value); + void (*onDateChange)(Ark_Int32 nodeId, + const Ark_CustomObject value); } GENERATED_ArkUIDatePickerEventsReceiver; typedef struct GENERATED_ArkUIFolderStackEventsReceiver { - void (*onFolderStateChange)(Ark_Int32 nodeId, const Literal_foldStatus_FoldStatus event); - void (*onHoverStatusChange)(Ark_Int32 nodeId, const Ark_HoverEventParam param); + void (*onFolderStateChange)(Ark_Int32 nodeId, + const Literal_FoldStatus_foldStatus event); + void (*onHoverStatusChange)(Ark_Int32 nodeId, + const Ark_HoverEventParam param); } GENERATED_ArkUIFolderStackEventsReceiver; typedef struct GENERATED_ArkUIFormComponentEventsReceiver { - void (*onAcquired)(Ark_Int32 nodeId, const Ark_FormCallbackInfo data); - void (*onError)(Ark_Int32 nodeId, const Literal_errcode_Number_msg_String info); - void (*onRouter)(Ark_Int32 nodeId, const Ark_CustomObject info); - void (*onUninstall)(Ark_Int32 nodeId, const Ark_FormCallbackInfo data); + void (*onAcquired)(Ark_Int32 nodeId, + const Ark_FormCallbackInfo data); + void (*onError)(Ark_Int32 nodeId, + const Literal_Number_errcode_String_msg info); + void (*onRouter)(Ark_Int32 nodeId, + const Ark_CustomObject info); + void (*onUninstall)(Ark_Int32 nodeId, + const Ark_FormCallbackInfo data); void (*onLoad)(Ark_Int32 nodeId); } GENERATED_ArkUIFormComponentEventsReceiver; typedef struct GENERATED_ArkUIGridEventsReceiver { - void (*onScrollBarUpdate)(Ark_Int32 nodeId, const Ark_Number index, const Ark_Number offset); - void (*onScrollIndex)(Ark_Int32 nodeId, const Ark_Number first, const Ark_Number last); - void (*onItemDragStart)(Ark_Int32 nodeId, const Ark_ItemDragInfo event, const Ark_Number itemIndex); - void (*onItemDragEnter)(Ark_Int32 nodeId, const Ark_ItemDragInfo event); - void (*onItemDragMove)(Ark_Int32 nodeId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex); - void (*onItemDragLeave)(Ark_Int32 nodeId, const Ark_ItemDragInfo event, const Ark_Number itemIndex); - void (*onItemDrop)(Ark_Int32 nodeId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex, const Ark_Boolean isSuccess); - void (*onScroll)(Ark_Int32 nodeId, const Ark_Number scrollOffset, const Ark_Int32 scrollState); + void (*onScrollBarUpdate)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_Number offset); + void (*onScrollIndex)(Ark_Int32 nodeId, + const Ark_Number first, + const Ark_Number last); + void (*onItemDragStart)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event, + const Ark_Number itemIndex); + void (*onItemDragEnter)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event); + void (*onItemDragMove)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event, + const Ark_Number itemIndex, + const Ark_Number insertIndex); + void (*onItemDragLeave)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event, + const Ark_Number itemIndex); + void (*onItemDrop)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event, + const Ark_Number itemIndex, + const Ark_Number insertIndex, + const Ark_Boolean isSuccess); + void (*onScroll)(Ark_Int32 nodeId, + const Ark_Number scrollOffset, + const Ark_Int32 scrollState); void (*onReachStart)(Ark_Int32 nodeId); void (*onReachEnd)(Ark_Int32 nodeId); void (*onScrollStart)(Ark_Int32 nodeId); void (*onScrollStop)(Ark_Int32 nodeId); - void (*onScrollFrameBegin)(Ark_Int32 nodeId, const Ark_Number offset, const Ark_Int32 state); + void (*onScrollFrameBegin)(Ark_Int32 nodeId, + const Ark_Number offset, + const Ark_Int32 state); } GENERATED_ArkUIGridEventsReceiver; typedef struct GENERATED_ArkUIGridItemEventsReceiver { - void (*onSelect)(Ark_Int32 nodeId, const Ark_Boolean isSelected); + void (*onSelect)(Ark_Int32 nodeId, + const Ark_Boolean isSelected); } GENERATED_ArkUIGridItemEventsReceiver; typedef struct GENERATED_ArkUIGridRowEventsReceiver { - void (*onBreakpointChange)(Ark_Int32 nodeId, const Ark_String breakpoints); + void (*onBreakpointChange)(Ark_Int32 nodeId, + const Ark_String breakpoints); } GENERATED_ArkUIGridRowEventsReceiver; typedef struct GENERATED_ArkUIImageEventsReceiver { - void (*onComplete)(Ark_Int32 nodeId, const Opt_Literal_width_Number_height_Number_componentWidth_Number_componentHeight_Number_loadingStatus_Number_contentWidth_Number_contentHeight_Number_contentOffsetX_Number_contentOffsetY_Number event); - void (*onError)(Ark_Int32 nodeId, const Ark_ImageError error); + void (*onComplete)(Ark_Int32 nodeId, + const Opt_Literal_Number_width_height_componentWidth_componentHeight_loadingStatus_contentWidth_contentHeight_contentOffsetX_contentOffsetY event); + void (*onError)(Ark_Int32 nodeId, + const Ark_ImageError error); void (*onFinish)(Ark_Int32 nodeId); } GENERATED_ArkUIImageEventsReceiver; @@ -10554,34 +12887,63 @@ typedef struct GENERATED_ArkUIImageAnimatorEventsReceiver { } GENERATED_ArkUIImageAnimatorEventsReceiver; typedef struct GENERATED_ArkUIImageSpanEventsReceiver { - void (*onComplete)(Ark_Int32 nodeId, const Ark_ImageLoadResult result); - void (*onError)(Ark_Int32 nodeId, const Ark_ImageError error); + void (*onComplete)(Ark_Int32 nodeId, + const Ark_ImageLoadResult result); + void (*onError)(Ark_Int32 nodeId, + const Ark_ImageError error); } GENERATED_ArkUIImageSpanEventsReceiver; typedef struct GENERATED_ArkUIListEventsReceiver { - void (*onScroll)(Ark_Int32 nodeId, const Ark_Number scrollOffset, const Ark_Int32 scrollState); - void (*onScrollIndex)(Ark_Int32 nodeId, const Ark_Number start, const Ark_Number end, const Ark_Number center); - void (*onScrollVisibleContentChange)(Ark_Int32 nodeId, const Ark_VisibleListContentInfo start, const Ark_VisibleListContentInfo end); + void (*onScroll)(Ark_Int32 nodeId, + const Ark_Number scrollOffset, + const Ark_Int32 scrollState); + void (*onScrollIndex)(Ark_Int32 nodeId, + const Ark_Number start, + const Ark_Number end, + const Ark_Number center); + void (*onScrollVisibleContentChange)(Ark_Int32 nodeId, + const Ark_VisibleListContentInfo start, + const Ark_VisibleListContentInfo end); void (*onReachStart)(Ark_Int32 nodeId); void (*onReachEnd)(Ark_Int32 nodeId); void (*onScrollStart)(Ark_Int32 nodeId); void (*onScrollStop)(Ark_Int32 nodeId); - void (*onItemDelete)(Ark_Int32 nodeId, const Ark_Number index); - void (*onItemMove)(Ark_Int32 nodeId, const Ark_Number from, const Ark_Number to); - void (*onItemDragStart)(Ark_Int32 nodeId, const Ark_ItemDragInfo event, const Ark_Number itemIndex); - void (*onItemDragEnter)(Ark_Int32 nodeId, const Ark_ItemDragInfo event); - void (*onItemDragMove)(Ark_Int32 nodeId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex); - void (*onItemDragLeave)(Ark_Int32 nodeId, const Ark_ItemDragInfo event, const Ark_Number itemIndex); - void (*onItemDrop)(Ark_Int32 nodeId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Ark_Number insertIndex, const Ark_Boolean isSuccess); - void (*onScrollFrameBegin)(Ark_Int32 nodeId, const Ark_Number offset, const Ark_Int32 state); + void (*onItemDelete)(Ark_Int32 nodeId, + const Ark_Number index); + void (*onItemMove)(Ark_Int32 nodeId, + const Ark_Number from, + const Ark_Number to); + void (*onItemDragStart)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event, + const Ark_Number itemIndex); + void (*onItemDragEnter)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event); + void (*onItemDragMove)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event, + const Ark_Number itemIndex, + const Ark_Number insertIndex); + void (*onItemDragLeave)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event, + const Ark_Number itemIndex); + void (*onItemDrop)(Ark_Int32 nodeId, + const Ark_ItemDragInfo event, + const Ark_Number itemIndex, + const Ark_Number insertIndex, + const Ark_Boolean isSuccess); + void (*onScrollFrameBegin)(Ark_Int32 nodeId, + const Ark_Number offset, + const Ark_Int32 state); } GENERATED_ArkUIListEventsReceiver; typedef struct GENERATED_ArkUIListItemEventsReceiver { - void (*onSelect)(Ark_Int32 nodeId, const Ark_Boolean isSelected); + void (*onSelect)(Ark_Int32 nodeId, + const Ark_Boolean isSelected); } GENERATED_ArkUIListItemEventsReceiver; typedef struct GENERATED_ArkUILocationButtonEventsReceiver { - void (*onClick)(Ark_Int32 nodeId, const Ark_ClickEvent event, const Ark_Int32 result); + void (*onClick)(Ark_Int32 nodeId, + const Ark_ClickEvent event, + const Ark_Int32 result); } GENERATED_ArkUILocationButtonEventsReceiver; typedef struct GENERATED_ArkUIMarqueeEventsReceiver { @@ -10591,7 +12953,8 @@ typedef struct GENERATED_ArkUIMarqueeEventsReceiver { } GENERATED_ArkUIMarqueeEventsReceiver; typedef struct GENERATED_ArkUIMenuItemEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Boolean selected); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Boolean selected); } GENERATED_ArkUIMenuItemEventsReceiver; typedef struct GENERATED_ArkUINavDestinationEventsReceiver { @@ -10605,64 +12968,99 @@ typedef struct GENERATED_ArkUINavDestinationEventsReceiver { } GENERATED_ArkUINavDestinationEventsReceiver; typedef struct GENERATED_ArkUINavRouterEventsReceiver { - void (*onStateChange)(Ark_Int32 nodeId, const Ark_Boolean isActivated); + void (*onStateChange)(Ark_Int32 nodeId, + const Ark_Boolean isActivated); } GENERATED_ArkUINavRouterEventsReceiver; typedef struct GENERATED_ArkUINavigationEventsReceiver { - void (*onTitleModeChange)(Ark_Int32 nodeId, const Ark_Int32 titleMode); - void (*onNavBarStateChange)(Ark_Int32 nodeId, const Ark_Boolean isVisible); - void (*onNavigationModeChange)(Ark_Int32 nodeId, const Ark_Int32 mode); - void (*navDestination)(Ark_Int32 nodeId, const Ark_String name, const Ark_CustomObject param); - void (*customNavContentTransition)(Ark_Int32 nodeId, const Ark_NavContentInfo from, const Ark_NavContentInfo to, const Ark_Int32 operation); + void (*onTitleModeChange)(Ark_Int32 nodeId, + const Ark_Int32 titleMode); + void (*onNavBarStateChange)(Ark_Int32 nodeId, + const Ark_Boolean isVisible); + void (*onNavigationModeChange)(Ark_Int32 nodeId, + const Ark_Int32 mode); + void (*navDestination)(Ark_Int32 nodeId, + const Ark_String name, + const Ark_CustomObject param); + void (*customNavContentTransition)(Ark_Int32 nodeId, + const Ark_NavContentInfo from, + const Ark_NavContentInfo to, + const Ark_Int32 operation); } GENERATED_ArkUINavigationEventsReceiver; typedef struct GENERATED_ArkUIPanelEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Number width, const Ark_Number height, const Ark_Int32 mode); - void (*onHeightChange)(Ark_Int32 nodeId, const Ark_Number value); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Number width, + const Ark_Number height, + const Ark_Int32 mode); + void (*onHeightChange)(Ark_Int32 nodeId, + const Ark_Number value); } GENERATED_ArkUIPanelEventsReceiver; typedef struct GENERATED_ArkUIPasteButtonEventsReceiver { - void (*onClick)(Ark_Int32 nodeId, const Ark_ClickEvent event, const Ark_Int32 result); + void (*onClick)(Ark_Int32 nodeId, + const Ark_ClickEvent event, + const Ark_Int32 result); } GENERATED_ArkUIPasteButtonEventsReceiver; typedef struct GENERATED_ArkUIPatternLockEventsReceiver { - void (*onPatternComplete)(Ark_Int32 nodeId, const Array_Number input); + void (*onPatternComplete)(Ark_Int32 nodeId, + const Array_Number input); } GENERATED_ArkUIPatternLockEventsReceiver; typedef struct GENERATED_ArkUIPluginComponentEventsReceiver { void (*onComplete)(Ark_Int32 nodeId); - void (*onError)(Ark_Int32 nodeId, const Literal_errcode_Number_msg_String info); + void (*onError)(Ark_Int32 nodeId, + const Literal_Number_errcode_String_msg info); } GENERATED_ArkUIPluginComponentEventsReceiver; typedef struct GENERATED_ArkUIRadioEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Boolean isChecked); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Boolean isChecked); } GENERATED_ArkUIRadioEventsReceiver; typedef struct GENERATED_ArkUIRatingEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Number value); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Number value); } GENERATED_ArkUIRatingEventsReceiver; typedef struct GENERATED_ArkUIRefreshEventsReceiver { - void (*onStateChange)(Ark_Int32 nodeId, const Ark_Int32 state); + void (*onStateChange)(Ark_Int32 nodeId, + const Ark_Int32 state); void (*onRefreshing)(Ark_Int32 nodeId); - void (*onOffsetChange)(Ark_Int32 nodeId, const Ark_Number data); + void (*onOffsetChange)(Ark_Int32 nodeId, + const Ark_Number data); } GENERATED_ArkUIRefreshEventsReceiver; typedef struct GENERATED_ArkUIRichEditorEventsReceiver { void (*onReady)(Ark_Int32 nodeId); - void (*onSelect)(Ark_Int32 nodeId, const Ark_RichEditorSelection data); - void (*onSelectionChange)(Ark_Int32 nodeId, const Ark_RichEditorRange data); - void (*aboutToIMEInput)(Ark_Int32 nodeId, const Ark_RichEditorInsertValue data); - void (*onIMEInputComplete)(Ark_Int32 nodeId, const Ark_RichEditorTextSpanResult data); - void (*aboutToDelete)(Ark_Int32 nodeId, const Ark_RichEditorDeleteValue data); + void (*onSelect)(Ark_Int32 nodeId, + const Ark_RichEditorSelection data); + void (*onSelectionChange)(Ark_Int32 nodeId, + const Ark_RichEditorRange data); + void (*aboutToIMEInput)(Ark_Int32 nodeId, + const Ark_RichEditorInsertValue data); + void (*onIMEInputComplete)(Ark_Int32 nodeId, + const Ark_RichEditorTextSpanResult data); + void (*aboutToDelete)(Ark_Int32 nodeId, + const Ark_RichEditorDeleteValue data); void (*onDeleteComplete)(Ark_Int32 nodeId); - void (*onPaste)(Ark_Int32 nodeId, const Opt_PasteEvent event); - void (*onEditingChange)(Ark_Int32 nodeId, const Ark_Boolean data); - void (*onSubmit)(Ark_Int32 nodeId, const Ark_Int32 enterKey, const Ark_SubmitEvent event); - void (*onWillChange)(Ark_Int32 nodeId, const Ark_RichEditorChangeValue data); - void (*onDidChange)(Ark_Int32 nodeId, const Ark_TextRange rangeBefore, const Ark_TextRange rangeAfter); - void (*onCut)(Ark_Int32 nodeId, const Ark_CutEvent data); - void (*onCopy)(Ark_Int32 nodeId, const Ark_CopyEvent data); + void (*onPaste)(Ark_Int32 nodeId, + const Opt_PasteEvent event); + void (*onEditingChange)(Ark_Int32 nodeId, + const Ark_Boolean data); + void (*onSubmit)(Ark_Int32 nodeId, + const Ark_Int32 enterKey, + const Ark_SubmitEvent event); + void (*onWillChange)(Ark_Int32 nodeId, + const Ark_RichEditorChangeValue data); + void (*onDidChange)(Ark_Int32 nodeId, + const Ark_TextRange rangeBefore, + const Ark_TextRange rangeAfter); + void (*onCut)(Ark_Int32 nodeId, + const Ark_CutEvent data); + void (*onCopy)(Ark_Int32 nodeId, + const Ark_CopyEvent data); } GENERATED_ArkUIRichEditorEventsReceiver; typedef struct GENERATED_ArkUIRichTextEventsReceiver { @@ -10671,67 +13069,129 @@ typedef struct GENERATED_ArkUIRichTextEventsReceiver { } GENERATED_ArkUIRichTextEventsReceiver; typedef struct GENERATED_ArkUISaveButtonEventsReceiver { - void (*onClick)(Ark_Int32 nodeId, const Ark_ClickEvent event, const Ark_Int32 result); + void (*onClick)(Ark_Int32 nodeId, + const Ark_ClickEvent event, + const Ark_Int32 result); } GENERATED_ArkUISaveButtonEventsReceiver; typedef struct GENERATED_ArkUIScrollEventsReceiver { - void (*onScroll)(Ark_Int32 nodeId, const Ark_Number xOffset, const Ark_Number yOffset); - void (*onDidScroll)(Ark_Int32 nodeId, const Ark_Number xOffset, const Ark_Number yOffset, const Ark_Int32 scrollState); - void (*onScrollEdge)(Ark_Int32 nodeId, const Ark_Int32 side); + void (*onScroll)(Ark_Int32 nodeId, + const Ark_Number xOffset, + const Ark_Number yOffset); + void (*onDidScroll)(Ark_Int32 nodeId, + const Ark_Number xOffset, + const Ark_Number yOffset, + const Ark_Int32 scrollState); + void (*onScrollEdge)(Ark_Int32 nodeId, + const Ark_Int32 side); void (*onScrollStart)(Ark_Int32 nodeId); void (*onScrollEnd)(Ark_Int32 nodeId); void (*onScrollStop)(Ark_Int32 nodeId); - void (*onScrollFrameBegin)(Ark_Int32 nodeId, const Ark_Number offset, const Ark_Int32 state); + void (*onScrollFrameBegin)(Ark_Int32 nodeId, + const Ark_Number offset, + const Ark_Int32 state); } GENERATED_ArkUIScrollEventsReceiver; typedef struct GENERATED_ArkUISearchEventsReceiver { - void (*inputFilter)(Ark_Int32 nodeId, const Ark_String data); - void (*onEditChange)(Ark_Int32 nodeId, const Ark_Boolean data); - void (*onSubmit)(Ark_Int32 nodeId, const Ark_String value); - void (*onChange)(Ark_Int32 nodeId, const Ark_String value, const Opt_PreviewText previewText); - void (*onTextSelectionChange)(Ark_Int32 nodeId, const Ark_Number selectionStart, const Ark_Number selectionEnd); - void (*onContentScroll)(Ark_Int32 nodeId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY); - void (*onCopy)(Ark_Int32 nodeId, const Ark_String value); - void (*onCut)(Ark_Int32 nodeId, const Ark_String value); - void (*onPaste)(Ark_Int32 nodeId, const Ark_String value, const Ark_PasteEvent event); - void (*onWillInsert)(Ark_Int32 nodeId, const Ark_InsertValue data); - void (*onDidInsert)(Ark_Int32 nodeId, const Ark_InsertValue data); - void (*onWillDelete)(Ark_Int32 nodeId, const Ark_DeleteValue data); - void (*onDidDelete)(Ark_Int32 nodeId, const Ark_DeleteValue data); + void (*inputFilter)(Ark_Int32 nodeId, + const Ark_String data); + void (*onEditChange)(Ark_Int32 nodeId, + const Ark_Boolean data); + void (*onSubmit)(Ark_Int32 nodeId, + const Ark_String value); + void (*onChange)(Ark_Int32 nodeId, + const Ark_String value, + const Opt_PreviewText previewText); + void (*onTextSelectionChange)(Ark_Int32 nodeId, + const Ark_Number selectionStart, + const Ark_Number selectionEnd); + void (*onContentScroll)(Ark_Int32 nodeId, + const Ark_Number totalOffsetX, + const Ark_Number totalOffsetY); + void (*onCopy)(Ark_Int32 nodeId, + const Ark_String value); + void (*onCut)(Ark_Int32 nodeId, + const Ark_String value); + void (*onPaste)(Ark_Int32 nodeId, + const Ark_String value, + const Ark_PasteEvent event); + void (*onWillInsert)(Ark_Int32 nodeId, + const Ark_InsertValue data); + void (*onDidInsert)(Ark_Int32 nodeId, + const Ark_InsertValue data); + void (*onWillDelete)(Ark_Int32 nodeId, + const Ark_DeleteValue data); + void (*onDidDelete)(Ark_Int32 nodeId, + const Ark_DeleteValue data); } GENERATED_ArkUISearchEventsReceiver; typedef struct GENERATED_ArkUISelectEventsReceiver { - void (*onSelect)(Ark_Int32 nodeId, const Ark_Number index, const Ark_String value); + void (*onSelect)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_String value); } GENERATED_ArkUISelectEventsReceiver; typedef struct GENERATED_ArkUISliderEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Number value, const Ark_Int32 mode); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Number value, + const Ark_Int32 mode); } GENERATED_ArkUISliderEventsReceiver; typedef struct GENERATED_ArkUIStepperEventsReceiver { void (*onFinish)(Ark_Int32 nodeId); void (*onSkip)(Ark_Int32 nodeId); - void (*onChange)(Ark_Int32 nodeId, const Ark_Number prevIndex, const Ark_Number index); - void (*onNext)(Ark_Int32 nodeId, const Ark_Number index, const Ark_Number pendingIndex); - void (*onPrevious)(Ark_Int32 nodeId, const Ark_Number index, const Ark_Number pendingIndex); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Number prevIndex, + const Ark_Number index); + void (*onNext)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_Number pendingIndex); + void (*onPrevious)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_Number pendingIndex); } GENERATED_ArkUIStepperEventsReceiver; typedef struct GENERATED_ArkUISwiperEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Number index); - void (*onAnimationStart)(Ark_Int32 nodeId, const Ark_Number index, const Ark_Number targetIndex, const Ark_SwiperAnimationEvent extraInfo); - void (*onAnimationEnd)(Ark_Int32 nodeId, const Ark_Number index, const Ark_SwiperAnimationEvent extraInfo); - void (*onGestureSwipe)(Ark_Int32 nodeId, const Ark_Number index, const Ark_SwiperAnimationEvent extraInfo); - void (*onContentDidScroll)(Ark_Int32 nodeId, const Ark_Number selectedIndex, const Ark_Number index, const Ark_Number position, const Ark_Number mainAxisLength); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Number index); + void (*onAnimationStart)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_Number targetIndex, + const Ark_SwiperAnimationEvent extraInfo); + void (*onAnimationEnd)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_SwiperAnimationEvent extraInfo); + void (*onGestureSwipe)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_SwiperAnimationEvent extraInfo); + void (*onContentDidScroll)(Ark_Int32 nodeId, + const Ark_Number selectedIndex, + const Ark_Number index, + const Ark_Number position, + const Ark_Number mainAxisLength); } GENERATED_ArkUISwiperEventsReceiver; typedef struct GENERATED_ArkUITabsEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Number index); - void (*onTabBarClick)(Ark_Int32 nodeId, const Ark_Number index); - void (*onAnimationStart)(Ark_Int32 nodeId, const Ark_Number index, const Ark_Number targetIndex, const Ark_TabsAnimationEvent event); - void (*onAnimationEnd)(Ark_Int32 nodeId, const Ark_Number index, const Ark_TabsAnimationEvent event); - void (*onGestureSwipe)(Ark_Int32 nodeId, const Ark_Number index, const Ark_TabsAnimationEvent event); - void (*customContentTransition)(Ark_Int32 nodeId, const Ark_Number from, const Ark_Number to); - void (*onContentWillChange)(Ark_Int32 nodeId, const Ark_Number currentIndex, const Ark_Number comingIndex); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Number index); + void (*onTabBarClick)(Ark_Int32 nodeId, + const Ark_Number index); + void (*onAnimationStart)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_Number targetIndex, + const Ark_TabsAnimationEvent event); + void (*onAnimationEnd)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_TabsAnimationEvent event); + void (*onGestureSwipe)(Ark_Int32 nodeId, + const Ark_Number index, + const Ark_TabsAnimationEvent event); + void (*customContentTransition)(Ark_Int32 nodeId, + const Ark_Number from, + const Ark_Number to); + void (*onContentWillChange)(Ark_Int32 nodeId, + const Ark_Number currentIndex, + const Ark_Number comingIndex); } GENERATED_ArkUITabsEventsReceiver; typedef struct GENERATED_ArkUITabContentEventsReceiver { @@ -10740,161 +13200,276 @@ typedef struct GENERATED_ArkUITabContentEventsReceiver { } GENERATED_ArkUITabContentEventsReceiver; typedef struct GENERATED_ArkUITextEventsReceiver { - void (*onCopy)(Ark_Int32 nodeId, const Ark_String value); - void (*onTextSelectionChange)(Ark_Int32 nodeId, const Ark_Number selectionStart, const Ark_Number selectionEnd); - void (*onMarqueeStateChange)(Ark_Int32 nodeId, const Ark_Int32 data); + void (*onCopy)(Ark_Int32 nodeId, + const Ark_String value); + void (*onTextSelectionChange)(Ark_Int32 nodeId, + const Ark_Number selectionStart, + const Ark_Number selectionEnd); + void (*onMarqueeStateChange)(Ark_Int32 nodeId, + const Ark_Int32 data); } GENERATED_ArkUITextEventsReceiver; typedef struct GENERATED_ArkUITextAreaEventsReceiver { - void (*inputFilter)(Ark_Int32 nodeId, const Ark_String value); - void (*onSubmit)(Ark_Int32 nodeId, const Ark_Int32 enterKey); - void (*onChange)(Ark_Int32 nodeId, const Ark_String value, const Opt_PreviewText previewText); - void (*onTextSelectionChange)(Ark_Int32 nodeId, const Ark_Number selectionStart, const Ark_Number selectionEnd); - void (*onContentScroll)(Ark_Int32 nodeId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY); - void (*onEditChange)(Ark_Int32 nodeId, const Ark_Boolean isEditing); - void (*onCopy)(Ark_Int32 nodeId, const Ark_String value); - void (*onCut)(Ark_Int32 nodeId, const Ark_String value); - void (*onPaste)(Ark_Int32 nodeId, const Ark_String value, const Ark_PasteEvent event); - void (*onWillInsert)(Ark_Int32 nodeId, const Ark_InsertValue data); - void (*onDidInsert)(Ark_Int32 nodeId, const Ark_InsertValue data); - void (*onWillDelete)(Ark_Int32 nodeId, const Ark_DeleteValue data); - void (*onDidDelete)(Ark_Int32 nodeId, const Ark_DeleteValue data); + void (*inputFilter)(Ark_Int32 nodeId, + const Ark_String value); + void (*onSubmit)(Ark_Int32 nodeId, + const Ark_Int32 enterKey); + void (*onChange)(Ark_Int32 nodeId, + const Ark_String value, + const Opt_PreviewText previewText); + void (*onTextSelectionChange)(Ark_Int32 nodeId, + const Ark_Number selectionStart, + const Ark_Number selectionEnd); + void (*onContentScroll)(Ark_Int32 nodeId, + const Ark_Number totalOffsetX, + const Ark_Number totalOffsetY); + void (*onEditChange)(Ark_Int32 nodeId, + const Ark_Boolean isEditing); + void (*onCopy)(Ark_Int32 nodeId, + const Ark_String value); + void (*onCut)(Ark_Int32 nodeId, + const Ark_String value); + void (*onPaste)(Ark_Int32 nodeId, + const Ark_String value, + const Ark_PasteEvent event); + void (*onWillInsert)(Ark_Int32 nodeId, + const Ark_InsertValue data); + void (*onDidInsert)(Ark_Int32 nodeId, + const Ark_InsertValue data); + void (*onWillDelete)(Ark_Int32 nodeId, + const Ark_DeleteValue data); + void (*onDidDelete)(Ark_Int32 nodeId, + const Ark_DeleteValue data); } GENERATED_ArkUITextAreaEventsReceiver; typedef struct GENERATED_ArkUITextClockEventsReceiver { - void (*onDateChange)(Ark_Int32 nodeId, const Ark_Number value); + void (*onDateChange)(Ark_Int32 nodeId, + const Ark_Number value); } GENERATED_ArkUITextClockEventsReceiver; typedef struct GENERATED_ArkUITextInputEventsReceiver { - void (*onEditChanged)(Ark_Int32 nodeId, const Ark_Boolean isEditing); - void (*onEditChange)(Ark_Int32 nodeId, const Ark_Boolean isEditing); - void (*onSubmit)(Ark_Int32 nodeId, const Ark_Int32 enterKey, const Ark_SubmitEvent event); - void (*onChange)(Ark_Int32 nodeId, const Ark_String value, const Opt_PreviewText previewText); - void (*onTextSelectionChange)(Ark_Int32 nodeId, const Ark_Number selectionStart, const Ark_Number selectionEnd); - void (*onContentScroll)(Ark_Int32 nodeId, const Ark_Number totalOffsetX, const Ark_Number totalOffsetY); - void (*inputFilter)(Ark_Int32 nodeId, const Ark_String value); - void (*onCopy)(Ark_Int32 nodeId, const Ark_String value); - void (*onCut)(Ark_Int32 nodeId, const Ark_String value); - void (*onPaste)(Ark_Int32 nodeId, const Ark_String value, const Ark_PasteEvent event); - void (*onSecurityStateChange)(Ark_Int32 nodeId, const Ark_Boolean data); - void (*onWillInsert)(Ark_Int32 nodeId, const Ark_InsertValue data); - void (*onDidInsert)(Ark_Int32 nodeId, const Ark_InsertValue data); - void (*onWillDelete)(Ark_Int32 nodeId, const Ark_DeleteValue data); - void (*onDidDelete)(Ark_Int32 nodeId, const Ark_DeleteValue data); + void (*onEditChanged)(Ark_Int32 nodeId, + const Ark_Boolean isEditing); + void (*onEditChange)(Ark_Int32 nodeId, + const Ark_Boolean isEditing); + void (*onSubmit)(Ark_Int32 nodeId, + const Ark_Int32 enterKey, + const Ark_SubmitEvent event); + void (*onChange)(Ark_Int32 nodeId, + const Ark_String value, + const Opt_PreviewText previewText); + void (*onTextSelectionChange)(Ark_Int32 nodeId, + const Ark_Number selectionStart, + const Ark_Number selectionEnd); + void (*onContentScroll)(Ark_Int32 nodeId, + const Ark_Number totalOffsetX, + const Ark_Number totalOffsetY); + void (*inputFilter)(Ark_Int32 nodeId, + const Ark_String value); + void (*onCopy)(Ark_Int32 nodeId, + const Ark_String value); + void (*onCut)(Ark_Int32 nodeId, + const Ark_String value); + void (*onPaste)(Ark_Int32 nodeId, + const Ark_String value, + const Ark_PasteEvent event); + void (*onSecurityStateChange)(Ark_Int32 nodeId, + const Ark_Boolean data); + void (*onWillInsert)(Ark_Int32 nodeId, + const Ark_InsertValue data); + void (*onDidInsert)(Ark_Int32 nodeId, + const Ark_InsertValue data); + void (*onWillDelete)(Ark_Int32 nodeId, + const Ark_DeleteValue data); + void (*onDidDelete)(Ark_Int32 nodeId, + const Ark_DeleteValue data); } GENERATED_ArkUITextInputEventsReceiver; typedef struct GENERATED_ArkUITextPickerEventsReceiver { - void (*onAccept)(Ark_Int32 nodeId, const Ark_String value, const Ark_Number index); + void (*onAccept)(Ark_Int32 nodeId, + const Ark_String value, + const Ark_Number index); void (*onCancel)(Ark_Int32 nodeId); - void (*onChange)(Ark_Int32 nodeId, const Union_String_Array_String value, const Union_Number_Array_Number index); + void (*onChange)(Ark_Int32 nodeId, + const Union_String_Array_String value, + const Union_Number_Array_Number index); } GENERATED_ArkUITextPickerEventsReceiver; typedef struct GENERATED_ArkUITextTimerEventsReceiver { - void (*onTimer)(Ark_Int32 nodeId, const Ark_Number utc, const Ark_Number elapsedTime); + void (*onTimer)(Ark_Int32 nodeId, + const Ark_Number utc, + const Ark_Number elapsedTime); } GENERATED_ArkUITextTimerEventsReceiver; typedef struct GENERATED_ArkUITimePickerEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_TimePickerResult value); + void (*onChange)(Ark_Int32 nodeId, + const Ark_TimePickerResult value); } GENERATED_ArkUITimePickerEventsReceiver; typedef struct GENERATED_ArkUIToggleEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Boolean isOn); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Boolean isOn); } GENERATED_ArkUIToggleEventsReceiver; typedef struct GENERATED_ArkUIVideoEventsReceiver { void (*onStart)(Ark_Int32 nodeId); void (*onPause)(Ark_Int32 nodeId); void (*onFinish)(Ark_Int32 nodeId); - void (*onFullscreenChange)(Ark_Int32 nodeId, const Literal_fullscreen_Boolean event); - void (*onPrepared)(Ark_Int32 nodeId, const Literal_duration_Number event); - void (*onSeeking)(Ark_Int32 nodeId, const Literal_time_Number event); - void (*onSeeked)(Ark_Int32 nodeId, const Literal_time_Number event); - void (*onUpdate)(Ark_Int32 nodeId, const Literal_time_Number event); + void (*onFullscreenChange)(Ark_Int32 nodeId, + const Literal_Boolean_fullscreen event); + void (*onPrepared)(Ark_Int32 nodeId, + const Literal_Number_duration event); + void (*onSeeking)(Ark_Int32 nodeId, + const Literal_Number_time event); + void (*onSeeked)(Ark_Int32 nodeId, + const Literal_Number_time event); + void (*onUpdate)(Ark_Int32 nodeId, + const Literal_Number_time event); void (*onError)(Ark_Int32 nodeId); void (*onStop)(Ark_Int32 nodeId); } GENERATED_ArkUIVideoEventsReceiver; typedef struct GENERATED_ArkUIWebEventsReceiver { - void (*onPageEnd)(Ark_Int32 nodeId, const Ark_OnPageEndEvent data); - void (*onPageBegin)(Ark_Int32 nodeId, const Ark_OnPageBeginEvent data); - void (*onProgressChange)(Ark_Int32 nodeId, const Ark_OnProgressChangeEvent data); - void (*onTitleReceive)(Ark_Int32 nodeId, const Ark_OnTitleReceiveEvent data); + void (*onPageEnd)(Ark_Int32 nodeId, + const Ark_OnPageEndEvent data); + void (*onPageBegin)(Ark_Int32 nodeId, + const Ark_OnPageBeginEvent data); + void (*onProgressChange)(Ark_Int32 nodeId, + const Ark_OnProgressChangeEvent data); + void (*onTitleReceive)(Ark_Int32 nodeId, + const Ark_OnTitleReceiveEvent data); void (*onGeolocationHide)(Ark_Int32 nodeId); - void (*onGeolocationShow)(Ark_Int32 nodeId, const Ark_OnGeolocationShowEvent data); + void (*onGeolocationShow)(Ark_Int32 nodeId, + const Ark_OnGeolocationShowEvent data); void (*onRequestSelected)(Ark_Int32 nodeId); - void (*onAlert)(Ark_Int32 nodeId, const Ark_OnAlertEvent data); - void (*onBeforeUnload)(Ark_Int32 nodeId, const Ark_OnBeforeUnloadEvent data); - void (*onConfirm)(Ark_Int32 nodeId, const Ark_OnConfirmEvent data); - void (*onPrompt)(Ark_Int32 nodeId, const Ark_OnPromptEvent data); - void (*onConsole)(Ark_Int32 nodeId, const Ark_OnConsoleEvent data); - void (*onErrorReceive)(Ark_Int32 nodeId, const Ark_OnErrorReceiveEvent data); - void (*onHttpErrorReceive)(Ark_Int32 nodeId, const Ark_OnHttpErrorReceiveEvent data); - void (*onDownloadStart)(Ark_Int32 nodeId, const Ark_OnDownloadStartEvent data); - void (*onRefreshAccessedHistory)(Ark_Int32 nodeId, const Ark_OnRefreshAccessedHistoryEvent data); - void (*onUrlLoadIntercept)(Ark_Int32 nodeId, const Opt_Literal_data_Union_String_WebResourceRequest event); - void (*onSslErrorReceive)(Ark_Int32 nodeId, const Opt_Literal_handler_Function_error_CustomObject event); - void (*onShowFileSelector)(Ark_Int32 nodeId, const Ark_OnShowFileSelectorEvent data); - void (*onFileSelectorShow)(Ark_Int32 nodeId, const Opt_Literal_callback_Function_fileSelector_CustomObject event); - void (*onResourceLoad)(Ark_Int32 nodeId, const Ark_OnResourceLoadEvent data); + void (*onAlert)(Ark_Int32 nodeId, + const Ark_OnAlertEvent data); + void (*onBeforeUnload)(Ark_Int32 nodeId, + const Ark_OnBeforeUnloadEvent data); + void (*onConfirm)(Ark_Int32 nodeId, + const Ark_OnConfirmEvent data); + void (*onPrompt)(Ark_Int32 nodeId, + const Ark_OnPromptEvent data); + void (*onConsole)(Ark_Int32 nodeId, + const Ark_OnConsoleEvent data); + void (*onErrorReceive)(Ark_Int32 nodeId, + const Ark_OnErrorReceiveEvent data); + void (*onHttpErrorReceive)(Ark_Int32 nodeId, + const Ark_OnHttpErrorReceiveEvent data); + void (*onDownloadStart)(Ark_Int32 nodeId, + const Ark_OnDownloadStartEvent data); + void (*onRefreshAccessedHistory)(Ark_Int32 nodeId, + const Ark_OnRefreshAccessedHistoryEvent data); + void (*onUrlLoadIntercept)(Ark_Int32 nodeId, + const Opt_Literal_Union_String_WebResourceRequest_data event); + void (*onSslErrorReceive)(Ark_Int32 nodeId, + const Opt_Literal_Function_handler_CustomObject_error event); + void (*onShowFileSelector)(Ark_Int32 nodeId, + const Ark_OnShowFileSelectorEvent data); + void (*onFileSelectorShow)(Ark_Int32 nodeId, + const Opt_Literal_Function_callback_CustomObject_fileSelector event); + void (*onResourceLoad)(Ark_Int32 nodeId, + const Ark_OnResourceLoadEvent data); void (*onFullScreenExit)(Ark_Int32 nodeId); - void (*onFullScreenEnter)(Ark_Int32 nodeId, const Ark_FullScreenEnterEvent event); - void (*onScaleChange)(Ark_Int32 nodeId, const Ark_OnScaleChangeEvent data); - void (*onHttpAuthRequest)(Ark_Int32 nodeId, const Ark_OnHttpAuthRequestEvent data); - void (*onInterceptRequest)(Ark_Int32 nodeId, const Ark_OnInterceptRequestEvent data); - void (*onPermissionRequest)(Ark_Int32 nodeId, const Ark_OnPermissionRequestEvent data); - void (*onScreenCaptureRequest)(Ark_Int32 nodeId, const Ark_OnScreenCaptureRequestEvent data); - void (*onContextMenuShow)(Ark_Int32 nodeId, const Ark_OnContextMenuShowEvent data); + void (*onFullScreenEnter)(Ark_Int32 nodeId, + const Ark_FullScreenEnterEvent event); + void (*onScaleChange)(Ark_Int32 nodeId, + const Ark_OnScaleChangeEvent data); + void (*onHttpAuthRequest)(Ark_Int32 nodeId, + const Ark_OnHttpAuthRequestEvent data); + void (*onInterceptRequest)(Ark_Int32 nodeId, + const Ark_OnInterceptRequestEvent data); + void (*onPermissionRequest)(Ark_Int32 nodeId, + const Ark_OnPermissionRequestEvent data); + void (*onScreenCaptureRequest)(Ark_Int32 nodeId, + const Ark_OnScreenCaptureRequestEvent data); + void (*onContextMenuShow)(Ark_Int32 nodeId, + const Ark_OnContextMenuShowEvent data); void (*onContextMenuHide)(Ark_Int32 nodeId); - void (*onSearchResultReceive)(Ark_Int32 nodeId, const Ark_OnSearchResultReceiveEvent data); - void (*onScroll)(Ark_Int32 nodeId, const Ark_OnScrollEvent data); - void (*onSslErrorEventReceive)(Ark_Int32 nodeId, const Ark_OnSslErrorEventReceiveEvent data); - void (*onSslErrorEvent)(Ark_Int32 nodeId, const Ark_SslErrorEvent sslErrorEvent); - void (*onClientAuthenticationRequest)(Ark_Int32 nodeId, const Ark_OnClientAuthenticationEvent data); - void (*onWindowNew)(Ark_Int32 nodeId, const Ark_OnWindowNewEvent data); + void (*onSearchResultReceive)(Ark_Int32 nodeId, + const Ark_OnSearchResultReceiveEvent data); + void (*onScroll)(Ark_Int32 nodeId, + const Ark_OnScrollEvent data); + void (*onSslErrorEventReceive)(Ark_Int32 nodeId, + const Ark_OnSslErrorEventReceiveEvent data); + void (*onSslErrorEvent)(Ark_Int32 nodeId, + const Ark_SslErrorEvent sslErrorEvent); + void (*onClientAuthenticationRequest)(Ark_Int32 nodeId, + const Ark_OnClientAuthenticationEvent data); + void (*onWindowNew)(Ark_Int32 nodeId, + const Ark_OnWindowNewEvent data); void (*onWindowExit)(Ark_Int32 nodeId); - void (*onInterceptKeyEvent)(Ark_Int32 nodeId, const Ark_KeyEvent event); - void (*onTouchIconUrlReceived)(Ark_Int32 nodeId, const Ark_OnTouchIconUrlReceivedEvent data); - void (*onFaviconReceived)(Ark_Int32 nodeId, const Ark_OnFaviconReceivedEvent data); - void (*onPageVisible)(Ark_Int32 nodeId, const Ark_OnPageVisibleEvent data); - void (*onDataResubmitted)(Ark_Int32 nodeId, const Ark_OnDataResubmittedEvent data); - void (*onAudioStateChanged)(Ark_Int32 nodeId, const Ark_OnAudioStateChangedEvent data); - void (*onFirstContentfulPaint)(Ark_Int32 nodeId, const Ark_OnFirstContentfulPaintEvent data); - void (*onFirstMeaningfulPaint)(Ark_Int32 nodeId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint); - void (*onLargestContentfulPaint)(Ark_Int32 nodeId, const Ark_LargestContentfulPaint largestContentfulPaint); - void (*onLoadIntercept)(Ark_Int32 nodeId, const Ark_OnLoadInterceptEvent data); + void (*onInterceptKeyEvent)(Ark_Int32 nodeId, + const Ark_KeyEvent event); + void (*onTouchIconUrlReceived)(Ark_Int32 nodeId, + const Ark_OnTouchIconUrlReceivedEvent data); + void (*onFaviconReceived)(Ark_Int32 nodeId, + const Ark_OnFaviconReceivedEvent data); + void (*onPageVisible)(Ark_Int32 nodeId, + const Ark_OnPageVisibleEvent data); + void (*onDataResubmitted)(Ark_Int32 nodeId, + const Ark_OnDataResubmittedEvent data); + void (*onAudioStateChanged)(Ark_Int32 nodeId, + const Ark_OnAudioStateChangedEvent data); + void (*onFirstContentfulPaint)(Ark_Int32 nodeId, + const Ark_OnFirstContentfulPaintEvent data); + void (*onFirstMeaningfulPaint)(Ark_Int32 nodeId, + const Ark_FirstMeaningfulPaint firstMeaningfulPaint); + void (*onLargestContentfulPaint)(Ark_Int32 nodeId, + const Ark_LargestContentfulPaint largestContentfulPaint); + void (*onLoadIntercept)(Ark_Int32 nodeId, + const Ark_OnLoadInterceptEvent data); void (*onControllerAttached)(Ark_Int32 nodeId); - void (*onOverScroll)(Ark_Int32 nodeId, const Ark_OnOverScrollEvent data); - void (*onSafeBrowsingCheckResult)(Ark_Int32 nodeId, const Ark_Int32 threatType); - void (*onNavigationEntryCommitted)(Ark_Int32 nodeId, const Ark_LoadCommittedDetails loadCommittedDetails); - void (*onIntelligentTrackingPreventionResult)(Ark_Int32 nodeId, const Ark_IntelligentTrackingPreventionDetails details); - void (*onNativeEmbedLifecycleChange)(Ark_Int32 nodeId, const Ark_NativeEmbedDataInfo event); - void (*onNativeEmbedGestureEvent)(Ark_Int32 nodeId, const Ark_NativeEmbedTouchInfo event); - void (*onOverrideUrlLoading)(Ark_Int32 nodeId, const Ark_Materialized webResourceRequest); - void (*onRenderProcessNotResponding)(Ark_Int32 nodeId, const Ark_RenderProcessNotRespondingData data); + void (*onOverScroll)(Ark_Int32 nodeId, + const Ark_OnOverScrollEvent data); + void (*onSafeBrowsingCheckResult)(Ark_Int32 nodeId, + const Ark_Int32 threatType); + void (*onNavigationEntryCommitted)(Ark_Int32 nodeId, + const Ark_LoadCommittedDetails loadCommittedDetails); + void (*onIntelligentTrackingPreventionResult)(Ark_Int32 nodeId, + const Ark_IntelligentTrackingPreventionDetails details); + void (*onNativeEmbedLifecycleChange)(Ark_Int32 nodeId, + const Ark_NativeEmbedDataInfo event); + void (*onNativeEmbedGestureEvent)(Ark_Int32 nodeId, + const Ark_NativeEmbedTouchInfo event); + void (*onOverrideUrlLoading)(Ark_Int32 nodeId, + const Ark_Materialized webResourceRequest); + void (*onRenderProcessNotResponding)(Ark_Int32 nodeId, + const Ark_RenderProcessNotRespondingData data); void (*onRenderProcessResponding)(Ark_Int32 nodeId); - void (*onViewportFitChanged)(Ark_Int32 nodeId, const Ark_Int32 viewportFit); - void (*onInterceptKeyboardAttach)(Ark_Int32 nodeId, const Ark_WebKeyboardCallbackInfo keyboardCallbackInfo); - void (*onAdsBlocked)(Ark_Int32 nodeId, const Ark_AdsBlockedDetails details); + void (*onViewportFitChanged)(Ark_Int32 nodeId, + const Ark_Int32 viewportFit); + void (*onInterceptKeyboardAttach)(Ark_Int32 nodeId, + const Ark_WebKeyboardCallbackInfo keyboardCallbackInfo); + void (*onAdsBlocked)(Ark_Int32 nodeId, + const Ark_AdsBlockedDetails details); } GENERATED_ArkUIWebEventsReceiver; typedef struct GENERATED_ArkUIXComponentEventsReceiver { - void (*onLoad)(Ark_Int32 nodeId, const Opt_CustomObject event); + void (*onLoad)(Ark_Int32 nodeId, + const Opt_CustomObject event); void (*onDestroy)(Ark_Int32 nodeId); } GENERATED_ArkUIXComponentEventsReceiver; typedef struct GENERATED_ArkUISideBarContainerEventsReceiver { - void (*onChange)(Ark_Int32 nodeId, const Ark_Boolean value); + void (*onChange)(Ark_Int32 nodeId, + const Ark_Boolean value); } GENERATED_ArkUISideBarContainerEventsReceiver; typedef struct GENERATED_ArkUIWaterFlowEventsReceiver { void (*onReachStart)(Ark_Int32 nodeId); void (*onReachEnd)(Ark_Int32 nodeId); - void (*onScrollFrameBegin)(Ark_Int32 nodeId, const Ark_Number offset, const Ark_Int32 state); - void (*onScrollIndex)(Ark_Int32 nodeId, const Ark_Number first, const Ark_Number last); + void (*onScrollFrameBegin)(Ark_Int32 nodeId, + const Ark_Number offset, + const Ark_Int32 state); + void (*onScrollIndex)(Ark_Int32 nodeId, + const Ark_Number first, + const Ark_Number last); } GENERATED_ArkUIWaterFlowEventsReceiver; typedef struct GENERATED_ArkUIUIExtensionComponentEventsReceiver { - void (*onTerminated)(Ark_Int32 nodeId, const Ark_TerminationInfo data); + void (*onTerminated)(Ark_Int32 nodeId, + const Ark_TerminationInfo data); } GENERATED_ArkUIUIExtensionComponentEventsReceiver; @@ -11022,6 +13597,7 @@ typedef struct GENERATED_ArkUINodeModifiers { typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIDrawModifierAccessor* (*getDrawModifierAccessor)(); + const GENERATED_ArkUIICurveAccessor* (*getICurveAccessor)(); const GENERATED_ArkUIPanGestureOptionsAccessor* (*getPanGestureOptionsAccessor)(); const GENERATED_ArkUIProgressMaskAccessor* (*getProgressMaskAccessor)(); const GENERATED_ArkUIAttributeModifierAccessor* (*getAttributeModifierAccessor)(); @@ -11096,12 +13672,6 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUILinearIndicatorControllerAccessor* (*getLinearIndicatorControllerAccessor)(); } GENERATED_ArkUIAccessors; -typedef struct GENERATED_ArkUIAnimation { -} GENERATED_ArkUIAnimation; - -typedef struct GENERATED_ArkUINavigation { -} GENERATED_ArkUINavigation; - typedef struct GENERATED_ArkUIGraphicsAPI { Ark_Int32 version; } GENERATED_ArkUIGraphicsAPI; @@ -11539,24 +14109,37 @@ typedef struct GENERATED_ArkUIBasicNodeAPI { Ark_Int32 version; /// Tree operations. - Ark_NodeHandle (*createNode)(GENERATED_Ark_NodeType type, Ark_Int32 id, Ark_Int32 flags); + Ark_NodeHandle (*createNode)(GENERATED_Ark_NodeType type, + Ark_Int32 id, Ark_Int32 flags); Ark_NodeHandle (*getNodeByViewStack)(); void (*disposeNode)(Ark_NodeHandle node); - Ark_Int32 (*addChild)(Ark_NodeHandle parent, Ark_NodeHandle child); - void (*removeChild)(Ark_NodeHandle parent, Ark_NodeHandle child); - Ark_Int32 (*insertChildAfter)(Ark_NodeHandle parent, Ark_NodeHandle child, Ark_NodeHandle sibling); - Ark_Int32 (*insertChildBefore)(Ark_NodeHandle parent, Ark_NodeHandle child, Ark_NodeHandle sibling); - Ark_Int32 (*insertChildAt)(Ark_NodeHandle parent, Ark_NodeHandle child, Ark_Int32 position); + void (*dumpTreeNode)(Ark_NodeHandle node); + + Ark_Int32 (*addChild)(Ark_NodeHandle parent, + Ark_NodeHandle child); + void (*removeChild)(Ark_NodeHandle parent, + Ark_NodeHandle child); + Ark_Int32 (*insertChildAfter)(Ark_NodeHandle parent, + Ark_NodeHandle child, Ark_NodeHandle sibling); + Ark_Int32 (*insertChildBefore)(Ark_NodeHandle parent, + Ark_NodeHandle child, + Ark_NodeHandle sibling); + Ark_Int32 (*insertChildAt)(Ark_NodeHandle parent, + Ark_NodeHandle child, + Ark_Int32 position); // Commit attributes updates for node. void (*applyModifierFinish)(Ark_NodeHandle nodePtr); // the flag can combine different flag like Ark_DIRTY_FLAG_MEASURE | Ark_DIRTY_FLAG_RENDER - void (*markDirty)(Ark_NodeHandle nodePtr, Ark_UInt32 dirtyFlag); + void (*markDirty)(Ark_NodeHandle nodePtr, + Ark_UInt32 dirtyFlag); Ark_Boolean (*isBuilderNode)(Ark_NodeHandle node); - Ark_Float32 (*convertLengthMetricsUnit)(Ark_Float32 value, Ark_Int32 originUnit, Ark_Int32 targetUnit); + Ark_Float32 (*convertLengthMetricsUnit)(Ark_Float32 value, + Ark_Int32 originUnit, + Ark_Int32 targetUnit); } GENERATED_ArkUIBasicNodeAPI; typedef void (*GENERATED_CustomEventReceiver)(GENERATED_Ark_CustomNodeEvent* event); @@ -11570,46 +14153,72 @@ typedef struct GENERATED_ArkUIExtendedNodeAPI { void (*setCallbackMethod)(GENERATED_Ark_APICallbackMethod* method); - // for ndk side, the custom node is not set in create. - void (*setCustomMethodFlag)(Ark_NodeHandle node, Ark_Int32 flag); + // the custom node is not set in create. + void (*setCustomMethodFlag)(Ark_NodeHandle node, + Ark_Int32 flag); Ark_Int32 (*getCustomMethodFlag)(Ark_NodeHandle node); - void (*registerCustomNodeAsyncEvent)(Ark_NodeHandle nodePtr, Ark_Int32 kind, void* extraParam); - Ark_Int32(*unregisterCustomNodeAsyncEvent)(Ark_NodeHandle nodePtr, Ark_Int32 kind); + void (*registerCustomNodeAsyncEvent)(Ark_NodeHandle nodePtr, + Ark_Int32 kind, + void* extraParam); + Ark_Int32(*unregisterCustomNodeAsyncEvent)(Ark_NodeHandle nodePtr, + Ark_Int32 kind); void (*registerCustomNodeAsyncEventReceiver)(GENERATED_CustomEventReceiver eventReceiver); // setCustomCallback is without the context - void (*setCustomCallback) (Ark_VMContext vmContext, Ark_NodeHandle node, Ark_Int32 callbackId); + void (*setCustomCallback) (Ark_VMContext vmContext, + Ark_NodeHandle node, + Ark_Int32 callbackId); // make void instead return type Ark_Int32 - Ark_Int32 (*measureLayoutAndDraw) (Ark_VMContext vmContext, Ark_NodeHandle node); - Ark_Int32 (*measureNode) (Ark_VMContext vmContext, Ark_NodeHandle node, Ark_Float32* data); - Ark_Int32 (*layoutNode) (Ark_VMContext vmContext, Ark_NodeHandle node, Ark_Float32 (*data)[2]); - Ark_Int32 (*drawNode) (Ark_VMContext vmContext, Ark_NodeHandle node, Ark_Float32* data); - void (*setAttachNodePtr) (Ark_NodeHandle node, void* value); + Ark_Int32 (*measureLayoutAndDraw) (Ark_VMContext vmContext, + Ark_NodeHandle node); + Ark_Int32 (*measureNode) (Ark_VMContext vmContext, + Ark_NodeHandle node, + Ark_Float32* data); + Ark_Int32 (*layoutNode) (Ark_VMContext vmContext, + Ark_NodeHandle node, + Ark_Float32 (*data)[2]); + Ark_Int32 (*drawNode) (Ark_VMContext vmContext, + Ark_NodeHandle node, + Ark_Float32* data); + void (*setAttachNodePtr) (Ark_NodeHandle node, + void* value); void* (*getAttachNodePtr) (Ark_NodeHandle node); // may be better to use int in px unit - void (*setMeasureWidth)(Ark_NodeHandle node, Ark_Int32 value); + void (*setMeasureWidth)(Ark_NodeHandle node, + Ark_Int32 value); Ark_Int32 (*getMeasureWidth)(Ark_NodeHandle node); - void (*setMeasureHeight)(Ark_NodeHandle node, Ark_Int32 value); + void (*setMeasureHeight)(Ark_NodeHandle node, + Ark_Int32 value); Ark_Int32 (*getMeasureHeight)(Ark_NodeHandle node); void (*setX)(Ark_NodeHandle node, Ark_Int32 value); Ark_Int32 (*getX)(Ark_NodeHandle node); - void (*setY)(Ark_NodeHandle node, Ark_Int32 value); + void (*setY)(Ark_NodeHandle node, + Ark_Int32 value); Ark_Int32 (*getY)(Ark_NodeHandle node); - void (*getLayoutConstraint)(Ark_NodeHandle node, Ark_Int32* value); - void (*setAlignment)(Ark_NodeHandle node, Ark_Int32 value); + void (*getLayoutConstraint)(Ark_NodeHandle node, + Ark_Int32* value); + void (*setAlignment)(Ark_NodeHandle node, + Ark_Int32 value); Ark_Int32 (*getAlignment)(Ark_NodeHandle node); - Ark_Int32 (*indexerChecker) (Ark_VMContext vmContext, Ark_NodeHandle node); - void (*setRangeUpdater)(Ark_NodeHandle node, Ark_Int32 updatedId); - void (*setLazyItemIndexer) (Ark_VMContext vmContext, Ark_NodeHandle node, Ark_Int32 indexerId); + Ark_Int32 (*indexerChecker) (Ark_VMContext vmContext, + Ark_NodeHandle node); + void (*setRangeUpdater)(Ark_NodeHandle node, + Ark_Int32 updatedId); + void (*setLazyItemIndexer) (Ark_VMContext vmContext, + Ark_NodeHandle node, + Ark_Int32 indexerId); /// Vsync support Ark_PipelineContext (*getPipelineContext)(Ark_NodeHandle node); - void (*setVsyncCallback)(Ark_VMContext vmContext, Ark_PipelineContext pipelineContext, Ark_Int32 callbackId); - void (*unblockVsyncWait)(Ark_VMContext vmContext, Ark_PipelineContext pipelineContext); + void (*setVsyncCallback)(Ark_VMContext vmContext, + Ark_PipelineContext pipelineContext, + Ark_Int32 callbackId); + void (*unblockVsyncWait)(Ark_VMContext vmContext, + Ark_PipelineContext pipelineContext); /// Events /** @@ -11624,8 +14233,11 @@ typedef struct GENERATED_ArkUIExtendedNodeAPI { * it will be picked up later by checkEvent(). */ void (*sendEvent)(GENERATED_Ark_NodeEvent* event); - void (*callContinuation)(Ark_Int32 continuationId, Ark_Int32 argCount, GENERATED_Ark_EventCallbackArg* args); - void (*setChildTotalCount)(Ark_NodeHandle node, Ark_Int32 totalCount); + void (*callContinuation)(Ark_Int32 continuationId, + Ark_Int32 argCount, + GENERATED_Ark_EventCallbackArg* args); + void (*setChildTotalCount)(Ark_NodeHandle node, + Ark_Int32 totalCount); /// Error reporting. void (*showCrash)(Ark_CharPtr message); @@ -11642,8 +14254,6 @@ typedef struct GENERATED_ArkUIFullNodeAPI { Ark_Int32 version; const GENERATED_ArkUINodeModifiers* (*getNodeModifiers)(); const GENERATED_ArkUIAccessors* (*getAccessors)(); - const GENERATED_ArkUIAnimation* (*getAnimation)(); - const GENERATED_ArkUINavigation* (*getNavigation)(); const GENERATED_ArkUIGraphicsAPI* (*getGraphicsAPI)(); const GENERATED_ArkUIEventsAPI* (*getEventsAPI)(); const GENERATED_ArkUIExtendedNodeAPI* (*getExtendedAPI)(); @@ -11664,12 +14274,7 @@ struct Ark_AnyAPI { }; #endif -#endif // GENERATED_FOUNDATION_ACE_FRAMEWORKS_CORE_INTERFACES_ARKOALA_API_H +/* clang-format on */ -/* - For debug purpose: - Current commit of idlize - 2024/08/05 11:29:01 531c97b9684acaf7e0e5ddd18db930ae0d22b90b !1031 Openlab CLI -* add openlab cli - */ +#endif // GENERATED_FOUNDATION_ACE_FRAMEWORKS_CORE_INTERFACES_ARKOALA_API_H diff --git a/arkoala/framework/native/src/generated/bridge_generated.cc b/arkoala/framework/native/src/generated/bridge_generated.cc index eafb9f50b840c856a4370954dd87fd56ef669d6d..e660047395c325453cf75bca932688d768233755 100644 --- a/arkoala/framework/native/src/generated/bridge_generated.cc +++ b/arkoala/framework/native/src/generated/bridge_generated.cc @@ -32,10 +32,10 @@ static const GENERATED_ArkUINodeModifiers* GetNodeModifiers() { return GetFullImpl()->getAccessors(); } -void impl_BlankInterface__setBlankOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_BlankInterface_setBlankOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Opt_Type_BlankInterface__setBlankOptions_Arg0 min_value; + Opt_Type_BlankInterface_setBlankOptions_Arg0 min_value; { const auto runtimeType = static_cast(thisDeserializer.readInt8()); min_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -55,9 +55,9 @@ void impl_BlankInterface__setBlankOptions(Ark_NativePointer thisPtr, uint8_t* th } } } - GetNodeModifiers()->getBlankModifier()->_setBlankOptions(self, (const Opt_Type_BlankInterface__setBlankOptions_Arg0*)&min_value); + GetNodeModifiers()->getBlankModifier()->setBlankOptions(self, (const Opt_Type_BlankInterface_setBlankOptions_Arg0*)&min_value); } -KOALA_INTEROP_V3(BlankInterface__setBlankOptions, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(BlankInterface_setBlankOptions, Ark_NativePointer, uint8_t*, int32_t) void impl_BlankAttribute_color(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); @@ -86,22 +86,22 @@ void impl_BlankAttribute_color(Ark_NativePointer thisPtr, uint8_t* thisArray, in } KOALA_INTEROP_V3(BlankAttribute_color, Ark_NativePointer, uint8_t*, int32_t) -void impl_ButtonInterface__setButtonOptions_(Ark_NativePointer thisPtr) { +void impl_ButtonInterface_setButtonOptions0(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getButtonModifier()->_setButtonOptions_(self); + GetNodeModifiers()->getButtonModifier()->setButtonOptions0(self); } -KOALA_INTEROP_V1(ButtonInterface__setButtonOptions_, Ark_NativePointer) +KOALA_INTEROP_V1(ButtonInterface_setButtonOptions0, Ark_NativePointer) -void impl_ButtonInterface__setButtonOptions_ButtonOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_ButtonInterface_setButtonOptions1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_ButtonOptions options_value; options_value = thisDeserializer.readButtonOptions(); - GetNodeModifiers()->getButtonModifier()->_setButtonOptions_ButtonOptions(self, (const Ark_ButtonOptions*)&options_value); + GetNodeModifiers()->getButtonModifier()->setButtonOptions1(self, (const Ark_ButtonOptions*)&options_value); } -KOALA_INTEROP_V3(ButtonInterface__setButtonOptions_ButtonOptions, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(ButtonInterface_setButtonOptions1, Ark_NativePointer, uint8_t*, int32_t) -void impl_ButtonInterface__setButtonOptions_ResourceStr_ButtonOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_ButtonInterface_setButtonOptions2(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); ResourceStr label_value; @@ -126,9 +126,9 @@ void impl_ButtonInterface__setButtonOptions_ResourceStr_ButtonOptions(Ark_Native } } } - GetNodeModifiers()->getButtonModifier()->_setButtonOptions_ResourceStr_ButtonOptions(self, (const ResourceStr*)&label_value, (const Opt_ButtonOptions*)&options_value); + GetNodeModifiers()->getButtonModifier()->setButtonOptions2(self, (const ResourceStr*)&label_value, (const Opt_ButtonOptions*)&options_value); } -KOALA_INTEROP_V3(ButtonInterface__setButtonOptions_ResourceStr_ButtonOptions, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(ButtonInterface_setButtonOptions2, Ark_NativePointer, uint8_t*, int32_t) void impl_ButtonAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); @@ -259,7 +259,7 @@ void impl_ButtonAttribute_labelStyle(Ark_NativePointer thisPtr, uint8_t* thisArr } KOALA_INTEROP_V3(ButtonAttribute_labelStyle, Ark_NativePointer, uint8_t*, int32_t) -void impl_CheckboxInterface__setCheckboxOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_CheckboxInterface_setCheckboxOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Opt_CheckboxOptions options_value; @@ -272,9 +272,9 @@ void impl_CheckboxInterface__setCheckboxOptions(Ark_NativePointer thisPtr, uint8 } } } - GetNodeModifiers()->getCheckboxModifier()->_setCheckboxOptions(self, (const Opt_CheckboxOptions*)&options_value); + GetNodeModifiers()->getCheckboxModifier()->setCheckboxOptions(self, (const Opt_CheckboxOptions*)&options_value); } -KOALA_INTEROP_V3(CheckboxInterface__setCheckboxOptions, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(CheckboxInterface_setCheckboxOptions, Ark_NativePointer, uint8_t*, int32_t) void impl_CheckboxAttribute_select(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); @@ -366,10 +366,10 @@ void impl_CheckboxAttribute_contentModifier(Ark_NativePointer thisPtr, uint8_t* } KOALA_INTEROP_V3(CheckboxAttribute_contentModifier, Ark_NativePointer, uint8_t*, int32_t) -void impl_ColumnInterface__setColumnOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_ColumnInterface_setColumnOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Opt_Type_ColumnInterface__setColumnOptions_Arg0 value_value; + Opt_Type_ColumnInterface_setColumnOptions_Arg0 value_value; { const auto runtimeType = static_cast(thisDeserializer.readInt8()); value_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -400,9 +400,9 @@ void impl_ColumnInterface__setColumnOptions(Ark_NativePointer thisPtr, uint8_t* } } } - GetNodeModifiers()->getColumnModifier()->_setColumnOptions(self, (const Opt_Type_ColumnInterface__setColumnOptions_Arg0*)&value_value); + GetNodeModifiers()->getColumnModifier()->setColumnOptions(self, (const Opt_Type_ColumnInterface_setColumnOptions_Arg0*)&value_value); } -KOALA_INTEROP_V3(ColumnInterface__setColumnOptions, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(ColumnInterface_setColumnOptions, Ark_NativePointer, uint8_t*, int32_t) void impl_ColumnAttribute_alignItems(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); @@ -437,6 +437,155 @@ void impl_CommonMethod_height(Ark_NativePointer thisPtr, const KLength& value) { } KOALA_INTEROP_V2(CommonMethod_height, Ark_NativePointer, KLength) +void impl_CommonMethod_drawModifier(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_drawModifier_Arg0 modifier_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + modifier_value.value0 = static_cast(thisDeserializer.readMaterialized()); + modifier_value.selector = 0; + } + else if (selector == 1) { + modifier_value.value1 = Ark_Undefined(); + modifier_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setDrawModifier(self, (const Type_CommonMethod_drawModifier_Arg0*)&modifier_value); +} +KOALA_INTEROP_V3(CommonMethod_drawModifier, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_customProperty(Ark_NativePointer thisPtr, const KStringPtr& name, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_Object value_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + value_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + value_value.value = thisDeserializer.readObject(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setCustomProperty(self, (const Ark_String*)&name, (const Opt_Object*)&value_value); +} +KOALA_INTEROP_V4(CommonMethod_customProperty, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) + +void impl_CommonMethod_expandSafeArea(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_Array_SafeAreaType types_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + types_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&types_value.value, arrayLength); + for (int i = 0; i < arrayLength; i++) { + types_value.value.array[i] = thisDeserializer.readInt32(); + } + } + } + } + } + } + } + Opt_Array_SafeAreaEdge edges_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + edges_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&edges_value.value, arrayLength); + for (int i = 0; i < arrayLength; i++) { + edges_value.value.array[i] = thisDeserializer.readInt32(); + } + } + } + } + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setExpandSafeArea(self, (const Opt_Array_SafeAreaType*)&types_value, (const Opt_Array_SafeAreaEdge*)&edges_value); +} +KOALA_INTEROP_V3(CommonMethod_expandSafeArea, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_responseRegion(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_responseRegion_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value.value0, arrayLength); + for (int i = 0; i < arrayLength; i++) { + value_value.value0.array[i] = thisDeserializer.readRectangle(); + } + } + } + } + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readRectangle(); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setResponseRegion(self, (const Type_CommonMethod_responseRegion_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_responseRegion, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_mouseResponseRegion(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_mouseResponseRegion_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value.value0, arrayLength); + for (int i = 0; i < arrayLength; i++) { + value_value.value0.array[i] = thisDeserializer.readRectangle(); + } + } + } + } + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readRectangle(); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setMouseResponseRegion(self, (const Type_CommonMethod_mouseResponseRegion_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_mouseResponseRegion, Ark_NativePointer, uint8_t*, int32_t) + void impl_CommonMethod_size(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -461,6 +610,37 @@ void impl_CommonMethod_touchable(Ark_NativePointer thisPtr, Ark_Boolean value) { } KOALA_INTEROP_V2(CommonMethod_touchable, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_hitTestBehavior(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setHitTestBehavior(self, value); +} +KOALA_INTEROP_V2(CommonMethod_hitTestBehavior, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onChildTouchTest(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnChildTouchTest(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onChildTouchTest, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_layoutWeight(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_layoutWeight_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = static_cast::type>(thisDeserializer.readNumber()); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = static_cast::type>(thisDeserializer.readString()); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setLayoutWeight(self, (const Type_CommonMethod_layoutWeight_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_layoutWeight, Ark_NativePointer, uint8_t*, int32_t) + void impl_CommonMethod_padding(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -583,6 +763,46 @@ void impl_CommonMethod_margin(Ark_NativePointer thisPtr, uint8_t* thisArray, int } KOALA_INTEROP_V3(CommonMethod_margin, Ark_NativePointer, uint8_t*, int32_t) +void impl_CommonMethod_background(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + CustomBuilder builder_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + builder_value.value0 = static_cast::type>(thisDeserializer.readFunction()); + builder_value.selector = 0; + } + else if (selector == 1) { + builder_value.value1 = Ark_Undefined(); + builder_value.selector = 1; + } + } + Opt_Type_CommonMethod_background_Arg1 options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + std::decay::type& typedStruct2 = options_value.value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.align.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.align.value = thisDeserializer.readInt32(); + } + } + } + } + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBackground(self, (const CustomBuilder*)&builder_value, (const Opt_Type_CommonMethod_background_Arg1*)&options_value); +} +KOALA_INTEROP_V3(CommonMethod_background, Ark_NativePointer, uint8_t*, int32_t) + void impl_CommonMethod_backgroundColor(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -610,160 +830,2817 @@ void impl_CommonMethod_backgroundColor(Ark_NativePointer thisPtr, uint8_t* thisA } KOALA_INTEROP_V3(CommonMethod_backgroundColor, Ark_NativePointer, uint8_t*, int32_t) -void impl_CommonMethod_opacity(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_CommonMethod_pixelRound(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_CommonMethod_opacity_Arg0 value_value; + Ark_PixelRoundPolicy value_value; + value_value = thisDeserializer.readPixelRoundPolicy(); + GetNodeModifiers()->getCommonMethodModifier()->setPixelRound(self, (const Ark_PixelRoundPolicy*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_pixelRound, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_backgroundImage(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_backgroundImage_Arg0 src_value; { const int32_t selector = thisDeserializer.readInt8(); if (selector == 0) { - value_value.value0 = static_cast::type>(thisDeserializer.readNumber()); + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + src_value.value0.value0 = static_cast::type>(thisDeserializer.readString()); + src_value.value0.selector = 0; + } + else if (selector == 1) { + src_value.value0.value1 = thisDeserializer.readResource(); + src_value.value0.selector = 1; + } + } + src_value.selector = 0; + } + else if (selector == 1) { + src_value.value1 = thisDeserializer.readCustomObject("PixelMap"); + src_value.selector = 1; + } + } + Opt_ImageRepeat repeat_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + repeat_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + repeat_value.value = thisDeserializer.readInt32(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage(self, (const Type_CommonMethod_backgroundImage_Arg0*)&src_value, (const Opt_ImageRepeat*)&repeat_value); +} +KOALA_INTEROP_V3(CommonMethod_backgroundImage, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_backgroundImageSize(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_backgroundImageSize_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readSizeOptions(); value_value.selector = 0; } else if (selector == 1) { - value_value.value1 = thisDeserializer.readResource(); + value_value.value1 = thisDeserializer.readInt32(); value_value.selector = 1; } } - GetNodeModifiers()->getCommonMethodModifier()->setOpacity(self, (const Type_CommonMethod_opacity_Arg0*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageSize(self, (const Type_CommonMethod_backgroundImageSize_Arg0*)&value_value); } -KOALA_INTEROP_V3(CommonMethod_opacity, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(CommonMethod_backgroundImageSize, Ark_NativePointer, uint8_t*, int32_t) -void impl_CommonMethod_foregroundColor(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_CommonMethod_backgroundImagePosition(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_CommonMethod_foregroundColor_Arg0 value_value; + Type_CommonMethod_backgroundImagePosition_Arg0 value_value; { const int32_t selector = thisDeserializer.readInt8(); if (selector == 0) { + value_value.value0 = thisDeserializer.readPosition(); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readInt32(); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImagePosition(self, (const Type_CommonMethod_backgroundImagePosition_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_backgroundImagePosition, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_backgroundBlurStyle(Ark_NativePointer thisPtr, Ark_Int32 value, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_BackgroundBlurStyleOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { { - const int32_t selector = thisDeserializer.readInt8(); - if (selector == 0) { - value_value.value0.value0 = thisDeserializer.readInt32(); - value_value.value0.selector = 0; - } - else if (selector == 1) { - value_value.value0.value1 = static_cast::type>(thisDeserializer.readNumber()); - value_value.value0.selector = 1; - } - else if (selector == 2) { - value_value.value0.value2 = static_cast::type>(thisDeserializer.readString()); - value_value.value0.selector = 2; - } - else if (selector == 3) { - value_value.value0.value3 = thisDeserializer.readResource(); - value_value.value0.selector = 3; - } + options_value.value = thisDeserializer.readBackgroundBlurStyleOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBlurStyle(self, value, (const Opt_BackgroundBlurStyleOptions*)&options_value); +} +KOALA_INTEROP_V4(CommonMethod_backgroundBlurStyle, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t) + +void impl_CommonMethod_backgroundEffect(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_BackgroundEffectOptions options_value; + options_value = thisDeserializer.readBackgroundEffectOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundEffect(self, (const Ark_BackgroundEffectOptions*)&options_value); +} +KOALA_INTEROP_V3(CommonMethod_backgroundEffect, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_backgroundImageResizable(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ResizableOptions value_value; + value_value = thisDeserializer.readResizableOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageResizable(self, (const Ark_ResizableOptions*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_backgroundImageResizable, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_foregroundEffect(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ForegroundEffectOptions options_value; + options_value = thisDeserializer.readForegroundEffectOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setForegroundEffect(self, (const Ark_ForegroundEffectOptions*)&options_value); +} +KOALA_INTEROP_V3(CommonMethod_foregroundEffect, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_visualEffect(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject effect_value; + effect_value = thisDeserializer.readCustomObject("VisualEffect"); + GetNodeModifiers()->getCommonMethodModifier()->setVisualEffect(self, (const Ark_CustomObject*)&effect_value); +} +KOALA_INTEROP_V3(CommonMethod_visualEffect, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_backgroundFilter(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject filter_value; + filter_value = thisDeserializer.readCustomObject("Filter"); + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundFilter(self, (const Ark_CustomObject*)&filter_value); +} +KOALA_INTEROP_V3(CommonMethod_backgroundFilter, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_foregroundFilter(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject filter_value; + filter_value = thisDeserializer.readCustomObject("Filter"); + GetNodeModifiers()->getCommonMethodModifier()->setForegroundFilter(self, (const Ark_CustomObject*)&filter_value); +} +KOALA_INTEROP_V3(CommonMethod_foregroundFilter, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_compositingFilter(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject filter_value; + filter_value = thisDeserializer.readCustomObject("Filter"); + GetNodeModifiers()->getCommonMethodModifier()->setCompositingFilter(self, (const Ark_CustomObject*)&filter_value); +} +KOALA_INTEROP_V3(CommonMethod_compositingFilter, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_foregroundBlurStyle(Ark_NativePointer thisPtr, Ark_Int32 value, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_ForegroundBlurStyleOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readForegroundBlurStyleOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setForegroundBlurStyle(self, value, (const Opt_ForegroundBlurStyleOptions*)&options_value); +} +KOALA_INTEROP_V4(CommonMethod_foregroundBlurStyle, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t) + +void impl_CommonMethod_opacity(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_opacity_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = static_cast::type>(thisDeserializer.readNumber()); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readResource(); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setOpacity(self, (const Type_CommonMethod_opacity_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_opacity, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_border(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_BorderOptions value_value; + value_value = thisDeserializer.readBorderOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setBorder(self, (const Ark_BorderOptions*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_border, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_borderStyle(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_borderStyle_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readInt32(); + value_value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct2 = value_value.value1; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.top.value = thisDeserializer.readInt32(); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.right.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.right.value = thisDeserializer.readInt32(); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottom.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.bottom.value = thisDeserializer.readInt32(); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.left.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.left.value = thisDeserializer.readInt32(); + } + } + } + } + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBorderStyle(self, (const Type_CommonMethod_borderStyle_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_borderStyle, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_borderWidth(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_borderWidth_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = static_cast::type>(thisDeserializer.readLength()); + value_value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct2 = value_value.value1; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.top.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.right.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.right.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottom.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.bottom.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.left.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.left.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + } + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readLocalizedEdgeWidths(); + value_value.selector = 2; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBorderWidth(self, (const Type_CommonMethod_borderWidth_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_borderWidth, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_borderColor(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_borderColor_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0.value0 = thisDeserializer.readInt32(); + value_value.value0.selector = 0; + } + else if (selector == 1) { + value_value.value0.value1 = static_cast::type>(thisDeserializer.readNumber()); + value_value.value0.selector = 1; + } + else if (selector == 2) { + value_value.value0.value2 = static_cast::type>(thisDeserializer.readString()); + value_value.value0.selector = 2; + } + else if (selector == 3) { + value_value.value0.value3 = thisDeserializer.readResource(); + value_value.value0.selector = 3; + } + } + value_value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct2 = value_value.value1; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.top.value.value0 = thisDeserializer.readInt32(); + typedStruct2.top.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.top.value.value1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.top.value.selector = 1; + } + else if (selector == 2) { + typedStruct2.top.value.value2 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.top.value.selector = 2; + } + else if (selector == 3) { + typedStruct2.top.value.value3 = thisDeserializer.readResource(); + typedStruct2.top.value.selector = 3; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.right.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.right.value.value0 = thisDeserializer.readInt32(); + typedStruct2.right.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.right.value.value1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.right.value.selector = 1; + } + else if (selector == 2) { + typedStruct2.right.value.value2 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.right.value.selector = 2; + } + else if (selector == 3) { + typedStruct2.right.value.value3 = thisDeserializer.readResource(); + typedStruct2.right.value.selector = 3; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottom.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.bottom.value.value0 = thisDeserializer.readInt32(); + typedStruct2.bottom.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.bottom.value.value1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.bottom.value.selector = 1; + } + else if (selector == 2) { + typedStruct2.bottom.value.value2 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.bottom.value.selector = 2; + } + else if (selector == 3) { + typedStruct2.bottom.value.value3 = thisDeserializer.readResource(); + typedStruct2.bottom.value.selector = 3; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.left.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.left.value.value0 = thisDeserializer.readInt32(); + typedStruct2.left.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.left.value.value1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.left.value.selector = 1; + } + else if (selector == 2) { + typedStruct2.left.value.value2 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.left.value.selector = 2; + } + else if (selector == 3) { + typedStruct2.left.value.value3 = thisDeserializer.readResource(); + typedStruct2.left.value.selector = 3; + } + } + } + } + } + } + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readLocalizedEdgeColors(); + value_value.selector = 2; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBorderColor(self, (const Type_CommonMethod_borderColor_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_borderColor, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_borderRadius(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_borderRadius_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = static_cast::type>(thisDeserializer.readLength()); + value_value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct2 = value_value.value1; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.topLeft.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.topLeft.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.topRight.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.topRight.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottomLeft.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.bottomLeft.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottomRight.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.bottomRight.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + } + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readLocalizedBorderRadiuses(); + value_value.selector = 2; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBorderRadius(self, (const Type_CommonMethod_borderRadius_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_borderRadius, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_borderImage(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_BorderImageOption value_value; + value_value = thisDeserializer.readBorderImageOption(); + GetNodeModifiers()->getCommonMethodModifier()->setBorderImage(self, (const Ark_BorderImageOption*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_borderImage, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_outline(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_OutlineOptions value_value; + value_value = thisDeserializer.readOutlineOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setOutline(self, (const Ark_OutlineOptions*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_outline, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_outlineStyle(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_outlineStyle_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readInt32(); + value_value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct2 = value_value.value1; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.top.value = thisDeserializer.readInt32(); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.right.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.right.value = thisDeserializer.readInt32(); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottom.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.bottom.value = thisDeserializer.readInt32(); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.left.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.left.value = thisDeserializer.readInt32(); + } + } + } + } + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setOutlineStyle(self, (const Type_CommonMethod_outlineStyle_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_outlineStyle, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_outlineWidth(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_outlineWidth_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = static_cast::type>(thisDeserializer.readLength()); + value_value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct2 = value_value.value1; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.top.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.right.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.right.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottom.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.bottom.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.left.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.left.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + } + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setOutlineWidth(self, (const Type_CommonMethod_outlineWidth_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_outlineWidth, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_outlineColor(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_outlineColor_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0.value0 = thisDeserializer.readInt32(); + value_value.value0.selector = 0; + } + else if (selector == 1) { + value_value.value0.value1 = static_cast::type>(thisDeserializer.readNumber()); + value_value.value0.selector = 1; + } + else if (selector == 2) { + value_value.value0.value2 = static_cast::type>(thisDeserializer.readString()); + value_value.value0.selector = 2; + } + else if (selector == 3) { + value_value.value0.value3 = thisDeserializer.readResource(); + value_value.value0.selector = 3; + } + } + value_value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct2 = value_value.value1; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.top.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.top.value.value0 = thisDeserializer.readInt32(); + typedStruct2.top.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.top.value.value1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.top.value.selector = 1; + } + else if (selector == 2) { + typedStruct2.top.value.value2 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.top.value.selector = 2; + } + else if (selector == 3) { + typedStruct2.top.value.value3 = thisDeserializer.readResource(); + typedStruct2.top.value.selector = 3; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.right.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.right.value.value0 = thisDeserializer.readInt32(); + typedStruct2.right.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.right.value.value1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.right.value.selector = 1; + } + else if (selector == 2) { + typedStruct2.right.value.value2 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.right.value.selector = 2; + } + else if (selector == 3) { + typedStruct2.right.value.value3 = thisDeserializer.readResource(); + typedStruct2.right.value.selector = 3; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottom.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.bottom.value.value0 = thisDeserializer.readInt32(); + typedStruct2.bottom.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.bottom.value.value1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.bottom.value.selector = 1; + } + else if (selector == 2) { + typedStruct2.bottom.value.value2 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.bottom.value.selector = 2; + } + else if (selector == 3) { + typedStruct2.bottom.value.value3 = thisDeserializer.readResource(); + typedStruct2.bottom.value.selector = 3; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.left.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.left.value.value0 = thisDeserializer.readInt32(); + typedStruct2.left.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.left.value.value1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.left.value.selector = 1; + } + else if (selector == 2) { + typedStruct2.left.value.value2 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.left.value.selector = 2; + } + else if (selector == 3) { + typedStruct2.left.value.value3 = thisDeserializer.readResource(); + typedStruct2.left.value.selector = 3; + } + } + } + } + } + } + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readLocalizedEdgeColors(); + value_value.selector = 2; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setOutlineColor(self, (const Type_CommonMethod_outlineColor_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_outlineColor, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_outlineRadius(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_outlineRadius_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = static_cast::type>(thisDeserializer.readLength()); + value_value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct2 = value_value.value1; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.topLeft.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.topLeft.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.topRight.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.topRight.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottomLeft.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.bottomLeft.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.bottomRight.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.bottomRight.value = static_cast::type>(thisDeserializer.readLength()); + } + } + } + } + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setOutlineRadius(self, (const Type_CommonMethod_outlineRadius_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_outlineRadius, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_foregroundColor(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_foregroundColor_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0.value0 = thisDeserializer.readInt32(); + value_value.value0.selector = 0; + } + else if (selector == 1) { + value_value.value0.value1 = static_cast::type>(thisDeserializer.readNumber()); + value_value.value0.selector = 1; + } + else if (selector == 2) { + value_value.value0.value2 = static_cast::type>(thisDeserializer.readString()); + value_value.value0.selector = 2; + } + else if (selector == 3) { + value_value.value0.value3 = thisDeserializer.readResource(); + value_value.value0.selector = 3; + } + } + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readInt32(); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setForegroundColor(self, (const Type_CommonMethod_foregroundColor_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_foregroundColor, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_onClick(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnClick(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onClick, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onHover(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnHover(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onHover, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onAccessibilityHover(Ark_NativePointer thisPtr, Ark_Int32 callback) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityHover(self, makeArkFunctionFromId(callback)); +} +KOALA_INTEROP_V2(CommonMethod_onAccessibilityHover, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_hoverEffect(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setHoverEffect(self, value); +} +KOALA_INTEROP_V2(CommonMethod_hoverEffect, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onMouse(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnMouse(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onMouse, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onTouch(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnTouch(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onTouch, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onKeyEvent(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEvent(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onKeyEvent, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onKeyPreIme(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnKeyPreIme(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onKeyPreIme, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_focusable(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setFocusable(self, value); +} +KOALA_INTEROP_V2(CommonMethod_focusable, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_onFocus(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnFocus(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onFocus, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onBlur(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnBlur(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onBlur, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_groupDefaultFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setGroupDefaultFocus(self, value); +} +KOALA_INTEROP_V2(CommonMethod_groupDefaultFocus, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_focusOnTouch(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setFocusOnTouch(self, value); +} +KOALA_INTEROP_V2(CommonMethod_focusOnTouch, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_focusBox(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_FocusBoxStyle style_value; + style_value = thisDeserializer.readFocusBoxStyle(); + GetNodeModifiers()->getCommonMethodModifier()->setFocusBox(self, (const Ark_FocusBoxStyle*)&style_value); +} +KOALA_INTEROP_V3(CommonMethod_focusBox, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_focusScopeId(Ark_NativePointer thisPtr, const KStringPtr& id, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_Boolean isGroup_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + isGroup_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + isGroup_value.value = thisDeserializer.readBoolean(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setFocusScopeId(self, (const Ark_String*)&id, (const Opt_Boolean*)&isGroup_value); +} +KOALA_INTEROP_V4(CommonMethod_focusScopeId, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) + +void impl_CommonMethod_focusScopePriority(Ark_NativePointer thisPtr, const KStringPtr& scopeId, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_FocusPriority priority_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + priority_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + priority_value.value = thisDeserializer.readInt32(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setFocusScopePriority(self, (const Ark_String*)&scopeId, (const Opt_FocusPriority*)&priority_value); +} +KOALA_INTEROP_V4(CommonMethod_focusScopePriority, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) + +void impl_CommonMethod_animation(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_AnimateParam value_value; + value_value = thisDeserializer.readAnimateParam(); + GetNodeModifiers()->getCommonMethodModifier()->setAnimation(self, (const Ark_AnimateParam*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_animation, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_transition0(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_transition_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readTransitionOptions(); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readTransitionEffect(); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setTransition0(self, (const Type_CommonMethod_transition_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_transition0, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_transition1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_TransitionEffect effect_value; + effect_value = thisDeserializer.readTransitionEffect(); + Opt_Function onFinish_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + onFinish_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + onFinish_value.value = static_cast::type>(thisDeserializer.readFunction()); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setTransition1(self, (const Ark_TransitionEffect*)&effect_value, (const Opt_Function*)&onFinish_value); +} +KOALA_INTEROP_V3(CommonMethod_transition1, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_gesture(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_GestureType gesture_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + gesture_value.value0 = thisDeserializer.readTapGestureInterface(); + gesture_value.selector = 0; + } + else if (selector == 1) { + gesture_value.value1 = thisDeserializer.readLongPressGestureInterface(); + gesture_value.selector = 1; + } + else if (selector == 2) { + gesture_value.value2 = thisDeserializer.readPanGestureInterface(); + gesture_value.selector = 2; + } + else if (selector == 3) { + gesture_value.value3 = thisDeserializer.readPinchGestureInterface(); + gesture_value.selector = 3; + } + else if (selector == 4) { + gesture_value.value4 = thisDeserializer.readSwipeGestureInterface(); + gesture_value.selector = 4; + } + else if (selector == 5) { + gesture_value.value5 = thisDeserializer.readRotationGestureInterface(); + gesture_value.selector = 5; + } + else if (selector == 6) { + gesture_value.value6 = thisDeserializer.readGestureGroupInterface(); + gesture_value.selector = 6; + } + } + Opt_GestureMask mask_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + mask_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + mask_value.value = thisDeserializer.readInt32(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setGesture(self, (const Ark_GestureType*)&gesture_value, (const Opt_GestureMask*)&mask_value); +} +KOALA_INTEROP_V3(CommonMethod_gesture, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_priorityGesture(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_GestureType gesture_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + gesture_value.value0 = thisDeserializer.readTapGestureInterface(); + gesture_value.selector = 0; + } + else if (selector == 1) { + gesture_value.value1 = thisDeserializer.readLongPressGestureInterface(); + gesture_value.selector = 1; + } + else if (selector == 2) { + gesture_value.value2 = thisDeserializer.readPanGestureInterface(); + gesture_value.selector = 2; + } + else if (selector == 3) { + gesture_value.value3 = thisDeserializer.readPinchGestureInterface(); + gesture_value.selector = 3; + } + else if (selector == 4) { + gesture_value.value4 = thisDeserializer.readSwipeGestureInterface(); + gesture_value.selector = 4; + } + else if (selector == 5) { + gesture_value.value5 = thisDeserializer.readRotationGestureInterface(); + gesture_value.selector = 5; + } + else if (selector == 6) { + gesture_value.value6 = thisDeserializer.readGestureGroupInterface(); + gesture_value.selector = 6; + } + } + Opt_GestureMask mask_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + mask_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + mask_value.value = thisDeserializer.readInt32(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setPriorityGesture(self, (const Ark_GestureType*)&gesture_value, (const Opt_GestureMask*)&mask_value); +} +KOALA_INTEROP_V3(CommonMethod_priorityGesture, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_parallelGesture(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_GestureType gesture_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + gesture_value.value0 = thisDeserializer.readTapGestureInterface(); + gesture_value.selector = 0; + } + else if (selector == 1) { + gesture_value.value1 = thisDeserializer.readLongPressGestureInterface(); + gesture_value.selector = 1; + } + else if (selector == 2) { + gesture_value.value2 = thisDeserializer.readPanGestureInterface(); + gesture_value.selector = 2; + } + else if (selector == 3) { + gesture_value.value3 = thisDeserializer.readPinchGestureInterface(); + gesture_value.selector = 3; + } + else if (selector == 4) { + gesture_value.value4 = thisDeserializer.readSwipeGestureInterface(); + gesture_value.selector = 4; + } + else if (selector == 5) { + gesture_value.value5 = thisDeserializer.readRotationGestureInterface(); + gesture_value.selector = 5; + } + else if (selector == 6) { + gesture_value.value6 = thisDeserializer.readGestureGroupInterface(); + gesture_value.selector = 6; + } + } + Opt_GestureMask mask_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + mask_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + mask_value.value = thisDeserializer.readInt32(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setParallelGesture(self, (const Ark_GestureType*)&gesture_value, (const Opt_GestureMask*)&mask_value); +} +KOALA_INTEROP_V3(CommonMethod_parallelGesture, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_blur(Ark_NativePointer thisPtr, KInteropNumber value, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_BlurOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readBlurOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBlur(self, (const Ark_Number*)&value, (const Opt_BlurOptions*)&options_value); +} +KOALA_INTEROP_V4(CommonMethod_blur, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) + +void impl_CommonMethod_linearGradientBlur(Ark_NativePointer thisPtr, KInteropNumber value, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_LinearGradientBlurOptions options_value; + options_value = thisDeserializer.readLinearGradientBlurOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setLinearGradientBlur(self, (const Ark_Number*)&value, (const Ark_LinearGradientBlurOptions*)&options_value); +} +KOALA_INTEROP_V4(CommonMethod_linearGradientBlur, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) + +void impl_CommonMethod_motionBlur(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_MotionBlurOptions value_value; + value_value = thisDeserializer.readMotionBlurOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setMotionBlur(self, (const Ark_MotionBlurOptions*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_motionBlur, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_systemBarEffect(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setSystemBarEffect(self); +} +KOALA_INTEROP_V1(CommonMethod_systemBarEffect, Ark_NativePointer) + +void impl_CommonMethod_useShadowBatching(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setUseShadowBatching(self, value); +} +KOALA_INTEROP_V2(CommonMethod_useShadowBatching, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_useEffect(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setUseEffect(self, value); +} +KOALA_INTEROP_V2(CommonMethod_useEffect, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_renderGroup(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setRenderGroup(self, value); +} +KOALA_INTEROP_V2(CommonMethod_renderGroup, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_freeze(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setFreeze(self, value); +} +KOALA_INTEROP_V2(CommonMethod_freeze, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_onAppear(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnAppear(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onAppear, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onDisAppear(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnDisAppear(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onDisAppear, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onAttach(Ark_NativePointer thisPtr, Ark_Int32 callback) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnAttach(self, makeArkFunctionFromId(callback)); +} +KOALA_INTEROP_V2(CommonMethod_onAttach, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onDetach(Ark_NativePointer thisPtr, Ark_Int32 callback) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnDetach(self, makeArkFunctionFromId(callback)); +} +KOALA_INTEROP_V2(CommonMethod_onDetach, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onAreaChange(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnAreaChange(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onAreaChange, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_visibility(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setVisibility(self, value); +} +KOALA_INTEROP_V2(CommonMethod_visibility, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_alignSelf(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setAlignSelf(self, value); +} +KOALA_INTEROP_V2(CommonMethod_alignSelf, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_displayPriority(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setDisplayPriority(self, (const Ark_Number*)&value); +} +KOALA_INTEROP_V2(CommonMethod_displayPriority, Ark_NativePointer, KInteropNumber) + +void impl_CommonMethod_zIndex(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setZIndex(self, (const Ark_Number*)&value); +} +KOALA_INTEROP_V2(CommonMethod_zIndex, Ark_NativePointer, KInteropNumber) + +void impl_CommonMethod_sharedTransition(Ark_NativePointer thisPtr, const KStringPtr& id, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_sharedTransitionOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readsharedTransitionOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setSharedTransition(self, (const Ark_String*)&id, (const Opt_sharedTransitionOptions*)&options_value); +} +KOALA_INTEROP_V4(CommonMethod_sharedTransition, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) + +void impl_CommonMethod_direction(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setDirection(self, value); +} +KOALA_INTEROP_V2(CommonMethod_direction, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_position(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_position_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readPosition(); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readEdges(); + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readLocalizedEdges(); + value_value.selector = 2; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setPosition(self, (const Type_CommonMethod_position_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_position, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_offset(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_offset_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readPosition(); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readEdges(); + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readLocalizedEdges(); + value_value.selector = 2; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setOffset(self, (const Type_CommonMethod_offset_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_offset, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_enabled(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setEnabled(self, value); +} +KOALA_INTEROP_V2(CommonMethod_enabled, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_useSizeType(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_useSizeType_Arg0 value_value; + { + std::decay::type& typedStruct2 = value_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.xs.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.xs.value.value0 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.xs.value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct3 = typedStruct2.xs.value.value1; + typedStruct3.span = static_cast::type>(thisDeserializer.readNumber()); + typedStruct3.offset = static_cast::type>(thisDeserializer.readNumber()); + } + typedStruct2.xs.value.selector = 1; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.sm.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.sm.value.value0 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.sm.value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct3 = typedStruct2.sm.value.value1; + typedStruct3.span = static_cast::type>(thisDeserializer.readNumber()); + typedStruct3.offset = static_cast::type>(thisDeserializer.readNumber()); + } + typedStruct2.sm.value.selector = 1; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.md.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.md.value.value0 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.md.value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct3 = typedStruct2.md.value.value1; + typedStruct3.span = static_cast::type>(thisDeserializer.readNumber()); + typedStruct3.offset = static_cast::type>(thisDeserializer.readNumber()); + } + typedStruct2.md.value.selector = 1; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.lg.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.lg.value.value0 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.lg.value.selector = 0; + } + else if (selector == 1) { + { + std::decay::type& typedStruct3 = typedStruct2.lg.value.value1; + typedStruct3.span = static_cast::type>(thisDeserializer.readNumber()); + typedStruct3.offset = static_cast::type>(thisDeserializer.readNumber()); + } + typedStruct2.lg.value.selector = 1; + } + } + } + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setUseSizeType(self, (const Type_CommonMethod_useSizeType_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_useSizeType, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_alignRules0(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_AlignRuleOption value_value; + value_value = thisDeserializer.readAlignRuleOption(); + GetNodeModifiers()->getCommonMethodModifier()->setAlignRules0(self, (const Ark_AlignRuleOption*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_alignRules0, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_alignRules1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_LocalizedAlignRuleOptions alignRule_value; + alignRule_value = thisDeserializer.readLocalizedAlignRuleOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setAlignRules1(self, (const Ark_LocalizedAlignRuleOptions*)&alignRule_value); +} +KOALA_INTEROP_V3(CommonMethod_alignRules1, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_chainMode(Ark_NativePointer thisPtr, Ark_Int32 direction, Ark_Int32 style) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setChainMode(self, direction, style); +} +KOALA_INTEROP_V3(CommonMethod_chainMode, Ark_NativePointer, Ark_Int32, Ark_Int32) + +void impl_CommonMethod_aspectRatio(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setAspectRatio(self, (const Ark_Number*)&value); +} +KOALA_INTEROP_V2(CommonMethod_aspectRatio, Ark_NativePointer, KInteropNumber) + +void impl_CommonMethod_clickEffect(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_clickEffect_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readClickEffect(); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = Ark_Undefined(); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setClickEffect(self, (const Type_CommonMethod_clickEffect_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_clickEffect, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_onDragStart(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnDragStart(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onDragStart, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onDragEnter(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnDragEnter(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onDragEnter, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onDragMove(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnDragMove(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onDragMove, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onDragLeave(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnDragLeave(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onDragLeave, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onDrop(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnDrop(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onDrop, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onDragEnd(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnDragEnd(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onDragEnd, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_allowDrop(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_allowDrop_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value.value0, arrayLength); + for (int i = 0; i < arrayLength; i++) { + value_value.value0.array[i] = thisDeserializer.readCustomObject("UniformDataType"); + } + } + } + } + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = Ark_Undefined(); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setAllowDrop(self, (const Type_CommonMethod_allowDrop_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_allowDrop, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_dragPreview(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_dragPreview_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0.value0 = static_cast::type>(thisDeserializer.readFunction()); + value_value.value0.selector = 0; + } + else if (selector == 1) { + value_value.value0.value1 = Ark_Undefined(); + value_value.value0.selector = 1; + } + } + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readDragItemInfo(); + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = static_cast::type>(thisDeserializer.readString()); + value_value.selector = 2; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setDragPreview(self, (const Type_CommonMethod_dragPreview_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_dragPreview, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_dragPreviewOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_DragPreviewOptions value_value; + value_value = thisDeserializer.readDragPreviewOptions(); + Opt_DragInteractionOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readDragInteractionOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setDragPreviewOptions(self, (const Ark_DragPreviewOptions*)&value_value, (const Opt_DragInteractionOptions*)&options_value); +} +KOALA_INTEROP_V3(CommonMethod_dragPreviewOptions, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_onPreDrag(Ark_NativePointer thisPtr, Ark_Int32 callback) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnPreDrag(self, makeArkFunctionFromId(callback)); +} +KOALA_INTEROP_V2(CommonMethod_onPreDrag, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_overlay(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_overlay_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = static_cast::type>(thisDeserializer.readString()); + value_value.selector = 0; + } + else if (selector == 1) { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value1.value0 = static_cast::type>(thisDeserializer.readFunction()); + value_value.value1.selector = 0; + } + else if (selector == 1) { + value_value.value1.value1 = Ark_Undefined(); + value_value.value1.selector = 1; + } + } + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readCustomObject("ComponentContent"); + value_value.selector = 2; + } + } + Opt_OverlayOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readOverlayOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setOverlay(self, (const Type_CommonMethod_overlay_Arg0*)&value_value, (const Opt_OverlayOptions*)&options_value); +} +KOALA_INTEROP_V3(CommonMethod_overlay, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_linearGradient(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_linearGradient_Arg0 value_value; + { + std::decay::type& typedStruct2 = value_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.angle.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.angle.value.value0 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.angle.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.angle.value.value1 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.angle.value.selector = 1; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.direction.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.direction.value = thisDeserializer.readInt32(); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&typedStruct2.colors, arrayLength); + for (int i = 0; i < arrayLength; i++) { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + std::decay::type tmpTupleItem0 = {}; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + tmpTupleItem0.value0 = thisDeserializer.readInt32(); + tmpTupleItem0.selector = 0; + } + else if (selector == 1) { + tmpTupleItem0.value1 = static_cast::type>(thisDeserializer.readNumber()); + tmpTupleItem0.selector = 1; + } + else if (selector == 2) { + tmpTupleItem0.value2 = static_cast::type>(thisDeserializer.readString()); + tmpTupleItem0.selector = 2; + } + else if (selector == 3) { + tmpTupleItem0.value3 = thisDeserializer.readResource(); + tmpTupleItem0.selector = 3; + } + } + std::decay::type tmpTupleItem1 = {}; + tmpTupleItem1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.colors.array[i].value0 = tmpTupleItem0; + typedStruct2.colors.array[i].value1 = tmpTupleItem1; + } + } + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.repeating.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.repeating.value = thisDeserializer.readBoolean(); + } + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setLinearGradient(self, (const Type_CommonMethod_linearGradient_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_linearGradient, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_sweepGradient(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_sweepGradient_Arg0 value_value; + { + std::decay::type& typedStruct2 = value_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + std::decay::type tmpTupleItem0 = {}; + tmpTupleItem0 = static_cast::type>(thisDeserializer.readLength()); + std::decay::type tmpTupleItem1 = {}; + tmpTupleItem1 = static_cast::type>(thisDeserializer.readLength()); + typedStruct2.center.value0 = tmpTupleItem0; + typedStruct2.center.value1 = tmpTupleItem1; + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.start.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.start.value.value0 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.start.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.start.value.value1 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.start.value.selector = 1; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.end.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.end.value.value0 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.end.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.end.value.value1 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.end.value.selector = 1; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.rotation.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.rotation.value.value0 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.rotation.value.selector = 0; + } + else if (selector == 1) { + typedStruct2.rotation.value.value1 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.rotation.value.selector = 1; + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&typedStruct2.colors, arrayLength); + for (int i = 0; i < arrayLength; i++) { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + std::decay::type tmpTupleItem0 = {}; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + tmpTupleItem0.value0 = thisDeserializer.readInt32(); + tmpTupleItem0.selector = 0; + } + else if (selector == 1) { + tmpTupleItem0.value1 = static_cast::type>(thisDeserializer.readNumber()); + tmpTupleItem0.selector = 1; + } + else if (selector == 2) { + tmpTupleItem0.value2 = static_cast::type>(thisDeserializer.readString()); + tmpTupleItem0.selector = 2; + } + else if (selector == 3) { + tmpTupleItem0.value3 = thisDeserializer.readResource(); + tmpTupleItem0.selector = 3; + } + } + std::decay::type tmpTupleItem1 = {}; + tmpTupleItem1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.colors.array[i].value0 = tmpTupleItem0; + typedStruct2.colors.array[i].value1 = tmpTupleItem1; + } + } + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.repeating.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.repeating.value = thisDeserializer.readBoolean(); + } + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setSweepGradient(self, (const Type_CommonMethod_sweepGradient_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_sweepGradient, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_radialGradient(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_radialGradient_Arg0 value_value; + { + std::decay::type& typedStruct2 = value_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + std::decay::type tmpTupleItem0 = {}; + tmpTupleItem0 = static_cast::type>(thisDeserializer.readLength()); + std::decay::type tmpTupleItem1 = {}; + tmpTupleItem1 = static_cast::type>(thisDeserializer.readLength()); + typedStruct2.center.value0 = tmpTupleItem0; + typedStruct2.center.value1 = tmpTupleItem1; + } + } + } + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + typedStruct2.radius.value0 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.radius.selector = 0; + } + else if (selector == 1) { + typedStruct2.radius.value1 = static_cast::type>(thisDeserializer.readString()); + typedStruct2.radius.selector = 1; + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&typedStruct2.colors, arrayLength); + for (int i = 0; i < arrayLength; i++) { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + std::decay::type tmpTupleItem0 = {}; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + tmpTupleItem0.value0 = thisDeserializer.readInt32(); + tmpTupleItem0.selector = 0; + } + else if (selector == 1) { + tmpTupleItem0.value1 = static_cast::type>(thisDeserializer.readNumber()); + tmpTupleItem0.selector = 1; + } + else if (selector == 2) { + tmpTupleItem0.value2 = static_cast::type>(thisDeserializer.readString()); + tmpTupleItem0.selector = 2; + } + else if (selector == 3) { + tmpTupleItem0.value3 = thisDeserializer.readResource(); + tmpTupleItem0.selector = 3; + } + } + std::decay::type tmpTupleItem1 = {}; + tmpTupleItem1 = static_cast::type>(thisDeserializer.readNumber()); + typedStruct2.colors.array[i].value0 = tmpTupleItem0; + typedStruct2.colors.array[i].value1 = tmpTupleItem1; + } + } + } + } + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.repeating.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.repeating.value = thisDeserializer.readBoolean(); + } + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setRadialGradient(self, (const Type_CommonMethod_radialGradient_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_radialGradient, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_motionPath(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_MotionPathOptions value_value; + value_value = thisDeserializer.readMotionPathOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setMotionPath(self, (const Ark_MotionPathOptions*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_motionPath, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_shadow(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_shadow_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readShadowOptions(); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readInt32(); + value_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setShadow(self, (const Type_CommonMethod_shadow_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_shadow, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_blendMode(Ark_NativePointer thisPtr, Ark_Int32 value, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_BlendApplyType type_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + type_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + type_value.value = thisDeserializer.readInt32(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBlendMode(self, value, (const Opt_BlendApplyType*)&type_value); +} +KOALA_INTEROP_V4(CommonMethod_blendMode, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t) + +void impl_CommonMethod_clip0(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setClip0(self, value); +} +KOALA_INTEROP_V2(CommonMethod_clip0, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_clip1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_clip1_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readBoolean(); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readCircleAttribute(); + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readEllipseAttribute(); + value_value.selector = 2; + } + else if (selector == 3) { + value_value.value3 = thisDeserializer.readPathAttribute(); + value_value.selector = 3; + } + else if (selector == 4) { + value_value.value4 = thisDeserializer.readRectAttribute(); + value_value.selector = 4; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setClip1(self, (const Type_CommonMethod_clip1_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_clip1, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_clipShape(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_clipShape_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readCustomObject("CircleShape"); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readCustomObject("EllipseShape"); + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readCustomObject("PathShape"); + value_value.selector = 2; + } + else if (selector == 3) { + value_value.value3 = thisDeserializer.readCustomObject("RectShape"); + value_value.selector = 3; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setClipShape(self, (const Type_CommonMethod_clipShape_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_clipShape, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_mask0(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Materialized value_value; + value_value = static_cast(thisDeserializer.readMaterialized()); + GetNodeModifiers()->getCommonMethodModifier()->setMask0(self, (const Ark_Materialized*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_mask0, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_mask1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_mask1_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readCircleAttribute(); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readEllipseAttribute(); + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readPathAttribute(); + value_value.selector = 2; + } + else if (selector == 3) { + value_value.value3 = thisDeserializer.readRectAttribute(); + value_value.selector = 3; + } + else if (selector == 4) { + value_value.value4 = static_cast(thisDeserializer.readMaterialized()); + value_value.selector = 4; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setMask1(self, (const Type_CommonMethod_mask1_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_mask1, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_maskShape(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_maskShape_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readCustomObject("CircleShape"); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readCustomObject("EllipseShape"); + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = thisDeserializer.readCustomObject("PathShape"); + value_value.selector = 2; + } + else if (selector == 3) { + value_value.value3 = thisDeserializer.readCustomObject("RectShape"); + value_value.selector = 3; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setMaskShape(self, (const Type_CommonMethod_maskShape_Arg0*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_maskShape, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_geometryTransition0(Ark_NativePointer thisPtr, const KStringPtr& id) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition0(self, (const Ark_String*)&id); +} +KOALA_INTEROP_V2(CommonMethod_geometryTransition0, Ark_NativePointer, KStringPtr) + +void impl_CommonMethod_geometryTransition1(Ark_NativePointer thisPtr, const KStringPtr& id, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_GeometryTransitionOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readGeometryTransitionOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition1(self, (const Ark_String*)&id, (const Opt_GeometryTransitionOptions*)&options_value); +} +KOALA_INTEROP_V4(CommonMethod_geometryTransition1, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) + +void impl_CommonMethod_bindPopup(Ark_NativePointer thisPtr, Ark_Boolean show, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_bindPopup_Arg1 popup_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + popup_value.value0 = thisDeserializer.readPopupOptions(); + popup_value.selector = 0; + } + else if (selector == 1) { + popup_value.value1 = thisDeserializer.readCustomPopupOptions(); + popup_value.selector = 1; + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBindPopup(self, show, (const Type_CommonMethod_bindPopup_Arg1*)&popup_value); +} +KOALA_INTEROP_V4(CommonMethod_bindPopup, Ark_NativePointer, Ark_Boolean, uint8_t*, int32_t) + +void impl_CommonMethod_bindMenu0(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_bindMenu_Arg0 content_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&content_value.value0, arrayLength); + for (int i = 0; i < arrayLength; i++) { + content_value.value0.array[i] = thisDeserializer.readMenuElement(); + } + } + } + } + content_value.selector = 0; + } + else if (selector == 1) { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + content_value.value1.value0 = static_cast::type>(thisDeserializer.readFunction()); + content_value.value1.selector = 0; + } + else if (selector == 1) { + content_value.value1.value1 = Ark_Undefined(); + content_value.value1.selector = 1; + } + } + content_value.selector = 1; + } + } + Opt_MenuOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readMenuOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBindMenu0(self, (const Type_CommonMethod_bindMenu_Arg0*)&content_value, (const Opt_MenuOptions*)&options_value); +} +KOALA_INTEROP_V3(CommonMethod_bindMenu0, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_bindMenu1(Ark_NativePointer thisPtr, Ark_Boolean isShow, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_bindMenu1_Arg1 content_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&content_value.value0, arrayLength); + for (int i = 0; i < arrayLength; i++) { + content_value.value0.array[i] = thisDeserializer.readMenuElement(); + } + } + } + } + content_value.selector = 0; + } + else if (selector == 1) { + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + content_value.value1.value0 = static_cast::type>(thisDeserializer.readFunction()); + content_value.value1.selector = 0; + } + else if (selector == 1) { + content_value.value1.value1 = Ark_Undefined(); + content_value.value1.selector = 1; + } + } + content_value.selector = 1; + } + } + Opt_MenuOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readMenuOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBindMenu1(self, isShow, (const Type_CommonMethod_bindMenu1_Arg1*)&content_value, (const Opt_MenuOptions*)&options_value); +} +KOALA_INTEROP_V4(CommonMethod_bindMenu1, Ark_NativePointer, Ark_Boolean, uint8_t*, int32_t) + +void impl_CommonMethod_bindContextMenu0(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength, Ark_Int32 responseType) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + CustomBuilder content_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + content_value.value0 = static_cast::type>(thisDeserializer.readFunction()); + content_value.selector = 0; + } + else if (selector == 1) { + content_value.value1 = Ark_Undefined(); + content_value.selector = 1; + } + } + Opt_ContextMenuOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readContextMenuOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBindContextMenu0(self, (const CustomBuilder*)&content_value, responseType, (const Opt_ContextMenuOptions*)&options_value); +} +KOALA_INTEROP_V4(CommonMethod_bindContextMenu0, Ark_NativePointer, uint8_t*, int32_t, Ark_Int32) + +void impl_CommonMethod_bindContextMenu1(Ark_NativePointer thisPtr, Ark_Boolean isShown, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + CustomBuilder content_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + content_value.value0 = static_cast::type>(thisDeserializer.readFunction()); + content_value.selector = 0; + } + else if (selector == 1) { + content_value.value1 = Ark_Undefined(); + content_value.selector = 1; + } + } + Opt_ContextMenuOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readContextMenuOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBindContextMenu1(self, isShown, (const CustomBuilder*)&content_value, (const Opt_ContextMenuOptions*)&options_value); +} +KOALA_INTEROP_V4(CommonMethod_bindContextMenu1, Ark_NativePointer, Ark_Boolean, uint8_t*, int32_t) + +void impl_CommonMethod_bindContentCover0(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_Boolean isShow_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + isShow_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + isShow_value.value = thisDeserializer.readBoolean(); + } + } + } + CustomBuilder builder_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + builder_value.value0 = static_cast::type>(thisDeserializer.readFunction()); + builder_value.selector = 0; + } + else if (selector == 1) { + builder_value.value1 = Ark_Undefined(); + builder_value.selector = 1; + } + } + Opt_ModalTransition type_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + type_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + type_value.value = thisDeserializer.readInt32(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover0(self, (const Opt_Boolean*)&isShow_value, (const CustomBuilder*)&builder_value, (const Opt_ModalTransition*)&type_value); +} +KOALA_INTEROP_V3(CommonMethod_bindContentCover0, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_bindContentCover1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_Boolean isShow_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + isShow_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + isShow_value.value = thisDeserializer.readBoolean(); + } + } + } + CustomBuilder builder_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + builder_value.value0 = static_cast::type>(thisDeserializer.readFunction()); + builder_value.selector = 0; + } + else if (selector == 1) { + builder_value.value1 = Ark_Undefined(); + builder_value.selector = 1; + } + } + Opt_ContentCoverOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readContentCoverOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover1(self, (const Opt_Boolean*)&isShow_value, (const CustomBuilder*)&builder_value, (const Opt_ContentCoverOptions*)&options_value); +} +KOALA_INTEROP_V3(CommonMethod_bindContentCover1, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_bindSheet(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Opt_Boolean isShow_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + isShow_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + isShow_value.value = thisDeserializer.readBoolean(); + } + } + } + CustomBuilder builder_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + builder_value.value0 = static_cast::type>(thisDeserializer.readFunction()); + builder_value.selector = 0; + } + else if (selector == 1) { + builder_value.value1 = Ark_Undefined(); + builder_value.selector = 1; + } + } + Opt_SheetOptions options_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + options_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + options_value.value = thisDeserializer.readSheetOptions(); + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setBindSheet(self, (const Opt_Boolean*)&isShow_value, (const CustomBuilder*)&builder_value, (const Opt_SheetOptions*)&options_value); +} +KOALA_INTEROP_V3(CommonMethod_bindSheet, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_stateStyles(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_StateStyles value_value; + value_value = thisDeserializer.readStateStyles(); + GetNodeModifiers()->getCommonMethodModifier()->setStateStyles(self, (const Ark_StateStyles*)&value_value); +} +KOALA_INTEROP_V3(CommonMethod_stateStyles, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_restoreId(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setRestoreId(self, (const Ark_Number*)&value); +} +KOALA_INTEROP_V2(CommonMethod_restoreId, Ark_NativePointer, KInteropNumber) + +void impl_CommonMethod_onVisibleAreaChange(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Array_Number ratios_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&ratios_value, arrayLength); + for (int i = 0; i < arrayLength; i++) { + ratios_value.array[i] = static_cast::type>(thisDeserializer.readNumber()); + } + } + } + } + GetNodeModifiers()->getCommonMethodModifier()->setOnVisibleAreaChange(self, (const Array_Number*)&ratios_value, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V4(CommonMethod_onVisibleAreaChange, Ark_NativePointer, uint8_t*, int32_t, Ark_Int32) + +void impl_CommonMethod_sphericalEffect(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect(self, (const Ark_Number*)&value); +} +KOALA_INTEROP_V2(CommonMethod_sphericalEffect, Ark_NativePointer, KInteropNumber) + +void impl_CommonMethod_lightUpEffect(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect(self, (const Ark_Number*)&value); +} +KOALA_INTEROP_V2(CommonMethod_lightUpEffect, Ark_NativePointer, KInteropNumber) + +void impl_CommonMethod_pixelStretchEffect(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_PixelStretchEffectOptions options_value; + options_value = thisDeserializer.readPixelStretchEffectOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setPixelStretchEffect(self, (const Ark_PixelStretchEffectOptions*)&options_value); +} +KOALA_INTEROP_V3(CommonMethod_pixelStretchEffect, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_keyboardShortcut(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_CommonMethod_keyboardShortcut_Arg0 value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = static_cast::type>(thisDeserializer.readString()); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = thisDeserializer.readInt32(); + value_value.selector = 1; + } + } + Array_ModifierKey keys_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&keys_value, arrayLength); + for (int i = 0; i < arrayLength; i++) { + keys_value.array[i] = thisDeserializer.readInt32(); + } + } + } + } + Opt_Function action_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + action_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + action_value.value = static_cast::type>(thisDeserializer.readFunction()); } - value_value.selector = 0; - } - else if (selector == 1) { - value_value.value1 = thisDeserializer.readInt32(); - value_value.selector = 1; } } - GetNodeModifiers()->getCommonMethodModifier()->setForegroundColor(self, (const Type_CommonMethod_foregroundColor_Arg0*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setKeyboardShortcut(self, (const Type_CommonMethod_keyboardShortcut_Arg0*)&value_value, (const Array_ModifierKey*)&keys_value, (const Opt_Function*)&action_value); } -KOALA_INTEROP_V3(CommonMethod_foregroundColor, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(CommonMethod_keyboardShortcut, Ark_NativePointer, uint8_t*, int32_t) -void impl_CommonMethod_onClick(Ark_NativePointer thisPtr, Ark_Int32 event) { +void impl_CommonMethod_accessibilityGroup(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setOnClick(self, makeArkFunctionFromId(event)); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroup(self, value); } -KOALA_INTEROP_V2(CommonMethod_onClick, Ark_NativePointer, Ark_Int32) +KOALA_INTEROP_V2(CommonMethod_accessibilityGroup, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_onTouch(Ark_NativePointer thisPtr, Ark_Int32 event) { +void impl_CommonMethod_accessibilityText0(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setOnTouch(self, makeArkFunctionFromId(event)); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText0(self, (const Ark_String*)&value); } -KOALA_INTEROP_V2(CommonMethod_onTouch, Ark_NativePointer, Ark_Int32) +KOALA_INTEROP_V2(CommonMethod_accessibilityText0, Ark_NativePointer, KStringPtr) -void impl_CommonMethod_focusable(Ark_NativePointer thisPtr, Ark_Boolean value) { +void impl_CommonMethod_accessibilityText1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setFocusable(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Resource text_value; + text_value = thisDeserializer.readResource(); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText1(self, (const Ark_Resource*)&text_value); } -KOALA_INTEROP_V2(CommonMethod_focusable, Ark_NativePointer, Ark_Boolean) +KOALA_INTEROP_V3(CommonMethod_accessibilityText1, Ark_NativePointer, uint8_t*, int32_t) -void impl_CommonMethod_onFocus(Ark_NativePointer thisPtr, Ark_Int32 event) { +void impl_CommonMethod_accessibilityTextHint(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setOnFocus(self, makeArkFunctionFromId(event)); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextHint(self, (const Ark_String*)&value); } -KOALA_INTEROP_V2(CommonMethod_onFocus, Ark_NativePointer, Ark_Int32) +KOALA_INTEROP_V2(CommonMethod_accessibilityTextHint, Ark_NativePointer, KStringPtr) -void impl_CommonMethod_onAppear(Ark_NativePointer thisPtr, Ark_Int32 event) { +void impl_CommonMethod_accessibilityDescription0(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setOnAppear(self, makeArkFunctionFromId(event)); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription0(self, (const Ark_String*)&value); } -KOALA_INTEROP_V2(CommonMethod_onAppear, Ark_NativePointer, Ark_Int32) +KOALA_INTEROP_V2(CommonMethod_accessibilityDescription0, Ark_NativePointer, KStringPtr) -void impl_CommonMethod_onDisAppear(Ark_NativePointer thisPtr, Ark_Int32 event) { +void impl_CommonMethod_accessibilityDescription1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setOnDisAppear(self, makeArkFunctionFromId(event)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Resource description_value; + description_value = thisDeserializer.readResource(); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription1(self, (const Ark_Resource*)&description_value); } -KOALA_INTEROP_V2(CommonMethod_onDisAppear, Ark_NativePointer, Ark_Int32) +KOALA_INTEROP_V3(CommonMethod_accessibilityDescription1, Ark_NativePointer, uint8_t*, int32_t) -void impl_CommonMethod_visibility(Ark_NativePointer thisPtr, Ark_Int32 value) { +void impl_CommonMethod_accessibilityLevel(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setVisibility(self, value); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityLevel(self, (const Ark_String*)&value); } -KOALA_INTEROP_V2(CommonMethod_visibility, Ark_NativePointer, Ark_Int32) +KOALA_INTEROP_V2(CommonMethod_accessibilityLevel, Ark_NativePointer, KStringPtr) -void impl_CommonMethod_position(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_CommonMethod_accessibilityVirtualNode(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_CommonMethod_position_Arg0 value_value; + CustomBuilder builder_value; { const int32_t selector = thisDeserializer.readInt8(); if (selector == 0) { - value_value.value0 = thisDeserializer.readPosition(); - value_value.selector = 0; + builder_value.value0 = static_cast::type>(thisDeserializer.readFunction()); + builder_value.selector = 0; } else if (selector == 1) { - value_value.value1 = thisDeserializer.readEdges(); - value_value.selector = 1; - } - else if (selector == 2) { - value_value.value2 = thisDeserializer.readLocalizedEdges(); - value_value.selector = 2; + builder_value.value1 = Ark_Undefined(); + builder_value.selector = 1; } } - GetNodeModifiers()->getCommonMethodModifier()->setPosition(self, (const Type_CommonMethod_position_Arg0*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityVirtualNode(self, (const CustomBuilder*)&builder_value); } -KOALA_INTEROP_V3(CommonMethod_position, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(CommonMethod_accessibilityVirtualNode, Ark_NativePointer, uint8_t*, int32_t) -void impl_CommonMethod_offset(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_CommonMethod_obscured(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_CommonMethod_offset_Arg0 value_value; + Array_ObscuredReasons reasons_value; { - const int32_t selector = thisDeserializer.readInt8(); - if (selector == 0) { - value_value.value0 = thisDeserializer.readPosition(); - value_value.selector = 0; - } - else if (selector == 1) { - value_value.value1 = thisDeserializer.readEdges(); - value_value.selector = 1; - } - else if (selector == 2) { - value_value.value2 = thisDeserializer.readLocalizedEdges(); - value_value.selector = 2; + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + const auto arrayLength = thisDeserializer.readInt32(); + thisDeserializer.resizeArray::type, + std::decay::type>(&reasons_value, arrayLength); + for (int i = 0; i < arrayLength; i++) { + reasons_value.array[i] = thisDeserializer.readInt32(); + } + } } } - GetNodeModifiers()->getCommonMethodModifier()->setOffset(self, (const Type_CommonMethod_offset_Arg0*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setObscured(self, (const Array_ObscuredReasons*)&reasons_value); } -KOALA_INTEROP_V3(CommonMethod_offset, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(CommonMethod_obscured, Ark_NativePointer, uint8_t*, int32_t) -void impl_CommonMethod_enabled(Ark_NativePointer thisPtr, Ark_Boolean value) { +void impl_CommonMethod_reuseId(Ark_NativePointer thisPtr, const KStringPtr& id) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setEnabled(self, value); + GetNodeModifiers()->getCommonMethodModifier()->setReuseId(self, (const Ark_String*)&id); } -KOALA_INTEROP_V2(CommonMethod_enabled, Ark_NativePointer, Ark_Boolean) +KOALA_INTEROP_V2(CommonMethod_reuseId, Ark_NativePointer, KStringPtr) + +void impl_CommonMethod_renderFit(Ark_NativePointer thisPtr, Ark_Int32 fitMode) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setRenderFit(self, fitMode); +} +KOALA_INTEROP_V2(CommonMethod_renderFit, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_gestureModifier(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Materialized modifier_value; + modifier_value = static_cast(thisDeserializer.readMaterialized()); + GetNodeModifiers()->getCommonMethodModifier()->setGestureModifier(self, (const Ark_Materialized*)&modifier_value); +} +KOALA_INTEROP_V3(CommonMethod_gestureModifier, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_backgroundBrightness(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_BackgroundBrightnessOptions params_value; + params_value = thisDeserializer.readBackgroundBrightnessOptions(); + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBrightness(self, (const Ark_BackgroundBrightnessOptions*)¶ms_value); +} +KOALA_INTEROP_V3(CommonMethod_backgroundBrightness, Ark_NativePointer, uint8_t*, int32_t) + +void impl_CommonMethod_onGestureJudgeBegin(Ark_NativePointer thisPtr, Ark_Int32 callback) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnGestureJudgeBegin(self, makeArkFunctionFromId(callback)); +} +KOALA_INTEROP_V2(CommonMethod_onGestureJudgeBegin, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onGestureRecognizerJudgeBegin(Ark_NativePointer thisPtr, Ark_Int32 callback) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnGestureRecognizerJudgeBegin(self, makeArkFunctionFromId(callback)); +} +KOALA_INTEROP_V2(CommonMethod_onGestureRecognizerJudgeBegin, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_shouldBuiltInRecognizerParallelWith(Ark_NativePointer thisPtr, Ark_Int32 callback) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setShouldBuiltInRecognizerParallelWith(self, makeArkFunctionFromId(callback)); +} +KOALA_INTEROP_V2(CommonMethod_shouldBuiltInRecognizerParallelWith, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_monopolizeEvents(Ark_NativePointer thisPtr, Ark_Boolean monopolize) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setMonopolizeEvents(self, monopolize); +} +KOALA_INTEROP_V2(CommonMethod_monopolizeEvents, Ark_NativePointer, Ark_Boolean) + +void impl_CommonMethod_onTouchIntercept(Ark_NativePointer thisPtr, Ark_Int32 callback) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnTouchIntercept(self, makeArkFunctionFromId(callback)); +} +KOALA_INTEROP_V2(CommonMethod_onTouchIntercept, Ark_NativePointer, Ark_Int32) + +void impl_CommonMethod_onSizeChange(Ark_NativePointer thisPtr, Ark_Int32 event) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setOnSizeChange(self, makeArkFunctionFromId(event)); +} +KOALA_INTEROP_V2(CommonMethod_onSizeChange, Ark_NativePointer, Ark_Int32) -void impl_ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_ImageInterface_setImageOptions0(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_ImageInterface__setImageOptions_Arg0 src_value; + Type_ImageInterface_setImageOptions_Arg0 src_value; { const int32_t selector = thisDeserializer.readInt8(); if (selector == 0) { @@ -789,14 +3666,14 @@ void impl_ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor( src_value.selector = 2; } } - GetNodeModifiers()->getImageModifier()->_setImageOptions_PixelMapResourceStrDrawableDescriptor(self, (const Type_ImageInterface__setImageOptions_Arg0*)&src_value); + GetNodeModifiers()->getImageModifier()->setImageOptions0(self, (const Type_ImageInterface_setImageOptions_Arg0*)&src_value); } -KOALA_INTEROP_V3(ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(ImageInterface_setImageOptions0, Ark_NativePointer, uint8_t*, int32_t) -void impl_ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptorImageContent(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_ImageInterface_setImageOptions1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_ImageInterface__setImageOptions1_Arg0 src_value; + Type_ImageInterface_setImageOptions1_Arg0 src_value; { const int32_t selector = thisDeserializer.readInt8(); if (selector == 0) { @@ -826,14 +3703,14 @@ void impl_ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptorI src_value.selector = 3; } } - GetNodeModifiers()->getImageModifier()->_setImageOptions_PixelMapResourceStrDrawableDescriptorImageContent(self, (const Type_ImageInterface__setImageOptions1_Arg0*)&src_value); + GetNodeModifiers()->getImageModifier()->setImageOptions1(self, (const Type_ImageInterface_setImageOptions1_Arg0*)&src_value); } -KOALA_INTEROP_V3(ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptorImageContent, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(ImageInterface_setImageOptions1, Ark_NativePointer, uint8_t*, int32_t) -void impl_ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_ImageInterface_setImageOptions2(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_ImageInterface__setImageOptions2_Arg0 src_value; + Type_ImageInterface_setImageOptions2_Arg0 src_value; { const int32_t selector = thisDeserializer.readInt8(); if (selector == 0) { @@ -861,9 +3738,9 @@ void impl_ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor_ } Ark_ImageAIOptions imageAIOptions_value; imageAIOptions_value = thisDeserializer.readImageAIOptions(); - GetNodeModifiers()->getImageModifier()->_setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptions(self, (const Type_ImageInterface__setImageOptions2_Arg0*)&src_value, (const Ark_ImageAIOptions*)&imageAIOptions_value); + GetNodeModifiers()->getImageModifier()->setImageOptions2(self, (const Type_ImageInterface_setImageOptions2_Arg0*)&src_value, (const Ark_ImageAIOptions*)&imageAIOptions_value); } -KOALA_INTEROP_V3(ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptions, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(ImageInterface_setImageOptions2, Ark_NativePointer, uint8_t*, int32_t) void impl_ImageAttribute_alt(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); @@ -1085,10 +3962,10 @@ void impl_ImageAttribute_enhancedImageQuality(Ark_NativePointer thisPtr, uint8_t } KOALA_INTEROP_V3(ImageAttribute_enhancedImageQuality, Ark_NativePointer, uint8_t*, int32_t) -void impl_RowInterface__setRowOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { +void impl_RowInterface_setRowOptions(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Opt_Type_RowInterface__setRowOptions_Arg0 value_value; + Opt_Type_RowInterface_setRowOptions_Arg0 value_value; { const auto runtimeType = static_cast(thisDeserializer.readInt8()); value_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; @@ -1119,9 +3996,9 @@ void impl_RowInterface__setRowOptions(Ark_NativePointer thisPtr, uint8_t* thisAr } } } - GetNodeModifiers()->getRowModifier()->_setRowOptions(self, (const Opt_Type_RowInterface__setRowOptions_Arg0*)&value_value); + GetNodeModifiers()->getRowModifier()->setRowOptions(self, (const Opt_Type_RowInterface_setRowOptions_Arg0*)&value_value); } -KOALA_INTEROP_V3(RowInterface__setRowOptions, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V3(RowInterface_setRowOptions, Ark_NativePointer, uint8_t*, int32_t) void impl_RowAttribute_alignItems(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); @@ -1147,6 +4024,351 @@ KOALA_INTEROP_V3(RowAttribute_pointLight, Ark_NativePointer, uint8_t*, int32_t) // Accessors +Ark_NativePointer impl_DrawModifier_ctor() { + return GetAccessors()->getDrawModifierAccessor()->ctor(); +} +KOALA_INTEROP_0(DrawModifier_ctor, Ark_NativePointer) + +Ark_NativePointer impl_DrawModifier_getFinalizer() { + return GetAccessors()->getDrawModifierAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(DrawModifier_getFinalizer, Ark_NativePointer) + +void impl_DrawModifier_drawBehind(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + DrawModifierPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject drawContext_value; + drawContext_value = thisDeserializer.readCustomObject("DrawContext"); + GetAccessors()->getDrawModifierAccessor()->drawBehind(self, (const Ark_CustomObject*)&drawContext_value); +} +KOALA_INTEROP_V3(DrawModifier_drawBehind, Ark_NativePointer, uint8_t*, int32_t) + +void impl_DrawModifier_drawContent(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + DrawModifierPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject drawContext_value; + drawContext_value = thisDeserializer.readCustomObject("DrawContext"); + GetAccessors()->getDrawModifierAccessor()->drawContent(self, (const Ark_CustomObject*)&drawContext_value); +} +KOALA_INTEROP_V3(DrawModifier_drawContent, Ark_NativePointer, uint8_t*, int32_t) + +void impl_DrawModifier_drawFront(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + DrawModifierPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject drawContext_value; + drawContext_value = thisDeserializer.readCustomObject("DrawContext"); + GetAccessors()->getDrawModifierAccessor()->drawFront(self, (const Ark_CustomObject*)&drawContext_value); +} +KOALA_INTEROP_V3(DrawModifier_drawFront, Ark_NativePointer, uint8_t*, int32_t) + +void impl_DrawModifier_invalidate(Ark_NativePointer thisPtr) { + DrawModifierPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getDrawModifierAccessor()->invalidate(self); +} +KOALA_INTEROP_V1(DrawModifier_invalidate, Ark_NativePointer) + +Ark_NativePointer impl_ICurve_ctor() { + return GetAccessors()->getICurveAccessor()->ctor(); +} +KOALA_INTEROP_0(ICurve_ctor, Ark_NativePointer) + +Ark_NativePointer impl_ICurve_getFinalizer() { + return GetAccessors()->getICurveAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(ICurve_getFinalizer, Ark_NativePointer) + +Ark_Int32 impl_ICurve_interpolate(Ark_NativePointer thisPtr, KInteropNumber fraction) { + ICurvePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getICurveAccessor()->interpolate(self, (const Ark_Number*)&fraction); +} +KOALA_INTEROP_2(ICurve_interpolate, Ark_Int32, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_PanGestureOptions_ctor(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Opt_Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction value_value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + value_value.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + { + std::decay::type& typedStruct2 = value_value.value; + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.fingers.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.fingers.value = static_cast::type>(thisDeserializer.readNumber()); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.direction.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.direction.value = thisDeserializer.readInt32(); + } + } + } + { + const auto runtimeType = static_cast(thisDeserializer.readInt8()); + typedStruct2.distance.tag = runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; + if ((ARK_RUNTIME_UNDEFINED) != (runtimeType)) { + { + typedStruct2.distance.value = static_cast::type>(thisDeserializer.readNumber()); + } + } + } + } + } + } + } + return GetAccessors()->getPanGestureOptionsAccessor()->ctor((const Opt_Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction*)&value_value); +} +KOALA_INTEROP_2(PanGestureOptions_ctor, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_PanGestureOptions_getFinalizer() { + return GetAccessors()->getPanGestureOptionsAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(PanGestureOptions_getFinalizer, Ark_NativePointer) + +void impl_PanGestureOptions_setDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { + PanGestureOptionsPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureOptionsAccessor()->setDirection(self, value); +} +KOALA_INTEROP_V2(PanGestureOptions_setDirection, Ark_NativePointer, Ark_Int32) + +void impl_PanGestureOptions_setDistance(Ark_NativePointer thisPtr, KInteropNumber value) { + PanGestureOptionsPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureOptionsAccessor()->setDistance(self, (const Ark_Number*)&value); +} +KOALA_INTEROP_V2(PanGestureOptions_setDistance, Ark_NativePointer, KInteropNumber) + +void impl_PanGestureOptions_setFingers(Ark_NativePointer thisPtr, KInteropNumber value) { + PanGestureOptionsPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureOptionsAccessor()->setFingers(self, (const Ark_Number*)&value); +} +KOALA_INTEROP_V2(PanGestureOptions_setFingers, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_PanGestureOptions_getDirection(Ark_NativePointer thisPtr) { + PanGestureOptionsPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureOptionsAccessor()->getDirection(self); +} +KOALA_INTEROP_1(PanGestureOptions_getDirection, Ark_NativePointer, Ark_NativePointer) + +Ark_NativePointer impl_ProgressMask_ctor(KInteropNumber value, KInteropNumber total, uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + ResourceColor color_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + color_value.value0 = thisDeserializer.readInt32(); + color_value.selector = 0; + } + else if (selector == 1) { + color_value.value1 = static_cast::type>(thisDeserializer.readNumber()); + color_value.selector = 1; + } + else if (selector == 2) { + color_value.value2 = static_cast::type>(thisDeserializer.readString()); + color_value.selector = 2; + } + else if (selector == 3) { + color_value.value3 = thisDeserializer.readResource(); + color_value.selector = 3; + } + } + return GetAccessors()->getProgressMaskAccessor()->ctor((const Ark_Number*)&value, (const Ark_Number*)&total, (const ResourceColor*)&color_value); +} +KOALA_INTEROP_4(ProgressMask_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) + +Ark_NativePointer impl_ProgressMask_getFinalizer() { + return GetAccessors()->getProgressMaskAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(ProgressMask_getFinalizer, Ark_NativePointer) + +void impl_ProgressMask_updateProgress(Ark_NativePointer thisPtr, KInteropNumber value) { + ProgressMaskPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getProgressMaskAccessor()->updateProgress(self, (const Ark_Number*)&value); +} +KOALA_INTEROP_V2(ProgressMask_updateProgress, Ark_NativePointer, KInteropNumber) + +void impl_ProgressMask_updateColor(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + ProgressMaskPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + ResourceColor value_value; + { + const int32_t selector = thisDeserializer.readInt8(); + if (selector == 0) { + value_value.value0 = thisDeserializer.readInt32(); + value_value.selector = 0; + } + else if (selector == 1) { + value_value.value1 = static_cast::type>(thisDeserializer.readNumber()); + value_value.selector = 1; + } + else if (selector == 2) { + value_value.value2 = static_cast::type>(thisDeserializer.readString()); + value_value.selector = 2; + } + else if (selector == 3) { + value_value.value3 = thisDeserializer.readResource(); + value_value.selector = 3; + } + } + GetAccessors()->getProgressMaskAccessor()->updateColor(self, (const ResourceColor*)&value_value); +} +KOALA_INTEROP_V3(ProgressMask_updateColor, Ark_NativePointer, uint8_t*, int32_t) + +void impl_ProgressMask_enableBreathingAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { + ProgressMaskPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value); +} +KOALA_INTEROP_V2(ProgressMask_enableBreathingAnimation, Ark_NativePointer, Ark_Boolean) + +Ark_NativePointer impl_AttributeModifier_ctor() { + return GetAccessors()->getAttributeModifierAccessor()->ctor(); +} +KOALA_INTEROP_0(AttributeModifier_ctor, Ark_NativePointer) + +Ark_NativePointer impl_AttributeModifier_getFinalizer() { + return GetAccessors()->getAttributeModifierAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(AttributeModifier_getFinalizer, Ark_NativePointer) + +void impl_AttributeModifier_applyNormalAttribute(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + AttributeModifierPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject instance_value; + instance_value = static_cast::type>(thisDeserializer.readCustomObject("T")); + GetAccessors()->getAttributeModifierAccessor()->applyNormalAttribute(self, (const Ark_CustomObject*)&instance_value); +} +KOALA_INTEROP_V3(AttributeModifier_applyNormalAttribute, Ark_NativePointer, uint8_t*, int32_t) + +void impl_AttributeModifier_applyPressedAttribute(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + AttributeModifierPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject instance_value; + instance_value = static_cast::type>(thisDeserializer.readCustomObject("T")); + GetAccessors()->getAttributeModifierAccessor()->applyPressedAttribute(self, (const Ark_CustomObject*)&instance_value); +} +KOALA_INTEROP_V3(AttributeModifier_applyPressedAttribute, Ark_NativePointer, uint8_t*, int32_t) + +void impl_AttributeModifier_applyFocusedAttribute(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + AttributeModifierPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject instance_value; + instance_value = static_cast::type>(thisDeserializer.readCustomObject("T")); + GetAccessors()->getAttributeModifierAccessor()->applyFocusedAttribute(self, (const Ark_CustomObject*)&instance_value); +} +KOALA_INTEROP_V3(AttributeModifier_applyFocusedAttribute, Ark_NativePointer, uint8_t*, int32_t) + +void impl_AttributeModifier_applyDisabledAttribute(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + AttributeModifierPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject instance_value; + instance_value = static_cast::type>(thisDeserializer.readCustomObject("T")); + GetAccessors()->getAttributeModifierAccessor()->applyDisabledAttribute(self, (const Ark_CustomObject*)&instance_value); +} +KOALA_INTEROP_V3(AttributeModifier_applyDisabledAttribute, Ark_NativePointer, uint8_t*, int32_t) + +void impl_AttributeModifier_applySelectedAttribute(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + AttributeModifierPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject instance_value; + instance_value = static_cast::type>(thisDeserializer.readCustomObject("T")); + GetAccessors()->getAttributeModifierAccessor()->applySelectedAttribute(self, (const Ark_CustomObject*)&instance_value); +} +KOALA_INTEROP_V3(AttributeModifier_applySelectedAttribute, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_GestureModifier_ctor() { + return GetAccessors()->getGestureModifierAccessor()->ctor(); +} +KOALA_INTEROP_0(GestureModifier_ctor, Ark_NativePointer) + +Ark_NativePointer impl_GestureModifier_getFinalizer() { + return GetAccessors()->getGestureModifierAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(GestureModifier_getFinalizer, Ark_NativePointer) + +void impl_GestureModifier_applyGesture(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + GestureModifierPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_UIGestureEvent event_value; + event_value = thisDeserializer.readUIGestureEvent(); + GetAccessors()->getGestureModifierAccessor()->applyGesture(self, (const Ark_UIGestureEvent*)&event_value); +} +KOALA_INTEROP_V3(GestureModifier_applyGesture, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_GestureRecognizer_ctor() { + return GetAccessors()->getGestureRecognizerAccessor()->ctor(); +} +KOALA_INTEROP_0(GestureRecognizer_ctor, Ark_NativePointer) + +Ark_NativePointer impl_GestureRecognizer_getFinalizer() { + return GetAccessors()->getGestureRecognizerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(GestureRecognizer_getFinalizer, Ark_NativePointer) + +void impl_GestureRecognizer_getTag(Ark_NativePointer thisPtr) { + GestureRecognizerPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureRecognizerAccessor()->getTag(self); +} +KOALA_INTEROP_V1(GestureRecognizer_getTag, Ark_NativePointer) + +Ark_NativePointer impl_GestureRecognizer_getType(Ark_NativePointer thisPtr) { + GestureRecognizerPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->getType(self); +} +KOALA_INTEROP_1(GestureRecognizer_getType, Ark_NativePointer, Ark_NativePointer) + +Ark_Boolean impl_GestureRecognizer_isBuiltIn(Ark_NativePointer thisPtr) { + GestureRecognizerPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->isBuiltIn(self); +} +KOALA_INTEROP_1(GestureRecognizer_isBuiltIn, Ark_Boolean, Ark_NativePointer) + +void impl_GestureRecognizer_setEnabled(Ark_NativePointer thisPtr, Ark_Boolean isEnabled) { + GestureRecognizerPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureRecognizerAccessor()->setEnabled(self, isEnabled); +} +KOALA_INTEROP_V2(GestureRecognizer_setEnabled, Ark_NativePointer, Ark_Boolean) + +Ark_Boolean impl_GestureRecognizer_isEnabled(Ark_NativePointer thisPtr) { + GestureRecognizerPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->isEnabled(self); +} +KOALA_INTEROP_1(GestureRecognizer_isEnabled, Ark_Boolean, Ark_NativePointer) + +Ark_NativePointer impl_GestureRecognizer_getState(Ark_NativePointer thisPtr) { + GestureRecognizerPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->getState(self); +} +KOALA_INTEROP_1(GestureRecognizer_getState, Ark_NativePointer, Ark_NativePointer) + +Ark_NativePointer impl_GestureRecognizer_getEventTargetInfo(Ark_NativePointer thisPtr) { + GestureRecognizerPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->getEventTargetInfo(self); +} +KOALA_INTEROP_1(GestureRecognizer_getEventTargetInfo, Ark_NativePointer, Ark_NativePointer) + +Ark_NativePointer impl_EventTargetInfo_ctor() { + return GetAccessors()->getEventTargetInfoAccessor()->ctor(); +} +KOALA_INTEROP_0(EventTargetInfo_ctor, Ark_NativePointer) + +Ark_NativePointer impl_EventTargetInfo_getFinalizer() { + return GetAccessors()->getEventTargetInfoAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(EventTargetInfo_getFinalizer, Ark_NativePointer) + +void impl_EventTargetInfo_getId(Ark_NativePointer thisPtr) { + EventTargetInfoPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getEventTargetInfoAccessor()->getId(self); +} +KOALA_INTEROP_V1(EventTargetInfo_getId, Ark_NativePointer) + Ark_NativePointer impl_ContentModifier_ctor() { return GetAccessors()->getContentModifierAccessor()->ctor(); } diff --git a/arkoala/framework/native/src/generated/real_impl.cc b/arkoala/framework/native/src/generated/real_impl.cc index 07717bafdad89d6e5633c03c37208df121e9dc61..ee54f2bceb95cc8710e8dd1fd0b3504fea32b0bb 100644 --- a/arkoala/framework/native/src/generated/real_impl.cc +++ b/arkoala/framework/native/src/generated/real_impl.cc @@ -12,10 +12,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#include +#include + +#include "arkoala_api.h" +#include "arkoala_api_generated.h" #include "Serializers.h" #include "arkoala-logging.h" #include "common-interop.h" #include "arkoala-macros.h" +#include "tree.h" +#include "logging.h" typedef void (*AppendGroupedLogSignature)(int32_t, const std::string&); @@ -34,11 +41,304 @@ void dummyClassFinalizer(KNativePointer* ptr) { appendGroupedLog(1, out); } + +namespace TreeNodeDelays { + +void busyWait(Ark_Int64 nsDelay) { + if (nsDelay <= 0) { + return; + } + using namespace std::chrono; + auto start = steady_clock::now(); + auto now = start; + auto deadline = now + nanoseconds(nsDelay); + std::array buf; + for (; now < deadline; now = steady_clock::now()) { + auto nsNow = now.time_since_epoch().count(); + buf = { static_cast(nsNow%100 + 20), 19, 18, 17, 16, 15, 14, static_cast(nsNow%12) }; + for (int i = 0; i < 200; i++) { + std::next_permutation(buf.begin(), buf.end()); + } + } + //ARKOALA_LOG("Requested wait %f ms, actual %f ms\n", nsDelay/1000000.0f, (now - start).count()/1000000.0f); +} + +const int MAX_NODE_TYPE = 200; +std::array createNodeDelay = {};\ +std::array measureNodeDelay = {}; +std::array layoutNodeDelay = {}; +std::array drawNodeDelay = {}; + +void CheckType(GENERATED_Ark_NodeType type) { + if (type >= MAX_NODE_TYPE) { + LOG("Error: GENERATED_Ark_NodeType value is too big, change MAX_NODE_TYPE accordingly"); + throw "Error"; + } +} + +void SetCreateNodeDelay(GENERATED_Ark_NodeType type, Ark_Int64 nanoseconds) { + CheckType(type); + createNodeDelay[type] = nanoseconds; +} + +void SetMeasureNodeDelay(GENERATED_Ark_NodeType type, Ark_Int64 nanoseconds) { + CheckType(type); + measureNodeDelay[type] = nanoseconds; +} + +void SetLayoutNodeDelay(GENERATED_Ark_NodeType type, Ark_Int64 nanoseconds) { + CheckType(type); + layoutNodeDelay[type] = nanoseconds; +} + +void SetDrawNodeDelay(GENERATED_Ark_NodeType type, Ark_Int64 nanoseconds) { + CheckType(type); + drawNodeDelay[type] = nanoseconds; +} + +} + +inline Ark_NodeHandle AsNodeHandle(TreeNode* node) { + return reinterpret_cast(node); +} +inline TreeNode* AsNode(Ark_NodeHandle handle) { + return reinterpret_cast(handle); +} + +void DumpTree(TreeNode *node, Ark_Int32 indent) { + ARKOALA_LOG("%s[%s: %d]\n", string(indent * 2, ' ').c_str(), node->namePtr(), node->id()); + for (auto child: *node->children()) { + if (child) + DumpTree(child, indent + 1); + } +} + +GENERATED_Ark_APICallbackMethod *callbacks = nullptr; + +int TreeNode::_globalId = 1; +string TreeNode::_noAttribute; + +Ark_Float32 parseLength(Ark_Float32 parentValue, Ark_Float32 value, Ark_Int32 unit) { + switch (unit) { + //PX + case 0: { + const Ark_Float32 scale = 1; // TODO: need getting current device scale + return value * scale; + } + //PERCENTAGE + case 3: { + return parentValue / 100 * value; + } + default: + // VP, FP, LPX, UndefinedDimensionUnit: TODO: parse properly this units + return value; + } +} + +void align(TreeNode *child, Ark_Float32 width, Ark_Float32 height, Ark_Float32* args) { + switch (child->alignment) { + case 0: { // Alignment.TopStart + break; + } + case 3: { // Alignment.Start + args[1] += (height - child->measureResult[1]) / 2; + break; + } + case 6: { // Alignment.BottomStart + args[1] += height - child->measureResult[1]; + break; + } + case 1: { // Alignment.Top + args[0] += (width - child->measureResult[0]) / 2; + break; + } + case 4: { // Alignment.Center + args[0] += (width - child->measureResult[0]) / 2; + args[1] += (height - child->measureResult[1]) / 2; + break; + } + case 7: { // Alignment.Bottom + args[0] += (width - child->measureResult[0]) / 2; + args[1] += height - child->measureResult[1]; + break; + } + case 2: { // Alignment.TopEnd + args[0] += width - child->measureResult[0]; + break; + } + case 5: { // Alignment.End + args[0] += width - child->measureResult[0]; + args[1] += (height - child->measureResult[1]) / 2; + break; + } + case 8: { // Alignment.BottomEnd + args[0] += width - child->measureResult[0]; + args[1] += height - child->measureResult[1]; + break; + } + } +} + +GENERATED_Ark_EventCallbackArg arg(Ark_Float32 f32) { + GENERATED_Ark_EventCallbackArg result; + result.f32 = f32; + return result; +} + +GENERATED_Ark_EventCallbackArg arg(Ark_Int32 i32) { + GENERATED_Ark_EventCallbackArg result; + result.i32 = i32; + return result; +} + +ArkUI_Int32 TreeNode::measure(ArkUIVMContext vmContext, ArkUI_Float32* data) { + TreeNodeDelays::busyWait(TreeNodeDelays::measureNodeDelay[_customIntData]); + + Ark_Float32 minWidth = data[0]; + Ark_Float32 minHeight = data[1]; + Ark_Float32 maxWidth = data[2]; + Ark_Float32 maxHeight = data[3]; + if (_flags & ArkUIAPINodeFlags::CUSTOM_MEASURE) { + GENERATED_Ark_EventCallbackArg args[] = { arg(ArkUIAPICustomOp::MEASURE), arg(minWidth), arg(minHeight), arg(maxWidth), arg(maxHeight) }; + callbacks->CallInt(vmContext, customId(), 5, &args[0]); + _width = args[1].f32; + _height = args[2].f32; + return 0; + } + + const Ark_Float32 constraintWidth = data[0]; + const Ark_Float32 constraintHeight = data[1]; + + _width = parseLength(constraintWidth, dimensionWidth.value, dimensionWidth.unit); + _height = parseLength(constraintHeight, dimensionHeight.value, dimensionHeight.unit); + + Ark_Float32 itData[] = { minWidth, minHeight, minHeight, maxHeight }; + if (dimensionWidth.unit != UndefinedDimensionUnit) { + itData[0] = _width; + } + if (dimensionHeight.unit != UndefinedDimensionUnit) { + itData[1] = _height; + } + + const bool isWidthWrapped = dimensionWidth.unit == UndefinedDimensionUnit; + const bool isHeightWrapped = dimensionHeight.unit == UndefinedDimensionUnit; + + for (auto* it: *children()) { + it->measure(vmContext, &itData[0] ); + if (isWidthWrapped) { + _width = std::max(_width, itData[0]); + } + if (isHeightWrapped) { + _height = std::max(_height, itData[1]); + } + } + + data[0] = _width; + data[1] = _height; + + measureResult = &data[0]; + + // TODO: use return flag for dirty bits propagation. + return 0; +} + +ArkUICanvasHandle getCanvas(TreeNode* node) { + // TODO: real canvas. + return reinterpret_cast(0x123456789aLL); +} + +ArkUI_Int32 TreeNode::layout(ArkUIVMContext vmContext, ArkUI_Float32* data) { + TreeNodeDelays::busyWait(TreeNodeDelays::layoutNodeDelay[_customIntData]); + + if (_flags & ArkUIAPINodeFlags::CUSTOM_LAYOUT) { + GENERATED_Ark_EventCallbackArg args[] = { arg(ArkUIAPICustomOp::LAYOUT), arg(0.0f), arg(0.0f), arg(0.0f), arg(0.0f) }; + callbacks->CallInt(vmContext, customId(), 5, &args[0]); + return 0; + } + + _x = data[0]; + _y = data[1]; + + for (auto* it: *children()) { + Ark_Float32 itData[] = { data[0], data[1], data[2], data[3] }; + align(it, _width, _height, &itData[0]); + it->layout(vmContext, &itData[0]); + } + + layoutResult = &data[0]; + + // TODO: use return flag for dirty bits propagation. + return 0; +} + +ArkUI_Int32 TreeNode::draw(ArkUIVMContext vmContext, ArkUI_Float32* data) { + TreeNodeDelays::busyWait(TreeNodeDelays::drawNodeDelay[_customIntData]); + + if (_flags & ArkUIAPINodeFlags::CUSTOM_DRAW) { + uintptr_t canvas = reinterpret_cast(getCanvas(this)); + GENERATED_Ark_EventCallbackArg args[] = { + arg(ArkUIAPICustomOp::DRAW), + arg((Ark_Int32)(canvas & 0xffffffff)), + arg((Ark_Int32)((canvas >> 32) & 0xffffffff)), + arg(data[0]), arg(data[1]), arg(data[2]), arg(data[3]) + }; + callbacks->CallInt(vmContext, customId(), 7, &args[0]); + return 0; + } + for (auto* it: *children()) { + Ark_Float32 itData[] = { 0.0f, 0.0f, 0.0f, 0.0f }; + it->draw(vmContext, &itData[0]); + } + return 0; +} + +void TreeNode::setMeasureWidthValue(ArkUI_Int32 value) { + if (measureResult != nullptr) measureResult[0] = value; + _width = value; +} + +ArkUI_Int32 TreeNode::getMeasureWidthValue() { + return (measureResult == nullptr) ? 0 : measureResult[0]; +} + +void TreeNode::setMeasureHeightValue(ArkUI_Int32 value) { + if (measureResult != nullptr) measureResult[1] = value; + _height = value; +} + +ArkUI_Int32 TreeNode::getMeasureHeightValue() { + return (measureResult == nullptr) ? 0 : measureResult[1]; +} + +void TreeNode::setXValue(ArkUI_Int32 value) { + if (layoutResult != nullptr) layoutResult[0] = value; + _x = value; +} + +ArkUI_Int32 TreeNode::getXValue() { + return (layoutResult == nullptr) ? 0 : layoutResult[0]; +} + +void TreeNode::setYValue(ArkUI_Int32 value) { + if (layoutResult != nullptr) layoutResult[1] = value; + _y = value; +} + +ArkUI_Int32 TreeNode::getYValue() { + return (layoutResult == nullptr) ? 0 : layoutResult[1]; +} + + namespace OHOS::Ace::NG { + namespace Bridge { + Ark_NodeHandle CreateNode(GENERATED_Ark_NodeType type, Ark_Int32 id, Ark_Int32 flags) { - static uintptr_t peer_num = 1; - Ark_NodeHandle result = (Ark_NodeHandle) peer_num++; + TreeNodeDelays::CheckType(type); + TreeNodeDelays::busyWait(TreeNodeDelays::createNodeDelay[type]); + TreeNode *node = new TreeNode("node", id, flags); + node->setCustomIntData(type); + Ark_NodeHandle result = AsNodeHandle(node); if (needGroupedLog(2)) { std::string _logData; @@ -61,7 +361,9 @@ Ark_NodeHandle CreateNode(GENERATED_Ark_NodeType type, Ark_Int32 id, Ark_Int32 f return result; } -void SetCallbackMethod(GENERATED_Ark_APICallbackMethod* method) {} +void SetCallbackMethod(GENERATED_Ark_APICallbackMethod* method) { + callbacks = method; +} void RegisterCustomNodeEventReceiver(GENERATED_CustomEventReceiver eventReceiver) {} int CheckEvent(GENERATED_Ark_NodeEvent* event) { return 0; @@ -116,6 +418,7 @@ Ark_Float32 GetDesignWidthScale(Ark_Int32 deviceId) { } namespace ApiImpl { + Ark_NodeHandle GetNodeByViewStack() { Ark_NodeHandle result = (Ark_NodeHandle) 234; if (!needGroupedLog(1)) { @@ -127,6 +430,8 @@ Ark_NodeHandle GetNodeByViewStack() { } void DisposeNode(Ark_NodeHandle node) { + AsNode(node)->dispose(); + if (!needGroupedLog(1)) { return; } @@ -137,9 +442,24 @@ void DisposeNode(Ark_NodeHandle node) { appendGroupedLog(1, out); } +void DumpTreeNode(Ark_NodeHandle node) { + DumpTree(AsNode(node), 0); + + if (!needGroupedLog(1)) { + return; + } + + string out("dumpTreeNode("); + WriteToString(&out, node); + out.append(")"); + appendGroupedLog(1, out); +} + Ark_Int32 AddChild(Ark_NodeHandle parent, Ark_NodeHandle child) { + int result = AsNode(parent)->addChild(AsNode(child)); + if (!needGroupedLog(1)) { - return 0; + return result; } string out("addChild("); @@ -150,10 +470,14 @@ Ark_Int32 AddChild(Ark_NodeHandle parent, Ark_NodeHandle child) { appendGroupedLog(1, out); // TODO: implement test - return 0; // ERROR_CODE_NO_ERROR + return result; } void RemoveChild(Ark_NodeHandle parent, Ark_NodeHandle child) { + TreeNode *parentPtr = reinterpret_cast(parent); + TreeNode *childPtr = reinterpret_cast(child); + parentPtr->removeChild(childPtr); + if (!needGroupedLog(1)) { return; } @@ -167,8 +491,10 @@ void RemoveChild(Ark_NodeHandle parent, Ark_NodeHandle child) { } Ark_Int32 InsertChildAfter(Ark_NodeHandle parent, Ark_NodeHandle child, Ark_NodeHandle sibling) { + int result = AsNode(parent)->insertChildAfter(AsNode(child), AsNode(sibling)); + if (!needGroupedLog(1)) { - return 0; + return result; } string out("insertChildAfter("); @@ -179,12 +505,14 @@ Ark_Int32 InsertChildAfter(Ark_NodeHandle parent, Ark_NodeHandle child, Ark_Node WriteToString(&out, sibling); out.append(")"); appendGroupedLog(1, out); - return 0; + return result; } Ark_Int32 InsertChildBefore(Ark_NodeHandle parent, Ark_NodeHandle child, Ark_NodeHandle sibling) { + int result = AsNode(parent)->insertChildBefore(AsNode(child), AsNode(sibling)); + if (!needGroupedLog(1)) { - return 0; + return result; } string out("insertChildBefore("); @@ -195,12 +523,14 @@ Ark_Int32 InsertChildBefore(Ark_NodeHandle parent, Ark_NodeHandle child, Ark_Nod WriteToString(&out, sibling); out.append(")"); appendGroupedLog(1, out); - return 0; + return result; } Ark_Int32 InsertChildAt(Ark_NodeHandle parent, Ark_NodeHandle child, Ark_Int32 position) { + int result = AsNode(parent)->insertChildAt(AsNode(child), position); + if (!needGroupedLog(1)) { - return 0; + return result; } string out("insertChildAt("); @@ -211,7 +541,7 @@ Ark_Int32 InsertChildAt(Ark_NodeHandle parent, Ark_NodeHandle child, Ark_Int32 p WriteToString(&out, position); out.append(")"); appendGroupedLog(1, out); - return 0; + return result; } void ApplyModifierFinish(Ark_NodeHandle node) { @@ -276,20 +606,34 @@ Ark_Int32 UnregisterCustomNodeEvent(Ark_NodeHandle node, Ark_Int32 eventType) { void SetCustomCallback(Ark_VMContext context, Ark_NodeHandle node, Ark_Int32 callback) {} -Ark_Int32 MeasureLayoutAndDraw(Ark_VMContext vmContext, Ark_NodeHandle rootPtr) { - return 0; -} - Ark_Int32 MeasureNode(Ark_VMContext vmContext, Ark_NodeHandle node, Ark_Float32* data) { - return 0; + return AsNode(node)->measure(vmContext, data); } Ark_Int32 LayoutNode(Ark_VMContext vmContext, Ark_NodeHandle node, Ark_Float32 (*data)[2]) { - return 0; + return AsNode(node)->layout(vmContext, (Ark_Float32*)data); } Ark_Int32 DrawNode(Ark_VMContext vmContext, Ark_NodeHandle node, Ark_Float32* data) { - return 0; + return AsNode(node)->draw(vmContext, data); +} + +Ark_Int32 MeasureLayoutAndDraw(Ark_VMContext vmContext, Ark_NodeHandle root) { + Ark_Float32 rootMeasures[] = {800, 600, 800, 600}; + MeasureNode(vmContext, root, &rootMeasures[0]); + Ark_Float32 rootLayouts[] = {0, 0, 800, 600}; + LayoutNode(vmContext, root, reinterpret_cast(&rootLayouts)); + Ark_Float32 rootDraw[] = {0, 0, 800, 600}; + DrawNode(vmContext, root, &rootDraw[0]); + Ark_Int32 result = 0; + if (!needGroupedLog(1)) { + return result; + } + string out("measureLayoutAndDraw("); + WriteToString(&out, root); + out.append(")"); + appendGroupedLog(1, out); + return result; } void SetAttachNodePtr(Ark_NodeHandle node, void* value) {} @@ -341,3153 +685,5951 @@ namespace GeneratedEvents { } namespace OHOS::Ace::NG::GeneratedModifier { namespace AbilityComponentInterfaceModifier { - void _setAbilityComponentOptionsImpl(Ark_NativePointer node, const Type_AbilityComponentInterface__setAbilityComponentOptions_Arg0* value) { - } + void SetAbilityComponentOptionsImpl(Ark_NativePointer node, + const Type_AbilityComponentInterface_setAbilityComponentOptions_Arg0* value) + { + } } // AbilityComponentInterfaceModifier namespace AbilityComponentAttributeModifier { - void OnConnectImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDisconnectImpl(Ark_NativePointer node, Ark_Function callback) { - } + void OnConnectImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDisconnectImpl(Ark_NativePointer node, + Ark_Function callback) + { + } } // AbilityComponentAttributeModifier namespace AlphabetIndexerInterfaceModifier { - void _setAlphabetIndexerOptionsImpl(Ark_NativePointer node, const Type_AlphabetIndexerInterface__setAlphabetIndexerOptions_Arg0* value) { - } + void SetAlphabetIndexerOptionsImpl(Ark_NativePointer node, + const Type_AlphabetIndexerInterface_setAlphabetIndexerOptions_Arg0* value) + { + } } // AlphabetIndexerInterfaceModifier namespace AlphabetIndexerAttributeModifier { - void OnSelectedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void ColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void SelectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PopupColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void SelectedBackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PopupBackgroundImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PopupSelectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PopupUnselectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PopupItemBackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void UsingPopupImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SelectedFontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void PopupFontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void PopupItemFontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void ItemSizeImpl(Ark_NativePointer node, const Type_AlphabetIndexerAttribute_itemSize_Arg0* value) { - } - void FontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void AlignStyleImpl(Ark_NativePointer node, Ark_Int32 value, const Opt_Length* offset) { - } - void OnSelectImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnRequestPopupDataImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPopupSelectImpl(Ark_NativePointer node, Ark_Function callback) { - } - void SelectedImpl(Ark_NativePointer node, const Ark_Number* index) { - } - void PopupPositionImpl(Ark_NativePointer node, const Ark_Position* value) { - } - void AutoCollapseImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void PopupItemBorderRadiusImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ItemBorderRadiusImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void PopupBackgroundBlurStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void PopupTitleBackgroundImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void EnableHapticFeedbackImpl(Ark_NativePointer node, Ark_Boolean value) { - } + void OnSelectedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void ColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void SelectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PopupColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void SelectedBackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PopupBackgroundImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PopupSelectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PopupUnselectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PopupItemBackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void UsingPopupImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SelectedFontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void PopupFontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void PopupItemFontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void ItemSizeImpl(Ark_NativePointer node, + const Type_AlphabetIndexerAttribute_itemSize_Arg0* value) + { + } + void FontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void AlignStyleImpl(Ark_NativePointer node, + Ark_Int32 value, + const Opt_Length* offset) + { + } + void OnSelectImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnRequestPopupDataImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPopupSelectImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void SelectedImpl(Ark_NativePointer node, + const Ark_Number* index) + { + } + void PopupPositionImpl(Ark_NativePointer node, + const Ark_Position* value) + { + } + void AutoCollapseImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void PopupItemBorderRadiusImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ItemBorderRadiusImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void PopupBackgroundBlurStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void PopupTitleBackgroundImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void EnableHapticFeedbackImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } } // AlphabetIndexerAttributeModifier namespace AnimatorInterfaceModifier { - void _setAnimatorOptionsImpl(Ark_NativePointer node, const Ark_String* value) { - } + void SetAnimatorOptionsImpl(Ark_NativePointer node, + const Ark_String* value) + { + } } // AnimatorInterfaceModifier namespace AnimatorAttributeModifier { - void StateImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DurationImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void CurveImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DelayImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void FillModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void IterationsImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void PlayModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void MotionImpl(Ark_NativePointer node, const Type_AnimatorAttribute_motion_Arg0* value) { - } - void OnStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnPauseImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnRepeatImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnCancelImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnFinishImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnFrameImpl(Ark_NativePointer node, Ark_Function event) { - } + void StateImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DurationImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void CurveImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DelayImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void FillModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void IterationsImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void PlayModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void MotionImpl(Ark_NativePointer node, + const Type_AnimatorAttribute_motion_Arg0* value) + { + } + void OnStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnPauseImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnRepeatImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnCancelImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnFinishImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnFrameImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // AnimatorAttributeModifier namespace BadgeInterfaceModifier { - void _setBadgeOptions_BadgeParamWithNumberImpl(Ark_NativePointer node, const Ark_BadgeParamWithNumber* value) { - } - void _setBadgeOptions_BadgeParamWithStringImpl(Ark_NativePointer node, const Ark_BadgeParamWithString* value) { - } + void SetBadgeOptions0Impl(Ark_NativePointer node, + const Ark_BadgeParamWithNumber* value) + { + } + void SetBadgeOptions1Impl(Ark_NativePointer node, + const Ark_BadgeParamWithString* value) + { + } } // BadgeInterfaceModifier namespace BlankInterfaceModifier { - void _setBlankOptionsImpl(Ark_NativePointer node, const Opt_Type_BlankInterface__setBlankOptions_Arg0* min) { - } + void SetBlankOptionsImpl(Ark_NativePointer node, + const Opt_Type_BlankInterface_setBlankOptions_Arg0* min) + { + } } // BlankInterfaceModifier namespace BlankAttributeModifier { - void ColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } + void ColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } } // BlankAttributeModifier namespace ButtonInterfaceModifier { - void _setButtonOptions_Impl(Ark_NativePointer node) { - } - void _setButtonOptions_ButtonOptionsImpl(Ark_NativePointer node, const Ark_ButtonOptions* options) { - } - void _setButtonOptions_ResourceStr_ButtonOptionsImpl(Ark_NativePointer node, const ResourceStr* label, const Opt_ButtonOptions* options) { - } + void SetButtonOptions0Impl(Ark_NativePointer node) + { + } + void SetButtonOptions1Impl(Ark_NativePointer node, + const Ark_ButtonOptions* options) + { + } + void SetButtonOptions2Impl(Ark_NativePointer node, + const ResourceStr* label, + const Opt_ButtonOptions* options) + { + } } // ButtonInterfaceModifier namespace ButtonAttributeModifier { - void TypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void StateEffectImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ButtonStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ControlSizeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void RoleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FontSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_ButtonAttribute_fontWeight_Arg0* value) { - } - void FontStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontFamilyImpl(Ark_NativePointer node, const Type_ButtonAttribute_fontFamily_Arg0* value) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } - void LabelStyleImpl(Ark_NativePointer node, const Ark_LabelStyle* value) { - } + void TypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void StateEffectImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ButtonStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ControlSizeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void RoleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FontSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_ButtonAttribute_fontWeight_Arg0* value) + { + } + void FontStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontFamilyImpl(Ark_NativePointer node, + const Type_ButtonAttribute_fontFamily_Arg0* value) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } + void LabelStyleImpl(Ark_NativePointer node, + const Ark_LabelStyle* value) + { + } } // ButtonAttributeModifier namespace CalendarInterfaceModifier { - void _setCalendarOptionsImpl(Ark_NativePointer node, const Type_CalendarInterface__setCalendarOptions_Arg0* value) { - } + void SetCalendarOptionsImpl(Ark_NativePointer node, + const Type_CalendarInterface_setCalendarOptions_Arg0* value) + { + } } // CalendarInterfaceModifier namespace CalendarAttributeModifier { - void ShowLunarImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ShowHolidayImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void NeedSlideImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void StartOfWeekImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void OffDaysImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void DirectionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void CurrentDayStyleImpl(Ark_NativePointer node, const Ark_CurrentDayStyle* value) { - } - void NonCurrentDayStyleImpl(Ark_NativePointer node, const Ark_NonCurrentDayStyle* value) { - } - void TodayStyleImpl(Ark_NativePointer node, const Ark_TodayStyle* value) { - } - void WeekStyleImpl(Ark_NativePointer node, const Ark_WeekStyle* value) { - } - void WorkStateStyleImpl(Ark_NativePointer node, const Ark_WorkStateStyle* value) { - } - void OnSelectChangeImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnRequestDataImpl(Ark_NativePointer node, Ark_Function event) { - } + void ShowLunarImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ShowHolidayImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void NeedSlideImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void StartOfWeekImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void OffDaysImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void DirectionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void CurrentDayStyleImpl(Ark_NativePointer node, + const Ark_CurrentDayStyle* value) + { + } + void NonCurrentDayStyleImpl(Ark_NativePointer node, + const Ark_NonCurrentDayStyle* value) + { + } + void TodayStyleImpl(Ark_NativePointer node, + const Ark_TodayStyle* value) + { + } + void WeekStyleImpl(Ark_NativePointer node, + const Ark_WeekStyle* value) + { + } + void WorkStateStyleImpl(Ark_NativePointer node, + const Ark_WorkStateStyle* value) + { + } + void OnSelectChangeImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnRequestDataImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // CalendarAttributeModifier namespace CalendarPickerInterfaceModifier { - void _setCalendarPickerOptionsImpl(Ark_NativePointer node, const Opt_CalendarOptions* options) { - } + void SetCalendarPickerOptionsImpl(Ark_NativePointer node, + const Opt_CalendarOptions* options) + { + } } // CalendarPickerInterfaceModifier namespace CalendarPickerAttributeModifier { - void EdgeAlignImpl(Ark_NativePointer node, Ark_Int32 alignType, const Opt_Offset* offset) { - } - void TextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } + void EdgeAlignImpl(Ark_NativePointer node, + Ark_Int32 alignType, + const Opt_Offset* offset) + { + } + void TextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } } // CalendarPickerAttributeModifier namespace CanvasInterfaceModifier { - void _setCanvasOptions_CanvasRenderingContextDDrawingRenderingContextImpl(Ark_NativePointer node, const Opt_Type_CanvasInterface__setCanvasOptions_Arg0* context) { - } - void _setCanvasOptions_CanvasRenderingContextDDrawingRenderingContext_ImageAIOptionsImpl(Ark_NativePointer node, const Type_CanvasInterface__setCanvasOptions1_Arg0* context, const Ark_ImageAIOptions* imageAIOptions) { - } + void SetCanvasOptions0Impl(Ark_NativePointer node, + const Opt_Type_CanvasInterface_setCanvasOptions_Arg0* context) + { + } + void SetCanvasOptions1Impl(Ark_NativePointer node, + const Type_CanvasInterface_setCanvasOptions1_Arg0* context, + const Ark_ImageAIOptions* imageAIOptions) + { + } } // CanvasInterfaceModifier namespace CanvasAttributeModifier { - void OnReadyImpl(Ark_NativePointer node, Ark_Function event) { - } - void EnableAnalyzerImpl(Ark_NativePointer node, Ark_Boolean enable) { - } + void OnReadyImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void EnableAnalyzerImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } } // CanvasAttributeModifier namespace CheckboxInterfaceModifier { - void _setCheckboxOptionsImpl(Ark_NativePointer node, const Opt_CheckboxOptions* options) { - } + void SetCheckboxOptionsImpl(Ark_NativePointer node, + const Opt_CheckboxOptions* options) + { + } } // CheckboxInterfaceModifier namespace CheckboxAttributeModifier { - void SelectImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SelectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void ShapeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void UnselectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void MarkImpl(Ark_NativePointer node, const Ark_MarkStyle* value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } + void SelectImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SelectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void ShapeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void UnselectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void MarkImpl(Ark_NativePointer node, + const Ark_MarkStyle* value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } } // CheckboxAttributeModifier namespace CheckboxGroupInterfaceModifier { - void _setCheckboxGroupOptionsImpl(Ark_NativePointer node, const Opt_CheckboxGroupOptions* options) { - } + void SetCheckboxGroupOptionsImpl(Ark_NativePointer node, + const Opt_CheckboxGroupOptions* options) + { + } } // CheckboxGroupInterfaceModifier namespace CheckboxGroupAttributeModifier { - void SelectAllImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SelectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void UnselectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void MarkImpl(Ark_NativePointer node, const Ark_MarkStyle* value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void CheckboxShapeImpl(Ark_NativePointer node, Ark_Int32 value) { - } + void SelectAllImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SelectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void UnselectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void MarkImpl(Ark_NativePointer node, + const Ark_MarkStyle* value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void CheckboxShapeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } } // CheckboxGroupAttributeModifier namespace CircleInterfaceModifier { - void _setCircleOptionsImpl(Ark_NativePointer node, const Opt_CircleOptions* value) { - } + void SetCircleOptionsImpl(Ark_NativePointer node, + const Opt_CircleOptions* value) + { + } } // CircleInterfaceModifier namespace ColumnInterfaceModifier { - void _setColumnOptionsImpl(Ark_NativePointer node, const Opt_Type_ColumnInterface__setColumnOptions_Arg0* value) { - } + void SetColumnOptionsImpl(Ark_NativePointer node, + const Opt_Type_ColumnInterface_setColumnOptions_Arg0* value) + { + } } // ColumnInterfaceModifier namespace ColumnAttributeModifier { - void AlignItemsImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void JustifyContentImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void PointLightImpl(Ark_NativePointer node, const Ark_PointLightStyle* value) { - } + void AlignItemsImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void JustifyContentImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void PointLightImpl(Ark_NativePointer node, + const Ark_PointLightStyle* value) + { + } } // ColumnAttributeModifier namespace ColumnSplitInterfaceModifier { - void _setColumnSplitOptionsImpl(Ark_NativePointer node) { - } + void SetColumnSplitOptionsImpl(Ark_NativePointer node) + { + } } // ColumnSplitInterfaceModifier namespace ColumnSplitAttributeModifier { - void ResizeableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void DividerImpl(Ark_NativePointer node, const Type_ColumnSplitAttribute_divider_Arg0* value) { - } + void ResizeableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void DividerImpl(Ark_NativePointer node, + const Type_ColumnSplitAttribute_divider_Arg0* value) + { + } } // ColumnSplitAttributeModifier namespace CommonMethodModifier { - void WidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void HeightImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void DrawModifierImpl(Ark_NativePointer node, const Type_CommonMethod_drawModifier_Arg0* modifier) { - } - void CustomPropertyImpl(Ark_NativePointer node, const Ark_String* name, const Opt_Object* value) { - } - void ExpandSafeAreaImpl(Ark_NativePointer node, const Opt_Array_SafeAreaType* types, const Opt_Array_SafeAreaEdge* edges) { - } - void ResponseRegionImpl(Ark_NativePointer node, const Type_CommonMethod_responseRegion_Arg0* value) { - } - void MouseResponseRegionImpl(Ark_NativePointer node, const Type_CommonMethod_mouseResponseRegion_Arg0* value) { - } - void SizeImpl(Ark_NativePointer node, const Ark_SizeOptions* value) { - } - void ConstraintSizeImpl(Ark_NativePointer node, const Ark_ConstraintSizeOptions* value) { - } - void TouchableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void HitTestBehaviorImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnChildTouchTestImpl(Ark_NativePointer node, Ark_Function event) { - } - void LayoutWeightImpl(Ark_NativePointer node, const Type_CommonMethod_layoutWeight_Arg0* value) { - } - void PaddingImpl(Ark_NativePointer node, const Type_CommonMethod_padding_Arg0* value) { - } - void MarginImpl(Ark_NativePointer node, const Type_CommonMethod_margin_Arg0* value) { - } - void BackgroundImpl(Ark_NativePointer node, const CustomBuilder* builder, const Opt_Type_CommonMethod_background_Arg1* options) { - } - void BackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PixelRoundImpl(Ark_NativePointer node, const Ark_PixelRoundPolicy* value) { - } - void BackgroundImageImpl(Ark_NativePointer node, const Type_CommonMethod_backgroundImage_Arg0* src, const Opt_ImageRepeat* repeat) { - } - void BackgroundImageSizeImpl(Ark_NativePointer node, const Type_CommonMethod_backgroundImageSize_Arg0* value) { - } - void BackgroundImagePositionImpl(Ark_NativePointer node, const Type_CommonMethod_backgroundImagePosition_Arg0* value) { - } - void BackgroundBlurStyleImpl(Ark_NativePointer node, Ark_Int32 value, const Opt_BackgroundBlurStyleOptions* options) { - } - void BackgroundEffectImpl(Ark_NativePointer node, const Ark_BackgroundEffectOptions* options) { - } - void BackgroundImageResizableImpl(Ark_NativePointer node, const Ark_ResizableOptions* value) { - } - void ForegroundEffectImpl(Ark_NativePointer node, const Ark_ForegroundEffectOptions* options) { - } - void VisualEffectImpl(Ark_NativePointer node, const Ark_CustomObject* effect) { - } - void BackgroundFilterImpl(Ark_NativePointer node, const Ark_CustomObject* filter) { - } - void ForegroundFilterImpl(Ark_NativePointer node, const Ark_CustomObject* filter) { - } - void CompositingFilterImpl(Ark_NativePointer node, const Ark_CustomObject* filter) { - } - void ForegroundBlurStyleImpl(Ark_NativePointer node, Ark_Int32 value, const Opt_ForegroundBlurStyleOptions* options) { - } - void OpacityImpl(Ark_NativePointer node, const Type_CommonMethod_opacity_Arg0* value) { - } - void BorderImpl(Ark_NativePointer node, const Ark_BorderOptions* value) { - } - void BorderStyleImpl(Ark_NativePointer node, const Type_CommonMethod_borderStyle_Arg0* value) { - } - void BorderWidthImpl(Ark_NativePointer node, const Type_CommonMethod_borderWidth_Arg0* value) { - } - void BorderColorImpl(Ark_NativePointer node, const Type_CommonMethod_borderColor_Arg0* value) { - } - void BorderRadiusImpl(Ark_NativePointer node, const Type_CommonMethod_borderRadius_Arg0* value) { - } - void BorderImageImpl(Ark_NativePointer node, const Ark_BorderImageOption* value) { - } - void OutlineImpl(Ark_NativePointer node, const Ark_OutlineOptions* value) { - } - void OutlineStyleImpl(Ark_NativePointer node, const Type_CommonMethod_outlineStyle_Arg0* value) { - } - void OutlineWidthImpl(Ark_NativePointer node, const Type_CommonMethod_outlineWidth_Arg0* value) { - } - void OutlineColorImpl(Ark_NativePointer node, const Type_CommonMethod_outlineColor_Arg0* value) { - } - void OutlineRadiusImpl(Ark_NativePointer node, const Type_CommonMethod_outlineRadius_Arg0* value) { - } - void ForegroundColorImpl(Ark_NativePointer node, const Type_CommonMethod_foregroundColor_Arg0* value) { - } - void OnClickImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnHoverImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnAccessibilityHoverImpl(Ark_NativePointer node, Ark_Function callback) { - } - void HoverEffectImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnMouseImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnTouchImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnKeyEventImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnKeyPreImeImpl(Ark_NativePointer node, Ark_Function event) { - } - void FocusableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnFocusImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnBlurImpl(Ark_NativePointer node, Ark_Function event) { - } - void TabIndexImpl(Ark_NativePointer node, const Ark_Number* index) { - } - void DefaultFocusImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void GroupDefaultFocusImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FocusOnTouchImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FocusBoxImpl(Ark_NativePointer node, const Ark_FocusBoxStyle* style) { - } - void FocusScopeIdImpl(Ark_NativePointer node, const Ark_String* id, const Opt_Boolean* isGroup) { - } - void FocusScopePriorityImpl(Ark_NativePointer node, const Ark_String* scopeId, const Opt_FocusPriority* priority) { - } - void AnimationImpl(Ark_NativePointer node, const Ark_AnimateParam* value) { - } - void Transition_TransitionOptionsTransitionEffectImpl(Ark_NativePointer node, const Type_CommonMethod_transition_Arg0* value) { - } - void Transition_TransitionEffect_TransitionFinishCallbackundefinedImpl(Ark_NativePointer node, const Ark_TransitionEffect* effect, const Opt_Function* onFinish) { - } - void GestureImpl(Ark_NativePointer node, const Ark_GestureType* gesture, const Opt_GestureMask* mask) { - } - void PriorityGestureImpl(Ark_NativePointer node, const Ark_GestureType* gesture, const Opt_GestureMask* mask) { - } - void ParallelGestureImpl(Ark_NativePointer node, const Ark_GestureType* gesture, const Opt_GestureMask* mask) { - } - void BlurImpl(Ark_NativePointer node, const Ark_Number* value, const Opt_BlurOptions* options) { - } - void LinearGradientBlurImpl(Ark_NativePointer node, const Ark_Number* value, const Ark_LinearGradientBlurOptions* options) { - } - void MotionBlurImpl(Ark_NativePointer node, const Ark_MotionBlurOptions* value) { - } - void BrightnessImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ContrastImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void GrayscaleImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ColorBlendImpl(Ark_NativePointer node, const Type_CommonMethod_colorBlend_Arg0* value) { - } - void SaturateImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void SepiaImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void InvertImpl(Ark_NativePointer node, const Type_CommonMethod_invert_Arg0* value) { - } - void SystemBarEffectImpl(Ark_NativePointer node) { - } - void HueRotateImpl(Ark_NativePointer node, const Type_CommonMethod_hueRotate_Arg0* value) { - } - void UseShadowBatchingImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void UseEffectImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void BackdropBlurImpl(Ark_NativePointer node, const Ark_Number* value, const Opt_BlurOptions* options) { - } - void RenderGroupImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FreezeImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void TranslateImpl(Ark_NativePointer node, const Ark_TranslateOptions* value) { - } - void ScaleImpl(Ark_NativePointer node, const Ark_ScaleOptions* value) { - } - void GridSpanImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void GridOffsetImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void RotateImpl(Ark_NativePointer node, const Ark_RotateOptions* value) { - } - void TransformImpl(Ark_NativePointer node, const Ark_CustomObject* value) { - } - void OnAppearImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnDisAppearImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnAttachImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDetachImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnAreaChangeImpl(Ark_NativePointer node, Ark_Function event) { - } - void VisibilityImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FlexGrowImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void FlexShrinkImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void FlexBasisImpl(Ark_NativePointer node, const Type_CommonMethod_flexBasis_Arg0* value) { - } - void AlignSelfImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DisplayPriorityImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ZIndexImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void SharedTransitionImpl(Ark_NativePointer node, const Ark_String* id, const Opt_sharedTransitionOptions* options) { - } - void DirectionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void AlignImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void PositionImpl(Ark_NativePointer node, const Type_CommonMethod_position_Arg0* value) { - } - void MarkAnchorImpl(Ark_NativePointer node, const Type_CommonMethod_markAnchor_Arg0* value) { - } - void OffsetImpl(Ark_NativePointer node, const Type_CommonMethod_offset_Arg0* value) { - } - void EnabledImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void UseSizeTypeImpl(Ark_NativePointer node, const Type_CommonMethod_useSizeType_Arg0* value) { - } - void AlignRules_AlignRuleOptionImpl(Ark_NativePointer node, const Ark_AlignRuleOption* value) { - } - void AlignRules_LocalizedAlignRuleOptionsImpl(Ark_NativePointer node, const Ark_LocalizedAlignRuleOptions* alignRule) { - } - void ChainModeImpl(Ark_NativePointer node, Ark_Int32 direction, Ark_Int32 style) { - } - void AspectRatioImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ClickEffectImpl(Ark_NativePointer node, const Type_CommonMethod_clickEffect_Arg0* value) { - } - void OnDragStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnDragEnterImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnDragMoveImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnDragLeaveImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnDropImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnDragEndImpl(Ark_NativePointer node, Ark_Function event) { - } - void AllowDropImpl(Ark_NativePointer node, const Type_CommonMethod_allowDrop_Arg0* value) { - } - void DraggableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void DragPreviewImpl(Ark_NativePointer node, const Type_CommonMethod_dragPreview_Arg0* value) { - } - void DragPreviewOptionsImpl(Ark_NativePointer node, const Ark_DragPreviewOptions* value, const Opt_DragInteractionOptions* options) { - } - void OnPreDragImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OverlayImpl(Ark_NativePointer node, const Type_CommonMethod_overlay_Arg0* value, const Opt_OverlayOptions* options) { - } - void LinearGradientImpl(Ark_NativePointer node, const Type_CommonMethod_linearGradient_Arg0* value) { - } - void SweepGradientImpl(Ark_NativePointer node, const Type_CommonMethod_sweepGradient_Arg0* value) { - } - void RadialGradientImpl(Ark_NativePointer node, const Type_CommonMethod_radialGradient_Arg0* value) { - } - void MotionPathImpl(Ark_NativePointer node, const Ark_MotionPathOptions* value) { - } - void ShadowImpl(Ark_NativePointer node, const Type_CommonMethod_shadow_Arg0* value) { - } - void BlendModeImpl(Ark_NativePointer node, Ark_Int32 value, const Opt_BlendApplyType* type) { - } - void Clip_booleanImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void Clip_booleanCircleAttributeEllipseAttributePathAttributeRectAttributeImpl(Ark_NativePointer node, const Type_CommonMethod_clip1_Arg0* value) { - } - void ClipShapeImpl(Ark_NativePointer node, const Type_CommonMethod_clipShape_Arg0* value) { - } - void Mask_ProgressMaskImpl(Ark_NativePointer node, const Ark_Materialized* value) { - } - void Mask_CircleAttributeEllipseAttributePathAttributeRectAttributeProgressMaskImpl(Ark_NativePointer node, const Type_CommonMethod_mask1_Arg0* value) { - } - void MaskShapeImpl(Ark_NativePointer node, const Type_CommonMethod_maskShape_Arg0* value) { - } - void KeyImpl(Ark_NativePointer node, const Ark_String* value) { - } - void IdImpl(Ark_NativePointer node, const Ark_String* value) { - } - void GeometryTransition_stringImpl(Ark_NativePointer node, const Ark_String* id) { - } - void GeometryTransition_string_GeometryTransitionOptionsImpl(Ark_NativePointer node, const Ark_String* id, const Opt_GeometryTransitionOptions* options) { - } - void BindPopupImpl(Ark_NativePointer node, Ark_Boolean show, const Type_CommonMethod_bindPopup_Arg1* popup) { - } - void BindMenu_ArrayMenuElementCustomBuilder_MenuOptionsImpl(Ark_NativePointer node, const Type_CommonMethod_bindMenu_Arg0* content, const Opt_MenuOptions* options) { - } - void BindMenu_boolean_ArrayMenuElementCustomBuilder_MenuOptionsImpl(Ark_NativePointer node, Ark_Boolean isShow, const Type_CommonMethod_bindMenu1_Arg1* content, const Opt_MenuOptions* options) { - } - void BindContextMenu_CustomBuilder_ResponseType_ContextMenuOptionsImpl(Ark_NativePointer node, const CustomBuilder* content, Ark_Int32 responseType, const Opt_ContextMenuOptions* options) { - } - void BindContextMenu_boolean_CustomBuilder_ContextMenuOptionsImpl(Ark_NativePointer node, Ark_Boolean isShown, const CustomBuilder* content, const Opt_ContextMenuOptions* options) { - } - void BindContentCover_booleanundefined_CustomBuilder_ModalTransitionImpl(Ark_NativePointer node, const Opt_Boolean* isShow, const CustomBuilder* builder, const Opt_ModalTransition* type) { - } - void BindContentCover_booleanundefined_CustomBuilder_ContentCoverOptionsImpl(Ark_NativePointer node, const Opt_Boolean* isShow, const CustomBuilder* builder, const Opt_ContentCoverOptions* options) { - } - void BindSheetImpl(Ark_NativePointer node, const Opt_Boolean* isShow, const CustomBuilder* builder, const Opt_SheetOptions* options) { - } - void StateStylesImpl(Ark_NativePointer node, const Ark_StateStyles* value) { - } - void RestoreIdImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void OnVisibleAreaChangeImpl(Ark_NativePointer node, const Array_Number* ratios, Ark_Function event) { - } - void SphericalEffectImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void LightUpEffectImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void PixelStretchEffectImpl(Ark_NativePointer node, const Ark_PixelStretchEffectOptions* options) { - } - void KeyboardShortcutImpl(Ark_NativePointer node, const Type_CommonMethod_keyboardShortcut_Arg0* value, const Array_ModifierKey* keys, const Opt_Function* action) { - } - void AccessibilityGroupImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void AccessibilityText_stringImpl(Ark_NativePointer node, const Ark_String* value) { - } - void AccessibilityText_ResourceImpl(Ark_NativePointer node, const Ark_Resource* text) { - } - void AccessibilityTextHintImpl(Ark_NativePointer node, const Ark_String* value) { - } - void AccessibilityDescription_stringImpl(Ark_NativePointer node, const Ark_String* value) { - } - void AccessibilityDescription_ResourceImpl(Ark_NativePointer node, const Ark_Resource* description) { - } - void AccessibilityLevelImpl(Ark_NativePointer node, const Ark_String* value) { - } - void AccessibilityVirtualNodeImpl(Ark_NativePointer node, const CustomBuilder* builder) { - } - void ObscuredImpl(Ark_NativePointer node, const Array_ObscuredReasons* reasons) { - } - void ReuseIdImpl(Ark_NativePointer node, const Ark_String* id) { - } - void RenderFitImpl(Ark_NativePointer node, Ark_Int32 fitMode) { - } - void GestureModifierImpl(Ark_NativePointer node, const Ark_Materialized* modifier) { - } - void BackgroundBrightnessImpl(Ark_NativePointer node, const Ark_BackgroundBrightnessOptions* params) { - } - void OnGestureJudgeBeginImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnGestureRecognizerJudgeBeginImpl(Ark_NativePointer node, Ark_Function callback) { - } - void ShouldBuiltInRecognizerParallelWithImpl(Ark_NativePointer node, Ark_Function callback) { - } - void MonopolizeEventsImpl(Ark_NativePointer node, Ark_Boolean monopolize) { - } - void OnTouchInterceptImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSizeChangeImpl(Ark_NativePointer node, Ark_Function event) { - } + void WidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void HeightImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void DrawModifierImpl(Ark_NativePointer node, + const Type_CommonMethod_drawModifier_Arg0* modifier) + { + } + void CustomPropertyImpl(Ark_NativePointer node, + const Ark_String* name, + const Opt_Object* value) + { + } + void ExpandSafeAreaImpl(Ark_NativePointer node, + const Opt_Array_SafeAreaType* types, + const Opt_Array_SafeAreaEdge* edges) + { + } + void ResponseRegionImpl(Ark_NativePointer node, + const Type_CommonMethod_responseRegion_Arg0* value) + { + } + void MouseResponseRegionImpl(Ark_NativePointer node, + const Type_CommonMethod_mouseResponseRegion_Arg0* value) + { + } + void SizeImpl(Ark_NativePointer node, + const Ark_SizeOptions* value) + { + } + void ConstraintSizeImpl(Ark_NativePointer node, + const Ark_ConstraintSizeOptions* value) + { + } + void TouchableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void HitTestBehaviorImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnChildTouchTestImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void LayoutWeightImpl(Ark_NativePointer node, + const Type_CommonMethod_layoutWeight_Arg0* value) + { + } + void PaddingImpl(Ark_NativePointer node, + const Type_CommonMethod_padding_Arg0* value) + { + } + void MarginImpl(Ark_NativePointer node, + const Type_CommonMethod_margin_Arg0* value) + { + } + void BackgroundImpl(Ark_NativePointer node, + const CustomBuilder* builder, + const Opt_Type_CommonMethod_background_Arg1* options) + { + } + void BackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PixelRoundImpl(Ark_NativePointer node, + const Ark_PixelRoundPolicy* value) + { + } + void BackgroundImageImpl(Ark_NativePointer node, + const Type_CommonMethod_backgroundImage_Arg0* src, + const Opt_ImageRepeat* repeat) + { + } + void BackgroundImageSizeImpl(Ark_NativePointer node, + const Type_CommonMethod_backgroundImageSize_Arg0* value) + { + } + void BackgroundImagePositionImpl(Ark_NativePointer node, + const Type_CommonMethod_backgroundImagePosition_Arg0* value) + { + } + void BackgroundBlurStyleImpl(Ark_NativePointer node, + Ark_Int32 value, + const Opt_BackgroundBlurStyleOptions* options) + { + } + void BackgroundEffectImpl(Ark_NativePointer node, + const Ark_BackgroundEffectOptions* options) + { + } + void BackgroundImageResizableImpl(Ark_NativePointer node, + const Ark_ResizableOptions* value) + { + } + void ForegroundEffectImpl(Ark_NativePointer node, + const Ark_ForegroundEffectOptions* options) + { + } + void VisualEffectImpl(Ark_NativePointer node, + const Ark_CustomObject* effect) + { + } + void BackgroundFilterImpl(Ark_NativePointer node, + const Ark_CustomObject* filter) + { + } + void ForegroundFilterImpl(Ark_NativePointer node, + const Ark_CustomObject* filter) + { + } + void CompositingFilterImpl(Ark_NativePointer node, + const Ark_CustomObject* filter) + { + } + void ForegroundBlurStyleImpl(Ark_NativePointer node, + Ark_Int32 value, + const Opt_ForegroundBlurStyleOptions* options) + { + } + void OpacityImpl(Ark_NativePointer node, + const Type_CommonMethod_opacity_Arg0* value) + { + } + void BorderImpl(Ark_NativePointer node, + const Ark_BorderOptions* value) + { + } + void BorderStyleImpl(Ark_NativePointer node, + const Type_CommonMethod_borderStyle_Arg0* value) + { + } + void BorderWidthImpl(Ark_NativePointer node, + const Type_CommonMethod_borderWidth_Arg0* value) + { + } + void BorderColorImpl(Ark_NativePointer node, + const Type_CommonMethod_borderColor_Arg0* value) + { + } + void BorderRadiusImpl(Ark_NativePointer node, + const Type_CommonMethod_borderRadius_Arg0* value) + { + } + void BorderImageImpl(Ark_NativePointer node, + const Ark_BorderImageOption* value) + { + } + void OutlineImpl(Ark_NativePointer node, + const Ark_OutlineOptions* value) + { + } + void OutlineStyleImpl(Ark_NativePointer node, + const Type_CommonMethod_outlineStyle_Arg0* value) + { + } + void OutlineWidthImpl(Ark_NativePointer node, + const Type_CommonMethod_outlineWidth_Arg0* value) + { + } + void OutlineColorImpl(Ark_NativePointer node, + const Type_CommonMethod_outlineColor_Arg0* value) + { + } + void OutlineRadiusImpl(Ark_NativePointer node, + const Type_CommonMethod_outlineRadius_Arg0* value) + { + } + void ForegroundColorImpl(Ark_NativePointer node, + const Type_CommonMethod_foregroundColor_Arg0* value) + { + } + void OnClickImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnHoverImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnAccessibilityHoverImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void HoverEffectImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnMouseImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnTouchImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnKeyEventImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnKeyPreImeImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void FocusableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnFocusImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnBlurImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void TabIndexImpl(Ark_NativePointer node, + const Ark_Number* index) + { + } + void DefaultFocusImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void GroupDefaultFocusImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FocusOnTouchImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FocusBoxImpl(Ark_NativePointer node, + const Ark_FocusBoxStyle* style) + { + } + void FocusScopeIdImpl(Ark_NativePointer node, + const Ark_String* id, + const Opt_Boolean* isGroup) + { + } + void FocusScopePriorityImpl(Ark_NativePointer node, + const Ark_String* scopeId, + const Opt_FocusPriority* priority) + { + } + void AnimationImpl(Ark_NativePointer node, + const Ark_AnimateParam* value) + { + } + void Transition0Impl(Ark_NativePointer node, + const Type_CommonMethod_transition_Arg0* value) + { + } + void Transition1Impl(Ark_NativePointer node, + const Ark_TransitionEffect* effect, + const Opt_Function* onFinish) + { + } + void GestureImpl(Ark_NativePointer node, + const Ark_GestureType* gesture, + const Opt_GestureMask* mask) + { + } + void PriorityGestureImpl(Ark_NativePointer node, + const Ark_GestureType* gesture, + const Opt_GestureMask* mask) + { + } + void ParallelGestureImpl(Ark_NativePointer node, + const Ark_GestureType* gesture, + const Opt_GestureMask* mask) + { + } + void BlurImpl(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options) + { + } + void LinearGradientBlurImpl(Ark_NativePointer node, + const Ark_Number* value, + const Ark_LinearGradientBlurOptions* options) + { + } + void MotionBlurImpl(Ark_NativePointer node, + const Ark_MotionBlurOptions* value) + { + } + void BrightnessImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ContrastImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void GrayscaleImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ColorBlendImpl(Ark_NativePointer node, + const Type_CommonMethod_colorBlend_Arg0* value) + { + } + void SaturateImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void SepiaImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void InvertImpl(Ark_NativePointer node, + const Type_CommonMethod_invert_Arg0* value) + { + } + void SystemBarEffectImpl(Ark_NativePointer node) + { + } + void HueRotateImpl(Ark_NativePointer node, + const Type_CommonMethod_hueRotate_Arg0* value) + { + } + void UseShadowBatchingImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void UseEffectImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void BackdropBlurImpl(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options) + { + } + void RenderGroupImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FreezeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void TranslateImpl(Ark_NativePointer node, + const Ark_TranslateOptions* value) + { + } + void ScaleImpl(Ark_NativePointer node, + const Ark_ScaleOptions* value) + { + } + void GridSpanImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void GridOffsetImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void RotateImpl(Ark_NativePointer node, + const Ark_RotateOptions* value) + { + } + void TransformImpl(Ark_NativePointer node, + const Ark_CustomObject* value) + { + } + void OnAppearImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnDisAppearImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnAttachImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDetachImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnAreaChangeImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void VisibilityImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FlexGrowImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void FlexShrinkImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void FlexBasisImpl(Ark_NativePointer node, + const Type_CommonMethod_flexBasis_Arg0* value) + { + } + void AlignSelfImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DisplayPriorityImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ZIndexImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void SharedTransitionImpl(Ark_NativePointer node, + const Ark_String* id, + const Opt_sharedTransitionOptions* options) + { + } + void DirectionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void AlignImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void PositionImpl(Ark_NativePointer node, + const Type_CommonMethod_position_Arg0* value) + { + } + void MarkAnchorImpl(Ark_NativePointer node, + const Type_CommonMethod_markAnchor_Arg0* value) + { + } + void OffsetImpl(Ark_NativePointer node, + const Type_CommonMethod_offset_Arg0* value) + { + } + void EnabledImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void UseSizeTypeImpl(Ark_NativePointer node, + const Type_CommonMethod_useSizeType_Arg0* value) + { + } + void AlignRules0Impl(Ark_NativePointer node, + const Ark_AlignRuleOption* value) + { + } + void AlignRules1Impl(Ark_NativePointer node, + const Ark_LocalizedAlignRuleOptions* alignRule) + { + } + void ChainModeImpl(Ark_NativePointer node, + Ark_Int32 direction, + Ark_Int32 style) + { + } + void AspectRatioImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ClickEffectImpl(Ark_NativePointer node, + const Type_CommonMethod_clickEffect_Arg0* value) + { + } + void OnDragStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnDragEnterImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnDragMoveImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnDragLeaveImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnDropImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnDragEndImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void AllowDropImpl(Ark_NativePointer node, + const Type_CommonMethod_allowDrop_Arg0* value) + { + } + void DraggableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void DragPreviewImpl(Ark_NativePointer node, + const Type_CommonMethod_dragPreview_Arg0* value) + { + } + void DragPreviewOptionsImpl(Ark_NativePointer node, + const Ark_DragPreviewOptions* value, + const Opt_DragInteractionOptions* options) + { + } + void OnPreDragImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OverlayImpl(Ark_NativePointer node, + const Type_CommonMethod_overlay_Arg0* value, + const Opt_OverlayOptions* options) + { + } + void LinearGradientImpl(Ark_NativePointer node, + const Type_CommonMethod_linearGradient_Arg0* value) + { + } + void SweepGradientImpl(Ark_NativePointer node, + const Type_CommonMethod_sweepGradient_Arg0* value) + { + } + void RadialGradientImpl(Ark_NativePointer node, + const Type_CommonMethod_radialGradient_Arg0* value) + { + } + void MotionPathImpl(Ark_NativePointer node, + const Ark_MotionPathOptions* value) + { + } + void ShadowImpl(Ark_NativePointer node, + const Type_CommonMethod_shadow_Arg0* value) + { + } + void BlendModeImpl(Ark_NativePointer node, + Ark_Int32 value, + const Opt_BlendApplyType* type) + { + } + void Clip0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void Clip1Impl(Ark_NativePointer node, + const Type_CommonMethod_clip1_Arg0* value) + { + } + void ClipShapeImpl(Ark_NativePointer node, + const Type_CommonMethod_clipShape_Arg0* value) + { + } + void Mask0Impl(Ark_NativePointer node, + const Ark_Materialized* value) + { + } + void Mask1Impl(Ark_NativePointer node, + const Type_CommonMethod_mask1_Arg0* value) + { + } + void MaskShapeImpl(Ark_NativePointer node, + const Type_CommonMethod_maskShape_Arg0* value) + { + } + void KeyImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void IdImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void GeometryTransition0Impl(Ark_NativePointer node, + const Ark_String* id) + { + } + void GeometryTransition1Impl(Ark_NativePointer node, + const Ark_String* id, + const Opt_GeometryTransitionOptions* options) + { + } + void BindPopupImpl(Ark_NativePointer node, + Ark_Boolean show, + const Type_CommonMethod_bindPopup_Arg1* popup) + { + } + void BindMenu0Impl(Ark_NativePointer node, + const Type_CommonMethod_bindMenu_Arg0* content, + const Opt_MenuOptions* options) + { + } + void BindMenu1Impl(Ark_NativePointer node, + Ark_Boolean isShow, + const Type_CommonMethod_bindMenu1_Arg1* content, + const Opt_MenuOptions* options) + { + } + void BindContextMenu0Impl(Ark_NativePointer node, + const CustomBuilder* content, + Ark_Int32 responseType, + const Opt_ContextMenuOptions* options) + { + } + void BindContextMenu1Impl(Ark_NativePointer node, + Ark_Boolean isShown, + const CustomBuilder* content, + const Opt_ContextMenuOptions* options) + { + } + void BindContentCover0Impl(Ark_NativePointer node, + const Opt_Boolean* isShow, + const CustomBuilder* builder, + const Opt_ModalTransition* type) + { + } + void BindContentCover1Impl(Ark_NativePointer node, + const Opt_Boolean* isShow, + const CustomBuilder* builder, + const Opt_ContentCoverOptions* options) + { + } + void BindSheetImpl(Ark_NativePointer node, + const Opt_Boolean* isShow, + const CustomBuilder* builder, + const Opt_SheetOptions* options) + { + } + void StateStylesImpl(Ark_NativePointer node, + const Ark_StateStyles* value) + { + } + void RestoreIdImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void OnVisibleAreaChangeImpl(Ark_NativePointer node, + const Array_Number* ratios, + Ark_Function event) + { + } + void SphericalEffectImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void LightUpEffectImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void PixelStretchEffectImpl(Ark_NativePointer node, + const Ark_PixelStretchEffectOptions* options) + { + } + void KeyboardShortcutImpl(Ark_NativePointer node, + const Type_CommonMethod_keyboardShortcut_Arg0* value, + const Array_ModifierKey* keys, + const Opt_Function* action) + { + } + void AccessibilityGroupImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void AccessibilityText0Impl(Ark_NativePointer node, + const Ark_String* value) + { + } + void AccessibilityText1Impl(Ark_NativePointer node, + const Ark_Resource* text) + { + } + void AccessibilityTextHintImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void AccessibilityDescription0Impl(Ark_NativePointer node, + const Ark_String* value) + { + } + void AccessibilityDescription1Impl(Ark_NativePointer node, + const Ark_Resource* description) + { + } + void AccessibilityLevelImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void AccessibilityVirtualNodeImpl(Ark_NativePointer node, + const CustomBuilder* builder) + { + } + void ObscuredImpl(Ark_NativePointer node, + const Array_ObscuredReasons* reasons) + { + } + void ReuseIdImpl(Ark_NativePointer node, + const Ark_String* id) + { + } + void RenderFitImpl(Ark_NativePointer node, + Ark_Int32 fitMode) + { + } + void GestureModifierImpl(Ark_NativePointer node, + const Ark_Materialized* modifier) + { + } + void BackgroundBrightnessImpl(Ark_NativePointer node, + const Ark_BackgroundBrightnessOptions* params) + { + } + void OnGestureJudgeBeginImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnGestureRecognizerJudgeBeginImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void ShouldBuiltInRecognizerParallelWithImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void MonopolizeEventsImpl(Ark_NativePointer node, + Ark_Boolean monopolize) + { + } + void OnTouchInterceptImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSizeChangeImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // CommonMethodModifier namespace CommonShapeMethodModifier { - void StrokeImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FillImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void StrokeDashOffsetImpl(Ark_NativePointer node, const Type_CommonShapeMethod_strokeDashOffset_Arg0* value) { - } - void StrokeLineCapImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void StrokeLineJoinImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void StrokeMiterLimitImpl(Ark_NativePointer node, const Type_CommonShapeMethod_strokeMiterLimit_Arg0* value) { - } - void StrokeOpacityImpl(Ark_NativePointer node, const Type_CommonShapeMethod_strokeOpacity_Arg0* value) { - } - void FillOpacityImpl(Ark_NativePointer node, const Type_CommonShapeMethod_fillOpacity_Arg0* value) { - } - void StrokeWidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void AntiAliasImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void StrokeDashArrayImpl(Ark_NativePointer node, const Array_CustomObject* value) { - } + void StrokeImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FillImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void StrokeDashOffsetImpl(Ark_NativePointer node, + const Type_CommonShapeMethod_strokeDashOffset_Arg0* value) + { + } + void StrokeLineCapImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void StrokeLineJoinImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void StrokeMiterLimitImpl(Ark_NativePointer node, + const Type_CommonShapeMethod_strokeMiterLimit_Arg0* value) + { + } + void StrokeOpacityImpl(Ark_NativePointer node, + const Type_CommonShapeMethod_strokeOpacity_Arg0* value) + { + } + void FillOpacityImpl(Ark_NativePointer node, + const Type_CommonShapeMethod_fillOpacity_Arg0* value) + { + } + void StrokeWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void AntiAliasImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void StrokeDashArrayImpl(Ark_NativePointer node, + const Array_CustomObject* value) + { + } } // CommonShapeMethodModifier namespace CommonInterfaceModifier { - void _setCommonOptionsImpl(Ark_NativePointer node) { - } + void SetCommonOptionsImpl(Ark_NativePointer node) + { + } } // CommonInterfaceModifier namespace ScrollableCommonMethodModifier { - void ScrollBarImpl(Ark_NativePointer node, Ark_Int32 barState) { - } - void ScrollBarColorImpl(Ark_NativePointer node, const Type_ScrollableCommonMethod_scrollBarColor_Arg0* color) { - } - void ScrollBarWidthImpl(Ark_NativePointer node, const Type_ScrollableCommonMethod_scrollBarWidth_Arg0* value) { - } - void EdgeEffectImpl(Ark_NativePointer node, Ark_Int32 edgeEffect, const Opt_EdgeEffectOptions* options) { - } - void NestedScrollImpl(Ark_NativePointer node, const Ark_NestedScrollOptions* value) { - } - void EnableScrollInteractionImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FrictionImpl(Ark_NativePointer node, const Type_ScrollableCommonMethod_friction_Arg0* value) { - } - void OnScrollImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnWillScrollImpl(Ark_NativePointer node, const Ark_CustomObject* stub_for_onWillScroll) { - } - void OnDidScrollImpl(Ark_NativePointer node, Ark_Function handler) { - } - void OnReachStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnReachEndImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollStopImpl(Ark_NativePointer node, Ark_Function event) { - } - void FlingSpeedLimitImpl(Ark_NativePointer node, const Ark_Number* speedLimit) { - } + void ScrollBarImpl(Ark_NativePointer node, + Ark_Int32 barState) + { + } + void ScrollBarColorImpl(Ark_NativePointer node, + const Type_ScrollableCommonMethod_scrollBarColor_Arg0* color) + { + } + void ScrollBarWidthImpl(Ark_NativePointer node, + const Type_ScrollableCommonMethod_scrollBarWidth_Arg0* value) + { + } + void EdgeEffectImpl(Ark_NativePointer node, + Ark_Int32 edgeEffect, + const Opt_EdgeEffectOptions* options) + { + } + void NestedScrollImpl(Ark_NativePointer node, + const Ark_NestedScrollOptions* value) + { + } + void EnableScrollInteractionImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FrictionImpl(Ark_NativePointer node, + const Type_ScrollableCommonMethod_friction_Arg0* value) + { + } + void OnScrollImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnWillScrollImpl(Ark_NativePointer node, + const Ark_CustomObject* stub_for_onWillScroll) + { + } + void OnDidScrollImpl(Ark_NativePointer node, + Ark_Function handler) + { + } + void OnReachStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnReachEndImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollStopImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void FlingSpeedLimitImpl(Ark_NativePointer node, + const Ark_Number* speedLimit) + { + } } // ScrollableCommonMethodModifier namespace Component3DInterfaceModifier { - void _setComponent3DOptionsImpl(Ark_NativePointer node, const Opt_SceneOptions* sceneOptions) { - } + void SetComponent3DOptionsImpl(Ark_NativePointer node, + const Opt_SceneOptions* sceneOptions) + { + } } // Component3DInterfaceModifier namespace Component3DAttributeModifier { - void EnvironmentImpl(Ark_NativePointer node, const Ark_Resource* uri) { - } - void CustomRenderImpl(Ark_NativePointer node, const Ark_Resource* uri, Ark_Boolean selfRenderUpdate) { - } - void ShaderImpl(Ark_NativePointer node, const Ark_Resource* uri) { - } - void ShaderImageTextureImpl(Ark_NativePointer node, const Ark_Resource* uri) { - } - void ShaderInputBufferImpl(Ark_NativePointer node, const Array_Number* buffer) { - } - void RenderWidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void RenderHeightImpl(Ark_NativePointer node, const Ark_Length* value) { - } + void EnvironmentImpl(Ark_NativePointer node, + const Ark_Resource* uri) + { + } + void CustomRenderImpl(Ark_NativePointer node, + const Ark_Resource* uri, + Ark_Boolean selfRenderUpdate) + { + } + void ShaderImpl(Ark_NativePointer node, + const Ark_Resource* uri) + { + } + void ShaderImageTextureImpl(Ark_NativePointer node, + const Ark_Resource* uri) + { + } + void ShaderInputBufferImpl(Ark_NativePointer node, + const Array_Number* buffer) + { + } + void RenderWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void RenderHeightImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } } // Component3DAttributeModifier namespace ContainerSpanInterfaceModifier { - void _setContainerSpanOptionsImpl(Ark_NativePointer node) { - } + void SetContainerSpanOptionsImpl(Ark_NativePointer node) + { + } } // ContainerSpanInterfaceModifier namespace ContainerSpanAttributeModifier { - void TextBackgroundStyleImpl(Ark_NativePointer node, const Ark_TextBackgroundStyle* style) { - } + void TextBackgroundStyleImpl(Ark_NativePointer node, + const Ark_TextBackgroundStyle* style) + { + } } // ContainerSpanAttributeModifier namespace CounterInterfaceModifier { - void _setCounterOptionsImpl(Ark_NativePointer node) { - } + void SetCounterOptionsImpl(Ark_NativePointer node) + { + } } // CounterInterfaceModifier namespace CounterAttributeModifier { - void OnIncImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnDecImpl(Ark_NativePointer node, Ark_Function event) { - } - void EnableDecImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void EnableIncImpl(Ark_NativePointer node, Ark_Boolean value) { - } + void OnIncImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnDecImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void EnableDecImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void EnableIncImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } } // CounterAttributeModifier namespace DataPanelInterfaceModifier { - void _setDataPanelOptionsImpl(Ark_NativePointer node, const Ark_DataPanelOptions* options) { - } + void SetDataPanelOptionsImpl(Ark_NativePointer node, + const Ark_DataPanelOptions* options) + { + } } // DataPanelInterfaceModifier namespace DataPanelAttributeModifier { - void CloseEffectImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ValueColorsImpl(Ark_NativePointer node, const Array_Union_ResourceColor_LinearGradient* value) { - } - void TrackBackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void StrokeWidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void TrackShadowImpl(Ark_NativePointer node, const Ark_DataPanelShadowOptions* value) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } + void CloseEffectImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ValueColorsImpl(Ark_NativePointer node, + const Array_Union_ResourceColor_LinearGradient* value) + { + } + void TrackBackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void StrokeWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void TrackShadowImpl(Ark_NativePointer node, + const Ark_DataPanelShadowOptions* value) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } } // DataPanelAttributeModifier namespace DatePickerInterfaceModifier { - void _setDatePickerOptionsImpl(Ark_NativePointer node, const Opt_DatePickerOptions* options) { - } + void SetDatePickerOptionsImpl(Ark_NativePointer node, + const Opt_DatePickerOptions* options) + { + } } // DatePickerInterfaceModifier namespace DatePickerAttributeModifier { - void LunarImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void DisappearTextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void TextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void SelectedTextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDateChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } + void LunarImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void DisappearTextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void TextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void SelectedTextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDateChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } } // DatePickerAttributeModifier namespace DividerInterfaceModifier { - void _setDividerOptionsImpl(Ark_NativePointer node) { - } + void SetDividerOptionsImpl(Ark_NativePointer node) + { + } } // DividerInterfaceModifier namespace DividerAttributeModifier { - void VerticalImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void StrokeWidthImpl(Ark_NativePointer node, const Type_DividerAttribute_strokeWidth_Arg0* value) { - } - void LineCapImpl(Ark_NativePointer node, Ark_Int32 value) { - } + void VerticalImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void StrokeWidthImpl(Ark_NativePointer node, + const Type_DividerAttribute_strokeWidth_Arg0* value) + { + } + void LineCapImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } } // DividerAttributeModifier namespace EffectComponentInterfaceModifier { - void _setEffectComponentOptionsImpl(Ark_NativePointer node) { - } + void SetEffectComponentOptionsImpl(Ark_NativePointer node) + { + } } // EffectComponentInterfaceModifier namespace EllipseInterfaceModifier { - void _setEllipseOptionsImpl(Ark_NativePointer node, const Opt_Type_EllipseInterface__setEllipseOptions_Arg0* value) { - } + void SetEllipseOptionsImpl(Ark_NativePointer node, + const Opt_Type_EllipseInterface_setEllipseOptions_Arg0* value) + { + } } // EllipseInterfaceModifier namespace EmbeddedComponentInterfaceModifier { - void _setEmbeddedComponentOptionsImpl(Ark_NativePointer node, const Ark_CustomObject* loader, Ark_Int32 type) { - } + void SetEmbeddedComponentOptionsImpl(Ark_NativePointer node, + const Ark_CustomObject* loader, + Ark_Int32 type) + { + } } // EmbeddedComponentInterfaceModifier namespace EmbeddedComponentAttributeModifier { - void OnTerminatedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnErrorImpl(Ark_NativePointer node, const Ark_CustomObject* callback) { - } + void OnTerminatedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnErrorImpl(Ark_NativePointer node, + const Ark_CustomObject* callback) + { + } } // EmbeddedComponentAttributeModifier namespace FlexInterfaceModifier { - void _setFlexOptionsImpl(Ark_NativePointer node, const Opt_FlexOptions* value) { - } + void SetFlexOptionsImpl(Ark_NativePointer node, + const Opt_FlexOptions* value) + { + } } // FlexInterfaceModifier namespace FlexAttributeModifier { - void PointLightImpl(Ark_NativePointer node, const Ark_PointLightStyle* value) { - } + void PointLightImpl(Ark_NativePointer node, + const Ark_PointLightStyle* value) + { + } } // FlexAttributeModifier namespace FlowItemInterfaceModifier { - void _setFlowItemOptionsImpl(Ark_NativePointer node) { - } + void SetFlowItemOptionsImpl(Ark_NativePointer node) + { + } } // FlowItemInterfaceModifier namespace FolderStackInterfaceModifier { - void _setFolderStackOptionsImpl(Ark_NativePointer node, const Opt_Type_FolderStackInterface__setFolderStackOptions_Arg0* value) { - } + void SetFolderStackOptionsImpl(Ark_NativePointer node, + const Opt_Type_FolderStackInterface_setFolderStackOptions_Arg0* value) + { + } } // FolderStackInterfaceModifier namespace FolderStackAttributeModifier { - void AlignContentImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnFolderStateChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnHoverStatusChangeImpl(Ark_NativePointer node, Ark_Function handler) { - } - void EnableAnimationImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void AutoHalfFoldImpl(Ark_NativePointer node, Ark_Boolean value) { - } + void AlignContentImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnFolderStateChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnHoverStatusChangeImpl(Ark_NativePointer node, + Ark_Function handler) + { + } + void EnableAnimationImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void AutoHalfFoldImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } } // FolderStackAttributeModifier namespace FormComponentInterfaceModifier { - void _setFormComponentOptionsImpl(Ark_NativePointer node, const Ark_FormInfo* value) { - } + void SetFormComponentOptionsImpl(Ark_NativePointer node, + const Ark_FormInfo* value) + { + } } // FormComponentInterfaceModifier namespace FormComponentAttributeModifier { - void SizeImpl(Ark_NativePointer node, const Type_FormComponentAttribute_size_Arg0* value) { - } - void ModuleNameImpl(Ark_NativePointer node, const Ark_String* value) { - } - void DimensionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void AllowUpdateImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void VisibilityImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnAcquiredImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnErrorImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnRouterImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnUninstallImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnLoadImpl(Ark_NativePointer node, Ark_Function callback) { - } + void SizeImpl(Ark_NativePointer node, + const Type_FormComponentAttribute_size_Arg0* value) + { + } + void ModuleNameImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void DimensionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void AllowUpdateImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void VisibilityImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnAcquiredImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnErrorImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnRouterImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnUninstallImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnLoadImpl(Ark_NativePointer node, + Ark_Function callback) + { + } } // FormComponentAttributeModifier namespace FormLinkInterfaceModifier { - void _setFormLinkOptionsImpl(Ark_NativePointer node, const Ark_FormLinkOptions* options) { - } + void SetFormLinkOptionsImpl(Ark_NativePointer node, + const Ark_FormLinkOptions* options) + { + } } // FormLinkInterfaceModifier namespace GaugeInterfaceModifier { - void _setGaugeOptionsImpl(Ark_NativePointer node, const Type_GaugeInterface__setGaugeOptions_Arg0* options) { - } + void SetGaugeOptionsImpl(Ark_NativePointer node, + const Type_GaugeInterface_setGaugeOptions_Arg0* options) + { + } } // GaugeInterfaceModifier namespace GaugeAttributeModifier { - void ValueImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void StartAngleImpl(Ark_NativePointer node, const Ark_Number* angle) { - } - void EndAngleImpl(Ark_NativePointer node, const Ark_Number* angle) { - } - void ColorsImpl(Ark_NativePointer node, const Type_GaugeAttribute_colors_Arg0* colors) { - } - void StrokeWidthImpl(Ark_NativePointer node, const Ark_Length* length) { - } - void DescriptionImpl(Ark_NativePointer node, const CustomBuilder* value) { - } - void TrackShadowImpl(Ark_NativePointer node, const Ark_GaugeShadowOptions* value) { - } - void IndicatorImpl(Ark_NativePointer node, const Ark_GaugeIndicatorOptions* value) { - } - void PrivacySensitiveImpl(Ark_NativePointer node, const Opt_Boolean* isPrivacySensitiveMode) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } + void ValueImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void StartAngleImpl(Ark_NativePointer node, + const Ark_Number* angle) + { + } + void EndAngleImpl(Ark_NativePointer node, + const Ark_Number* angle) + { + } + void ColorsImpl(Ark_NativePointer node, + const Type_GaugeAttribute_colors_Arg0* colors) + { + } + void StrokeWidthImpl(Ark_NativePointer node, + const Ark_Length* length) + { + } + void DescriptionImpl(Ark_NativePointer node, + const CustomBuilder* value) + { + } + void TrackShadowImpl(Ark_NativePointer node, + const Ark_GaugeShadowOptions* value) + { + } + void IndicatorImpl(Ark_NativePointer node, + const Ark_GaugeIndicatorOptions* value) + { + } + void PrivacySensitiveImpl(Ark_NativePointer node, + const Opt_Boolean* isPrivacySensitiveMode) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } } // GaugeAttributeModifier namespace GridInterfaceModifier { - void _setGridOptionsImpl(Ark_NativePointer node, const Opt_Scroller* scroller, const Opt_GridLayoutOptions* layoutOptions) { - } + void SetGridOptionsImpl(Ark_NativePointer node, + const Opt_Scroller* scroller, + const Opt_GridLayoutOptions* layoutOptions) + { + } } // GridInterfaceModifier namespace GridAttributeModifier { - void ColumnsTemplateImpl(Ark_NativePointer node, const Ark_String* value) { - } - void RowsTemplateImpl(Ark_NativePointer node, const Ark_String* value) { - } - void ColumnsGapImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void RowsGapImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void ScrollBarWidthImpl(Ark_NativePointer node, const Type_GridAttribute_scrollBarWidth_Arg0* value) { - } - void ScrollBarColorImpl(Ark_NativePointer node, const Type_GridAttribute_scrollBarColor_Arg0* value) { - } - void ScrollBarImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnScrollBarUpdateImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollIndexImpl(Ark_NativePointer node, Ark_Function event) { - } - void CachedCountImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void EditModeImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void MultiSelectableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void MaxCountImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void MinCountImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void CellLengthImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void LayoutDirectionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void SupportAnimationImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnItemDragStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDragEnterImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDragMoveImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDragLeaveImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDropImpl(Ark_NativePointer node, Ark_Function event) { - } - void EdgeEffectImpl(Ark_NativePointer node, Ark_Int32 value, const Opt_EdgeEffectOptions* options) { - } - void NestedScrollImpl(Ark_NativePointer node, const Ark_NestedScrollOptions* value) { - } - void EnableScrollInteractionImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FrictionImpl(Ark_NativePointer node, const Type_GridAttribute_friction_Arg0* value) { - } - void OnScrollImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnReachStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnReachEndImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollStopImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollFrameBeginImpl(Ark_NativePointer node, Ark_Function event) { - } + void ColumnsTemplateImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void RowsTemplateImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void ColumnsGapImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void RowsGapImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void ScrollBarWidthImpl(Ark_NativePointer node, + const Type_GridAttribute_scrollBarWidth_Arg0* value) + { + } + void ScrollBarColorImpl(Ark_NativePointer node, + const Type_GridAttribute_scrollBarColor_Arg0* value) + { + } + void ScrollBarImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnScrollBarUpdateImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollIndexImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void CachedCountImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void EditModeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void MultiSelectableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void MaxCountImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void MinCountImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void CellLengthImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void LayoutDirectionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void SupportAnimationImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnItemDragStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDragEnterImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDragMoveImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDragLeaveImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDropImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void EdgeEffectImpl(Ark_NativePointer node, + Ark_Int32 value, + const Opt_EdgeEffectOptions* options) + { + } + void NestedScrollImpl(Ark_NativePointer node, + const Ark_NestedScrollOptions* value) + { + } + void EnableScrollInteractionImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FrictionImpl(Ark_NativePointer node, + const Type_GridAttribute_friction_Arg0* value) + { + } + void OnScrollImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnReachStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnReachEndImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollStopImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollFrameBeginImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // GridAttributeModifier namespace GridItemInterfaceModifier { - void _setGridItemOptionsImpl(Ark_NativePointer node, const Opt_GridItemOptions* value) { - } + void SetGridItemOptionsImpl(Ark_NativePointer node, + const Opt_GridItemOptions* value) + { + } } // GridItemInterfaceModifier namespace GridItemAttributeModifier { - void RowStartImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void RowEndImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ColumnStartImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ColumnEndImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ForceRebuildImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SelectableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SelectedImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnSelectImpl(Ark_NativePointer node, Ark_Function event) { - } + void RowStartImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void RowEndImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ColumnStartImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ColumnEndImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ForceRebuildImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SelectableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SelectedImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnSelectImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // GridItemAttributeModifier namespace GridColInterfaceModifier { - void _setGridColOptionsImpl(Ark_NativePointer node, const Opt_GridColOptions* option) { - } + void SetGridColOptionsImpl(Ark_NativePointer node, + const Opt_GridColOptions* option) + { + } } // GridColInterfaceModifier namespace GridColAttributeModifier { - void SpanImpl(Ark_NativePointer node, const Type_GridColAttribute_span_Arg0* value) { - } - void GridColOffsetImpl(Ark_NativePointer node, const Type_GridColAttribute_gridColOffset_Arg0* value) { - } - void OrderImpl(Ark_NativePointer node, const Type_GridColAttribute_order_Arg0* value) { - } + void SpanImpl(Ark_NativePointer node, + const Type_GridColAttribute_span_Arg0* value) + { + } + void GridColOffsetImpl(Ark_NativePointer node, + const Type_GridColAttribute_gridColOffset_Arg0* value) + { + } + void OrderImpl(Ark_NativePointer node, + const Type_GridColAttribute_order_Arg0* value) + { + } } // GridColAttributeModifier namespace GridContainerInterfaceModifier { - void _setGridContainerOptionsImpl(Ark_NativePointer node, const Opt_GridContainerOptions* value) { - } + void SetGridContainerOptionsImpl(Ark_NativePointer node, + const Opt_GridContainerOptions* value) + { + } } // GridContainerInterfaceModifier namespace GridRowInterfaceModifier { - void _setGridRowOptionsImpl(Ark_NativePointer node, const Opt_GridRowOptions* option) { - } + void SetGridRowOptionsImpl(Ark_NativePointer node, + const Opt_GridRowOptions* option) + { + } } // GridRowInterfaceModifier namespace GridRowAttributeModifier { - void OnBreakpointChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void AlignItemsImpl(Ark_NativePointer node, Ark_Int32 value) { - } + void OnBreakpointChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void AlignItemsImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } } // GridRowAttributeModifier namespace HyperlinkInterfaceModifier { - void _setHyperlinkOptionsImpl(Ark_NativePointer node, const Type_HyperlinkInterface__setHyperlinkOptions_Arg0* address, const Opt_Type_HyperlinkInterface__setHyperlinkOptions_Arg1* content) { - } + void SetHyperlinkOptionsImpl(Ark_NativePointer node, + const Type_HyperlinkInterface_setHyperlinkOptions_Arg0* address, + const Opt_Type_HyperlinkInterface_setHyperlinkOptions_Arg1* content) + { + } } // HyperlinkInterfaceModifier namespace HyperlinkAttributeModifier { - void ColorImpl(Ark_NativePointer node, const Type_HyperlinkAttribute_color_Arg0* value) { - } + void ColorImpl(Ark_NativePointer node, + const Type_HyperlinkAttribute_color_Arg0* value) + { + } } // HyperlinkAttributeModifier namespace ImageInterfaceModifier { - void _setImageOptions_PixelMapResourceStrDrawableDescriptorImpl(Ark_NativePointer node, const Type_ImageInterface__setImageOptions_Arg0* src) { - } - void _setImageOptions_PixelMapResourceStrDrawableDescriptorImageContentImpl(Ark_NativePointer node, const Type_ImageInterface__setImageOptions1_Arg0* src) { - } - void _setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptionsImpl(Ark_NativePointer node, const Type_ImageInterface__setImageOptions2_Arg0* src, const Ark_ImageAIOptions* imageAIOptions) { - } + void SetImageOptions0Impl(Ark_NativePointer node, + const Type_ImageInterface_setImageOptions_Arg0* src) + { + } + void SetImageOptions1Impl(Ark_NativePointer node, + const Type_ImageInterface_setImageOptions1_Arg0* src) + { + } + void SetImageOptions2Impl(Ark_NativePointer node, + const Type_ImageInterface_setImageOptions2_Arg0* src, + const Ark_ImageAIOptions* imageAIOptions) + { + } } // ImageInterfaceModifier namespace ImageAttributeModifier { - void AltImpl(Ark_NativePointer node, const Type_ImageAttribute_alt_Arg0* value) { - } - void MatchTextDirectionImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FitOriginalSizeImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FillColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void ObjectFitImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ObjectRepeatImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void AutoResizeImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void RenderModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DynamicRangeModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void InterpolationImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void SourceSizeImpl(Ark_NativePointer node, const Type_ImageAttribute_sourceSize_Arg0* value) { - } - void SyncLoadImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ColorFilterImpl(Ark_NativePointer node, const Type_ImageAttribute_colorFilter_Arg0* value) { - } - void CopyOptionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DraggableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void PointLightImpl(Ark_NativePointer node, const Ark_PointLightStyle* value) { - } - void EdgeAntialiasingImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void OnCompleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnErrorImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnFinishImpl(Ark_NativePointer node, Ark_Function event) { - } - void EnableAnalyzerImpl(Ark_NativePointer node, Ark_Boolean enable) { - } - void AnalyzerConfigImpl(Ark_NativePointer node, const Ark_ImageAnalyzerConfig* config) { - } - void ResizableImpl(Ark_NativePointer node, const Ark_ResizableOptions* value) { - } - void PrivacySensitiveImpl(Ark_NativePointer node, Ark_Boolean supported) { - } - void EnhancedImageQualityImpl(Ark_NativePointer node, const Ark_CustomObject* imageQuality) { - } + void AltImpl(Ark_NativePointer node, + const Type_ImageAttribute_alt_Arg0* value) + { + } + void MatchTextDirectionImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FitOriginalSizeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FillColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void ObjectFitImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ObjectRepeatImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void AutoResizeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void RenderModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DynamicRangeModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void InterpolationImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void SourceSizeImpl(Ark_NativePointer node, + const Type_ImageAttribute_sourceSize_Arg0* value) + { + } + void SyncLoadImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ColorFilterImpl(Ark_NativePointer node, + const Type_ImageAttribute_colorFilter_Arg0* value) + { + } + void CopyOptionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DraggableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void PointLightImpl(Ark_NativePointer node, + const Ark_PointLightStyle* value) + { + } + void EdgeAntialiasingImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void OnCompleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnErrorImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnFinishImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void EnableAnalyzerImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } + void AnalyzerConfigImpl(Ark_NativePointer node, + const Ark_ImageAnalyzerConfig* config) + { + } + void ResizableImpl(Ark_NativePointer node, + const Ark_ResizableOptions* value) + { + } + void PrivacySensitiveImpl(Ark_NativePointer node, + Ark_Boolean supported) + { + } + void EnhancedImageQualityImpl(Ark_NativePointer node, + const Ark_CustomObject* imageQuality) + { + } } // ImageAttributeModifier namespace ImageAnimatorInterfaceModifier { - void _setImageAnimatorOptionsImpl(Ark_NativePointer node) { - } + void SetImageAnimatorOptionsImpl(Ark_NativePointer node) + { + } } // ImageAnimatorInterfaceModifier namespace ImageAnimatorAttributeModifier { - void ImagesImpl(Ark_NativePointer node, const Array_ImageFrameInfo* value) { - } - void StateImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DurationImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ReverseImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FixedSizeImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void PreDecodeImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void FillModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void IterationsImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void OnStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnPauseImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnRepeatImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnCancelImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnFinishImpl(Ark_NativePointer node, Ark_Function event) { - } + void ImagesImpl(Ark_NativePointer node, + const Array_ImageFrameInfo* value) + { + } + void StateImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DurationImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ReverseImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FixedSizeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void PreDecodeImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void FillModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void IterationsImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void OnStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnPauseImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnRepeatImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnCancelImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnFinishImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // ImageAnimatorAttributeModifier namespace ImageSpanInterfaceModifier { - void _setImageSpanOptionsImpl(Ark_NativePointer node, const Type_ImageSpanInterface__setImageSpanOptions_Arg0* value) { - } + void SetImageSpanOptionsImpl(Ark_NativePointer node, + const Type_ImageSpanInterface_setImageSpanOptions_Arg0* value) + { + } } // ImageSpanInterfaceModifier namespace ImageSpanAttributeModifier { - void VerticalAlignImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ColorFilterImpl(Ark_NativePointer node, const Type_ImageSpanAttribute_colorFilter_Arg0* filter) { - } - void ObjectFitImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnCompleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnErrorImpl(Ark_NativePointer node, Ark_Function callback) { - } - void AltImpl(Ark_NativePointer node, const Ark_CustomObject* value) { - } - } // ImageSpanAttributeModifier - namespace LineInterfaceModifier { - void _setLineOptionsImpl(Ark_NativePointer node, const Opt_Type_LineInterface__setLineOptions_Arg0* value) { - } - } // LineInterfaceModifier - namespace LineAttributeModifier { - void StartPointImpl(Ark_NativePointer node, const Array_CustomObject* value) { - } - void EndPointImpl(Ark_NativePointer node, const Array_CustomObject* value) { - } - } // LineAttributeModifier - namespace ListInterfaceModifier { - void _setListOptionsImpl(Ark_NativePointer node, const Opt_Type_ListInterface__setListOptions_Arg0* value) { - } - } // ListInterfaceModifier - namespace ListAttributeModifier { - void LanesImpl(Ark_NativePointer node, const Type_ListAttribute_lanes_Arg0* value, const Opt_Dimension* gutter) { - } - void AlignListItemImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ListDirectionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ScrollBarImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void EdgeEffectImpl(Ark_NativePointer node, Ark_Int32 value, const Opt_EdgeEffectOptions* options) { - } - void FadingEdgeImpl(Ark_NativePointer node, const Opt_Boolean* value) { - } - void ContentStartOffsetImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ContentEndOffsetImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void DividerImpl(Ark_NativePointer node, const Type_ListAttribute_divider_Arg0* value) { - } - void EditModeImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void MultiSelectableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void CachedCountImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ChainAnimationImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ChainAnimationOptionsImpl(Ark_NativePointer node, const Ark_ChainAnimationOptions* value) { - } - void StickyImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ScrollSnapAlignImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void NestedScrollImpl(Ark_NativePointer node, const Ark_NestedScrollOptions* value) { - } - void EnableScrollInteractionImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FrictionImpl(Ark_NativePointer node, const Type_ListAttribute_friction_Arg0* value) { - } - void ChildrenMainSizeImpl(Ark_NativePointer node, const Ark_Materialized* value) { - } - void OnScrollImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollIndexImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollVisibleContentChangeImpl(Ark_NativePointer node, Ark_Function handler) { - } - void OnReachStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnReachEndImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollStopImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDeleteImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemMoveImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDragStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDragEnterImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDragMoveImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDragLeaveImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnItemDropImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollFrameBeginImpl(Ark_NativePointer node, Ark_Function event) { - } + void VerticalAlignImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ColorFilterImpl(Ark_NativePointer node, + const Type_ImageSpanAttribute_colorFilter_Arg0* filter) + { + } + void ObjectFitImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnCompleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnErrorImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void AltImpl(Ark_NativePointer node, + const Ark_CustomObject* value) + { + } + } // ImageSpanAttributeModifier + namespace LineInterfaceModifier { + void SetLineOptionsImpl(Ark_NativePointer node, + const Opt_Type_LineInterface_setLineOptions_Arg0* value) + { + } + } // LineInterfaceModifier + namespace LineAttributeModifier { + void StartPointImpl(Ark_NativePointer node, + const Array_CustomObject* value) + { + } + void EndPointImpl(Ark_NativePointer node, + const Array_CustomObject* value) + { + } + } // LineAttributeModifier + namespace ListInterfaceModifier { + void SetListOptionsImpl(Ark_NativePointer node, + const Opt_Type_ListInterface_setListOptions_Arg0* value) + { + } + } // ListInterfaceModifier + namespace ListAttributeModifier { + void LanesImpl(Ark_NativePointer node, + const Type_ListAttribute_lanes_Arg0* value, + const Opt_Dimension* gutter) + { + } + void AlignListItemImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ListDirectionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ScrollBarImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void EdgeEffectImpl(Ark_NativePointer node, + Ark_Int32 value, + const Opt_EdgeEffectOptions* options) + { + } + void FadingEdgeImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void ContentStartOffsetImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ContentEndOffsetImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void DividerImpl(Ark_NativePointer node, + const Type_ListAttribute_divider_Arg0* value) + { + } + void EditModeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void MultiSelectableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void CachedCountImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ChainAnimationImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ChainAnimationOptionsImpl(Ark_NativePointer node, + const Ark_ChainAnimationOptions* value) + { + } + void StickyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ScrollSnapAlignImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void NestedScrollImpl(Ark_NativePointer node, + const Ark_NestedScrollOptions* value) + { + } + void EnableScrollInteractionImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FrictionImpl(Ark_NativePointer node, + const Type_ListAttribute_friction_Arg0* value) + { + } + void ChildrenMainSizeImpl(Ark_NativePointer node, + const Ark_Materialized* value) + { + } + void OnScrollImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollIndexImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollVisibleContentChangeImpl(Ark_NativePointer node, + Ark_Function handler) + { + } + void OnReachStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnReachEndImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollStopImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDeleteImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemMoveImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDragStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDragEnterImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDragMoveImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDragLeaveImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnItemDropImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollFrameBeginImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // ListAttributeModifier namespace ListItemInterfaceModifier { - void _setListItemOptions_ListItemOptionsImpl(Ark_NativePointer node, const Opt_ListItemOptions* value) { - } - void _setListItemOptions_stringImpl(Ark_NativePointer node, const Opt_String* value) { - } + void SetListItemOptions0Impl(Ark_NativePointer node, + const Opt_ListItemOptions* value) + { + } + void SetListItemOptions1Impl(Ark_NativePointer node, + const Opt_String* value) + { + } } // ListItemInterfaceModifier namespace ListItemAttributeModifier { - void StickyImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void EditableImpl(Ark_NativePointer node, const Type_ListItemAttribute_editable_Arg0* value) { - } - void SelectableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SelectedImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SwipeActionImpl(Ark_NativePointer node, const Ark_SwipeActionOptions* value) { - } - void OnSelectImpl(Ark_NativePointer node, Ark_Function event) { - } + void StickyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void EditableImpl(Ark_NativePointer node, + const Type_ListItemAttribute_editable_Arg0* value) + { + } + void SelectableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SelectedImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SwipeActionImpl(Ark_NativePointer node, + const Ark_SwipeActionOptions* value) + { + } + void OnSelectImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // ListItemAttributeModifier namespace ListItemGroupInterfaceModifier { - void _setListItemGroupOptionsImpl(Ark_NativePointer node, const Opt_ListItemGroupOptions* options) { - } + void SetListItemGroupOptionsImpl(Ark_NativePointer node, + const Opt_ListItemGroupOptions* options) + { + } } // ListItemGroupInterfaceModifier namespace ListItemGroupAttributeModifier { - void DividerImpl(Ark_NativePointer node, const Type_ListItemGroupAttribute_divider_Arg0* value) { - } - void ChildrenMainSizeImpl(Ark_NativePointer node, const Ark_Materialized* value) { - } + void DividerImpl(Ark_NativePointer node, + const Type_ListItemGroupAttribute_divider_Arg0* value) + { + } + void ChildrenMainSizeImpl(Ark_NativePointer node, + const Ark_Materialized* value) + { + } } // ListItemGroupAttributeModifier namespace LoadingProgressInterfaceModifier { - void _setLoadingProgressOptionsImpl(Ark_NativePointer node) { - } + void SetLoadingProgressOptionsImpl(Ark_NativePointer node) + { + } } // LoadingProgressInterfaceModifier namespace LoadingProgressAttributeModifier { - void ColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void EnableLoadingImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } + void ColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void EnableLoadingImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } } // LoadingProgressAttributeModifier namespace LocationButtonInterfaceModifier { - void _setLocationButtonOptions_Impl(Ark_NativePointer node) { - } - void _setLocationButtonOptions_LocationButtonOptionsImpl(Ark_NativePointer node, const Ark_LocationButtonOptions* options) { - } + void SetLocationButtonOptions0Impl(Ark_NativePointer node) + { + } + void SetLocationButtonOptions1Impl(Ark_NativePointer node, + const Ark_LocationButtonOptions* options) + { + } } // LocationButtonInterfaceModifier namespace LocationButtonAttributeModifier { - void OnClickImpl(Ark_NativePointer node, Ark_Function event) { - } + void OnClickImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // LocationButtonAttributeModifier namespace MarqueeInterfaceModifier { - void _setMarqueeOptionsImpl(Ark_NativePointer node, const Type_MarqueeInterface__setMarqueeOptions_Arg0* value) { - } + void SetMarqueeOptionsImpl(Ark_NativePointer node, + const Type_MarqueeInterface_setMarqueeOptions_Arg0* value) + { + } } // MarqueeInterfaceModifier namespace MarqueeAttributeModifier { - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FontSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void AllowScaleImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_MarqueeAttribute_fontWeight_Arg0* value) { - } - void FontFamilyImpl(Ark_NativePointer node, const Type_MarqueeAttribute_fontFamily_Arg0* value) { - } - void MarqueeUpdateStrategyImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnBounceImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnFinishImpl(Ark_NativePointer node, Ark_Function event) { - } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FontSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void AllowScaleImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_MarqueeAttribute_fontWeight_Arg0* value) + { + } + void FontFamilyImpl(Ark_NativePointer node, + const Type_MarqueeAttribute_fontFamily_Arg0* value) + { + } + void MarqueeUpdateStrategyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnBounceImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnFinishImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // MarqueeAttributeModifier namespace MediaCachedImageInterfaceModifier { - void _setMediaCachedImageOptionsImpl(Ark_NativePointer node, const Type_MediaCachedImageInterface__setMediaCachedImageOptions_Arg0* src) { - } + void SetMediaCachedImageOptionsImpl(Ark_NativePointer node, + const Type_MediaCachedImageInterface_setMediaCachedImageOptions_Arg0* src) + { + } } // MediaCachedImageInterfaceModifier namespace MenuInterfaceModifier { - void _setMenuOptionsImpl(Ark_NativePointer node) { - } + void SetMenuOptionsImpl(Ark_NativePointer node) + { + } } // MenuInterfaceModifier namespace MenuAttributeModifier { - void FontSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void FontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void RadiusImpl(Ark_NativePointer node, const Type_MenuAttribute_radius_Arg0* value) { - } - void MenuItemDividerImpl(Ark_NativePointer node, const Type_MenuAttribute_menuItemDivider_Arg0* options) { - } - void MenuItemGroupDividerImpl(Ark_NativePointer node, const Type_MenuAttribute_menuItemGroupDivider_Arg0* options) { - } - void SubMenuExpandingModeImpl(Ark_NativePointer node, Ark_Int32 mode) { - } + void FontSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void FontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void RadiusImpl(Ark_NativePointer node, + const Type_MenuAttribute_radius_Arg0* value) + { + } + void MenuItemDividerImpl(Ark_NativePointer node, + const Type_MenuAttribute_menuItemDivider_Arg0* options) + { + } + void MenuItemGroupDividerImpl(Ark_NativePointer node, + const Type_MenuAttribute_menuItemGroupDivider_Arg0* options) + { + } + void SubMenuExpandingModeImpl(Ark_NativePointer node, + Ark_Int32 mode) + { + } } // MenuAttributeModifier namespace MenuItemInterfaceModifier { - void _setMenuItemOptionsImpl(Ark_NativePointer node, const Opt_Type_MenuItemInterface__setMenuItemOptions_Arg0* value) { - } + void SetMenuItemOptionsImpl(Ark_NativePointer node, + const Opt_Type_MenuItemInterface_setMenuItemOptions_Arg0* value) + { + } } // MenuItemInterfaceModifier namespace MenuItemAttributeModifier { - void SelectedImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SelectIconImpl(Ark_NativePointer node, const Type_MenuItemAttribute_selectIcon_Arg0* value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void ContentFontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void ContentFontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void LabelFontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void LabelFontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } + void SelectedImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SelectIconImpl(Ark_NativePointer node, + const Type_MenuItemAttribute_selectIcon_Arg0* value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void ContentFontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void ContentFontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void LabelFontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void LabelFontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } } // MenuItemAttributeModifier namespace MenuItemGroupInterfaceModifier { - void _setMenuItemGroupOptionsImpl(Ark_NativePointer node, const Opt_MenuItemGroupOptions* value) { - } - } // MenuItemGroupInterfaceModifier - namespace NavDestinationInterfaceModifier { - void _setNavDestinationOptionsImpl(Ark_NativePointer node) { - } - } // NavDestinationInterfaceModifier - namespace NavDestinationAttributeModifier { - void TitleImpl(Ark_NativePointer node, const Type_NavDestinationAttribute_title_Arg0* value, const Opt_NavigationTitleOptions* options) { - } - void HideTitleBarImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnShownImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnHiddenImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnBackPressedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void ModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void BackButtonIconImpl(Ark_NativePointer node, const Type_NavDestinationAttribute_backButtonIcon_Arg0* value) { - } - void MenusImpl(Ark_NativePointer node, const Type_NavDestinationAttribute_menus_Arg0* value) { - } - void OnReadyImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWillAppearImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWillDisappearImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWillShowImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWillHideImpl(Ark_NativePointer node, Ark_Function callback) { - } - void IgnoreLayoutSafeAreaImpl(Ark_NativePointer node, const Opt_Array_LayoutSafeAreaType* types, const Opt_Array_LayoutSafeAreaEdge* edges) { - } - void SystemBarStyleImpl(Ark_NativePointer node, const Opt_CustomObject* style) { - } + void SetMenuItemGroupOptionsImpl(Ark_NativePointer node, + const Opt_MenuItemGroupOptions* value) + { + } + } // MenuItemGroupInterfaceModifier + namespace NavDestinationInterfaceModifier { + void SetNavDestinationOptionsImpl(Ark_NativePointer node) + { + } + } // NavDestinationInterfaceModifier + namespace NavDestinationAttributeModifier { + void TitleImpl(Ark_NativePointer node, + const Type_NavDestinationAttribute_title_Arg0* value, + const Opt_NavigationTitleOptions* options) + { + } + void HideTitleBarImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnShownImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnHiddenImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnBackPressedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void ModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void BackButtonIconImpl(Ark_NativePointer node, + const Type_NavDestinationAttribute_backButtonIcon_Arg0* value) + { + } + void MenusImpl(Ark_NativePointer node, + const Type_NavDestinationAttribute_menus_Arg0* value) + { + } + void OnReadyImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWillAppearImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWillDisappearImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWillShowImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWillHideImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void IgnoreLayoutSafeAreaImpl(Ark_NativePointer node, + const Opt_Array_LayoutSafeAreaType* types, + const Opt_Array_LayoutSafeAreaEdge* edges) + { + } + void SystemBarStyleImpl(Ark_NativePointer node, + const Opt_CustomObject* style) + { + } } // NavDestinationAttributeModifier namespace NavRouterInterfaceModifier { - void _setNavRouterOptions_Impl(Ark_NativePointer node) { - } - void _setNavRouterOptions_RouteInfoImpl(Ark_NativePointer node, const Ark_RouteInfo* value) { - } + void SetNavRouterOptions0Impl(Ark_NativePointer node) + { + } + void SetNavRouterOptions1Impl(Ark_NativePointer node, + const Ark_RouteInfo* value) + { + } } // NavRouterInterfaceModifier namespace NavRouterAttributeModifier { - void OnStateChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void ModeImpl(Ark_NativePointer node, Ark_Int32 mode) { - } + void OnStateChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void ModeImpl(Ark_NativePointer node, + Ark_Int32 mode) + { + } } // NavRouterAttributeModifier namespace NavigationInterfaceModifier { - void _setNavigationOptions_Impl(Ark_NativePointer node) { - } - void _setNavigationOptions_NavPathStackImpl(Ark_NativePointer node, const Ark_Materialized* pathInfos) { - } + void SetNavigationOptions0Impl(Ark_NativePointer node) + { + } + void SetNavigationOptions1Impl(Ark_NativePointer node, + const Ark_Materialized* pathInfos) + { + } } // NavigationInterfaceModifier namespace NavigationAttributeModifier { - void NavBarWidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void NavBarPositionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void NavBarWidthRangeImpl(Ark_NativePointer node, const Type_NavigationAttribute_navBarWidthRange_Arg0* value) { - } - void MinContentWidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void ModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void BackButtonIconImpl(Ark_NativePointer node, const Type_NavigationAttribute_backButtonIcon_Arg0* value) { - } - void HideNavBarImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void TitleImpl(Ark_NativePointer node, const Type_NavigationAttribute_title_Arg0* value, const Opt_NavigationTitleOptions* options) { - } - void SubTitleImpl(Ark_NativePointer node, const Ark_String* value) { - } - void HideTitleBarImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void HideBackButtonImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void TitleModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void MenusImpl(Ark_NativePointer node, const Type_NavigationAttribute_menus_Arg0* value) { - } - void ToolBarImpl(Ark_NativePointer node, const Type_NavigationAttribute_toolBar_Arg0* value) { - } - void ToolbarConfigurationImpl(Ark_NativePointer node, const Type_NavigationAttribute_toolbarConfiguration_Arg0* value, const Opt_NavigationToolbarOptions* options) { - } - void HideToolBarImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnTitleModeChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnNavBarStateChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnNavigationModeChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void NavDestinationImpl(Ark_NativePointer node, Ark_Function builder) { - } - void CustomNavContentTransitionImpl(Ark_NativePointer node, Ark_Function delegate) { - } - void IgnoreLayoutSafeAreaImpl(Ark_NativePointer node, const Opt_Array_LayoutSafeAreaType* types, const Opt_Array_LayoutSafeAreaEdge* edges) { - } - void SystemBarStyleImpl(Ark_NativePointer node, const Opt_CustomObject* style) { - } + void NavBarWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void NavBarPositionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void NavBarWidthRangeImpl(Ark_NativePointer node, + const Type_NavigationAttribute_navBarWidthRange_Arg0* value) + { + } + void MinContentWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void ModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void BackButtonIconImpl(Ark_NativePointer node, + const Type_NavigationAttribute_backButtonIcon_Arg0* value) + { + } + void HideNavBarImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void TitleImpl(Ark_NativePointer node, + const Type_NavigationAttribute_title_Arg0* value, + const Opt_NavigationTitleOptions* options) + { + } + void SubTitleImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void HideTitleBarImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void HideBackButtonImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void TitleModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void MenusImpl(Ark_NativePointer node, + const Type_NavigationAttribute_menus_Arg0* value) + { + } + void ToolBarImpl(Ark_NativePointer node, + const Type_NavigationAttribute_toolBar_Arg0* value) + { + } + void ToolbarConfigurationImpl(Ark_NativePointer node, + const Type_NavigationAttribute_toolbarConfiguration_Arg0* value, + const Opt_NavigationToolbarOptions* options) + { + } + void HideToolBarImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnTitleModeChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnNavBarStateChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnNavigationModeChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void NavDestinationImpl(Ark_NativePointer node, + Ark_Function builder) + { + } + void CustomNavContentTransitionImpl(Ark_NativePointer node, + Ark_Function delegate) + { + } + void IgnoreLayoutSafeAreaImpl(Ark_NativePointer node, + const Opt_Array_LayoutSafeAreaType* types, + const Opt_Array_LayoutSafeAreaEdge* edges) + { + } + void SystemBarStyleImpl(Ark_NativePointer node, + const Opt_CustomObject* style) + { + } } // NavigationAttributeModifier namespace NavigatorInterfaceModifier { - void _setNavigatorOptions_targetstringtypeNavigationTypeImpl(Ark_NativePointer node, const Opt_Type_NavigatorInterface__setNavigatorOptions_Arg0* value) { - } - void _setNavigatorOptions_Impl(Ark_NativePointer node) { - } + void SetNavigatorOptions0Impl(Ark_NativePointer node, + const Opt_Type_NavigatorInterface_setNavigatorOptions_Arg0* value) + { + } + void SetNavigatorOptions1Impl(Ark_NativePointer node) + { + } } // NavigatorInterfaceModifier namespace NavigatorAttributeModifier { - void ActiveImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void TypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void TargetImpl(Ark_NativePointer node, const Ark_String* value) { - } - void ParamsImpl(Ark_NativePointer node, const Ark_CustomObject* value) { - } + void ActiveImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void TypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void TargetImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void ParamsImpl(Ark_NativePointer node, + const Ark_CustomObject* value) + { + } } // NavigatorAttributeModifier namespace NodeContainerInterfaceModifier { - void _setNodeContainerOptionsImpl(Ark_NativePointer node, const Ark_CustomObject* controller) { - } + void SetNodeContainerOptionsImpl(Ark_NativePointer node, + const Ark_CustomObject* controller) + { + } } // NodeContainerInterfaceModifier namespace PanelInterfaceModifier { - void _setPanelOptionsImpl(Ark_NativePointer node, Ark_Boolean show) { - } + void SetPanelOptionsImpl(Ark_NativePointer node, + Ark_Boolean show) + { + } } // PanelInterfaceModifier namespace PanelAttributeModifier { - void ModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void TypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DragBarImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void CustomHeightImpl(Ark_NativePointer node, const Type_PanelAttribute_customHeight_Arg0* value) { - } - void FullHeightImpl(Ark_NativePointer node, const Type_PanelAttribute_fullHeight_Arg0* value) { - } - void HalfHeightImpl(Ark_NativePointer node, const Type_PanelAttribute_halfHeight_Arg0* value) { - } - void MiniHeightImpl(Ark_NativePointer node, const Type_PanelAttribute_miniHeight_Arg0* value) { - } - void ShowImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void BackgroundMaskImpl(Ark_NativePointer node, const ResourceColor* color) { - } - void ShowCloseIconImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnHeightChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } + void ModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void TypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DragBarImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void CustomHeightImpl(Ark_NativePointer node, + const Type_PanelAttribute_customHeight_Arg0* value) + { + } + void FullHeightImpl(Ark_NativePointer node, + const Type_PanelAttribute_fullHeight_Arg0* value) + { + } + void HalfHeightImpl(Ark_NativePointer node, + const Type_PanelAttribute_halfHeight_Arg0* value) + { + } + void MiniHeightImpl(Ark_NativePointer node, + const Type_PanelAttribute_miniHeight_Arg0* value) + { + } + void ShowImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void BackgroundMaskImpl(Ark_NativePointer node, + const ResourceColor* color) + { + } + void ShowCloseIconImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnHeightChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } } // PanelAttributeModifier namespace PasteButtonInterfaceModifier { - void _setPasteButtonOptions_Impl(Ark_NativePointer node) { - } - void _setPasteButtonOptions_PasteButtonOptionsImpl(Ark_NativePointer node, const Ark_PasteButtonOptions* options) { - } + void SetPasteButtonOptions0Impl(Ark_NativePointer node) + { + } + void SetPasteButtonOptions1Impl(Ark_NativePointer node, + const Ark_PasteButtonOptions* options) + { + } } // PasteButtonInterfaceModifier namespace PasteButtonAttributeModifier { - void OnClickImpl(Ark_NativePointer node, Ark_Function event) { - } + void OnClickImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // PasteButtonAttributeModifier namespace PathInterfaceModifier { - void _setPathOptionsImpl(Ark_NativePointer node, const Opt_Type_PathInterface__setPathOptions_Arg0* value) { - } + void SetPathOptionsImpl(Ark_NativePointer node, + const Opt_Type_PathInterface_setPathOptions_Arg0* value) + { + } } // PathInterfaceModifier namespace PathAttributeModifier { - void CommandsImpl(Ark_NativePointer node, const Ark_String* value) { - } + void CommandsImpl(Ark_NativePointer node, + const Ark_String* value) + { + } } // PathAttributeModifier namespace PatternLockInterfaceModifier { - void _setPatternLockOptionsImpl(Ark_NativePointer node, const Opt_PatternLockController* controller) { - } + void SetPatternLockOptionsImpl(Ark_NativePointer node, + const Opt_PatternLockController* controller) + { + } } // PatternLockInterfaceModifier namespace PatternLockAttributeModifier { - void SideLengthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void CircleRadiusImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void BackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void RegularColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void SelectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void ActiveColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PathColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PathStrokeWidthImpl(Ark_NativePointer node, const Type_PatternLockAttribute_pathStrokeWidth_Arg0* value) { - } - void OnPatternCompleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void AutoResetImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnDotConnectImpl(Ark_NativePointer node, Ark_Function callback) { - } - void ActivateCircleStyleImpl(Ark_NativePointer node, const Opt_CircleStyleOptions* options) { - } + void SideLengthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void CircleRadiusImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void BackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void RegularColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void SelectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void ActiveColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PathColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PathStrokeWidthImpl(Ark_NativePointer node, + const Type_PatternLockAttribute_pathStrokeWidth_Arg0* value) + { + } + void OnPatternCompleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void AutoResetImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnDotConnectImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void ActivateCircleStyleImpl(Ark_NativePointer node, + const Opt_CircleStyleOptions* options) + { + } } // PatternLockAttributeModifier namespace PluginComponentInterfaceModifier { - void _setPluginComponentOptionsImpl(Ark_NativePointer node, const Type_PluginComponentInterface__setPluginComponentOptions_Arg0* value) { - } + void SetPluginComponentOptionsImpl(Ark_NativePointer node, + const Type_PluginComponentInterface_setPluginComponentOptions_Arg0* value) + { + } } // PluginComponentInterfaceModifier namespace PluginComponentAttributeModifier { - void OnCompleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnErrorImpl(Ark_NativePointer node, Ark_Function callback) { - } + void OnCompleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnErrorImpl(Ark_NativePointer node, + Ark_Function callback) + { + } } // PluginComponentAttributeModifier namespace PolygonInterfaceModifier { - void _setPolygonOptionsImpl(Ark_NativePointer node, const Opt_Type_PolygonInterface__setPolygonOptions_Arg0* value) { - } + void SetPolygonOptionsImpl(Ark_NativePointer node, + const Opt_Type_PolygonInterface_setPolygonOptions_Arg0* value) + { + } } // PolygonInterfaceModifier namespace PolygonAttributeModifier { - void PointsImpl(Ark_NativePointer node, const Array_CustomObject* value) { - } + void PointsImpl(Ark_NativePointer node, + const Array_CustomObject* value) + { + } } // PolygonAttributeModifier namespace PolylineInterfaceModifier { - void _setPolylineOptionsImpl(Ark_NativePointer node, const Opt_Type_PolylineInterface__setPolylineOptions_Arg0* value) { - } + void SetPolylineOptionsImpl(Ark_NativePointer node, + const Opt_Type_PolylineInterface_setPolylineOptions_Arg0* value) + { + } } // PolylineInterfaceModifier namespace PolylineAttributeModifier { - void PointsImpl(Ark_NativePointer node, const Array_CustomObject* value) { - } + void PointsImpl(Ark_NativePointer node, + const Array_CustomObject* value) + { + } } // PolylineAttributeModifier namespace QRCodeInterfaceModifier { - void _setQRCodeOptionsImpl(Ark_NativePointer node, const Ark_String* value) { - } + void SetQRCodeOptionsImpl(Ark_NativePointer node, + const Ark_String* value) + { + } } // QRCodeInterfaceModifier namespace QRCodeAttributeModifier { - void ColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void BackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void ContentOpacityImpl(Ark_NativePointer node, const Type_QRCodeAttribute_contentOpacity_Arg0* value) { - } + void ColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void BackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void ContentOpacityImpl(Ark_NativePointer node, + const Type_QRCodeAttribute_contentOpacity_Arg0* value) + { + } } // QRCodeAttributeModifier namespace RadioInterfaceModifier { - void _setRadioOptionsImpl(Ark_NativePointer node, const Ark_RadioOptions* options) { - } + void SetRadioOptionsImpl(Ark_NativePointer node, + const Ark_RadioOptions* options) + { + } } // RadioInterfaceModifier namespace RadioAttributeModifier { - void CheckedImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void RadioStyleImpl(Ark_NativePointer node, const Opt_RadioStyle* value) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } + void CheckedImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void RadioStyleImpl(Ark_NativePointer node, + const Opt_RadioStyle* value) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } } // RadioAttributeModifier namespace RatingInterfaceModifier { - void _setRatingOptionsImpl(Ark_NativePointer node, const Opt_Type_RatingInterface__setRatingOptions_Arg0* options) { - } + void SetRatingOptionsImpl(Ark_NativePointer node, + const Opt_Type_RatingInterface_setRatingOptions_Arg0* options) + { + } } // RatingInterfaceModifier namespace RatingAttributeModifier { - void StarsImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void StepSizeImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void StarStyleImpl(Ark_NativePointer node, const Type_RatingAttribute_starStyle_Arg0* value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } + void StarsImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void StepSizeImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void StarStyleImpl(Ark_NativePointer node, + const Type_RatingAttribute_starStyle_Arg0* value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } } // RatingAttributeModifier namespace RectInterfaceModifier { - void _setRectOptionsImpl(Ark_NativePointer node, const Opt_Type_RectInterface__setRectOptions_Arg0* value) { - } + void SetRectOptionsImpl(Ark_NativePointer node, + const Opt_Type_RectInterface_setRectOptions_Arg0* value) + { + } } // RectInterfaceModifier namespace RectAttributeModifier { - void RadiusWidthImpl(Ark_NativePointer node, const Type_RectAttribute_radiusWidth_Arg0* value) { - } - void RadiusHeightImpl(Ark_NativePointer node, const Type_RectAttribute_radiusHeight_Arg0* value) { - } - void RadiusImpl(Ark_NativePointer node, const Type_RectAttribute_radius_Arg0* value) { - } + void RadiusWidthImpl(Ark_NativePointer node, + const Type_RectAttribute_radiusWidth_Arg0* value) + { + } + void RadiusHeightImpl(Ark_NativePointer node, + const Type_RectAttribute_radiusHeight_Arg0* value) + { + } + void RadiusImpl(Ark_NativePointer node, + const Type_RectAttribute_radius_Arg0* value) + { + } } // RectAttributeModifier namespace RefreshInterfaceModifier { - void _setRefreshOptionsImpl(Ark_NativePointer node, const Ark_RefreshOptions* value) { - } + void SetRefreshOptionsImpl(Ark_NativePointer node, + const Ark_RefreshOptions* value) + { + } } // RefreshInterfaceModifier namespace RefreshAttributeModifier { - void OnStateChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnRefreshingImpl(Ark_NativePointer node, Ark_Function callback) { - } - void RefreshOffsetImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void PullToRefreshImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnOffsetChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void PullDownRatioImpl(Ark_NativePointer node, const Opt_Number* ratio) { - } + void OnStateChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnRefreshingImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void RefreshOffsetImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void PullToRefreshImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnOffsetChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void PullDownRatioImpl(Ark_NativePointer node, + const Opt_Number* ratio) + { + } } // RefreshAttributeModifier namespace RelativeContainerInterfaceModifier { - void _setRelativeContainerOptionsImpl(Ark_NativePointer node) { - } + void SetRelativeContainerOptionsImpl(Ark_NativePointer node) + { + } } // RelativeContainerInterfaceModifier namespace RelativeContainerAttributeModifier { - void GuideLineImpl(Ark_NativePointer node, const Array_GuideLineStyle* value) { - } - void Barrier_ArrayBarrierStyleImpl(Ark_NativePointer node, const Array_BarrierStyle* value) { - } - void Barrier_ArrayLocalizedBarrierStyleImpl(Ark_NativePointer node, const Array_LocalizedBarrierStyle* barrierStyle) { - } + void GuideLineImpl(Ark_NativePointer node, + const Array_GuideLineStyle* value) + { + } + void Barrier0Impl(Ark_NativePointer node, + const Array_BarrierStyle* value) + { + } + void Barrier1Impl(Ark_NativePointer node, + const Array_LocalizedBarrierStyle* barrierStyle) + { + } } // RelativeContainerAttributeModifier namespace RichEditorInterfaceModifier { - void _setRichEditorOptions_RichEditorOptionsImpl(Ark_NativePointer node, const Ark_RichEditorOptions* value) { - } - void _setRichEditorOptions_RichEditorStyledStringOptionsImpl(Ark_NativePointer node, const Ark_RichEditorStyledStringOptions* options) { - } + void SetRichEditorOptions0Impl(Ark_NativePointer node, + const Ark_RichEditorOptions* value) + { + } + void SetRichEditorOptions1Impl(Ark_NativePointer node, + const Ark_RichEditorStyledStringOptions* options) + { + } } // RichEditorInterfaceModifier namespace RichEditorAttributeModifier { - void OnReadyImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSelectImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSelectionChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void AboutToIMEInputImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnIMEInputCompleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void AboutToDeleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDeleteCompleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void CopyOptionsImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void BindSelectionMenuImpl(Ark_NativePointer node, Ark_Int32 spanType, const CustomBuilder* content, const Type_RichEditorAttribute_bindSelectionMenu_Arg2* responseType, const Opt_SelectionMenuOptions* options) { - } - void CustomKeyboardImpl(Ark_NativePointer node, const CustomBuilder* value, const Opt_KeyboardOptions* options) { - } - void OnPasteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void EnableDataDetectorImpl(Ark_NativePointer node, Ark_Boolean enable) { - } - void EnablePreviewTextImpl(Ark_NativePointer node, Ark_Boolean enable) { - } - void DataDetectorConfigImpl(Ark_NativePointer node, const Ark_TextDataDetectorConfig* config) { - } - void PlaceholderImpl(Ark_NativePointer node, const ResourceStr* value, const Opt_PlaceholderStyle* style) { - } - void CaretColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void SelectedBackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void OnEditingChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void EnterKeyTypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnSubmitImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWillChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDidChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnCutImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnCopyImpl(Ark_NativePointer node, Ark_Function callback) { - } - void EditMenuOptionsImpl(Ark_NativePointer node, const Ark_Materialized* editMenu) { - } + void OnReadyImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSelectImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSelectionChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void AboutToIMEInputImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnIMEInputCompleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void AboutToDeleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDeleteCompleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void CopyOptionsImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void BindSelectionMenuImpl(Ark_NativePointer node, + Ark_Int32 spanType, + const CustomBuilder* content, + const Type_RichEditorAttribute_bindSelectionMenu_Arg2* responseType, + const Opt_SelectionMenuOptions* options) + { + } + void CustomKeyboardImpl(Ark_NativePointer node, + const CustomBuilder* value, + const Opt_KeyboardOptions* options) + { + } + void OnPasteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void EnableDataDetectorImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } + void EnablePreviewTextImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } + void DataDetectorConfigImpl(Ark_NativePointer node, + const Ark_TextDataDetectorConfig* config) + { + } + void PlaceholderImpl(Ark_NativePointer node, + const ResourceStr* value, + const Opt_PlaceholderStyle* style) + { + } + void CaretColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void SelectedBackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void OnEditingChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void EnterKeyTypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnSubmitImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWillChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDidChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnCutImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnCopyImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void EditMenuOptionsImpl(Ark_NativePointer node, + const Ark_Materialized* editMenu) + { + } } // RichEditorAttributeModifier namespace RichTextInterfaceModifier { - void _setRichTextOptionsImpl(Ark_NativePointer node, const Ark_String* content) { - } + void SetRichTextOptionsImpl(Ark_NativePointer node, + const Ark_String* content) + { + } } // RichTextInterfaceModifier namespace RichTextAttributeModifier { - void OnStartImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnCompleteImpl(Ark_NativePointer node, Ark_Function callback) { - } + void OnStartImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnCompleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } } // RichTextAttributeModifier namespace RootSceneInterfaceModifier { - void _setRootSceneOptionsImpl(Ark_NativePointer node, const Ark_RootSceneSession* session) { - } + void SetRootSceneOptionsImpl(Ark_NativePointer node, + const Ark_RootSceneSession* session) + { + } } // RootSceneInterfaceModifier namespace RowInterfaceModifier { - void _setRowOptionsImpl(Ark_NativePointer node, const Opt_Type_RowInterface__setRowOptions_Arg0* value) { - } + void SetRowOptionsImpl(Ark_NativePointer node, + const Opt_Type_RowInterface_setRowOptions_Arg0* value) + { + } } // RowInterfaceModifier namespace RowAttributeModifier { - void AlignItemsImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void JustifyContentImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void PointLightImpl(Ark_NativePointer node, const Ark_PointLightStyle* value) { - } + void AlignItemsImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void JustifyContentImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void PointLightImpl(Ark_NativePointer node, + const Ark_PointLightStyle* value) + { + } } // RowAttributeModifier namespace RowSplitInterfaceModifier { - void _setRowSplitOptionsImpl(Ark_NativePointer node) { - } + void SetRowSplitOptionsImpl(Ark_NativePointer node) + { + } } // RowSplitInterfaceModifier namespace RowSplitAttributeModifier { - void ResizeableImpl(Ark_NativePointer node, Ark_Boolean value) { - } + void ResizeableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } } // RowSplitAttributeModifier namespace SaveButtonInterfaceModifier { - void _setSaveButtonOptions_Impl(Ark_NativePointer node) { - } - void _setSaveButtonOptions_SaveButtonOptionsImpl(Ark_NativePointer node, const Ark_SaveButtonOptions* options) { - } + void SetSaveButtonOptions0Impl(Ark_NativePointer node) + { + } + void SetSaveButtonOptions1Impl(Ark_NativePointer node, + const Ark_SaveButtonOptions* options) + { + } } // SaveButtonInterfaceModifier namespace SaveButtonAttributeModifier { - void OnClickImpl(Ark_NativePointer node, Ark_Function event) { - } + void OnClickImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // SaveButtonAttributeModifier namespace ScreenInterfaceModifier { - void _setScreenOptionsImpl(Ark_NativePointer node, const Ark_Number* screenId) { - } + void SetScreenOptionsImpl(Ark_NativePointer node, + const Ark_Number* screenId) + { + } } // ScreenInterfaceModifier namespace ScrollInterfaceModifier { - void _setScrollOptionsImpl(Ark_NativePointer node, const Opt_Scroller* scroller) { - } + void SetScrollOptionsImpl(Ark_NativePointer node, + const Opt_Scroller* scroller) + { + } } // ScrollInterfaceModifier namespace ScrollAttributeModifier { - void ScrollableImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnScrollImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnWillScrollImpl(Ark_NativePointer node, const Ark_CustomObject* stub_for_onWillScroll) { - } - void OnDidScrollImpl(Ark_NativePointer node, Ark_Function handler) { - } - void OnScrollEdgeImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollEndImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollStopImpl(Ark_NativePointer node, Ark_Function event) { - } - void ScrollBarImpl(Ark_NativePointer node, Ark_Int32 barState) { - } - void ScrollBarColorImpl(Ark_NativePointer node, const Type_ScrollAttribute_scrollBarColor_Arg0* color) { - } - void ScrollBarWidthImpl(Ark_NativePointer node, const Type_ScrollAttribute_scrollBarWidth_Arg0* value) { - } - void EdgeEffectImpl(Ark_NativePointer node, Ark_Int32 edgeEffect, const Opt_EdgeEffectOptions* options) { - } - void OnScrollFrameBeginImpl(Ark_NativePointer node, Ark_Function event) { - } - void NestedScrollImpl(Ark_NativePointer node, const Ark_NestedScrollOptions* value) { - } - void EnableScrollInteractionImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FrictionImpl(Ark_NativePointer node, const Type_ScrollAttribute_friction_Arg0* value) { - } - void ScrollSnapImpl(Ark_NativePointer node, const Ark_ScrollSnapOptions* value) { - } - void EnablePagingImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void InitialOffsetImpl(Ark_NativePointer node, const Ark_OffsetOptions* value) { - } + void ScrollableImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnScrollImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnWillScrollImpl(Ark_NativePointer node, + const Ark_CustomObject* stub_for_onWillScroll) + { + } + void OnDidScrollImpl(Ark_NativePointer node, + Ark_Function handler) + { + } + void OnScrollEdgeImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollEndImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollStopImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void ScrollBarImpl(Ark_NativePointer node, + Ark_Int32 barState) + { + } + void ScrollBarColorImpl(Ark_NativePointer node, + const Type_ScrollAttribute_scrollBarColor_Arg0* color) + { + } + void ScrollBarWidthImpl(Ark_NativePointer node, + const Type_ScrollAttribute_scrollBarWidth_Arg0* value) + { + } + void EdgeEffectImpl(Ark_NativePointer node, + Ark_Int32 edgeEffect, + const Opt_EdgeEffectOptions* options) + { + } + void OnScrollFrameBeginImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void NestedScrollImpl(Ark_NativePointer node, + const Ark_NestedScrollOptions* value) + { + } + void EnableScrollInteractionImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FrictionImpl(Ark_NativePointer node, + const Type_ScrollAttribute_friction_Arg0* value) + { + } + void ScrollSnapImpl(Ark_NativePointer node, + const Ark_ScrollSnapOptions* value) + { + } + void EnablePagingImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void InitialOffsetImpl(Ark_NativePointer node, + const Ark_OffsetOptions* value) + { + } } // ScrollAttributeModifier namespace ScrollBarInterfaceModifier { - void _setScrollBarOptionsImpl(Ark_NativePointer node, const Ark_ScrollBarOptions* value) { - } + void SetScrollBarOptionsImpl(Ark_NativePointer node, + const Ark_ScrollBarOptions* value) + { + } } // ScrollBarInterfaceModifier namespace SearchInterfaceModifier { - void _setSearchOptionsImpl(Ark_NativePointer node, const Opt_Type_SearchInterface__setSearchOptions_Arg0* options) { - } + void SetSearchOptionsImpl(Ark_NativePointer node, + const Opt_Type_SearchInterface_setSearchOptions_Arg0* options) + { + } } // SearchInterfaceModifier namespace SearchAttributeModifier { - void SearchButtonImpl(Ark_NativePointer node, const Ark_String* value, const Opt_SearchButtonOptions* option) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void SearchIconImpl(Ark_NativePointer node, const Type_SearchAttribute_searchIcon_Arg0* value) { - } - void CancelButtonImpl(Ark_NativePointer node, const Type_SearchAttribute_cancelButton_Arg0* value) { - } - void TextIndentImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void InputFilterImpl(Ark_NativePointer node, const ResourceStr* value, const Opt_Callback* error) { - } - void OnEditChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void SelectedBackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void CaretStyleImpl(Ark_NativePointer node, const Ark_CaretStyle* value) { - } - void PlaceholderColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PlaceholderFontImpl(Ark_NativePointer node, const Opt_Font* value) { - } - void TextFontImpl(Ark_NativePointer node, const Opt_Font* value) { - } - void EnterKeyTypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnSubmitImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnTextSelectionChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnContentScrollImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnCopyImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnCutImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPasteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void CopyOptionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void MaxLengthImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void TextAlignImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void EnableKeyboardOnFocusImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SelectionMenuHiddenImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void MinFontSizeImpl(Ark_NativePointer node, const Type_SearchAttribute_minFontSize_Arg0* value) { - } - void MaxFontSizeImpl(Ark_NativePointer node, const Type_SearchAttribute_maxFontSize_Arg0* value) { - } - void CustomKeyboardImpl(Ark_NativePointer node, const CustomBuilder* value, const Opt_KeyboardOptions* options) { - } - void DecorationImpl(Ark_NativePointer node, const Ark_TextDecorationOptions* value) { - } - void LetterSpacingImpl(Ark_NativePointer node, const Type_SearchAttribute_letterSpacing_Arg0* value) { - } - void LineHeightImpl(Ark_NativePointer node, const Type_SearchAttribute_lineHeight_Arg0* value) { - } - void TypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontFeatureImpl(Ark_NativePointer node, const Ark_String* value) { - } - void OnWillInsertImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDidInsertImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWillDeleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDidDeleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void EditMenuOptionsImpl(Ark_NativePointer node, const Ark_Materialized* editMenu) { - } - void EnablePreviewTextImpl(Ark_NativePointer node, Ark_Boolean enable) { - } + void SearchButtonImpl(Ark_NativePointer node, + const Ark_String* value, + const Opt_SearchButtonOptions* option) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void SearchIconImpl(Ark_NativePointer node, + const Type_SearchAttribute_searchIcon_Arg0* value) + { + } + void CancelButtonImpl(Ark_NativePointer node, + const Type_SearchAttribute_cancelButton_Arg0* value) + { + } + void TextIndentImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void InputFilterImpl(Ark_NativePointer node, + const ResourceStr* value, + const Opt_Callback* error) + { + } + void OnEditChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void SelectedBackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void CaretStyleImpl(Ark_NativePointer node, + const Ark_CaretStyle* value) + { + } + void PlaceholderColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PlaceholderFontImpl(Ark_NativePointer node, + const Opt_Font* value) + { + } + void TextFontImpl(Ark_NativePointer node, + const Opt_Font* value) + { + } + void EnterKeyTypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnSubmitImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnTextSelectionChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnContentScrollImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnCopyImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnCutImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPasteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void CopyOptionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void MaxLengthImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void TextAlignImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void EnableKeyboardOnFocusImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SelectionMenuHiddenImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void MinFontSizeImpl(Ark_NativePointer node, + const Type_SearchAttribute_minFontSize_Arg0* value) + { + } + void MaxFontSizeImpl(Ark_NativePointer node, + const Type_SearchAttribute_maxFontSize_Arg0* value) + { + } + void CustomKeyboardImpl(Ark_NativePointer node, + const CustomBuilder* value, + const Opt_KeyboardOptions* options) + { + } + void DecorationImpl(Ark_NativePointer node, + const Ark_TextDecorationOptions* value) + { + } + void LetterSpacingImpl(Ark_NativePointer node, + const Type_SearchAttribute_letterSpacing_Arg0* value) + { + } + void LineHeightImpl(Ark_NativePointer node, + const Type_SearchAttribute_lineHeight_Arg0* value) + { + } + void TypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontFeatureImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void OnWillInsertImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDidInsertImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWillDeleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDidDeleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void EditMenuOptionsImpl(Ark_NativePointer node, + const Ark_Materialized* editMenu) + { + } + void EnablePreviewTextImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } } // SearchAttributeModifier namespace SecurityComponentMethodModifier { - void IconSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void LayoutDirectionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void PositionImpl(Ark_NativePointer node, const Ark_Position* value) { - } - void MarkAnchorImpl(Ark_NativePointer node, const Ark_Position* value) { - } - void OffsetImpl(Ark_NativePointer node, const Type_SecurityComponentMethod_offset_Arg0* value) { - } - void FontSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void FontStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_SecurityComponentMethod_fontWeight_Arg0* value) { - } - void FontFamilyImpl(Ark_NativePointer node, const Type_SecurityComponentMethod_fontFamily_Arg0* value) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void IconColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void BackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void BorderStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void BorderWidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void BorderColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void BorderRadiusImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void PaddingImpl(Ark_NativePointer node, const Type_SecurityComponentMethod_padding_Arg0* value) { - } - void TextIconSpaceImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void KeyImpl(Ark_NativePointer node, const Ark_String* value) { - } - void WidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void HeightImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void SizeImpl(Ark_NativePointer node, const Ark_SizeOptions* value) { - } - void ConstraintSizeImpl(Ark_NativePointer node, const Ark_ConstraintSizeOptions* value) { - } + void IconSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void LayoutDirectionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void PositionImpl(Ark_NativePointer node, + const Ark_Position* value) + { + } + void MarkAnchorImpl(Ark_NativePointer node, + const Ark_Position* value) + { + } + void OffsetImpl(Ark_NativePointer node, + const Type_SecurityComponentMethod_offset_Arg0* value) + { + } + void FontSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void FontStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_SecurityComponentMethod_fontWeight_Arg0* value) + { + } + void FontFamilyImpl(Ark_NativePointer node, + const Type_SecurityComponentMethod_fontFamily_Arg0* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void IconColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void BackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void BorderStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void BorderWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void BorderColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void BorderRadiusImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void PaddingImpl(Ark_NativePointer node, + const Type_SecurityComponentMethod_padding_Arg0* value) + { + } + void TextIconSpaceImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void KeyImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void WidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void HeightImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void SizeImpl(Ark_NativePointer node, + const Ark_SizeOptions* value) + { + } + void ConstraintSizeImpl(Ark_NativePointer node, + const Ark_ConstraintSizeOptions* value) + { + } } // SecurityComponentMethodModifier namespace SelectInterfaceModifier { - void _setSelectOptionsImpl(Ark_NativePointer node, const Array_SelectOption* options) { - } + void SetSelectOptionsImpl(Ark_NativePointer node, + const Array_SelectOption* options) + { + } } // SelectInterfaceModifier namespace SelectAttributeModifier { - void SelectedImpl(Ark_NativePointer node, const Type_SelectAttribute_selected_Arg0* value) { - } - void ValueImpl(Ark_NativePointer node, const ResourceStr* value) { - } - void FontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void SelectedOptionBgColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void SelectedOptionFontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void SelectedOptionFontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void OptionBgColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void OptionFontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void OptionFontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void OnSelectImpl(Ark_NativePointer node, Ark_Function callback) { - } - void SpaceImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void ArrowPositionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void MenuAlignImpl(Ark_NativePointer node, Ark_Int32 alignType, const Opt_Offset* offset) { - } - void OptionWidthImpl(Ark_NativePointer node, const Type_SelectAttribute_optionWidth_Arg0* value) { - } - void OptionHeightImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void MenuBackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void MenuBackgroundBlurStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ControlSizeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void MenuItemContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } - void DividerImpl(Ark_NativePointer node, const Type_SelectAttribute_divider_Arg0* options) { - } + void SelectedImpl(Ark_NativePointer node, + const Type_SelectAttribute_selected_Arg0* value) + { + } + void ValueImpl(Ark_NativePointer node, + const ResourceStr* value) + { + } + void FontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void SelectedOptionBgColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void SelectedOptionFontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void SelectedOptionFontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void OptionBgColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void OptionFontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void OptionFontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void OnSelectImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void SpaceImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void ArrowPositionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void MenuAlignImpl(Ark_NativePointer node, + Ark_Int32 alignType, + const Opt_Offset* offset) + { + } + void OptionWidthImpl(Ark_NativePointer node, + const Type_SelectAttribute_optionWidth_Arg0* value) + { + } + void OptionHeightImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void MenuBackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void MenuBackgroundBlurStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ControlSizeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void MenuItemContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } + void DividerImpl(Ark_NativePointer node, + const Type_SelectAttribute_divider_Arg0* options) + { + } } // SelectAttributeModifier namespace ShapeInterfaceModifier { - void _setShapeOptions_PixelMapImpl(Ark_NativePointer node, const Ark_CustomObject* value) { - } - void _setShapeOptions_Impl(Ark_NativePointer node) { - } + void SetShapeOptions0Impl(Ark_NativePointer node, + const Ark_CustomObject* value) + { + } + void SetShapeOptions1Impl(Ark_NativePointer node) + { + } } // ShapeInterfaceModifier namespace ShapeAttributeModifier { - void ViewPortImpl(Ark_NativePointer node, const Type_ShapeAttribute_viewPort_Arg0* value) { - } - void StrokeImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FillImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void StrokeDashOffsetImpl(Ark_NativePointer node, const Type_ShapeAttribute_strokeDashOffset_Arg0* value) { - } - void StrokeDashArrayImpl(Ark_NativePointer node, const Array_CustomObject* value) { - } - void StrokeLineCapImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void StrokeLineJoinImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void StrokeMiterLimitImpl(Ark_NativePointer node, const Type_ShapeAttribute_strokeMiterLimit_Arg0* value) { - } - void StrokeOpacityImpl(Ark_NativePointer node, const Type_ShapeAttribute_strokeOpacity_Arg0* value) { - } - void FillOpacityImpl(Ark_NativePointer node, const Type_ShapeAttribute_fillOpacity_Arg0* value) { - } - void StrokeWidthImpl(Ark_NativePointer node, const Type_ShapeAttribute_strokeWidth_Arg0* value) { - } - void AntiAliasImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void MeshImpl(Ark_NativePointer node, const Array_CustomObject* value, const Ark_Number* column, const Ark_Number* row) { - } + void ViewPortImpl(Ark_NativePointer node, + const Type_ShapeAttribute_viewPort_Arg0* value) + { + } + void StrokeImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FillImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void StrokeDashOffsetImpl(Ark_NativePointer node, + const Type_ShapeAttribute_strokeDashOffset_Arg0* value) + { + } + void StrokeDashArrayImpl(Ark_NativePointer node, + const Array_CustomObject* value) + { + } + void StrokeLineCapImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void StrokeLineJoinImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void StrokeMiterLimitImpl(Ark_NativePointer node, + const Type_ShapeAttribute_strokeMiterLimit_Arg0* value) + { + } + void StrokeOpacityImpl(Ark_NativePointer node, + const Type_ShapeAttribute_strokeOpacity_Arg0* value) + { + } + void FillOpacityImpl(Ark_NativePointer node, + const Type_ShapeAttribute_fillOpacity_Arg0* value) + { + } + void StrokeWidthImpl(Ark_NativePointer node, + const Type_ShapeAttribute_strokeWidth_Arg0* value) + { + } + void AntiAliasImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void MeshImpl(Ark_NativePointer node, + const Array_CustomObject* value, + const Ark_Number* column, + const Ark_Number* row) + { + } } // ShapeAttributeModifier namespace SliderInterfaceModifier { - void _setSliderOptionsImpl(Ark_NativePointer node, const Opt_SliderOptions* options) { - } + void SetSliderOptionsImpl(Ark_NativePointer node, + const Opt_SliderOptions* options) + { + } } // SliderInterfaceModifier namespace SliderAttributeModifier { - void BlockColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void TrackColorImpl(Ark_NativePointer node, const Type_SliderAttribute_trackColor_Arg0* value) { - } - void SelectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void MinLabelImpl(Ark_NativePointer node, const Ark_String* value) { - } - void MaxLabelImpl(Ark_NativePointer node, const Ark_String* value) { - } - void ShowStepsImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ShowTipsImpl(Ark_NativePointer node, Ark_Boolean value, const Opt_ResourceStr* content) { - } - void TrackThicknessImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void BlockBorderColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void BlockBorderWidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void StepColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void TrackBorderRadiusImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void SelectedBorderRadiusImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void BlockSizeImpl(Ark_NativePointer node, const Ark_SizeOptions* value) { - } - void BlockStyleImpl(Ark_NativePointer node, const Ark_SliderBlockStyle* value) { - } - void StepSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void SliderInteractionModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void MinResponsiveDistanceImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } - void SlideRangeImpl(Ark_NativePointer node, const Ark_SlideRange* value) { - } + void BlockColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void TrackColorImpl(Ark_NativePointer node, + const Type_SliderAttribute_trackColor_Arg0* value) + { + } + void SelectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void MinLabelImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void MaxLabelImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void ShowStepsImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ShowTipsImpl(Ark_NativePointer node, + Ark_Boolean value, + const Opt_ResourceStr* content) + { + } + void TrackThicknessImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void BlockBorderColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void BlockBorderWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void StepColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void TrackBorderRadiusImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void SelectedBorderRadiusImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void BlockSizeImpl(Ark_NativePointer node, + const Ark_SizeOptions* value) + { + } + void BlockStyleImpl(Ark_NativePointer node, + const Ark_SliderBlockStyle* value) + { + } + void StepSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void SliderInteractionModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void MinResponsiveDistanceImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } + void SlideRangeImpl(Ark_NativePointer node, + const Ark_SlideRange* value) + { + } } // SliderAttributeModifier namespace BaseSpanModifier { - void TextBackgroundStyleImpl(Ark_NativePointer node, const Ark_TextBackgroundStyle* style) { - } - void BaselineOffsetImpl(Ark_NativePointer node, const Ark_CustomObject* value) { - } + void TextBackgroundStyleImpl(Ark_NativePointer node, + const Ark_TextBackgroundStyle* style) + { + } + void BaselineOffsetImpl(Ark_NativePointer node, + const Ark_CustomObject* value) + { + } } // BaseSpanModifier namespace SpanInterfaceModifier { - void _setSpanOptionsImpl(Ark_NativePointer node, const Type_SpanInterface__setSpanOptions_Arg0* value) { - } + void SetSpanOptionsImpl(Ark_NativePointer node, + const Type_SpanInterface_setSpanOptions_Arg0* value) + { + } } // SpanInterfaceModifier namespace SpanAttributeModifier { - void FontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FontSizeImpl(Ark_NativePointer node, const Type_SpanAttribute_fontSize_Arg0* value) { - } - void FontStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_SpanAttribute_fontWeight_Arg0* value) { - } - void FontFamilyImpl(Ark_NativePointer node, const Type_SpanAttribute_fontFamily_Arg0* value) { - } - void DecorationImpl(Ark_NativePointer node, const Ark_DecorationStyleInterface* value) { - } - void LetterSpacingImpl(Ark_NativePointer node, const Type_SpanAttribute_letterSpacing_Arg0* value) { - } - void TextCaseImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void LineHeightImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void TextShadowImpl(Ark_NativePointer node, const Type_SpanAttribute_textShadow_Arg0* value) { - } + void FontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FontSizeImpl(Ark_NativePointer node, + const Type_SpanAttribute_fontSize_Arg0* value) + { + } + void FontStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_SpanAttribute_fontWeight_Arg0* value) + { + } + void FontFamilyImpl(Ark_NativePointer node, + const Type_SpanAttribute_fontFamily_Arg0* value) + { + } + void DecorationImpl(Ark_NativePointer node, + const Ark_DecorationStyleInterface* value) + { + } + void LetterSpacingImpl(Ark_NativePointer node, + const Type_SpanAttribute_letterSpacing_Arg0* value) + { + } + void TextCaseImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void LineHeightImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void TextShadowImpl(Ark_NativePointer node, + const Type_SpanAttribute_textShadow_Arg0* value) + { + } } // SpanAttributeModifier namespace StackInterfaceModifier { - void _setStackOptionsImpl(Ark_NativePointer node, const Opt_Type_StackInterface__setStackOptions_Arg0* value) { - } + void SetStackOptionsImpl(Ark_NativePointer node, + const Opt_Type_StackInterface_setStackOptions_Arg0* value) + { + } } // StackInterfaceModifier namespace StackAttributeModifier { - void AlignContentImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void PointLightImpl(Ark_NativePointer node, const Ark_PointLightStyle* value) { - } + void AlignContentImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void PointLightImpl(Ark_NativePointer node, + const Ark_PointLightStyle* value) + { + } } // StackAttributeModifier namespace StepperInterfaceModifier { - void _setStepperOptionsImpl(Ark_NativePointer node, const Opt_Type_StepperInterface__setStepperOptions_Arg0* value) { - } + void SetStepperOptionsImpl(Ark_NativePointer node, + const Opt_Type_StepperInterface_setStepperOptions_Arg0* value) + { + } } // StepperInterfaceModifier namespace StepperAttributeModifier { - void OnFinishImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSkipImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnNextImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPreviousImpl(Ark_NativePointer node, Ark_Function callback) { - } + void OnFinishImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSkipImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnNextImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPreviousImpl(Ark_NativePointer node, + Ark_Function callback) + { + } } // StepperAttributeModifier namespace StepperItemInterfaceModifier { - void _setStepperItemOptionsImpl(Ark_NativePointer node) { - } + void SetStepperItemOptionsImpl(Ark_NativePointer node) + { + } } // StepperItemInterfaceModifier namespace StepperItemAttributeModifier { - void PrevLabelImpl(Ark_NativePointer node, const Ark_String* value) { - } - void NextLabelImpl(Ark_NativePointer node, const Ark_String* value) { - } - void StatusImpl(Ark_NativePointer node, const Opt_ItemState* value) { - } + void PrevLabelImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void NextLabelImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void StatusImpl(Ark_NativePointer node, + const Opt_ItemState* value) + { + } } // StepperItemAttributeModifier namespace SwiperInterfaceModifier { - void _setSwiperOptionsImpl(Ark_NativePointer node, const Opt_SwiperController* controller) { - } + void SetSwiperOptionsImpl(Ark_NativePointer node, + const Opt_SwiperController* controller) + { + } } // SwiperInterfaceModifier namespace SwiperAttributeModifier { - void IndexImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void AutoPlayImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void IntervalImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void IndicatorImpl(Ark_NativePointer node, const Type_SwiperAttribute_indicator_Arg0* value) { - } - void DisplayArrowImpl(Ark_NativePointer node, const Type_SwiperAttribute_displayArrow_Arg0* value, const Opt_Boolean* isHoverShow) { - } - void LoopImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void DurationImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void VerticalImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ItemSpaceImpl(Ark_NativePointer node, const Type_SwiperAttribute_itemSpace_Arg0* value) { - } - void DisplayModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void CachedCountImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void DisplayCountImpl(Ark_NativePointer node, const Type_SwiperAttribute_displayCount_Arg0* value, const Opt_Boolean* swipeByGroup) { - } - void EffectModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DisableSwipeImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void CurveImpl(Ark_NativePointer node, const Type_SwiperAttribute_curve_Arg0* value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function event) { - } - void IndicatorStyleImpl(Ark_NativePointer node, const Opt_IndicatorStyle* value) { - } - void PrevMarginImpl(Ark_NativePointer node, const Ark_Length* value, const Opt_Boolean* ignoreBlank) { - } - void NextMarginImpl(Ark_NativePointer node, const Ark_Length* value, const Opt_Boolean* ignoreBlank) { - } - void OnAnimationStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnAnimationEndImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnGestureSwipeImpl(Ark_NativePointer node, Ark_Function event) { - } - void NestedScrollImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void CustomContentTransitionImpl(Ark_NativePointer node, const Ark_SwiperContentAnimatedTransition* transition) { - } - void OnContentDidScrollImpl(Ark_NativePointer node, Ark_Function handler) { - } - void IndicatorInteractiveImpl(Ark_NativePointer node, Ark_Boolean value) { - } + void IndexImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void AutoPlayImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void IntervalImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void IndicatorImpl(Ark_NativePointer node, + const Type_SwiperAttribute_indicator_Arg0* value) + { + } + void DisplayArrowImpl(Ark_NativePointer node, + const Type_SwiperAttribute_displayArrow_Arg0* value, + const Opt_Boolean* isHoverShow) + { + } + void LoopImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void DurationImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void VerticalImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ItemSpaceImpl(Ark_NativePointer node, + const Type_SwiperAttribute_itemSpace_Arg0* value) + { + } + void DisplayModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void CachedCountImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void DisplayCountImpl(Ark_NativePointer node, + const Type_SwiperAttribute_displayCount_Arg0* value, + const Opt_Boolean* swipeByGroup) + { + } + void EffectModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DisableSwipeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void CurveImpl(Ark_NativePointer node, + const Type_SwiperAttribute_curve_Arg0* value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void IndicatorStyleImpl(Ark_NativePointer node, + const Opt_IndicatorStyle* value) + { + } + void PrevMarginImpl(Ark_NativePointer node, + const Ark_Length* value, + const Opt_Boolean* ignoreBlank) + { + } + void NextMarginImpl(Ark_NativePointer node, + const Ark_Length* value, + const Opt_Boolean* ignoreBlank) + { + } + void OnAnimationStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnAnimationEndImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnGestureSwipeImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void NestedScrollImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void CustomContentTransitionImpl(Ark_NativePointer node, + const Ark_SwiperContentAnimatedTransition* transition) + { + } + void OnContentDidScrollImpl(Ark_NativePointer node, + Ark_Function handler) + { + } + void IndicatorInteractiveImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } } // SwiperAttributeModifier namespace SymbolGlyphInterfaceModifier { - void _setSymbolGlyphOptionsImpl(Ark_NativePointer node, const Opt_Resource* value) { - } + void SetSymbolGlyphOptionsImpl(Ark_NativePointer node, + const Opt_Resource* value) + { + } } // SymbolGlyphInterfaceModifier namespace SymbolGlyphAttributeModifier { - void FontSizeImpl(Ark_NativePointer node, const Type_SymbolGlyphAttribute_fontSize_Arg0* value) { - } - void FontColorImpl(Ark_NativePointer node, const Array_ResourceColor* value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_SymbolGlyphAttribute_fontWeight_Arg0* value) { - } - void EffectStrategyImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void RenderingStrategyImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void SymbolEffect_SymbolEffect_booleanImpl(Ark_NativePointer node, const Ark_SymbolEffect* symbolEffect, const Opt_Boolean* isActive) { - } - void SymbolEffect_SymbolEffect_numberImpl(Ark_NativePointer node, const Ark_SymbolEffect* symbolEffect, const Opt_Number* triggerValue) { - } + void FontSizeImpl(Ark_NativePointer node, + const Type_SymbolGlyphAttribute_fontSize_Arg0* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const Array_ResourceColor* value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_SymbolGlyphAttribute_fontWeight_Arg0* value) + { + } + void EffectStrategyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void RenderingStrategyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void SymbolEffect0Impl(Ark_NativePointer node, + const Ark_SymbolEffect* symbolEffect, + const Opt_Boolean* isActive) + { + } + void SymbolEffect1Impl(Ark_NativePointer node, + const Ark_SymbolEffect* symbolEffect, + const Opt_Number* triggerValue) + { + } } // SymbolGlyphAttributeModifier namespace SymbolSpanInterfaceModifier { - void _setSymbolSpanOptionsImpl(Ark_NativePointer node, const Ark_Resource* value) { - } + void SetSymbolSpanOptionsImpl(Ark_NativePointer node, + const Ark_Resource* value) + { + } } // SymbolSpanInterfaceModifier namespace SymbolSpanAttributeModifier { - void FontSizeImpl(Ark_NativePointer node, const Type_SymbolSpanAttribute_fontSize_Arg0* value) { - } - void FontColorImpl(Ark_NativePointer node, const Array_ResourceColor* value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_SymbolSpanAttribute_fontWeight_Arg0* value) { - } - void EffectStrategyImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void RenderingStrategyImpl(Ark_NativePointer node, Ark_Int32 value) { - } + void FontSizeImpl(Ark_NativePointer node, + const Type_SymbolSpanAttribute_fontSize_Arg0* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const Array_ResourceColor* value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_SymbolSpanAttribute_fontWeight_Arg0* value) + { + } + void EffectStrategyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void RenderingStrategyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } } // SymbolSpanAttributeModifier namespace TabsInterfaceModifier { - void _setTabsOptionsImpl(Ark_NativePointer node, const Opt_Type_TabsInterface__setTabsOptions_Arg0* value) { - } + void SetTabsOptionsImpl(Ark_NativePointer node, + const Opt_Type_TabsInterface_setTabsOptions_Arg0* value) + { + } } // TabsInterfaceModifier namespace TabsAttributeModifier { - void VerticalImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void BarPositionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ScrollableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void BarMode_BarModeFixedImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void BarMode_BarModeScrollable_ScrollableBarModeOptionsImpl(Ark_NativePointer node, Ark_Int32 value, const Ark_ScrollableBarModeOptions* options) { - } - void BarMode_BarMode_ScrollableBarModeOptionsImpl(Ark_NativePointer node, Ark_Int32 value, const Opt_ScrollableBarModeOptions* options) { - } - void BarWidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void BarHeightImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void AnimationDurationImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void AnimationModeImpl(Ark_NativePointer node, const Opt_AnimationMode* mode) { - } - void EdgeEffectImpl(Ark_NativePointer node, const Opt_EdgeEffect* edgeEffect) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnTabBarClickImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnAnimationStartImpl(Ark_NativePointer node, Ark_Function handler) { - } - void OnAnimationEndImpl(Ark_NativePointer node, Ark_Function handler) { - } - void OnGestureSwipeImpl(Ark_NativePointer node, Ark_Function handler) { - } - void FadingEdgeImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void DividerImpl(Ark_NativePointer node, const Type_TabsAttribute_divider_Arg0* value) { - } - void BarOverlapImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void BarBackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void BarGridAlignImpl(Ark_NativePointer node, const Ark_BarGridColumnOptions* value) { - } - void CustomContentTransitionImpl(Ark_NativePointer node, Ark_Function delegate) { - } - void BarBackgroundBlurStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnContentWillChangeImpl(Ark_NativePointer node, Ark_Function handler) { - } + void VerticalImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void BarPositionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ScrollableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void BarMode0Impl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void BarMode1Impl(Ark_NativePointer node, + Ark_Int32 value, + const Ark_ScrollableBarModeOptions* options) + { + } + void BarMode2Impl(Ark_NativePointer node, + Ark_Int32 value, + const Opt_ScrollableBarModeOptions* options) + { + } + void BarWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void BarHeightImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void AnimationDurationImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void AnimationModeImpl(Ark_NativePointer node, + const Opt_AnimationMode* mode) + { + } + void EdgeEffectImpl(Ark_NativePointer node, + const Opt_EdgeEffect* edgeEffect) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnTabBarClickImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnAnimationStartImpl(Ark_NativePointer node, + Ark_Function handler) + { + } + void OnAnimationEndImpl(Ark_NativePointer node, + Ark_Function handler) + { + } + void OnGestureSwipeImpl(Ark_NativePointer node, + Ark_Function handler) + { + } + void FadingEdgeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void DividerImpl(Ark_NativePointer node, + const Type_TabsAttribute_divider_Arg0* value) + { + } + void BarOverlapImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void BarBackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void BarGridAlignImpl(Ark_NativePointer node, + const Ark_BarGridColumnOptions* value) + { + } + void CustomContentTransitionImpl(Ark_NativePointer node, + Ark_Function delegate) + { + } + void BarBackgroundBlurStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnContentWillChangeImpl(Ark_NativePointer node, + Ark_Function handler) + { + } } // TabsAttributeModifier namespace TabContentInterfaceModifier { - void _setTabContentOptionsImpl(Ark_NativePointer node) { - } + void SetTabContentOptionsImpl(Ark_NativePointer node) + { + } } // TabContentInterfaceModifier namespace TabContentAttributeModifier { - void TabBar_stringResourceCustomBuildericonstringResourcetextstringResourceImpl(Ark_NativePointer node, const Type_TabContentAttribute_tabBar_Arg0* value) { - } - void TabBar_SubTabBarStyleBottomTabBarStyleImpl(Ark_NativePointer node, const Type_TabContentAttribute_tabBar1_Arg0* value) { - } - void OnWillShowImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnWillHideImpl(Ark_NativePointer node, Ark_Function event) { - } + void TabBar0Impl(Ark_NativePointer node, + const Type_TabContentAttribute_tabBar_Arg0* value) + { + } + void TabBar1Impl(Ark_NativePointer node, + const Type_TabContentAttribute_tabBar1_Arg0* value) + { + } + void OnWillShowImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnWillHideImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // TabContentAttributeModifier namespace TextInterfaceModifier { - void _setTextOptionsImpl(Ark_NativePointer node, const Opt_Type_TextInterface__setTextOptions_Arg0* content, const Opt_TextOptions* value) { - } + void SetTextOptionsImpl(Ark_NativePointer node, + const Opt_Type_TextInterface_setTextOptions_Arg0* content, + const Opt_TextOptions* value) + { + } } // TextInterfaceModifier namespace TextAttributeModifier { - void FontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FontSizeImpl(Ark_NativePointer node, const Type_TextAttribute_fontSize_Arg0* value) { - } - void MinFontSizeImpl(Ark_NativePointer node, const Type_TextAttribute_minFontSize_Arg0* value) { - } - void MaxFontSizeImpl(Ark_NativePointer node, const Type_TextAttribute_maxFontSize_Arg0* value) { - } - void MinFontScaleImpl(Ark_NativePointer node, const Type_TextAttribute_minFontScale_Arg0* scale) { - } - void MaxFontScaleImpl(Ark_NativePointer node, const Type_TextAttribute_maxFontScale_Arg0* scale) { - } - void FontStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_TextAttribute_fontWeight_Arg0* value) { - } - void LineSpacingImpl(Ark_NativePointer node, const Ark_CustomObject* value) { - } - void TextAlignImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void LineHeightImpl(Ark_NativePointer node, const Type_TextAttribute_lineHeight_Arg0* value) { - } - void TextOverflowImpl(Ark_NativePointer node, const Type_TextAttribute_textOverflow_Arg0* value) { - } - void FontFamilyImpl(Ark_NativePointer node, const Type_TextAttribute_fontFamily_Arg0* value) { - } - void MaxLinesImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void DecorationImpl(Ark_NativePointer node, const Ark_DecorationStyleInterface* value) { - } - void LetterSpacingImpl(Ark_NativePointer node, const Type_TextAttribute_letterSpacing_Arg0* value) { - } - void TextCaseImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void BaselineOffsetImpl(Ark_NativePointer node, const Type_TextAttribute_baselineOffset_Arg0* value) { - } - void CopyOptionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DraggableImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void TextShadowImpl(Ark_NativePointer node, const Type_TextAttribute_textShadow_Arg0* value) { - } - void HeightAdaptivePolicyImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void TextIndentImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void WordBreakImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void LineBreakStrategyImpl(Ark_NativePointer node, Ark_Int32 strategy) { - } - void OnCopyImpl(Ark_NativePointer node, Ark_Function callback) { - } - void SelectionImpl(Ark_NativePointer node, const Ark_Number* selectionStart, const Ark_Number* selectionEnd) { - } - void EllipsisModeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void EnableDataDetectorImpl(Ark_NativePointer node, Ark_Boolean enable) { - } - void DataDetectorConfigImpl(Ark_NativePointer node, const Ark_TextDataDetectorConfig* config) { - } - void BindSelectionMenuImpl(Ark_NativePointer node, Ark_Int32 spanType, const CustomBuilder* content, Ark_Int32 responseType, const Opt_SelectionMenuOptions* options) { - } - void OnTextSelectionChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void FontFeatureImpl(Ark_NativePointer node, const Ark_String* value) { - } - void MarqueeOptionsImpl(Ark_NativePointer node, const Opt_MarqueeOptions* value) { - } - void OnMarqueeStateChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void PrivacySensitiveImpl(Ark_NativePointer node, Ark_Boolean supported) { - } - void TextSelectableImpl(Ark_NativePointer node, Ark_Int32 mode) { - } - void EditMenuOptionsImpl(Ark_NativePointer node, const Ark_Materialized* editMenu) { - } + void FontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FontSizeImpl(Ark_NativePointer node, + const Type_TextAttribute_fontSize_Arg0* value) + { + } + void MinFontSizeImpl(Ark_NativePointer node, + const Type_TextAttribute_minFontSize_Arg0* value) + { + } + void MaxFontSizeImpl(Ark_NativePointer node, + const Type_TextAttribute_maxFontSize_Arg0* value) + { + } + void MinFontScaleImpl(Ark_NativePointer node, + const Type_TextAttribute_minFontScale_Arg0* scale) + { + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Type_TextAttribute_maxFontScale_Arg0* scale) + { + } + void FontStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_TextAttribute_fontWeight_Arg0* value) + { + } + void LineSpacingImpl(Ark_NativePointer node, + const Ark_CustomObject* value) + { + } + void TextAlignImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void LineHeightImpl(Ark_NativePointer node, + const Type_TextAttribute_lineHeight_Arg0* value) + { + } + void TextOverflowImpl(Ark_NativePointer node, + const Type_TextAttribute_textOverflow_Arg0* value) + { + } + void FontFamilyImpl(Ark_NativePointer node, + const Type_TextAttribute_fontFamily_Arg0* value) + { + } + void MaxLinesImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void DecorationImpl(Ark_NativePointer node, + const Ark_DecorationStyleInterface* value) + { + } + void LetterSpacingImpl(Ark_NativePointer node, + const Type_TextAttribute_letterSpacing_Arg0* value) + { + } + void TextCaseImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void BaselineOffsetImpl(Ark_NativePointer node, + const Type_TextAttribute_baselineOffset_Arg0* value) + { + } + void CopyOptionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DraggableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void TextShadowImpl(Ark_NativePointer node, + const Type_TextAttribute_textShadow_Arg0* value) + { + } + void HeightAdaptivePolicyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void TextIndentImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void WordBreakImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void LineBreakStrategyImpl(Ark_NativePointer node, + Ark_Int32 strategy) + { + } + void OnCopyImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void SelectionImpl(Ark_NativePointer node, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd) + { + } + void EllipsisModeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void EnableDataDetectorImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } + void DataDetectorConfigImpl(Ark_NativePointer node, + const Ark_TextDataDetectorConfig* config) + { + } + void BindSelectionMenuImpl(Ark_NativePointer node, + Ark_Int32 spanType, + const CustomBuilder* content, + Ark_Int32 responseType, + const Opt_SelectionMenuOptions* options) + { + } + void OnTextSelectionChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void FontFeatureImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void MarqueeOptionsImpl(Ark_NativePointer node, + const Opt_MarqueeOptions* value) + { + } + void OnMarqueeStateChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void PrivacySensitiveImpl(Ark_NativePointer node, + Ark_Boolean supported) + { + } + void TextSelectableImpl(Ark_NativePointer node, + Ark_Int32 mode) + { + } + void EditMenuOptionsImpl(Ark_NativePointer node, + const Ark_Materialized* editMenu) + { + } } // TextAttributeModifier namespace TextAreaInterfaceModifier { - void _setTextAreaOptionsImpl(Ark_NativePointer node, const Opt_TextAreaOptions* value) { - } + void SetTextAreaOptionsImpl(Ark_NativePointer node, + const Opt_TextAreaOptions* value) + { + } } // TextAreaInterfaceModifier namespace TextAreaAttributeModifier { - void PlaceholderColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void PlaceholderFontImpl(Ark_NativePointer node, const Ark_Font* value) { - } - void EnterKeyTypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void TextAlignImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void CaretColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FontSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void FontStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_TextAreaAttribute_fontWeight_Arg0* value) { - } - void FontFamilyImpl(Ark_NativePointer node, const ResourceStr* value) { - } - void TextOverflowImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void TextIndentImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void InputFilterImpl(Ark_NativePointer node, const ResourceStr* value, const Opt_Function* error) { - } - void CaretStyleImpl(Ark_NativePointer node, const Ark_CaretStyle* value) { - } - void SelectedBackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void OnSubmitImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnTextSelectionChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnContentScrollImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnEditChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnCopyImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnCutImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPasteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void CopyOptionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void EnableKeyboardOnFocusImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void MaxLengthImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void ShowCounterImpl(Ark_NativePointer node, Ark_Boolean value, const Opt_InputCounterOptions* options) { - } - void StyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void BarStateImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void SelectionMenuHiddenImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void MinFontSizeImpl(Ark_NativePointer node, const Type_TextAreaAttribute_minFontSize_Arg0* value) { - } - void MaxFontSizeImpl(Ark_NativePointer node, const Type_TextAreaAttribute_maxFontSize_Arg0* value) { - } - void HeightAdaptivePolicyImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void MaxLinesImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void WordBreakImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void LineBreakStrategyImpl(Ark_NativePointer node, Ark_Int32 strategy) { - } - void CustomKeyboardImpl(Ark_NativePointer node, const CustomBuilder* value, const Opt_KeyboardOptions* options) { - } - void DecorationImpl(Ark_NativePointer node, const Ark_TextDecorationOptions* value) { - } - void LetterSpacingImpl(Ark_NativePointer node, const Type_TextAreaAttribute_letterSpacing_Arg0* value) { - } - void LineSpacingImpl(Ark_NativePointer node, const Ark_CustomObject* value) { - } - void LineHeightImpl(Ark_NativePointer node, const Type_TextAreaAttribute_lineHeight_Arg0* value) { - } - void TypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void EnableAutoFillImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ContentTypeImpl(Ark_NativePointer node, Ark_Int32 contentType) { - } - void FontFeatureImpl(Ark_NativePointer node, const Ark_String* value) { - } - void OnWillInsertImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDidInsertImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWillDeleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDidDeleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void EditMenuOptionsImpl(Ark_NativePointer node, const Ark_Materialized* editMenu) { - } - void EnablePreviewTextImpl(Ark_NativePointer node, Ark_Boolean enable) { - } - } // TextAreaAttributeModifier - namespace TextClockInterfaceModifier { - void _setTextClockOptionsImpl(Ark_NativePointer node, const Opt_Type_TextClockInterface__setTextClockOptions_Arg0* options) { - } - } // TextClockInterfaceModifier - namespace TextClockAttributeModifier { - void FormatImpl(Ark_NativePointer node, const Ark_String* value) { - } - void OnDateChangeImpl(Ark_NativePointer node, Ark_Function event) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FontSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void FontStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_TextClockAttribute_fontWeight_Arg0* value) { - } - void FontFamilyImpl(Ark_NativePointer node, const ResourceStr* value) { - } - void TextShadowImpl(Ark_NativePointer node, const Type_TextClockAttribute_textShadow_Arg0* value) { - } - void FontFeatureImpl(Ark_NativePointer node, const Ark_String* value) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } - void DateTimeOptionsImpl(Ark_NativePointer node, const Opt_CustomObject* dateTimeOptions) { - } - } // TextClockAttributeModifier - namespace TextInputInterfaceModifier { - void _setTextInputOptionsImpl(Ark_NativePointer node, const Opt_TextInputOptions* value) { - } - } // TextInputInterfaceModifier - namespace TextInputAttributeModifier { - void TypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ContentTypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void PlaceholderColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void TextOverflowImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void TextIndentImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void PlaceholderFontImpl(Ark_NativePointer node, const Opt_Font* value) { - } - void EnterKeyTypeImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void CaretColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void OnEditChangedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnEditChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSubmitImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnTextSelectionChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnContentScrollImpl(Ark_NativePointer node, Ark_Function callback) { - } - void MaxLengthImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FontSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void FontStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_TextInputAttribute_fontWeight_Arg0* value) { - } - void FontFamilyImpl(Ark_NativePointer node, const ResourceStr* value) { - } - void InputFilterImpl(Ark_NativePointer node, const ResourceStr* value, const Opt_Function* error) { - } - void OnCopyImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnCutImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPasteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void CopyOptionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void ShowPasswordIconImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void TextAlignImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void StyleImpl(Ark_NativePointer node, const Type_TextInputAttribute_style_Arg0* value) { - } - void CaretStyleImpl(Ark_NativePointer node, const Ark_CaretStyle* value) { - } - void SelectedBackgroundColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void CaretPositionImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void EnableKeyboardOnFocusImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void PasswordIconImpl(Ark_NativePointer node, const Ark_PasswordIcon* value) { - } - void ShowErrorImpl(Ark_NativePointer node, const Opt_Type_TextInputAttribute_showError_Arg0* value) { - } - void ShowUnitImpl(Ark_NativePointer node, const CustomBuilder* value) { - } - void ShowUnderlineImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void UnderlineColorImpl(Ark_NativePointer node, const Type_TextInputAttribute_underlineColor_Arg0* value) { - } - void SelectionMenuHiddenImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void BarStateImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void MaxLinesImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void WordBreakImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void LineBreakStrategyImpl(Ark_NativePointer node, Ark_Int32 strategy) { - } - void CustomKeyboardImpl(Ark_NativePointer node, const CustomBuilder* value, const Opt_KeyboardOptions* options) { - } - void ShowCounterImpl(Ark_NativePointer node, Ark_Boolean value, const Opt_InputCounterOptions* options) { - } - void CancelButtonImpl(Ark_NativePointer node, const Type_TextInputAttribute_cancelButton_Arg0* value) { - } - void SelectAllImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void MinFontSizeImpl(Ark_NativePointer node, const Type_TextInputAttribute_minFontSize_Arg0* value) { - } - void MaxFontSizeImpl(Ark_NativePointer node, const Type_TextInputAttribute_maxFontSize_Arg0* value) { - } - void HeightAdaptivePolicyImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void EnableAutoFillImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void DecorationImpl(Ark_NativePointer node, const Ark_TextDecorationOptions* value) { - } - void LetterSpacingImpl(Ark_NativePointer node, const Type_TextInputAttribute_letterSpacing_Arg0* value) { - } - void LineHeightImpl(Ark_NativePointer node, const Type_TextInputAttribute_lineHeight_Arg0* value) { - } - void PasswordRulesImpl(Ark_NativePointer node, const Ark_String* value) { - } - void FontFeatureImpl(Ark_NativePointer node, const Ark_String* value) { - } - void ShowPasswordImpl(Ark_NativePointer node, Ark_Boolean visible) { - } - void OnSecurityStateChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWillInsertImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDidInsertImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWillDeleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDidDeleteImpl(Ark_NativePointer node, Ark_Function callback) { - } - void EditMenuOptionsImpl(Ark_NativePointer node, const Ark_Materialized* editMenu) { - } - void EnablePreviewTextImpl(Ark_NativePointer node, Ark_Boolean enable) { - } + void PlaceholderColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void PlaceholderFontImpl(Ark_NativePointer node, + const Ark_Font* value) + { + } + void EnterKeyTypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void TextAlignImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void CaretColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FontSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void FontStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_TextAreaAttribute_fontWeight_Arg0* value) + { + } + void FontFamilyImpl(Ark_NativePointer node, + const ResourceStr* value) + { + } + void TextOverflowImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void TextIndentImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void InputFilterImpl(Ark_NativePointer node, + const ResourceStr* value, + const Opt_Function* error) + { + } + void CaretStyleImpl(Ark_NativePointer node, + const Ark_CaretStyle* value) + { + } + void SelectedBackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void OnSubmitImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnTextSelectionChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnContentScrollImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnEditChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnCopyImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnCutImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPasteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void CopyOptionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void EnableKeyboardOnFocusImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void MaxLengthImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void ShowCounterImpl(Ark_NativePointer node, + Ark_Boolean value, + const Opt_InputCounterOptions* options) + { + } + void StyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void BarStateImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void SelectionMenuHiddenImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void MinFontSizeImpl(Ark_NativePointer node, + const Type_TextAreaAttribute_minFontSize_Arg0* value) + { + } + void MaxFontSizeImpl(Ark_NativePointer node, + const Type_TextAreaAttribute_maxFontSize_Arg0* value) + { + } + void HeightAdaptivePolicyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void MaxLinesImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void WordBreakImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void LineBreakStrategyImpl(Ark_NativePointer node, + Ark_Int32 strategy) + { + } + void CustomKeyboardImpl(Ark_NativePointer node, + const CustomBuilder* value, + const Opt_KeyboardOptions* options) + { + } + void DecorationImpl(Ark_NativePointer node, + const Ark_TextDecorationOptions* value) + { + } + void LetterSpacingImpl(Ark_NativePointer node, + const Type_TextAreaAttribute_letterSpacing_Arg0* value) + { + } + void LineSpacingImpl(Ark_NativePointer node, + const Ark_CustomObject* value) + { + } + void LineHeightImpl(Ark_NativePointer node, + const Type_TextAreaAttribute_lineHeight_Arg0* value) + { + } + void TypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void EnableAutoFillImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ContentTypeImpl(Ark_NativePointer node, + Ark_Int32 contentType) + { + } + void FontFeatureImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void OnWillInsertImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDidInsertImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWillDeleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDidDeleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void EditMenuOptionsImpl(Ark_NativePointer node, + const Ark_Materialized* editMenu) + { + } + void EnablePreviewTextImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } + } // TextAreaAttributeModifier + namespace TextClockInterfaceModifier { + void SetTextClockOptionsImpl(Ark_NativePointer node, + const Opt_Type_TextClockInterface_setTextClockOptions_Arg0* options) + { + } + } // TextClockInterfaceModifier + namespace TextClockAttributeModifier { + void FormatImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void OnDateChangeImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FontSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void FontStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_TextClockAttribute_fontWeight_Arg0* value) + { + } + void FontFamilyImpl(Ark_NativePointer node, + const ResourceStr* value) + { + } + void TextShadowImpl(Ark_NativePointer node, + const Type_TextClockAttribute_textShadow_Arg0* value) + { + } + void FontFeatureImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } + void DateTimeOptionsImpl(Ark_NativePointer node, + const Opt_CustomObject* dateTimeOptions) + { + } + } // TextClockAttributeModifier + namespace TextInputInterfaceModifier { + void SetTextInputOptionsImpl(Ark_NativePointer node, + const Opt_TextInputOptions* value) + { + } + } // TextInputInterfaceModifier + namespace TextInputAttributeModifier { + void TypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ContentTypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void PlaceholderColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void TextOverflowImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void TextIndentImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void PlaceholderFontImpl(Ark_NativePointer node, + const Opt_Font* value) + { + } + void EnterKeyTypeImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void CaretColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void OnEditChangedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnEditChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSubmitImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnTextSelectionChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnContentScrollImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void MaxLengthImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FontSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void FontStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_TextInputAttribute_fontWeight_Arg0* value) + { + } + void FontFamilyImpl(Ark_NativePointer node, + const ResourceStr* value) + { + } + void InputFilterImpl(Ark_NativePointer node, + const ResourceStr* value, + const Opt_Function* error) + { + } + void OnCopyImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnCutImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPasteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void CopyOptionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void ShowPasswordIconImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void TextAlignImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void StyleImpl(Ark_NativePointer node, + const Type_TextInputAttribute_style_Arg0* value) + { + } + void CaretStyleImpl(Ark_NativePointer node, + const Ark_CaretStyle* value) + { + } + void SelectedBackgroundColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void CaretPositionImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void EnableKeyboardOnFocusImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void PasswordIconImpl(Ark_NativePointer node, + const Ark_PasswordIcon* value) + { + } + void ShowErrorImpl(Ark_NativePointer node, + const Opt_Type_TextInputAttribute_showError_Arg0* value) + { + } + void ShowUnitImpl(Ark_NativePointer node, + const CustomBuilder* value) + { + } + void ShowUnderlineImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void UnderlineColorImpl(Ark_NativePointer node, + const Type_TextInputAttribute_underlineColor_Arg0* value) + { + } + void SelectionMenuHiddenImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void BarStateImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void MaxLinesImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void WordBreakImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void LineBreakStrategyImpl(Ark_NativePointer node, + Ark_Int32 strategy) + { + } + void CustomKeyboardImpl(Ark_NativePointer node, + const CustomBuilder* value, + const Opt_KeyboardOptions* options) + { + } + void ShowCounterImpl(Ark_NativePointer node, + Ark_Boolean value, + const Opt_InputCounterOptions* options) + { + } + void CancelButtonImpl(Ark_NativePointer node, + const Type_TextInputAttribute_cancelButton_Arg0* value) + { + } + void SelectAllImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void MinFontSizeImpl(Ark_NativePointer node, + const Type_TextInputAttribute_minFontSize_Arg0* value) + { + } + void MaxFontSizeImpl(Ark_NativePointer node, + const Type_TextInputAttribute_maxFontSize_Arg0* value) + { + } + void HeightAdaptivePolicyImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void EnableAutoFillImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void DecorationImpl(Ark_NativePointer node, + const Ark_TextDecorationOptions* value) + { + } + void LetterSpacingImpl(Ark_NativePointer node, + const Type_TextInputAttribute_letterSpacing_Arg0* value) + { + } + void LineHeightImpl(Ark_NativePointer node, + const Type_TextInputAttribute_lineHeight_Arg0* value) + { + } + void PasswordRulesImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void FontFeatureImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void ShowPasswordImpl(Ark_NativePointer node, + Ark_Boolean visible) + { + } + void OnSecurityStateChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWillInsertImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDidInsertImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWillDeleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDidDeleteImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void EditMenuOptionsImpl(Ark_NativePointer node, + const Ark_Materialized* editMenu) + { + } + void EnablePreviewTextImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } } // TextInputAttributeModifier namespace TextPickerInterfaceModifier { - void _setTextPickerOptionsImpl(Ark_NativePointer node, const Opt_TextPickerOptions* options) { - } + void SetTextPickerOptionsImpl(Ark_NativePointer node, + const Opt_TextPickerOptions* options) + { + } } // TextPickerInterfaceModifier namespace TextPickerAttributeModifier { - void DefaultPickerItemHeightImpl(Ark_NativePointer node, const Type_TextPickerAttribute_defaultPickerItemHeight_Arg0* value) { - } - void CanLoopImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void DisappearTextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void TextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void SelectedTextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void OnAcceptImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnCancelImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void SelectedIndexImpl(Ark_NativePointer node, const Type_TextPickerAttribute_selectedIndex_Arg0* value) { - } - void DividerImpl(Ark_NativePointer node, const Type_TextPickerAttribute_divider_Arg0* value) { - } - void GradientHeightImpl(Ark_NativePointer node, const Ark_Length* value) { - } + void DefaultPickerItemHeightImpl(Ark_NativePointer node, + const Type_TextPickerAttribute_defaultPickerItemHeight_Arg0* value) + { + } + void CanLoopImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void DisappearTextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void TextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void SelectedTextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void OnAcceptImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnCancelImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void SelectedIndexImpl(Ark_NativePointer node, + const Type_TextPickerAttribute_selectedIndex_Arg0* value) + { + } + void DividerImpl(Ark_NativePointer node, + const Type_TextPickerAttribute_divider_Arg0* value) + { + } + void GradientHeightImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } } // TextPickerAttributeModifier namespace TextTimerInterfaceModifier { - void _setTextTimerOptionsImpl(Ark_NativePointer node, const Opt_TextTimerOptions* options) { - } + void SetTextTimerOptionsImpl(Ark_NativePointer node, + const Opt_TextTimerOptions* options) + { + } } // TextTimerInterfaceModifier namespace TextTimerAttributeModifier { - void FormatImpl(Ark_NativePointer node, const Ark_String* value) { - } - void FontColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void FontSizeImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void FontStyleImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void FontWeightImpl(Ark_NativePointer node, const Type_TextTimerAttribute_fontWeight_Arg0* value) { - } - void FontFamilyImpl(Ark_NativePointer node, const ResourceStr* value) { - } - void OnTimerImpl(Ark_NativePointer node, Ark_Function event) { - } - void TextShadowImpl(Ark_NativePointer node, const Type_TextTimerAttribute_textShadow_Arg0* value) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } - } // TextTimerAttributeModifier - namespace TimePickerInterfaceModifier { - void _setTimePickerOptionsImpl(Ark_NativePointer node, const Opt_TimePickerOptions* options) { - } - } // TimePickerInterfaceModifier - namespace TimePickerAttributeModifier { - void UseMilitaryTimeImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void LoopImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void DisappearTextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void TextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void SelectedTextStyleImpl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { - } - void DateTimeOptionsImpl(Ark_NativePointer node, const Ark_CustomObject* value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void EnableHapticFeedbackImpl(Ark_NativePointer node, Ark_Boolean enable) { - } + void FormatImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void FontColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void FontSizeImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void FontStyleImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void FontWeightImpl(Ark_NativePointer node, + const Type_TextTimerAttribute_fontWeight_Arg0* value) + { + } + void FontFamilyImpl(Ark_NativePointer node, + const ResourceStr* value) + { + } + void OnTimerImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void TextShadowImpl(Ark_NativePointer node, + const Type_TextTimerAttribute_textShadow_Arg0* value) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } + } // TextTimerAttributeModifier + namespace TimePickerInterfaceModifier { + void SetTimePickerOptionsImpl(Ark_NativePointer node, + const Opt_TimePickerOptions* options) + { + } + } // TimePickerInterfaceModifier + namespace TimePickerAttributeModifier { + void UseMilitaryTimeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void LoopImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void DisappearTextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void TextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void SelectedTextStyleImpl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void DateTimeOptionsImpl(Ark_NativePointer node, + const Ark_CustomObject* value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void EnableHapticFeedbackImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } } // TimePickerAttributeModifier namespace ToggleInterfaceModifier { - void _setToggleOptionsImpl(Ark_NativePointer node, const Type_ToggleInterface__setToggleOptions_Arg0* options) { - } + void SetToggleOptionsImpl(Ark_NativePointer node, + const Type_ToggleInterface_setToggleOptions_Arg0* options) + { + } } // ToggleInterfaceModifier namespace ToggleAttributeModifier { - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void ContentModifierImpl(Ark_NativePointer node, const Ark_CustomObject* modifier) { - } - void SelectedColorImpl(Ark_NativePointer node, const ResourceColor* value) { - } - void SwitchPointColorImpl(Ark_NativePointer node, const ResourceColor* color) { - } - void SwitchStyleImpl(Ark_NativePointer node, const Ark_SwitchStyle* value) { - } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void ContentModifierImpl(Ark_NativePointer node, + const Ark_CustomObject* modifier) + { + } + void SelectedColorImpl(Ark_NativePointer node, + const ResourceColor* value) + { + } + void SwitchPointColorImpl(Ark_NativePointer node, + const ResourceColor* color) + { + } + void SwitchStyleImpl(Ark_NativePointer node, + const Ark_SwitchStyle* value) + { + } } // ToggleAttributeModifier namespace VideoInterfaceModifier { - void _setVideoOptionsImpl(Ark_NativePointer node, const Ark_VideoOptions* value) { - } + void SetVideoOptionsImpl(Ark_NativePointer node, + const Ark_VideoOptions* value) + { + } } // VideoInterfaceModifier namespace VideoAttributeModifier { - void MutedImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void AutoPlayImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ControlsImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void LoopImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ObjectFitImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnPauseImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnFinishImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnFullscreenChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPreparedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSeekingImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSeekedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnUpdateImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnErrorImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnStopImpl(Ark_NativePointer node, Ark_Function event) { - } - void EnableAnalyzerImpl(Ark_NativePointer node, Ark_Boolean enable) { - } - void AnalyzerConfigImpl(Ark_NativePointer node, const Ark_ImageAnalyzerConfig* config) { - } + void MutedImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void AutoPlayImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ControlsImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void LoopImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ObjectFitImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnPauseImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnFinishImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnFullscreenChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPreparedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSeekingImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSeekedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnUpdateImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnErrorImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnStopImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void EnableAnalyzerImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } + void AnalyzerConfigImpl(Ark_NativePointer node, + const Ark_ImageAnalyzerConfig* config) + { + } } // VideoAttributeModifier namespace WebInterfaceModifier { - void _setWebOptionsImpl(Ark_NativePointer node, const Ark_WebOptions* value) { - } + void SetWebOptionsImpl(Ark_NativePointer node, + const Ark_WebOptions* value) + { + } } // WebInterfaceModifier namespace WebAttributeModifier { - void JavaScriptAccessImpl(Ark_NativePointer node, Ark_Boolean javaScriptAccess) { - } - void FileAccessImpl(Ark_NativePointer node, Ark_Boolean fileAccess) { - } - void OnlineImageAccessImpl(Ark_NativePointer node, Ark_Boolean onlineImageAccess) { - } - void DomStorageAccessImpl(Ark_NativePointer node, Ark_Boolean domStorageAccess) { - } - void ImageAccessImpl(Ark_NativePointer node, Ark_Boolean imageAccess) { - } - void MixedModeImpl(Ark_NativePointer node, Ark_Int32 mixedMode) { - } - void ZoomAccessImpl(Ark_NativePointer node, Ark_Boolean zoomAccess) { - } - void GeolocationAccessImpl(Ark_NativePointer node, Ark_Boolean geolocationAccess) { - } - void JavaScriptProxyImpl(Ark_NativePointer node, const Ark_JavaScriptProxy* javaScriptProxy) { - } - void PasswordImpl(Ark_NativePointer node, Ark_Boolean password) { - } - void CacheModeImpl(Ark_NativePointer node, Ark_Int32 cacheMode) { - } - void DarkModeImpl(Ark_NativePointer node, Ark_Int32 mode) { - } - void ForceDarkAccessImpl(Ark_NativePointer node, Ark_Boolean access) { - } - void MediaOptionsImpl(Ark_NativePointer node, const Ark_WebMediaOptions* options) { - } - void TableDataImpl(Ark_NativePointer node, Ark_Boolean tableData) { - } - void WideViewModeAccessImpl(Ark_NativePointer node, Ark_Boolean wideViewModeAccess) { - } - void OverviewModeAccessImpl(Ark_NativePointer node, Ark_Boolean overviewModeAccess) { - } - void OverScrollModeImpl(Ark_NativePointer node, Ark_Int32 mode) { - } - void TextZoomAtioImpl(Ark_NativePointer node, const Ark_Number* textZoomAtio) { - } - void TextZoomRatioImpl(Ark_NativePointer node, const Ark_Number* textZoomRatio) { - } - void DatabaseAccessImpl(Ark_NativePointer node, Ark_Boolean databaseAccess) { - } - void InitialScaleImpl(Ark_NativePointer node, const Ark_Number* percent) { - } - void UserAgentImpl(Ark_NativePointer node, const Ark_String* userAgent) { - } - void MetaViewportImpl(Ark_NativePointer node, Ark_Boolean enabled) { - } - void OnPageEndImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPageBeginImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnProgressChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnTitleReceiveImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnGeolocationHideImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnGeolocationShowImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnRequestSelectedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnAlertImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnBeforeUnloadImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnConfirmImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPromptImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnConsoleImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnErrorReceiveImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnHttpErrorReceiveImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDownloadStartImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnRefreshAccessedHistoryImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnUrlLoadInterceptImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSslErrorReceiveImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnRenderExited_CallbackOnRenderExitedEventImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnShowFileSelectorImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnRenderExited_eventdetailObjectbooleanImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnFileSelectorShowImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnResourceLoadImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnFullScreenExitImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnFullScreenEnterImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnScaleChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnHttpAuthRequestImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnInterceptRequestImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPermissionRequestImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnScreenCaptureRequestImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnContextMenuShowImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnContextMenuHideImpl(Ark_NativePointer node, Ark_Function callback) { - } - void MediaPlayGestureAccessImpl(Ark_NativePointer node, Ark_Boolean access) { - } - void OnSearchResultReceiveImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnScrollImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSslErrorEventReceiveImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSslErrorEventImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnClientAuthenticationRequestImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWindowNewImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnWindowExitImpl(Ark_NativePointer node, Ark_Function callback) { - } - void MultiWindowAccessImpl(Ark_NativePointer node, Ark_Boolean multiWindow) { - } - void OnInterceptKeyEventImpl(Ark_NativePointer node, Ark_Function callback) { - } - void WebStandardFontImpl(Ark_NativePointer node, const Ark_String* family) { - } - void WebSerifFontImpl(Ark_NativePointer node, const Ark_String* family) { - } - void WebSansSerifFontImpl(Ark_NativePointer node, const Ark_String* family) { - } - void WebFixedFontImpl(Ark_NativePointer node, const Ark_String* family) { - } - void WebFantasyFontImpl(Ark_NativePointer node, const Ark_String* family) { - } - void WebCursiveFontImpl(Ark_NativePointer node, const Ark_String* family) { - } - void DefaultFixedFontSizeImpl(Ark_NativePointer node, const Ark_Number* size) { - } - void DefaultFontSizeImpl(Ark_NativePointer node, const Ark_Number* size) { - } - void MinFontSizeImpl(Ark_NativePointer node, const Ark_Number* size) { - } - void MinLogicalFontSizeImpl(Ark_NativePointer node, const Ark_Number* size) { - } - void DefaultTextEncodingFormatImpl(Ark_NativePointer node, const Ark_String* textEncodingFormat) { - } - void ForceDisplayScrollBarImpl(Ark_NativePointer node, Ark_Boolean enabled) { - } - void BlockNetworkImpl(Ark_NativePointer node, Ark_Boolean block) { - } - void HorizontalScrollBarAccessImpl(Ark_NativePointer node, Ark_Boolean horizontalScrollBar) { - } - void VerticalScrollBarAccessImpl(Ark_NativePointer node, Ark_Boolean verticalScrollBar) { - } - void OnTouchIconUrlReceivedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnFaviconReceivedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnPageVisibleImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDataResubmittedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void PinchSmoothImpl(Ark_NativePointer node, Ark_Boolean isEnabled) { - } - void AllowWindowOpenMethodImpl(Ark_NativePointer node, Ark_Boolean flag) { - } - void OnAudioStateChangedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnFirstContentfulPaintImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnFirstMeaningfulPaintImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnLargestContentfulPaintImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnLoadInterceptImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnControllerAttachedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnOverScrollImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnSafeBrowsingCheckResultImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnNavigationEntryCommittedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnIntelligentTrackingPreventionResultImpl(Ark_NativePointer node, Ark_Function callback) { - } - void JavaScriptOnDocumentStartImpl(Ark_NativePointer node, const Array_ScriptItem* scripts) { - } - void JavaScriptOnDocumentEndImpl(Ark_NativePointer node, const Array_ScriptItem* scripts) { - } - void LayoutModeImpl(Ark_NativePointer node, Ark_Int32 mode) { - } - void NestedScrollImpl(Ark_NativePointer node, const Ark_NestedScrollOptions* value) { - } - void EnableNativeEmbedModeImpl(Ark_NativePointer node, Ark_Boolean mode) { - } - void RegisterNativeEmbedRuleImpl(Ark_NativePointer node, const Ark_String* tag, const Ark_String* type) { - } - void OnNativeEmbedLifecycleChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnNativeEmbedGestureEventImpl(Ark_NativePointer node, Ark_Function callback) { - } - void CopyOptionsImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void OnOverrideUrlLoadingImpl(Ark_NativePointer node, Ark_Function callback) { - } - void TextAutosizingImpl(Ark_NativePointer node, Ark_Boolean textAutosizing) { - } - void EnableNativeMediaPlayerImpl(Ark_NativePointer node, const Ark_NativeMediaPlayerConfig* config) { - } - void EnableSmoothDragResizeImpl(Ark_NativePointer node, Ark_Boolean mode) { - } - void OnRenderProcessNotRespondingImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnRenderProcessRespondingImpl(Ark_NativePointer node, Ark_Function callback) { - } - void SelectionMenuOptionsImpl(Ark_NativePointer node, const Array_ExpandedMenuItemOptions* expandedMenuOptions) { - } - void OnViewportFitChangedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnInterceptKeyboardAttachImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnAdsBlockedImpl(Ark_NativePointer node, Ark_Function callback) { - } - void KeyboardAvoidModeImpl(Ark_NativePointer node, Ark_Int32 mode) { - } + void JavaScriptAccessImpl(Ark_NativePointer node, + Ark_Boolean javaScriptAccess) + { + } + void FileAccessImpl(Ark_NativePointer node, + Ark_Boolean fileAccess) + { + } + void OnlineImageAccessImpl(Ark_NativePointer node, + Ark_Boolean onlineImageAccess) + { + } + void DomStorageAccessImpl(Ark_NativePointer node, + Ark_Boolean domStorageAccess) + { + } + void ImageAccessImpl(Ark_NativePointer node, + Ark_Boolean imageAccess) + { + } + void MixedModeImpl(Ark_NativePointer node, + Ark_Int32 mixedMode) + { + } + void ZoomAccessImpl(Ark_NativePointer node, + Ark_Boolean zoomAccess) + { + } + void GeolocationAccessImpl(Ark_NativePointer node, + Ark_Boolean geolocationAccess) + { + } + void JavaScriptProxyImpl(Ark_NativePointer node, + const Ark_JavaScriptProxy* javaScriptProxy) + { + } + void PasswordImpl(Ark_NativePointer node, + Ark_Boolean password) + { + } + void CacheModeImpl(Ark_NativePointer node, + Ark_Int32 cacheMode) + { + } + void DarkModeImpl(Ark_NativePointer node, + Ark_Int32 mode) + { + } + void ForceDarkAccessImpl(Ark_NativePointer node, + Ark_Boolean access) + { + } + void MediaOptionsImpl(Ark_NativePointer node, + const Ark_WebMediaOptions* options) + { + } + void TableDataImpl(Ark_NativePointer node, + Ark_Boolean tableData) + { + } + void WideViewModeAccessImpl(Ark_NativePointer node, + Ark_Boolean wideViewModeAccess) + { + } + void OverviewModeAccessImpl(Ark_NativePointer node, + Ark_Boolean overviewModeAccess) + { + } + void OverScrollModeImpl(Ark_NativePointer node, + Ark_Int32 mode) + { + } + void TextZoomAtioImpl(Ark_NativePointer node, + const Ark_Number* textZoomAtio) + { + } + void TextZoomRatioImpl(Ark_NativePointer node, + const Ark_Number* textZoomRatio) + { + } + void DatabaseAccessImpl(Ark_NativePointer node, + Ark_Boolean databaseAccess) + { + } + void InitialScaleImpl(Ark_NativePointer node, + const Ark_Number* percent) + { + } + void UserAgentImpl(Ark_NativePointer node, + const Ark_String* userAgent) + { + } + void MetaViewportImpl(Ark_NativePointer node, + Ark_Boolean enabled) + { + } + void OnPageEndImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPageBeginImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnProgressChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnTitleReceiveImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnGeolocationHideImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnGeolocationShowImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnRequestSelectedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnAlertImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnBeforeUnloadImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnConfirmImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPromptImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnConsoleImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnErrorReceiveImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnHttpErrorReceiveImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDownloadStartImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnRefreshAccessedHistoryImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnUrlLoadInterceptImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSslErrorReceiveImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnRenderExited0Impl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnShowFileSelectorImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnRenderExited1Impl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnFileSelectorShowImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnResourceLoadImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnFullScreenExitImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnFullScreenEnterImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnScaleChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnHttpAuthRequestImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnInterceptRequestImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPermissionRequestImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnScreenCaptureRequestImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnContextMenuShowImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnContextMenuHideImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void MediaPlayGestureAccessImpl(Ark_NativePointer node, + Ark_Boolean access) + { + } + void OnSearchResultReceiveImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnScrollImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSslErrorEventReceiveImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSslErrorEventImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnClientAuthenticationRequestImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWindowNewImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnWindowExitImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void MultiWindowAccessImpl(Ark_NativePointer node, + Ark_Boolean multiWindow) + { + } + void OnInterceptKeyEventImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void WebStandardFontImpl(Ark_NativePointer node, + const Ark_String* family) + { + } + void WebSerifFontImpl(Ark_NativePointer node, + const Ark_String* family) + { + } + void WebSansSerifFontImpl(Ark_NativePointer node, + const Ark_String* family) + { + } + void WebFixedFontImpl(Ark_NativePointer node, + const Ark_String* family) + { + } + void WebFantasyFontImpl(Ark_NativePointer node, + const Ark_String* family) + { + } + void WebCursiveFontImpl(Ark_NativePointer node, + const Ark_String* family) + { + } + void DefaultFixedFontSizeImpl(Ark_NativePointer node, + const Ark_Number* size) + { + } + void DefaultFontSizeImpl(Ark_NativePointer node, + const Ark_Number* size) + { + } + void MinFontSizeImpl(Ark_NativePointer node, + const Ark_Number* size) + { + } + void MinLogicalFontSizeImpl(Ark_NativePointer node, + const Ark_Number* size) + { + } + void DefaultTextEncodingFormatImpl(Ark_NativePointer node, + const Ark_String* textEncodingFormat) + { + } + void ForceDisplayScrollBarImpl(Ark_NativePointer node, + Ark_Boolean enabled) + { + } + void BlockNetworkImpl(Ark_NativePointer node, + Ark_Boolean block) + { + } + void HorizontalScrollBarAccessImpl(Ark_NativePointer node, + Ark_Boolean horizontalScrollBar) + { + } + void VerticalScrollBarAccessImpl(Ark_NativePointer node, + Ark_Boolean verticalScrollBar) + { + } + void OnTouchIconUrlReceivedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnFaviconReceivedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnPageVisibleImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDataResubmittedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void PinchSmoothImpl(Ark_NativePointer node, + Ark_Boolean isEnabled) + { + } + void AllowWindowOpenMethodImpl(Ark_NativePointer node, + Ark_Boolean flag) + { + } + void OnAudioStateChangedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnFirstContentfulPaintImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnFirstMeaningfulPaintImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnLargestContentfulPaintImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnLoadInterceptImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnControllerAttachedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnOverScrollImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnSafeBrowsingCheckResultImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnNavigationEntryCommittedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnIntelligentTrackingPreventionResultImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void JavaScriptOnDocumentStartImpl(Ark_NativePointer node, + const Array_ScriptItem* scripts) + { + } + void JavaScriptOnDocumentEndImpl(Ark_NativePointer node, + const Array_ScriptItem* scripts) + { + } + void LayoutModeImpl(Ark_NativePointer node, + Ark_Int32 mode) + { + } + void NestedScrollImpl(Ark_NativePointer node, + const Ark_NestedScrollOptions* value) + { + } + void EnableNativeEmbedModeImpl(Ark_NativePointer node, + Ark_Boolean mode) + { + } + void RegisterNativeEmbedRuleImpl(Ark_NativePointer node, + const Ark_String* tag, + const Ark_String* type) + { + } + void OnNativeEmbedLifecycleChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnNativeEmbedGestureEventImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void CopyOptionsImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void OnOverrideUrlLoadingImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void TextAutosizingImpl(Ark_NativePointer node, + Ark_Boolean textAutosizing) + { + } + void EnableNativeMediaPlayerImpl(Ark_NativePointer node, + const Ark_NativeMediaPlayerConfig* config) + { + } + void EnableSmoothDragResizeImpl(Ark_NativePointer node, + Ark_Boolean mode) + { + } + void OnRenderProcessNotRespondingImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnRenderProcessRespondingImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void SelectionMenuOptionsImpl(Ark_NativePointer node, + const Array_ExpandedMenuItemOptions* expandedMenuOptions) + { + } + void OnViewportFitChangedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnInterceptKeyboardAttachImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnAdsBlockedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void KeyboardAvoidModeImpl(Ark_NativePointer node, + Ark_Int32 mode) + { + } } // WebAttributeModifier namespace WindowSceneInterfaceModifier { - void _setWindowSceneOptionsImpl(Ark_NativePointer node, const Ark_Number* persistentId) { - } + void SetWindowSceneOptionsImpl(Ark_NativePointer node, + const Ark_Number* persistentId) + { + } } // WindowSceneInterfaceModifier namespace WindowSceneAttributeModifier { - void AttractionEffectImpl(Ark_NativePointer node, const Ark_Position* destination, const Ark_Number* fraction) { - } + void AttractionEffectImpl(Ark_NativePointer node, + const Ark_Position* destination, + const Ark_Number* fraction) + { + } } // WindowSceneAttributeModifier namespace XComponentInterfaceModifier { - void _setXComponentOptions_idstringtypestringlibrarynamestringcontrollerXComponentControllerImpl(Ark_NativePointer node, const Type_XComponentInterface__setXComponentOptions_Arg0* value) { - } - void _setXComponentOptions_idstringtypeXComponentTypelibrarynamestringcontrollerXComponentControllerImpl(Ark_NativePointer node, const Type_XComponentInterface__setXComponentOptions1_Arg0* value) { - } - void _setXComponentOptions_XComponentOptionsImpl(Ark_NativePointer node, const Ark_XComponentOptions* options) { - } + void SetXComponentOptions0Impl(Ark_NativePointer node, + const Type_XComponentInterface_setXComponentOptions_Arg0* value) + { + } + void SetXComponentOptions1Impl(Ark_NativePointer node, + const Type_XComponentInterface_setXComponentOptions1_Arg0* value) + { + } + void SetXComponentOptions2Impl(Ark_NativePointer node, + const Ark_XComponentOptions* options) + { + } } // XComponentInterfaceModifier namespace XComponentAttributeModifier { - void OnLoadImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnDestroyImpl(Ark_NativePointer node, Ark_Function event) { - } - void EnableAnalyzerImpl(Ark_NativePointer node, Ark_Boolean enable) { - } + void OnLoadImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnDestroyImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void EnableAnalyzerImpl(Ark_NativePointer node, + Ark_Boolean enable) + { + } } // XComponentAttributeModifier namespace SideBarContainerInterfaceModifier { - void _setSideBarContainerOptionsImpl(Ark_NativePointer node, const Opt_SideBarContainerType* type) { - } + void SetSideBarContainerOptionsImpl(Ark_NativePointer node, + const Opt_SideBarContainerType* type) + { + } } // SideBarContainerInterfaceModifier namespace SideBarContainerAttributeModifier { - void ShowSideBarImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void ControlButtonImpl(Ark_NativePointer node, const Ark_ButtonStyle* value) { - } - void ShowControlButtonImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void OnChangeImpl(Ark_NativePointer node, Ark_Function callback) { - } - void SideBarWidth_numberImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void MinSideBarWidth_numberImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void MaxSideBarWidth_numberImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void SideBarWidth_LengthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void MinSideBarWidth_LengthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void MaxSideBarWidth_LengthImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void AutoHideImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void SideBarPositionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void DividerImpl(Ark_NativePointer node, const Type_SideBarContainerAttribute_divider_Arg0* value) { - } - void MinContentWidthImpl(Ark_NativePointer node, const Ark_Length* value) { - } + void ShowSideBarImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ControlButtonImpl(Ark_NativePointer node, + const Ark_ButtonStyle* value) + { + } + void ShowControlButtonImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void OnChangeImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void SideBarWidth0Impl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void MinSideBarWidth0Impl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void MaxSideBarWidth0Impl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void SideBarWidth1Impl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void MinSideBarWidth1Impl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void MaxSideBarWidth1Impl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void AutoHideImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SideBarPositionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void DividerImpl(Ark_NativePointer node, + const Type_SideBarContainerAttribute_divider_Arg0* value) + { + } + void MinContentWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } } // SideBarContainerAttributeModifier namespace RemoteWindowInterfaceModifier { - void _setRemoteWindowOptionsImpl(Ark_NativePointer node, const Ark_WindowAnimationTarget* target) { - } + void SetRemoteWindowOptionsImpl(Ark_NativePointer node, + const Ark_WindowAnimationTarget* target) + { + } } // RemoteWindowInterfaceModifier namespace WaterFlowInterfaceModifier { - void _setWaterFlowOptionsImpl(Ark_NativePointer node, const Opt_WaterFlowOptions* options) { - } + void SetWaterFlowOptionsImpl(Ark_NativePointer node, + const Opt_WaterFlowOptions* options) + { + } } // WaterFlowInterfaceModifier namespace WaterFlowAttributeModifier { - void ColumnsTemplateImpl(Ark_NativePointer node, const Ark_String* value) { - } - void ItemConstraintSizeImpl(Ark_NativePointer node, const Ark_ConstraintSizeOptions* value) { - } - void RowsTemplateImpl(Ark_NativePointer node, const Ark_String* value) { - } - void ColumnsGapImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void RowsGapImpl(Ark_NativePointer node, const Ark_Length* value) { - } - void LayoutDirectionImpl(Ark_NativePointer node, Ark_Int32 value) { - } - void NestedScrollImpl(Ark_NativePointer node, const Ark_NestedScrollOptions* value) { - } - void EnableScrollInteractionImpl(Ark_NativePointer node, Ark_Boolean value) { - } - void FrictionImpl(Ark_NativePointer node, const Type_WaterFlowAttribute_friction_Arg0* value) { - } - void CachedCountImpl(Ark_NativePointer node, const Ark_Number* value) { - } - void OnReachStartImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnReachEndImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollFrameBeginImpl(Ark_NativePointer node, Ark_Function event) { - } - void OnScrollIndexImpl(Ark_NativePointer node, Ark_Function event) { - } + void ColumnsTemplateImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void ItemConstraintSizeImpl(Ark_NativePointer node, + const Ark_ConstraintSizeOptions* value) + { + } + void RowsTemplateImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void ColumnsGapImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void RowsGapImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void LayoutDirectionImpl(Ark_NativePointer node, + Ark_Int32 value) + { + } + void NestedScrollImpl(Ark_NativePointer node, + const Ark_NestedScrollOptions* value) + { + } + void EnableScrollInteractionImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void FrictionImpl(Ark_NativePointer node, + const Type_WaterFlowAttribute_friction_Arg0* value) + { + } + void CachedCountImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void OnReachStartImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnReachEndImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollFrameBeginImpl(Ark_NativePointer node, + Ark_Function event) + { + } + void OnScrollIndexImpl(Ark_NativePointer node, + Ark_Function event) + { + } } // WaterFlowAttributeModifier namespace UIExtensionComponentInterfaceModifier { - void _setUIExtensionComponentOptionsImpl(Ark_NativePointer node, const Ark_CustomObject* want, const Opt_UIExtensionOptions* options) { - } + void SetUIExtensionComponentOptionsImpl(Ark_NativePointer node, + const Ark_CustomObject* want, + const Opt_UIExtensionOptions* options) + { + } } // UIExtensionComponentInterfaceModifier namespace UIExtensionComponentAttributeModifier { - void OnRemoteReadyImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnReceiveImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnResultImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnReleaseImpl(Ark_NativePointer node, Ark_Function callback) { - } - void OnErrorImpl(Ark_NativePointer node, const Ark_CustomObject* callback) { - } - void OnTerminatedImpl(Ark_NativePointer node, Ark_Function callback) { - } + void OnRemoteReadyImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnReceiveImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnResultImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnReleaseImpl(Ark_NativePointer node, + Ark_Function callback) + { + } + void OnErrorImpl(Ark_NativePointer node, + const Ark_CustomObject* callback) + { + } + void OnTerminatedImpl(Ark_NativePointer node, + Ark_Function callback) + { + } } // UIExtensionComponentAttributeModifier namespace LinearIndicatorInterfaceModifier { - void _setLinearIndicatorOptionsImpl(Ark_NativePointer node, const Opt_Number* count, const Opt_LinearIndicatorController* controller) { - } + void SetLinearIndicatorOptionsImpl(Ark_NativePointer node, + const Opt_Number* count, + const Opt_LinearIndicatorController* controller) + { + } } // LinearIndicatorInterfaceModifier namespace LinearIndicatorAttributeModifier { - void IndicatorStyleImpl(Ark_NativePointer node, const Opt_LinearIndicatorStyle* style) { - } - void IndicatorLoopImpl(Ark_NativePointer node, const Opt_Boolean* loop) { - } - void OnChangeImpl(Ark_NativePointer node, const Opt_Function* callback) { - } + void IndicatorStyleImpl(Ark_NativePointer node, + const Opt_LinearIndicatorStyle* style) + { + } + void IndicatorLoopImpl(Ark_NativePointer node, + const Opt_Boolean* loop) + { + } + void OnChangeImpl(Ark_NativePointer node, + const Opt_Function* callback) + { + } } // LinearIndicatorAttributeModifier - const GENERATED_ArkUIAbilityComponentModifier* GetAbilityComponentModifier() { + const GENERATED_ArkUIAbilityComponentModifier* GetAbilityComponentModifier() + { static const GENERATED_ArkUIAbilityComponentModifier ArkUIAbilityComponentModifierImpl { - AbilityComponentInterfaceModifier::_setAbilityComponentOptionsImpl, + AbilityComponentInterfaceModifier::SetAbilityComponentOptionsImpl, AbilityComponentAttributeModifier::OnConnectImpl, AbilityComponentAttributeModifier::OnDisconnectImpl, }; return &ArkUIAbilityComponentModifierImpl; } - const GENERATED_ArkUIAlphabetIndexerModifier* GetAlphabetIndexerModifier() { + const GENERATED_ArkUIAlphabetIndexerModifier* GetAlphabetIndexerModifier() + { static const GENERATED_ArkUIAlphabetIndexerModifier ArkUIAlphabetIndexerModifierImpl { - AlphabetIndexerInterfaceModifier::_setAlphabetIndexerOptionsImpl, + AlphabetIndexerInterfaceModifier::SetAlphabetIndexerOptionsImpl, AlphabetIndexerAttributeModifier::OnSelectedImpl, AlphabetIndexerAttributeModifier::ColorImpl, AlphabetIndexerAttributeModifier::SelectedColorImpl, @@ -3519,9 +6661,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIAlphabetIndexerModifierImpl; } - const GENERATED_ArkUIAnimatorModifier* GetAnimatorModifier() { + const GENERATED_ArkUIAnimatorModifier* GetAnimatorModifier() + { static const GENERATED_ArkUIAnimatorModifier ArkUIAnimatorModifierImpl { - AnimatorInterfaceModifier::_setAnimatorOptionsImpl, + AnimatorInterfaceModifier::SetAnimatorOptionsImpl, AnimatorAttributeModifier::StateImpl, AnimatorAttributeModifier::DurationImpl, AnimatorAttributeModifier::CurveImpl, @@ -3540,27 +6683,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIAnimatorModifierImpl; } - const GENERATED_ArkUIBadgeModifier* GetBadgeModifier() { + const GENERATED_ArkUIBadgeModifier* GetBadgeModifier() + { static const GENERATED_ArkUIBadgeModifier ArkUIBadgeModifierImpl { - BadgeInterfaceModifier::_setBadgeOptions_BadgeParamWithNumberImpl, - BadgeInterfaceModifier::_setBadgeOptions_BadgeParamWithStringImpl, + BadgeInterfaceModifier::SetBadgeOptions0Impl, + BadgeInterfaceModifier::SetBadgeOptions1Impl, }; return &ArkUIBadgeModifierImpl; } - const GENERATED_ArkUIBlankModifier* GetBlankModifier() { + const GENERATED_ArkUIBlankModifier* GetBlankModifier() + { static const GENERATED_ArkUIBlankModifier ArkUIBlankModifierImpl { - BlankInterfaceModifier::_setBlankOptionsImpl, + BlankInterfaceModifier::SetBlankOptionsImpl, BlankAttributeModifier::ColorImpl, }; return &ArkUIBlankModifierImpl; } - const GENERATED_ArkUIButtonModifier* GetButtonModifier() { + const GENERATED_ArkUIButtonModifier* GetButtonModifier() + { static const GENERATED_ArkUIButtonModifier ArkUIButtonModifierImpl { - ButtonInterfaceModifier::_setButtonOptions_Impl, - ButtonInterfaceModifier::_setButtonOptions_ButtonOptionsImpl, - ButtonInterfaceModifier::_setButtonOptions_ResourceStr_ButtonOptionsImpl, + ButtonInterfaceModifier::SetButtonOptions0Impl, + ButtonInterfaceModifier::SetButtonOptions1Impl, + ButtonInterfaceModifier::SetButtonOptions2Impl, ButtonAttributeModifier::TypeImpl, ButtonAttributeModifier::StateEffectImpl, ButtonAttributeModifier::ButtonStyleImpl, @@ -3577,9 +6723,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIButtonModifierImpl; } - const GENERATED_ArkUICalendarModifier* GetCalendarModifier() { + const GENERATED_ArkUICalendarModifier* GetCalendarModifier() + { static const GENERATED_ArkUICalendarModifier ArkUICalendarModifierImpl { - CalendarInterfaceModifier::_setCalendarOptionsImpl, + CalendarInterfaceModifier::SetCalendarOptionsImpl, CalendarAttributeModifier::ShowLunarImpl, CalendarAttributeModifier::ShowHolidayImpl, CalendarAttributeModifier::NeedSlideImpl, @@ -3597,9 +6744,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUICalendarModifierImpl; } - const GENERATED_ArkUICalendarPickerModifier* GetCalendarPickerModifier() { + const GENERATED_ArkUICalendarPickerModifier* GetCalendarPickerModifier() + { static const GENERATED_ArkUICalendarPickerModifier ArkUICalendarPickerModifierImpl { - CalendarPickerInterfaceModifier::_setCalendarPickerOptionsImpl, + CalendarPickerInterfaceModifier::SetCalendarPickerOptionsImpl, CalendarPickerAttributeModifier::EdgeAlignImpl, CalendarPickerAttributeModifier::TextStyleImpl, CalendarPickerAttributeModifier::OnChangeImpl, @@ -3607,19 +6755,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUICalendarPickerModifierImpl; } - const GENERATED_ArkUICanvasModifier* GetCanvasModifier() { + const GENERATED_ArkUICanvasModifier* GetCanvasModifier() + { static const GENERATED_ArkUICanvasModifier ArkUICanvasModifierImpl { - CanvasInterfaceModifier::_setCanvasOptions_CanvasRenderingContextDDrawingRenderingContextImpl, - CanvasInterfaceModifier::_setCanvasOptions_CanvasRenderingContextDDrawingRenderingContext_ImageAIOptionsImpl, + CanvasInterfaceModifier::SetCanvasOptions0Impl, + CanvasInterfaceModifier::SetCanvasOptions1Impl, CanvasAttributeModifier::OnReadyImpl, CanvasAttributeModifier::EnableAnalyzerImpl, }; return &ArkUICanvasModifierImpl; } - const GENERATED_ArkUICheckboxModifier* GetCheckboxModifier() { + const GENERATED_ArkUICheckboxModifier* GetCheckboxModifier() + { static const GENERATED_ArkUICheckboxModifier ArkUICheckboxModifierImpl { - CheckboxInterfaceModifier::_setCheckboxOptionsImpl, + CheckboxInterfaceModifier::SetCheckboxOptionsImpl, CheckboxAttributeModifier::SelectImpl, CheckboxAttributeModifier::SelectedColorImpl, CheckboxAttributeModifier::ShapeImpl, @@ -3631,9 +6781,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUICheckboxModifierImpl; } - const GENERATED_ArkUICheckboxGroupModifier* GetCheckboxGroupModifier() { + const GENERATED_ArkUICheckboxGroupModifier* GetCheckboxGroupModifier() + { static const GENERATED_ArkUICheckboxGroupModifier ArkUICheckboxGroupModifierImpl { - CheckboxGroupInterfaceModifier::_setCheckboxGroupOptionsImpl, + CheckboxGroupInterfaceModifier::SetCheckboxGroupOptionsImpl, CheckboxGroupAttributeModifier::SelectAllImpl, CheckboxGroupAttributeModifier::SelectedColorImpl, CheckboxGroupAttributeModifier::UnselectedColorImpl, @@ -3644,16 +6795,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUICheckboxGroupModifierImpl; } - const GENERATED_ArkUICircleModifier* GetCircleModifier() { + const GENERATED_ArkUICircleModifier* GetCircleModifier() + { static const GENERATED_ArkUICircleModifier ArkUICircleModifierImpl { - CircleInterfaceModifier::_setCircleOptionsImpl, + CircleInterfaceModifier::SetCircleOptionsImpl, }; return &ArkUICircleModifierImpl; } - const GENERATED_ArkUIColumnModifier* GetColumnModifier() { + const GENERATED_ArkUIColumnModifier* GetColumnModifier() + { static const GENERATED_ArkUIColumnModifier ArkUIColumnModifierImpl { - ColumnInterfaceModifier::_setColumnOptionsImpl, + ColumnInterfaceModifier::SetColumnOptionsImpl, ColumnAttributeModifier::AlignItemsImpl, ColumnAttributeModifier::JustifyContentImpl, ColumnAttributeModifier::PointLightImpl, @@ -3661,16 +6814,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIColumnModifierImpl; } - const GENERATED_ArkUIColumnSplitModifier* GetColumnSplitModifier() { + const GENERATED_ArkUIColumnSplitModifier* GetColumnSplitModifier() + { static const GENERATED_ArkUIColumnSplitModifier ArkUIColumnSplitModifierImpl { - ColumnSplitInterfaceModifier::_setColumnSplitOptionsImpl, + ColumnSplitInterfaceModifier::SetColumnSplitOptionsImpl, ColumnSplitAttributeModifier::ResizeableImpl, ColumnSplitAttributeModifier::DividerImpl, }; return &ArkUIColumnSplitModifierImpl; } - const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() { + const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() + { static const GENERATED_ArkUICommonMethodModifier ArkUICommonMethodModifierImpl { CommonMethodModifier::WidthImpl, CommonMethodModifier::HeightImpl, @@ -3734,8 +6889,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::FocusScopeIdImpl, CommonMethodModifier::FocusScopePriorityImpl, CommonMethodModifier::AnimationImpl, - CommonMethodModifier::Transition_TransitionOptionsTransitionEffectImpl, - CommonMethodModifier::Transition_TransitionEffect_TransitionFinishCallbackundefinedImpl, + CommonMethodModifier::Transition0Impl, + CommonMethodModifier::Transition1Impl, CommonMethodModifier::GestureImpl, CommonMethodModifier::PriorityGestureImpl, CommonMethodModifier::ParallelGestureImpl, @@ -3782,8 +6937,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::OffsetImpl, CommonMethodModifier::EnabledImpl, CommonMethodModifier::UseSizeTypeImpl, - CommonMethodModifier::AlignRules_AlignRuleOptionImpl, - CommonMethodModifier::AlignRules_LocalizedAlignRuleOptionsImpl, + CommonMethodModifier::AlignRules0Impl, + CommonMethodModifier::AlignRules1Impl, CommonMethodModifier::ChainModeImpl, CommonMethodModifier::AspectRatioImpl, CommonMethodModifier::ClickEffectImpl, @@ -3805,23 +6960,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::MotionPathImpl, CommonMethodModifier::ShadowImpl, CommonMethodModifier::BlendModeImpl, - CommonMethodModifier::Clip_booleanImpl, - CommonMethodModifier::Clip_booleanCircleAttributeEllipseAttributePathAttributeRectAttributeImpl, + CommonMethodModifier::Clip0Impl, + CommonMethodModifier::Clip1Impl, CommonMethodModifier::ClipShapeImpl, - CommonMethodModifier::Mask_ProgressMaskImpl, - CommonMethodModifier::Mask_CircleAttributeEllipseAttributePathAttributeRectAttributeProgressMaskImpl, + CommonMethodModifier::Mask0Impl, + CommonMethodModifier::Mask1Impl, CommonMethodModifier::MaskShapeImpl, CommonMethodModifier::KeyImpl, CommonMethodModifier::IdImpl, - CommonMethodModifier::GeometryTransition_stringImpl, - CommonMethodModifier::GeometryTransition_string_GeometryTransitionOptionsImpl, + CommonMethodModifier::GeometryTransition0Impl, + CommonMethodModifier::GeometryTransition1Impl, CommonMethodModifier::BindPopupImpl, - CommonMethodModifier::BindMenu_ArrayMenuElementCustomBuilder_MenuOptionsImpl, - CommonMethodModifier::BindMenu_boolean_ArrayMenuElementCustomBuilder_MenuOptionsImpl, - CommonMethodModifier::BindContextMenu_CustomBuilder_ResponseType_ContextMenuOptionsImpl, - CommonMethodModifier::BindContextMenu_boolean_CustomBuilder_ContextMenuOptionsImpl, - CommonMethodModifier::BindContentCover_booleanundefined_CustomBuilder_ModalTransitionImpl, - CommonMethodModifier::BindContentCover_booleanundefined_CustomBuilder_ContentCoverOptionsImpl, + CommonMethodModifier::BindMenu0Impl, + CommonMethodModifier::BindMenu1Impl, + CommonMethodModifier::BindContextMenu0Impl, + CommonMethodModifier::BindContextMenu1Impl, + CommonMethodModifier::BindContentCover0Impl, + CommonMethodModifier::BindContentCover1Impl, CommonMethodModifier::BindSheetImpl, CommonMethodModifier::StateStylesImpl, CommonMethodModifier::RestoreIdImpl, @@ -3831,11 +6986,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::PixelStretchEffectImpl, CommonMethodModifier::KeyboardShortcutImpl, CommonMethodModifier::AccessibilityGroupImpl, - CommonMethodModifier::AccessibilityText_stringImpl, - CommonMethodModifier::AccessibilityText_ResourceImpl, + CommonMethodModifier::AccessibilityText0Impl, + CommonMethodModifier::AccessibilityText1Impl, CommonMethodModifier::AccessibilityTextHintImpl, - CommonMethodModifier::AccessibilityDescription_stringImpl, - CommonMethodModifier::AccessibilityDescription_ResourceImpl, + CommonMethodModifier::AccessibilityDescription0Impl, + CommonMethodModifier::AccessibilityDescription1Impl, CommonMethodModifier::AccessibilityLevelImpl, CommonMethodModifier::AccessibilityVirtualNodeImpl, CommonMethodModifier::ObscuredImpl, @@ -3853,7 +7008,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUICommonMethodModifierImpl; } - const GENERATED_ArkUICommonShapeMethodModifier* GetCommonShapeMethodModifier() { + const GENERATED_ArkUICommonShapeMethodModifier* GetCommonShapeMethodModifier() + { static const GENERATED_ArkUICommonShapeMethodModifier ArkUICommonShapeMethodModifierImpl { CommonShapeMethodModifier::StrokeImpl, CommonShapeMethodModifier::FillImpl, @@ -3870,14 +7026,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUICommonShapeMethodModifierImpl; } - const GENERATED_ArkUICommonModifier* GetCommonModifier() { + const GENERATED_ArkUICommonModifier* GetCommonModifier() + { static const GENERATED_ArkUICommonModifier ArkUICommonModifierImpl { - CommonInterfaceModifier::_setCommonOptionsImpl, + CommonInterfaceModifier::SetCommonOptionsImpl, }; return &ArkUICommonModifierImpl; } - const GENERATED_ArkUIScrollableCommonMethodModifier* GetScrollableCommonMethodModifier() { + const GENERATED_ArkUIScrollableCommonMethodModifier* GetScrollableCommonMethodModifier() + { static const GENERATED_ArkUIScrollableCommonMethodModifier ArkUIScrollableCommonMethodModifierImpl { ScrollableCommonMethodModifier::ScrollBarImpl, ScrollableCommonMethodModifier::ScrollBarColorImpl, @@ -3898,9 +7056,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIScrollableCommonMethodModifierImpl; } - const GENERATED_ArkUIComponent3DModifier* GetComponent3DModifier() { + const GENERATED_ArkUIComponent3DModifier* GetComponent3DModifier() + { static const GENERATED_ArkUIComponent3DModifier ArkUIComponent3DModifierImpl { - Component3DInterfaceModifier::_setComponent3DOptionsImpl, + Component3DInterfaceModifier::SetComponent3DOptionsImpl, Component3DAttributeModifier::EnvironmentImpl, Component3DAttributeModifier::CustomRenderImpl, Component3DAttributeModifier::ShaderImpl, @@ -3912,17 +7071,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIComponent3DModifierImpl; } - const GENERATED_ArkUIContainerSpanModifier* GetContainerSpanModifier() { + const GENERATED_ArkUIContainerSpanModifier* GetContainerSpanModifier() + { static const GENERATED_ArkUIContainerSpanModifier ArkUIContainerSpanModifierImpl { - ContainerSpanInterfaceModifier::_setContainerSpanOptionsImpl, + ContainerSpanInterfaceModifier::SetContainerSpanOptionsImpl, ContainerSpanAttributeModifier::TextBackgroundStyleImpl, }; return &ArkUIContainerSpanModifierImpl; } - const GENERATED_ArkUICounterModifier* GetCounterModifier() { + const GENERATED_ArkUICounterModifier* GetCounterModifier() + { static const GENERATED_ArkUICounterModifier ArkUICounterModifierImpl { - CounterInterfaceModifier::_setCounterOptionsImpl, + CounterInterfaceModifier::SetCounterOptionsImpl, CounterAttributeModifier::OnIncImpl, CounterAttributeModifier::OnDecImpl, CounterAttributeModifier::EnableDecImpl, @@ -3931,9 +7092,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUICounterModifierImpl; } - const GENERATED_ArkUIDataPanelModifier* GetDataPanelModifier() { + const GENERATED_ArkUIDataPanelModifier* GetDataPanelModifier() + { static const GENERATED_ArkUIDataPanelModifier ArkUIDataPanelModifierImpl { - DataPanelInterfaceModifier::_setDataPanelOptionsImpl, + DataPanelInterfaceModifier::SetDataPanelOptionsImpl, DataPanelAttributeModifier::CloseEffectImpl, DataPanelAttributeModifier::ValueColorsImpl, DataPanelAttributeModifier::TrackBackgroundColorImpl, @@ -3944,9 +7106,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIDataPanelModifierImpl; } - const GENERATED_ArkUIDatePickerModifier* GetDatePickerModifier() { + const GENERATED_ArkUIDatePickerModifier* GetDatePickerModifier() + { static const GENERATED_ArkUIDatePickerModifier ArkUIDatePickerModifierImpl { - DatePickerInterfaceModifier::_setDatePickerOptionsImpl, + DatePickerInterfaceModifier::SetDatePickerOptionsImpl, DatePickerAttributeModifier::LunarImpl, DatePickerAttributeModifier::DisappearTextStyleImpl, DatePickerAttributeModifier::TextStyleImpl, @@ -3957,9 +7120,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIDatePickerModifierImpl; } - const GENERATED_ArkUIDividerModifier* GetDividerModifier() { + const GENERATED_ArkUIDividerModifier* GetDividerModifier() + { static const GENERATED_ArkUIDividerModifier ArkUIDividerModifierImpl { - DividerInterfaceModifier::_setDividerOptionsImpl, + DividerInterfaceModifier::SetDividerOptionsImpl, DividerAttributeModifier::VerticalImpl, DividerAttributeModifier::ColorImpl, DividerAttributeModifier::StrokeWidthImpl, @@ -3968,47 +7132,53 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIDividerModifierImpl; } - const GENERATED_ArkUIEffectComponentModifier* GetEffectComponentModifier() { + const GENERATED_ArkUIEffectComponentModifier* GetEffectComponentModifier() + { static const GENERATED_ArkUIEffectComponentModifier ArkUIEffectComponentModifierImpl { - EffectComponentInterfaceModifier::_setEffectComponentOptionsImpl, + EffectComponentInterfaceModifier::SetEffectComponentOptionsImpl, }; return &ArkUIEffectComponentModifierImpl; } - const GENERATED_ArkUIEllipseModifier* GetEllipseModifier() { + const GENERATED_ArkUIEllipseModifier* GetEllipseModifier() + { static const GENERATED_ArkUIEllipseModifier ArkUIEllipseModifierImpl { - EllipseInterfaceModifier::_setEllipseOptionsImpl, + EllipseInterfaceModifier::SetEllipseOptionsImpl, }; return &ArkUIEllipseModifierImpl; } - const GENERATED_ArkUIEmbeddedComponentModifier* GetEmbeddedComponentModifier() { + const GENERATED_ArkUIEmbeddedComponentModifier* GetEmbeddedComponentModifier() + { static const GENERATED_ArkUIEmbeddedComponentModifier ArkUIEmbeddedComponentModifierImpl { - EmbeddedComponentInterfaceModifier::_setEmbeddedComponentOptionsImpl, + EmbeddedComponentInterfaceModifier::SetEmbeddedComponentOptionsImpl, EmbeddedComponentAttributeModifier::OnTerminatedImpl, EmbeddedComponentAttributeModifier::OnErrorImpl, }; return &ArkUIEmbeddedComponentModifierImpl; } - const GENERATED_ArkUIFlexModifier* GetFlexModifier() { + const GENERATED_ArkUIFlexModifier* GetFlexModifier() + { static const GENERATED_ArkUIFlexModifier ArkUIFlexModifierImpl { - FlexInterfaceModifier::_setFlexOptionsImpl, + FlexInterfaceModifier::SetFlexOptionsImpl, FlexAttributeModifier::PointLightImpl, }; return &ArkUIFlexModifierImpl; } - const GENERATED_ArkUIFlowItemModifier* GetFlowItemModifier() { + const GENERATED_ArkUIFlowItemModifier* GetFlowItemModifier() + { static const GENERATED_ArkUIFlowItemModifier ArkUIFlowItemModifierImpl { - FlowItemInterfaceModifier::_setFlowItemOptionsImpl, + FlowItemInterfaceModifier::SetFlowItemOptionsImpl, }; return &ArkUIFlowItemModifierImpl; } - const GENERATED_ArkUIFolderStackModifier* GetFolderStackModifier() { + const GENERATED_ArkUIFolderStackModifier* GetFolderStackModifier() + { static const GENERATED_ArkUIFolderStackModifier ArkUIFolderStackModifierImpl { - FolderStackInterfaceModifier::_setFolderStackOptionsImpl, + FolderStackInterfaceModifier::SetFolderStackOptionsImpl, FolderStackAttributeModifier::AlignContentImpl, FolderStackAttributeModifier::OnFolderStateChangeImpl, FolderStackAttributeModifier::OnHoverStatusChangeImpl, @@ -4018,9 +7188,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIFolderStackModifierImpl; } - const GENERATED_ArkUIFormComponentModifier* GetFormComponentModifier() { + const GENERATED_ArkUIFormComponentModifier* GetFormComponentModifier() + { static const GENERATED_ArkUIFormComponentModifier ArkUIFormComponentModifierImpl { - FormComponentInterfaceModifier::_setFormComponentOptionsImpl, + FormComponentInterfaceModifier::SetFormComponentOptionsImpl, FormComponentAttributeModifier::SizeImpl, FormComponentAttributeModifier::ModuleNameImpl, FormComponentAttributeModifier::DimensionImpl, @@ -4035,16 +7206,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIFormComponentModifierImpl; } - const GENERATED_ArkUIFormLinkModifier* GetFormLinkModifier() { + const GENERATED_ArkUIFormLinkModifier* GetFormLinkModifier() + { static const GENERATED_ArkUIFormLinkModifier ArkUIFormLinkModifierImpl { - FormLinkInterfaceModifier::_setFormLinkOptionsImpl, + FormLinkInterfaceModifier::SetFormLinkOptionsImpl, }; return &ArkUIFormLinkModifierImpl; } - const GENERATED_ArkUIGaugeModifier* GetGaugeModifier() { + const GENERATED_ArkUIGaugeModifier* GetGaugeModifier() + { static const GENERATED_ArkUIGaugeModifier ArkUIGaugeModifierImpl { - GaugeInterfaceModifier::_setGaugeOptionsImpl, + GaugeInterfaceModifier::SetGaugeOptionsImpl, GaugeAttributeModifier::ValueImpl, GaugeAttributeModifier::StartAngleImpl, GaugeAttributeModifier::EndAngleImpl, @@ -4059,9 +7232,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIGaugeModifierImpl; } - const GENERATED_ArkUIGridModifier* GetGridModifier() { + const GENERATED_ArkUIGridModifier* GetGridModifier() + { static const GENERATED_ArkUIGridModifier ArkUIGridModifierImpl { - GridInterfaceModifier::_setGridOptionsImpl, + GridInterfaceModifier::SetGridOptionsImpl, GridAttributeModifier::ColumnsTemplateImpl, GridAttributeModifier::RowsTemplateImpl, GridAttributeModifier::ColumnsGapImpl, @@ -4098,9 +7272,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIGridModifierImpl; } - const GENERATED_ArkUIGridItemModifier* GetGridItemModifier() { + const GENERATED_ArkUIGridItemModifier* GetGridItemModifier() + { static const GENERATED_ArkUIGridItemModifier ArkUIGridItemModifierImpl { - GridItemInterfaceModifier::_setGridItemOptionsImpl, + GridItemInterfaceModifier::SetGridItemOptionsImpl, GridItemAttributeModifier::RowStartImpl, GridItemAttributeModifier::RowEndImpl, GridItemAttributeModifier::ColumnStartImpl, @@ -4113,9 +7288,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIGridItemModifierImpl; } - const GENERATED_ArkUIGridColModifier* GetGridColModifier() { + const GENERATED_ArkUIGridColModifier* GetGridColModifier() + { static const GENERATED_ArkUIGridColModifier ArkUIGridColModifierImpl { - GridColInterfaceModifier::_setGridColOptionsImpl, + GridColInterfaceModifier::SetGridColOptionsImpl, GridColAttributeModifier::SpanImpl, GridColAttributeModifier::GridColOffsetImpl, GridColAttributeModifier::OrderImpl, @@ -4123,35 +7299,39 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIGridColModifierImpl; } - const GENERATED_ArkUIGridContainerModifier* GetGridContainerModifier() { + const GENERATED_ArkUIGridContainerModifier* GetGridContainerModifier() + { static const GENERATED_ArkUIGridContainerModifier ArkUIGridContainerModifierImpl { - GridContainerInterfaceModifier::_setGridContainerOptionsImpl, + GridContainerInterfaceModifier::SetGridContainerOptionsImpl, }; return &ArkUIGridContainerModifierImpl; } - const GENERATED_ArkUIGridRowModifier* GetGridRowModifier() { + const GENERATED_ArkUIGridRowModifier* GetGridRowModifier() + { static const GENERATED_ArkUIGridRowModifier ArkUIGridRowModifierImpl { - GridRowInterfaceModifier::_setGridRowOptionsImpl, + GridRowInterfaceModifier::SetGridRowOptionsImpl, GridRowAttributeModifier::OnBreakpointChangeImpl, GridRowAttributeModifier::AlignItemsImpl, }; return &ArkUIGridRowModifierImpl; } - const GENERATED_ArkUIHyperlinkModifier* GetHyperlinkModifier() { + const GENERATED_ArkUIHyperlinkModifier* GetHyperlinkModifier() + { static const GENERATED_ArkUIHyperlinkModifier ArkUIHyperlinkModifierImpl { - HyperlinkInterfaceModifier::_setHyperlinkOptionsImpl, + HyperlinkInterfaceModifier::SetHyperlinkOptionsImpl, HyperlinkAttributeModifier::ColorImpl, }; return &ArkUIHyperlinkModifierImpl; } - const GENERATED_ArkUIImageModifier* GetImageModifier() { + const GENERATED_ArkUIImageModifier* GetImageModifier() + { static const GENERATED_ArkUIImageModifier ArkUIImageModifierImpl { - ImageInterfaceModifier::_setImageOptions_PixelMapResourceStrDrawableDescriptorImpl, - ImageInterfaceModifier::_setImageOptions_PixelMapResourceStrDrawableDescriptorImageContentImpl, - ImageInterfaceModifier::_setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptionsImpl, + ImageInterfaceModifier::SetImageOptions0Impl, + ImageInterfaceModifier::SetImageOptions1Impl, + ImageInterfaceModifier::SetImageOptions2Impl, ImageAttributeModifier::AltImpl, ImageAttributeModifier::MatchTextDirectionImpl, ImageAttributeModifier::FitOriginalSizeImpl, @@ -4181,9 +7361,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIImageModifierImpl; } - const GENERATED_ArkUIImageAnimatorModifier* GetImageAnimatorModifier() { + const GENERATED_ArkUIImageAnimatorModifier* GetImageAnimatorModifier() + { static const GENERATED_ArkUIImageAnimatorModifier ArkUIImageAnimatorModifierImpl { - ImageAnimatorInterfaceModifier::_setImageAnimatorOptionsImpl, + ImageAnimatorInterfaceModifier::SetImageAnimatorOptionsImpl, ImageAnimatorAttributeModifier::ImagesImpl, ImageAnimatorAttributeModifier::StateImpl, ImageAnimatorAttributeModifier::DurationImpl, @@ -4201,9 +7382,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIImageAnimatorModifierImpl; } - const GENERATED_ArkUIImageSpanModifier* GetImageSpanModifier() { + const GENERATED_ArkUIImageSpanModifier* GetImageSpanModifier() + { static const GENERATED_ArkUIImageSpanModifier ArkUIImageSpanModifierImpl { - ImageSpanInterfaceModifier::_setImageSpanOptionsImpl, + ImageSpanInterfaceModifier::SetImageSpanOptionsImpl, ImageSpanAttributeModifier::VerticalAlignImpl, ImageSpanAttributeModifier::ColorFilterImpl, ImageSpanAttributeModifier::ObjectFitImpl, @@ -4214,18 +7396,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIImageSpanModifierImpl; } - const GENERATED_ArkUILineModifier* GetLineModifier() { + const GENERATED_ArkUILineModifier* GetLineModifier() + { static const GENERATED_ArkUILineModifier ArkUILineModifierImpl { - LineInterfaceModifier::_setLineOptionsImpl, + LineInterfaceModifier::SetLineOptionsImpl, LineAttributeModifier::StartPointImpl, LineAttributeModifier::EndPointImpl, }; return &ArkUILineModifierImpl; } - const GENERATED_ArkUIListModifier* GetListModifier() { + const GENERATED_ArkUIListModifier* GetListModifier() + { static const GENERATED_ArkUIListModifier ArkUIListModifierImpl { - ListInterfaceModifier::_setListOptionsImpl, + ListInterfaceModifier::SetListOptionsImpl, ListAttributeModifier::LanesImpl, ListAttributeModifier::AlignListItemImpl, ListAttributeModifier::ListDirectionImpl, @@ -4265,10 +7449,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIListModifierImpl; } - const GENERATED_ArkUIListItemModifier* GetListItemModifier() { + const GENERATED_ArkUIListItemModifier* GetListItemModifier() + { static const GENERATED_ArkUIListItemModifier ArkUIListItemModifierImpl { - ListItemInterfaceModifier::_setListItemOptions_ListItemOptionsImpl, - ListItemInterfaceModifier::_setListItemOptions_stringImpl, + ListItemInterfaceModifier::SetListItemOptions0Impl, + ListItemInterfaceModifier::SetListItemOptions1Impl, ListItemAttributeModifier::StickyImpl, ListItemAttributeModifier::EditableImpl, ListItemAttributeModifier::SelectableImpl, @@ -4279,18 +7464,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIListItemModifierImpl; } - const GENERATED_ArkUIListItemGroupModifier* GetListItemGroupModifier() { + const GENERATED_ArkUIListItemGroupModifier* GetListItemGroupModifier() + { static const GENERATED_ArkUIListItemGroupModifier ArkUIListItemGroupModifierImpl { - ListItemGroupInterfaceModifier::_setListItemGroupOptionsImpl, + ListItemGroupInterfaceModifier::SetListItemGroupOptionsImpl, ListItemGroupAttributeModifier::DividerImpl, ListItemGroupAttributeModifier::ChildrenMainSizeImpl, }; return &ArkUIListItemGroupModifierImpl; } - const GENERATED_ArkUILoadingProgressModifier* GetLoadingProgressModifier() { + const GENERATED_ArkUILoadingProgressModifier* GetLoadingProgressModifier() + { static const GENERATED_ArkUILoadingProgressModifier ArkUILoadingProgressModifierImpl { - LoadingProgressInterfaceModifier::_setLoadingProgressOptionsImpl, + LoadingProgressInterfaceModifier::SetLoadingProgressOptionsImpl, LoadingProgressAttributeModifier::ColorImpl, LoadingProgressAttributeModifier::EnableLoadingImpl, LoadingProgressAttributeModifier::ContentModifierImpl, @@ -4298,18 +7485,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUILoadingProgressModifierImpl; } - const GENERATED_ArkUILocationButtonModifier* GetLocationButtonModifier() { + const GENERATED_ArkUILocationButtonModifier* GetLocationButtonModifier() + { static const GENERATED_ArkUILocationButtonModifier ArkUILocationButtonModifierImpl { - LocationButtonInterfaceModifier::_setLocationButtonOptions_Impl, - LocationButtonInterfaceModifier::_setLocationButtonOptions_LocationButtonOptionsImpl, + LocationButtonInterfaceModifier::SetLocationButtonOptions0Impl, + LocationButtonInterfaceModifier::SetLocationButtonOptions1Impl, LocationButtonAttributeModifier::OnClickImpl, }; return &ArkUILocationButtonModifierImpl; } - const GENERATED_ArkUIMarqueeModifier* GetMarqueeModifier() { + const GENERATED_ArkUIMarqueeModifier* GetMarqueeModifier() + { static const GENERATED_ArkUIMarqueeModifier ArkUIMarqueeModifierImpl { - MarqueeInterfaceModifier::_setMarqueeOptionsImpl, + MarqueeInterfaceModifier::SetMarqueeOptionsImpl, MarqueeAttributeModifier::FontColorImpl, MarqueeAttributeModifier::FontSizeImpl, MarqueeAttributeModifier::AllowScaleImpl, @@ -4323,16 +7512,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIMarqueeModifierImpl; } - const GENERATED_ArkUIMediaCachedImageModifier* GetMediaCachedImageModifier() { + const GENERATED_ArkUIMediaCachedImageModifier* GetMediaCachedImageModifier() + { static const GENERATED_ArkUIMediaCachedImageModifier ArkUIMediaCachedImageModifierImpl { - MediaCachedImageInterfaceModifier::_setMediaCachedImageOptionsImpl, + MediaCachedImageInterfaceModifier::SetMediaCachedImageOptionsImpl, }; return &ArkUIMediaCachedImageModifierImpl; } - const GENERATED_ArkUIMenuModifier* GetMenuModifier() { + const GENERATED_ArkUIMenuModifier* GetMenuModifier() + { static const GENERATED_ArkUIMenuModifier ArkUIMenuModifierImpl { - MenuInterfaceModifier::_setMenuOptionsImpl, + MenuInterfaceModifier::SetMenuOptionsImpl, MenuAttributeModifier::FontSizeImpl, MenuAttributeModifier::FontImpl, MenuAttributeModifier::FontColorImpl, @@ -4344,9 +7535,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIMenuModifierImpl; } - const GENERATED_ArkUIMenuItemModifier* GetMenuItemModifier() { + const GENERATED_ArkUIMenuItemModifier* GetMenuItemModifier() + { static const GENERATED_ArkUIMenuItemModifier ArkUIMenuItemModifierImpl { - MenuItemInterfaceModifier::_setMenuItemOptionsImpl, + MenuItemInterfaceModifier::SetMenuItemOptionsImpl, MenuItemAttributeModifier::SelectedImpl, MenuItemAttributeModifier::SelectIconImpl, MenuItemAttributeModifier::OnChangeImpl, @@ -4358,16 +7550,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIMenuItemModifierImpl; } - const GENERATED_ArkUIMenuItemGroupModifier* GetMenuItemGroupModifier() { + const GENERATED_ArkUIMenuItemGroupModifier* GetMenuItemGroupModifier() + { static const GENERATED_ArkUIMenuItemGroupModifier ArkUIMenuItemGroupModifierImpl { - MenuItemGroupInterfaceModifier::_setMenuItemGroupOptionsImpl, + MenuItemGroupInterfaceModifier::SetMenuItemGroupOptionsImpl, }; return &ArkUIMenuItemGroupModifierImpl; } - const GENERATED_ArkUINavDestinationModifier* GetNavDestinationModifier() { + const GENERATED_ArkUINavDestinationModifier* GetNavDestinationModifier() + { static const GENERATED_ArkUINavDestinationModifier ArkUINavDestinationModifierImpl { - NavDestinationInterfaceModifier::_setNavDestinationOptionsImpl, + NavDestinationInterfaceModifier::SetNavDestinationOptionsImpl, NavDestinationAttributeModifier::TitleImpl, NavDestinationAttributeModifier::HideTitleBarImpl, NavDestinationAttributeModifier::OnShownImpl, @@ -4387,20 +7581,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUINavDestinationModifierImpl; } - const GENERATED_ArkUINavRouterModifier* GetNavRouterModifier() { + const GENERATED_ArkUINavRouterModifier* GetNavRouterModifier() + { static const GENERATED_ArkUINavRouterModifier ArkUINavRouterModifierImpl { - NavRouterInterfaceModifier::_setNavRouterOptions_Impl, - NavRouterInterfaceModifier::_setNavRouterOptions_RouteInfoImpl, + NavRouterInterfaceModifier::SetNavRouterOptions0Impl, + NavRouterInterfaceModifier::SetNavRouterOptions1Impl, NavRouterAttributeModifier::OnStateChangeImpl, NavRouterAttributeModifier::ModeImpl, }; return &ArkUINavRouterModifierImpl; } - const GENERATED_ArkUINavigationModifier* GetNavigationModifier() { + const GENERATED_ArkUINavigationModifier* GetNavigationModifier() + { static const GENERATED_ArkUINavigationModifier ArkUINavigationModifierImpl { - NavigationInterfaceModifier::_setNavigationOptions_Impl, - NavigationInterfaceModifier::_setNavigationOptions_NavPathStackImpl, + NavigationInterfaceModifier::SetNavigationOptions0Impl, + NavigationInterfaceModifier::SetNavigationOptions1Impl, NavigationAttributeModifier::NavBarWidthImpl, NavigationAttributeModifier::NavBarPositionImpl, NavigationAttributeModifier::NavBarWidthRangeImpl, @@ -4428,10 +7624,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUINavigationModifierImpl; } - const GENERATED_ArkUINavigatorModifier* GetNavigatorModifier() { + const GENERATED_ArkUINavigatorModifier* GetNavigatorModifier() + { static const GENERATED_ArkUINavigatorModifier ArkUINavigatorModifierImpl { - NavigatorInterfaceModifier::_setNavigatorOptions_targetstringtypeNavigationTypeImpl, - NavigatorInterfaceModifier::_setNavigatorOptions_Impl, + NavigatorInterfaceModifier::SetNavigatorOptions0Impl, + NavigatorInterfaceModifier::SetNavigatorOptions1Impl, NavigatorAttributeModifier::ActiveImpl, NavigatorAttributeModifier::TypeImpl, NavigatorAttributeModifier::TargetImpl, @@ -4440,16 +7637,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUINavigatorModifierImpl; } - const GENERATED_ArkUINodeContainerModifier* GetNodeContainerModifier() { + const GENERATED_ArkUINodeContainerModifier* GetNodeContainerModifier() + { static const GENERATED_ArkUINodeContainerModifier ArkUINodeContainerModifierImpl { - NodeContainerInterfaceModifier::_setNodeContainerOptionsImpl, + NodeContainerInterfaceModifier::SetNodeContainerOptionsImpl, }; return &ArkUINodeContainerModifierImpl; } - const GENERATED_ArkUIPanelModifier* GetPanelModifier() { + const GENERATED_ArkUIPanelModifier* GetPanelModifier() + { static const GENERATED_ArkUIPanelModifier ArkUIPanelModifierImpl { - PanelInterfaceModifier::_setPanelOptionsImpl, + PanelInterfaceModifier::SetPanelOptionsImpl, PanelAttributeModifier::ModeImpl, PanelAttributeModifier::TypeImpl, PanelAttributeModifier::DragBarImpl, @@ -4466,26 +7665,29 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIPanelModifierImpl; } - const GENERATED_ArkUIPasteButtonModifier* GetPasteButtonModifier() { + const GENERATED_ArkUIPasteButtonModifier* GetPasteButtonModifier() + { static const GENERATED_ArkUIPasteButtonModifier ArkUIPasteButtonModifierImpl { - PasteButtonInterfaceModifier::_setPasteButtonOptions_Impl, - PasteButtonInterfaceModifier::_setPasteButtonOptions_PasteButtonOptionsImpl, + PasteButtonInterfaceModifier::SetPasteButtonOptions0Impl, + PasteButtonInterfaceModifier::SetPasteButtonOptions1Impl, PasteButtonAttributeModifier::OnClickImpl, }; return &ArkUIPasteButtonModifierImpl; } - const GENERATED_ArkUIPathModifier* GetPathModifier() { + const GENERATED_ArkUIPathModifier* GetPathModifier() + { static const GENERATED_ArkUIPathModifier ArkUIPathModifierImpl { - PathInterfaceModifier::_setPathOptionsImpl, + PathInterfaceModifier::SetPathOptionsImpl, PathAttributeModifier::CommandsImpl, }; return &ArkUIPathModifierImpl; } - const GENERATED_ArkUIPatternLockModifier* GetPatternLockModifier() { + const GENERATED_ArkUIPatternLockModifier* GetPatternLockModifier() + { static const GENERATED_ArkUIPatternLockModifier ArkUIPatternLockModifierImpl { - PatternLockInterfaceModifier::_setPatternLockOptionsImpl, + PatternLockInterfaceModifier::SetPatternLockOptionsImpl, PatternLockAttributeModifier::SideLengthImpl, PatternLockAttributeModifier::CircleRadiusImpl, PatternLockAttributeModifier::BackgroundColorImpl, @@ -4502,34 +7704,38 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIPatternLockModifierImpl; } - const GENERATED_ArkUIPluginComponentModifier* GetPluginComponentModifier() { + const GENERATED_ArkUIPluginComponentModifier* GetPluginComponentModifier() + { static const GENERATED_ArkUIPluginComponentModifier ArkUIPluginComponentModifierImpl { - PluginComponentInterfaceModifier::_setPluginComponentOptionsImpl, + PluginComponentInterfaceModifier::SetPluginComponentOptionsImpl, PluginComponentAttributeModifier::OnCompleteImpl, PluginComponentAttributeModifier::OnErrorImpl, }; return &ArkUIPluginComponentModifierImpl; } - const GENERATED_ArkUIPolygonModifier* GetPolygonModifier() { + const GENERATED_ArkUIPolygonModifier* GetPolygonModifier() + { static const GENERATED_ArkUIPolygonModifier ArkUIPolygonModifierImpl { - PolygonInterfaceModifier::_setPolygonOptionsImpl, + PolygonInterfaceModifier::SetPolygonOptionsImpl, PolygonAttributeModifier::PointsImpl, }; return &ArkUIPolygonModifierImpl; } - const GENERATED_ArkUIPolylineModifier* GetPolylineModifier() { + const GENERATED_ArkUIPolylineModifier* GetPolylineModifier() + { static const GENERATED_ArkUIPolylineModifier ArkUIPolylineModifierImpl { - PolylineInterfaceModifier::_setPolylineOptionsImpl, + PolylineInterfaceModifier::SetPolylineOptionsImpl, PolylineAttributeModifier::PointsImpl, }; return &ArkUIPolylineModifierImpl; } - const GENERATED_ArkUIQRCodeModifier* GetQRCodeModifier() { + const GENERATED_ArkUIQRCodeModifier* GetQRCodeModifier() + { static const GENERATED_ArkUIQRCodeModifier ArkUIQRCodeModifierImpl { - QRCodeInterfaceModifier::_setQRCodeOptionsImpl, + QRCodeInterfaceModifier::SetQRCodeOptionsImpl, QRCodeAttributeModifier::ColorImpl, QRCodeAttributeModifier::BackgroundColorImpl, QRCodeAttributeModifier::ContentOpacityImpl, @@ -4537,9 +7743,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIQRCodeModifierImpl; } - const GENERATED_ArkUIRadioModifier* GetRadioModifier() { + const GENERATED_ArkUIRadioModifier* GetRadioModifier() + { static const GENERATED_ArkUIRadioModifier ArkUIRadioModifierImpl { - RadioInterfaceModifier::_setRadioOptionsImpl, + RadioInterfaceModifier::SetRadioOptionsImpl, RadioAttributeModifier::CheckedImpl, RadioAttributeModifier::OnChangeImpl, RadioAttributeModifier::RadioStyleImpl, @@ -4548,9 +7755,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIRadioModifierImpl; } - const GENERATED_ArkUIRatingModifier* GetRatingModifier() { + const GENERATED_ArkUIRatingModifier* GetRatingModifier() + { static const GENERATED_ArkUIRatingModifier ArkUIRatingModifierImpl { - RatingInterfaceModifier::_setRatingOptionsImpl, + RatingInterfaceModifier::SetRatingOptionsImpl, RatingAttributeModifier::StarsImpl, RatingAttributeModifier::StepSizeImpl, RatingAttributeModifier::StarStyleImpl, @@ -4560,9 +7768,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIRatingModifierImpl; } - const GENERATED_ArkUIRectModifier* GetRectModifier() { + const GENERATED_ArkUIRectModifier* GetRectModifier() + { static const GENERATED_ArkUIRectModifier ArkUIRectModifierImpl { - RectInterfaceModifier::_setRectOptionsImpl, + RectInterfaceModifier::SetRectOptionsImpl, RectAttributeModifier::RadiusWidthImpl, RectAttributeModifier::RadiusHeightImpl, RectAttributeModifier::RadiusImpl, @@ -4570,9 +7779,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIRectModifierImpl; } - const GENERATED_ArkUIRefreshModifier* GetRefreshModifier() { + const GENERATED_ArkUIRefreshModifier* GetRefreshModifier() + { static const GENERATED_ArkUIRefreshModifier ArkUIRefreshModifierImpl { - RefreshInterfaceModifier::_setRefreshOptionsImpl, + RefreshInterfaceModifier::SetRefreshOptionsImpl, RefreshAttributeModifier::OnStateChangeImpl, RefreshAttributeModifier::OnRefreshingImpl, RefreshAttributeModifier::RefreshOffsetImpl, @@ -4583,20 +7793,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIRefreshModifierImpl; } - const GENERATED_ArkUIRelativeContainerModifier* GetRelativeContainerModifier() { + const GENERATED_ArkUIRelativeContainerModifier* GetRelativeContainerModifier() + { static const GENERATED_ArkUIRelativeContainerModifier ArkUIRelativeContainerModifierImpl { - RelativeContainerInterfaceModifier::_setRelativeContainerOptionsImpl, + RelativeContainerInterfaceModifier::SetRelativeContainerOptionsImpl, RelativeContainerAttributeModifier::GuideLineImpl, - RelativeContainerAttributeModifier::Barrier_ArrayBarrierStyleImpl, - RelativeContainerAttributeModifier::Barrier_ArrayLocalizedBarrierStyleImpl, + RelativeContainerAttributeModifier::Barrier0Impl, + RelativeContainerAttributeModifier::Barrier1Impl, }; return &ArkUIRelativeContainerModifierImpl; } - const GENERATED_ArkUIRichEditorModifier* GetRichEditorModifier() { + const GENERATED_ArkUIRichEditorModifier* GetRichEditorModifier() + { static const GENERATED_ArkUIRichEditorModifier ArkUIRichEditorModifierImpl { - RichEditorInterfaceModifier::_setRichEditorOptions_RichEditorOptionsImpl, - RichEditorInterfaceModifier::_setRichEditorOptions_RichEditorStyledStringOptionsImpl, + RichEditorInterfaceModifier::SetRichEditorOptions0Impl, + RichEditorInterfaceModifier::SetRichEditorOptions1Impl, RichEditorAttributeModifier::OnReadyImpl, RichEditorAttributeModifier::OnSelectImpl, RichEditorAttributeModifier::OnSelectionChangeImpl, @@ -4626,25 +7838,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIRichEditorModifierImpl; } - const GENERATED_ArkUIRichTextModifier* GetRichTextModifier() { + const GENERATED_ArkUIRichTextModifier* GetRichTextModifier() + { static const GENERATED_ArkUIRichTextModifier ArkUIRichTextModifierImpl { - RichTextInterfaceModifier::_setRichTextOptionsImpl, + RichTextInterfaceModifier::SetRichTextOptionsImpl, RichTextAttributeModifier::OnStartImpl, RichTextAttributeModifier::OnCompleteImpl, }; return &ArkUIRichTextModifierImpl; } - const GENERATED_ArkUIRootSceneModifier* GetRootSceneModifier() { + const GENERATED_ArkUIRootSceneModifier* GetRootSceneModifier() + { static const GENERATED_ArkUIRootSceneModifier ArkUIRootSceneModifierImpl { - RootSceneInterfaceModifier::_setRootSceneOptionsImpl, + RootSceneInterfaceModifier::SetRootSceneOptionsImpl, }; return &ArkUIRootSceneModifierImpl; } - const GENERATED_ArkUIRowModifier* GetRowModifier() { + const GENERATED_ArkUIRowModifier* GetRowModifier() + { static const GENERATED_ArkUIRowModifier ArkUIRowModifierImpl { - RowInterfaceModifier::_setRowOptionsImpl, + RowInterfaceModifier::SetRowOptionsImpl, RowAttributeModifier::AlignItemsImpl, RowAttributeModifier::JustifyContentImpl, RowAttributeModifier::PointLightImpl, @@ -4652,33 +7867,37 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIRowModifierImpl; } - const GENERATED_ArkUIRowSplitModifier* GetRowSplitModifier() { + const GENERATED_ArkUIRowSplitModifier* GetRowSplitModifier() + { static const GENERATED_ArkUIRowSplitModifier ArkUIRowSplitModifierImpl { - RowSplitInterfaceModifier::_setRowSplitOptionsImpl, + RowSplitInterfaceModifier::SetRowSplitOptionsImpl, RowSplitAttributeModifier::ResizeableImpl, }; return &ArkUIRowSplitModifierImpl; } - const GENERATED_ArkUISaveButtonModifier* GetSaveButtonModifier() { + const GENERATED_ArkUISaveButtonModifier* GetSaveButtonModifier() + { static const GENERATED_ArkUISaveButtonModifier ArkUISaveButtonModifierImpl { - SaveButtonInterfaceModifier::_setSaveButtonOptions_Impl, - SaveButtonInterfaceModifier::_setSaveButtonOptions_SaveButtonOptionsImpl, + SaveButtonInterfaceModifier::SetSaveButtonOptions0Impl, + SaveButtonInterfaceModifier::SetSaveButtonOptions1Impl, SaveButtonAttributeModifier::OnClickImpl, }; return &ArkUISaveButtonModifierImpl; } - const GENERATED_ArkUIScreenModifier* GetScreenModifier() { + const GENERATED_ArkUIScreenModifier* GetScreenModifier() + { static const GENERATED_ArkUIScreenModifier ArkUIScreenModifierImpl { - ScreenInterfaceModifier::_setScreenOptionsImpl, + ScreenInterfaceModifier::SetScreenOptionsImpl, }; return &ArkUIScreenModifierImpl; } - const GENERATED_ArkUIScrollModifier* GetScrollModifier() { + const GENERATED_ArkUIScrollModifier* GetScrollModifier() + { static const GENERATED_ArkUIScrollModifier ArkUIScrollModifierImpl { - ScrollInterfaceModifier::_setScrollOptionsImpl, + ScrollInterfaceModifier::SetScrollOptionsImpl, ScrollAttributeModifier::ScrollableImpl, ScrollAttributeModifier::OnScrollImpl, ScrollAttributeModifier::OnWillScrollImpl, @@ -4702,16 +7921,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIScrollModifierImpl; } - const GENERATED_ArkUIScrollBarModifier* GetScrollBarModifier() { + const GENERATED_ArkUIScrollBarModifier* GetScrollBarModifier() + { static const GENERATED_ArkUIScrollBarModifier ArkUIScrollBarModifierImpl { - ScrollBarInterfaceModifier::_setScrollBarOptionsImpl, + ScrollBarInterfaceModifier::SetScrollBarOptionsImpl, }; return &ArkUIScrollBarModifierImpl; } - const GENERATED_ArkUISearchModifier* GetSearchModifier() { + const GENERATED_ArkUISearchModifier* GetSearchModifier() + { static const GENERATED_ArkUISearchModifier ArkUISearchModifierImpl { - SearchInterfaceModifier::_setSearchOptionsImpl, + SearchInterfaceModifier::SetSearchOptionsImpl, SearchAttributeModifier::SearchButtonImpl, SearchAttributeModifier::FontColorImpl, SearchAttributeModifier::SearchIconImpl, @@ -4755,7 +7976,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUISearchModifierImpl; } - const GENERATED_ArkUISecurityComponentMethodModifier* GetSecurityComponentMethodModifier() { + const GENERATED_ArkUISecurityComponentMethodModifier* GetSecurityComponentMethodModifier() + { static const GENERATED_ArkUISecurityComponentMethodModifier ArkUISecurityComponentMethodModifierImpl { SecurityComponentMethodModifier::IconSizeImpl, SecurityComponentMethodModifier::LayoutDirectionImpl, @@ -4784,9 +8006,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUISecurityComponentMethodModifierImpl; } - const GENERATED_ArkUISelectModifier* GetSelectModifier() { + const GENERATED_ArkUISelectModifier* GetSelectModifier() + { static const GENERATED_ArkUISelectModifier ArkUISelectModifierImpl { - SelectInterfaceModifier::_setSelectOptionsImpl, + SelectInterfaceModifier::SetSelectOptionsImpl, SelectAttributeModifier::SelectedImpl, SelectAttributeModifier::ValueImpl, SelectAttributeModifier::FontImpl, @@ -4812,10 +8035,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUISelectModifierImpl; } - const GENERATED_ArkUIShapeModifier* GetShapeModifier() { + const GENERATED_ArkUIShapeModifier* GetShapeModifier() + { static const GENERATED_ArkUIShapeModifier ArkUIShapeModifierImpl { - ShapeInterfaceModifier::_setShapeOptions_PixelMapImpl, - ShapeInterfaceModifier::_setShapeOptions_Impl, + ShapeInterfaceModifier::SetShapeOptions0Impl, + ShapeInterfaceModifier::SetShapeOptions1Impl, ShapeAttributeModifier::ViewPortImpl, ShapeAttributeModifier::StrokeImpl, ShapeAttributeModifier::FillImpl, @@ -4833,9 +8057,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIShapeModifierImpl; } - const GENERATED_ArkUISliderModifier* GetSliderModifier() { + const GENERATED_ArkUISliderModifier* GetSliderModifier() + { static const GENERATED_ArkUISliderModifier ArkUISliderModifierImpl { - SliderInterfaceModifier::_setSliderOptionsImpl, + SliderInterfaceModifier::SetSliderOptionsImpl, SliderAttributeModifier::BlockColorImpl, SliderAttributeModifier::TrackColorImpl, SliderAttributeModifier::SelectedColorImpl, @@ -4861,7 +8086,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUISliderModifierImpl; } - const GENERATED_ArkUIBaseSpanModifier* GetBaseSpanModifier() { + const GENERATED_ArkUIBaseSpanModifier* GetBaseSpanModifier() + { static const GENERATED_ArkUIBaseSpanModifier ArkUIBaseSpanModifierImpl { BaseSpanModifier::TextBackgroundStyleImpl, BaseSpanModifier::BaselineOffsetImpl, @@ -4869,9 +8095,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIBaseSpanModifierImpl; } - const GENERATED_ArkUISpanModifier* GetSpanModifier() { + const GENERATED_ArkUISpanModifier* GetSpanModifier() + { static const GENERATED_ArkUISpanModifier ArkUISpanModifierImpl { - SpanInterfaceModifier::_setSpanOptionsImpl, + SpanInterfaceModifier::SetSpanOptionsImpl, SpanAttributeModifier::FontImpl, SpanAttributeModifier::FontColorImpl, SpanAttributeModifier::FontSizeImpl, @@ -4887,18 +8114,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUISpanModifierImpl; } - const GENERATED_ArkUIStackModifier* GetStackModifier() { + const GENERATED_ArkUIStackModifier* GetStackModifier() + { static const GENERATED_ArkUIStackModifier ArkUIStackModifierImpl { - StackInterfaceModifier::_setStackOptionsImpl, + StackInterfaceModifier::SetStackOptionsImpl, StackAttributeModifier::AlignContentImpl, StackAttributeModifier::PointLightImpl, }; return &ArkUIStackModifierImpl; } - const GENERATED_ArkUIStepperModifier* GetStepperModifier() { + const GENERATED_ArkUIStepperModifier* GetStepperModifier() + { static const GENERATED_ArkUIStepperModifier ArkUIStepperModifierImpl { - StepperInterfaceModifier::_setStepperOptionsImpl, + StepperInterfaceModifier::SetStepperOptionsImpl, StepperAttributeModifier::OnFinishImpl, StepperAttributeModifier::OnSkipImpl, StepperAttributeModifier::OnChangeImpl, @@ -4908,9 +8137,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIStepperModifierImpl; } - const GENERATED_ArkUIStepperItemModifier* GetStepperItemModifier() { + const GENERATED_ArkUIStepperItemModifier* GetStepperItemModifier() + { static const GENERATED_ArkUIStepperItemModifier ArkUIStepperItemModifierImpl { - StepperItemInterfaceModifier::_setStepperItemOptionsImpl, + StepperItemInterfaceModifier::SetStepperItemOptionsImpl, StepperItemAttributeModifier::PrevLabelImpl, StepperItemAttributeModifier::NextLabelImpl, StepperItemAttributeModifier::StatusImpl, @@ -4918,9 +8148,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIStepperItemModifierImpl; } - const GENERATED_ArkUISwiperModifier* GetSwiperModifier() { + const GENERATED_ArkUISwiperModifier* GetSwiperModifier() + { static const GENERATED_ArkUISwiperModifier ArkUISwiperModifierImpl { - SwiperInterfaceModifier::_setSwiperOptionsImpl, + SwiperInterfaceModifier::SetSwiperOptionsImpl, SwiperAttributeModifier::IndexImpl, SwiperAttributeModifier::AutoPlayImpl, SwiperAttributeModifier::IntervalImpl, @@ -4951,23 +8182,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUISwiperModifierImpl; } - const GENERATED_ArkUISymbolGlyphModifier* GetSymbolGlyphModifier() { + const GENERATED_ArkUISymbolGlyphModifier* GetSymbolGlyphModifier() + { static const GENERATED_ArkUISymbolGlyphModifier ArkUISymbolGlyphModifierImpl { - SymbolGlyphInterfaceModifier::_setSymbolGlyphOptionsImpl, + SymbolGlyphInterfaceModifier::SetSymbolGlyphOptionsImpl, SymbolGlyphAttributeModifier::FontSizeImpl, SymbolGlyphAttributeModifier::FontColorImpl, SymbolGlyphAttributeModifier::FontWeightImpl, SymbolGlyphAttributeModifier::EffectStrategyImpl, SymbolGlyphAttributeModifier::RenderingStrategyImpl, - SymbolGlyphAttributeModifier::SymbolEffect_SymbolEffect_booleanImpl, - SymbolGlyphAttributeModifier::SymbolEffect_SymbolEffect_numberImpl, + SymbolGlyphAttributeModifier::SymbolEffect0Impl, + SymbolGlyphAttributeModifier::SymbolEffect1Impl, }; return &ArkUISymbolGlyphModifierImpl; } - const GENERATED_ArkUISymbolSpanModifier* GetSymbolSpanModifier() { + const GENERATED_ArkUISymbolSpanModifier* GetSymbolSpanModifier() + { static const GENERATED_ArkUISymbolSpanModifier ArkUISymbolSpanModifierImpl { - SymbolSpanInterfaceModifier::_setSymbolSpanOptionsImpl, + SymbolSpanInterfaceModifier::SetSymbolSpanOptionsImpl, SymbolSpanAttributeModifier::FontSizeImpl, SymbolSpanAttributeModifier::FontColorImpl, SymbolSpanAttributeModifier::FontWeightImpl, @@ -4977,15 +8210,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUISymbolSpanModifierImpl; } - const GENERATED_ArkUITabsModifier* GetTabsModifier() { + const GENERATED_ArkUITabsModifier* GetTabsModifier() + { static const GENERATED_ArkUITabsModifier ArkUITabsModifierImpl { - TabsInterfaceModifier::_setTabsOptionsImpl, + TabsInterfaceModifier::SetTabsOptionsImpl, TabsAttributeModifier::VerticalImpl, TabsAttributeModifier::BarPositionImpl, TabsAttributeModifier::ScrollableImpl, - TabsAttributeModifier::BarMode_BarModeFixedImpl, - TabsAttributeModifier::BarMode_BarModeScrollable_ScrollableBarModeOptionsImpl, - TabsAttributeModifier::BarMode_BarMode_ScrollableBarModeOptionsImpl, + TabsAttributeModifier::BarMode0Impl, + TabsAttributeModifier::BarMode1Impl, + TabsAttributeModifier::BarMode2Impl, TabsAttributeModifier::BarWidthImpl, TabsAttributeModifier::BarHeightImpl, TabsAttributeModifier::AnimationDurationImpl, @@ -5008,20 +8242,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUITabsModifierImpl; } - const GENERATED_ArkUITabContentModifier* GetTabContentModifier() { + const GENERATED_ArkUITabContentModifier* GetTabContentModifier() + { static const GENERATED_ArkUITabContentModifier ArkUITabContentModifierImpl { - TabContentInterfaceModifier::_setTabContentOptionsImpl, - TabContentAttributeModifier::TabBar_stringResourceCustomBuildericonstringResourcetextstringResourceImpl, - TabContentAttributeModifier::TabBar_SubTabBarStyleBottomTabBarStyleImpl, + TabContentInterfaceModifier::SetTabContentOptionsImpl, + TabContentAttributeModifier::TabBar0Impl, + TabContentAttributeModifier::TabBar1Impl, TabContentAttributeModifier::OnWillShowImpl, TabContentAttributeModifier::OnWillHideImpl, }; return &ArkUITabContentModifierImpl; } - const GENERATED_ArkUITextModifier* GetTextModifier() { + const GENERATED_ArkUITextModifier* GetTextModifier() + { static const GENERATED_ArkUITextModifier ArkUITextModifierImpl { - TextInterfaceModifier::_setTextOptionsImpl, + TextInterfaceModifier::SetTextOptionsImpl, TextAttributeModifier::FontImpl, TextAttributeModifier::FontColorImpl, TextAttributeModifier::FontSizeImpl, @@ -5065,9 +8301,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUITextModifierImpl; } - const GENERATED_ArkUITextAreaModifier* GetTextAreaModifier() { + const GENERATED_ArkUITextAreaModifier* GetTextAreaModifier() + { static const GENERATED_ArkUITextAreaModifier ArkUITextAreaModifierImpl { - TextAreaInterfaceModifier::_setTextAreaOptionsImpl, + TextAreaInterfaceModifier::SetTextAreaOptionsImpl, TextAreaAttributeModifier::PlaceholderColorImpl, TextAreaAttributeModifier::PlaceholderFontImpl, TextAreaAttributeModifier::EnterKeyTypeImpl, @@ -5123,9 +8360,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUITextAreaModifierImpl; } - const GENERATED_ArkUITextClockModifier* GetTextClockModifier() { + const GENERATED_ArkUITextClockModifier* GetTextClockModifier() + { static const GENERATED_ArkUITextClockModifier ArkUITextClockModifierImpl { - TextClockInterfaceModifier::_setTextClockOptionsImpl, + TextClockInterfaceModifier::SetTextClockOptionsImpl, TextClockAttributeModifier::FormatImpl, TextClockAttributeModifier::OnDateChangeImpl, TextClockAttributeModifier::FontColorImpl, @@ -5141,9 +8379,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUITextClockModifierImpl; } - const GENERATED_ArkUITextInputModifier* GetTextInputModifier() { + const GENERATED_ArkUITextInputModifier* GetTextInputModifier() + { static const GENERATED_ArkUITextInputModifier ArkUITextInputModifierImpl { - TextInputInterfaceModifier::_setTextInputOptionsImpl, + TextInputInterfaceModifier::SetTextInputOptionsImpl, TextInputAttributeModifier::TypeImpl, TextInputAttributeModifier::ContentTypeImpl, TextInputAttributeModifier::PlaceholderColorImpl, @@ -5211,9 +8450,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUITextInputModifierImpl; } - const GENERATED_ArkUITextPickerModifier* GetTextPickerModifier() { + const GENERATED_ArkUITextPickerModifier* GetTextPickerModifier() + { static const GENERATED_ArkUITextPickerModifier ArkUITextPickerModifierImpl { - TextPickerInterfaceModifier::_setTextPickerOptionsImpl, + TextPickerInterfaceModifier::SetTextPickerOptionsImpl, TextPickerAttributeModifier::DefaultPickerItemHeightImpl, TextPickerAttributeModifier::CanLoopImpl, TextPickerAttributeModifier::DisappearTextStyleImpl, @@ -5229,9 +8469,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUITextPickerModifierImpl; } - const GENERATED_ArkUITextTimerModifier* GetTextTimerModifier() { + const GENERATED_ArkUITextTimerModifier* GetTextTimerModifier() + { static const GENERATED_ArkUITextTimerModifier ArkUITextTimerModifierImpl { - TextTimerInterfaceModifier::_setTextTimerOptionsImpl, + TextTimerInterfaceModifier::SetTextTimerOptionsImpl, TextTimerAttributeModifier::FormatImpl, TextTimerAttributeModifier::FontColorImpl, TextTimerAttributeModifier::FontSizeImpl, @@ -5245,9 +8486,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUITextTimerModifierImpl; } - const GENERATED_ArkUITimePickerModifier* GetTimePickerModifier() { + const GENERATED_ArkUITimePickerModifier* GetTimePickerModifier() + { static const GENERATED_ArkUITimePickerModifier ArkUITimePickerModifierImpl { - TimePickerInterfaceModifier::_setTimePickerOptionsImpl, + TimePickerInterfaceModifier::SetTimePickerOptionsImpl, TimePickerAttributeModifier::UseMilitaryTimeImpl, TimePickerAttributeModifier::LoopImpl, TimePickerAttributeModifier::DisappearTextStyleImpl, @@ -5260,9 +8502,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUITimePickerModifierImpl; } - const GENERATED_ArkUIToggleModifier* GetToggleModifier() { + const GENERATED_ArkUIToggleModifier* GetToggleModifier() + { static const GENERATED_ArkUIToggleModifier ArkUIToggleModifierImpl { - ToggleInterfaceModifier::_setToggleOptionsImpl, + ToggleInterfaceModifier::SetToggleOptionsImpl, ToggleAttributeModifier::OnChangeImpl, ToggleAttributeModifier::ContentModifierImpl, ToggleAttributeModifier::SelectedColorImpl, @@ -5272,9 +8515,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIToggleModifierImpl; } - const GENERATED_ArkUIVideoModifier* GetVideoModifier() { + const GENERATED_ArkUIVideoModifier* GetVideoModifier() + { static const GENERATED_ArkUIVideoModifier ArkUIVideoModifierImpl { - VideoInterfaceModifier::_setVideoOptionsImpl, + VideoInterfaceModifier::SetVideoOptionsImpl, VideoAttributeModifier::MutedImpl, VideoAttributeModifier::AutoPlayImpl, VideoAttributeModifier::ControlsImpl, @@ -5296,9 +8540,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIVideoModifierImpl; } - const GENERATED_ArkUIWebModifier* GetWebModifier() { + const GENERATED_ArkUIWebModifier* GetWebModifier() + { static const GENERATED_ArkUIWebModifier ArkUIWebModifierImpl { - WebInterfaceModifier::_setWebOptionsImpl, + WebInterfaceModifier::SetWebOptionsImpl, WebAttributeModifier::JavaScriptAccessImpl, WebAttributeModifier::FileAccessImpl, WebAttributeModifier::OnlineImageAccessImpl, @@ -5341,9 +8586,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { WebAttributeModifier::OnRefreshAccessedHistoryImpl, WebAttributeModifier::OnUrlLoadInterceptImpl, WebAttributeModifier::OnSslErrorReceiveImpl, - WebAttributeModifier::OnRenderExited_CallbackOnRenderExitedEventImpl, + WebAttributeModifier::OnRenderExited0Impl, WebAttributeModifier::OnShowFileSelectorImpl, - WebAttributeModifier::OnRenderExited_eventdetailObjectbooleanImpl, + WebAttributeModifier::OnRenderExited1Impl, WebAttributeModifier::OnFileSelectorShowImpl, WebAttributeModifier::OnResourceLoadImpl, WebAttributeModifier::OnFullScreenExitImpl, @@ -5420,19 +8665,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIWebModifierImpl; } - const GENERATED_ArkUIWindowSceneModifier* GetWindowSceneModifier() { + const GENERATED_ArkUIWindowSceneModifier* GetWindowSceneModifier() + { static const GENERATED_ArkUIWindowSceneModifier ArkUIWindowSceneModifierImpl { - WindowSceneInterfaceModifier::_setWindowSceneOptionsImpl, + WindowSceneInterfaceModifier::SetWindowSceneOptionsImpl, WindowSceneAttributeModifier::AttractionEffectImpl, }; return &ArkUIWindowSceneModifierImpl; } - const GENERATED_ArkUIXComponentModifier* GetXComponentModifier() { + const GENERATED_ArkUIXComponentModifier* GetXComponentModifier() + { static const GENERATED_ArkUIXComponentModifier ArkUIXComponentModifierImpl { - XComponentInterfaceModifier::_setXComponentOptions_idstringtypestringlibrarynamestringcontrollerXComponentControllerImpl, - XComponentInterfaceModifier::_setXComponentOptions_idstringtypeXComponentTypelibrarynamestringcontrollerXComponentControllerImpl, - XComponentInterfaceModifier::_setXComponentOptions_XComponentOptionsImpl, + XComponentInterfaceModifier::SetXComponentOptions0Impl, + XComponentInterfaceModifier::SetXComponentOptions1Impl, + XComponentInterfaceModifier::SetXComponentOptions2Impl, XComponentAttributeModifier::OnLoadImpl, XComponentAttributeModifier::OnDestroyImpl, XComponentAttributeModifier::EnableAnalyzerImpl, @@ -5440,19 +8687,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIXComponentModifierImpl; } - const GENERATED_ArkUISideBarContainerModifier* GetSideBarContainerModifier() { + const GENERATED_ArkUISideBarContainerModifier* GetSideBarContainerModifier() + { static const GENERATED_ArkUISideBarContainerModifier ArkUISideBarContainerModifierImpl { - SideBarContainerInterfaceModifier::_setSideBarContainerOptionsImpl, + SideBarContainerInterfaceModifier::SetSideBarContainerOptionsImpl, SideBarContainerAttributeModifier::ShowSideBarImpl, SideBarContainerAttributeModifier::ControlButtonImpl, SideBarContainerAttributeModifier::ShowControlButtonImpl, SideBarContainerAttributeModifier::OnChangeImpl, - SideBarContainerAttributeModifier::SideBarWidth_numberImpl, - SideBarContainerAttributeModifier::MinSideBarWidth_numberImpl, - SideBarContainerAttributeModifier::MaxSideBarWidth_numberImpl, - SideBarContainerAttributeModifier::SideBarWidth_LengthImpl, - SideBarContainerAttributeModifier::MinSideBarWidth_LengthImpl, - SideBarContainerAttributeModifier::MaxSideBarWidth_LengthImpl, + SideBarContainerAttributeModifier::SideBarWidth0Impl, + SideBarContainerAttributeModifier::MinSideBarWidth0Impl, + SideBarContainerAttributeModifier::MaxSideBarWidth0Impl, + SideBarContainerAttributeModifier::SideBarWidth1Impl, + SideBarContainerAttributeModifier::MinSideBarWidth1Impl, + SideBarContainerAttributeModifier::MaxSideBarWidth1Impl, SideBarContainerAttributeModifier::AutoHideImpl, SideBarContainerAttributeModifier::SideBarPositionImpl, SideBarContainerAttributeModifier::DividerImpl, @@ -5461,16 +8709,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUISideBarContainerModifierImpl; } - const GENERATED_ArkUIRemoteWindowModifier* GetRemoteWindowModifier() { + const GENERATED_ArkUIRemoteWindowModifier* GetRemoteWindowModifier() + { static const GENERATED_ArkUIRemoteWindowModifier ArkUIRemoteWindowModifierImpl { - RemoteWindowInterfaceModifier::_setRemoteWindowOptionsImpl, + RemoteWindowInterfaceModifier::SetRemoteWindowOptionsImpl, }; return &ArkUIRemoteWindowModifierImpl; } - const GENERATED_ArkUIWaterFlowModifier* GetWaterFlowModifier() { + const GENERATED_ArkUIWaterFlowModifier* GetWaterFlowModifier() + { static const GENERATED_ArkUIWaterFlowModifier ArkUIWaterFlowModifierImpl { - WaterFlowInterfaceModifier::_setWaterFlowOptionsImpl, + WaterFlowInterfaceModifier::SetWaterFlowOptionsImpl, WaterFlowAttributeModifier::ColumnsTemplateImpl, WaterFlowAttributeModifier::ItemConstraintSizeImpl, WaterFlowAttributeModifier::RowsTemplateImpl, @@ -5489,9 +8739,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIWaterFlowModifierImpl; } - const GENERATED_ArkUIUIExtensionComponentModifier* GetUIExtensionComponentModifier() { + const GENERATED_ArkUIUIExtensionComponentModifier* GetUIExtensionComponentModifier() + { static const GENERATED_ArkUIUIExtensionComponentModifier ArkUIUIExtensionComponentModifierImpl { - UIExtensionComponentInterfaceModifier::_setUIExtensionComponentOptionsImpl, + UIExtensionComponentInterfaceModifier::SetUIExtensionComponentOptionsImpl, UIExtensionComponentAttributeModifier::OnRemoteReadyImpl, UIExtensionComponentAttributeModifier::OnReceiveImpl, UIExtensionComponentAttributeModifier::OnResultImpl, @@ -5502,9 +8753,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIUIExtensionComponentModifierImpl; } - const GENERATED_ArkUILinearIndicatorModifier* GetLinearIndicatorModifier() { + const GENERATED_ArkUILinearIndicatorModifier* GetLinearIndicatorModifier() + { static const GENERATED_ArkUILinearIndicatorModifier ArkUILinearIndicatorModifierImpl { - LinearIndicatorInterfaceModifier::_setLinearIndicatorOptionsImpl, + LinearIndicatorInterfaceModifier::SetLinearIndicatorOptionsImpl, LinearIndicatorAttributeModifier::IndicatorStyleImpl, LinearIndicatorAttributeModifier::IndicatorLoopImpl, LinearIndicatorAttributeModifier::OnChangeImpl, @@ -5512,7 +8764,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUILinearIndicatorModifierImpl; } - const GENERATED_ArkUINodeModifiers* GENERATED_GetArkUINodeModifiers() { + const GENERATED_ArkUINodeModifiers* GENERATED_GetArkUINodeModifiers() + { static const GENERATED_ArkUINodeModifiers modifiersImpl = { GetAbilityComponentModifier, GetAlphabetIndexerModifier, @@ -5630,1586 +8883,2600 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &modifiersImpl; } namespace DrawModifierModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void DrawBehindImpl(DrawModifierPeer* peer, const Ark_CustomObject* drawContext) { - } - void DrawContentImpl(DrawModifierPeer* peer, const Ark_CustomObject* drawContext) { - } - void DrawFrontImpl(DrawModifierPeer* peer, const Ark_CustomObject* drawContext) { - } - void InvalidateImpl(DrawModifierPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void DrawBehindImpl(DrawModifierPeer* peer, + const Ark_CustomObject* drawContext) + { + } + void DrawContentImpl(DrawModifierPeer* peer, + const Ark_CustomObject* drawContext) + { + } + void DrawFrontImpl(DrawModifierPeer* peer, + const Ark_CustomObject* drawContext) + { + } + void InvalidateImpl(DrawModifierPeer* peer) + { + } } // DrawModifierModifier + namespace ICurveModifier { + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_Int32 InterpolateImpl(ICurvePeer* peer, + const Ark_Number* fraction) + { + return 0; + } + } // ICurveModifier namespace PanGestureOptionsModifier { - Ark_NativePointer CtorImpl(const Opt_Literal_fingers_Opt_Number_direction_PanDirection_distance_Opt_Number* value) { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SetDirectionImpl(PanGestureOptionsPeer* peer, Ark_Int32 value) { - } - void SetDistanceImpl(PanGestureOptionsPeer* peer, const Ark_Number* value) { - } - void SetFingersImpl(PanGestureOptionsPeer* peer, const Ark_Number* value) { - } - Ark_NativePointer GetDirectionImpl(PanGestureOptionsPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl(const Opt_Literal_Opt_Number_fingers_distance_Opt_PanDirection_direction* value) + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SetDirectionImpl(PanGestureOptionsPeer* peer, + Ark_Int32 value) + { + } + void SetDistanceImpl(PanGestureOptionsPeer* peer, + const Ark_Number* value) + { + } + void SetFingersImpl(PanGestureOptionsPeer* peer, + const Ark_Number* value) + { + } + Ark_NativePointer GetDirectionImpl(PanGestureOptionsPeer* peer) + { + return 0; + } } // PanGestureOptionsModifier namespace ProgressMaskModifier { - Ark_NativePointer CtorImpl(const Ark_Number* value, const Ark_Number* total, const ResourceColor* color) { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void UpdateProgressImpl(ProgressMaskPeer* peer, const Ark_Number* value) { - } - void UpdateColorImpl(ProgressMaskPeer* peer, const ResourceColor* value) { - } - void EnableBreathingAnimationImpl(ProgressMaskPeer* peer, Ark_Boolean value) { - } + Ark_NativePointer CtorImpl(const Ark_Number* value, + const Ark_Number* total, + const ResourceColor* color) + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void UpdateProgressImpl(ProgressMaskPeer* peer, + const Ark_Number* value) + { + } + void UpdateColorImpl(ProgressMaskPeer* peer, + const ResourceColor* value) + { + } + void EnableBreathingAnimationImpl(ProgressMaskPeer* peer, + Ark_Boolean value) + { + } } // ProgressMaskModifier namespace AttributeModifierModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ApplyNormalAttributeImpl(AttributeModifierPeer* peer, const Ark_CustomObject* instance) { - } - void ApplyPressedAttributeImpl(AttributeModifierPeer* peer, const Ark_CustomObject* instance) { - } - void ApplyFocusedAttributeImpl(AttributeModifierPeer* peer, const Ark_CustomObject* instance) { - } - void ApplyDisabledAttributeImpl(AttributeModifierPeer* peer, const Ark_CustomObject* instance) { - } - void ApplySelectedAttributeImpl(AttributeModifierPeer* peer, const Ark_CustomObject* instance) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ApplyNormalAttributeImpl(AttributeModifierPeer* peer, + const Ark_CustomObject* instance) + { + } + void ApplyPressedAttributeImpl(AttributeModifierPeer* peer, + const Ark_CustomObject* instance) + { + } + void ApplyFocusedAttributeImpl(AttributeModifierPeer* peer, + const Ark_CustomObject* instance) + { + } + void ApplyDisabledAttributeImpl(AttributeModifierPeer* peer, + const Ark_CustomObject* instance) + { + } + void ApplySelectedAttributeImpl(AttributeModifierPeer* peer, + const Ark_CustomObject* instance) + { + } } // AttributeModifierModifier namespace GestureModifierModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ApplyGestureImpl(GestureModifierPeer* peer, const Ark_UIGestureEvent* event) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ApplyGestureImpl(GestureModifierPeer* peer, + const Ark_UIGestureEvent* event) + { + } } // GestureModifierModifier namespace GestureRecognizerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetTagImpl(GestureRecognizerPeer* peer) { - } - Ark_NativePointer GetTypeImpl(GestureRecognizerPeer* peer) { - return 0; - } - Ark_Boolean IsBuiltInImpl(GestureRecognizerPeer* peer) { - return 0; - } - void SetEnabledImpl(GestureRecognizerPeer* peer, Ark_Boolean isEnabled) { - } - Ark_Boolean IsEnabledImpl(GestureRecognizerPeer* peer) { - return 0; - } - Ark_NativePointer GetStateImpl(GestureRecognizerPeer* peer) { - return 0; - } - Ark_NativePointer GetEventTargetInfoImpl(GestureRecognizerPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetTagImpl(GestureRecognizerPeer* peer) + { + } + Ark_NativePointer GetTypeImpl(GestureRecognizerPeer* peer) + { + return 0; + } + Ark_Boolean IsBuiltInImpl(GestureRecognizerPeer* peer) + { + return 0; + } + void SetEnabledImpl(GestureRecognizerPeer* peer, + Ark_Boolean isEnabled) + { + } + Ark_Boolean IsEnabledImpl(GestureRecognizerPeer* peer) + { + return 0; + } + Ark_NativePointer GetStateImpl(GestureRecognizerPeer* peer) + { + return 0; + } + Ark_NativePointer GetEventTargetInfoImpl(GestureRecognizerPeer* peer) + { + return 0; + } } // GestureRecognizerModifier namespace EventTargetInfoModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetIdImpl(EventTargetInfoPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetIdImpl(EventTargetInfoPeer* peer) + { + } } // EventTargetInfoModifier namespace ContentModifierModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_NativePointer ApplyContentImpl(ContentModifierPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_NativePointer ApplyContentImpl(ContentModifierPeer* peer) + { + return 0; + } } // ContentModifierModifier namespace CalendarControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void BackToTodayImpl(CalendarControllerPeer* peer) { - } - void GoToImpl(CalendarControllerPeer* peer, const Literal_year_Number_month_Number_day_Number* value) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void BackToTodayImpl(CalendarControllerPeer* peer) + { + } + void GoToImpl(CalendarControllerPeer* peer, + const Literal_Number_year_month_day* value) + { + } } // CalendarControllerModifier namespace CanvasRenderingContext2DModifier { - Ark_NativePointer CtorImpl(const Opt_RenderingContextSettings* settings) { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ToDataURLImpl(CanvasRenderingContext2DPeer* peer, const Opt_String* type, const Opt_CustomObject* quality) { - } - Ark_NativePointer StartImageAnalyzerImpl(CanvasRenderingContext2DPeer* peer, const Ark_ImageAnalyzerConfig* config) { - return 0; - } - void StopImageAnalyzerImpl(CanvasRenderingContext2DPeer* peer) { - } - Ark_Int32 GetHeightImpl(CanvasRenderingContext2DPeer* peer) { - return 0; - } - Ark_Int32 GetWidthImpl(CanvasRenderingContext2DPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl(const Opt_RenderingContextSettings* settings) + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ToDataURLImpl(CanvasRenderingContext2DPeer* peer, + const Opt_String* type, + const Opt_CustomObject* quality) + { + } + Ark_NativePointer StartImageAnalyzerImpl(CanvasRenderingContext2DPeer* peer, + const Ark_ImageAnalyzerConfig* config) + { + return 0; + } + void StopImageAnalyzerImpl(CanvasRenderingContext2DPeer* peer) + { + } + Ark_Int32 GetHeightImpl(CanvasRenderingContext2DPeer* peer) + { + return 0; + } + Ark_Int32 GetWidthImpl(CanvasRenderingContext2DPeer* peer) + { + return 0; + } } // CanvasRenderingContext2DModifier namespace CanvasRendererModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void DrawImage_ImageBitmapPixelMap_number_numberImpl(CanvasRendererPeer* peer, const Union_ImageBitmap_PixelMap* image, const Ark_Number* dx, const Ark_Number* dy) { - } - void DrawImage_ImageBitmapPixelMap_number_number_number_numberImpl(CanvasRendererPeer* peer, const Union_ImageBitmap_PixelMap* image, const Ark_Number* dx, const Ark_Number* dy, const Ark_Number* dw, const Ark_Number* dh) { - } - void DrawImage_ImageBitmapPixelMap_number_number_number_number_number_number_number_numberImpl(CanvasRendererPeer* peer, const Union_ImageBitmap_PixelMap* image, const Ark_Number* sx, const Ark_Number* sy, const Ark_Number* sw, const Ark_Number* sh, const Ark_Number* dx, const Ark_Number* dy, const Ark_Number* dw, const Ark_Number* dh) { - } - void BeginPathImpl(CanvasRendererPeer* peer) { - } - void Clip_CanvasFillRuleImpl(CanvasRendererPeer* peer, const Opt_CanvasFillRule* fillRule) { - } - void Clip_PathD_CanvasFillRuleImpl(CanvasRendererPeer* peer, const Ark_Materialized* path, const Opt_CanvasFillRule* fillRule) { - } - void Fill_CanvasFillRuleImpl(CanvasRendererPeer* peer, const Opt_CanvasFillRule* fillRule) { - } - void Fill_PathD_CanvasFillRuleImpl(CanvasRendererPeer* peer, const Ark_Materialized* path, const Opt_CanvasFillRule* fillRule) { - } - void Stroke_Impl(CanvasRendererPeer* peer) { - } - void Stroke_PathDImpl(CanvasRendererPeer* peer, const Ark_Materialized* path) { - } - Ark_NativePointer CreateLinearGradientImpl(CanvasRendererPeer* peer, const Ark_Number* x0, const Ark_Number* y0, const Ark_Number* x1, const Ark_Number* y1) { - return 0; - } - Ark_NativePointer CreatePatternImpl(CanvasRendererPeer* peer, const Ark_Materialized* image, const Union_String_Ark_Undefined* repetition) { - return 0; - } - Ark_NativePointer CreateRadialGradientImpl(CanvasRendererPeer* peer, const Ark_Number* x0, const Ark_Number* y0, const Ark_Number* r0, const Ark_Number* x1, const Ark_Number* y1, const Ark_Number* r1) { - return 0; - } - Ark_NativePointer CreateConicGradientImpl(CanvasRendererPeer* peer, const Ark_Number* startAngle, const Ark_Number* x, const Ark_Number* y) { - return 0; - } - Ark_NativePointer CreateImageData_number_numberImpl(CanvasRendererPeer* peer, const Ark_Number* sw, const Ark_Number* sh) { - return 0; - } - Ark_NativePointer CreateImageData_ImageDataImpl(CanvasRendererPeer* peer, const Ark_ImageData* imagedata) { - return 0; - } - Ark_NativePointer GetImageDataImpl(CanvasRendererPeer* peer, const Ark_Number* sx, const Ark_Number* sy, const Ark_Number* sw, const Ark_Number* sh) { - return 0; - } - Ark_NativePointer GetPixelMapImpl(CanvasRendererPeer* peer, const Ark_Number* sx, const Ark_Number* sy, const Ark_Number* sw, const Ark_Number* sh) { - return 0; - } - void PutImageData_ImageData_numberstring_numberstringImpl(CanvasRendererPeer* peer, const Ark_ImageData* imagedata, const Union_Number_String* dx, const Union_Number_String* dy) { - } - void PutImageData_ImageData_numberstring_numberstring_numberstring_numberstring_numberstring_numberstringImpl(CanvasRendererPeer* peer, const Ark_ImageData* imagedata, const Union_Number_String* dx, const Union_Number_String* dy, const Union_Number_String* dirtyX, const Union_Number_String* dirtyY, const Union_Number_String* dirtyWidth, const Union_Number_String* dirtyHeight) { - } - void GetLineDashImpl(CanvasRendererPeer* peer) { - } - void SetLineDashImpl(CanvasRendererPeer* peer, const Array_Number* segments) { - } - void ClearRectImpl(CanvasRendererPeer* peer, const Ark_Number* x, const Ark_Number* y, const Ark_Number* w, const Ark_Number* h) { - } - void FillRectImpl(CanvasRendererPeer* peer, const Ark_Number* x, const Ark_Number* y, const Ark_Number* w, const Ark_Number* h) { - } - void StrokeRectImpl(CanvasRendererPeer* peer, const Ark_Number* x, const Ark_Number* y, const Ark_Number* w, const Ark_Number* h) { - } - void RestoreImpl(CanvasRendererPeer* peer) { - } - void SaveImpl(CanvasRendererPeer* peer) { - } - void FillTextImpl(CanvasRendererPeer* peer, const Ark_String* text, const Ark_Number* x, const Ark_Number* y, const Opt_Number* maxWidth) { - } - Ark_NativePointer MeasureTextImpl(CanvasRendererPeer* peer, const Ark_String* text) { - return 0; - } - void StrokeTextImpl(CanvasRendererPeer* peer, const Ark_String* text, const Ark_Number* x, const Ark_Number* y, const Opt_Number* maxWidth) { - } - Ark_NativePointer GetTransformImpl(CanvasRendererPeer* peer) { - return 0; - } - void ResetTransformImpl(CanvasRendererPeer* peer) { - } - void RotateImpl(CanvasRendererPeer* peer, const Ark_Number* angle) { - } - void ScaleImpl(CanvasRendererPeer* peer, const Ark_Number* x, const Ark_Number* y) { - } - void SetTransform_number_number_number_number_number_numberImpl(CanvasRendererPeer* peer, const Ark_Number* a, const Ark_Number* b, const Ark_Number* c, const Ark_Number* d, const Ark_Number* e, const Ark_Number* f) { - } - void SetTransform_MatrixDImpl(CanvasRendererPeer* peer, const Opt_Matrix2D* transform) { - } - void TransformImpl(CanvasRendererPeer* peer, const Ark_Number* a, const Ark_Number* b, const Ark_Number* c, const Ark_Number* d, const Ark_Number* e, const Ark_Number* f) { - } - void TranslateImpl(CanvasRendererPeer* peer, const Ark_Number* x, const Ark_Number* y) { - } - void SetPixelMapImpl(CanvasRendererPeer* peer, const Opt_PixelMap* value) { - } - void TransferFromImageBitmapImpl(CanvasRendererPeer* peer, const Ark_Materialized* bitmap) { - } - void SaveLayerImpl(CanvasRendererPeer* peer) { - } - void RestoreLayerImpl(CanvasRendererPeer* peer) { - } - void ResetImpl(CanvasRendererPeer* peer) { - } - Ark_Int32 GetGlobalAlphaImpl(CanvasRendererPeer* peer) { - return 0; - } - void SetGlobalAlphaImpl(CanvasRendererPeer* peer, const Ark_Number* globalAlpha) { - } - void GetGlobalCompositeOperationImpl(CanvasRendererPeer* peer) { - } - void SetGlobalCompositeOperationImpl(CanvasRendererPeer* peer, const Ark_String* globalCompositeOperation) { - } - void SetFillStyleImpl(CanvasRendererPeer* peer, const Union_String_Number_CanvasGradient_CanvasPattern* fillStyle) { - } - void SetStrokeStyleImpl(CanvasRendererPeer* peer, const Union_String_Number_CanvasGradient_CanvasPattern* strokeStyle) { - } - void GetFilterImpl(CanvasRendererPeer* peer) { - } - void SetFilterImpl(CanvasRendererPeer* peer, const Ark_String* filter) { - } - Ark_Boolean GetImageSmoothingEnabledImpl(CanvasRendererPeer* peer) { - return 0; - } - void SetImageSmoothingEnabledImpl(CanvasRendererPeer* peer, Ark_Boolean imageSmoothingEnabled) { - } - void SetImageSmoothingQualityImpl(CanvasRendererPeer* peer, const ImageSmoothingQuality* imageSmoothingQuality) { - } - void SetLineCapImpl(CanvasRendererPeer* peer, const CanvasLineCap* lineCap) { - } - Ark_Int32 GetLineDashOffsetImpl(CanvasRendererPeer* peer) { - return 0; - } - void SetLineDashOffsetImpl(CanvasRendererPeer* peer, const Ark_Number* lineDashOffset) { - } - void SetLineJoinImpl(CanvasRendererPeer* peer, const CanvasLineJoin* lineJoin) { - } - Ark_Int32 GetLineWidthImpl(CanvasRendererPeer* peer) { - return 0; - } - void SetLineWidthImpl(CanvasRendererPeer* peer, const Ark_Number* lineWidth) { - } - Ark_Int32 GetMiterLimitImpl(CanvasRendererPeer* peer) { - return 0; - } - void SetMiterLimitImpl(CanvasRendererPeer* peer, const Ark_Number* miterLimit) { - } - Ark_Int32 GetShadowBlurImpl(CanvasRendererPeer* peer) { - return 0; - } - void SetShadowBlurImpl(CanvasRendererPeer* peer, const Ark_Number* shadowBlur) { - } - void GetShadowColorImpl(CanvasRendererPeer* peer) { - } - void SetShadowColorImpl(CanvasRendererPeer* peer, const Ark_String* shadowColor) { - } - Ark_Int32 GetShadowOffsetXImpl(CanvasRendererPeer* peer) { - return 0; - } - void SetShadowOffsetXImpl(CanvasRendererPeer* peer, const Ark_Number* shadowOffsetX) { - } - Ark_Int32 GetShadowOffsetYImpl(CanvasRendererPeer* peer) { - return 0; - } - void SetShadowOffsetYImpl(CanvasRendererPeer* peer, const Ark_Number* shadowOffsetY) { - } - void SetDirectionImpl(CanvasRendererPeer* peer, const CanvasDirection* direction) { - } - void GetFontImpl(CanvasRendererPeer* peer) { - } - void SetFontImpl(CanvasRendererPeer* peer, const Ark_String* font) { - } - void SetTextAlignImpl(CanvasRendererPeer* peer, const CanvasTextAlign* textAlign) { - } - void SetTextBaselineImpl(CanvasRendererPeer* peer, const CanvasTextBaseline* textBaseline) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void DrawImage0Impl(CanvasRendererPeer* peer, + const Union_ImageBitmap_PixelMap* image, + const Ark_Number* dx, + const Ark_Number* dy) + { + } + void DrawImage1Impl(CanvasRendererPeer* peer, + const Union_ImageBitmap_PixelMap* image, + const Ark_Number* dx, + const Ark_Number* dy, + const Ark_Number* dw, + const Ark_Number* dh) + { + } + void DrawImage2Impl(CanvasRendererPeer* peer, + const Union_ImageBitmap_PixelMap* image, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* sw, + const Ark_Number* sh, + const Ark_Number* dx, + const Ark_Number* dy, + const Ark_Number* dw, + const Ark_Number* dh) + { + } + void BeginPathImpl(CanvasRendererPeer* peer) + { + } + void Clip0Impl(CanvasRendererPeer* peer, + const Opt_CanvasFillRule* fillRule) + { + } + void Clip1Impl(CanvasRendererPeer* peer, + const Ark_Materialized* path, + const Opt_CanvasFillRule* fillRule) + { + } + void Fill0Impl(CanvasRendererPeer* peer, + const Opt_CanvasFillRule* fillRule) + { + } + void Fill1Impl(CanvasRendererPeer* peer, + const Ark_Materialized* path, + const Opt_CanvasFillRule* fillRule) + { + } + void Stroke0Impl(CanvasRendererPeer* peer) + { + } + void Stroke1Impl(CanvasRendererPeer* peer, + const Ark_Materialized* path) + { + } + Ark_NativePointer CreateLinearGradientImpl(CanvasRendererPeer* peer, + const Ark_Number* x0, + const Ark_Number* y0, + const Ark_Number* x1, + const Ark_Number* y1) + { + return 0; + } + Ark_NativePointer CreatePatternImpl(CanvasRendererPeer* peer, + const Ark_Materialized* image, + const Union_String_Ark_Undefined* repetition) + { + return 0; + } + Ark_NativePointer CreateRadialGradientImpl(CanvasRendererPeer* peer, + const Ark_Number* x0, + const Ark_Number* y0, + const Ark_Number* r0, + const Ark_Number* x1, + const Ark_Number* y1, + const Ark_Number* r1) + { + return 0; + } + Ark_NativePointer CreateConicGradientImpl(CanvasRendererPeer* peer, + const Ark_Number* startAngle, + const Ark_Number* x, + const Ark_Number* y) + { + return 0; + } + Ark_NativePointer CreateImageData0Impl(CanvasRendererPeer* peer, + const Ark_Number* sw, + const Ark_Number* sh) + { + return 0; + } + Ark_NativePointer CreateImageData1Impl(CanvasRendererPeer* peer, + const Ark_ImageData* imagedata) + { + return 0; + } + Ark_NativePointer GetImageDataImpl(CanvasRendererPeer* peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* sw, + const Ark_Number* sh) + { + return 0; + } + Ark_NativePointer GetPixelMapImpl(CanvasRendererPeer* peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* sw, + const Ark_Number* sh) + { + return 0; + } + void PutImageData0Impl(CanvasRendererPeer* peer, + const Ark_ImageData* imagedata, + const Union_Number_String* dx, + const Union_Number_String* dy) + { + } + void PutImageData1Impl(CanvasRendererPeer* peer, + const Ark_ImageData* imagedata, + const Union_Number_String* dx, + const Union_Number_String* dy, + const Union_Number_String* dirtyX, + const Union_Number_String* dirtyY, + const Union_Number_String* dirtyWidth, + const Union_Number_String* dirtyHeight) + { + } + void GetLineDashImpl(CanvasRendererPeer* peer) + { + } + void SetLineDashImpl(CanvasRendererPeer* peer, + const Array_Number* segments) + { + } + void ClearRectImpl(CanvasRendererPeer* peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) + { + } + void FillRectImpl(CanvasRendererPeer* peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) + { + } + void StrokeRectImpl(CanvasRendererPeer* peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) + { + } + void RestoreImpl(CanvasRendererPeer* peer) + { + } + void SaveImpl(CanvasRendererPeer* peer) + { + } + void FillTextImpl(CanvasRendererPeer* peer, + const Ark_String* text, + const Ark_Number* x, + const Ark_Number* y, + const Opt_Number* maxWidth) + { + } + Ark_NativePointer MeasureTextImpl(CanvasRendererPeer* peer, + const Ark_String* text) + { + return 0; + } + void StrokeTextImpl(CanvasRendererPeer* peer, + const Ark_String* text, + const Ark_Number* x, + const Ark_Number* y, + const Opt_Number* maxWidth) + { + } + Ark_NativePointer GetTransformImpl(CanvasRendererPeer* peer) + { + return 0; + } + void ResetTransformImpl(CanvasRendererPeer* peer) + { + } + void RotateImpl(CanvasRendererPeer* peer, + const Ark_Number* angle) + { + } + void ScaleImpl(CanvasRendererPeer* peer, + const Ark_Number* x, + const Ark_Number* y) + { + } + void SetTransform0Impl(CanvasRendererPeer* peer, + const Ark_Number* a, + const Ark_Number* b, + const Ark_Number* c, + const Ark_Number* d, + const Ark_Number* e, + const Ark_Number* f) + { + } + void SetTransform1Impl(CanvasRendererPeer* peer, + const Opt_Matrix2D* transform) + { + } + void TransformImpl(CanvasRendererPeer* peer, + const Ark_Number* a, + const Ark_Number* b, + const Ark_Number* c, + const Ark_Number* d, + const Ark_Number* e, + const Ark_Number* f) + { + } + void TranslateImpl(CanvasRendererPeer* peer, + const Ark_Number* x, + const Ark_Number* y) + { + } + void SetPixelMapImpl(CanvasRendererPeer* peer, + const Opt_PixelMap* value) + { + } + void TransferFromImageBitmapImpl(CanvasRendererPeer* peer, + const Ark_Materialized* bitmap) + { + } + void SaveLayerImpl(CanvasRendererPeer* peer) + { + } + void RestoreLayerImpl(CanvasRendererPeer* peer) + { + } + void ResetImpl(CanvasRendererPeer* peer) + { + } + Ark_Int32 GetGlobalAlphaImpl(CanvasRendererPeer* peer) + { + return 0; + } + void SetGlobalAlphaImpl(CanvasRendererPeer* peer, + const Ark_Number* globalAlpha) + { + } + void GetGlobalCompositeOperationImpl(CanvasRendererPeer* peer) + { + } + void SetGlobalCompositeOperationImpl(CanvasRendererPeer* peer, + const Ark_String* globalCompositeOperation) + { + } + void SetFillStyleImpl(CanvasRendererPeer* peer, + const Union_String_Number_CanvasGradient_CanvasPattern* fillStyle) + { + } + void SetStrokeStyleImpl(CanvasRendererPeer* peer, + const Union_String_Number_CanvasGradient_CanvasPattern* strokeStyle) + { + } + void GetFilterImpl(CanvasRendererPeer* peer) + { + } + void SetFilterImpl(CanvasRendererPeer* peer, + const Ark_String* filter) + { + } + Ark_Boolean GetImageSmoothingEnabledImpl(CanvasRendererPeer* peer) + { + return 0; + } + void SetImageSmoothingEnabledImpl(CanvasRendererPeer* peer, + Ark_Boolean imageSmoothingEnabled) + { + } + void SetImageSmoothingQualityImpl(CanvasRendererPeer* peer, + const ImageSmoothingQuality* imageSmoothingQuality) + { + } + void SetLineCapImpl(CanvasRendererPeer* peer, + const CanvasLineCap* lineCap) + { + } + Ark_Int32 GetLineDashOffsetImpl(CanvasRendererPeer* peer) + { + return 0; + } + void SetLineDashOffsetImpl(CanvasRendererPeer* peer, + const Ark_Number* lineDashOffset) + { + } + void SetLineJoinImpl(CanvasRendererPeer* peer, + const CanvasLineJoin* lineJoin) + { + } + Ark_Int32 GetLineWidthImpl(CanvasRendererPeer* peer) + { + return 0; + } + void SetLineWidthImpl(CanvasRendererPeer* peer, + const Ark_Number* lineWidth) + { + } + Ark_Int32 GetMiterLimitImpl(CanvasRendererPeer* peer) + { + return 0; + } + void SetMiterLimitImpl(CanvasRendererPeer* peer, + const Ark_Number* miterLimit) + { + } + Ark_Int32 GetShadowBlurImpl(CanvasRendererPeer* peer) + { + return 0; + } + void SetShadowBlurImpl(CanvasRendererPeer* peer, + const Ark_Number* shadowBlur) + { + } + void GetShadowColorImpl(CanvasRendererPeer* peer) + { + } + void SetShadowColorImpl(CanvasRendererPeer* peer, + const Ark_String* shadowColor) + { + } + Ark_Int32 GetShadowOffsetXImpl(CanvasRendererPeer* peer) + { + return 0; + } + void SetShadowOffsetXImpl(CanvasRendererPeer* peer, + const Ark_Number* shadowOffsetX) + { + } + Ark_Int32 GetShadowOffsetYImpl(CanvasRendererPeer* peer) + { + return 0; + } + void SetShadowOffsetYImpl(CanvasRendererPeer* peer, + const Ark_Number* shadowOffsetY) + { + } + void SetDirectionImpl(CanvasRendererPeer* peer, + const CanvasDirection* direction) + { + } + void GetFontImpl(CanvasRendererPeer* peer) + { + } + void SetFontImpl(CanvasRendererPeer* peer, + const Ark_String* font) + { + } + void SetTextAlignImpl(CanvasRendererPeer* peer, + const CanvasTextAlign* textAlign) + { + } + void SetTextBaselineImpl(CanvasRendererPeer* peer, + const CanvasTextBaseline* textBaseline) + { + } } // CanvasRendererModifier namespace CanvasPathModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ArcImpl(CanvasPathPeer* peer, const Ark_Number* x, const Ark_Number* y, const Ark_Number* radius, const Ark_Number* startAngle, const Ark_Number* endAngle, const Opt_Boolean* counterclockwise) { - } - void ArcToImpl(CanvasPathPeer* peer, const Ark_Number* x1, const Ark_Number* y1, const Ark_Number* x2, const Ark_Number* y2, const Ark_Number* radius) { - } - void BezierCurveToImpl(CanvasPathPeer* peer, const Ark_Number* cp1x, const Ark_Number* cp1y, const Ark_Number* cp2x, const Ark_Number* cp2y, const Ark_Number* x, const Ark_Number* y) { - } - void ClosePathImpl(CanvasPathPeer* peer) { - } - void EllipseImpl(CanvasPathPeer* peer, const Ark_Number* x, const Ark_Number* y, const Ark_Number* radiusX, const Ark_Number* radiusY, const Ark_Number* rotation, const Ark_Number* startAngle, const Ark_Number* endAngle, const Opt_Boolean* counterclockwise) { - } - void LineToImpl(CanvasPathPeer* peer, const Ark_Number* x, const Ark_Number* y) { - } - void MoveToImpl(CanvasPathPeer* peer, const Ark_Number* x, const Ark_Number* y) { - } - void QuadraticCurveToImpl(CanvasPathPeer* peer, const Ark_Number* cpx, const Ark_Number* cpy, const Ark_Number* x, const Ark_Number* y) { - } - void RectImpl(CanvasPathPeer* peer, const Ark_Number* x, const Ark_Number* y, const Ark_Number* w, const Ark_Number* h) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ArcImpl(CanvasPathPeer* peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radius, + const Ark_Number* startAngle, + const Ark_Number* endAngle, + const Opt_Boolean* counterclockwise) + { + } + void ArcToImpl(CanvasPathPeer* peer, + const Ark_Number* x1, + const Ark_Number* y1, + const Ark_Number* x2, + const Ark_Number* y2, + const Ark_Number* radius) + { + } + void BezierCurveToImpl(CanvasPathPeer* peer, + const Ark_Number* cp1x, + const Ark_Number* cp1y, + const Ark_Number* cp2x, + const Ark_Number* cp2y, + const Ark_Number* x, + const Ark_Number* y) + { + } + void ClosePathImpl(CanvasPathPeer* peer) + { + } + void EllipseImpl(CanvasPathPeer* peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radiusX, + const Ark_Number* radiusY, + const Ark_Number* rotation, + const Ark_Number* startAngle, + const Ark_Number* endAngle, + const Opt_Boolean* counterclockwise) + { + } + void LineToImpl(CanvasPathPeer* peer, + const Ark_Number* x, + const Ark_Number* y) + { + } + void MoveToImpl(CanvasPathPeer* peer, + const Ark_Number* x, + const Ark_Number* y) + { + } + void QuadraticCurveToImpl(CanvasPathPeer* peer, + const Ark_Number* cpx, + const Ark_Number* cpy, + const Ark_Number* x, + const Ark_Number* y) + { + } + void RectImpl(CanvasPathPeer* peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) + { + } } // CanvasPathModifier namespace ImageBitmapModifier { - Ark_NativePointer CtorImpl(const Ark_String* src) { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void CloseImpl(ImageBitmapPeer* peer) { - } - Ark_Int32 GetHeightImpl(ImageBitmapPeer* peer) { - return 0; - } - Ark_Int32 GetWidthImpl(ImageBitmapPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl(const Ark_String* src) + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void CloseImpl(ImageBitmapPeer* peer) + { + } + Ark_Int32 GetHeightImpl(ImageBitmapPeer* peer) + { + return 0; + } + Ark_Int32 GetWidthImpl(ImageBitmapPeer* peer) + { + return 0; + } } // ImageBitmapModifier namespace Path2DModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void AddPathImpl(Path2DPeer* peer, const Ark_Materialized* path, const Opt_Matrix2D* transform) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void AddPathImpl(Path2DPeer* peer, + const Ark_Materialized* path, + const Opt_Matrix2D* transform) + { + } } // Path2DModifier namespace Matrix2DModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_NativePointer IdentityImpl(Matrix2DPeer* peer) { - return 0; - } - Ark_NativePointer InvertImpl(Matrix2DPeer* peer) { - return 0; - } - Ark_NativePointer MultiplyImpl(Matrix2DPeer* peer, const Opt_Matrix2D* other) { - return 0; - } - Ark_NativePointer Rotate_number_numberImpl(Matrix2DPeer* peer, const Opt_Number* rx, const Opt_Number* ry) { - return 0; - } - Ark_NativePointer Rotate_number_number_numberImpl(Matrix2DPeer* peer, const Ark_Number* degree, const Opt_Number* rx, const Opt_Number* ry) { - return 0; - } - Ark_NativePointer TranslateImpl(Matrix2DPeer* peer, const Opt_Number* tx, const Opt_Number* ty) { - return 0; - } - Ark_NativePointer ScaleImpl(Matrix2DPeer* peer, const Opt_Number* sx, const Opt_Number* sy) { - return 0; - } - Ark_Int32 GetScaleXImpl(Matrix2DPeer* peer) { - return 0; - } - void SetScaleXImpl(Matrix2DPeer* peer, const Ark_Number* scaleX) { - } - Ark_Int32 GetRotateYImpl(Matrix2DPeer* peer) { - return 0; - } - void SetRotateYImpl(Matrix2DPeer* peer, const Ark_Number* rotateY) { - } - Ark_Int32 GetRotateXImpl(Matrix2DPeer* peer) { - return 0; - } - void SetRotateXImpl(Matrix2DPeer* peer, const Ark_Number* rotateX) { - } - Ark_Int32 GetScaleYImpl(Matrix2DPeer* peer) { - return 0; - } - void SetScaleYImpl(Matrix2DPeer* peer, const Ark_Number* scaleY) { - } - Ark_Int32 GetTranslateXImpl(Matrix2DPeer* peer) { - return 0; - } - void SetTranslateXImpl(Matrix2DPeer* peer, const Ark_Number* translateX) { - } - Ark_Int32 GetTranslateYImpl(Matrix2DPeer* peer) { - return 0; - } - void SetTranslateYImpl(Matrix2DPeer* peer, const Ark_Number* translateY) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_NativePointer IdentityImpl(Matrix2DPeer* peer) + { + return 0; + } + Ark_NativePointer InvertImpl(Matrix2DPeer* peer) + { + return 0; + } + Ark_NativePointer MultiplyImpl(Matrix2DPeer* peer, + const Opt_Matrix2D* other) + { + return 0; + } + Ark_NativePointer Rotate0Impl(Matrix2DPeer* peer, + const Opt_Number* rx, + const Opt_Number* ry) + { + return 0; + } + Ark_NativePointer Rotate1Impl(Matrix2DPeer* peer, + const Ark_Number* degree, + const Opt_Number* rx, + const Opt_Number* ry) + { + return 0; + } + Ark_NativePointer TranslateImpl(Matrix2DPeer* peer, + const Opt_Number* tx, + const Opt_Number* ty) + { + return 0; + } + Ark_NativePointer ScaleImpl(Matrix2DPeer* peer, + const Opt_Number* sx, + const Opt_Number* sy) + { + return 0; + } + Ark_Int32 GetScaleXImpl(Matrix2DPeer* peer) + { + return 0; + } + void SetScaleXImpl(Matrix2DPeer* peer, + const Ark_Number* scaleX) + { + } + Ark_Int32 GetRotateYImpl(Matrix2DPeer* peer) + { + return 0; + } + void SetRotateYImpl(Matrix2DPeer* peer, + const Ark_Number* rotateY) + { + } + Ark_Int32 GetRotateXImpl(Matrix2DPeer* peer) + { + return 0; + } + void SetRotateXImpl(Matrix2DPeer* peer, + const Ark_Number* rotateX) + { + } + Ark_Int32 GetScaleYImpl(Matrix2DPeer* peer) + { + return 0; + } + void SetScaleYImpl(Matrix2DPeer* peer, + const Ark_Number* scaleY) + { + } + Ark_Int32 GetTranslateXImpl(Matrix2DPeer* peer) + { + return 0; + } + void SetTranslateXImpl(Matrix2DPeer* peer, + const Ark_Number* translateX) + { + } + Ark_Int32 GetTranslateYImpl(Matrix2DPeer* peer) + { + return 0; + } + void SetTranslateYImpl(Matrix2DPeer* peer, + const Ark_Number* translateY) + { + } } // Matrix2DModifier namespace CanvasGradientModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void AddColorStopImpl(CanvasGradientPeer* peer, const Ark_Number* offset, const Ark_String* color) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void AddColorStopImpl(CanvasGradientPeer* peer, + const Ark_Number* offset, + const Ark_String* color) + { + } } // CanvasGradientModifier namespace CanvasPatternModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SetTransformImpl(CanvasPatternPeer* peer, const Opt_Matrix2D* transform) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SetTransformImpl(CanvasPatternPeer* peer, + const Opt_Matrix2D* transform) + { + } } // CanvasPatternModifier namespace DrawingRenderingContextModifier { - Ark_NativePointer CtorImpl(const Opt_LengthMetricsUnit* unit) { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void InvalidateImpl(DrawingRenderingContextPeer* peer) { - } + Ark_NativePointer CtorImpl(const Opt_LengthMetricsUnit* unit) + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void InvalidateImpl(DrawingRenderingContextPeer* peer) + { + } } // DrawingRenderingContextModifier namespace ImageAnalyzerControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetImageAnalyzerSupportTypesImpl(ImageAnalyzerControllerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetImageAnalyzerSupportTypesImpl(ImageAnalyzerControllerPeer* peer) + { + } } // ImageAnalyzerControllerModifier namespace ScrollerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ScrollToImpl(ScrollerPeer* peer, const Literal_xOffset_Union_Number_String_yOffset_Union_Number_String_animation_Opt_Union_Opt_ScrollAnimationOptions_Opt_Boolean* value) { - } - void ScrollEdgeImpl(ScrollerPeer* peer, Ark_Int32 value, const Opt_ScrollEdgeOptions* options) { - } - void FlingImpl(ScrollerPeer* peer, const Ark_Number* velocity) { - } - void ScrollPage_ScrollPageOptionsImpl(ScrollerPeer* peer, const Ark_ScrollPageOptions* value) { - } - void ScrollPage_nextbooleandirectionAxisImpl(ScrollerPeer* peer, const Literal_next_Boolean_direction_Axis* value) { - } - Ark_NativePointer CurrentOffsetImpl(ScrollerPeer* peer) { - return 0; - } - void ScrollToIndexImpl(ScrollerPeer* peer, const Ark_Number* value, const Opt_Boolean* smooth, const Opt_ScrollAlign* align, const Opt_ScrollToIndexOptions* options) { - } - void ScrollByImpl(ScrollerPeer* peer, const Ark_Length* dx, const Ark_Length* dy) { - } - Ark_Boolean IsAtEndImpl(ScrollerPeer* peer) { - return 0; - } - Ark_NativePointer GetItemRectImpl(ScrollerPeer* peer, const Ark_Number* index) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ScrollToImpl(ScrollerPeer* peer, + const Literal_Union_Number_String_xOffset_yOffset_Opt_Union_ScrollAnimationOptions_Boolean_animation* value) + { + } + void ScrollEdgeImpl(ScrollerPeer* peer, + Ark_Int32 value, + const Opt_ScrollEdgeOptions* options) + { + } + void FlingImpl(ScrollerPeer* peer, + const Ark_Number* velocity) + { + } + void ScrollPage0Impl(ScrollerPeer* peer, + const Ark_ScrollPageOptions* value) + { + } + void ScrollPage1Impl(ScrollerPeer* peer, + const Literal_Boolean_next_Opt_Axis_direction* value) + { + } + Ark_NativePointer CurrentOffsetImpl(ScrollerPeer* peer) + { + return 0; + } + void ScrollToIndexImpl(ScrollerPeer* peer, + const Ark_Number* value, + const Opt_Boolean* smooth, + const Opt_ScrollAlign* align, + const Opt_ScrollToIndexOptions* options) + { + } + void ScrollByImpl(ScrollerPeer* peer, + const Ark_Length* dx, + const Ark_Length* dy) + { + } + Ark_Boolean IsAtEndImpl(ScrollerPeer* peer) + { + return 0; + } + Ark_NativePointer GetItemRectImpl(ScrollerPeer* peer, + const Ark_Number* index) + { + return 0; + } } // ScrollerModifier namespace ChildrenMainSizeModifier { - Ark_NativePointer CtorImpl(const Ark_Number* childDefaultSize) { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SpliceImpl(ChildrenMainSizePeer* peer, const Ark_Number* start, const Opt_Number* deleteCount, const Opt_Array_Number* childrenSize) { - } - void UpdateImpl(ChildrenMainSizePeer* peer, const Ark_Number* index, const Ark_Number* childSize) { - } + Ark_NativePointer CtorImpl(const Ark_Number* childDefaultSize) + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SpliceImpl(ChildrenMainSizePeer* peer, + const Ark_Number* start, + const Opt_Number* deleteCount, + const Opt_Array_Number* childrenSize) + { + } + void UpdateImpl(ChildrenMainSizePeer* peer, + const Ark_Number* index, + const Ark_Number* childSize) + { + } } // ChildrenMainSizeModifier namespace NavigationTransitionProxyModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void FinishTransitionImpl(NavigationTransitionProxyPeer* peer) { - } - void CancelTransitionImpl(NavigationTransitionProxyPeer* peer) { - } - void UpdateTransitionImpl(NavigationTransitionProxyPeer* peer, const Ark_Number* progress) { - } - void SetFromImpl(NavigationTransitionProxyPeer* peer, const Ark_NavContentInfo* from) { - } - void SetToImpl(NavigationTransitionProxyPeer* peer, const Ark_NavContentInfo* to) { - } - Ark_Boolean GetIsInteractiveImpl(NavigationTransitionProxyPeer* peer) { - return 0; - } - void SetIsInteractiveImpl(NavigationTransitionProxyPeer* peer, Ark_Boolean isInteractive) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void FinishTransitionImpl(NavigationTransitionProxyPeer* peer) + { + } + void CancelTransitionImpl(NavigationTransitionProxyPeer* peer) + { + } + void UpdateTransitionImpl(NavigationTransitionProxyPeer* peer, + const Ark_Number* progress) + { + } + void SetFromImpl(NavigationTransitionProxyPeer* peer, + const Ark_NavContentInfo* from) + { + } + void SetToImpl(NavigationTransitionProxyPeer* peer, + const Ark_NavContentInfo* to) + { + } + Ark_Boolean GetIsInteractiveImpl(NavigationTransitionProxyPeer* peer) + { + return 0; + } + void SetIsInteractiveImpl(NavigationTransitionProxyPeer* peer, + Ark_Boolean isInteractive) + { + } } // NavigationTransitionProxyModifier namespace NavPathStackModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void PushPath_NavPathInfo_booleanImpl(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_Boolean* animated) { - } - void PushPath_NavPathInfo_NavigationOptionsImpl(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_NavigationOptions* options) { - } - Ark_NativePointer PushDestination_NavPathInfo_booleanImpl(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_Boolean* animated) { - return 0; - } - Ark_NativePointer PushDestination_NavPathInfo_NavigationOptionsImpl(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_NavigationOptions* options) { - return 0; - } - void PushPathByName_string_unknown_booleanImpl(NavPathStackPeer* peer, const Ark_String* name, const Ark_CustomObject* param, const Opt_Boolean* animated) { - } - void PushPathByName_string_Object_IMPORTCallbackPopInfoFROMapiohosbase_booleanImpl(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, Ark_Function onPop, const Opt_Boolean* animated) { - } - Ark_NativePointer PushDestinationByName_string_Object_booleanImpl(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, const Opt_Boolean* animated) { - return 0; - } - Ark_NativePointer PushDestinationByName_string_Object_IMPORTCallbackPopInfoFROMapiohosbase_booleanImpl(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, Ark_Function onPop, const Opt_Boolean* animated) { - return 0; - } - void ReplacePath_NavPathInfo_booleanImpl(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_Boolean* animated) { - } - void ReplacePath_NavPathInfo_NavigationOptionsImpl(NavPathStackPeer* peer, const Ark_NavPathInfo* info, const Opt_NavigationOptions* options) { - } - void ReplacePathByNameImpl(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* param, const Opt_Boolean* animated) { - } - Ark_Int32 RemoveByIndexesImpl(NavPathStackPeer* peer, const Array_Number* indexes) { - return 0; - } - Ark_Int32 RemoveByNameImpl(NavPathStackPeer* peer, const Ark_String* name) { - return 0; - } - void Pop_booleanImpl(NavPathStackPeer* peer, const Opt_Boolean* animated) { - } - void Pop_Object_booleanImpl(NavPathStackPeer* peer, const Ark_Object* result, const Opt_Boolean* animated) { - } - Ark_Int32 PopToName_string_booleanImpl(NavPathStackPeer* peer, const Ark_String* name, const Opt_Boolean* animated) { - return 0; - } - Ark_Int32 PopToName_string_Object_booleanImpl(NavPathStackPeer* peer, const Ark_String* name, const Ark_Object* result, const Opt_Boolean* animated) { - return 0; - } - void PopToIndex_number_booleanImpl(NavPathStackPeer* peer, const Ark_Number* index, const Opt_Boolean* animated) { - } - void PopToIndex_number_Object_booleanImpl(NavPathStackPeer* peer, const Ark_Number* index, const Ark_Object* result, const Opt_Boolean* animated) { - } - Ark_Int32 MoveToTopImpl(NavPathStackPeer* peer, const Ark_String* name, const Opt_Boolean* animated) { - return 0; - } - void MoveIndexToTopImpl(NavPathStackPeer* peer, const Ark_Number* index, const Opt_Boolean* animated) { - } - void ClearImpl(NavPathStackPeer* peer, const Opt_Boolean* animated) { - } - Ark_NativePointer GetAllPathNameImpl(NavPathStackPeer* peer) { - return 0; - } - void GetParamByIndexImpl(NavPathStackPeer* peer, const Ark_Number* index) { - } - Ark_NativePointer GetParamByNameImpl(NavPathStackPeer* peer, const Ark_String* name) { - return 0; - } - Ark_NativePointer GetIndexByNameImpl(NavPathStackPeer* peer, const Ark_String* name) { - return 0; - } - Ark_NativePointer GetParentImpl(NavPathStackPeer* peer) { - return 0; - } - Ark_Int32 SizeImpl(NavPathStackPeer* peer) { - return 0; - } - void DisableAnimationImpl(NavPathStackPeer* peer, Ark_Boolean value) { - } - void SetInterceptionImpl(NavPathStackPeer* peer, const Ark_NavigationInterception* interception) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void PushPath0Impl(NavPathStackPeer* peer, + const Ark_NavPathInfo* info, + const Opt_Boolean* animated) + { + } + void PushPath1Impl(NavPathStackPeer* peer, + const Ark_NavPathInfo* info, + const Opt_NavigationOptions* options) + { + } + Ark_NativePointer PushDestination0Impl(NavPathStackPeer* peer, + const Ark_NavPathInfo* info, + const Opt_Boolean* animated) + { + return 0; + } + Ark_NativePointer PushDestination1Impl(NavPathStackPeer* peer, + const Ark_NavPathInfo* info, + const Opt_NavigationOptions* options) + { + return 0; + } + void PushPathByName0Impl(NavPathStackPeer* peer, + const Ark_String* name, + const Ark_CustomObject* param, + const Opt_Boolean* animated) + { + } + void PushPathByName1Impl(NavPathStackPeer* peer, + const Ark_String* name, + const Ark_Object* param, + Ark_Function onPop, + const Opt_Boolean* animated) + { + } + Ark_NativePointer PushDestinationByName0Impl(NavPathStackPeer* peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated) + { + return 0; + } + Ark_NativePointer PushDestinationByName1Impl(NavPathStackPeer* peer, + const Ark_String* name, + const Ark_Object* param, + Ark_Function onPop, + const Opt_Boolean* animated) + { + return 0; + } + void ReplacePath0Impl(NavPathStackPeer* peer, + const Ark_NavPathInfo* info, + const Opt_Boolean* animated) + { + } + void ReplacePath1Impl(NavPathStackPeer* peer, + const Ark_NavPathInfo* info, + const Opt_NavigationOptions* options) + { + } + void ReplacePathByNameImpl(NavPathStackPeer* peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated) + { + } + Ark_Int32 RemoveByIndexesImpl(NavPathStackPeer* peer, + const Array_Number* indexes) + { + return 0; + } + Ark_Int32 RemoveByNameImpl(NavPathStackPeer* peer, + const Ark_String* name) + { + return 0; + } + void Pop0Impl(NavPathStackPeer* peer, + const Opt_Boolean* animated) + { + } + void Pop1Impl(NavPathStackPeer* peer, + const Ark_Object* result, + const Opt_Boolean* animated) + { + } + Ark_Int32 PopToName0Impl(NavPathStackPeer* peer, + const Ark_String* name, + const Opt_Boolean* animated) + { + return 0; + } + Ark_Int32 PopToName1Impl(NavPathStackPeer* peer, + const Ark_String* name, + const Ark_Object* result, + const Opt_Boolean* animated) + { + return 0; + } + void PopToIndex0Impl(NavPathStackPeer* peer, + const Ark_Number* index, + const Opt_Boolean* animated) + { + } + void PopToIndex1Impl(NavPathStackPeer* peer, + const Ark_Number* index, + const Ark_Object* result, + const Opt_Boolean* animated) + { + } + Ark_Int32 MoveToTopImpl(NavPathStackPeer* peer, + const Ark_String* name, + const Opt_Boolean* animated) + { + return 0; + } + void MoveIndexToTopImpl(NavPathStackPeer* peer, + const Ark_Number* index, + const Opt_Boolean* animated) + { + } + void ClearImpl(NavPathStackPeer* peer, + const Opt_Boolean* animated) + { + } + Ark_NativePointer GetAllPathNameImpl(NavPathStackPeer* peer) + { + return 0; + } + void GetParamByIndexImpl(NavPathStackPeer* peer, + const Ark_Number* index) + { + } + Ark_NativePointer GetParamByNameImpl(NavPathStackPeer* peer, + const Ark_String* name) + { + return 0; + } + Ark_NativePointer GetIndexByNameImpl(NavPathStackPeer* peer, + const Ark_String* name) + { + return 0; + } + Ark_NativePointer GetParentImpl(NavPathStackPeer* peer) + { + return 0; + } + Ark_Int32 SizeImpl(NavPathStackPeer* peer) + { + return 0; + } + void DisableAnimationImpl(NavPathStackPeer* peer, + Ark_Boolean value) + { + } + void SetInterceptionImpl(NavPathStackPeer* peer, + const Ark_NavigationInterception* interception) + { + } } // NavPathStackModifier namespace NavDestinationContextModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetConfigInRouteMapImpl(NavDestinationContextPeer* peer) { - } - void SetPathInfoImpl(NavDestinationContextPeer* peer, const Ark_NavPathInfo* pathInfo) { - } - void SetPathStackImpl(NavDestinationContextPeer* peer, const Ark_Materialized* pathStack) { - } - void GetNavDestinationIdImpl(NavDestinationContextPeer* peer) { - } - void SetNavDestinationIdImpl(NavDestinationContextPeer* peer, const Ark_String* navDestinationId) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetConfigInRouteMapImpl(NavDestinationContextPeer* peer) + { + } + void SetPathInfoImpl(NavDestinationContextPeer* peer, + const Ark_NavPathInfo* pathInfo) + { + } + void SetPathStackImpl(NavDestinationContextPeer* peer, + const Ark_Materialized* pathStack) + { + } + void GetNavDestinationIdImpl(NavDestinationContextPeer* peer) + { + } + void SetNavDestinationIdImpl(NavDestinationContextPeer* peer, + const Ark_String* navDestinationId) + { + } } // NavDestinationContextModifier namespace PatternLockControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ResetImpl(PatternLockControllerPeer* peer) { - } - void SetChallengeResultImpl(PatternLockControllerPeer* peer, Ark_Int32 result) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ResetImpl(PatternLockControllerPeer* peer) + { + } + void SetChallengeResultImpl(PatternLockControllerPeer* peer, + Ark_Int32 result) + { + } } // PatternLockControllerModifier namespace EditMenuOptionsModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_NativePointer OnCreateMenuImpl(EditMenuOptionsPeer* peer, const Array_TextMenuItem* menuItems) { - return 0; - } - Ark_Boolean OnMenuItemClickImpl(EditMenuOptionsPeer* peer, const Ark_TextMenuItem* menuItem, const Ark_TextRange* range) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_NativePointer OnCreateMenuImpl(EditMenuOptionsPeer* peer, + const Array_TextMenuItem* menuItems) + { + return 0; + } + Ark_Boolean OnMenuItemClickImpl(EditMenuOptionsPeer* peer, + const Ark_TextMenuItem* menuItem, + const Ark_TextRange* range) + { + return 0; + } } // EditMenuOptionsModifier namespace RichEditorControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_Int32 AddTextSpanImpl(RichEditorControllerPeer* peer, const Ark_String* value, const Opt_RichEditorTextSpanOptions* options) { - return 0; - } - Ark_Int32 AddImageSpanImpl(RichEditorControllerPeer* peer, const Union_PixelMap_ResourceStr* value, const Opt_RichEditorImageSpanOptions* options) { - return 0; - } - Ark_Int32 AddBuilderSpanImpl(RichEditorControllerPeer* peer, const CustomBuilder* value, const Opt_RichEditorBuilderSpanOptions* options) { - return 0; - } - Ark_Int32 AddSymbolSpanImpl(RichEditorControllerPeer* peer, const Ark_Resource* value, const Opt_RichEditorSymbolSpanOptions* options) { - return 0; - } - void UpdateSpanStyleImpl(RichEditorControllerPeer* peer, const Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions* value) { - } - void UpdateParagraphStyleImpl(RichEditorControllerPeer* peer, const Ark_RichEditorParagraphStyleOptions* value) { - } - void DeleteSpansImpl(RichEditorControllerPeer* peer, const Opt_RichEditorRange* value) { - } - Ark_NativePointer GetSpansImpl(RichEditorControllerPeer* peer, const Opt_RichEditorRange* value) { - return 0; - } - Ark_NativePointer GetParagraphsImpl(RichEditorControllerPeer* peer, const Opt_RichEditorRange* value) { - return 0; - } - Ark_NativePointer GetSelectionImpl(RichEditorControllerPeer* peer) { - return 0; - } - Ark_NativePointer FromStyledStringImpl(RichEditorControllerPeer* peer, const Ark_Materialized* value) { - return 0; - } - Ark_NativePointer ToStyledStringImpl(RichEditorControllerPeer* peer, const Ark_RichEditorRange* value) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_Int32 AddTextSpanImpl(RichEditorControllerPeer* peer, + const Ark_String* value, + const Opt_RichEditorTextSpanOptions* options) + { + return 0; + } + Ark_Int32 AddImageSpanImpl(RichEditorControllerPeer* peer, + const Union_PixelMap_ResourceStr* value, + const Opt_RichEditorImageSpanOptions* options) + { + return 0; + } + Ark_Int32 AddBuilderSpanImpl(RichEditorControllerPeer* peer, + const CustomBuilder* value, + const Opt_RichEditorBuilderSpanOptions* options) + { + return 0; + } + Ark_Int32 AddSymbolSpanImpl(RichEditorControllerPeer* peer, + const Ark_Resource* value, + const Opt_RichEditorSymbolSpanOptions* options) + { + return 0; + } + void UpdateSpanStyleImpl(RichEditorControllerPeer* peer, + const Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions* value) + { + } + void UpdateParagraphStyleImpl(RichEditorControllerPeer* peer, + const Ark_RichEditorParagraphStyleOptions* value) + { + } + void DeleteSpansImpl(RichEditorControllerPeer* peer, + const Opt_RichEditorRange* value) + { + } + Ark_NativePointer GetSpansImpl(RichEditorControllerPeer* peer, + const Opt_RichEditorRange* value) + { + return 0; + } + Ark_NativePointer GetParagraphsImpl(RichEditorControllerPeer* peer, + const Opt_RichEditorRange* value) + { + return 0; + } + Ark_NativePointer GetSelectionImpl(RichEditorControllerPeer* peer) + { + return 0; + } + Ark_NativePointer FromStyledStringImpl(RichEditorControllerPeer* peer, + const Ark_Materialized* value) + { + return 0; + } + Ark_NativePointer ToStyledStringImpl(RichEditorControllerPeer* peer, + const Ark_RichEditorRange* value) + { + return 0; + } } // RichEditorControllerModifier namespace RichEditorBaseControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_Int32 GetCaretOffsetImpl(RichEditorBaseControllerPeer* peer) { - return 0; - } - Ark_Boolean SetCaretOffsetImpl(RichEditorBaseControllerPeer* peer, const Ark_Number* offset) { - return 0; - } - void CloseSelectionMenuImpl(RichEditorBaseControllerPeer* peer) { - } - Ark_NativePointer GetTypingStyleImpl(RichEditorBaseControllerPeer* peer) { - return 0; - } - void SetTypingStyleImpl(RichEditorBaseControllerPeer* peer, const Ark_RichEditorTextStyle* value) { - } - void SetSelectionImpl(RichEditorBaseControllerPeer* peer, const Ark_Number* selectionStart, const Ark_Number* selectionEnd, const Opt_SelectionOptions* options) { - } - Ark_Boolean IsEditingImpl(RichEditorBaseControllerPeer* peer) { - return 0; - } - void StopEditingImpl(RichEditorBaseControllerPeer* peer) { - } - Ark_NativePointer GetLayoutManagerImpl(RichEditorBaseControllerPeer* peer) { - return 0; - } - Ark_NativePointer GetPreviewTextImpl(RichEditorBaseControllerPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_Int32 GetCaretOffsetImpl(RichEditorBaseControllerPeer* peer) + { + return 0; + } + Ark_Boolean SetCaretOffsetImpl(RichEditorBaseControllerPeer* peer, + const Ark_Number* offset) + { + return 0; + } + void CloseSelectionMenuImpl(RichEditorBaseControllerPeer* peer) + { + } + Ark_NativePointer GetTypingStyleImpl(RichEditorBaseControllerPeer* peer) + { + return 0; + } + void SetTypingStyleImpl(RichEditorBaseControllerPeer* peer, + const Ark_RichEditorTextStyle* value) + { + } + void SetSelectionImpl(RichEditorBaseControllerPeer* peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) + { + } + Ark_Boolean IsEditingImpl(RichEditorBaseControllerPeer* peer) + { + return 0; + } + void StopEditingImpl(RichEditorBaseControllerPeer* peer) + { + } + Ark_NativePointer GetLayoutManagerImpl(RichEditorBaseControllerPeer* peer) + { + return 0; + } + Ark_NativePointer GetPreviewTextImpl(RichEditorBaseControllerPeer* peer) + { + return 0; + } } // RichEditorBaseControllerModifier namespace TextEditControllerExModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_Boolean IsEditingImpl(TextEditControllerExPeer* peer) { - return 0; - } - void StopEditingImpl(TextEditControllerExPeer* peer) { - } - Ark_Boolean SetCaretOffsetImpl(TextEditControllerExPeer* peer, const Ark_Number* offset) { - return 0; - } - Ark_Int32 GetCaretOffsetImpl(TextEditControllerExPeer* peer) { - return 0; - } - Ark_NativePointer GetPreviewTextImpl(TextEditControllerExPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_Boolean IsEditingImpl(TextEditControllerExPeer* peer) + { + return 0; + } + void StopEditingImpl(TextEditControllerExPeer* peer) + { + } + Ark_Boolean SetCaretOffsetImpl(TextEditControllerExPeer* peer, + const Ark_Number* offset) + { + return 0; + } + Ark_Int32 GetCaretOffsetImpl(TextEditControllerExPeer* peer) + { + return 0; + } + Ark_NativePointer GetPreviewTextImpl(TextEditControllerExPeer* peer) + { + return 0; + } } // TextEditControllerExModifier namespace TextBaseControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SetSelectionImpl(TextBaseControllerPeer* peer, const Ark_Number* selectionStart, const Ark_Number* selectionEnd, const Opt_SelectionOptions* options) { - } - void CloseSelectionMenuImpl(TextBaseControllerPeer* peer) { - } - Ark_NativePointer GetLayoutManagerImpl(TextBaseControllerPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SetSelectionImpl(TextBaseControllerPeer* peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) + { + } + void CloseSelectionMenuImpl(TextBaseControllerPeer* peer) + { + } + Ark_NativePointer GetLayoutManagerImpl(TextBaseControllerPeer* peer) + { + return 0; + } } // TextBaseControllerModifier namespace LayoutManagerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_Int32 GetLineCountImpl(LayoutManagerPeer* peer) { - return 0; - } - Ark_NativePointer GetGlyphPositionAtCoordinateImpl(LayoutManagerPeer* peer, const Ark_Number* x, const Ark_Number* y) { - return 0; - } - Ark_NativePointer GetLineMetricsImpl(LayoutManagerPeer* peer, const Ark_Number* lineNumber) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_Int32 GetLineCountImpl(LayoutManagerPeer* peer) + { + return 0; + } + Ark_NativePointer GetGlyphPositionAtCoordinateImpl(LayoutManagerPeer* peer, + const Ark_Number* x, + const Ark_Number* y) + { + return 0; + } + Ark_NativePointer GetLineMetricsImpl(LayoutManagerPeer* peer, + const Ark_Number* lineNumber) + { + return 0; + } } // LayoutManagerModifier namespace StyledStringModifier { - Ark_NativePointer CtorImpl(const Union_String_ImageAttachment_CustomSpan* value, const Opt_Array_StyleOptions* styles) { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetStringImpl(StyledStringPeer* peer) { - } - Ark_NativePointer GetStylesImpl(StyledStringPeer* peer, const Ark_Number* start, const Ark_Number* length, const Opt_StyledStringKey* styledKey) { - return 0; - } - Ark_Boolean EqualsImpl(StyledStringPeer* peer, const Ark_Materialized* other) { - return 0; - } - Ark_NativePointer SubStyledStringImpl(StyledStringPeer* peer, const Ark_Number* start, const Opt_Number* length) { - return 0; - } - Ark_Int32 GetLengthImpl(StyledStringPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl(const Union_String_ImageAttachment_CustomSpan* value, + const Opt_Array_StyleOptions* styles) + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetStringImpl(StyledStringPeer* peer) + { + } + Ark_NativePointer GetStylesImpl(StyledStringPeer* peer, + const Ark_Number* start, + const Ark_Number* length, + const Opt_StyledStringKey* styledKey) + { + return 0; + } + Ark_Boolean EqualsImpl(StyledStringPeer* peer, + const Ark_Materialized* other) + { + return 0; + } + Ark_NativePointer SubStyledStringImpl(StyledStringPeer* peer, + const Ark_Number* start, + const Opt_Number* length) + { + return 0; + } + Ark_Int32 GetLengthImpl(StyledStringPeer* peer) + { + return 0; + } } // StyledStringModifier namespace CustomSpanModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_NativePointer OnMeasureImpl(CustomSpanPeer* peer, const Ark_CustomSpanMeasureInfo* measureInfo) { - return 0; - } - void OnDrawImpl(CustomSpanPeer* peer, const Ark_CustomObject* context, const Ark_CustomSpanDrawInfo* drawInfo) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_NativePointer OnMeasureImpl(CustomSpanPeer* peer, + const Ark_CustomSpanMeasureInfo* measureInfo) + { + return 0; + } + void OnDrawImpl(CustomSpanPeer* peer, + const Ark_CustomObject* context, + const Ark_CustomSpanDrawInfo* drawInfo) + { + } } // CustomSpanModifier namespace RichEditorStyledStringControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SetStyledStringImpl(RichEditorStyledStringControllerPeer* peer, const Ark_Materialized* styledString) { - } - Ark_NativePointer GetStyledStringImpl(RichEditorStyledStringControllerPeer* peer) { - return 0; - } - Ark_NativePointer GetSelectionImpl(RichEditorStyledStringControllerPeer* peer) { - return 0; - } - void OnContentChangedImpl(RichEditorStyledStringControllerPeer* peer, const Ark_StyledStringChangedListener* listener) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SetStyledStringImpl(RichEditorStyledStringControllerPeer* peer, + const Ark_Materialized* styledString) + { + } + Ark_NativePointer GetStyledStringImpl(RichEditorStyledStringControllerPeer* peer) + { + return 0; + } + Ark_NativePointer GetSelectionImpl(RichEditorStyledStringControllerPeer* peer) + { + return 0; + } + void OnContentChangedImpl(RichEditorStyledStringControllerPeer* peer, + const Ark_StyledStringChangedListener* listener) + { + } } // RichEditorStyledStringControllerModifier namespace StyledStringControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SetStyledStringImpl(StyledStringControllerPeer* peer, const Ark_Materialized* styledString) { - } - Ark_NativePointer GetStyledStringImpl(StyledStringControllerPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SetStyledStringImpl(StyledStringControllerPeer* peer, + const Ark_Materialized* styledString) + { + } + Ark_NativePointer GetStyledStringImpl(StyledStringControllerPeer* peer) + { + return 0; + } } // StyledStringControllerModifier namespace MutableStyledStringModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ReplaceStringImpl(MutableStyledStringPeer* peer, const Ark_Number* start, const Ark_Number* length, const Ark_String* other) { - } - void InsertStringImpl(MutableStyledStringPeer* peer, const Ark_Number* start, const Ark_String* other) { - } - void RemoveStringImpl(MutableStyledStringPeer* peer, const Ark_Number* start, const Ark_Number* length) { - } - void ReplaceStyleImpl(MutableStyledStringPeer* peer, const Ark_SpanStyle* spanStyle) { - } - void SetStyleImpl(MutableStyledStringPeer* peer, const Ark_SpanStyle* spanStyle) { - } - void RemoveStyleImpl(MutableStyledStringPeer* peer, const Ark_Number* start, const Ark_Number* length, Ark_Int32 styledKey) { - } - void RemoveStylesImpl(MutableStyledStringPeer* peer, const Ark_Number* start, const Ark_Number* length) { - } - void ClearStylesImpl(MutableStyledStringPeer* peer) { - } - void ReplaceStyledStringImpl(MutableStyledStringPeer* peer, const Ark_Number* start, const Ark_Number* length, const Ark_Materialized* other) { - } - void InsertStyledStringImpl(MutableStyledStringPeer* peer, const Ark_Number* start, const Ark_Materialized* other) { - } - void AppendStyledStringImpl(MutableStyledStringPeer* peer, const Ark_Materialized* other) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ReplaceStringImpl(MutableStyledStringPeer* peer, + const Ark_Number* start, + const Ark_Number* length, + const Ark_String* other) + { + } + void InsertStringImpl(MutableStyledStringPeer* peer, + const Ark_Number* start, + const Ark_String* other) + { + } + void RemoveStringImpl(MutableStyledStringPeer* peer, + const Ark_Number* start, + const Ark_Number* length) + { + } + void ReplaceStyleImpl(MutableStyledStringPeer* peer, + const Ark_SpanStyle* spanStyle) + { + } + void SetStyleImpl(MutableStyledStringPeer* peer, + const Ark_SpanStyle* spanStyle) + { + } + void RemoveStyleImpl(MutableStyledStringPeer* peer, + const Ark_Number* start, + const Ark_Number* length, + Ark_Int32 styledKey) + { + } + void RemoveStylesImpl(MutableStyledStringPeer* peer, + const Ark_Number* start, + const Ark_Number* length) + { + } + void ClearStylesImpl(MutableStyledStringPeer* peer) + { + } + void ReplaceStyledStringImpl(MutableStyledStringPeer* peer, + const Ark_Number* start, + const Ark_Number* length, + const Ark_Materialized* other) + { + } + void InsertStyledStringImpl(MutableStyledStringPeer* peer, + const Ark_Number* start, + const Ark_Materialized* other) + { + } + void AppendStyledStringImpl(MutableStyledStringPeer* peer, + const Ark_Materialized* other) + { + } } // MutableStyledStringModifier namespace SearchControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void CaretPositionImpl(SearchControllerPeer* peer, const Ark_Number* value) { - } - void StopEditingImpl(SearchControllerPeer* peer) { - } - void SetTextSelectionImpl(SearchControllerPeer* peer, const Ark_Number* selectionStart, const Ark_Number* selectionEnd, const Opt_SelectionOptions* options) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void CaretPositionImpl(SearchControllerPeer* peer, + const Ark_Number* value) + { + } + void StopEditingImpl(SearchControllerPeer* peer) + { + } + void SetTextSelectionImpl(SearchControllerPeer* peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) + { + } } // SearchControllerModifier namespace TextContentControllerBaseModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_NativePointer GetCaretOffsetImpl(TextContentControllerBasePeer* peer) { - return 0; - } - Ark_NativePointer GetTextContentRectImpl(TextContentControllerBasePeer* peer) { - return 0; - } - Ark_Int32 GetTextContentLineCountImpl(TextContentControllerBasePeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_NativePointer GetCaretOffsetImpl(TextContentControllerBasePeer* peer) + { + return 0; + } + Ark_NativePointer GetTextContentRectImpl(TextContentControllerBasePeer* peer) + { + return 0; + } + Ark_Int32 GetTextContentLineCountImpl(TextContentControllerBasePeer* peer) + { + return 0; + } } // TextContentControllerBaseModifier namespace SwiperContentTransitionProxyModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void FinishTransitionImpl(SwiperContentTransitionProxyPeer* peer) { - } - Ark_Int32 GetSelectedIndexImpl(SwiperContentTransitionProxyPeer* peer) { - return 0; - } - void SetSelectedIndexImpl(SwiperContentTransitionProxyPeer* peer, const Ark_Number* selectedIndex) { - } - Ark_Int32 GetIndexImpl(SwiperContentTransitionProxyPeer* peer) { - return 0; - } - void SetIndexImpl(SwiperContentTransitionProxyPeer* peer, const Ark_Number* index) { - } - Ark_Int32 GetPositionImpl(SwiperContentTransitionProxyPeer* peer) { - return 0; - } - void SetPositionImpl(SwiperContentTransitionProxyPeer* peer, const Ark_Number* position) { - } - Ark_Int32 GetMainAxisLengthImpl(SwiperContentTransitionProxyPeer* peer) { - return 0; - } - void SetMainAxisLengthImpl(SwiperContentTransitionProxyPeer* peer, const Ark_Number* mainAxisLength) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void FinishTransitionImpl(SwiperContentTransitionProxyPeer* peer) + { + } + Ark_Int32 GetSelectedIndexImpl(SwiperContentTransitionProxyPeer* peer) + { + return 0; + } + void SetSelectedIndexImpl(SwiperContentTransitionProxyPeer* peer, + const Ark_Number* selectedIndex) + { + } + Ark_Int32 GetIndexImpl(SwiperContentTransitionProxyPeer* peer) + { + return 0; + } + void SetIndexImpl(SwiperContentTransitionProxyPeer* peer, + const Ark_Number* index) + { + } + Ark_Int32 GetPositionImpl(SwiperContentTransitionProxyPeer* peer) + { + return 0; + } + void SetPositionImpl(SwiperContentTransitionProxyPeer* peer, + const Ark_Number* position) + { + } + Ark_Int32 GetMainAxisLengthImpl(SwiperContentTransitionProxyPeer* peer) + { + return 0; + } + void SetMainAxisLengthImpl(SwiperContentTransitionProxyPeer* peer, + const Ark_Number* mainAxisLength) + { + } } // SwiperContentTransitionProxyModifier namespace SwiperControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ShowNextImpl(SwiperControllerPeer* peer) { - } - void ShowPreviousImpl(SwiperControllerPeer* peer) { - } - void ChangeIndexImpl(SwiperControllerPeer* peer, const Ark_Number* index, const Opt_Boolean* useAnimation) { - } - void FinishAnimationImpl(SwiperControllerPeer* peer, const Opt_Function* callback) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ShowNextImpl(SwiperControllerPeer* peer) + { + } + void ShowPreviousImpl(SwiperControllerPeer* peer) + { + } + void ChangeIndexImpl(SwiperControllerPeer* peer, + const Ark_Number* index, + const Opt_Boolean* useAnimation) + { + } + void FinishAnimationImpl(SwiperControllerPeer* peer, + const Opt_Function* callback) + { + } } // SwiperControllerModifier namespace TabContentTransitionProxyModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void FinishTransitionImpl(TabContentTransitionProxyPeer* peer) { - } - Ark_Int32 GetFromImpl(TabContentTransitionProxyPeer* peer) { - return 0; - } - void SetFromImpl(TabContentTransitionProxyPeer* peer, const Ark_Number* from) { - } - Ark_Int32 GetToImpl(TabContentTransitionProxyPeer* peer) { - return 0; - } - void SetToImpl(TabContentTransitionProxyPeer* peer, const Ark_Number* to) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void FinishTransitionImpl(TabContentTransitionProxyPeer* peer) + { + } + Ark_Int32 GetFromImpl(TabContentTransitionProxyPeer* peer) + { + return 0; + } + void SetFromImpl(TabContentTransitionProxyPeer* peer, + const Ark_Number* from) + { + } + Ark_Int32 GetToImpl(TabContentTransitionProxyPeer* peer) + { + return 0; + } + void SetToImpl(TabContentTransitionProxyPeer* peer, + const Ark_Number* to) + { + } } // TabContentTransitionProxyModifier namespace TabsControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ChangeIndexImpl(TabsControllerPeer* peer, const Ark_Number* value) { - } - Ark_NativePointer PreloadItemsImpl(TabsControllerPeer* peer, const Opt_Array_Number* indices) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ChangeIndexImpl(TabsControllerPeer* peer, + const Ark_Number* value) + { + } + Ark_NativePointer PreloadItemsImpl(TabsControllerPeer* peer, + const Opt_Array_Number* indices) + { + return 0; + } } // TabsControllerModifier namespace TextControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void CloseSelectionMenuImpl(TextControllerPeer* peer) { - } - void SetStyledStringImpl(TextControllerPeer* peer, const Ark_Materialized* value) { - } - Ark_NativePointer GetLayoutManagerImpl(TextControllerPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void CloseSelectionMenuImpl(TextControllerPeer* peer) + { + } + void SetStyledStringImpl(TextControllerPeer* peer, + const Ark_Materialized* value) + { + } + Ark_NativePointer GetLayoutManagerImpl(TextControllerPeer* peer) + { + return 0; + } } // TextControllerModifier namespace TextAreaControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void CaretPositionImpl(TextAreaControllerPeer* peer, const Ark_Number* value) { - } - void SetTextSelectionImpl(TextAreaControllerPeer* peer, const Ark_Number* selectionStart, const Ark_Number* selectionEnd, const Opt_SelectionOptions* options) { - } - void StopEditingImpl(TextAreaControllerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void CaretPositionImpl(TextAreaControllerPeer* peer, + const Ark_Number* value) + { + } + void SetTextSelectionImpl(TextAreaControllerPeer* peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) + { + } + void StopEditingImpl(TextAreaControllerPeer* peer) + { + } } // TextAreaControllerModifier namespace TextClockControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void StartImpl(TextClockControllerPeer* peer) { - } - void StopImpl(TextClockControllerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void StartImpl(TextClockControllerPeer* peer) + { + } + void StopImpl(TextClockControllerPeer* peer) + { + } } // TextClockControllerModifier namespace TextInputControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void CaretPositionImpl(TextInputControllerPeer* peer, const Ark_Number* value) { - } - void SetTextSelectionImpl(TextInputControllerPeer* peer, const Ark_Number* selectionStart, const Ark_Number* selectionEnd, const Opt_SelectionOptions* options) { - } - void StopEditingImpl(TextInputControllerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void CaretPositionImpl(TextInputControllerPeer* peer, + const Ark_Number* value) + { + } + void SetTextSelectionImpl(TextInputControllerPeer* peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) + { + } + void StopEditingImpl(TextInputControllerPeer* peer) + { + } } // TextInputControllerModifier namespace TextTimerControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void StartImpl(TextTimerControllerPeer* peer) { - } - void PauseImpl(TextTimerControllerPeer* peer) { - } - void ResetImpl(TextTimerControllerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void StartImpl(TextTimerControllerPeer* peer) + { + } + void PauseImpl(TextTimerControllerPeer* peer) + { + } + void ResetImpl(TextTimerControllerPeer* peer) + { + } } // TextTimerControllerModifier namespace VideoControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void StartImpl(VideoControllerPeer* peer) { - } - void PauseImpl(VideoControllerPeer* peer) { - } - void StopImpl(VideoControllerPeer* peer) { - } - void SetCurrentTime_numberImpl(VideoControllerPeer* peer, const Ark_Number* value) { - } - void RequestFullscreenImpl(VideoControllerPeer* peer, Ark_Boolean value) { - } - void ExitFullscreenImpl(VideoControllerPeer* peer) { - } - void SetCurrentTime_number_SeekModeImpl(VideoControllerPeer* peer, const Ark_Number* value, Ark_Int32 seekMode) { - } - void ResetImpl(VideoControllerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void StartImpl(VideoControllerPeer* peer) + { + } + void PauseImpl(VideoControllerPeer* peer) + { + } + void StopImpl(VideoControllerPeer* peer) + { + } + void SetCurrentTime0Impl(VideoControllerPeer* peer, + const Ark_Number* value) + { + } + void RequestFullscreenImpl(VideoControllerPeer* peer, + Ark_Boolean value) + { + } + void ExitFullscreenImpl(VideoControllerPeer* peer) + { + } + void SetCurrentTime1Impl(VideoControllerPeer* peer, + const Ark_Number* value, + Ark_Int32 seekMode) + { + } + void ResetImpl(VideoControllerPeer* peer) + { + } } // VideoControllerModifier namespace WebControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void OnInactiveImpl(WebControllerPeer* peer) { - } - void OnActiveImpl(WebControllerPeer* peer) { - } - void ZoomImpl(WebControllerPeer* peer, const Ark_Number* factor) { - } - void ClearHistoryImpl(WebControllerPeer* peer) { - } - void RunJavaScriptImpl(WebControllerPeer* peer, const Literal_script_String_callback_Opt_Function* options) { - } - void LoadDataImpl(WebControllerPeer* peer, const Literal_data_String_mimeType_String_encoding_String_baseUrl_Opt_String_historyUrl_Opt_String* options) { - } - void LoadUrlImpl(WebControllerPeer* peer, const Literal_url_Union_String_Resource_headers_Opt_Array_Header* options) { - } - void RefreshImpl(WebControllerPeer* peer) { - } - void StopImpl(WebControllerPeer* peer) { - } - void RegisterJavaScriptProxyImpl(WebControllerPeer* peer, const Literal_object_CustomObject_name_String_methodList_Array_String* options) { - } - void DeleteJavaScriptRegisterImpl(WebControllerPeer* peer, const Ark_String* name) { - } - Ark_NativePointer GetHitTestImpl(WebControllerPeer* peer) { - return 0; - } - void RequestFocusImpl(WebControllerPeer* peer) { - } - Ark_Boolean AccessBackwardImpl(WebControllerPeer* peer) { - return 0; - } - Ark_Boolean AccessForwardImpl(WebControllerPeer* peer) { - return 0; - } - Ark_Boolean AccessStepImpl(WebControllerPeer* peer, const Ark_Number* step) { - return 0; - } - void BackwardImpl(WebControllerPeer* peer) { - } - void ForwardImpl(WebControllerPeer* peer) { - } - Ark_NativePointer GetCookieManagerImpl(WebControllerPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void OnInactiveImpl(WebControllerPeer* peer) + { + } + void OnActiveImpl(WebControllerPeer* peer) + { + } + void ZoomImpl(WebControllerPeer* peer, + const Ark_Number* factor) + { + } + void ClearHistoryImpl(WebControllerPeer* peer) + { + } + void RunJavaScriptImpl(WebControllerPeer* peer, + const Literal_String_script_Opt_Function_callback* options) + { + } + void LoadDataImpl(WebControllerPeer* peer, + const Literal_String_data_mimeType_encoding_Opt_String_baseUrl_historyUrl* options) + { + } + void LoadUrlImpl(WebControllerPeer* peer, + const Literal_Union_String_Resource_url_Opt_Array_Header_headers* options) + { + } + void RefreshImpl(WebControllerPeer* peer) + { + } + void StopImpl(WebControllerPeer* peer) + { + } + void RegisterJavaScriptProxyImpl(WebControllerPeer* peer, + const Literal_CustomObject_object_String_name_Array_String_methodList* options) + { + } + void DeleteJavaScriptRegisterImpl(WebControllerPeer* peer, + const Ark_String* name) + { + } + Ark_NativePointer GetHitTestImpl(WebControllerPeer* peer) + { + return 0; + } + void RequestFocusImpl(WebControllerPeer* peer) + { + } + Ark_Boolean AccessBackwardImpl(WebControllerPeer* peer) + { + return 0; + } + Ark_Boolean AccessForwardImpl(WebControllerPeer* peer) + { + return 0; + } + Ark_Boolean AccessStepImpl(WebControllerPeer* peer, + const Ark_Number* step) + { + return 0; + } + void BackwardImpl(WebControllerPeer* peer) + { + } + void ForwardImpl(WebControllerPeer* peer) + { + } + Ark_NativePointer GetCookieManagerImpl(WebControllerPeer* peer) + { + return 0; + } } // WebControllerModifier namespace WebCookieModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SetCookieImpl(WebCookiePeer* peer) { - } - void SaveCookieImpl(WebCookiePeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SetCookieImpl(WebCookiePeer* peer) + { + } + void SaveCookieImpl(WebCookiePeer* peer) + { + } } // WebCookieModifier namespace JsGeolocationModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void InvokeImpl(JsGeolocationPeer* peer, const Ark_String* origin, Ark_Boolean allow, Ark_Boolean retain) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void InvokeImpl(JsGeolocationPeer* peer, + const Ark_String* origin, + Ark_Boolean allow, + Ark_Boolean retain) + { + } } // JsGeolocationModifier namespace JsResultModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void HandleCancelImpl(JsResultPeer* peer) { - } - void HandleConfirmImpl(JsResultPeer* peer) { - } - void HandlePromptConfirmImpl(JsResultPeer* peer, const Ark_String* result) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void HandleCancelImpl(JsResultPeer* peer) + { + } + void HandleConfirmImpl(JsResultPeer* peer) + { + } + void HandlePromptConfirmImpl(JsResultPeer* peer, + const Ark_String* result) + { + } } // JsResultModifier namespace ConsoleMessageModifier { - Ark_NativePointer CtorImpl(const Ark_String* message, const Ark_String* sourceId, const Ark_Number* lineNumber, Ark_Int32 messageLevel) { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetMessageImpl(ConsoleMessagePeer* peer) { - } - void GetSourceIdImpl(ConsoleMessagePeer* peer) { - } - Ark_Int32 GetLineNumberImpl(ConsoleMessagePeer* peer) { - return 0; - } - Ark_NativePointer GetMessageLevelImpl(ConsoleMessagePeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl(const Ark_String* message, + const Ark_String* sourceId, + const Ark_Number* lineNumber, + Ark_Int32 messageLevel) + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetMessageImpl(ConsoleMessagePeer* peer) + { + } + void GetSourceIdImpl(ConsoleMessagePeer* peer) + { + } + Ark_Int32 GetLineNumberImpl(ConsoleMessagePeer* peer) + { + return 0; + } + Ark_NativePointer GetMessageLevelImpl(ConsoleMessagePeer* peer) + { + return 0; + } } // ConsoleMessageModifier namespace WebResourceRequestModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_NativePointer GetRequestHeaderImpl(WebResourceRequestPeer* peer) { - return 0; - } - void GetRequestUrlImpl(WebResourceRequestPeer* peer) { - } - Ark_Boolean IsRequestGestureImpl(WebResourceRequestPeer* peer) { - return 0; - } - Ark_Boolean IsMainFrameImpl(WebResourceRequestPeer* peer) { - return 0; - } - Ark_Boolean IsRedirectImpl(WebResourceRequestPeer* peer) { - return 0; - } - void GetRequestMethodImpl(WebResourceRequestPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_NativePointer GetRequestHeaderImpl(WebResourceRequestPeer* peer) + { + return 0; + } + void GetRequestUrlImpl(WebResourceRequestPeer* peer) + { + } + Ark_Boolean IsRequestGestureImpl(WebResourceRequestPeer* peer) + { + return 0; + } + Ark_Boolean IsMainFrameImpl(WebResourceRequestPeer* peer) + { + return 0; + } + Ark_Boolean IsRedirectImpl(WebResourceRequestPeer* peer) + { + return 0; + } + void GetRequestMethodImpl(WebResourceRequestPeer* peer) + { + } } // WebResourceRequestModifier namespace WebResourceErrorModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetErrorInfoImpl(WebResourceErrorPeer* peer) { - } - Ark_Int32 GetErrorCodeImpl(WebResourceErrorPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetErrorInfoImpl(WebResourceErrorPeer* peer) + { + } + Ark_Int32 GetErrorCodeImpl(WebResourceErrorPeer* peer) + { + return 0; + } } // WebResourceErrorModifier namespace WebResourceResponseModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetResponseDataImpl(WebResourceResponsePeer* peer) { - } - void GetResponseEncodingImpl(WebResourceResponsePeer* peer) { - } - void GetResponseMimeTypeImpl(WebResourceResponsePeer* peer) { - } - void GetReasonMessageImpl(WebResourceResponsePeer* peer) { - } - Ark_NativePointer GetResponseHeaderImpl(WebResourceResponsePeer* peer) { - return 0; - } - Ark_Int32 GetResponseCodeImpl(WebResourceResponsePeer* peer) { - return 0; - } - void SetResponseDataImpl(WebResourceResponsePeer* peer, const Union_String_Number_Resource_ArrayBuffer* data) { - } - void SetResponseEncodingImpl(WebResourceResponsePeer* peer, const Ark_String* encoding) { - } - void SetResponseMimeTypeImpl(WebResourceResponsePeer* peer, const Ark_String* mimeType) { - } - void SetReasonMessageImpl(WebResourceResponsePeer* peer, const Ark_String* reason) { - } - void SetResponseHeaderImpl(WebResourceResponsePeer* peer, const Array_Header* header) { - } - void SetResponseCodeImpl(WebResourceResponsePeer* peer, const Ark_Number* code) { - } - void SetResponseIsReadyImpl(WebResourceResponsePeer* peer, Ark_Boolean IsReady) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetResponseDataImpl(WebResourceResponsePeer* peer) + { + } + void GetResponseEncodingImpl(WebResourceResponsePeer* peer) + { + } + void GetResponseMimeTypeImpl(WebResourceResponsePeer* peer) + { + } + void GetReasonMessageImpl(WebResourceResponsePeer* peer) + { + } + Ark_NativePointer GetResponseHeaderImpl(WebResourceResponsePeer* peer) + { + return 0; + } + Ark_Int32 GetResponseCodeImpl(WebResourceResponsePeer* peer) + { + return 0; + } + void SetResponseDataImpl(WebResourceResponsePeer* peer, + const Union_String_Number_Resource_ArrayBuffer* data) + { + } + void SetResponseEncodingImpl(WebResourceResponsePeer* peer, + const Ark_String* encoding) + { + } + void SetResponseMimeTypeImpl(WebResourceResponsePeer* peer, + const Ark_String* mimeType) + { + } + void SetReasonMessageImpl(WebResourceResponsePeer* peer, + const Ark_String* reason) + { + } + void SetResponseHeaderImpl(WebResourceResponsePeer* peer, + const Array_Header* header) + { + } + void SetResponseCodeImpl(WebResourceResponsePeer* peer, + const Ark_Number* code) + { + } + void SetResponseIsReadyImpl(WebResourceResponsePeer* peer, + Ark_Boolean IsReady) + { + } } // WebResourceResponseModifier namespace FileSelectorResultModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void HandleFileListImpl(FileSelectorResultPeer* peer, const Array_String* fileList) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void HandleFileListImpl(FileSelectorResultPeer* peer, + const Array_String* fileList) + { + } } // FileSelectorResultModifier namespace FileSelectorParamModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetTitleImpl(FileSelectorParamPeer* peer) { - } - Ark_NativePointer GetModeImpl(FileSelectorParamPeer* peer) { - return 0; - } - Ark_NativePointer GetAcceptTypeImpl(FileSelectorParamPeer* peer) { - return 0; - } - Ark_Boolean IsCaptureImpl(FileSelectorParamPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetTitleImpl(FileSelectorParamPeer* peer) + { + } + Ark_NativePointer GetModeImpl(FileSelectorParamPeer* peer) + { + return 0; + } + Ark_NativePointer GetAcceptTypeImpl(FileSelectorParamPeer* peer) + { + return 0; + } + Ark_Boolean IsCaptureImpl(FileSelectorParamPeer* peer) + { + return 0; + } } // FileSelectorParamModifier namespace FullScreenExitHandlerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ExitFullScreenImpl(FullScreenExitHandlerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ExitFullScreenImpl(FullScreenExitHandlerPeer* peer) + { + } } // FullScreenExitHandlerModifier namespace HttpAuthHandlerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_Boolean ConfirmImpl(HttpAuthHandlerPeer* peer, const Ark_String* userName, const Ark_String* password) { - return 0; - } - void CancelImpl(HttpAuthHandlerPeer* peer) { - } - Ark_Boolean IsHttpAuthInfoSavedImpl(HttpAuthHandlerPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_Boolean ConfirmImpl(HttpAuthHandlerPeer* peer, + const Ark_String* userName, + const Ark_String* password) + { + return 0; + } + void CancelImpl(HttpAuthHandlerPeer* peer) + { + } + Ark_Boolean IsHttpAuthInfoSavedImpl(HttpAuthHandlerPeer* peer) + { + return 0; + } } // HttpAuthHandlerModifier namespace PermissionRequestModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void DenyImpl(PermissionRequestPeer* peer) { - } - void GetOriginImpl(PermissionRequestPeer* peer) { - } - Ark_NativePointer GetAccessibleResourceImpl(PermissionRequestPeer* peer) { - return 0; - } - void GrantImpl(PermissionRequestPeer* peer, const Array_String* resources) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void DenyImpl(PermissionRequestPeer* peer) + { + } + void GetOriginImpl(PermissionRequestPeer* peer) + { + } + Ark_NativePointer GetAccessibleResourceImpl(PermissionRequestPeer* peer) + { + return 0; + } + void GrantImpl(PermissionRequestPeer* peer, + const Array_String* resources) + { + } } // PermissionRequestModifier namespace ScreenCaptureHandlerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetOriginImpl(ScreenCaptureHandlerPeer* peer) { - } - void GrantImpl(ScreenCaptureHandlerPeer* peer, const Ark_ScreenCaptureConfig* config) { - } - void DenyImpl(ScreenCaptureHandlerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetOriginImpl(ScreenCaptureHandlerPeer* peer) + { + } + void GrantImpl(ScreenCaptureHandlerPeer* peer, + const Ark_ScreenCaptureConfig* config) + { + } + void DenyImpl(ScreenCaptureHandlerPeer* peer) + { + } } // ScreenCaptureHandlerModifier namespace WebContextMenuParamModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_Int32 XImpl(WebContextMenuParamPeer* peer) { - return 0; - } - Ark_Int32 YImpl(WebContextMenuParamPeer* peer) { - return 0; - } - void GetLinkUrlImpl(WebContextMenuParamPeer* peer) { - } - void GetUnfilteredLinkUrlImpl(WebContextMenuParamPeer* peer) { - } - void GetSourceUrlImpl(WebContextMenuParamPeer* peer) { - } - Ark_Boolean ExistsImageContentsImpl(WebContextMenuParamPeer* peer) { - return 0; - } - Ark_NativePointer GetMediaTypeImpl(WebContextMenuParamPeer* peer) { - return 0; - } - void GetSelectionTextImpl(WebContextMenuParamPeer* peer) { - } - Ark_NativePointer GetSourceTypeImpl(WebContextMenuParamPeer* peer) { - return 0; - } - Ark_NativePointer GetInputFieldTypeImpl(WebContextMenuParamPeer* peer) { - return 0; - } - Ark_Boolean IsEditableImpl(WebContextMenuParamPeer* peer) { - return 0; - } - Ark_Int32 GetEditStateFlagsImpl(WebContextMenuParamPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_Int32 XImpl(WebContextMenuParamPeer* peer) + { + return 0; + } + Ark_Int32 YImpl(WebContextMenuParamPeer* peer) + { + return 0; + } + void GetLinkUrlImpl(WebContextMenuParamPeer* peer) + { + } + void GetUnfilteredLinkUrlImpl(WebContextMenuParamPeer* peer) + { + } + void GetSourceUrlImpl(WebContextMenuParamPeer* peer) + { + } + Ark_Boolean ExistsImageContentsImpl(WebContextMenuParamPeer* peer) + { + return 0; + } + Ark_NativePointer GetMediaTypeImpl(WebContextMenuParamPeer* peer) + { + return 0; + } + void GetSelectionTextImpl(WebContextMenuParamPeer* peer) + { + } + Ark_NativePointer GetSourceTypeImpl(WebContextMenuParamPeer* peer) + { + return 0; + } + Ark_NativePointer GetInputFieldTypeImpl(WebContextMenuParamPeer* peer) + { + return 0; + } + Ark_Boolean IsEditableImpl(WebContextMenuParamPeer* peer) + { + return 0; + } + Ark_Int32 GetEditStateFlagsImpl(WebContextMenuParamPeer* peer) + { + return 0; + } } // WebContextMenuParamModifier namespace WebContextMenuResultModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void CloseContextMenuImpl(WebContextMenuResultPeer* peer) { - } - void CopyImageImpl(WebContextMenuResultPeer* peer) { - } - void CopyImpl(WebContextMenuResultPeer* peer) { - } - void PasteImpl(WebContextMenuResultPeer* peer) { - } - void CutImpl(WebContextMenuResultPeer* peer) { - } - void SelectAllImpl(WebContextMenuResultPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void CloseContextMenuImpl(WebContextMenuResultPeer* peer) + { + } + void CopyImageImpl(WebContextMenuResultPeer* peer) + { + } + void CopyImpl(WebContextMenuResultPeer* peer) + { + } + void PasteImpl(WebContextMenuResultPeer* peer) + { + } + void CutImpl(WebContextMenuResultPeer* peer) + { + } + void SelectAllImpl(WebContextMenuResultPeer* peer) + { + } } // WebContextMenuResultModifier namespace SslErrorHandlerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void HandleConfirmImpl(SslErrorHandlerPeer* peer) { - } - void HandleCancelImpl(SslErrorHandlerPeer* peer) { - } - } // SslErrorHandlerModifier - namespace ClientAuthenticationHandlerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void Confirm_string_stringImpl(ClientAuthenticationHandlerPeer* peer, const Ark_String* priKeyFile, const Ark_String* certChainFile) { - } - void Confirm_stringImpl(ClientAuthenticationHandlerPeer* peer, const Ark_String* authUri) { - } - void CancelImpl(ClientAuthenticationHandlerPeer* peer) { - } - void IgnoreImpl(ClientAuthenticationHandlerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void HandleConfirmImpl(SslErrorHandlerPeer* peer) + { + } + void HandleCancelImpl(SslErrorHandlerPeer* peer) + { + } + } // SslErrorHandlerModifier + namespace ClientAuthenticationHandlerModifier { + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void Confirm0Impl(ClientAuthenticationHandlerPeer* peer, + const Ark_String* priKeyFile, + const Ark_String* certChainFile) + { + } + void Confirm1Impl(ClientAuthenticationHandlerPeer* peer, + const Ark_String* authUri) + { + } + void CancelImpl(ClientAuthenticationHandlerPeer* peer) + { + } + void IgnoreImpl(ClientAuthenticationHandlerPeer* peer) + { + } } // ClientAuthenticationHandlerModifier namespace ControllerHandlerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SetWebControllerImpl(ControllerHandlerPeer* peer, const Ark_CustomObject* controller) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SetWebControllerImpl(ControllerHandlerPeer* peer, + const Ark_CustomObject* controller) + { + } } // ControllerHandlerModifier namespace DataResubmissionHandlerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void ResendImpl(DataResubmissionHandlerPeer* peer) { - } - void CancelImpl(DataResubmissionHandlerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void ResendImpl(DataResubmissionHandlerPeer* peer) + { + } + void CancelImpl(DataResubmissionHandlerPeer* peer) + { + } } // DataResubmissionHandlerModifier namespace EventResultModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SetGestureEventResultImpl(EventResultPeer* peer, Ark_Boolean result) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SetGestureEventResultImpl(EventResultPeer* peer, + Ark_Boolean result) + { + } } // EventResultModifier namespace WebKeyboardControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void InsertTextImpl(WebKeyboardControllerPeer* peer, const Ark_String* text) { - } - void DeleteForwardImpl(WebKeyboardControllerPeer* peer, const Ark_Number* length) { - } - void DeleteBackwardImpl(WebKeyboardControllerPeer* peer, const Ark_Number* length) { - } - void SendFunctionKeyImpl(WebKeyboardControllerPeer* peer, const Ark_Number* key) { - } - void CloseImpl(WebKeyboardControllerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void InsertTextImpl(WebKeyboardControllerPeer* peer, + const Ark_String* text) + { + } + void DeleteForwardImpl(WebKeyboardControllerPeer* peer, + const Ark_Number* length) + { + } + void DeleteBackwardImpl(WebKeyboardControllerPeer* peer, + const Ark_Number* length) + { + } + void SendFunctionKeyImpl(WebKeyboardControllerPeer* peer, + const Ark_Number* key) + { + } + void CloseImpl(WebKeyboardControllerPeer* peer) + { + } } // WebKeyboardControllerModifier namespace XComponentControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void GetXComponentSurfaceIdImpl(XComponentControllerPeer* peer) { - } - Ark_NativePointer GetXComponentContextImpl(XComponentControllerPeer* peer) { - return 0; - } - void SetXComponentSurfaceSizeImpl(XComponentControllerPeer* peer, const Literal_surfaceWidth_Number_surfaceHeight_Number* value) { - } - void SetXComponentSurfaceRectImpl(XComponentControllerPeer* peer, const Ark_SurfaceRect* rect) { - } - Ark_NativePointer GetXComponentSurfaceRectImpl(XComponentControllerPeer* peer) { - return 0; - } - void SetXComponentSurfaceRotationImpl(XComponentControllerPeer* peer, const Ark_SurfaceRotationOptions* rotationOptions) { - } - Ark_NativePointer GetXComponentSurfaceRotationImpl(XComponentControllerPeer* peer) { - return 0; - } - void OnSurfaceCreatedImpl(XComponentControllerPeer* peer, const Ark_String* surfaceId) { - } - void OnSurfaceChangedImpl(XComponentControllerPeer* peer, const Ark_String* surfaceId, const Ark_SurfaceRect* rect) { - } - void OnSurfaceDestroyedImpl(XComponentControllerPeer* peer, const Ark_String* surfaceId) { - } - Ark_NativePointer StartImageAnalyzerImpl(XComponentControllerPeer* peer, const Ark_ImageAnalyzerConfig* config) { - return 0; - } - void StopImageAnalyzerImpl(XComponentControllerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void GetXComponentSurfaceIdImpl(XComponentControllerPeer* peer) + { + } + Ark_NativePointer GetXComponentContextImpl(XComponentControllerPeer* peer) + { + return 0; + } + void SetXComponentSurfaceSizeImpl(XComponentControllerPeer* peer, + const Literal_Number_surfaceWidth_surfaceHeight* value) + { + } + void SetXComponentSurfaceRectImpl(XComponentControllerPeer* peer, + const Ark_SurfaceRect* rect) + { + } + Ark_NativePointer GetXComponentSurfaceRectImpl(XComponentControllerPeer* peer) + { + return 0; + } + void SetXComponentSurfaceRotationImpl(XComponentControllerPeer* peer, + const Ark_SurfaceRotationOptions* rotationOptions) + { + } + Ark_NativePointer GetXComponentSurfaceRotationImpl(XComponentControllerPeer* peer) + { + return 0; + } + void OnSurfaceCreatedImpl(XComponentControllerPeer* peer, + const Ark_String* surfaceId) + { + } + void OnSurfaceChangedImpl(XComponentControllerPeer* peer, + const Ark_String* surfaceId, + const Ark_SurfaceRect* rect) + { + } + void OnSurfaceDestroyedImpl(XComponentControllerPeer* peer, + const Ark_String* surfaceId) + { + } + Ark_NativePointer StartImageAnalyzerImpl(XComponentControllerPeer* peer, + const Ark_ImageAnalyzerConfig* config) + { + return 0; + } + void StopImageAnalyzerImpl(XComponentControllerPeer* peer) + { + } } // XComponentControllerModifier namespace WaterFlowSectionsModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - Ark_Boolean SpliceImpl(WaterFlowSectionsPeer* peer, const Ark_Number* start, const Opt_Number* deleteCount, const Opt_Array_SectionOptions* sections) { - return 0; - } - Ark_Boolean PushImpl(WaterFlowSectionsPeer* peer, const Ark_SectionOptions* section) { - return 0; - } - Ark_Boolean UpdateImpl(WaterFlowSectionsPeer* peer, const Ark_Number* sectionIndex, const Ark_SectionOptions* section) { - return 0; - } - Ark_NativePointer ValuesImpl(WaterFlowSectionsPeer* peer) { - return 0; - } - Ark_Int32 LengthImpl(WaterFlowSectionsPeer* peer) { - return 0; - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + Ark_Boolean SpliceImpl(WaterFlowSectionsPeer* peer, + const Ark_Number* start, + const Opt_Number* deleteCount, + const Opt_Array_SectionOptions* sections) + { + return 0; + } + Ark_Boolean PushImpl(WaterFlowSectionsPeer* peer, + const Ark_SectionOptions* section) + { + return 0; + } + Ark_Boolean UpdateImpl(WaterFlowSectionsPeer* peer, + const Ark_Number* sectionIndex, + const Ark_SectionOptions* section) + { + return 0; + } + Ark_NativePointer ValuesImpl(WaterFlowSectionsPeer* peer) + { + return 0; + } + Ark_Int32 LengthImpl(WaterFlowSectionsPeer* peer) + { + return 0; + } } // WaterFlowSectionsModifier namespace LinearIndicatorControllerModifier { - Ark_NativePointer CtorImpl() { - return 0; - } - Ark_NativePointer GetFinalizerImpl() { - return 0; - } - void SetProgressImpl(LinearIndicatorControllerPeer* peer, const Ark_Number* index, const Ark_Number* progress) { - } - void StartImpl(LinearIndicatorControllerPeer* peer, const Opt_LinearIndicatorStartOptions* options) { - } - void PauseImpl(LinearIndicatorControllerPeer* peer) { - } - void StopImpl(LinearIndicatorControllerPeer* peer) { - } + Ark_NativePointer CtorImpl() + { + return 0; + } + Ark_NativePointer GetFinalizerImpl() + { + return 0; + } + void SetProgressImpl(LinearIndicatorControllerPeer* peer, + const Ark_Number* index, + const Ark_Number* progress) + { + } + void StartImpl(LinearIndicatorControllerPeer* peer, + const Opt_LinearIndicatorStartOptions* options) + { + } + void PauseImpl(LinearIndicatorControllerPeer* peer) + { + } + void StopImpl(LinearIndicatorControllerPeer* peer) + { + } } // LinearIndicatorControllerModifier - const GENERATED_ArkUIDrawModifierAccessor* GetDrawModifierAccessor() { + const GENERATED_ArkUIDrawModifierAccessor* GetDrawModifierAccessor() + { static const GENERATED_ArkUIDrawModifierAccessor DrawModifierAccessorImpl { DrawModifierModifier::CtorImpl, DrawModifierModifier::GetFinalizerImpl, @@ -7221,7 +11488,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &DrawModifierAccessorImpl; } - const GENERATED_ArkUIPanGestureOptionsAccessor* GetPanGestureOptionsAccessor() { + const GENERATED_ArkUIICurveAccessor* GetICurveAccessor() + { + static const GENERATED_ArkUIICurveAccessor ICurveAccessorImpl { + ICurveModifier::CtorImpl, + ICurveModifier::GetFinalizerImpl, + ICurveModifier::InterpolateImpl, + }; + return &ICurveAccessorImpl; + } + + const GENERATED_ArkUIPanGestureOptionsAccessor* GetPanGestureOptionsAccessor() + { static const GENERATED_ArkUIPanGestureOptionsAccessor PanGestureOptionsAccessorImpl { PanGestureOptionsModifier::CtorImpl, PanGestureOptionsModifier::GetFinalizerImpl, @@ -7233,7 +11511,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &PanGestureOptionsAccessorImpl; } - const GENERATED_ArkUIProgressMaskAccessor* GetProgressMaskAccessor() { + const GENERATED_ArkUIProgressMaskAccessor* GetProgressMaskAccessor() + { static const GENERATED_ArkUIProgressMaskAccessor ProgressMaskAccessorImpl { ProgressMaskModifier::CtorImpl, ProgressMaskModifier::GetFinalizerImpl, @@ -7244,7 +11523,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ProgressMaskAccessorImpl; } - const GENERATED_ArkUIAttributeModifierAccessor* GetAttributeModifierAccessor() { + const GENERATED_ArkUIAttributeModifierAccessor* GetAttributeModifierAccessor() + { static const GENERATED_ArkUIAttributeModifierAccessor AttributeModifierAccessorImpl { AttributeModifierModifier::CtorImpl, AttributeModifierModifier::GetFinalizerImpl, @@ -7257,7 +11537,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &AttributeModifierAccessorImpl; } - const GENERATED_ArkUIGestureModifierAccessor* GetGestureModifierAccessor() { + const GENERATED_ArkUIGestureModifierAccessor* GetGestureModifierAccessor() + { static const GENERATED_ArkUIGestureModifierAccessor GestureModifierAccessorImpl { GestureModifierModifier::CtorImpl, GestureModifierModifier::GetFinalizerImpl, @@ -7266,7 +11547,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &GestureModifierAccessorImpl; } - const GENERATED_ArkUIGestureRecognizerAccessor* GetGestureRecognizerAccessor() { + const GENERATED_ArkUIGestureRecognizerAccessor* GetGestureRecognizerAccessor() + { static const GENERATED_ArkUIGestureRecognizerAccessor GestureRecognizerAccessorImpl { GestureRecognizerModifier::CtorImpl, GestureRecognizerModifier::GetFinalizerImpl, @@ -7281,7 +11563,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &GestureRecognizerAccessorImpl; } - const GENERATED_ArkUIEventTargetInfoAccessor* GetEventTargetInfoAccessor() { + const GENERATED_ArkUIEventTargetInfoAccessor* GetEventTargetInfoAccessor() + { static const GENERATED_ArkUIEventTargetInfoAccessor EventTargetInfoAccessorImpl { EventTargetInfoModifier::CtorImpl, EventTargetInfoModifier::GetFinalizerImpl, @@ -7290,7 +11573,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &EventTargetInfoAccessorImpl; } - const GENERATED_ArkUIContentModifierAccessor* GetContentModifierAccessor() { + const GENERATED_ArkUIContentModifierAccessor* GetContentModifierAccessor() + { static const GENERATED_ArkUIContentModifierAccessor ContentModifierAccessorImpl { ContentModifierModifier::CtorImpl, ContentModifierModifier::GetFinalizerImpl, @@ -7299,7 +11583,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ContentModifierAccessorImpl; } - const GENERATED_ArkUICalendarControllerAccessor* GetCalendarControllerAccessor() { + const GENERATED_ArkUICalendarControllerAccessor* GetCalendarControllerAccessor() + { static const GENERATED_ArkUICalendarControllerAccessor CalendarControllerAccessorImpl { CalendarControllerModifier::CtorImpl, CalendarControllerModifier::GetFinalizerImpl, @@ -7309,7 +11594,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &CalendarControllerAccessorImpl; } - const GENERATED_ArkUICanvasRenderingContext2DAccessor* GetCanvasRenderingContext2DAccessor() { + const GENERATED_ArkUICanvasRenderingContext2DAccessor* GetCanvasRenderingContext2DAccessor() + { static const GENERATED_ArkUICanvasRenderingContext2DAccessor CanvasRenderingContext2DAccessorImpl { CanvasRenderingContext2DModifier::CtorImpl, CanvasRenderingContext2DModifier::GetFinalizerImpl, @@ -7322,30 +11608,31 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &CanvasRenderingContext2DAccessorImpl; } - const GENERATED_ArkUICanvasRendererAccessor* GetCanvasRendererAccessor() { + const GENERATED_ArkUICanvasRendererAccessor* GetCanvasRendererAccessor() + { static const GENERATED_ArkUICanvasRendererAccessor CanvasRendererAccessorImpl { CanvasRendererModifier::CtorImpl, CanvasRendererModifier::GetFinalizerImpl, - CanvasRendererModifier::DrawImage_ImageBitmapPixelMap_number_numberImpl, - CanvasRendererModifier::DrawImage_ImageBitmapPixelMap_number_number_number_numberImpl, - CanvasRendererModifier::DrawImage_ImageBitmapPixelMap_number_number_number_number_number_number_number_numberImpl, + CanvasRendererModifier::DrawImage0Impl, + CanvasRendererModifier::DrawImage1Impl, + CanvasRendererModifier::DrawImage2Impl, CanvasRendererModifier::BeginPathImpl, - CanvasRendererModifier::Clip_CanvasFillRuleImpl, - CanvasRendererModifier::Clip_PathD_CanvasFillRuleImpl, - CanvasRendererModifier::Fill_CanvasFillRuleImpl, - CanvasRendererModifier::Fill_PathD_CanvasFillRuleImpl, - CanvasRendererModifier::Stroke_Impl, - CanvasRendererModifier::Stroke_PathDImpl, + CanvasRendererModifier::Clip0Impl, + CanvasRendererModifier::Clip1Impl, + CanvasRendererModifier::Fill0Impl, + CanvasRendererModifier::Fill1Impl, + CanvasRendererModifier::Stroke0Impl, + CanvasRendererModifier::Stroke1Impl, CanvasRendererModifier::CreateLinearGradientImpl, CanvasRendererModifier::CreatePatternImpl, CanvasRendererModifier::CreateRadialGradientImpl, CanvasRendererModifier::CreateConicGradientImpl, - CanvasRendererModifier::CreateImageData_number_numberImpl, - CanvasRendererModifier::CreateImageData_ImageDataImpl, + CanvasRendererModifier::CreateImageData0Impl, + CanvasRendererModifier::CreateImageData1Impl, CanvasRendererModifier::GetImageDataImpl, CanvasRendererModifier::GetPixelMapImpl, - CanvasRendererModifier::PutImageData_ImageData_numberstring_numberstringImpl, - CanvasRendererModifier::PutImageData_ImageData_numberstring_numberstring_numberstring_numberstring_numberstring_numberstringImpl, + CanvasRendererModifier::PutImageData0Impl, + CanvasRendererModifier::PutImageData1Impl, CanvasRendererModifier::GetLineDashImpl, CanvasRendererModifier::SetLineDashImpl, CanvasRendererModifier::ClearRectImpl, @@ -7360,8 +11647,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasRendererModifier::ResetTransformImpl, CanvasRendererModifier::RotateImpl, CanvasRendererModifier::ScaleImpl, - CanvasRendererModifier::SetTransform_number_number_number_number_number_numberImpl, - CanvasRendererModifier::SetTransform_MatrixDImpl, + CanvasRendererModifier::SetTransform0Impl, + CanvasRendererModifier::SetTransform1Impl, CanvasRendererModifier::TransformImpl, CanvasRendererModifier::TranslateImpl, CanvasRendererModifier::SetPixelMapImpl, @@ -7405,7 +11692,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &CanvasRendererAccessorImpl; } - const GENERATED_ArkUICanvasPathAccessor* GetCanvasPathAccessor() { + const GENERATED_ArkUICanvasPathAccessor* GetCanvasPathAccessor() + { static const GENERATED_ArkUICanvasPathAccessor CanvasPathAccessorImpl { CanvasPathModifier::CtorImpl, CanvasPathModifier::GetFinalizerImpl, @@ -7422,7 +11710,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &CanvasPathAccessorImpl; } - const GENERATED_ArkUIImageBitmapAccessor* GetImageBitmapAccessor() { + const GENERATED_ArkUIImageBitmapAccessor* GetImageBitmapAccessor() + { static const GENERATED_ArkUIImageBitmapAccessor ImageBitmapAccessorImpl { ImageBitmapModifier::CtorImpl, ImageBitmapModifier::GetFinalizerImpl, @@ -7433,7 +11722,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ImageBitmapAccessorImpl; } - const GENERATED_ArkUIPath2DAccessor* GetPath2DAccessor() { + const GENERATED_ArkUIPath2DAccessor* GetPath2DAccessor() + { static const GENERATED_ArkUIPath2DAccessor Path2DAccessorImpl { Path2DModifier::CtorImpl, Path2DModifier::GetFinalizerImpl, @@ -7442,15 +11732,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &Path2DAccessorImpl; } - const GENERATED_ArkUIMatrix2DAccessor* GetMatrix2DAccessor() { + const GENERATED_ArkUIMatrix2DAccessor* GetMatrix2DAccessor() + { static const GENERATED_ArkUIMatrix2DAccessor Matrix2DAccessorImpl { Matrix2DModifier::CtorImpl, Matrix2DModifier::GetFinalizerImpl, Matrix2DModifier::IdentityImpl, Matrix2DModifier::InvertImpl, Matrix2DModifier::MultiplyImpl, - Matrix2DModifier::Rotate_number_numberImpl, - Matrix2DModifier::Rotate_number_number_numberImpl, + Matrix2DModifier::Rotate0Impl, + Matrix2DModifier::Rotate1Impl, Matrix2DModifier::TranslateImpl, Matrix2DModifier::ScaleImpl, Matrix2DModifier::GetScaleXImpl, @@ -7469,7 +11760,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &Matrix2DAccessorImpl; } - const GENERATED_ArkUICanvasGradientAccessor* GetCanvasGradientAccessor() { + const GENERATED_ArkUICanvasGradientAccessor* GetCanvasGradientAccessor() + { static const GENERATED_ArkUICanvasGradientAccessor CanvasGradientAccessorImpl { CanvasGradientModifier::CtorImpl, CanvasGradientModifier::GetFinalizerImpl, @@ -7478,7 +11770,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &CanvasGradientAccessorImpl; } - const GENERATED_ArkUICanvasPatternAccessor* GetCanvasPatternAccessor() { + const GENERATED_ArkUICanvasPatternAccessor* GetCanvasPatternAccessor() + { static const GENERATED_ArkUICanvasPatternAccessor CanvasPatternAccessorImpl { CanvasPatternModifier::CtorImpl, CanvasPatternModifier::GetFinalizerImpl, @@ -7487,7 +11780,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &CanvasPatternAccessorImpl; } - const GENERATED_ArkUIDrawingRenderingContextAccessor* GetDrawingRenderingContextAccessor() { + const GENERATED_ArkUIDrawingRenderingContextAccessor* GetDrawingRenderingContextAccessor() + { static const GENERATED_ArkUIDrawingRenderingContextAccessor DrawingRenderingContextAccessorImpl { DrawingRenderingContextModifier::CtorImpl, DrawingRenderingContextModifier::GetFinalizerImpl, @@ -7496,7 +11790,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &DrawingRenderingContextAccessorImpl; } - const GENERATED_ArkUIImageAnalyzerControllerAccessor* GetImageAnalyzerControllerAccessor() { + const GENERATED_ArkUIImageAnalyzerControllerAccessor* GetImageAnalyzerControllerAccessor() + { static const GENERATED_ArkUIImageAnalyzerControllerAccessor ImageAnalyzerControllerAccessorImpl { ImageAnalyzerControllerModifier::CtorImpl, ImageAnalyzerControllerModifier::GetFinalizerImpl, @@ -7505,15 +11800,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ImageAnalyzerControllerAccessorImpl; } - const GENERATED_ArkUIScrollerAccessor* GetScrollerAccessor() { + const GENERATED_ArkUIScrollerAccessor* GetScrollerAccessor() + { static const GENERATED_ArkUIScrollerAccessor ScrollerAccessorImpl { ScrollerModifier::CtorImpl, ScrollerModifier::GetFinalizerImpl, ScrollerModifier::ScrollToImpl, ScrollerModifier::ScrollEdgeImpl, ScrollerModifier::FlingImpl, - ScrollerModifier::ScrollPage_ScrollPageOptionsImpl, - ScrollerModifier::ScrollPage_nextbooleandirectionAxisImpl, + ScrollerModifier::ScrollPage0Impl, + ScrollerModifier::ScrollPage1Impl, ScrollerModifier::CurrentOffsetImpl, ScrollerModifier::ScrollToIndexImpl, ScrollerModifier::ScrollByImpl, @@ -7523,7 +11819,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ScrollerAccessorImpl; } - const GENERATED_ArkUIChildrenMainSizeAccessor* GetChildrenMainSizeAccessor() { + const GENERATED_ArkUIChildrenMainSizeAccessor* GetChildrenMainSizeAccessor() + { static const GENERATED_ArkUIChildrenMainSizeAccessor ChildrenMainSizeAccessorImpl { ChildrenMainSizeModifier::CtorImpl, ChildrenMainSizeModifier::GetFinalizerImpl, @@ -7533,7 +11830,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ChildrenMainSizeAccessorImpl; } - const GENERATED_ArkUINavigationTransitionProxyAccessor* GetNavigationTransitionProxyAccessor() { + const GENERATED_ArkUINavigationTransitionProxyAccessor* GetNavigationTransitionProxyAccessor() + { static const GENERATED_ArkUINavigationTransitionProxyAccessor NavigationTransitionProxyAccessorImpl { NavigationTransitionProxyModifier::CtorImpl, NavigationTransitionProxyModifier::GetFinalizerImpl, @@ -7548,29 +11846,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &NavigationTransitionProxyAccessorImpl; } - const GENERATED_ArkUINavPathStackAccessor* GetNavPathStackAccessor() { + const GENERATED_ArkUINavPathStackAccessor* GetNavPathStackAccessor() + { static const GENERATED_ArkUINavPathStackAccessor NavPathStackAccessorImpl { NavPathStackModifier::CtorImpl, NavPathStackModifier::GetFinalizerImpl, - NavPathStackModifier::PushPath_NavPathInfo_booleanImpl, - NavPathStackModifier::PushPath_NavPathInfo_NavigationOptionsImpl, - NavPathStackModifier::PushDestination_NavPathInfo_booleanImpl, - NavPathStackModifier::PushDestination_NavPathInfo_NavigationOptionsImpl, - NavPathStackModifier::PushPathByName_string_unknown_booleanImpl, - NavPathStackModifier::PushPathByName_string_Object_IMPORTCallbackPopInfoFROMapiohosbase_booleanImpl, - NavPathStackModifier::PushDestinationByName_string_Object_booleanImpl, - NavPathStackModifier::PushDestinationByName_string_Object_IMPORTCallbackPopInfoFROMapiohosbase_booleanImpl, - NavPathStackModifier::ReplacePath_NavPathInfo_booleanImpl, - NavPathStackModifier::ReplacePath_NavPathInfo_NavigationOptionsImpl, + NavPathStackModifier::PushPath0Impl, + NavPathStackModifier::PushPath1Impl, + NavPathStackModifier::PushDestination0Impl, + NavPathStackModifier::PushDestination1Impl, + NavPathStackModifier::PushPathByName0Impl, + NavPathStackModifier::PushPathByName1Impl, + NavPathStackModifier::PushDestinationByName0Impl, + NavPathStackModifier::PushDestinationByName1Impl, + NavPathStackModifier::ReplacePath0Impl, + NavPathStackModifier::ReplacePath1Impl, NavPathStackModifier::ReplacePathByNameImpl, NavPathStackModifier::RemoveByIndexesImpl, NavPathStackModifier::RemoveByNameImpl, - NavPathStackModifier::Pop_booleanImpl, - NavPathStackModifier::Pop_Object_booleanImpl, - NavPathStackModifier::PopToName_string_booleanImpl, - NavPathStackModifier::PopToName_string_Object_booleanImpl, - NavPathStackModifier::PopToIndex_number_booleanImpl, - NavPathStackModifier::PopToIndex_number_Object_booleanImpl, + NavPathStackModifier::Pop0Impl, + NavPathStackModifier::Pop1Impl, + NavPathStackModifier::PopToName0Impl, + NavPathStackModifier::PopToName1Impl, + NavPathStackModifier::PopToIndex0Impl, + NavPathStackModifier::PopToIndex1Impl, NavPathStackModifier::MoveToTopImpl, NavPathStackModifier::MoveIndexToTopImpl, NavPathStackModifier::ClearImpl, @@ -7586,7 +11885,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &NavPathStackAccessorImpl; } - const GENERATED_ArkUINavDestinationContextAccessor* GetNavDestinationContextAccessor() { + const GENERATED_ArkUINavDestinationContextAccessor* GetNavDestinationContextAccessor() + { static const GENERATED_ArkUINavDestinationContextAccessor NavDestinationContextAccessorImpl { NavDestinationContextModifier::CtorImpl, NavDestinationContextModifier::GetFinalizerImpl, @@ -7599,7 +11899,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &NavDestinationContextAccessorImpl; } - const GENERATED_ArkUIPatternLockControllerAccessor* GetPatternLockControllerAccessor() { + const GENERATED_ArkUIPatternLockControllerAccessor* GetPatternLockControllerAccessor() + { static const GENERATED_ArkUIPatternLockControllerAccessor PatternLockControllerAccessorImpl { PatternLockControllerModifier::CtorImpl, PatternLockControllerModifier::GetFinalizerImpl, @@ -7609,7 +11910,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &PatternLockControllerAccessorImpl; } - const GENERATED_ArkUIEditMenuOptionsAccessor* GetEditMenuOptionsAccessor() { + const GENERATED_ArkUIEditMenuOptionsAccessor* GetEditMenuOptionsAccessor() + { static const GENERATED_ArkUIEditMenuOptionsAccessor EditMenuOptionsAccessorImpl { EditMenuOptionsModifier::CtorImpl, EditMenuOptionsModifier::GetFinalizerImpl, @@ -7619,7 +11921,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &EditMenuOptionsAccessorImpl; } - const GENERATED_ArkUIRichEditorControllerAccessor* GetRichEditorControllerAccessor() { + const GENERATED_ArkUIRichEditorControllerAccessor* GetRichEditorControllerAccessor() + { static const GENERATED_ArkUIRichEditorControllerAccessor RichEditorControllerAccessorImpl { RichEditorControllerModifier::CtorImpl, RichEditorControllerModifier::GetFinalizerImpl, @@ -7639,7 +11942,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &RichEditorControllerAccessorImpl; } - const GENERATED_ArkUIRichEditorBaseControllerAccessor* GetRichEditorBaseControllerAccessor() { + const GENERATED_ArkUIRichEditorBaseControllerAccessor* GetRichEditorBaseControllerAccessor() + { static const GENERATED_ArkUIRichEditorBaseControllerAccessor RichEditorBaseControllerAccessorImpl { RichEditorBaseControllerModifier::CtorImpl, RichEditorBaseControllerModifier::GetFinalizerImpl, @@ -7657,7 +11961,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &RichEditorBaseControllerAccessorImpl; } - const GENERATED_ArkUITextEditControllerExAccessor* GetTextEditControllerExAccessor() { + const GENERATED_ArkUITextEditControllerExAccessor* GetTextEditControllerExAccessor() + { static const GENERATED_ArkUITextEditControllerExAccessor TextEditControllerExAccessorImpl { TextEditControllerExModifier::CtorImpl, TextEditControllerExModifier::GetFinalizerImpl, @@ -7670,7 +11975,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TextEditControllerExAccessorImpl; } - const GENERATED_ArkUITextBaseControllerAccessor* GetTextBaseControllerAccessor() { + const GENERATED_ArkUITextBaseControllerAccessor* GetTextBaseControllerAccessor() + { static const GENERATED_ArkUITextBaseControllerAccessor TextBaseControllerAccessorImpl { TextBaseControllerModifier::CtorImpl, TextBaseControllerModifier::GetFinalizerImpl, @@ -7681,7 +11987,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TextBaseControllerAccessorImpl; } - const GENERATED_ArkUILayoutManagerAccessor* GetLayoutManagerAccessor() { + const GENERATED_ArkUILayoutManagerAccessor* GetLayoutManagerAccessor() + { static const GENERATED_ArkUILayoutManagerAccessor LayoutManagerAccessorImpl { LayoutManagerModifier::CtorImpl, LayoutManagerModifier::GetFinalizerImpl, @@ -7692,7 +11999,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &LayoutManagerAccessorImpl; } - const GENERATED_ArkUIStyledStringAccessor* GetStyledStringAccessor() { + const GENERATED_ArkUIStyledStringAccessor* GetStyledStringAccessor() + { static const GENERATED_ArkUIStyledStringAccessor StyledStringAccessorImpl { StyledStringModifier::CtorImpl, StyledStringModifier::GetFinalizerImpl, @@ -7705,7 +12013,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &StyledStringAccessorImpl; } - const GENERATED_ArkUICustomSpanAccessor* GetCustomSpanAccessor() { + const GENERATED_ArkUICustomSpanAccessor* GetCustomSpanAccessor() + { static const GENERATED_ArkUICustomSpanAccessor CustomSpanAccessorImpl { CustomSpanModifier::CtorImpl, CustomSpanModifier::GetFinalizerImpl, @@ -7715,7 +12024,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &CustomSpanAccessorImpl; } - const GENERATED_ArkUIRichEditorStyledStringControllerAccessor* GetRichEditorStyledStringControllerAccessor() { + const GENERATED_ArkUIRichEditorStyledStringControllerAccessor* GetRichEditorStyledStringControllerAccessor() + { static const GENERATED_ArkUIRichEditorStyledStringControllerAccessor RichEditorStyledStringControllerAccessorImpl { RichEditorStyledStringControllerModifier::CtorImpl, RichEditorStyledStringControllerModifier::GetFinalizerImpl, @@ -7727,7 +12037,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &RichEditorStyledStringControllerAccessorImpl; } - const GENERATED_ArkUIStyledStringControllerAccessor* GetStyledStringControllerAccessor() { + const GENERATED_ArkUIStyledStringControllerAccessor* GetStyledStringControllerAccessor() + { static const GENERATED_ArkUIStyledStringControllerAccessor StyledStringControllerAccessorImpl { StyledStringControllerModifier::CtorImpl, StyledStringControllerModifier::GetFinalizerImpl, @@ -7737,7 +12048,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &StyledStringControllerAccessorImpl; } - const GENERATED_ArkUIMutableStyledStringAccessor* GetMutableStyledStringAccessor() { + const GENERATED_ArkUIMutableStyledStringAccessor* GetMutableStyledStringAccessor() + { static const GENERATED_ArkUIMutableStyledStringAccessor MutableStyledStringAccessorImpl { MutableStyledStringModifier::CtorImpl, MutableStyledStringModifier::GetFinalizerImpl, @@ -7756,7 +12068,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &MutableStyledStringAccessorImpl; } - const GENERATED_ArkUISearchControllerAccessor* GetSearchControllerAccessor() { + const GENERATED_ArkUISearchControllerAccessor* GetSearchControllerAccessor() + { static const GENERATED_ArkUISearchControllerAccessor SearchControllerAccessorImpl { SearchControllerModifier::CtorImpl, SearchControllerModifier::GetFinalizerImpl, @@ -7767,7 +12080,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &SearchControllerAccessorImpl; } - const GENERATED_ArkUITextContentControllerBaseAccessor* GetTextContentControllerBaseAccessor() { + const GENERATED_ArkUITextContentControllerBaseAccessor* GetTextContentControllerBaseAccessor() + { static const GENERATED_ArkUITextContentControllerBaseAccessor TextContentControllerBaseAccessorImpl { TextContentControllerBaseModifier::CtorImpl, TextContentControllerBaseModifier::GetFinalizerImpl, @@ -7778,7 +12092,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TextContentControllerBaseAccessorImpl; } - const GENERATED_ArkUISwiperContentTransitionProxyAccessor* GetSwiperContentTransitionProxyAccessor() { + const GENERATED_ArkUISwiperContentTransitionProxyAccessor* GetSwiperContentTransitionProxyAccessor() + { static const GENERATED_ArkUISwiperContentTransitionProxyAccessor SwiperContentTransitionProxyAccessorImpl { SwiperContentTransitionProxyModifier::CtorImpl, SwiperContentTransitionProxyModifier::GetFinalizerImpl, @@ -7795,7 +12110,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &SwiperContentTransitionProxyAccessorImpl; } - const GENERATED_ArkUISwiperControllerAccessor* GetSwiperControllerAccessor() { + const GENERATED_ArkUISwiperControllerAccessor* GetSwiperControllerAccessor() + { static const GENERATED_ArkUISwiperControllerAccessor SwiperControllerAccessorImpl { SwiperControllerModifier::CtorImpl, SwiperControllerModifier::GetFinalizerImpl, @@ -7807,7 +12123,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &SwiperControllerAccessorImpl; } - const GENERATED_ArkUITabContentTransitionProxyAccessor* GetTabContentTransitionProxyAccessor() { + const GENERATED_ArkUITabContentTransitionProxyAccessor* GetTabContentTransitionProxyAccessor() + { static const GENERATED_ArkUITabContentTransitionProxyAccessor TabContentTransitionProxyAccessorImpl { TabContentTransitionProxyModifier::CtorImpl, TabContentTransitionProxyModifier::GetFinalizerImpl, @@ -7820,7 +12137,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TabContentTransitionProxyAccessorImpl; } - const GENERATED_ArkUITabsControllerAccessor* GetTabsControllerAccessor() { + const GENERATED_ArkUITabsControllerAccessor* GetTabsControllerAccessor() + { static const GENERATED_ArkUITabsControllerAccessor TabsControllerAccessorImpl { TabsControllerModifier::CtorImpl, TabsControllerModifier::GetFinalizerImpl, @@ -7830,7 +12148,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TabsControllerAccessorImpl; } - const GENERATED_ArkUITextControllerAccessor* GetTextControllerAccessor() { + const GENERATED_ArkUITextControllerAccessor* GetTextControllerAccessor() + { static const GENERATED_ArkUITextControllerAccessor TextControllerAccessorImpl { TextControllerModifier::CtorImpl, TextControllerModifier::GetFinalizerImpl, @@ -7841,7 +12160,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TextControllerAccessorImpl; } - const GENERATED_ArkUITextAreaControllerAccessor* GetTextAreaControllerAccessor() { + const GENERATED_ArkUITextAreaControllerAccessor* GetTextAreaControllerAccessor() + { static const GENERATED_ArkUITextAreaControllerAccessor TextAreaControllerAccessorImpl { TextAreaControllerModifier::CtorImpl, TextAreaControllerModifier::GetFinalizerImpl, @@ -7852,7 +12172,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TextAreaControllerAccessorImpl; } - const GENERATED_ArkUITextClockControllerAccessor* GetTextClockControllerAccessor() { + const GENERATED_ArkUITextClockControllerAccessor* GetTextClockControllerAccessor() + { static const GENERATED_ArkUITextClockControllerAccessor TextClockControllerAccessorImpl { TextClockControllerModifier::CtorImpl, TextClockControllerModifier::GetFinalizerImpl, @@ -7862,7 +12183,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TextClockControllerAccessorImpl; } - const GENERATED_ArkUITextInputControllerAccessor* GetTextInputControllerAccessor() { + const GENERATED_ArkUITextInputControllerAccessor* GetTextInputControllerAccessor() + { static const GENERATED_ArkUITextInputControllerAccessor TextInputControllerAccessorImpl { TextInputControllerModifier::CtorImpl, TextInputControllerModifier::GetFinalizerImpl, @@ -7873,7 +12195,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TextInputControllerAccessorImpl; } - const GENERATED_ArkUITextTimerControllerAccessor* GetTextTimerControllerAccessor() { + const GENERATED_ArkUITextTimerControllerAccessor* GetTextTimerControllerAccessor() + { static const GENERATED_ArkUITextTimerControllerAccessor TextTimerControllerAccessorImpl { TextTimerControllerModifier::CtorImpl, TextTimerControllerModifier::GetFinalizerImpl, @@ -7884,23 +12207,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &TextTimerControllerAccessorImpl; } - const GENERATED_ArkUIVideoControllerAccessor* GetVideoControllerAccessor() { + const GENERATED_ArkUIVideoControllerAccessor* GetVideoControllerAccessor() + { static const GENERATED_ArkUIVideoControllerAccessor VideoControllerAccessorImpl { VideoControllerModifier::CtorImpl, VideoControllerModifier::GetFinalizerImpl, VideoControllerModifier::StartImpl, VideoControllerModifier::PauseImpl, VideoControllerModifier::StopImpl, - VideoControllerModifier::SetCurrentTime_numberImpl, + VideoControllerModifier::SetCurrentTime0Impl, VideoControllerModifier::RequestFullscreenImpl, VideoControllerModifier::ExitFullscreenImpl, - VideoControllerModifier::SetCurrentTime_number_SeekModeImpl, + VideoControllerModifier::SetCurrentTime1Impl, VideoControllerModifier::ResetImpl, }; return &VideoControllerAccessorImpl; } - const GENERATED_ArkUIWebControllerAccessor* GetWebControllerAccessor() { + const GENERATED_ArkUIWebControllerAccessor* GetWebControllerAccessor() + { static const GENERATED_ArkUIWebControllerAccessor WebControllerAccessorImpl { WebControllerModifier::CtorImpl, WebControllerModifier::GetFinalizerImpl, @@ -7927,7 +12252,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &WebControllerAccessorImpl; } - const GENERATED_ArkUIWebCookieAccessor* GetWebCookieAccessor() { + const GENERATED_ArkUIWebCookieAccessor* GetWebCookieAccessor() + { static const GENERATED_ArkUIWebCookieAccessor WebCookieAccessorImpl { WebCookieModifier::CtorImpl, WebCookieModifier::GetFinalizerImpl, @@ -7937,7 +12263,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &WebCookieAccessorImpl; } - const GENERATED_ArkUIJsGeolocationAccessor* GetJsGeolocationAccessor() { + const GENERATED_ArkUIJsGeolocationAccessor* GetJsGeolocationAccessor() + { static const GENERATED_ArkUIJsGeolocationAccessor JsGeolocationAccessorImpl { JsGeolocationModifier::CtorImpl, JsGeolocationModifier::GetFinalizerImpl, @@ -7946,7 +12273,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &JsGeolocationAccessorImpl; } - const GENERATED_ArkUIJsResultAccessor* GetJsResultAccessor() { + const GENERATED_ArkUIJsResultAccessor* GetJsResultAccessor() + { static const GENERATED_ArkUIJsResultAccessor JsResultAccessorImpl { JsResultModifier::CtorImpl, JsResultModifier::GetFinalizerImpl, @@ -7957,7 +12285,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &JsResultAccessorImpl; } - const GENERATED_ArkUIConsoleMessageAccessor* GetConsoleMessageAccessor() { + const GENERATED_ArkUIConsoleMessageAccessor* GetConsoleMessageAccessor() + { static const GENERATED_ArkUIConsoleMessageAccessor ConsoleMessageAccessorImpl { ConsoleMessageModifier::CtorImpl, ConsoleMessageModifier::GetFinalizerImpl, @@ -7969,7 +12298,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ConsoleMessageAccessorImpl; } - const GENERATED_ArkUIWebResourceRequestAccessor* GetWebResourceRequestAccessor() { + const GENERATED_ArkUIWebResourceRequestAccessor* GetWebResourceRequestAccessor() + { static const GENERATED_ArkUIWebResourceRequestAccessor WebResourceRequestAccessorImpl { WebResourceRequestModifier::CtorImpl, WebResourceRequestModifier::GetFinalizerImpl, @@ -7983,7 +12313,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &WebResourceRequestAccessorImpl; } - const GENERATED_ArkUIWebResourceErrorAccessor* GetWebResourceErrorAccessor() { + const GENERATED_ArkUIWebResourceErrorAccessor* GetWebResourceErrorAccessor() + { static const GENERATED_ArkUIWebResourceErrorAccessor WebResourceErrorAccessorImpl { WebResourceErrorModifier::CtorImpl, WebResourceErrorModifier::GetFinalizerImpl, @@ -7993,7 +12324,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &WebResourceErrorAccessorImpl; } - const GENERATED_ArkUIWebResourceResponseAccessor* GetWebResourceResponseAccessor() { + const GENERATED_ArkUIWebResourceResponseAccessor* GetWebResourceResponseAccessor() + { static const GENERATED_ArkUIWebResourceResponseAccessor WebResourceResponseAccessorImpl { WebResourceResponseModifier::CtorImpl, WebResourceResponseModifier::GetFinalizerImpl, @@ -8014,7 +12346,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &WebResourceResponseAccessorImpl; } - const GENERATED_ArkUIFileSelectorResultAccessor* GetFileSelectorResultAccessor() { + const GENERATED_ArkUIFileSelectorResultAccessor* GetFileSelectorResultAccessor() + { static const GENERATED_ArkUIFileSelectorResultAccessor FileSelectorResultAccessorImpl { FileSelectorResultModifier::CtorImpl, FileSelectorResultModifier::GetFinalizerImpl, @@ -8023,7 +12356,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &FileSelectorResultAccessorImpl; } - const GENERATED_ArkUIFileSelectorParamAccessor* GetFileSelectorParamAccessor() { + const GENERATED_ArkUIFileSelectorParamAccessor* GetFileSelectorParamAccessor() + { static const GENERATED_ArkUIFileSelectorParamAccessor FileSelectorParamAccessorImpl { FileSelectorParamModifier::CtorImpl, FileSelectorParamModifier::GetFinalizerImpl, @@ -8035,7 +12369,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &FileSelectorParamAccessorImpl; } - const GENERATED_ArkUIFullScreenExitHandlerAccessor* GetFullScreenExitHandlerAccessor() { + const GENERATED_ArkUIFullScreenExitHandlerAccessor* GetFullScreenExitHandlerAccessor() + { static const GENERATED_ArkUIFullScreenExitHandlerAccessor FullScreenExitHandlerAccessorImpl { FullScreenExitHandlerModifier::CtorImpl, FullScreenExitHandlerModifier::GetFinalizerImpl, @@ -8044,7 +12379,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &FullScreenExitHandlerAccessorImpl; } - const GENERATED_ArkUIHttpAuthHandlerAccessor* GetHttpAuthHandlerAccessor() { + const GENERATED_ArkUIHttpAuthHandlerAccessor* GetHttpAuthHandlerAccessor() + { static const GENERATED_ArkUIHttpAuthHandlerAccessor HttpAuthHandlerAccessorImpl { HttpAuthHandlerModifier::CtorImpl, HttpAuthHandlerModifier::GetFinalizerImpl, @@ -8055,7 +12391,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &HttpAuthHandlerAccessorImpl; } - const GENERATED_ArkUIPermissionRequestAccessor* GetPermissionRequestAccessor() { + const GENERATED_ArkUIPermissionRequestAccessor* GetPermissionRequestAccessor() + { static const GENERATED_ArkUIPermissionRequestAccessor PermissionRequestAccessorImpl { PermissionRequestModifier::CtorImpl, PermissionRequestModifier::GetFinalizerImpl, @@ -8067,7 +12404,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &PermissionRequestAccessorImpl; } - const GENERATED_ArkUIScreenCaptureHandlerAccessor* GetScreenCaptureHandlerAccessor() { + const GENERATED_ArkUIScreenCaptureHandlerAccessor* GetScreenCaptureHandlerAccessor() + { static const GENERATED_ArkUIScreenCaptureHandlerAccessor ScreenCaptureHandlerAccessorImpl { ScreenCaptureHandlerModifier::CtorImpl, ScreenCaptureHandlerModifier::GetFinalizerImpl, @@ -8078,7 +12416,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ScreenCaptureHandlerAccessorImpl; } - const GENERATED_ArkUIWebContextMenuParamAccessor* GetWebContextMenuParamAccessor() { + const GENERATED_ArkUIWebContextMenuParamAccessor* GetWebContextMenuParamAccessor() + { static const GENERATED_ArkUIWebContextMenuParamAccessor WebContextMenuParamAccessorImpl { WebContextMenuParamModifier::CtorImpl, WebContextMenuParamModifier::GetFinalizerImpl, @@ -8098,7 +12437,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &WebContextMenuParamAccessorImpl; } - const GENERATED_ArkUIWebContextMenuResultAccessor* GetWebContextMenuResultAccessor() { + const GENERATED_ArkUIWebContextMenuResultAccessor* GetWebContextMenuResultAccessor() + { static const GENERATED_ArkUIWebContextMenuResultAccessor WebContextMenuResultAccessorImpl { WebContextMenuResultModifier::CtorImpl, WebContextMenuResultModifier::GetFinalizerImpl, @@ -8112,7 +12452,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &WebContextMenuResultAccessorImpl; } - const GENERATED_ArkUISslErrorHandlerAccessor* GetSslErrorHandlerAccessor() { + const GENERATED_ArkUISslErrorHandlerAccessor* GetSslErrorHandlerAccessor() + { static const GENERATED_ArkUISslErrorHandlerAccessor SslErrorHandlerAccessorImpl { SslErrorHandlerModifier::CtorImpl, SslErrorHandlerModifier::GetFinalizerImpl, @@ -8122,19 +12463,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &SslErrorHandlerAccessorImpl; } - const GENERATED_ArkUIClientAuthenticationHandlerAccessor* GetClientAuthenticationHandlerAccessor() { + const GENERATED_ArkUIClientAuthenticationHandlerAccessor* GetClientAuthenticationHandlerAccessor() + { static const GENERATED_ArkUIClientAuthenticationHandlerAccessor ClientAuthenticationHandlerAccessorImpl { ClientAuthenticationHandlerModifier::CtorImpl, ClientAuthenticationHandlerModifier::GetFinalizerImpl, - ClientAuthenticationHandlerModifier::Confirm_string_stringImpl, - ClientAuthenticationHandlerModifier::Confirm_stringImpl, + ClientAuthenticationHandlerModifier::Confirm0Impl, + ClientAuthenticationHandlerModifier::Confirm1Impl, ClientAuthenticationHandlerModifier::CancelImpl, ClientAuthenticationHandlerModifier::IgnoreImpl, }; return &ClientAuthenticationHandlerAccessorImpl; } - const GENERATED_ArkUIControllerHandlerAccessor* GetControllerHandlerAccessor() { + const GENERATED_ArkUIControllerHandlerAccessor* GetControllerHandlerAccessor() + { static const GENERATED_ArkUIControllerHandlerAccessor ControllerHandlerAccessorImpl { ControllerHandlerModifier::CtorImpl, ControllerHandlerModifier::GetFinalizerImpl, @@ -8143,7 +12486,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ControllerHandlerAccessorImpl; } - const GENERATED_ArkUIDataResubmissionHandlerAccessor* GetDataResubmissionHandlerAccessor() { + const GENERATED_ArkUIDataResubmissionHandlerAccessor* GetDataResubmissionHandlerAccessor() + { static const GENERATED_ArkUIDataResubmissionHandlerAccessor DataResubmissionHandlerAccessorImpl { DataResubmissionHandlerModifier::CtorImpl, DataResubmissionHandlerModifier::GetFinalizerImpl, @@ -8153,7 +12497,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &DataResubmissionHandlerAccessorImpl; } - const GENERATED_ArkUIEventResultAccessor* GetEventResultAccessor() { + const GENERATED_ArkUIEventResultAccessor* GetEventResultAccessor() + { static const GENERATED_ArkUIEventResultAccessor EventResultAccessorImpl { EventResultModifier::CtorImpl, EventResultModifier::GetFinalizerImpl, @@ -8162,7 +12507,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &EventResultAccessorImpl; } - const GENERATED_ArkUIWebKeyboardControllerAccessor* GetWebKeyboardControllerAccessor() { + const GENERATED_ArkUIWebKeyboardControllerAccessor* GetWebKeyboardControllerAccessor() + { static const GENERATED_ArkUIWebKeyboardControllerAccessor WebKeyboardControllerAccessorImpl { WebKeyboardControllerModifier::CtorImpl, WebKeyboardControllerModifier::GetFinalizerImpl, @@ -8175,7 +12521,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &WebKeyboardControllerAccessorImpl; } - const GENERATED_ArkUIXComponentControllerAccessor* GetXComponentControllerAccessor() { + const GENERATED_ArkUIXComponentControllerAccessor* GetXComponentControllerAccessor() + { static const GENERATED_ArkUIXComponentControllerAccessor XComponentControllerAccessorImpl { XComponentControllerModifier::CtorImpl, XComponentControllerModifier::GetFinalizerImpl, @@ -8195,7 +12542,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &XComponentControllerAccessorImpl; } - const GENERATED_ArkUIWaterFlowSectionsAccessor* GetWaterFlowSectionsAccessor() { + const GENERATED_ArkUIWaterFlowSectionsAccessor* GetWaterFlowSectionsAccessor() + { static const GENERATED_ArkUIWaterFlowSectionsAccessor WaterFlowSectionsAccessorImpl { WaterFlowSectionsModifier::CtorImpl, WaterFlowSectionsModifier::GetFinalizerImpl, @@ -8208,7 +12556,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &WaterFlowSectionsAccessorImpl; } - const GENERATED_ArkUILinearIndicatorControllerAccessor* GetLinearIndicatorControllerAccessor() { + const GENERATED_ArkUILinearIndicatorControllerAccessor* GetLinearIndicatorControllerAccessor() + { static const GENERATED_ArkUILinearIndicatorControllerAccessor LinearIndicatorControllerAccessorImpl { LinearIndicatorControllerModifier::CtorImpl, LinearIndicatorControllerModifier::GetFinalizerImpl, @@ -8220,9 +12569,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &LinearIndicatorControllerAccessorImpl; } - const GENERATED_ArkUIAccessors* GENERATED_GetArkUIAccessors() { + const GENERATED_ArkUIAccessors* GENERATED_GetArkUIAccessors() + { static const GENERATED_ArkUIAccessors accessorsImpl = { GetDrawModifierAccessor, + GetICurveAccessor, GetPanGestureOptionsAccessor, GetProgressMaskAccessor, GetAttributeModifierAccessor, @@ -8298,7 +12649,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { }; return &accessorsImpl; } - const GENERATED_Ark_UtilsModifier* GENERATED_GetUtilsModifier() { + const GENERATED_Ark_UtilsModifier* GENERATED_GetUtilsModifier() + { static const GENERATED_Ark_UtilsModifier utilsImpl = { OHOS::Ace::NG::GetDensity, OHOS::Ace::NG::GetFontScale, @@ -8306,12 +12658,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { }; return &utilsImpl; } - const GENERATED_ArkUIBasicNodeAPI* GENERATED_GetBasicAPI() { + const GENERATED_ArkUIBasicNodeAPI* GENERATED_GetBasicAPI() + { static const GENERATED_ArkUIBasicNodeAPI basicNodeAPIImpl = { GENERATED_ARKUI_BASIC_NODE_API_VERSION, // version OHOS::Ace::NG::Bridge::CreateNode, OHOS::Ace::NG::ApiImpl::GetNodeByViewStack, OHOS::Ace::NG::ApiImpl::DisposeNode, + OHOS::Ace::NG::ApiImpl::DumpTreeNode, OHOS::Ace::NG::ApiImpl::AddChild, OHOS::Ace::NG::ApiImpl::RemoveChild, OHOS::Ace::NG::ApiImpl::InsertChildAfter, @@ -8325,7 +12679,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &basicNodeAPIImpl; } - const GENERATED_ArkUIExtendedNodeAPI* GENERATED_GetExtendedAPI() { + const GENERATED_ArkUIExtendedNodeAPI* GENERATED_GetExtendedAPI() + { static const GENERATED_ArkUIExtendedNodeAPI extendedNodeAPIImpl = { GENERATED_ARKUI_EXTENDED_NODE_API_VERSION, // version SetAppendGroupedLog, @@ -8369,14 +12724,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &extendedNodeAPIImpl; } - const GENERATED_ArkUIFullNodeAPI* GENERATED_GetFullAPI() { + const GENERATED_ArkUIFullNodeAPI* GENERATED_GetFullAPI() + { static const GENERATED_ArkUIFullNodeAPI fullAPIImpl = { GENERATED_ARKUI_FULL_API_VERSION, // version GENERATED_GetArkUINodeModifiers, GENERATED_GetArkUIAccessors, nullptr, - nullptr, - nullptr, OHOS::Ace::NG::GeneratedEvents::GENERATED_GetArkUiEventsAPI, GENERATED_GetExtendedAPI, OHOS::Ace::NG::GeneratedEvents::GENERATED_SetArkUiEventsAPI @@ -8387,8 +12741,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { EXTERN_C IDLIZE_API_EXPORT const GENERATED_ArkUIAnyAPI* GENERATED_GetArkAnyAPI( GENERATED_Ark_APIVariantKind kind, int version) { - switch (kind) - { + switch (kind) { case GENERATED_FULL: if (version == GENERATED_ARKUI_FULL_API_VERSION) { return reinterpret_cast(GENERATED_GetFullAPI()); diff --git a/arkoala/framework/native/src/library.cc b/arkoala/framework/native/src/library.cc index 289e70ec38faed38b92308530be35c7afe8a6f0f..50f66d3099f42e2adb3912cffb9dad6a8246768a 100644 --- a/arkoala/framework/native/src/library.cc +++ b/arkoala/framework/native/src/library.cc @@ -549,107 +549,6 @@ KInt impl_UnblockVsyncWait(KVMContext vmContextPtr, KNativePointer pipelineConte KOALA_INTEROP_CTX_1(UnblockVsyncWait, KInt, KNativePointer) // common -void impl_CommonMethod_linearGradient(KNativePointer nodePtr, KFloat angle, KInt direction, KBoolean repeat, KFloat* colors, KInt colorsLength) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - ArkUIInt32orFloat32 values[4]; - setIntOrFloatElement(values, 0, 1); // hasValue - values[1].f32 = angle; - setIntOrFloatElement(values, 2, direction); - setIntOrFloatElement(values, 3, repeat ? 1 : 0); - GetNodeModifiers()->getCommonModifier()->setLinearGradient(node, values, 4, reinterpret_cast(colors), colorsLength); -} -KOALA_INTEROP_V6(CommonMethod_linearGradient, KNativePointer, KFloat, KInt, KBoolean, KFloat*, KInt) - -void impl_CommonMethod_Reset_linearGradient(KNativePointer nodePtr) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->resetLinearGradient(node); -} -KOALA_INTEROP_V1(CommonMethod_Reset_linearGradient, KNativePointer) - -void impl_CommonMethod_borderRadius(KNativePointer nodePtr, KFloat* values, KInt* units, KInt length) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setBorderRadius(node, values, units, length); -} -KOALA_INTEROP_V4(CommonMethod_borderRadius, KNativePointer, KFloat*, KInt*, KInt) - -void impl_CommonMethod_Reset_borderRadius(KNativePointer nodePtr) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->resetBorderRadius(node); -} -KOALA_INTEROP_V1(CommonMethod_Reset_borderRadius, KNativePointer) - -void impl_CommonMethod_borderColor(KNativePointer nodePtr, KInt* colors, int length) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setBorderColor(node, - colors[0], colors[1], colors[2], colors[3]); -} -KOALA_INTEROP_V3(CommonMethod_borderColor, KNativePointer, KInt*, KInt) - -void impl_CommonMethod_Reset_borderColor(KNativePointer nodePtr) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->resetBorderColor(node); -} -KOALA_INTEROP_V1(CommonMethod_Reset_borderColor, KNativePointer) - -void impl_CommonMethod_zIndex(KNativePointer nodePtr, KInt value) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setZIndex(node, value); -} -KOALA_INTEROP_V2(CommonMethod_zIndex, KNativePointer, KInt) - -void impl_CommonMethod_Reset_zIndex(KNativePointer nodePtr) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->resetZIndex(node); -} -KOALA_INTEROP_V1(CommonMethod_Reset_zIndex, KNativePointer) - -void impl_CommonMethod_border(KNativePointer nodePtr, KFloat* widthValues, KInt* widthUnits, KInt* colors, KFloat* radiusValues, KInt* radiusUnits, KInt* styles) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - ArkUI_Float32 values[24]; - setDimensionElement(values, 0, widthValues, widthUnits, 0); - setDimensionElement(values, 3, widthValues, widthUnits, 1); - setDimensionElement(values, 6, widthValues, widthUnits, 2); - setDimensionElement(values, 9, widthValues, widthUnits, 3); - setDimensionElement(values, 12, radiusValues, radiusUnits, 0); - setDimensionElement(values, 15, radiusValues, widthUnits, 1); - setDimensionElement(values, 18, radiusValues, widthUnits, 2); - setDimensionElement(values, 21, radiusValues, widthUnits, 3); - - ArkUI_Uint32 colorsAndStyle[16]; - colorsAndStyle[0] = 1; // hasValue - colorsAndStyle[1] = colors[0]; - colorsAndStyle[2] = 1; // hasValue - colorsAndStyle[3] = colors[1]; - colorsAndStyle[4] = 1; // hasValue - colorsAndStyle[5] = colors[2]; - colorsAndStyle[6] = 1; // hasValue - colorsAndStyle[7] = colors[3]; - - colorsAndStyle[8] = 1; // hasValue - colorsAndStyle[9] = styles[0]; - colorsAndStyle[10] = 1; // hasValue - colorsAndStyle[11] = styles[1]; - colorsAndStyle[12] = 1; // hasValue - colorsAndStyle[13] = styles[2]; - colorsAndStyle[14] = 1; // hasValue - colorsAndStyle[15] = styles[3]; - - GetNodeModifiers()->getCommonModifier()->setBorder(node, values, 24, colorsAndStyle, 16); -} -KOALA_INTEROP_V7(CommonMethod_border, KNativePointer, KFloat*, KInt*, KInt*, KFloat*, KInt*, KInt*) - -void impl_CommonMethod_Reset_border(KNativePointer nodePtr) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->resetBorder(node); -} -KOALA_INTEROP_V1(CommonMethod_Reset_border, KNativePointer) - -void impl_CommonMethod_borderWidth(KNativePointer nodePtr, KFloat* widthValues, KInt* widthUnits, KInt length) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setBorderWidth(node, widthValues, widthUnits, length); -} -KOALA_INTEROP_V4(CommonMethod_borderWidth, KNativePointer, KFloat*, KInt*, KInt) - void impl_CommonMethod_clip(KNativePointer nodePtr, KBoolean value) { ArkUINodeHandle node = reinterpret_cast(nodePtr); GetNodeModifiers()->getCommonModifier()->setClip(node, value); @@ -662,65 +561,6 @@ void impl_CommonMethod_Reset_clip(KNativePointer nodePtr) { } KOALA_INTEROP_V1(CommonMethod_Reset_clip, KNativePointer) -void impl_CommonMethod_backgroundImage(KNativePointer nodePtr, const KStringPtr& srcPtr, const KStringPtr& bundleNamePtr, const KStringPtr& moduleNamePtr, KInt repeat) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - auto src = getString(srcPtr); - auto bundleName = getString(bundleNamePtr); - auto moduleName = getString(moduleNamePtr); - GetNodeModifiers()->getCommonModifier()->setBackgroundImage(node, src, bundleName, moduleName, repeat); -} -KOALA_INTEROP_V5(CommonMethod_backgroundImage, KNativePointer, KStringPtr, KStringPtr, KStringPtr, KInt) - -void impl_CommonMethod_Reset_backgroundImage(KNativePointer nodePtr) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->resetBackgroundImage(node); -} -KOALA_INTEROP_V1(CommonMethod_Reset_backgroundImage, KNativePointer) - -void impl_CommonMethod_backgroundImagePosition(KNativePointer nodePtr, KFloat *valuesAndTypes, KInt length) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - ArkUI_Float32 values[2]; - values[0] = valuesAndTypes[0]; - values[1] = valuesAndTypes[2]; - ArkUI_Int32 types[2]; - types[0] = intJsElement(valuesAndTypes, 1); - types[1] = intJsElement(valuesAndTypes, 3); - GetNodeModifiers()->getCommonModifier()->setBackgroundImagePosition(node, values, types, /* isAlign */ 0, length); -} -KOALA_INTEROP_V3(CommonMethod_backgroundImagePosition, KNativePointer, KFloat*, KInt) - -void impl_CommonMethod_backgroundBlurStyle(KNativePointer nodePtr, KInt value, KInt colorMode, KInt adaptiveColor, KFloat scale) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - auto values = std::make_unique(3); - values[0] = value; - values[1] = colorMode; - values[2] = adaptiveColor; - GetNodeModifiers()->getCommonModifier()->setBackgroundBlurStyle(node, reinterpret_cast(values.get()), scale, 0, 0); -} -KOALA_INTEROP_V5(CommonMethod_backgroundBlurStyle, KNativePointer, KInt, KInt, KInt, KFloat) - -void impl_CommonMethod_foregroundBlurStyle(KNativePointer nodePtr, KInt value, KInt colorMode, KInt adaptiveColor, KFloat scale) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - auto values = std::make_unique(3); - values[0] = value; - values[1] = colorMode; - values[2] = adaptiveColor; - GetNodeModifiers()->getCommonModifier()->setForegroundBlurStyle(node, reinterpret_cast(values.get()), scale, 0, 0); -} -KOALA_INTEROP_V5(CommonMethod_foregroundBlurStyle, KNativePointer, KInt, KInt, KInt, KFloat) - -void impl_CommonMethod_backgroundImageSize(KNativePointer nodePtr, KFloat width, KFloat height, KInt widthType, KInt heightType) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setBackgroundImageSize(node, width, height, widthType, heightType); -} -KOALA_INTEROP_V5(CommonMethod_backgroundImageSize, KNativePointer, KFloat, KFloat, KInt, KInt) - -void impl_CommonMethod_Reset_backgroundImageSize(KNativePointer nodePtr) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->resetBackgroundImageSize(node); -} -KOALA_INTEROP_V1(CommonMethod_Reset_backgroundImageSize, KNativePointer) - void impl_NotifyComponentAsyncEvent(KNativePointer nodePtr, KInt subKind) { ArkUINodeHandle node = reinterpret_cast(nodePtr); WARN("RegisterNodeAsyncEvent may be wrong"); @@ -789,24 +629,6 @@ void impl_CommonMethod_visibleAreaChangeRatios(KNativePointer nodePtr, KFloat *v } KOALA_INTEROP_V3(CommonMethod_visibleAreaChangeRatios, KNativePointer, KFloat*, KInt) -void impl_CommonMethod_direction(KNativePointer nodePtr, KInt value) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setDirection(node, value); -} -KOALA_INTEROP_V2(CommonMethod_direction, KNativePointer, KInt) - -void impl_CommonMethod_align(KNativePointer nodePtr, KInt value) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setAlign(node, value); -} -KOALA_INTEROP_V2(CommonMethod_align, KNativePointer, KInt) - -void impl_CommonMethod_aspectRatio(KNativePointer nodePtr, float value) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setAspectRatio(node, value); -} -KOALA_INTEROP_V2(CommonMethod_aspectRatio, KNativePointer, float) - void impl_CommonMethod_scaleTransition(KNativePointer nodePtr, KFloat *scale, KInt length) { ArkUINodeHandle node = reinterpret_cast(nodePtr); ArkUIAnimationOptionType animationOption = { @@ -872,12 +694,6 @@ void impl_CommonMethod_draggable(KNativePointer nodePtr, KBoolean value) { } KOALA_INTEROP_V2(CommonMethod_draggable, KNativePointer, KBoolean) -void impl_CommonMethod_hitTestBehavior(KNativePointer nodePtr, KInt value) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setHitTestBehavior(node, value); -} -KOALA_INTEROP_V2(CommonMethod_hitTestBehavior, KNativePointer, KInt) - void impl_CommonMethod_flexGrow(KNativePointer nodePtr, KFloat value) { ArkUINodeHandle node = reinterpret_cast(nodePtr); GetNodeModifiers()->getCommonModifier()->setFlexGrow(node, value); @@ -897,19 +713,6 @@ void impl_CommonMethod_markAnchor(KNativePointer nodePtr, KFloat *values, KInt l } KOALA_INTEROP_V3(CommonMethod_markAnchor, KNativePointer, KFloat*, KInt) -void impl_CommonMethod_shadow(KNativePointer nodePtr, KFloat radius, KInt color, KFloat offsetX, KFloat offsetY ) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - // GetNodeModifiers()->getCommonModifier()->setShadow(node, radius, color, offsetX, offsetY); - STUB("CommonMethod_shadow"); // NO API IN 67 -} -KOALA_INTEROP_V5(CommonMethod_shadow, KNativePointer, KFloat, KInt, KFloat, KFloat) - -void impl_CommonMethod_layoutWeight(KNativePointer nodePtr, KInt layoutWeight) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setLayoutWeight(node, layoutWeight); -} -KOALA_INTEROP_V2(CommonMethod_layoutWeight, KNativePointer, KInt) - void impl_CommonMethod_geometryTransition(KNativePointer nodePtr, const KStringPtr& valuePtr, ArkUI_Bool options) { ArkUINodeHandle node = reinterpret_cast(nodePtr); auto value = getString(valuePtr); @@ -936,12 +739,6 @@ void impl_CommonMethod_gridOffset(KNativePointer nodePtr, KInt value) { } KOALA_INTEROP_V2(CommonMethod_gridOffset, KNativePointer, KInt) -void impl_CommonMethod_hoverEffect(KNativePointer nodePtr, KInt value) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - GetNodeModifiers()->getCommonModifier()->setHoverEffect(node, value); -} -KOALA_INTEROP_V2(CommonMethod_hoverEffect, KNativePointer, KInt) - void impl_CommonMethod_id(KNativePointer nodePtr, const KStringPtr& value) { ArkUINodeHandle node = reinterpret_cast(nodePtr); auto data = getString(value); @@ -949,37 +746,12 @@ void impl_CommonMethod_id(KNativePointer nodePtr, const KStringPtr& value) { } KOALA_INTEROP_V2(CommonMethod_id, KNativePointer, KStringPtr) -void impl_CommonMethod_responseRegion(KNativePointer nodePtr, KFloat *valuesAndUnits, KInt length) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - KInt valuesLength = length / 2; - ArkUI_Float32* values = new ArkUI_Float32[valuesLength]; - ArkUI_Int32* units = new ArkUI_Int32[valuesLength]; - for (int i = 0; i < valuesLength; i++) { - values[i] = valuesAndUnits[2 * i]; - units[i] = intJsElement(valuesAndUnits, 2 * i + 1); - } - GetNodeModifiers()->getCommonModifier()->setResponseRegion(node, values, units, valuesLength); - delete [] values; - delete [] units; -} -KOALA_INTEROP_V3(CommonMethod_responseRegion, KNativePointer, KFloat*, KInt) - void impl_CommonMethod_contrast(KNativePointer nodePtr, KFloat value) { ArkUINodeHandle node = reinterpret_cast(nodePtr); GetNodeModifiers()->getCommonModifier()->setContrast(node, value); } KOALA_INTEROP_V2(CommonMethod_contrast, KNativePointer, KFloat) -void impl_CommonMethod_blur(KNativePointer nodePtr, KFloat value, KFloat* blurValues, KInt blurValuesSize) { - ArkUINodeHandle node = reinterpret_cast(nodePtr); - auto values = std::make_unique(blurValuesSize); - for (int i = 0; i < blurValuesSize; i++) { - values[i] = blurValues[i]; - } - GetNodeModifiers()->getCommonModifier()->setBlur(node, value, values.get(), blurValuesSize); -} -KOALA_INTEROP_V4(CommonMethod_blur, KNativePointer, KFloat, KFloat*, KInt) - void impl_CommonMethod_brightness(KNativePointer nodePtr, KFloat value) { ArkUINodeHandle node = reinterpret_cast(nodePtr); GetNodeModifiers()->getCommonModifier()->setBrightness(node, value); diff --git a/arkoala/framework/src/NativeModule.ts b/arkoala/framework/src/NativeModule.ts index 0f303723460f0a6cee7a47b4b1f572bc71c39d6f..1a600442bf1f282fd5632a6ab979ad6d478e7719 100644 --- a/arkoala/framework/src/NativeModule.ts +++ b/arkoala/framework/src/NativeModule.ts @@ -29,6 +29,7 @@ import { interopModule } from "@koalaui/interop" import { NativeModuleIntegrated } from "./generated/NativeModule" +import { int32 } from "../../../incremental/compat/src" export type PipelineContext = pointer export type NodePointer = pointer @@ -114,47 +115,12 @@ export interface ComponentOps { // attributes function // common - _CommonMethod_linearGradient(ptr: NodePointer, angle: KFloat, direction: KInt, repeat: KBoolean, colors: KFloat32ArrayPtr, colorsLength: KInt): void - _CommonMethod_Reset_linearGradient(ptr: NodePointer): void - - _CommonMethod_radialGradient(ptr: NodePointer, x: KFloat, xUnit: KInt, y: KFloat, yUnit: KInt, radius: KFloat, radiusUnit: KInt, - repeat: KBoolean, colors: KFloat32ArrayPtr, colorsLength: KInt): void; - _CommonMethod_Reset_radialGradient(ptr: NodePointer): void; - - _CommonMethod_borderRadius(ptr: NodePointer, values: KFloat32ArrayPtr, units: KInt32ArrayPtr, length: KInt): void - _CommonMethod_Reset_borderRadius(ptr: NodePointer): void - - _CommonMethod_borderColor(ptr: NodePointer, colors: KInt32ArrayPtr, length: KInt): void - _CommonMethod_Reset_borderColor(ptr: NodePointer): void - - _CommonMethod_borderWidth(ptr: NodePointer, values: KFloat32ArrayPtr, units: KInt32ArrayPtr, length: KInt): void - - _CommonMethod_zIndex(ptr: NodePointer, value: KInt): void - _CommonMethod_Reset_zIndex(ptr: NodePointer): void - - _CommonMethod_border(ptr: NodePointer, widthValues: KFloat32ArrayPtr, widthUnits: KInt32ArrayPtr, colors: KInt32ArrayPtr, radiusWidths: KFloat32ArrayPtr, radiusUnits: KInt32ArrayPtr, styles: KInt32ArrayPtr): void - _CommonMethod_Reset_border(ptr: NodePointer): void - - _CommonMethod_clip(ptr: NodePointer, value: KBoolean): void - _CommonMethod_Reset_clip(ptr: NodePointer): void - - _CommonMethod_backgroundImage(ptr: pointer, src: KStringPtr, bundleName: KStringPtr, moduleName: KStringPtr, repeat: KInt): void - _CommonMethod_Reset_backgroundImage(ptr: pointer): void - _CommonMethod_backgroundImagePosition(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt): void - _CommonMethod_backgroundBlurStyle(ptr: pointer, value: KInt, colorMode: KInt, adaptiveColor: KInt, scale: KFloat): void - _CommonMethod_foregroundBlurStyle(ptr: pointer, value: KInt, colorMode: KInt, adaptiveColor: KInt, scale: KFloat): void - _CommonMethod_backgroundImageSize(ptr: pointer, widthValue: KFloat, heightValue: KFloat, widthType: KInt, heightType: KInt): void - _CommonMethod_Reset_backgroundImageSize(ptr: pointer): void - - _CommonMethod_direction(ptr: NodePointer, value: KInt): void - _CommonMethod_align(ptr: NodePointer, value: KInt): void _CommonMethod_scaleOptions(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt, units: KInt32ArrayPtr, unitsLength: KInt): void _CommonMethod_translateOptions(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt): void _CommonMethod_rotateOptions(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt): void _CommonMethod_transform(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt): void - _CommonMethod_visibleAreaChangeRatios(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt): void - _CommonMethod_aspectRatio(ptr: NodePointer, value: KInt): void + _CommonMethod_clip(ptr: NodePointer, value: KBoolean): void _CommonMethod_opacityTransition(ptr: NodePointer, value: KFloat): void _CommonMethod_translateTransition(ptr: NodePointer, translate: KFloat32ArrayPtr): void _CommonMethod_scaleTransition(ptr: NodePointer, translate: KFloat32ArrayPtr, length: KInt): void @@ -162,21 +128,15 @@ export interface ComponentOps { _CommonMethod_chainedTransition(ptr: NodePointer, appear: KFloat32ArrayPtr, disappear: KFloat32ArrayPtr, appearLen: KInt, disappearLen: KInt): void _CommonMethod_draggable(ptr: NodePointer, value: KBoolean): void _CommonMethod_defaultFocus(ptr: NodePointer, value: KBoolean): void - _CommonMethod_hitTestBehavior(ptr: NodePointer, value: KInt):void _CommonMethod_flexGrow(ptr: NodePointer, value: KFloat):void _CommonMethod_flexShrink(ptr: NodePointer, value: KFloat):void _CommonMethod_markAnchor(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt): void - _CommonMethod_shadow(ptr: NodePointer, radius:KFloat, color:KInt, offsetX:KFloat, offsetY:KFloat):void - _CommonMethod_layoutWeight(ptr: NodePointer, layoutValue: KInt):void _CommonMethod_geometryTransition(ptr: NodePointer, value: KStringPtr, options: KBoolean): void _CommonMethod_key(ptr: NodePointer, value:KStringPtr):void _CommonMethod_gridSpan(ptr: NodePointer, value: KInt): void _CommonMethod_gridOffset(ptr: NodePointer, value: KInt): void - _CommonMethod_hoverEffect(ptr: NodePointer, value: KInt): void _CommonMethod_id(ptr: NodePointer, value: KStringPtr): void - _CommonMethod_responseRegion(ptr: NodePointer, array: KFloat32ArrayPtr, length: KInt): void _CommonMethod_contrast(ptr: NodePointer, value: KFloat): void - _CommonMethod_blur(ptr: NodePointer, value: KFloat, array: KFloat32ArrayPtr, length: KInt): void _CommonMethod_brightness(ptr: NodePointer, value: KFloat): void _CommonMethod_grayscale(ptr: NodePointer, value: KFloat): void _CommonMethod_backdropBlur(ptr: NodePointer, value: KFloat): void @@ -340,14 +300,6 @@ export interface ComponentOps { _ColumnSplitAttribute_divider(ptr: NodePointer, startValue: KFloat, startUnit: KInt, endValue: KFloat, endUnit: KInt): void _ColumnSplitAttribute_Reset_divider(ptr: NodePointer): void - // row - _RowAttribute_alignItems(ptr: NodePointer, value: KInt): void - _RowAttribute_Reset_alignItems(ptr: NodePointer): void - _RowAttribute_justifyContent(ptr: NodePointer, value: KInt): void - _RowAttribute_Reset_justifyContent(ptr: NodePointer): void - _RowAttribute_space(ptr: NodePointer, value: KFloat, unit: KInt): void - _RowAttribute_Reset_space(ptr: NodePointer): void - // rowSplit _RowSplitAttribute_resizeable(ptr: NodePointer, value: KBoolean): void _RowSplitAttribute_Reset_resizeable(ptr: NodePointer): void diff --git a/arkoala/framework/src/NativeModuleEmpty.ts b/arkoala/framework/src/NativeModuleEmpty.ts index 98a5c657ab8229d9fd38a3eecfb3fca7d4821a37..bf7725e045cd97290e6b55ba33dd17e2d7f5df1f 100644 --- a/arkoala/framework/src/NativeModuleEmpty.ts +++ b/arkoala/framework/src/NativeModuleEmpty.ts @@ -67,9 +67,7 @@ export class NativeModuleEmpty extends NativeModuleEmptyIntegrated implements Na _CommonMethod_gridOffset(ptr: NodePointer, value: KInt): void {} _CommonMethod_hoverEffect(ptr: NodePointer, value: KInt): void {} _CommonMethod_id(ptr: NodePointer, value: KInt): void {} - _CommonMethod_responseRegion(ptr: NodePointer, array: KFloat32ArrayPtr, length: KInt): void {} _CommonMethod_contrast(ptr: NodePointer, value: KFloat): void {} - _CommonMethod_blur(ptr: NodePointer, value: KFloat, array: KFloat32ArrayPtr, length: KInt): void {} _CommonMethod_brightness(ptr: NodePointer, value: KFloat): void {} _CommonMethod_grayscale(ptr: NodePointer, value: KFloat): void {} _CommonMethod_backdropBlur(ptr: NodePointer, value: KFloat): void {} @@ -316,29 +314,8 @@ export class NativeModuleEmpty extends NativeModuleEmptyIntegrated implements Na _ShowCrash(messagePtr: KStringPtr): void {} _ApplyModifierFinish(ptr: NodePointer): void {} _ApplyBuildFinish(ptr: NodePointer): void {} - _CommonMethod_linearGradient(ptr: NodePointer, angle: KFloat, direction: KInt, repeat: KInt, colors: KFloat32ArrayPtr): void {} - _CommonMethod_Reset_linearGradient(ptr: NodePointer): void {} - _CommonMethod_radialGradient(ptr: NodePointer, x: KFloat, xUnit: KInt, y: KFloat, yUnit: KInt, radius: KFloat, radiusUnit: KInt, - repeat: KBoolean, colors: KFloat32ArrayPtr, colorsLength: KInt) {} - _CommonMethod_Reset_radialGradient(ptr: NodePointer) {} - _CommonMethod_borderRadius(ptr: NodePointer, values: KFloat32ArrayPtr, units: KInt32ArrayPtr, length: KInt): void {} - _CommonMethod_Reset_borderRadius(ptr: NodePointer): void {} - _CommonMethod_borderColor(ptr: NodePointer, colors: KInt32ArrayPtr, length: KInt): void {} - _CommonMethod_Reset_borderColor(ptr: NodePointer): void {} - _CommonMethod_borderWidth(ptr: NodePointer, values: KFloat32ArrayPtr, units: KInt32ArrayPtr, length: KInt): void {} - _CommonMethod_Reset_backgroundColor(ptr: NodePointer): void {} - _CommonMethod_zIndex(ptr: NodePointer, value: KInt): void {} - _CommonMethod_Reset_zIndex(ptr: NodePointer): void {} - _CommonMethod_border(ptr: NodePointer, widthValues: KFloat32ArrayPtr, widthUnits: KInt32ArrayPtr, colors: KInt32ArrayPtr, radiusWidths: KFloat32ArrayPtr, radiusUnits: KInt32ArrayPtr, styles: KInt32ArrayPtr): void {} - _CommonMethod_Reset_border(ptr: NodePointer): void {} _CommonMethod_clip(ptr: NodePointer, value: number): void {} _CommonMethod_Reset_clip(ptr: NodePointer): void {} - _CommonMethod_backgroundImage(ptr: pointer, src: KStringPtr, bundleName: KStringPtr, moduleName: KStringPtr, repeat: KInt): void {} - _CommonMethod_Reset_backgroundImage(ptr: NodePointer): void {} - _CommonMethod_backgroundImageSize(ptr: pointer, widthValue: KFloat, heightValue: KFloat, widthType: KInt, heightType: KInt): void {} - _CommonMethod_backgroundImagePosition(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt): void {} - _CommonMethod_backgroundBlurStyle(ptr: NodePointer, value: number, colorMode: KInt, adaptiveColor: KInt, scale: KFloat): void {} - _CommonMethod_foregroundBlurStyle(ptr: NodePointer, value: number, colorMode: KInt, adaptiveColor: KInt, scale: KFloat): void {} _CommonMethod_Reset_backgroundImageSize(ptr: NodePointer): void {} _NotifyComponentAsyncEvent(ptr: NodePointer, kind: KInt): void {} _NotifyResetComponentAsyncEvent(ptr: NodePointer, kind: KInt): void {} @@ -360,11 +337,8 @@ export class NativeModuleEmpty extends NativeModuleEmptyIntegrated implements Na _CommonMethod_hitTestBehavior(ptr: NodePointer, value: KInt):void {} _CommonMethod_flexGrow(ptr: NodePointer, value: number): void {} _CommonMethod_flexShrink(ptr: NodePointer, value: number): void {} - _CommonMethod_position(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt): void {} _CommonMethod_markAnchor(ptr: NodePointer, value: KFloat32ArrayPtr, length: KInt): void {} - _CommonMethod_shadow(ptr: NodePointer, radius:KFloat, color:KInt, offsetX:KFloat, offsetY:KFloat):void {} _CommonMethod_key(ptr: NodePointer, value:KStringPtr): void {} - _CommonMethod_layoutWeight(ptr: NodePointer, layoutWeight: KInt):void {} _CommonMethod_geometryTransition(ptr: NodePointer, value: KStringPtr, options: KBoolean): void {} _TextAttribute_label(ptr: NodePointer, value: KStringPtr): void {} _TextAttribute_Reset_label(ptr: NodePointer): void {} @@ -589,31 +563,31 @@ export class NativeModuleEmpty extends NativeModuleEmptyIntegrated implements Na _GridItemAttribute_Reset_selected(ptr: NodePointer): void {} _GridItemAttribute_forceRebuild(ptr: NodePointer, value: KBoolean): void {} _GridItemAttribute_Reset_forceRebuild(ptr: NodePointer): void {} - _ScrollAttribute_Get_scrollBar(ptr: NodePointer): KInt {} + _ScrollAttribute_Get_scrollBar(ptr: NodePointer): KInt { return 1 } _ScrollAttribute_scrollBar(ptr: NodePointer, value: number): void {} _ScrollAttribute_Reset_scrollBar(ptr: NodePointer): void {} - _ScrollAttribute_Get_scrollable(ptr: NodePointer): KInt {} + _ScrollAttribute_Get_scrollable(ptr: NodePointer): KInt { return 1 } _ScrollAttribute_scrollable(ptr: NodePointer, value: KInt): void {} _ScrollAttribute_Reset_scrollable(ptr: NodePointer): void {} - _ScrollAttribute_Get_scrollBarColor(ptr: NodePointer): KInt {} + _ScrollAttribute_Get_scrollBarColor(ptr: NodePointer): KInt { return 1 } _ScrollAttribute_scrollBarColor(ptr: NodePointer, value: KInt): void {} _ScrollAttribute_Reset_scrollBarColor(ptr: NodePointer): void {} - _ScrollAttribute_Get_scrollBarWidth(ptr: NodePointer): KFloat {} + _ScrollAttribute_Get_scrollBarWidth(ptr: NodePointer): KFloat { return 1 } _ScrollAttribute_scrollBarWidth(ptr: NodePointer, value: KFloat, unit: KInt): void {} _ScrollAttribute_Reset_scrollBarWidth(ptr: NodePointer): void {} - _ScrollAttribute_Get_edgeEffect(ptr: NodePointer, values: KInt32ArrayPtr): KInt {} + _ScrollAttribute_Get_edgeEffect(ptr: NodePointer, values: KInt32ArrayPtr): KInt { return 1} _ScrollAttribute_edgeEffect(ptr: NodePointer, value: KInt, alwaysEnabled: KBoolean): void {} _ScrollAttribute_Reset_edgeEffect(ptr: NodePointer): void {} _ScrollAttribute_Get_nestedScroll(ptr: NodePointer, values: KInt32ArrayPtr): void {} _ScrollAttribute_nestedScroll(ptr: NodePointer, forward: KInt, backward: KInt): void {} _ScrollAttribute_Reset_nestedScroll(ptr: NodePointer): void {} - _ScrollAttribute_Get_enableScrollInteraction(ptr: NodePointer): KBoolean {} + _ScrollAttribute_Get_enableScrollInteraction(ptr: NodePointer): KBoolean { return 0 } _ScrollAttribute_enableScrollInteraction(ptr: NodePointer, value: KBoolean): void {} _ScrollAttribute_Reset_enableScrollInteraction(ptr: NodePointer): void {} - _ScrollAttribute_Get_friction(ptr: NodePointer): KFloat {} + _ScrollAttribute_Get_friction(ptr: NodePointer): KFloat { return 0 } _ScrollAttribute_friction(ptr: NodePointer, value: KFloat): void {} _ScrollAttribute_Reset_friction(ptr: NodePointer): void {} - _ScrollAttribute_Get_enablePaging(ptr: NodePointer): KInt {} + _ScrollAttribute_Get_enablePaging(ptr: NodePointer): KInt { return 0 } _ScrollAttribute_enablePaging(ptr: NodePointer, value: KBoolean): void {} _ScrollAttribute_Reset_enablePaging(ptr: NodePointer): void {} _ScrollAttribute_scrollSnap(ptr: NodePointer, snapAlign: KInt, @@ -952,6 +926,10 @@ export class NativeModuleEmpty extends NativeModuleEmptyIntegrated implements Na _ImageAnimatorAttribute_isReverse(ptr: NodePointer, value: KBoolean): void {} _ImageAnimatorAttribute_state(ptr: NodePointer, value: KInt): void {} + //Image + _ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void {} + _ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void {} + //rating _RatingAttribute_value(ptr: NodePointer, value: KFloat, indicator: KBoolean): void {} _RatingAttribute_stars(ptr: NodePointer, value: KInt): void {} diff --git a/arkoala/framework/src/generated/NativeModule.ts b/arkoala/framework/src/generated/NativeModule.ts index eecd2febf53c0c19c0b75594a7eddc1a62894161..c194b9fb447da6b47e8f08c3a945353ebb78284d 100644 --- a/arkoala/framework/src/generated/NativeModule.ts +++ b/arkoala/framework/src/generated/NativeModule.ts @@ -103,7 +103,7 @@ export interface GraphicsOps { export interface LoaderOps { _LoadVirtualMachine(classPath: string, libPath: string, kind: KInt): pointer - _RunVirtualMachine(env: pointer, what: KInt): KInt + _RunVirtualMachine(env: pointer, what: KInt, arg0: KInt): KInt } export interface NodeOps { @@ -171,11 +171,11 @@ export interface NodeOps { } export interface ComponentOps { - _BlankInterface__setBlankOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _BlankInterface_setBlankOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _BlankAttribute_color(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void - _ButtonInterface__setButtonOptions_(ptr: KPointer): void - _ButtonInterface__setButtonOptions_ButtonOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void - _ButtonInterface__setButtonOptions_ResourceStr_ButtonOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _ButtonInterface_setButtonOptions0(ptr: KPointer): void + _ButtonInterface_setButtonOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _ButtonInterface_setButtonOptions2(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _ButtonAttribute_type(ptr: KPointer, value: KInt): void _ButtonAttribute_stateEffect(ptr: KPointer, value: KInt): void _ButtonAttribute_buttonStyle(ptr: KPointer, value: KInt): void @@ -188,7 +188,7 @@ export interface ComponentOps { _ButtonAttribute_fontFamily(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _ButtonAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _ButtonAttribute_labelStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void - _CheckboxInterface__setCheckboxOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CheckboxInterface_setCheckboxOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CheckboxAttribute_select(ptr: KPointer, value: KInt): void _CheckboxAttribute_selectedColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CheckboxAttribute_shape(ptr: KPointer, value: KInt): void @@ -196,32 +196,71 @@ export interface ComponentOps { _CheckboxAttribute_mark(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CheckboxAttribute_onChange(ptr: KPointer, callback: KInt): void _CheckboxAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void - _ColumnInterface__setColumnOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _ColumnInterface_setColumnOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _ColumnAttribute_alignItems(ptr: KPointer, value: KInt): void _ColumnAttribute_justifyContent(ptr: KPointer, value: KInt): void _ColumnAttribute_pointLight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_width(ptr: KPointer, value: string|number|object): void _CommonMethod_height(ptr: KPointer, value: string|number|object): void + _CommonMethod_responseRegion(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_size(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_constraintSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_touchable(ptr: KPointer, value: KInt): void + _CommonMethod_hitTestBehavior(ptr: KPointer, value: KInt): void + _CommonMethod_layoutWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_padding(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_margin(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_backgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_backgroundImage(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_backgroundImageSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_backgroundImagePosition(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_backgroundBlurStyle(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_foregroundBlurStyle(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_opacity(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_border(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_borderStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_borderWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_borderColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_borderRadius(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_borderImage(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_outline(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_outlineStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_outlineWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_outlineColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_outlineRadius(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_foregroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_onClick(ptr: KPointer, event: KInt): void + _CommonMethod_onHover(ptr: KPointer, event: KInt): void + _CommonMethod_hoverEffect(ptr: KPointer, value: KInt): void _CommonMethod_onTouch(ptr: KPointer, event: KInt): void + _CommonMethod_onKeyEvent(ptr: KPointer, event: KInt): void _CommonMethod_focusable(ptr: KPointer, value: KInt): void _CommonMethod_onFocus(ptr: KPointer, event: KInt): void + _CommonMethod_onBlur(ptr: KPointer, event: KInt): void + _CommonMethod_blur(ptr: KPointer, value: number, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_onAppear(ptr: KPointer, event: KInt): void _CommonMethod_onDisAppear(ptr: KPointer, event: KInt): void + _CommonMethod_onAreaChange(ptr: KPointer, event: KInt): void _CommonMethod_visibility(ptr: KPointer, value: KInt): void + _CommonMethod_alignSelf(ptr: KPointer, value: KInt): void + _CommonMethod_displayPriority(ptr: KPointer, value: number): void + _CommonMethod_zIndex(ptr: KPointer, value: number): void + _CommonMethod_direction(ptr: KPointer, value: KInt): void + _CommonMethod_align(ptr: KPointer, value: KInt): void _CommonMethod_position(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_offset(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _CommonMethod_enabled(ptr: KPointer, value: KInt): void - _ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void - _ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_aspectRatio(ptr: KPointer, value: number): void + _CommonMethod_overlay(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_linearGradient(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_sweepGradient(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_radialGradient(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_shadow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _CommonMethod_onVisibleAreaChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32, event: KInt): void + _CommonMethod_onSizeChange(ptr: KPointer, event: KInt): void + _ImageInterface_setImageOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _ImageInterface_setImageOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _ImageInterface_setImageOptions2(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _ImageAttribute_alt(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _ImageAttribute_matchTextDirection(ptr: KPointer, value: KInt): void _ImageAttribute_fitOriginalSize(ptr: KPointer, value: KInt): void @@ -247,7 +286,7 @@ export interface ComponentOps { _ImageAttribute_resizable(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _ImageAttribute_privacySensitive(ptr: KPointer, supported: KInt): void _ImageAttribute_enhancedImageQuality(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void - _RowInterface__setRowOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void + _RowInterface_setRowOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _RowAttribute_alignItems(ptr: KPointer, value: KInt): void _RowAttribute_justifyContent(ptr: KPointer, value: KInt): void _RowAttribute_pointLight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void @@ -257,6 +296,9 @@ export interface ComponentOps { _DrawModifier_drawContent(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _DrawModifier_drawFront(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void _DrawModifier_invalidate(ptr: KPointer): void + _ICurve_ctor(): KPointer + _ICurve_getFinalizer(): KPointer + _ICurve_interpolate(ptr: KPointer, fraction: number): KPointer _PanGestureOptions_ctor(thisArray: Uint8Array, thisLength: int32): KPointer _PanGestureOptions_getFinalizer(): KPointer _PanGestureOptions_setDirection(ptr: KPointer, value: KInt): KPointer diff --git a/arkoala/framework/src/generated/NativeModuleEmpty.ts b/arkoala/framework/src/generated/NativeModuleEmpty.ts index 5b1656e84b8bb40e5283abadce8a8c4b6b7c33e2..c1fe16e7324ba7f704585cfb016254b16d887f8a 100644 --- a/arkoala/framework/src/generated/NativeModuleEmpty.ts +++ b/arkoala/framework/src/generated/NativeModuleEmpty.ts @@ -20,20 +20,20 @@ import { NativeModule, NativeModuleIntegrated, NodePointer, PipelineContext } fr import { nullptr } from "@koalaui/interop" export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated { - _BlankInterface__setBlankOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { - console.log("_BlankInterface__setBlankOptions") + _BlankInterface_setBlankOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_BlankInterface_setBlankOptions") } _BlankAttribute_color(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_BlankAttribute_color") } - _ButtonInterface__setButtonOptions_(ptr: KPointer): void { - console.log("_ButtonInterface__setButtonOptions_") + _ButtonInterface_setButtonOptions0(ptr: KPointer): void { + console.log("_ButtonInterface_setButtonOptions0") } - _ButtonInterface__setButtonOptions_ButtonOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { - console.log("_ButtonInterface__setButtonOptions_ButtonOptions") + _ButtonInterface_setButtonOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_ButtonInterface_setButtonOptions1") } - _ButtonInterface__setButtonOptions_ResourceStr_ButtonOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { - console.log("_ButtonInterface__setButtonOptions_ResourceStr_ButtonOptions") + _ButtonInterface_setButtonOptions2(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_ButtonInterface_setButtonOptions2") } _ButtonAttribute_type(ptr: KPointer, value: KInt): void { console.log("_ButtonAttribute_type") @@ -71,8 +71,8 @@ export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated { _ButtonAttribute_labelStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_ButtonAttribute_labelStyle") } - _CheckboxInterface__setCheckboxOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { - console.log("_CheckboxInterface__setCheckboxOptions") + _CheckboxInterface_setCheckboxOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CheckboxInterface_setCheckboxOptions") } _CheckboxAttribute_select(ptr: KPointer, value: KInt): void { console.log("_CheckboxAttribute_select") @@ -95,8 +95,8 @@ export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated { _CheckboxAttribute_contentModifier(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_CheckboxAttribute_contentModifier") } - _ColumnInterface__setColumnOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { - console.log("_ColumnInterface__setColumnOptions") + _ColumnInterface_setColumnOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_ColumnInterface_setColumnOptions") } _ColumnAttribute_alignItems(ptr: KPointer, value: KInt): void { console.log("_ColumnAttribute_alignItems") @@ -113,6 +113,9 @@ export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated { _CommonMethod_height(ptr: KPointer, value: string|number|object): void { console.log("_CommonMethod_height") } + _CommonMethod_responseRegion(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_responseRegion") + } _CommonMethod_size(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_CommonMethod_size") } @@ -122,6 +125,12 @@ export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated { _CommonMethod_touchable(ptr: KPointer, value: KInt): void { console.log("_CommonMethod_touchable") } + _CommonMethod_hitTestBehavior(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_hitTestBehavior") + } + _CommonMethod_layoutWeight(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_layoutWeight") + } _CommonMethod_padding(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_CommonMethod_padding") } @@ -131,33 +140,117 @@ export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated { _CommonMethod_backgroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_CommonMethod_backgroundColor") } + _CommonMethod_backgroundImage(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_backgroundImage") + } + _CommonMethod_backgroundImageSize(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_backgroundImageSize") + } + _CommonMethod_backgroundImagePosition(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_backgroundImagePosition") + } + _CommonMethod_backgroundBlurStyle(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_backgroundBlurStyle") + } + _CommonMethod_foregroundBlurStyle(ptr: KPointer, value: KInt, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_foregroundBlurStyle") + } _CommonMethod_opacity(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_CommonMethod_opacity") } + _CommonMethod_border(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_border") + } + _CommonMethod_borderStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_borderStyle") + } + _CommonMethod_borderWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_borderWidth") + } + _CommonMethod_borderColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_borderColor") + } + _CommonMethod_borderRadius(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_borderRadius") + } + _CommonMethod_borderImage(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_borderImage") + } + _CommonMethod_outline(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_outline") + } + _CommonMethod_outlineStyle(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_outlineStyle") + } + _CommonMethod_outlineWidth(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_outlineWidth") + } + _CommonMethod_outlineColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_outlineColor") + } + _CommonMethod_outlineRadius(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_outlineRadius") + } _CommonMethod_foregroundColor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_CommonMethod_foregroundColor") } _CommonMethod_onClick(ptr: KPointer, event: KInt): void { console.log("_CommonMethod_onClick") } + _CommonMethod_onHover(ptr: KPointer, event: KInt): void { + console.log("_CommonMethod_onHover") + } + _CommonMethod_hoverEffect(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_hoverEffect") + } _CommonMethod_onTouch(ptr: KPointer, event: KInt): void { console.log("_CommonMethod_onTouch") } + _CommonMethod_onKeyEvent(ptr: KPointer, event: KInt): void { + console.log("_CommonMethod_onKeyEvent") + } _CommonMethod_focusable(ptr: KPointer, value: KInt): void { console.log("_CommonMethod_focusable") } _CommonMethod_onFocus(ptr: KPointer, event: KInt): void { console.log("_CommonMethod_onFocus") } + _CommonMethod_onBlur(ptr: KPointer, event: KInt): void { + console.log("_CommonMethod_onBlur") + } + _CommonMethod_blur(ptr: KPointer, value: number, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_blur") + } + _CommonMethod_linearGradientBlur(ptr: KPointer, value: number, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_linearGradientBlur") + } _CommonMethod_onAppear(ptr: KPointer, event: KInt): void { console.log("_CommonMethod_onAppear") } _CommonMethod_onDisAppear(ptr: KPointer, event: KInt): void { console.log("_CommonMethod_onDisAppear") } + _CommonMethod_onAreaChange(ptr: KPointer, event: KInt): void { + console.log("_CommonMethod_onAreaChange") + } _CommonMethod_visibility(ptr: KPointer, value: KInt): void { console.log("_CommonMethod_visibility") } + _CommonMethod_alignSelf(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_alignSelf") + } + _CommonMethod_displayPriority(ptr: KPointer, value: number): void { + console.log("_CommonMethod_displayPriority") + } + _CommonMethod_zIndex(ptr: KPointer, value: number): void { + console.log("_CommonMethod_zIndex") + } + _CommonMethod_direction(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_direction") + } + _CommonMethod_align(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_align") + } _CommonMethod_position(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_CommonMethod_position") } @@ -167,11 +260,38 @@ export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated { _CommonMethod_enabled(ptr: KPointer, value: KInt): void { console.log("_CommonMethod_enabled") } - _ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { - console.log("_ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor") + _CommonMethod_aspectRatio(ptr: KPointer, value: number): void { + console.log("_CommonMethod_aspectRatio") + } + _CommonMethod_overlay(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_overlay") + } + _CommonMethod_linearGradient(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_linearGradient") + } + _CommonMethod_sweepGradient(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_sweepGradient") + } + _CommonMethod_radialGradient(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_radialGradient") } - _ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { - console.log("_ImageInterface__setImageOptions_PixelMapResourceStrDrawableDescriptor_ImageAIOptions") + _CommonMethod_shadow(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_CommonMethod_shadow") + } + _CommonMethod_onVisibleAreaChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32, event: KInt): void { + console.log("_CommonMethod_onVisibleAreaChange") + } + _CommonMethod_onSizeChange(ptr: KPointer, event: KInt): void { + console.log("_CommonMethod_onSizeChange") + } + _ImageInterface_setImageOptions0(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_ImageInterface_setImageOptions0") + } + _ImageInterface_setImageOptions1(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_ImageInterface_setImageOptions1") + } + _ImageInterface_setImageOptions2(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_ImageInterface_setImageOptions2") } _ImageAttribute_alt(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_ImageAttribute_alt") @@ -248,8 +368,8 @@ export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated { _ImageAttribute_enhancedImageQuality(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_ImageAttribute_enhancedImageQuality") } - _RowInterface__setRowOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { - console.log("_RowInterface__setRowOptions") + _RowInterface_setRowOptions(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_RowInterface_setRowOptions") } _RowAttribute_alignItems(ptr: KPointer, value: KInt): void { console.log("_RowAttribute_alignItems") @@ -280,6 +400,18 @@ export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated { _DrawModifier_invalidate(ptr: KPointer): void { console.log("_DrawModifier_invalidate") } + _ICurve_ctor(): KPointer { + console.log("_ICurve_ctor") + return -1 + } + _ICurve_getFinalizer(): KPointer { + console.log("_ICurve_getFinalizer") + return -1 + } + _ICurve_interpolate(ptr: KPointer, fraction: number): KPointer { + console.log("_ICurve_interpolate") + return -1 + } _PanGestureOptions_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { console.log("_PanGestureOptions_ctor") return -1 diff --git a/arkoala/tools/peer-generator/package.json b/arkoala/tools/peer-generator/package.json index d6608ef8a494e271cb62dbe2bf9ecf43a9e2900a..0fb80e9ca877eda9225860118534b18226cccfc6 100644 --- a/arkoala/tools/peer-generator/package.json +++ b/arkoala/tools/peer-generator/package.json @@ -2,7 +2,7 @@ "name": "peer-generator", "description": "", "scripts": { - "generate:ts": "npx @azanat/idlize@1.3.5 --dts2peer --input-dir ../../../../interface_sdk-js/api/@internal/component/ets/ --arkoala-destination ../../.. --api-version 99 --generate-interface Blank,Button,Column,Checkbox,Image,CommonMethod,Row --generator-target arkoala --only-integrated", + "generate:ts": "npx @azanat/idlize@1.3.6 --dts2peer --input-dir ../../../../interface_sdk-js/api/@internal/component/ets/ --arkoala-destination ../../.. --api-version 99 --generate-interface Blank,Button,Column,Checkbox,Image,CommonMethod,Row --generator-target arkoala --only-integrated", "generate:arkts": "export IDLIZE_PATH=~/work/idlize && node ${IDLIZE_PATH}/lib/index.js --dts2peer --only-integrated --need-interfaces --input-dir ${IDLIZE_PATH}/tests/subset/ets/ --arkoala-destination ../../.. --api-version 99 --generator-target arkoala --language=arkts", "generate": "npm run generate:ts" }