@openrewrite/rewrite 0.23.1 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/javascript/parser.d.ts +19 -17
- package/dist/src/javascript/parser.d.ts.map +1 -1
- package/dist/src/javascript/parser.js +84 -57
- package/dist/src/javascript/parser.js.map +1 -1
- package/dist/src/javascript/remote/receiver.d.ts.map +1 -1
- package/dist/src/javascript/remote/receiver.js +150 -3
- package/dist/src/javascript/remote/receiver.js.map +1 -1
- package/dist/src/javascript/remote/sender.d.ts.map +1 -1
- package/dist/src/javascript/remote/sender.js +112 -1
- package/dist/src/javascript/remote/sender.js.map +1 -1
- package/dist/src/javascript/tree/support_types.d.ts +36 -4
- package/dist/src/javascript/tree/support_types.d.ts.map +1 -1
- package/dist/src/javascript/tree/support_types.js +32 -0
- package/dist/src/javascript/tree/support_types.js.map +1 -1
- package/dist/src/javascript/tree/tree.d.ts +630 -14
- package/dist/src/javascript/tree/tree.d.ts.map +1 -1
- package/dist/src/javascript/tree/tree.js +861 -23
- package/dist/src/javascript/tree/tree.js.map +1 -1
- package/dist/src/javascript/visitor.d.ts +13 -1
- package/dist/src/javascript/visitor.d.ts.map +1 -1
- package/dist/src/javascript/visitor.js +155 -1
- package/dist/src/javascript/visitor.js.map +1 -1
- package/package.json +1 -1
|
@@ -118,7 +118,7 @@ declare const Alias_base: ((abstract new (...args: any[]) => {
|
|
|
118
118
|
isJavaScript: boolean;
|
|
119
119
|
}) & ObjectConstructor;
|
|
120
120
|
export declare class Alias extends Alias_base implements Expression {
|
|
121
|
-
constructor(id: UUID, prefix: Space, markers: Markers, propertyName: JRightPadded<Java.Identifier>, alias:
|
|
121
|
+
constructor(id: UUID, prefix: Space, markers: Markers, propertyName: JRightPadded<Java.Identifier>, alias: Expression);
|
|
122
122
|
private readonly _id;
|
|
123
123
|
get id(): UUID;
|
|
124
124
|
withId(id: UUID): Alias;
|
|
@@ -132,8 +132,8 @@ export declare class Alias extends Alias_base implements Expression {
|
|
|
132
132
|
get propertyName(): Java.Identifier;
|
|
133
133
|
withPropertyName(propertyName: Java.Identifier): Alias;
|
|
134
134
|
private readonly _alias;
|
|
135
|
-
get alias():
|
|
136
|
-
withAlias(alias:
|
|
135
|
+
get alias(): Expression;
|
|
136
|
+
withAlias(alias: Expression): Alias;
|
|
137
137
|
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
138
138
|
get type(): JavaType | null;
|
|
139
139
|
withType(type: JavaType): Alias;
|
|
@@ -510,7 +510,7 @@ declare const FunctionType_base: ((abstract new (...args: any[]) => {
|
|
|
510
510
|
isJavaScript: boolean;
|
|
511
511
|
}) & ObjectConstructor;
|
|
512
512
|
export declare class FunctionType extends FunctionType_base implements Expression, TypeTree {
|
|
513
|
-
constructor(id: UUID, prefix: Space, markers: Markers, constructorType: JRightPadded<boolean>, parameters: JContainer<Statement>, arrow: Space, returnType: Expression, _type: JavaType | null);
|
|
513
|
+
constructor(id: UUID, prefix: Space, markers: Markers, constructorType: JRightPadded<boolean>, typeParameters: Java.TypeParameters | null, parameters: JContainer<Statement>, arrow: Space, returnType: Expression, _type: JavaType | null);
|
|
514
514
|
private readonly _id;
|
|
515
515
|
get id(): UUID;
|
|
516
516
|
withId(id: UUID): FunctionType;
|
|
@@ -523,6 +523,9 @@ export declare class FunctionType extends FunctionType_base implements Expressio
|
|
|
523
523
|
private readonly _constructorType;
|
|
524
524
|
get constructorType(): boolean;
|
|
525
525
|
withConstructorType(constructorType: boolean): FunctionType;
|
|
526
|
+
private readonly _typeParameters;
|
|
527
|
+
get typeParameters(): Java.TypeParameters | null;
|
|
528
|
+
withTypeParameters(typeParameters: Java.TypeParameters | null): FunctionType;
|
|
526
529
|
private readonly _parameters;
|
|
527
530
|
get parameters(): Statement[];
|
|
528
531
|
withParameters(parameters: Statement[]): FunctionType;
|
|
@@ -543,6 +546,111 @@ export declare class FunctionType extends FunctionType_base implements Expressio
|
|
|
543
546
|
withParameters(parameters: JContainer<Statement>): FunctionType;
|
|
544
547
|
};
|
|
545
548
|
}
|
|
549
|
+
declare const InferType_base: ((abstract new (...args: any[]) => {
|
|
550
|
+
readonly prefix: Space;
|
|
551
|
+
withPrefix(prefix: Space): JS;
|
|
552
|
+
readonly id: Uint8Array;
|
|
553
|
+
withId(id: UUID): JS;
|
|
554
|
+
readonly markers: Markers;
|
|
555
|
+
withMarkers(markers: Markers): JS;
|
|
556
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
557
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
558
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
559
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
560
|
+
constructor: Function;
|
|
561
|
+
toString(): string;
|
|
562
|
+
toLocaleString(): string;
|
|
563
|
+
valueOf(): Object;
|
|
564
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
565
|
+
isPrototypeOf(v: Object): boolean;
|
|
566
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
567
|
+
}) & {
|
|
568
|
+
isTree: boolean;
|
|
569
|
+
isJava: boolean;
|
|
570
|
+
isJavaScript: boolean;
|
|
571
|
+
}) & ObjectConstructor;
|
|
572
|
+
export declare class InferType extends InferType_base implements TypeTree, Expression {
|
|
573
|
+
constructor(id: UUID, prefix: Space, markers: Markers, typeParameter: JLeftPadded<J>, _type: JavaType | null);
|
|
574
|
+
private readonly _id;
|
|
575
|
+
get id(): UUID;
|
|
576
|
+
withId(id: UUID): InferType;
|
|
577
|
+
private readonly _prefix;
|
|
578
|
+
get prefix(): Space;
|
|
579
|
+
withPrefix(prefix: Space): InferType;
|
|
580
|
+
private readonly _markers;
|
|
581
|
+
get markers(): Markers;
|
|
582
|
+
withMarkers(markers: Markers): InferType;
|
|
583
|
+
private readonly _typeParameter;
|
|
584
|
+
get typeParameter(): J;
|
|
585
|
+
withTypeParameter(typeParameter: J): InferType;
|
|
586
|
+
private readonly _type;
|
|
587
|
+
get type(): JavaType | null;
|
|
588
|
+
withType(_type: JavaType | null): InferType;
|
|
589
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
590
|
+
get padding(): {
|
|
591
|
+
readonly typeParameter: JLeftPadded<J>;
|
|
592
|
+
withTypeParameter(typeParameter: JLeftPadded<J>): InferType;
|
|
593
|
+
};
|
|
594
|
+
}
|
|
595
|
+
declare const ImportType_base: ((abstract new (...args: any[]) => {
|
|
596
|
+
readonly prefix: Space;
|
|
597
|
+
withPrefix(prefix: Space): JS;
|
|
598
|
+
readonly id: Uint8Array;
|
|
599
|
+
withId(id: UUID): JS;
|
|
600
|
+
readonly markers: Markers;
|
|
601
|
+
withMarkers(markers: Markers): JS;
|
|
602
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
603
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
604
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
605
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
606
|
+
constructor: Function;
|
|
607
|
+
toString(): string;
|
|
608
|
+
toLocaleString(): string;
|
|
609
|
+
valueOf(): Object;
|
|
610
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
611
|
+
isPrototypeOf(v: Object): boolean;
|
|
612
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
613
|
+
}) & {
|
|
614
|
+
isTree: boolean;
|
|
615
|
+
isJava: boolean;
|
|
616
|
+
isJavaScript: boolean;
|
|
617
|
+
}) & ObjectConstructor;
|
|
618
|
+
export declare class ImportType extends ImportType_base implements Expression, TypeTree {
|
|
619
|
+
constructor(id: UUID, prefix: Space, markers: Markers, hasTypeof: JRightPadded<boolean>, importArgument: Java.ParenthesizedTypeTree, qualifier: JLeftPadded<Expression> | null, typeArguments: JContainer<Expression> | null, _type: JavaType | null);
|
|
620
|
+
private readonly _id;
|
|
621
|
+
get id(): UUID;
|
|
622
|
+
withId(id: UUID): ImportType;
|
|
623
|
+
private readonly _prefix;
|
|
624
|
+
get prefix(): Space;
|
|
625
|
+
withPrefix(prefix: Space): ImportType;
|
|
626
|
+
private readonly _markers;
|
|
627
|
+
get markers(): Markers;
|
|
628
|
+
withMarkers(markers: Markers): ImportType;
|
|
629
|
+
private readonly _hasTypeof;
|
|
630
|
+
get hasTypeof(): boolean;
|
|
631
|
+
withHasTypeof(hasTypeof: boolean): ImportType;
|
|
632
|
+
private readonly _importArgument;
|
|
633
|
+
get importArgument(): Java.ParenthesizedTypeTree;
|
|
634
|
+
withImportArgument(importArgument: Java.ParenthesizedTypeTree): ImportType;
|
|
635
|
+
private readonly _qualifier;
|
|
636
|
+
get qualifier(): Expression | null;
|
|
637
|
+
withQualifier(qualifier: Expression | null): ImportType;
|
|
638
|
+
private readonly _typeArguments;
|
|
639
|
+
get typeArguments(): Expression[] | null;
|
|
640
|
+
withTypeArguments(typeArguments: Expression[] | null): ImportType;
|
|
641
|
+
private readonly _type;
|
|
642
|
+
get type(): JavaType | null;
|
|
643
|
+
withType(_type: JavaType | null): ImportType;
|
|
644
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
645
|
+
get padding(): {
|
|
646
|
+
readonly hasTypeof: JRightPadded<boolean>;
|
|
647
|
+
withHasTypeof(hasTypeof: JRightPadded<boolean>): ImportType;
|
|
648
|
+
readonly qualifier: JLeftPadded<Expression> | null;
|
|
649
|
+
withQualifier(qualifier: JLeftPadded<Expression> | null): ImportType;
|
|
650
|
+
readonly typeArguments: JContainer<Expression> | null;
|
|
651
|
+
withTypeArguments(typeArguments: JContainer<Expression> | null): ImportType;
|
|
652
|
+
};
|
|
653
|
+
}
|
|
546
654
|
declare const JsImport_base: ((abstract new (...args: any[]) => {
|
|
547
655
|
readonly prefix: Space;
|
|
548
656
|
withPrefix(prefix: Space): JS;
|
|
@@ -714,9 +822,52 @@ export declare namespace JsBinary {
|
|
|
714
822
|
IdentityEquals = 1,
|
|
715
823
|
IdentityNotEquals = 2,
|
|
716
824
|
In = 3,
|
|
717
|
-
QuestionQuestion = 4
|
|
825
|
+
QuestionQuestion = 4,
|
|
826
|
+
Comma = 5
|
|
718
827
|
}
|
|
719
828
|
}
|
|
829
|
+
declare const LiteralType_base: ((abstract new (...args: any[]) => {
|
|
830
|
+
readonly prefix: Space;
|
|
831
|
+
withPrefix(prefix: Space): JS;
|
|
832
|
+
readonly id: Uint8Array;
|
|
833
|
+
withId(id: UUID): JS;
|
|
834
|
+
readonly markers: Markers;
|
|
835
|
+
withMarkers(markers: Markers): JS;
|
|
836
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
837
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
838
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
839
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
840
|
+
constructor: Function;
|
|
841
|
+
toString(): string;
|
|
842
|
+
toLocaleString(): string;
|
|
843
|
+
valueOf(): Object;
|
|
844
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
845
|
+
isPrototypeOf(v: Object): boolean;
|
|
846
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
847
|
+
}) & {
|
|
848
|
+
isTree: boolean;
|
|
849
|
+
isJava: boolean;
|
|
850
|
+
isJavaScript: boolean;
|
|
851
|
+
}) & ObjectConstructor;
|
|
852
|
+
export declare class LiteralType extends LiteralType_base implements Expression, TypeTree {
|
|
853
|
+
constructor(id: UUID, prefix: Space, markers: Markers, literal: Expression, _type: JavaType);
|
|
854
|
+
private readonly _id;
|
|
855
|
+
get id(): UUID;
|
|
856
|
+
withId(id: UUID): LiteralType;
|
|
857
|
+
private readonly _prefix;
|
|
858
|
+
get prefix(): Space;
|
|
859
|
+
withPrefix(prefix: Space): LiteralType;
|
|
860
|
+
private readonly _markers;
|
|
861
|
+
get markers(): Markers;
|
|
862
|
+
withMarkers(markers: Markers): LiteralType;
|
|
863
|
+
private readonly _literal;
|
|
864
|
+
get literal(): Expression;
|
|
865
|
+
withLiteral(literal: Expression): LiteralType;
|
|
866
|
+
private readonly _type;
|
|
867
|
+
get type(): JavaType;
|
|
868
|
+
withType(_type: JavaType): LiteralType;
|
|
869
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
870
|
+
}
|
|
720
871
|
declare const ObjectBindingDeclarations_base: ((abstract new (...args: any[]) => {
|
|
721
872
|
readonly prefix: Space;
|
|
722
873
|
withPrefix(prefix: Space): JS;
|
|
@@ -824,6 +975,55 @@ export declare class PropertyAssignment extends PropertyAssignment_base implemen
|
|
|
824
975
|
withName(name: JRightPadded<Expression>): PropertyAssignment;
|
|
825
976
|
};
|
|
826
977
|
}
|
|
978
|
+
declare const SatisfiesExpression_base: ((abstract new (...args: any[]) => {
|
|
979
|
+
readonly prefix: Space;
|
|
980
|
+
withPrefix(prefix: Space): JS;
|
|
981
|
+
readonly id: Uint8Array;
|
|
982
|
+
withId(id: UUID): JS;
|
|
983
|
+
readonly markers: Markers;
|
|
984
|
+
withMarkers(markers: Markers): JS;
|
|
985
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
986
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
987
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
988
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
989
|
+
constructor: Function;
|
|
990
|
+
toString(): string;
|
|
991
|
+
toLocaleString(): string;
|
|
992
|
+
valueOf(): Object;
|
|
993
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
994
|
+
isPrototypeOf(v: Object): boolean;
|
|
995
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
996
|
+
}) & {
|
|
997
|
+
isTree: boolean;
|
|
998
|
+
isJava: boolean;
|
|
999
|
+
isJavaScript: boolean;
|
|
1000
|
+
}) & ObjectConstructor;
|
|
1001
|
+
export declare class SatisfiesExpression extends SatisfiesExpression_base implements Expression {
|
|
1002
|
+
constructor(id: UUID, prefix: Space, markers: Markers, expression: J, satisfiesType: JLeftPadded<Expression>, _type: JavaType | null);
|
|
1003
|
+
private readonly _id;
|
|
1004
|
+
get id(): UUID;
|
|
1005
|
+
withId(id: UUID): SatisfiesExpression;
|
|
1006
|
+
private readonly _prefix;
|
|
1007
|
+
get prefix(): Space;
|
|
1008
|
+
withPrefix(prefix: Space): SatisfiesExpression;
|
|
1009
|
+
private readonly _markers;
|
|
1010
|
+
get markers(): Markers;
|
|
1011
|
+
withMarkers(markers: Markers): SatisfiesExpression;
|
|
1012
|
+
private readonly _expression;
|
|
1013
|
+
get expression(): J;
|
|
1014
|
+
withExpression(expression: J): SatisfiesExpression;
|
|
1015
|
+
private readonly _satisfiesType;
|
|
1016
|
+
get satisfiesType(): Expression;
|
|
1017
|
+
withSatisfiesType(satisfiesType: Expression): SatisfiesExpression;
|
|
1018
|
+
private readonly _type;
|
|
1019
|
+
get type(): JavaType | null;
|
|
1020
|
+
withType(_type: JavaType | null): SatisfiesExpression;
|
|
1021
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
1022
|
+
get padding(): {
|
|
1023
|
+
readonly satisfiesType: JLeftPadded<Expression>;
|
|
1024
|
+
withSatisfiesType(satisfiesType: JLeftPadded<Expression>): SatisfiesExpression;
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
827
1027
|
declare const ScopedVariableDeclarations_base: ((abstract new (...args: any[]) => {
|
|
828
1028
|
readonly prefix: Space;
|
|
829
1029
|
withPrefix(prefix: Space): JS;
|
|
@@ -1240,7 +1440,7 @@ declare const TypeOperator_base: ((abstract new (...args: any[]) => {
|
|
|
1240
1440
|
isJava: boolean;
|
|
1241
1441
|
isJavaScript: boolean;
|
|
1242
1442
|
}) & ObjectConstructor;
|
|
1243
|
-
export declare class TypeOperator extends TypeOperator_base implements Expression,
|
|
1443
|
+
export declare class TypeOperator extends TypeOperator_base implements Expression, TypeTree {
|
|
1244
1444
|
constructor(id: UUID, prefix: Space, markers: Markers, operator: TypeOperator.Type, expression: JLeftPadded<Expression>);
|
|
1245
1445
|
private readonly _id;
|
|
1246
1446
|
get id(): UUID;
|
|
@@ -1271,6 +1471,60 @@ export declare namespace TypeOperator {
|
|
|
1271
1471
|
KeyOf = 1
|
|
1272
1472
|
}
|
|
1273
1473
|
}
|
|
1474
|
+
declare const TypePredicate_base: ((abstract new (...args: any[]) => {
|
|
1475
|
+
readonly prefix: Space;
|
|
1476
|
+
withPrefix(prefix: Space): JS;
|
|
1477
|
+
readonly id: Uint8Array;
|
|
1478
|
+
withId(id: UUID): JS;
|
|
1479
|
+
readonly markers: Markers;
|
|
1480
|
+
withMarkers(markers: Markers): JS;
|
|
1481
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
1482
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
1483
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
1484
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
1485
|
+
constructor: Function;
|
|
1486
|
+
toString(): string;
|
|
1487
|
+
toLocaleString(): string;
|
|
1488
|
+
valueOf(): Object;
|
|
1489
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
1490
|
+
isPrototypeOf(v: Object): boolean;
|
|
1491
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
1492
|
+
}) & {
|
|
1493
|
+
isTree: boolean;
|
|
1494
|
+
isJava: boolean;
|
|
1495
|
+
isJavaScript: boolean;
|
|
1496
|
+
}) & ObjectConstructor;
|
|
1497
|
+
export declare class TypePredicate extends TypePredicate_base implements Expression, TypeTree {
|
|
1498
|
+
constructor(id: UUID, prefix: Space, markers: Markers, asserts: JLeftPadded<boolean>, parameterName: Java.Identifier, expression: JLeftPadded<Expression> | null, _type: JavaType | null);
|
|
1499
|
+
private readonly _id;
|
|
1500
|
+
get id(): UUID;
|
|
1501
|
+
withId(id: UUID): TypePredicate;
|
|
1502
|
+
private readonly _prefix;
|
|
1503
|
+
get prefix(): Space;
|
|
1504
|
+
withPrefix(prefix: Space): TypePredicate;
|
|
1505
|
+
private readonly _markers;
|
|
1506
|
+
get markers(): Markers;
|
|
1507
|
+
withMarkers(markers: Markers): TypePredicate;
|
|
1508
|
+
private readonly _asserts;
|
|
1509
|
+
get asserts(): boolean;
|
|
1510
|
+
withAsserts(asserts: boolean): TypePredicate;
|
|
1511
|
+
private readonly _parameterName;
|
|
1512
|
+
get parameterName(): Java.Identifier;
|
|
1513
|
+
withParameterName(parameterName: Java.Identifier): TypePredicate;
|
|
1514
|
+
private readonly _expression;
|
|
1515
|
+
get expression(): Expression | null;
|
|
1516
|
+
withExpression(expression: Expression | null): TypePredicate;
|
|
1517
|
+
private readonly _type;
|
|
1518
|
+
get type(): JavaType | null;
|
|
1519
|
+
withType(_type: JavaType | null): TypePredicate;
|
|
1520
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
1521
|
+
get padding(): {
|
|
1522
|
+
readonly asserts: JLeftPadded<boolean>;
|
|
1523
|
+
withAsserts(asserts: JLeftPadded<boolean>): TypePredicate;
|
|
1524
|
+
readonly expression: JLeftPadded<Expression> | null;
|
|
1525
|
+
withExpression(expression: JLeftPadded<Expression> | null): TypePredicate;
|
|
1526
|
+
};
|
|
1527
|
+
}
|
|
1274
1528
|
declare const Unary_base: ((abstract new (...args: any[]) => {
|
|
1275
1529
|
readonly prefix: Space;
|
|
1276
1530
|
withPrefix(prefix: Space): JS;
|
|
@@ -1861,7 +2115,7 @@ declare const JSForInOfLoopControl_base: ((abstract new (...args: any[]) => {
|
|
|
1861
2115
|
isJavaScript: boolean;
|
|
1862
2116
|
}) & ObjectConstructor;
|
|
1863
2117
|
export declare class JSForInOfLoopControl extends JSForInOfLoopControl_base {
|
|
1864
|
-
constructor(id: UUID, prefix: Space, markers: Markers, variable: JRightPadded<
|
|
2118
|
+
constructor(id: UUID, prefix: Space, markers: Markers, variable: JRightPadded<J>, iterable: JRightPadded<Expression>);
|
|
1865
2119
|
private readonly _id;
|
|
1866
2120
|
get id(): UUID;
|
|
1867
2121
|
withId(id: UUID): JSForInOfLoopControl;
|
|
@@ -1872,15 +2126,15 @@ export declare class JSForInOfLoopControl extends JSForInOfLoopControl_base {
|
|
|
1872
2126
|
get markers(): Markers;
|
|
1873
2127
|
withMarkers(markers: Markers): JSForInOfLoopControl;
|
|
1874
2128
|
private readonly _variable;
|
|
1875
|
-
get variable():
|
|
1876
|
-
withVariable(variable:
|
|
2129
|
+
get variable(): J;
|
|
2130
|
+
withVariable(variable: J): JSForInOfLoopControl;
|
|
1877
2131
|
private readonly _iterable;
|
|
1878
2132
|
get iterable(): Expression;
|
|
1879
2133
|
withIterable(iterable: Expression): JSForInOfLoopControl;
|
|
1880
2134
|
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
1881
2135
|
get padding(): {
|
|
1882
|
-
readonly variable: JRightPadded<
|
|
1883
|
-
withVariable(variable: JRightPadded<
|
|
2136
|
+
readonly variable: JRightPadded<J>;
|
|
2137
|
+
withVariable(variable: JRightPadded<J>): JSForInOfLoopControl;
|
|
1884
2138
|
readonly iterable: JRightPadded<Expression>;
|
|
1885
2139
|
withIterable(iterable: JRightPadded<Expression>): JSForInOfLoopControl;
|
|
1886
2140
|
};
|
|
@@ -1969,7 +2223,7 @@ declare const FunctionDeclaration_base: ((abstract new (...args: any[]) => {
|
|
|
1969
2223
|
isJavaScript: boolean;
|
|
1970
2224
|
}) & ObjectConstructor;
|
|
1971
2225
|
export declare class FunctionDeclaration extends FunctionDeclaration_base implements Statement, Expression, TypedTree {
|
|
1972
|
-
constructor(id: UUID, prefix: Space, markers: Markers, modifiers: Java.Modifier[], name: Java.Identifier
|
|
2226
|
+
constructor(id: UUID, prefix: Space, markers: Markers, modifiers: Java.Modifier[], asteriskToken: JLeftPadded<boolean>, name: JLeftPadded<Java.Identifier>, typeParameters: Java.TypeParameters | null, parameters: JContainer<Statement>, returnTypeExpression: TypeTree | null, body: J, _type: JavaType | null);
|
|
1973
2227
|
private readonly _id;
|
|
1974
2228
|
get id(): UUID;
|
|
1975
2229
|
withId(id: UUID): FunctionDeclaration;
|
|
@@ -1982,9 +2236,12 @@ export declare class FunctionDeclaration extends FunctionDeclaration_base implem
|
|
|
1982
2236
|
private readonly _modifiers;
|
|
1983
2237
|
get modifiers(): Java.Modifier[];
|
|
1984
2238
|
withModifiers(modifiers: Java.Modifier[]): FunctionDeclaration;
|
|
2239
|
+
private readonly _asteriskToken;
|
|
2240
|
+
get asteriskToken(): boolean;
|
|
2241
|
+
withAsteriskToken(asteriskToken: boolean): FunctionDeclaration;
|
|
1985
2242
|
private readonly _name;
|
|
1986
|
-
get name(): Java.Identifier
|
|
1987
|
-
withName(name: Java.Identifier
|
|
2243
|
+
get name(): Java.Identifier;
|
|
2244
|
+
withName(name: Java.Identifier): FunctionDeclaration;
|
|
1988
2245
|
private readonly _typeParameters;
|
|
1989
2246
|
get typeParameters(): Java.TypeParameters | null;
|
|
1990
2247
|
withTypeParameters(typeParameters: Java.TypeParameters | null): FunctionDeclaration;
|
|
@@ -2002,6 +2259,10 @@ export declare class FunctionDeclaration extends FunctionDeclaration_base implem
|
|
|
2002
2259
|
withType(_type: JavaType | null): FunctionDeclaration;
|
|
2003
2260
|
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2004
2261
|
get padding(): {
|
|
2262
|
+
readonly asteriskToken: JLeftPadded<boolean>;
|
|
2263
|
+
withAsteriskToken(asteriskToken: JLeftPadded<boolean>): FunctionDeclaration;
|
|
2264
|
+
readonly name: JLeftPadded<Java.Identifier>;
|
|
2265
|
+
withName(name: JLeftPadded<Java.Identifier>): FunctionDeclaration;
|
|
2005
2266
|
readonly parameters: JContainer<Statement>;
|
|
2006
2267
|
withParameters(parameters: JContainer<Statement>): FunctionDeclaration;
|
|
2007
2268
|
};
|
|
@@ -2204,5 +2465,360 @@ export declare class BindingElement extends BindingElement_base implements State
|
|
|
2204
2465
|
withInitializer(initializer: JLeftPadded<Expression> | null): BindingElement;
|
|
2205
2466
|
};
|
|
2206
2467
|
}
|
|
2468
|
+
declare const ExportDeclaration_base: ((abstract new (...args: any[]) => {
|
|
2469
|
+
readonly prefix: Space;
|
|
2470
|
+
withPrefix(prefix: Space): JS;
|
|
2471
|
+
readonly id: Uint8Array;
|
|
2472
|
+
withId(id: UUID): JS;
|
|
2473
|
+
readonly markers: Markers;
|
|
2474
|
+
withMarkers(markers: Markers): JS;
|
|
2475
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
2476
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
2477
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
2478
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2479
|
+
constructor: Function;
|
|
2480
|
+
toString(): string;
|
|
2481
|
+
toLocaleString(): string;
|
|
2482
|
+
valueOf(): Object;
|
|
2483
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
2484
|
+
isPrototypeOf(v: Object): boolean;
|
|
2485
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
2486
|
+
}) & {
|
|
2487
|
+
isTree: boolean;
|
|
2488
|
+
isJava: boolean;
|
|
2489
|
+
isJavaScript: boolean;
|
|
2490
|
+
}) & ObjectConstructor;
|
|
2491
|
+
export declare class ExportDeclaration extends ExportDeclaration_base implements Statement {
|
|
2492
|
+
constructor(id: UUID, prefix: Space, markers: Markers, modifiers: Java.Modifier[], typeOnly: JLeftPadded<boolean>, exportClause: Expression | null, moduleSpecifier: JLeftPadded<Expression> | null);
|
|
2493
|
+
private readonly _id;
|
|
2494
|
+
get id(): UUID;
|
|
2495
|
+
withId(id: UUID): ExportDeclaration;
|
|
2496
|
+
private readonly _prefix;
|
|
2497
|
+
get prefix(): Space;
|
|
2498
|
+
withPrefix(prefix: Space): ExportDeclaration;
|
|
2499
|
+
private readonly _markers;
|
|
2500
|
+
get markers(): Markers;
|
|
2501
|
+
withMarkers(markers: Markers): ExportDeclaration;
|
|
2502
|
+
private readonly _modifiers;
|
|
2503
|
+
get modifiers(): Java.Modifier[];
|
|
2504
|
+
withModifiers(modifiers: Java.Modifier[]): ExportDeclaration;
|
|
2505
|
+
private readonly _typeOnly;
|
|
2506
|
+
get typeOnly(): boolean;
|
|
2507
|
+
withTypeOnly(typeOnly: boolean): ExportDeclaration;
|
|
2508
|
+
private readonly _exportClause;
|
|
2509
|
+
get exportClause(): Expression | null;
|
|
2510
|
+
withExportClause(exportClause: Expression | null): ExportDeclaration;
|
|
2511
|
+
private readonly _moduleSpecifier;
|
|
2512
|
+
get moduleSpecifier(): Expression | null;
|
|
2513
|
+
withModuleSpecifier(moduleSpecifier: Expression | null): ExportDeclaration;
|
|
2514
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2515
|
+
get padding(): {
|
|
2516
|
+
readonly typeOnly: JLeftPadded<boolean>;
|
|
2517
|
+
withTypeOnly(typeOnly: JLeftPadded<boolean>): ExportDeclaration;
|
|
2518
|
+
readonly moduleSpecifier: JLeftPadded<Expression> | null;
|
|
2519
|
+
withModuleSpecifier(moduleSpecifier: JLeftPadded<Expression> | null): ExportDeclaration;
|
|
2520
|
+
};
|
|
2521
|
+
}
|
|
2522
|
+
declare const ExportAssignment_base: ((abstract new (...args: any[]) => {
|
|
2523
|
+
readonly prefix: Space;
|
|
2524
|
+
withPrefix(prefix: Space): JS;
|
|
2525
|
+
readonly id: Uint8Array;
|
|
2526
|
+
withId(id: UUID): JS;
|
|
2527
|
+
readonly markers: Markers;
|
|
2528
|
+
withMarkers(markers: Markers): JS;
|
|
2529
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
2530
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
2531
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
2532
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2533
|
+
constructor: Function;
|
|
2534
|
+
toString(): string;
|
|
2535
|
+
toLocaleString(): string;
|
|
2536
|
+
valueOf(): Object;
|
|
2537
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
2538
|
+
isPrototypeOf(v: Object): boolean;
|
|
2539
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
2540
|
+
}) & {
|
|
2541
|
+
isTree: boolean;
|
|
2542
|
+
isJava: boolean;
|
|
2543
|
+
isJavaScript: boolean;
|
|
2544
|
+
}) & ObjectConstructor;
|
|
2545
|
+
export declare class ExportAssignment extends ExportAssignment_base implements Statement {
|
|
2546
|
+
constructor(id: UUID, prefix: Space, markers: Markers, modifiers: Java.Modifier[], exportEquals: JLeftPadded<boolean>, expression: Expression | null);
|
|
2547
|
+
private readonly _id;
|
|
2548
|
+
get id(): UUID;
|
|
2549
|
+
withId(id: UUID): ExportAssignment;
|
|
2550
|
+
private readonly _prefix;
|
|
2551
|
+
get prefix(): Space;
|
|
2552
|
+
withPrefix(prefix: Space): ExportAssignment;
|
|
2553
|
+
private readonly _markers;
|
|
2554
|
+
get markers(): Markers;
|
|
2555
|
+
withMarkers(markers: Markers): ExportAssignment;
|
|
2556
|
+
private readonly _modifiers;
|
|
2557
|
+
get modifiers(): Java.Modifier[];
|
|
2558
|
+
withModifiers(modifiers: Java.Modifier[]): ExportAssignment;
|
|
2559
|
+
private readonly _exportEquals;
|
|
2560
|
+
get exportEquals(): boolean;
|
|
2561
|
+
withExportEquals(exportEquals: boolean): ExportAssignment;
|
|
2562
|
+
private readonly _expression;
|
|
2563
|
+
get expression(): Expression | null;
|
|
2564
|
+
withExpression(expression: Expression | null): ExportAssignment;
|
|
2565
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2566
|
+
get padding(): {
|
|
2567
|
+
readonly exportEquals: JLeftPadded<boolean>;
|
|
2568
|
+
withExportEquals(exportEquals: JLeftPadded<boolean>): ExportAssignment;
|
|
2569
|
+
};
|
|
2570
|
+
}
|
|
2571
|
+
declare const NamedExports_base: ((abstract new (...args: any[]) => {
|
|
2572
|
+
readonly prefix: Space;
|
|
2573
|
+
withPrefix(prefix: Space): JS;
|
|
2574
|
+
readonly id: Uint8Array;
|
|
2575
|
+
withId(id: UUID): JS;
|
|
2576
|
+
readonly markers: Markers;
|
|
2577
|
+
withMarkers(markers: Markers): JS;
|
|
2578
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
2579
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
2580
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
2581
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2582
|
+
constructor: Function;
|
|
2583
|
+
toString(): string;
|
|
2584
|
+
toLocaleString(): string;
|
|
2585
|
+
valueOf(): Object;
|
|
2586
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
2587
|
+
isPrototypeOf(v: Object): boolean;
|
|
2588
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
2589
|
+
}) & {
|
|
2590
|
+
isTree: boolean;
|
|
2591
|
+
isJava: boolean;
|
|
2592
|
+
isJavaScript: boolean;
|
|
2593
|
+
}) & ObjectConstructor;
|
|
2594
|
+
export declare class NamedExports extends NamedExports_base implements Expression {
|
|
2595
|
+
constructor(id: UUID, prefix: Space, markers: Markers, elements: JContainer<ExportSpecifier>, _type: JavaType | null);
|
|
2596
|
+
private readonly _id;
|
|
2597
|
+
get id(): UUID;
|
|
2598
|
+
withId(id: UUID): NamedExports;
|
|
2599
|
+
private readonly _prefix;
|
|
2600
|
+
get prefix(): Space;
|
|
2601
|
+
withPrefix(prefix: Space): NamedExports;
|
|
2602
|
+
private readonly _markers;
|
|
2603
|
+
get markers(): Markers;
|
|
2604
|
+
withMarkers(markers: Markers): NamedExports;
|
|
2605
|
+
private readonly _elements;
|
|
2606
|
+
get elements(): ExportSpecifier[];
|
|
2607
|
+
withElements(elements: ExportSpecifier[]): NamedExports;
|
|
2608
|
+
private readonly _type;
|
|
2609
|
+
get type(): JavaType | null;
|
|
2610
|
+
withType(_type: JavaType | null): NamedExports;
|
|
2611
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2612
|
+
get padding(): {
|
|
2613
|
+
readonly elements: JContainer<ExportSpecifier>;
|
|
2614
|
+
withElements(elements: JContainer<ExportSpecifier>): NamedExports;
|
|
2615
|
+
};
|
|
2616
|
+
}
|
|
2617
|
+
declare const ExportSpecifier_base: ((abstract new (...args: any[]) => {
|
|
2618
|
+
readonly prefix: Space;
|
|
2619
|
+
withPrefix(prefix: Space): JS;
|
|
2620
|
+
readonly id: Uint8Array;
|
|
2621
|
+
withId(id: UUID): JS;
|
|
2622
|
+
readonly markers: Markers;
|
|
2623
|
+
withMarkers(markers: Markers): JS;
|
|
2624
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
2625
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
2626
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
2627
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2628
|
+
constructor: Function;
|
|
2629
|
+
toString(): string;
|
|
2630
|
+
toLocaleString(): string;
|
|
2631
|
+
valueOf(): Object;
|
|
2632
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
2633
|
+
isPrototypeOf(v: Object): boolean;
|
|
2634
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
2635
|
+
}) & {
|
|
2636
|
+
isTree: boolean;
|
|
2637
|
+
isJava: boolean;
|
|
2638
|
+
isJavaScript: boolean;
|
|
2639
|
+
}) & ObjectConstructor;
|
|
2640
|
+
export declare class ExportSpecifier extends ExportSpecifier_base implements Expression, TypedTree {
|
|
2641
|
+
constructor(id: UUID, prefix: Space, markers: Markers, typeOnly: JLeftPadded<boolean>, specifier: Expression, _type: JavaType | null);
|
|
2642
|
+
private readonly _id;
|
|
2643
|
+
get id(): UUID;
|
|
2644
|
+
withId(id: UUID): ExportSpecifier;
|
|
2645
|
+
private readonly _prefix;
|
|
2646
|
+
get prefix(): Space;
|
|
2647
|
+
withPrefix(prefix: Space): ExportSpecifier;
|
|
2648
|
+
private readonly _markers;
|
|
2649
|
+
get markers(): Markers;
|
|
2650
|
+
withMarkers(markers: Markers): ExportSpecifier;
|
|
2651
|
+
private readonly _typeOnly;
|
|
2652
|
+
get typeOnly(): boolean;
|
|
2653
|
+
withTypeOnly(typeOnly: boolean): ExportSpecifier;
|
|
2654
|
+
private readonly _specifier;
|
|
2655
|
+
get specifier(): Expression;
|
|
2656
|
+
withSpecifier(specifier: Expression): ExportSpecifier;
|
|
2657
|
+
private readonly _type;
|
|
2658
|
+
get type(): JavaType | null;
|
|
2659
|
+
withType(_type: JavaType | null): ExportSpecifier;
|
|
2660
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2661
|
+
get padding(): {
|
|
2662
|
+
readonly typeOnly: JLeftPadded<boolean>;
|
|
2663
|
+
withTypeOnly(typeOnly: JLeftPadded<boolean>): ExportSpecifier;
|
|
2664
|
+
};
|
|
2665
|
+
}
|
|
2666
|
+
declare const IndexedAccessType_base: ((abstract new (...args: any[]) => {
|
|
2667
|
+
readonly prefix: Space;
|
|
2668
|
+
withPrefix(prefix: Space): JS;
|
|
2669
|
+
readonly id: Uint8Array;
|
|
2670
|
+
withId(id: UUID): JS;
|
|
2671
|
+
readonly markers: Markers;
|
|
2672
|
+
withMarkers(markers: Markers): JS;
|
|
2673
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
2674
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
2675
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
2676
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2677
|
+
constructor: Function;
|
|
2678
|
+
toString(): string;
|
|
2679
|
+
toLocaleString(): string;
|
|
2680
|
+
valueOf(): Object;
|
|
2681
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
2682
|
+
isPrototypeOf(v: Object): boolean;
|
|
2683
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
2684
|
+
}) & {
|
|
2685
|
+
isTree: boolean;
|
|
2686
|
+
isJava: boolean;
|
|
2687
|
+
isJavaScript: boolean;
|
|
2688
|
+
}) & ObjectConstructor;
|
|
2689
|
+
export declare class IndexedAccessType extends IndexedAccessType_base implements Expression, TypeTree {
|
|
2690
|
+
constructor(id: UUID, prefix: Space, markers: Markers, objectType: TypeTree, indexType: JRightPadded<TypeTree>, _type: JavaType | null);
|
|
2691
|
+
private readonly _id;
|
|
2692
|
+
get id(): UUID;
|
|
2693
|
+
withId(id: UUID): IndexedAccessType;
|
|
2694
|
+
private readonly _prefix;
|
|
2695
|
+
get prefix(): Space;
|
|
2696
|
+
withPrefix(prefix: Space): IndexedAccessType;
|
|
2697
|
+
private readonly _markers;
|
|
2698
|
+
get markers(): Markers;
|
|
2699
|
+
withMarkers(markers: Markers): IndexedAccessType;
|
|
2700
|
+
private readonly _objectType;
|
|
2701
|
+
get objectType(): TypeTree;
|
|
2702
|
+
withObjectType(objectType: TypeTree): IndexedAccessType;
|
|
2703
|
+
private readonly _indexType;
|
|
2704
|
+
get indexType(): TypeTree;
|
|
2705
|
+
withIndexType(indexType: TypeTree): IndexedAccessType;
|
|
2706
|
+
private readonly _type;
|
|
2707
|
+
get type(): JavaType | null;
|
|
2708
|
+
withType(_type: JavaType | null): IndexedAccessType;
|
|
2709
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2710
|
+
get padding(): {
|
|
2711
|
+
readonly indexType: JRightPadded<TypeTree>;
|
|
2712
|
+
withIndexType(indexType: JRightPadded<TypeTree>): IndexedAccessType;
|
|
2713
|
+
};
|
|
2714
|
+
}
|
|
2715
|
+
export declare namespace IndexedAccessType {
|
|
2716
|
+
const IndexType_base: ((abstract new (...args: any[]) => {
|
|
2717
|
+
readonly prefix: Space;
|
|
2718
|
+
withPrefix(prefix: Space): JS;
|
|
2719
|
+
readonly id: Uint8Array;
|
|
2720
|
+
withId(id: UUID): JS;
|
|
2721
|
+
readonly markers: Markers;
|
|
2722
|
+
withMarkers(markers: Markers): JS;
|
|
2723
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
2724
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
2725
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
2726
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2727
|
+
constructor: Function;
|
|
2728
|
+
toString(): string;
|
|
2729
|
+
toLocaleString(): string;
|
|
2730
|
+
valueOf(): Object;
|
|
2731
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
2732
|
+
isPrototypeOf(v: Object): boolean;
|
|
2733
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
2734
|
+
}) & {
|
|
2735
|
+
isTree: boolean;
|
|
2736
|
+
isJava: boolean;
|
|
2737
|
+
isJavaScript: boolean;
|
|
2738
|
+
}) & ObjectConstructor;
|
|
2739
|
+
export class IndexType extends IndexType_base implements Expression, TypeTree {
|
|
2740
|
+
constructor(id: UUID, prefix: Space, markers: Markers, element: JRightPadded<TypeTree>, _type: JavaType | null);
|
|
2741
|
+
private readonly _id;
|
|
2742
|
+
get id(): UUID;
|
|
2743
|
+
withId(id: UUID): IndexedAccessType.IndexType;
|
|
2744
|
+
private readonly _prefix;
|
|
2745
|
+
get prefix(): Space;
|
|
2746
|
+
withPrefix(prefix: Space): IndexedAccessType.IndexType;
|
|
2747
|
+
private readonly _markers;
|
|
2748
|
+
get markers(): Markers;
|
|
2749
|
+
withMarkers(markers: Markers): IndexedAccessType.IndexType;
|
|
2750
|
+
private readonly _element;
|
|
2751
|
+
get element(): TypeTree;
|
|
2752
|
+
withElement(element: TypeTree): IndexedAccessType.IndexType;
|
|
2753
|
+
private readonly _type;
|
|
2754
|
+
get type(): JavaType | null;
|
|
2755
|
+
withType(_type: JavaType | null): IndexedAccessType.IndexType;
|
|
2756
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2757
|
+
get padding(): {
|
|
2758
|
+
readonly element: JRightPadded<TypeTree>;
|
|
2759
|
+
withElement(element: JRightPadded<TypeTree>): IndexedAccessType.IndexType;
|
|
2760
|
+
};
|
|
2761
|
+
}
|
|
2762
|
+
export {};
|
|
2763
|
+
}
|
|
2764
|
+
declare const JsAssignmentOperation_base: ((abstract new (...args: any[]) => {
|
|
2765
|
+
readonly prefix: Space;
|
|
2766
|
+
withPrefix(prefix: Space): JS;
|
|
2767
|
+
readonly id: Uint8Array;
|
|
2768
|
+
withId(id: UUID): JS;
|
|
2769
|
+
readonly markers: Markers;
|
|
2770
|
+
withMarkers(markers: Markers): JS;
|
|
2771
|
+
isAcceptable<P>(v: TreeVisitor<Tree, P>, p: P): boolean;
|
|
2772
|
+
accept<R extends Tree, P>(v: TreeVisitor<R, P>, p: P): R | null;
|
|
2773
|
+
acceptJava<P>(v: import("../../java").JavaVisitor<P>, p: P): J | null;
|
|
2774
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2775
|
+
constructor: Function;
|
|
2776
|
+
toString(): string;
|
|
2777
|
+
toLocaleString(): string;
|
|
2778
|
+
valueOf(): Object;
|
|
2779
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
2780
|
+
isPrototypeOf(v: Object): boolean;
|
|
2781
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
2782
|
+
}) & {
|
|
2783
|
+
isTree: boolean;
|
|
2784
|
+
isJava: boolean;
|
|
2785
|
+
isJavaScript: boolean;
|
|
2786
|
+
}) & ObjectConstructor;
|
|
2787
|
+
export declare class JsAssignmentOperation extends JsAssignmentOperation_base implements Statement, Expression, TypedTree {
|
|
2788
|
+
constructor(id: UUID, prefix: Space, markers: Markers, variable: Expression, operator: JLeftPadded<JsAssignmentOperation.Type>, assignment: Expression, _type: JavaType | null);
|
|
2789
|
+
private readonly _id;
|
|
2790
|
+
get id(): UUID;
|
|
2791
|
+
withId(id: UUID): JsAssignmentOperation;
|
|
2792
|
+
private readonly _prefix;
|
|
2793
|
+
get prefix(): Space;
|
|
2794
|
+
withPrefix(prefix: Space): JsAssignmentOperation;
|
|
2795
|
+
private readonly _markers;
|
|
2796
|
+
get markers(): Markers;
|
|
2797
|
+
withMarkers(markers: Markers): JsAssignmentOperation;
|
|
2798
|
+
private readonly _variable;
|
|
2799
|
+
get variable(): Expression;
|
|
2800
|
+
withVariable(variable: Expression): JsAssignmentOperation;
|
|
2801
|
+
private readonly _operator;
|
|
2802
|
+
get operator(): JsAssignmentOperation.Type;
|
|
2803
|
+
withOperator(operator: JsAssignmentOperation.Type): JsAssignmentOperation;
|
|
2804
|
+
private readonly _assignment;
|
|
2805
|
+
get assignment(): Expression;
|
|
2806
|
+
withAssignment(assignment: Expression): JsAssignmentOperation;
|
|
2807
|
+
private readonly _type;
|
|
2808
|
+
get type(): JavaType | null;
|
|
2809
|
+
withType(_type: JavaType | null): JsAssignmentOperation;
|
|
2810
|
+
acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null;
|
|
2811
|
+
get padding(): {
|
|
2812
|
+
readonly operator: JLeftPadded<JsAssignmentOperation.Type>;
|
|
2813
|
+
withOperator(operator: JLeftPadded<JsAssignmentOperation.Type>): JsAssignmentOperation;
|
|
2814
|
+
};
|
|
2815
|
+
}
|
|
2816
|
+
export declare namespace JsAssignmentOperation {
|
|
2817
|
+
enum Type {
|
|
2818
|
+
QuestionQuestion = 0,
|
|
2819
|
+
And = 1,
|
|
2820
|
+
Or = 2
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2207
2823
|
export {};
|
|
2208
2824
|
//# sourceMappingURL=tree.d.ts.map
|