autoit3-pegjs 4.1.0 → 4.1.2
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/autoit3.d.ts +55 -52
- package/dist/autoit3.js +312 -382
- package/package.json +1 -1
package/dist/autoit3.d.ts
CHANGED
|
@@ -215,7 +215,12 @@ type PreProc =
|
|
|
215
215
|
| { type: "IncludeOnceStatement"; location: LocationRange }
|
|
216
216
|
| IncludeStatement
|
|
217
217
|
| { type: "PreProcStatement"; body: string; location: LocationRange };
|
|
218
|
-
type IncludeStatement = {
|
|
218
|
+
type IncludeStatement = {
|
|
219
|
+
type: "IncludeStatement";
|
|
220
|
+
library: boolean;
|
|
221
|
+
file: string;
|
|
222
|
+
location: LocationRange;
|
|
223
|
+
};
|
|
219
224
|
type IncludeFileName = [true, string] | [false, string];
|
|
220
225
|
type LiteralWhitespace = string;
|
|
221
226
|
type Whitespace = [LineContinuation, LiteralWhitespace[]] | LiteralWhitespace[];
|
|
@@ -472,55 +477,55 @@ type BooleanLiteral =
|
|
|
472
477
|
| { type: "Literal"; value: true; location: LocationRange }
|
|
473
478
|
| { type: "Literal"; value: false; location: LocationRange };
|
|
474
479
|
type Literal = NullLiteral | BooleanLiteral | NumericLiteral | StringLiteral;
|
|
475
|
-
type AndToken =
|
|
476
|
-
type ByRefToken =
|
|
477
|
-
type CaseToken =
|
|
480
|
+
type AndToken = string;
|
|
481
|
+
type ByRefToken = string;
|
|
482
|
+
type CaseToken = string;
|
|
478
483
|
type CEToken = string;
|
|
479
484
|
type CommentsStartToken = string;
|
|
480
485
|
type CommentsEndToken = string;
|
|
481
|
-
type ConstToken =
|
|
482
|
-
type ContinueCaseToken =
|
|
483
|
-
type ContinueLoopToken =
|
|
486
|
+
type ConstToken = string;
|
|
487
|
+
type ContinueCaseToken = string;
|
|
488
|
+
type ContinueLoopToken = string;
|
|
484
489
|
type CSToken = string;
|
|
485
|
-
type DefaultToken =
|
|
486
|
-
type DimToken =
|
|
487
|
-
type DoToken =
|
|
488
|
-
type ElseToken =
|
|
489
|
-
type ElseIfToken =
|
|
490
|
-
type EndFuncToken =
|
|
491
|
-
type EndIfToken =
|
|
492
|
-
type EndSelectToken =
|
|
493
|
-
type EndSwitchToken =
|
|
494
|
-
type EndWithToken =
|
|
495
|
-
type EnumToken =
|
|
496
|
-
type ExitToken =
|
|
497
|
-
type ExitLoopToken =
|
|
498
|
-
type FalseToken =
|
|
499
|
-
type ForToken =
|
|
500
|
-
type FuncToken =
|
|
501
|
-
type GlobalToken =
|
|
502
|
-
type IfToken =
|
|
503
|
-
type IncludeToken =
|
|
504
|
-
type InToken =
|
|
505
|
-
type LocalToken =
|
|
506
|
-
type NextToken =
|
|
507
|
-
type NullToken =
|
|
508
|
-
type NotToken =
|
|
509
|
-
type OrToken =
|
|
510
|
-
type RedimToken =
|
|
511
|
-
type ReturnToken =
|
|
512
|
-
type SelectToken =
|
|
513
|
-
type StaticToken =
|
|
514
|
-
type StepToken =
|
|
515
|
-
type SwitchToken =
|
|
516
|
-
type ThenToken =
|
|
517
|
-
type ToToken =
|
|
518
|
-
type UntilToken =
|
|
519
|
-
type VolatileToken =
|
|
520
|
-
type TrueToken =
|
|
521
|
-
type WEndToken =
|
|
522
|
-
type WhileToken =
|
|
523
|
-
type WithToken =
|
|
490
|
+
type DefaultToken = string;
|
|
491
|
+
type DimToken = string;
|
|
492
|
+
type DoToken = string;
|
|
493
|
+
type ElseToken = string;
|
|
494
|
+
type ElseIfToken = string;
|
|
495
|
+
type EndFuncToken = string;
|
|
496
|
+
type EndIfToken = string;
|
|
497
|
+
type EndSelectToken = string;
|
|
498
|
+
type EndSwitchToken = string;
|
|
499
|
+
type EndWithToken = string;
|
|
500
|
+
type EnumToken = string;
|
|
501
|
+
type ExitToken = string;
|
|
502
|
+
type ExitLoopToken = string;
|
|
503
|
+
type FalseToken = string;
|
|
504
|
+
type ForToken = string;
|
|
505
|
+
type FuncToken = string;
|
|
506
|
+
type GlobalToken = string;
|
|
507
|
+
type IfToken = string;
|
|
508
|
+
type IncludeToken = string;
|
|
509
|
+
type InToken = string;
|
|
510
|
+
type LocalToken = string;
|
|
511
|
+
type NextToken = string;
|
|
512
|
+
type NullToken = string;
|
|
513
|
+
type NotToken = string;
|
|
514
|
+
type OrToken = string;
|
|
515
|
+
type RedimToken = string;
|
|
516
|
+
type ReturnToken = string;
|
|
517
|
+
type SelectToken = string;
|
|
518
|
+
type StaticToken = string;
|
|
519
|
+
type StepToken = string;
|
|
520
|
+
type SwitchToken = string;
|
|
521
|
+
type ThenToken = string;
|
|
522
|
+
type ToToken = string;
|
|
523
|
+
type UntilToken = string;
|
|
524
|
+
type VolatileToken = string;
|
|
525
|
+
type TrueToken = string;
|
|
526
|
+
type WEndToken = string;
|
|
527
|
+
type WhileToken = string;
|
|
528
|
+
type WithToken = string;
|
|
524
529
|
type Letter = string;
|
|
525
530
|
type NumericLiteral = HexIntegerLiteral | DecimalLiteral;
|
|
526
531
|
type DecimalDigit = string;
|
|
@@ -629,7 +634,7 @@ type ConditionalExpressionInWith =
|
|
|
629
634
|
type LogicalORExpression =
|
|
630
635
|
| {
|
|
631
636
|
type: "LogicalExpression";
|
|
632
|
-
operator:
|
|
637
|
+
operator: OrToken;
|
|
633
638
|
left: LogicalANDExpression;
|
|
634
639
|
right: LogicalORExpression;
|
|
635
640
|
location: LocationRange;
|
|
@@ -638,7 +643,7 @@ type LogicalORExpression =
|
|
|
638
643
|
type LogicalORExpressionInWith =
|
|
639
644
|
| {
|
|
640
645
|
type: "LogicalExpression";
|
|
641
|
-
operator:
|
|
646
|
+
operator: OrToken;
|
|
642
647
|
left: LogicalANDExpressionInWith;
|
|
643
648
|
right: LogicalORExpressionInWith;
|
|
644
649
|
location: LocationRange;
|
|
@@ -647,7 +652,7 @@ type LogicalORExpressionInWith =
|
|
|
647
652
|
type LogicalANDExpression =
|
|
648
653
|
| {
|
|
649
654
|
type: "LogicalExpression";
|
|
650
|
-
operator:
|
|
655
|
+
operator: AndToken;
|
|
651
656
|
left: EqualityExpression;
|
|
652
657
|
right: LogicalANDExpression;
|
|
653
658
|
location: LocationRange;
|
|
@@ -656,14 +661,12 @@ type LogicalANDExpression =
|
|
|
656
661
|
type LogicalANDExpressionInWith =
|
|
657
662
|
| {
|
|
658
663
|
type: "LogicalExpression";
|
|
659
|
-
operator:
|
|
664
|
+
operator: AndToken;
|
|
660
665
|
left: EqualityExpressionInWith;
|
|
661
666
|
right: LogicalANDExpressionInWith;
|
|
662
667
|
location: LocationRange;
|
|
663
668
|
}
|
|
664
669
|
| EqualityExpressionInWith;
|
|
665
|
-
type LogicalOROperator = string;
|
|
666
|
-
type LogicalANDOperator = string;
|
|
667
670
|
type EqualityExpression =
|
|
668
671
|
| {
|
|
669
672
|
type: "BinaryExpression";
|