2
* Copyright (c) 2022-2024 Huawei Device Co., Ltd.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
7
* http://www.apache.org/licenses/LICENSE-2.0
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
20
@State state: string = 'Hello World'
21
@State test: string = this.state + "!"
30
@State state: string = 'Hello World'
31
@Prop test: string = this.state + "!"
39
struct StateToProvide {
40
@State state: string = 'Hello World'
41
@Provide test: string = this.state + "!"
49
struct StateToStorageLink {
50
@State state: string = 'Hello World'
51
@StorageLink("test") test: string = this.state + "!"
59
struct StateToLocalStorageLink {
60
@State state: string = 'Hello World'
61
@LocalStorageLink("test") test: string = this.state + "!"
69
struct StateToStorageProp {
70
@State state: string = 'Hello World'
71
@StorageProp("test") test: string = this.state + "!"
79
struct StateToLocalStorageProp {
80
@State state: string = 'Hello World'
81
@LocalStorageProp("test") test: string = this.state + "!"
89
struct StateToBuilderParam {
90
@State state: string = 'Hello World'
91
@BuilderParam test: string = this.state + "!"
100
@State state: string = 'Hello World'
101
test: string = this.state + "!"
112
@Prop state: string = 'Hello World'
113
@State test: string = this.state + "!"
122
@Prop state: string = 'Hello World'
123
@Prop test: string = this.state + "!"
131
struct PropToProvide {
132
@Prop state: string = 'Hello World'
133
@Provide test: string = this.state + "!"
141
struct PropToStorageLink {
142
@Prop state: string = 'Hello World'
143
@StorageLink("test") test: string = this.state + "!"
151
struct PropToLocalStorageLink {
152
@Prop state: string = 'Hello World'
153
@LocalStorageLink("test") test: string = this.state + "!"
161
struct PropToStorageProp {
162
@Prop state: string = 'Hello World'
163
@StorageProp("test") test: string = this.state + "!"
171
struct PropToLocalStorageProp {
172
@Prop state: string = 'Hello World'
173
@LocalStorageProp("test") test: string = this.state + "!"
181
struct PropToBuilderParam {
182
@Prop state: string = 'Hello World'
183
@BuilderParam test: string = this.state + "!"
192
@Prop state: string = 'Hello World'
193
test: string = this.state + "!"
203
struct ProvideToState {
204
@Provide state: string = 'Hello World'
205
@State test: string = this.state + "!"
213
struct ProvideToProp {
214
@Provide state: string = 'Hello World'
215
@Prop test: string = this.state + "!"
223
struct ProvideToProvide {
224
@Provide state: string = 'Hello World'
225
@Provide test: string = this.state + "!"
233
struct ProvideToStorageLink {
234
@Provide state: string = 'Hello World'
235
@StorageLink("test") test: string = this.state + "!"
243
struct ProvideToLocalStorageLink {
244
@Provide state: string = 'Hello World'
245
@LocalStorageLink("test") test: string = this.state + "!"
253
struct ProvideToStorageProp {
254
@Provide state: string = 'Hello World'
255
@StorageProp("test") test: string = this.state + "!"
263
struct ProvideToLocalStorageProp {
264
@Provide state: string = 'Hello World'
265
@LocalStorageProp("test") test: string = this.state + "!"
273
struct ProvideToBuilderParam {
274
@Provide state: string = 'Hello World'
275
@BuilderParam test: string = this.state + "!"
283
struct ProvideToPlain {
284
@Provide state: string = 'Hello World'
285
test: string = this.state + "!"
295
struct StorageLinkToState {
296
@StorageLink("key") state: string = 'Hello World'
297
@State test: string = this.state + "!"
305
struct StorageLinkToProp {
306
@StorageLink("key") state: string = 'Hello World'
307
@Prop test: string = this.state + "!"
315
struct StorageLinkToProvide {
316
@StorageLink("key") state: string = 'Hello World'
317
@Provide test: string = this.state + "!"
325
struct StorageLinkToStorageLink {
326
@StorageLink("key") state: string = 'Hello World'
327
@StorageLink("test") test: string = this.state + "!"
335
struct StorageLinkToLocalStorageLink {
336
@StorageLink("key") state: string = 'Hello World'
337
@LocalStorageLink("test") test: string = this.state + "!"
345
struct StorageLinkToStorageProp {
346
@StorageLink("key") state: string = 'Hello World'
347
@StorageProp("test") test: string = this.state + "!"
355
struct StorageLinkToLocalStorageProp {
356
@StorageLink("key") state: string = 'Hello World'
357
@LocalStorageProp("test") test: string = this.state + "!"
365
struct StorageLinkToBuilderParam {
366
@StorageLink("key") state: string = 'Hello World'
367
@BuilderParam test: string = this.state + "!"
375
struct StorageLinkToPlain {
376
@StorageLink("key") state: string = 'Hello World'
377
test: string = this.state + "!"
387
struct LocalStorageLinkToState {
388
@LocalStorageLink("key") state: string = 'Hello World'
389
@State test: string = this.state + "!"
397
struct LocalStorageLinkToProp {
398
@LocalStorageLink("key") state: string = 'Hello World'
399
@Prop test: string = this.state + "!"
407
struct LocalStorageLinkToProvide {
408
@LocalStorageLink("key") state: string = 'Hello World'
409
@Provide test: string = this.state + "!"
417
struct LocalStorageLinkToStorageLink {
418
@LocalStorageLink("key") state: string = 'Hello World'
419
@StorageLink("test") test: string = this.state + "!"
427
struct LocalStorageLinkToLocalStorageLink {
428
@LocalStorageLink("key") state: string = 'Hello World'
429
@LocalStorageLink("test") test: string = this.state + "!"
437
struct LocalStorageLinkToStorageProp {
438
@LocalStorageLink("key") state: string = 'Hello World'
439
@StorageProp("test") test: string = this.state + "!"
447
struct LocalStorageLinkToLocalStorageProp {
448
@LocalStorageLink("key") state: string = 'Hello World'
449
@LocalStorageProp("test") test: string = this.state + "!"
457
struct LocalStorageLinkToBuilderParam {
458
@LocalStorageLink("key") state: string = 'Hello World'
459
@BuilderParam test: string = this.state + "!"
467
struct LocalStorageLinkToPlain {
468
@LocalStorageLink("key") state: string = 'Hello World'
469
test: string = this.state + "!"
479
struct StoragePropToState {
480
@StorageProp("key") state: string = 'Hello World'
481
@State test: string = this.state + "!"
489
struct StoragePropToProp {
490
@StorageProp("key") state: string = 'Hello World'
491
@Prop test: string = this.state + "!"
499
struct StoragePropToProvide {
500
@StorageProp("key") state: string = 'Hello World'
501
@Provide test: string = this.state + "!"
509
struct StoragePropToStorageLink {
510
@StorageProp("key") state: string = 'Hello World'
511
@StorageLink("test") test: string = this.state + "!"
519
struct StoragePropToLocalStorageLink {
520
@StorageProp("key") state: string = 'Hello World'
521
@LocalStorageLink("test") test: string = this.state + "!"
529
struct StoragePropToStorageProp {
530
@StorageProp("key") state: string = 'Hello World'
531
@StorageProp("test") test: string = this.state + "!"
539
struct StoragePropToLocalStorageProp {
540
@StorageProp("key") state: string = 'Hello World'
541
@LocalStorageProp("test") test: string = this.state + "!"
549
struct StoragePropToBuilderParam {
550
@StorageProp("key") state: string = 'Hello World'
551
@BuilderParam test: string = this.state + "!"
559
struct StoragePropToPlain {
560
@StorageProp("key") state: string = 'Hello World'
561
test: string = this.state + "!"
571
struct LocalStoragePropToState {
572
@LocalStorageProp("key") state: string = 'Hello World'
573
@State test: string = this.state + "!"
581
struct LocalStoragePropToProp {
582
@LocalStorageProp("key") state: string = 'Hello World'
583
@Prop test: string = this.state + "!"
591
struct LocalStoragePropToProvide {
592
@LocalStorageProp("key") state: string = 'Hello World'
593
@Provide test: string = this.state + "!"
601
struct LocalStoragePropToStorageLink {
602
@LocalStorageProp("key") state: string = 'Hello World'
603
@StorageLink("test") test: string = this.state + "!"
611
struct LocalStoragePropToLocalStorageLink {
612
@LocalStorageProp("key") state: string = 'Hello World'
613
@LocalStorageLink("test") test: string = this.state + "!"
621
struct LocalStoragePropToStorageProp {
622
@LocalStorageProp("key") state: string = 'Hello World'
623
@StorageProp("test") test: string = this.state + "!"
631
struct LocalStoragePropToLocalStorageProp {
632
@LocalStorageProp("key") state: string = 'Hello World'
633
@LocalStorageProp("test") test: string = this.state + "!"
641
struct LocalStoragePropToBuilderParam {
642
@LocalStorageProp("key") state: string = 'Hello World'
643
@BuilderParam test: string = this.state + "!"
651
struct LocalStoragePropToPlain {
652
@LocalStorageProp("key") state: string = 'Hello World'
653
test: string = this.state + "!"
663
struct BuilderParamToState {
664
@BuilderParam state: string = 'Hello World'
665
@State test: string = this.state + "!"
673
struct BuilderParamToProp {
674
@BuilderParam state: string = 'Hello World'
675
@Prop test: string = this.state + "!"
683
struct BuilderParamToProvide {
684
@BuilderParam state: string = 'Hello World'
685
@Provide test: string = this.state + "!"
693
struct BuilderParamToStorageLink {
694
@BuilderParam state: string = 'Hello World'
695
@StorageLink("test") test: string = this.state + "!"
703
struct BuilderParamToLocalStorageLink {
704
@BuilderParam state: string = 'Hello World'
705
@LocalStorageLink("test") test: string = this.state + "!"
713
struct BuilderParamToStorageProp {
714
@BuilderParam state: string = 'Hello World'
715
@StorageProp("test") test: string = this.state + "!"
723
struct BuilderParamToLocalStorageProp {
724
@BuilderParam state: string = 'Hello World'
725
@LocalStorageProp("test") test: string = this.state + "!"
733
struct BuilderParamToBuilderParam {
734
@BuilderParam state: string = 'Hello World'
735
@BuilderParam test: string = this.state + "!"
743
struct BuilderParamToPlain {
744
@BuilderParam state: string = 'Hello World'
745
test: string = this.state + "!"
756
state: string = 'Hello World'
757
@State test: string = this.state + "!"
766
state: string = 'Hello World'
767
@Prop test: string = this.state + "!"
775
struct PlainToProvide {
776
state: string = 'Hello World'
777
@Provide test: string = this.state + "!"
785
struct PlainToStorageLink {
786
state: string = 'Hello World'
787
@StorageLink("test") test: string = this.state + "!"
795
struct PlainToLocalStorageLink {
796
state: string = 'Hello World'
797
@LocalStorageLink("test") test: string = this.state + "!"
805
struct PlainToStorageProp {
806
state: string = 'Hello World'
807
@StorageProp("test") test: string = this.state + "!"
815
struct PlainToLocalStorageProp {
816
state: string = 'Hello World'
817
@LocalStorageProp("test") test: string = this.state + "!"
825
struct PlainToBuilderParam {
826
state: string = 'Hello World'
827
@BuilderParam test: string = this.state + "!"
836
state: string = 'Hello World'
837
test: string = this.state + "!"