brighterscript 1.0.0-alpha.32 → 1.0.0-alpha.34
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/CHANGELOG.md +45 -0
- package/README.md +2 -2
- package/bsconfig.schema.json +3 -1
- package/dist/CrossScopeValidator.js +11 -11
- package/dist/CrossScopeValidator.js.map +1 -1
- package/dist/DiagnosticManager.js +3 -3
- package/dist/DiagnosticManager.js.map +1 -1
- package/dist/DiagnosticMessages.js +6 -4
- package/dist/DiagnosticMessages.js.map +1 -1
- package/dist/FunctionScope.js +2 -2
- package/dist/FunctionScope.js.map +1 -1
- package/dist/Program.js +4 -3
- package/dist/Program.js.map +1 -1
- package/dist/astUtils/creators.d.ts +13 -19
- package/dist/astUtils/creators.js +27 -42
- package/dist/astUtils/creators.js.map +1 -1
- package/dist/astUtils/reflection.spec.js +1 -1
- package/dist/astUtils/reflection.spec.js.map +1 -1
- package/dist/astUtils/visitors.spec.js +4 -6
- package/dist/astUtils/visitors.spec.js.map +1 -1
- package/dist/bscPlugin/CallExpressionInfo.js +9 -5
- package/dist/bscPlugin/CallExpressionInfo.js.map +1 -1
- package/dist/bscPlugin/SignatureHelpUtil.js +5 -5
- package/dist/bscPlugin/SignatureHelpUtil.js.map +1 -1
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.js +4 -4
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.js.map +1 -1
- package/dist/bscPlugin/completions/CompletionsProcessor.d.ts +5 -1
- package/dist/bscPlugin/completions/CompletionsProcessor.js +94 -70
- package/dist/bscPlugin/completions/CompletionsProcessor.js.map +1 -1
- package/dist/bscPlugin/completions/CompletionsProcessor.spec.js +24 -3
- package/dist/bscPlugin/completions/CompletionsProcessor.spec.js.map +1 -1
- package/dist/bscPlugin/definition/DefinitionProvider.js +20 -17
- package/dist/bscPlugin/definition/DefinitionProvider.js.map +1 -1
- package/dist/bscPlugin/hover/HoverProcessor.js +4 -4
- package/dist/bscPlugin/hover/HoverProcessor.js.map +1 -1
- package/dist/bscPlugin/references/ReferencesProvider.js +4 -3
- package/dist/bscPlugin/references/ReferencesProvider.js.map +1 -1
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js +2 -2
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js.map +1 -1
- package/dist/bscPlugin/symbols/symbolUtils.js +22 -21
- package/dist/bscPlugin/symbols/symbolUtils.js.map +1 -1
- package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.js +4 -4
- package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.js.map +1 -1
- package/dist/bscPlugin/validation/BrsFileValidator.js +32 -25
- package/dist/bscPlugin/validation/BrsFileValidator.js.map +1 -1
- package/dist/bscPlugin/validation/ScopeValidator.js +84 -76
- package/dist/bscPlugin/validation/ScopeValidator.js.map +1 -1
- package/dist/bscPlugin/validation/ScopeValidator.spec.js +78 -0
- package/dist/bscPlugin/validation/ScopeValidator.spec.js.map +1 -1
- package/dist/bscPlugin/validation/XmlFileValidator.js +4 -3
- package/dist/bscPlugin/validation/XmlFileValidator.js.map +1 -1
- package/dist/files/BrsFile.js +42 -32
- package/dist/files/BrsFile.js.map +1 -1
- package/dist/files/BrsFile.spec.js +124 -26
- package/dist/files/BrsFile.spec.js.map +1 -1
- package/dist/files/XmlFile.js +4 -1
- package/dist/files/XmlFile.js.map +1 -1
- package/dist/files/XmlFile.spec.js +4 -2
- package/dist/files/XmlFile.spec.js.map +1 -1
- package/dist/globalCallables.js +1 -1
- package/dist/globalCallables.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +6 -4
- package/dist/interfaces.js +3 -3
- package/dist/interfaces.js.map +1 -1
- package/dist/lexer/Lexer.d.ts +10 -1
- package/dist/lexer/Lexer.js +16 -6
- package/dist/lexer/Lexer.js.map +1 -1
- package/dist/lexer/Lexer.spec.js +9 -8
- package/dist/lexer/Lexer.spec.js.map +1 -1
- package/dist/lexer/Token.d.ts +16 -8
- package/dist/lexer/Token.js.map +1 -1
- package/dist/parser/AstNode.d.ts +4 -4
- package/dist/parser/AstNode.js +3 -3
- package/dist/parser/AstNode.js.map +1 -1
- package/dist/parser/BrsTranspileState.d.ts +2 -2
- package/dist/parser/Expression.d.ts +55 -55
- package/dist/parser/Expression.js +95 -101
- package/dist/parser/Expression.js.map +1 -1
- package/dist/parser/Parser.Class.spec.js +59 -59
- package/dist/parser/Parser.Class.spec.js.map +1 -1
- package/dist/parser/Parser.d.ts +5 -1
- package/dist/parser/Parser.js +123 -97
- package/dist/parser/Parser.js.map +1 -1
- package/dist/parser/Parser.spec.js +233 -223
- package/dist/parser/Parser.spec.js.map +1 -1
- package/dist/parser/SGParser.d.ts +19 -6
- package/dist/parser/SGParser.js +22 -11
- package/dist/parser/SGParser.js.map +1 -1
- package/dist/parser/SGParser.spec.js +4 -4
- package/dist/parser/SGParser.spec.js.map +1 -1
- package/dist/parser/SGTypes.d.ts +6 -6
- package/dist/parser/SGTypes.js +11 -11
- package/dist/parser/SGTypes.js.map +1 -1
- package/dist/parser/Statement.d.ts +100 -102
- package/dist/parser/Statement.js +215 -149
- package/dist/parser/Statement.js.map +1 -1
- package/dist/parser/Statement.spec.js +89 -3
- package/dist/parser/Statement.spec.js.map +1 -1
- package/dist/parser/TranspileState.d.ts +6 -6
- package/dist/parser/TranspileState.js +29 -12
- package/dist/parser/TranspileState.js.map +1 -1
- package/dist/parser/tests/Parser.spec.d.ts +0 -7
- package/dist/parser/tests/Parser.spec.js +2 -12
- package/dist/parser/tests/Parser.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/For.spec.js +19 -21
- package/dist/parser/tests/controlFlow/For.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/ForEach.spec.js +16 -15
- package/dist/parser/tests/controlFlow/ForEach.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/If.spec.js +219 -97
- package/dist/parser/tests/controlFlow/If.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/While.spec.js +13 -12
- package/dist/parser/tests/controlFlow/While.spec.js.map +1 -1
- package/dist/parser/tests/expression/Additive.spec.js +25 -17
- package/dist/parser/tests/expression/Additive.spec.js.map +1 -1
- package/dist/parser/tests/expression/ArrayLiterals.spec.js +51 -38
- package/dist/parser/tests/expression/ArrayLiterals.spec.js.map +1 -1
- package/dist/parser/tests/expression/AssociativeArrayLiterals.spec.js +51 -38
- package/dist/parser/tests/expression/AssociativeArrayLiterals.spec.js.map +1 -1
- package/dist/parser/tests/expression/Boolean.spec.js +21 -14
- package/dist/parser/tests/expression/Boolean.spec.js.map +1 -1
- package/dist/parser/tests/expression/Call.spec.js +43 -34
- package/dist/parser/tests/expression/Call.spec.js.map +1 -1
- package/dist/parser/tests/expression/Exponential.spec.js +4 -4
- package/dist/parser/tests/expression/Exponential.spec.js.map +1 -1
- package/dist/parser/tests/expression/Function.spec.js +53 -44
- package/dist/parser/tests/expression/Function.spec.js.map +1 -1
- package/dist/parser/tests/expression/Indexing.spec.js +50 -37
- package/dist/parser/tests/expression/Indexing.spec.js.map +1 -1
- package/dist/parser/tests/expression/Multiplicative.spec.js +8 -8
- package/dist/parser/tests/expression/Multiplicative.spec.js.map +1 -1
- package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js +37 -37
- package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/PrefixUnary.spec.js +23 -17
- package/dist/parser/tests/expression/PrefixUnary.spec.js.map +1 -1
- package/dist/parser/tests/expression/Primary.spec.js +42 -26
- package/dist/parser/tests/expression/Primary.spec.js.map +1 -1
- package/dist/parser/tests/expression/Relational.spec.js +12 -12
- package/dist/parser/tests/expression/Relational.spec.js.map +1 -1
- package/dist/parser/tests/expression/TemplateStringExpression.spec.js +12 -11
- package/dist/parser/tests/expression/TemplateStringExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/TernaryExpression.spec.js +51 -51
- package/dist/parser/tests/expression/TernaryExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/TypeExpression.spec.js +15 -15
- package/dist/parser/tests/expression/TypeExpression.spec.js.map +1 -1
- package/dist/parser/tests/statement/AssignmentOperators.spec.js +14 -14
- package/dist/parser/tests/statement/AssignmentOperators.spec.js.map +1 -1
- package/dist/parser/tests/statement/ConstStatement.spec.js +3 -3
- package/dist/parser/tests/statement/ConstStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/Declaration.spec.js +29 -23
- package/dist/parser/tests/statement/Declaration.spec.js.map +1 -1
- package/dist/parser/tests/statement/Dim.spec.js +1 -1
- package/dist/parser/tests/statement/Dim.spec.js.map +1 -1
- package/dist/parser/tests/statement/Enum.spec.js +10 -10
- package/dist/parser/tests/statement/Enum.spec.js.map +1 -1
- package/dist/parser/tests/statement/Function.spec.js +36 -35
- package/dist/parser/tests/statement/Function.spec.js.map +1 -1
- package/dist/parser/tests/statement/Increment.spec.js +23 -18
- package/dist/parser/tests/statement/Increment.spec.js.map +1 -1
- package/dist/parser/tests/statement/LibraryStatement.spec.js +6 -6
- package/dist/parser/tests/statement/LibraryStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/Misc.spec.js +6 -6
- package/dist/parser/tests/statement/Misc.spec.js.map +1 -1
- package/dist/parser/tests/statement/PrintStatement.spec.js +20 -18
- package/dist/parser/tests/statement/PrintStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/ReturnStatement.spec.js +13 -12
- package/dist/parser/tests/statement/ReturnStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/Set.spec.js +35 -34
- package/dist/parser/tests/statement/Set.spec.js.map +1 -1
- package/dist/parser/tests/statement/Stop.spec.js +3 -3
- package/dist/parser/tests/statement/Stop.spec.js.map +1 -1
- package/dist/roku-types/data.json +81 -15
- package/dist/roku-types/index.d.ts +29 -4
- package/dist/types/ArrayType.js +6 -1
- package/dist/types/ArrayType.js.map +1 -1
- package/dist/types/BuiltInInterfaceAdder.js +1 -1
- package/dist/types/BuiltInInterfaceAdder.js.map +1 -1
- package/dist/types/InheritableType.js.map +1 -1
- package/dist/util.d.ts +46 -26
- package/dist/util.js +168 -59
- package/dist/util.js.map +1 -1
- package/dist/validators/ClassValidator.js +13 -11
- package/dist/validators/ClassValidator.js.map +1 -1
- package/package.json +8 -3
|
@@ -2,7 +2,7 @@ import type { Token, Identifier } from '../lexer/Token';
|
|
|
2
2
|
import { TokenKind } from '../lexer/TokenKind';
|
|
3
3
|
import type { DottedGetExpression, FunctionExpression, FunctionParameterExpression, TypeExpression, TypecastExpression } from './Expression';
|
|
4
4
|
import { VariableExpression } from './Expression';
|
|
5
|
-
import type {
|
|
5
|
+
import type { Location } from 'vscode-languageserver';
|
|
6
6
|
import type { BrsTranspileState } from './BrsTranspileState';
|
|
7
7
|
import { ParseMode } from './Parser';
|
|
8
8
|
import type { WalkVisitor, WalkOptions } from '../astUtils/visitors';
|
|
@@ -18,12 +18,12 @@ import { InterfaceType } from '../types/InterfaceType';
|
|
|
18
18
|
import { TypedFunctionType } from '../types/TypedFunctionType';
|
|
19
19
|
export declare class EmptyStatement extends Statement {
|
|
20
20
|
constructor(options?: {
|
|
21
|
-
range?:
|
|
21
|
+
range?: Location;
|
|
22
22
|
});
|
|
23
23
|
/**
|
|
24
24
|
* Create a negative range to indicate this is an interpolated location
|
|
25
25
|
*/
|
|
26
|
-
readonly
|
|
26
|
+
readonly location?: Location;
|
|
27
27
|
readonly kind = AstNodeKind.EmptyStatement;
|
|
28
28
|
transpile(state: BrsTranspileState): any[];
|
|
29
29
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
@@ -38,7 +38,7 @@ export declare class Body extends Statement implements TypedefProvider {
|
|
|
38
38
|
readonly statements: Statement[];
|
|
39
39
|
readonly kind = AstNodeKind.Body;
|
|
40
40
|
readonly symbolTable: SymbolTable;
|
|
41
|
-
get
|
|
41
|
+
get location(): Location;
|
|
42
42
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
43
43
|
getTypedef(state: BrsTranspileState): TranspileResult;
|
|
44
44
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
@@ -59,11 +59,11 @@ export declare class AssignmentStatement extends Statement {
|
|
|
59
59
|
readonly value: Expression;
|
|
60
60
|
readonly typeExpression?: TypeExpression;
|
|
61
61
|
readonly kind = AstNodeKind.AssignmentStatement;
|
|
62
|
-
readonly
|
|
62
|
+
readonly location: Location | undefined;
|
|
63
63
|
transpile(state: BrsTranspileState): (string | import("source-map").SourceNode | TranspileResult)[];
|
|
64
64
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
65
65
|
getType(options: GetTypeOptions): BscType;
|
|
66
|
-
|
|
66
|
+
get leadingTrivia(): Token[];
|
|
67
67
|
}
|
|
68
68
|
export declare class AugmentedAssignmentStatement extends Statement {
|
|
69
69
|
constructor(options: {
|
|
@@ -77,22 +77,21 @@ export declare class AugmentedAssignmentStatement extends Statement {
|
|
|
77
77
|
readonly item: Expression;
|
|
78
78
|
readonly value: Expression;
|
|
79
79
|
readonly kind = AstNodeKind.AugmentedAssignmentStatement;
|
|
80
|
-
readonly
|
|
80
|
+
readonly location: Location | undefined;
|
|
81
81
|
transpile(state: BrsTranspileState): (string | TranspileResult)[];
|
|
82
82
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
83
83
|
getType(options: GetTypeOptions): BscType;
|
|
84
|
-
|
|
84
|
+
get leadingTrivia(): Token[];
|
|
85
85
|
}
|
|
86
86
|
export declare class Block extends Statement {
|
|
87
87
|
constructor(options: {
|
|
88
88
|
statements: Statement[];
|
|
89
|
-
startingRange?: Range;
|
|
90
89
|
});
|
|
91
90
|
readonly statements: Statement[];
|
|
92
|
-
readonly startingRange?: Range;
|
|
93
91
|
readonly kind = AstNodeKind.Block;
|
|
94
|
-
|
|
92
|
+
get location(): Location;
|
|
95
93
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
94
|
+
get leadingTrivia(): Token[];
|
|
96
95
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
97
96
|
}
|
|
98
97
|
export declare class ExpressionStatement extends Statement {
|
|
@@ -101,10 +100,10 @@ export declare class ExpressionStatement extends Statement {
|
|
|
101
100
|
});
|
|
102
101
|
readonly expression: Expression;
|
|
103
102
|
readonly kind = AstNodeKind.ExpressionStatement;
|
|
104
|
-
readonly
|
|
103
|
+
readonly location: Location | undefined;
|
|
105
104
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
106
105
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
107
|
-
|
|
106
|
+
get leadingTrivia(): Token[];
|
|
108
107
|
}
|
|
109
108
|
export declare class ExitForStatement extends Statement {
|
|
110
109
|
constructor(options?: {
|
|
@@ -114,10 +113,10 @@ export declare class ExitForStatement extends Statement {
|
|
|
114
113
|
readonly exitFor?: Token;
|
|
115
114
|
};
|
|
116
115
|
readonly kind = AstNodeKind.ExitForStatement;
|
|
117
|
-
readonly
|
|
116
|
+
readonly location?: Location;
|
|
118
117
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
119
118
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
120
|
-
|
|
119
|
+
get leadingTrivia(): Token[];
|
|
121
120
|
}
|
|
122
121
|
export declare class ExitWhileStatement extends Statement {
|
|
123
122
|
constructor(options?: {
|
|
@@ -127,10 +126,10 @@ export declare class ExitWhileStatement extends Statement {
|
|
|
127
126
|
readonly exitWhile?: Token;
|
|
128
127
|
};
|
|
129
128
|
readonly kind = AstNodeKind.ExitWhileStatement;
|
|
130
|
-
readonly
|
|
129
|
+
readonly location?: Location;
|
|
131
130
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
132
131
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
133
|
-
|
|
132
|
+
get leadingTrivia(): Token[];
|
|
134
133
|
}
|
|
135
134
|
export declare class FunctionStatement extends Statement implements TypedefProvider {
|
|
136
135
|
constructor(options: {
|
|
@@ -142,12 +141,12 @@ export declare class FunctionStatement extends Statement implements TypedefProvi
|
|
|
142
141
|
};
|
|
143
142
|
readonly func: FunctionExpression;
|
|
144
143
|
readonly kind: AstNodeKind;
|
|
145
|
-
readonly
|
|
144
|
+
readonly location: Location | undefined;
|
|
146
145
|
/**
|
|
147
146
|
* Get the name of this expression based on the parse mode
|
|
148
147
|
*/
|
|
149
148
|
getName(parseMode: ParseMode): string;
|
|
150
|
-
|
|
149
|
+
get leadingTrivia(): Token[];
|
|
151
150
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
152
151
|
getTypedef(state: BrsTranspileState): TranspileResult;
|
|
153
152
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
@@ -162,7 +161,6 @@ export declare class IfStatement extends Statement {
|
|
|
162
161
|
condition: Expression;
|
|
163
162
|
thenBranch: Block;
|
|
164
163
|
elseBranch?: IfStatement | Block;
|
|
165
|
-
isInline?: boolean;
|
|
166
164
|
});
|
|
167
165
|
readonly tokens: {
|
|
168
166
|
readonly if?: Token;
|
|
@@ -173,13 +171,13 @@ export declare class IfStatement extends Statement {
|
|
|
173
171
|
readonly condition: Expression;
|
|
174
172
|
readonly thenBranch: Block;
|
|
175
173
|
readonly elseBranch?: IfStatement | Block;
|
|
176
|
-
readonly isInline?: boolean;
|
|
177
174
|
readonly kind = AstNodeKind.IfStatement;
|
|
178
|
-
readonly
|
|
175
|
+
readonly location: Location | undefined;
|
|
176
|
+
get isInline(): boolean;
|
|
179
177
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
180
178
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
181
|
-
|
|
182
|
-
|
|
179
|
+
get leadingTrivia(): Token[];
|
|
180
|
+
get endTrivia(): Token[];
|
|
183
181
|
}
|
|
184
182
|
export declare class IncrementStatement extends Statement {
|
|
185
183
|
constructor(options: {
|
|
@@ -191,10 +189,10 @@ export declare class IncrementStatement extends Statement {
|
|
|
191
189
|
readonly operator: Token;
|
|
192
190
|
};
|
|
193
191
|
readonly kind = AstNodeKind.IncrementStatement;
|
|
194
|
-
readonly
|
|
192
|
+
readonly location: Location | undefined;
|
|
195
193
|
transpile(state: BrsTranspileState): (string | import("source-map").SourceNode | TranspileResult)[];
|
|
196
194
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
197
|
-
|
|
195
|
+
get leadingTrivia(): Token[];
|
|
198
196
|
}
|
|
199
197
|
/** Used to indent the current `print` position to the next 16-character-width output zone. */
|
|
200
198
|
export interface PrintSeparatorTab extends Token {
|
|
@@ -223,10 +221,10 @@ export declare class PrintStatement extends Statement {
|
|
|
223
221
|
};
|
|
224
222
|
readonly expressions: Array<Expression | PrintSeparatorTab | PrintSeparatorSpace>;
|
|
225
223
|
readonly kind = AstNodeKind.PrintStatement;
|
|
226
|
-
readonly
|
|
224
|
+
readonly location: Location | undefined;
|
|
227
225
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
228
226
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
229
|
-
|
|
227
|
+
get leadingTrivia(): Token[];
|
|
230
228
|
}
|
|
231
229
|
export declare class DimStatement extends Statement {
|
|
232
230
|
constructor(options: {
|
|
@@ -244,11 +242,11 @@ export declare class DimStatement extends Statement {
|
|
|
244
242
|
};
|
|
245
243
|
readonly dimensions: Expression[];
|
|
246
244
|
readonly kind = AstNodeKind.DimStatement;
|
|
247
|
-
readonly
|
|
245
|
+
readonly location: Location | undefined;
|
|
248
246
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
249
247
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
250
248
|
getType(options: GetTypeOptions): BscType;
|
|
251
|
-
|
|
249
|
+
get leadingTrivia(): Token[];
|
|
252
250
|
}
|
|
253
251
|
export declare class GotoStatement extends Statement {
|
|
254
252
|
constructor(options: {
|
|
@@ -260,10 +258,10 @@ export declare class GotoStatement extends Statement {
|
|
|
260
258
|
readonly label: Token;
|
|
261
259
|
};
|
|
262
260
|
readonly kind = AstNodeKind.GotoStatement;
|
|
263
|
-
readonly
|
|
261
|
+
readonly location: Location | undefined;
|
|
264
262
|
transpile(state: BrsTranspileState): (string | TranspileResult)[];
|
|
265
263
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
266
|
-
|
|
264
|
+
get leadingTrivia(): Token[];
|
|
267
265
|
}
|
|
268
266
|
export declare class LabelStatement extends Statement {
|
|
269
267
|
constructor(options: {
|
|
@@ -275,8 +273,8 @@ export declare class LabelStatement extends Statement {
|
|
|
275
273
|
readonly colon: Token;
|
|
276
274
|
};
|
|
277
275
|
readonly kind = AstNodeKind.LabelStatement;
|
|
278
|
-
readonly
|
|
279
|
-
|
|
276
|
+
readonly location: Location | undefined;
|
|
277
|
+
get leadingTrivia(): Token[];
|
|
280
278
|
transpile(state: BrsTranspileState): TranspileResult[];
|
|
281
279
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
282
280
|
}
|
|
@@ -290,10 +288,10 @@ export declare class ReturnStatement extends Statement {
|
|
|
290
288
|
};
|
|
291
289
|
readonly value?: Expression;
|
|
292
290
|
readonly kind = AstNodeKind.ReturnStatement;
|
|
293
|
-
readonly
|
|
291
|
+
readonly location: Location | undefined;
|
|
294
292
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
295
293
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
296
|
-
|
|
294
|
+
get leadingTrivia(): Token[];
|
|
297
295
|
}
|
|
298
296
|
export declare class EndStatement extends Statement {
|
|
299
297
|
constructor(options?: {
|
|
@@ -303,10 +301,10 @@ export declare class EndStatement extends Statement {
|
|
|
303
301
|
readonly end?: Token;
|
|
304
302
|
};
|
|
305
303
|
readonly kind = AstNodeKind.EndStatement;
|
|
306
|
-
readonly
|
|
304
|
+
readonly location: Location;
|
|
307
305
|
transpile(state: BrsTranspileState): TranspileResult[];
|
|
308
306
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
309
|
-
|
|
307
|
+
get leadingTrivia(): Token[];
|
|
310
308
|
}
|
|
311
309
|
export declare class StopStatement extends Statement {
|
|
312
310
|
constructor(options?: {
|
|
@@ -316,10 +314,10 @@ export declare class StopStatement extends Statement {
|
|
|
316
314
|
readonly stop?: Token;
|
|
317
315
|
};
|
|
318
316
|
readonly kind = AstNodeKind.StopStatement;
|
|
319
|
-
readonly
|
|
317
|
+
readonly location: Location;
|
|
320
318
|
transpile(state: BrsTranspileState): TranspileResult[];
|
|
321
319
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
322
|
-
|
|
320
|
+
get leadingTrivia(): Token[];
|
|
323
321
|
}
|
|
324
322
|
export declare class ForStatement extends Statement {
|
|
325
323
|
constructor(options: {
|
|
@@ -343,11 +341,11 @@ export declare class ForStatement extends Statement {
|
|
|
343
341
|
readonly body: Block;
|
|
344
342
|
readonly increment?: Expression;
|
|
345
343
|
readonly kind = AstNodeKind.ForStatement;
|
|
346
|
-
readonly
|
|
344
|
+
readonly location: Location | undefined;
|
|
347
345
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
348
346
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
349
|
-
|
|
350
|
-
|
|
347
|
+
get leadingTrivia(): Token[];
|
|
348
|
+
get endTrivia(): Token[];
|
|
351
349
|
}
|
|
352
350
|
export declare class ForEachStatement extends Statement {
|
|
353
351
|
constructor(options: {
|
|
@@ -367,12 +365,12 @@ export declare class ForEachStatement extends Statement {
|
|
|
367
365
|
readonly body: Block;
|
|
368
366
|
readonly target: Expression;
|
|
369
367
|
readonly kind = AstNodeKind.ForEachStatement;
|
|
370
|
-
readonly
|
|
368
|
+
readonly location: Location | undefined;
|
|
371
369
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
372
370
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
373
371
|
getType(options: GetTypeOptions): BscType;
|
|
374
|
-
|
|
375
|
-
|
|
372
|
+
get leadingTrivia(): Token[];
|
|
373
|
+
get endTrivia(): Token[];
|
|
376
374
|
}
|
|
377
375
|
export declare class WhileStatement extends Statement {
|
|
378
376
|
constructor(options: {
|
|
@@ -388,11 +386,11 @@ export declare class WhileStatement extends Statement {
|
|
|
388
386
|
readonly condition: Expression;
|
|
389
387
|
readonly body: Block;
|
|
390
388
|
readonly kind = AstNodeKind.WhileStatement;
|
|
391
|
-
readonly
|
|
389
|
+
readonly location: Location | undefined;
|
|
392
390
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
393
391
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
394
|
-
|
|
395
|
-
|
|
392
|
+
get leadingTrivia(): Token[];
|
|
393
|
+
get endTrivia(): Token[];
|
|
396
394
|
}
|
|
397
395
|
export declare class DottedSetStatement extends Statement {
|
|
398
396
|
constructor(options: {
|
|
@@ -410,11 +408,11 @@ export declare class DottedSetStatement extends Statement {
|
|
|
410
408
|
readonly obj: Expression;
|
|
411
409
|
readonly value: Expression;
|
|
412
410
|
readonly kind = AstNodeKind.DottedSetStatement;
|
|
413
|
-
readonly
|
|
411
|
+
readonly location: Location | undefined;
|
|
414
412
|
transpile(state: BrsTranspileState): (string | import("source-map").SourceNode | TranspileResult)[];
|
|
415
413
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
416
414
|
getType(options: GetTypeOptions): BscType;
|
|
417
|
-
|
|
415
|
+
get leadingTrivia(): Token[];
|
|
418
416
|
}
|
|
419
417
|
export declare class IndexedSetStatement extends Statement {
|
|
420
418
|
constructor(options: {
|
|
@@ -434,10 +432,10 @@ export declare class IndexedSetStatement extends Statement {
|
|
|
434
432
|
readonly indexes: Expression[];
|
|
435
433
|
readonly value: Expression;
|
|
436
434
|
readonly kind = AstNodeKind.IndexedSetStatement;
|
|
437
|
-
readonly
|
|
435
|
+
readonly location: Location | undefined;
|
|
438
436
|
transpile(state: BrsTranspileState): any[];
|
|
439
437
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
440
|
-
|
|
438
|
+
get leadingTrivia(): Token[];
|
|
441
439
|
}
|
|
442
440
|
export declare class LibraryStatement extends Statement implements TypedefProvider {
|
|
443
441
|
constructor(options: {
|
|
@@ -449,11 +447,11 @@ export declare class LibraryStatement extends Statement implements TypedefProvid
|
|
|
449
447
|
readonly filePath?: Token;
|
|
450
448
|
};
|
|
451
449
|
readonly kind = AstNodeKind.LibraryStatement;
|
|
452
|
-
readonly
|
|
450
|
+
readonly location: Location | undefined;
|
|
453
451
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
454
452
|
getTypedef(state: BrsTranspileState): TranspileResult;
|
|
455
453
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
456
|
-
|
|
454
|
+
get leadingTrivia(): Token[];
|
|
457
455
|
}
|
|
458
456
|
export declare class NamespaceStatement extends Statement implements TypedefProvider {
|
|
459
457
|
constructor(options: {
|
|
@@ -473,12 +471,12 @@ export declare class NamespaceStatement extends Statement implements TypedefProv
|
|
|
473
471
|
* The string name for this namespace
|
|
474
472
|
*/
|
|
475
473
|
name: string;
|
|
476
|
-
get
|
|
477
|
-
private
|
|
478
|
-
|
|
474
|
+
get location(): Location;
|
|
475
|
+
private _location;
|
|
476
|
+
cacheLocation(): Location;
|
|
479
477
|
getName(parseMode: ParseMode): string;
|
|
480
|
-
|
|
481
|
-
|
|
478
|
+
get leadingTrivia(): Token[];
|
|
479
|
+
get endTrivia(): Token[];
|
|
482
480
|
getNameParts(): Identifier[];
|
|
483
481
|
transpile(state: BrsTranspileState): any[][];
|
|
484
482
|
getTypedef(state: BrsTranspileState): TranspileResult;
|
|
@@ -495,7 +493,7 @@ export declare class ImportStatement extends Statement implements TypedefProvide
|
|
|
495
493
|
readonly path: Token;
|
|
496
494
|
};
|
|
497
495
|
readonly kind = AstNodeKind.ImportStatement;
|
|
498
|
-
readonly
|
|
496
|
+
readonly location: Location;
|
|
499
497
|
readonly filePath: string;
|
|
500
498
|
transpile(state: BrsTranspileState): (string | TranspileResult)[];
|
|
501
499
|
/**
|
|
@@ -503,7 +501,7 @@ export declare class ImportStatement extends Statement implements TypedefProvide
|
|
|
503
501
|
*/
|
|
504
502
|
getTypedef(state: BrsTranspileState): string[];
|
|
505
503
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
506
|
-
|
|
504
|
+
get leadingTrivia(): Token[];
|
|
507
505
|
}
|
|
508
506
|
export declare class InterfaceStatement extends Statement implements TypedefProvider {
|
|
509
507
|
constructor(options: {
|
|
@@ -523,12 +521,12 @@ export declare class InterfaceStatement extends Statement implements TypedefProv
|
|
|
523
521
|
readonly extends?: Token;
|
|
524
522
|
readonly endInterface?: Token;
|
|
525
523
|
};
|
|
526
|
-
readonly
|
|
524
|
+
readonly location: Location | undefined;
|
|
527
525
|
get fields(): InterfaceFieldStatement[];
|
|
528
526
|
get methods(): InterfaceMethodStatement[];
|
|
529
527
|
hasParentInterface(): boolean;
|
|
530
|
-
|
|
531
|
-
|
|
528
|
+
get leadingTrivia(): Token[];
|
|
529
|
+
get endTrivia(): Token[];
|
|
532
530
|
/**
|
|
533
531
|
* The name of the interface WITH its leading namespace (if applicable)
|
|
534
532
|
*/
|
|
@@ -556,13 +554,13 @@ export declare class InterfaceFieldStatement extends Statement implements Typede
|
|
|
556
554
|
});
|
|
557
555
|
readonly kind = AstNodeKind.InterfaceFieldStatement;
|
|
558
556
|
readonly typeExpression?: TypeExpression;
|
|
559
|
-
readonly
|
|
557
|
+
readonly location: Location | undefined;
|
|
560
558
|
readonly tokens: {
|
|
561
559
|
readonly name: Identifier;
|
|
562
560
|
readonly as: Token;
|
|
563
561
|
readonly optional?: Token;
|
|
564
562
|
};
|
|
565
|
-
|
|
563
|
+
get leadingTrivia(): Token[];
|
|
566
564
|
get name(): string;
|
|
567
565
|
get isOptional(): boolean;
|
|
568
566
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
@@ -582,7 +580,7 @@ export declare class InterfaceMethodStatement extends Statement implements Typed
|
|
|
582
580
|
optional?: Token;
|
|
583
581
|
});
|
|
584
582
|
readonly kind = AstNodeKind.InterfaceMethodStatement;
|
|
585
|
-
get
|
|
583
|
+
get location(): Location;
|
|
586
584
|
/**
|
|
587
585
|
* Get the name of this method.
|
|
588
586
|
*/
|
|
@@ -598,7 +596,7 @@ export declare class InterfaceMethodStatement extends Statement implements Typed
|
|
|
598
596
|
readonly params: FunctionParameterExpression[];
|
|
599
597
|
readonly returnTypeExpression?: TypeExpression;
|
|
600
598
|
get isOptional(): boolean;
|
|
601
|
-
|
|
599
|
+
get leadingTrivia(): Token[];
|
|
602
600
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
603
601
|
getTypedef(state: BrsTranspileState): TranspileResult;
|
|
604
602
|
getType(options: GetTypeOptions): TypedFunctionType;
|
|
@@ -628,12 +626,12 @@ export declare class ClassStatement extends Statement implements TypedefProvider
|
|
|
628
626
|
readonly body: Statement[];
|
|
629
627
|
readonly parentClassName: TypeExpression;
|
|
630
628
|
getName(parseMode: ParseMode): string;
|
|
631
|
-
|
|
632
|
-
|
|
629
|
+
get leadingTrivia(): Token[];
|
|
630
|
+
get endTrivia(): Token[];
|
|
633
631
|
readonly memberMap: Record<string, MemberStatement>;
|
|
634
632
|
readonly methods: MethodStatement[];
|
|
635
633
|
readonly fields: FieldStatement[];
|
|
636
|
-
readonly
|
|
634
|
+
readonly location: Location | undefined;
|
|
637
635
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
638
636
|
getTypedef(state: BrsTranspileState): TranspileResult;
|
|
639
637
|
/**
|
|
@@ -687,12 +685,12 @@ export declare class MethodStatement extends FunctionStatement {
|
|
|
687
685
|
readonly override?: Token;
|
|
688
686
|
};
|
|
689
687
|
get accessModifier(): Token;
|
|
690
|
-
readonly
|
|
688
|
+
readonly location: Location | undefined;
|
|
691
689
|
/**
|
|
692
690
|
* Get the name of this method.
|
|
693
691
|
*/
|
|
694
692
|
getName(parseMode: ParseMode): string;
|
|
695
|
-
|
|
693
|
+
get leadingTrivia(): Token[];
|
|
696
694
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
697
695
|
getTypedef(state: BrsTranspileState): TranspileResult;
|
|
698
696
|
/**
|
|
@@ -731,8 +729,8 @@ export declare class FieldStatement extends Statement implements TypedefProvider
|
|
|
731
729
|
* Defaults to `DynamicType`
|
|
732
730
|
*/
|
|
733
731
|
getType(options: GetTypeOptions): BscType;
|
|
734
|
-
readonly
|
|
735
|
-
|
|
732
|
+
readonly location: Location | undefined;
|
|
733
|
+
get leadingTrivia(): Token[];
|
|
736
734
|
get isOptional(): boolean;
|
|
737
735
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
738
736
|
getTypedef(state: BrsTranspileState): any[];
|
|
@@ -753,11 +751,11 @@ export declare class TryCatchStatement extends Statement {
|
|
|
753
751
|
readonly tryBranch: Block;
|
|
754
752
|
readonly catchStatement: CatchStatement;
|
|
755
753
|
readonly kind = AstNodeKind.TryCatchStatement;
|
|
756
|
-
readonly
|
|
754
|
+
readonly location: Location | undefined;
|
|
757
755
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
758
756
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
759
|
-
|
|
760
|
-
|
|
757
|
+
get leadingTrivia(): Token[];
|
|
758
|
+
get endTrivia(): Token[];
|
|
761
759
|
}
|
|
762
760
|
export declare class CatchStatement extends Statement {
|
|
763
761
|
constructor(options?: {
|
|
@@ -771,10 +769,10 @@ export declare class CatchStatement extends Statement {
|
|
|
771
769
|
};
|
|
772
770
|
readonly catchBranch?: Block;
|
|
773
771
|
readonly kind = AstNodeKind.CatchStatement;
|
|
774
|
-
readonly
|
|
772
|
+
readonly location: Location | undefined;
|
|
775
773
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
776
774
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
777
|
-
|
|
775
|
+
get leadingTrivia(): Token[];
|
|
778
776
|
}
|
|
779
777
|
export declare class ThrowStatement extends Statement {
|
|
780
778
|
constructor(options?: {
|
|
@@ -786,10 +784,10 @@ export declare class ThrowStatement extends Statement {
|
|
|
786
784
|
};
|
|
787
785
|
readonly expression?: Expression;
|
|
788
786
|
readonly kind = AstNodeKind.ThrowStatement;
|
|
789
|
-
readonly
|
|
787
|
+
readonly location: Location | undefined;
|
|
790
788
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
791
789
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
792
|
-
|
|
790
|
+
get leadingTrivia(): Token[];
|
|
793
791
|
}
|
|
794
792
|
export declare class EnumStatement extends Statement implements TypedefProvider {
|
|
795
793
|
constructor(options: {
|
|
@@ -805,10 +803,10 @@ export declare class EnumStatement extends Statement implements TypedefProvider
|
|
|
805
803
|
};
|
|
806
804
|
readonly body: Array<EnumMemberStatement>;
|
|
807
805
|
readonly kind = AstNodeKind.EnumStatement;
|
|
808
|
-
get
|
|
806
|
+
get location(): Location | undefined;
|
|
809
807
|
getMembers(): EnumMemberStatement[];
|
|
810
|
-
|
|
811
|
-
|
|
808
|
+
get leadingTrivia(): Token[];
|
|
809
|
+
get endTrivia(): Token[];
|
|
812
810
|
/**
|
|
813
811
|
* Get a map of member names and their values.
|
|
814
812
|
* All values are stored as their AST LiteralExpression representation (i.e. string enum values include the wrapping quotes)
|
|
@@ -840,12 +838,12 @@ export declare class EnumMemberStatement extends Statement implements TypedefPro
|
|
|
840
838
|
};
|
|
841
839
|
readonly value?: Expression;
|
|
842
840
|
readonly kind = AstNodeKind.EnumMemberStatement;
|
|
843
|
-
get
|
|
841
|
+
get location(): Location;
|
|
844
842
|
/**
|
|
845
843
|
* The name of the member
|
|
846
844
|
*/
|
|
847
845
|
get name(): string;
|
|
848
|
-
|
|
846
|
+
get leadingTrivia(): Token[];
|
|
849
847
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
850
848
|
getTypedef(state: BrsTranspileState): TranspileResult;
|
|
851
849
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
@@ -865,9 +863,9 @@ export declare class ConstStatement extends Statement implements TypedefProvider
|
|
|
865
863
|
};
|
|
866
864
|
readonly value: Expression;
|
|
867
865
|
readonly kind = AstNodeKind.ConstStatement;
|
|
868
|
-
readonly
|
|
866
|
+
readonly location: Location | undefined;
|
|
869
867
|
get name(): string;
|
|
870
|
-
|
|
868
|
+
get leadingTrivia(): Token[];
|
|
871
869
|
/**
|
|
872
870
|
* The name of the statement WITH its leading namespace (if applicable)
|
|
873
871
|
*/
|
|
@@ -887,10 +885,10 @@ export declare class ContinueStatement extends Statement {
|
|
|
887
885
|
readonly loopType: Token;
|
|
888
886
|
};
|
|
889
887
|
readonly kind = AstNodeKind.ContinueStatement;
|
|
890
|
-
readonly
|
|
888
|
+
readonly location: Location | undefined;
|
|
891
889
|
transpile(state: BrsTranspileState): (string | import("source-map").SourceNode)[];
|
|
892
890
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
893
|
-
|
|
891
|
+
get leadingTrivia(): Token[];
|
|
894
892
|
}
|
|
895
893
|
export declare class TypecastStatement extends Statement {
|
|
896
894
|
constructor(options: {
|
|
@@ -902,10 +900,10 @@ export declare class TypecastStatement extends Statement {
|
|
|
902
900
|
};
|
|
903
901
|
readonly typecastExpression: TypecastExpression;
|
|
904
902
|
readonly kind = AstNodeKind.TypecastStatement;
|
|
905
|
-
readonly
|
|
903
|
+
readonly location: Location;
|
|
906
904
|
transpile(state: BrsTranspileState): (string | TranspileResult)[];
|
|
907
905
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
908
|
-
|
|
906
|
+
get leadingTrivia(): Token[];
|
|
909
907
|
getType(options: GetTypeOptions): BscType;
|
|
910
908
|
}
|
|
911
909
|
export declare class ConditionalCompileErrorStatement extends Statement {
|
|
@@ -918,10 +916,10 @@ export declare class ConditionalCompileErrorStatement extends Statement {
|
|
|
918
916
|
readonly message: Token;
|
|
919
917
|
};
|
|
920
918
|
readonly kind = AstNodeKind.ConditionalCompileErrorStatement;
|
|
921
|
-
readonly
|
|
919
|
+
readonly location: Location | undefined;
|
|
922
920
|
transpile(state: BrsTranspileState): (string | TranspileResult)[];
|
|
923
921
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
924
|
-
|
|
922
|
+
get leadingTrivia(): Token[];
|
|
925
923
|
}
|
|
926
924
|
export declare class AliasStatement extends Statement {
|
|
927
925
|
constructor(options: {
|
|
@@ -937,10 +935,10 @@ export declare class AliasStatement extends Statement {
|
|
|
937
935
|
};
|
|
938
936
|
readonly value: Expression;
|
|
939
937
|
readonly kind = AstNodeKind.AliasStatement;
|
|
940
|
-
readonly
|
|
938
|
+
readonly location: Location;
|
|
941
939
|
transpile(state: BrsTranspileState): (string | TranspileResult)[];
|
|
942
940
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
943
|
-
|
|
941
|
+
get leadingTrivia(): Token[];
|
|
944
942
|
getType(options: GetTypeOptions): BscType;
|
|
945
943
|
}
|
|
946
944
|
export declare class ConditionalCompileStatement extends Statement {
|
|
@@ -963,10 +961,10 @@ export declare class ConditionalCompileStatement extends Statement {
|
|
|
963
961
|
readonly thenBranch: Block;
|
|
964
962
|
readonly elseBranch?: ConditionalCompileStatement | Block;
|
|
965
963
|
readonly kind = AstNodeKind.ConditionalCompileStatement;
|
|
966
|
-
readonly
|
|
964
|
+
readonly location: Location | undefined;
|
|
967
965
|
transpile(state: BrsTranspileState): TranspileResult;
|
|
968
966
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
969
|
-
|
|
967
|
+
get leadingTrivia(): Token[];
|
|
970
968
|
}
|
|
971
969
|
export declare class ConditionalCompileConstStatement extends Statement {
|
|
972
970
|
constructor(options: {
|
|
@@ -978,8 +976,8 @@ export declare class ConditionalCompileConstStatement extends Statement {
|
|
|
978
976
|
};
|
|
979
977
|
readonly assignment: AssignmentStatement;
|
|
980
978
|
readonly kind = AstNodeKind.ConditionalCompileConstStatement;
|
|
981
|
-
readonly
|
|
979
|
+
readonly location: Location | undefined;
|
|
982
980
|
transpile(state: BrsTranspileState): (string | import("source-map").SourceNode | TranspileResult)[];
|
|
983
981
|
walk(visitor: WalkVisitor, options: WalkOptions): void;
|
|
984
|
-
|
|
982
|
+
get leadingTrivia(): Token[];
|
|
985
983
|
}
|