@abaplint/core 2.81.2 → 2.81.3
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/build/abaplint.d.ts +29 -16
- package/build/src/abap/5_syntax/_builtin.js +817 -80
- package/build/src/abap/5_syntax/_object_oriented.js +13 -9
- package/build/src/abap/5_syntax/_reference.js +16 -16
- package/build/src/abap/5_syntax/statements/class_implementation.js +2 -3
- package/build/src/abap/5_syntax/statements/method_implementation.js +0 -2
- package/build/src/abap/nodes/expression_node.js +2 -2
- package/build/src/abap/nodes/statement_node.js +1 -1
- package/build/src/abap/types/class_definition.js +1 -2
- package/build/src/edit_helper.js +6 -2
- package/build/src/lsp/_lookup.js +46 -25
- package/build/src/registry.js +1 -1
- package/build/src/rules/parser_missing_space.js +2 -1
- package/package.json +2 -2
package/build/abaplint.d.ts
CHANGED
|
@@ -404,6 +404,7 @@ declare class BSPApplication extends AbstractObject {
|
|
|
404
404
|
|
|
405
405
|
export declare class BuiltIn {
|
|
406
406
|
static readonly filename = "_builtin.prog.abap";
|
|
407
|
+
static readonly methods: IBuiltinMethod[];
|
|
407
408
|
private row;
|
|
408
409
|
private buildDefinition;
|
|
409
410
|
searchBuiltin(name: string | undefined): IMethodDefinition | undefined;
|
|
@@ -1639,7 +1640,7 @@ declare class ExpressionNode extends AbstractNode<ExpressionNode | TokenNode> {
|
|
|
1639
1640
|
findDirectTokenByText(text: string): Token | undefined;
|
|
1640
1641
|
findAllExpressionsRecursive(type: new () => IStatementRunnable): readonly ExpressionNode[];
|
|
1641
1642
|
findAllExpressions(type: new () => IStatementRunnable): readonly ExpressionNode[];
|
|
1642
|
-
findAllExpressionsMulti(type: (new () => IStatementRunnable)[]): ExpressionNode[];
|
|
1643
|
+
findAllExpressionsMulti(type: (new () => IStatementRunnable)[], recursive?: boolean): ExpressionNode[];
|
|
1643
1644
|
findFirstExpression(type: new () => IStatementRunnable): ExpressionNode | undefined;
|
|
1644
1645
|
}
|
|
1645
1646
|
|
|
@@ -2363,6 +2364,18 @@ declare interface IBadiDefinition {
|
|
|
2363
2364
|
interface: string;
|
|
2364
2365
|
}
|
|
2365
2366
|
|
|
2367
|
+
declare interface IBuiltinMethod {
|
|
2368
|
+
name: string;
|
|
2369
|
+
mandatory?: {
|
|
2370
|
+
[key: string]: AbstractType;
|
|
2371
|
+
};
|
|
2372
|
+
optional?: {
|
|
2373
|
+
[key: string]: AbstractType;
|
|
2374
|
+
};
|
|
2375
|
+
version?: Version;
|
|
2376
|
+
return: AbstractType;
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2366
2379
|
declare class ICFService extends AbstractObject {
|
|
2367
2380
|
getType(): string;
|
|
2368
2381
|
getAllowedNaming(): {
|
|
@@ -4117,21 +4130,21 @@ declare class ReduceNext extends Expression {
|
|
|
4117
4130
|
|
|
4118
4131
|
export declare enum ReferenceType {
|
|
4119
4132
|
/** for classes and interface references */
|
|
4120
|
-
ObjectOrientedReference = "
|
|
4121
|
-
ObjectOrientedVoidReference = "
|
|
4122
|
-
ObjectOrientedUnknownReference = "
|
|
4123
|
-
TableReference = "
|
|
4124
|
-
TableVoidReference = "
|
|
4125
|
-
MethodReference = "
|
|
4126
|
-
BuiltinMethodReference = "
|
|
4127
|
-
MethodImplementationReference = "
|
|
4128
|
-
TypeReference = "
|
|
4129
|
-
BuiltinTypeReference = "
|
|
4130
|
-
VoidType = "
|
|
4131
|
-
InferredType = "
|
|
4132
|
-
FormReference = "
|
|
4133
|
-
DataReadReference = "
|
|
4134
|
-
DataWriteReference = "
|
|
4133
|
+
ObjectOrientedReference = "Object",
|
|
4134
|
+
ObjectOrientedVoidReference = "Object (Void)",
|
|
4135
|
+
ObjectOrientedUnknownReference = "Object (Unknown)",
|
|
4136
|
+
TableReference = "Table",
|
|
4137
|
+
TableVoidReference = "Table (Void)",
|
|
4138
|
+
MethodReference = "Method",
|
|
4139
|
+
BuiltinMethodReference = "Builtin Method",
|
|
4140
|
+
MethodImplementationReference = "Method Implementation",
|
|
4141
|
+
TypeReference = "Type",
|
|
4142
|
+
BuiltinTypeReference = "Builtin Type",
|
|
4143
|
+
VoidType = "Type (Void)",
|
|
4144
|
+
InferredType = "Inferred Type",
|
|
4145
|
+
FormReference = "Form",
|
|
4146
|
+
DataReadReference = "Read From",
|
|
4147
|
+
DataWriteReference = "Write To"
|
|
4135
4148
|
}
|
|
4136
4149
|
|
|
4137
4150
|
declare class Refresh implements IStatement {
|