@halcyontech/vscode-ibmi-types 2.1.0 → 2.1.1
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/package.json
CHANGED
package/api/errors/handler.d.ts
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
import { FileError } from "../../typings";
|
2
|
-
export declare enum RecordType {
|
3
|
-
TIMESTAMP = "TIMESTAMP",
|
4
|
-
PROCESSOR = "PROCESSOR",
|
5
|
-
FILE_ID = "FILEID",
|
6
|
-
FILE_ID_CONT = "FILEIDCONT",
|
7
|
-
FILE_END = "FILEEND",
|
8
|
-
ERROR_INFORMATION = "ERROR",
|
9
|
-
EXPANSION = "EXPANSION",
|
10
|
-
PROGRAM = "PROGRAM",
|
11
|
-
MAP_DEFINE = "MAPDEFINE",
|
12
|
-
MAP_START = "MAPSTART",
|
13
|
-
MAP_END = "MAPEND",
|
14
|
-
FEEDBACK_CODE = "FEEDBACK"
|
15
|
-
}
|
16
|
-
export interface FileId {
|
17
|
-
version: number;
|
18
|
-
sourceId: number;
|
19
|
-
line: number;
|
20
|
-
length: number;
|
21
|
-
filename: string;
|
22
|
-
sourcefileTimestamp: number;
|
23
|
-
tempFlag: number;
|
24
|
-
}
|
25
|
-
export declare function formatName(input: string): string;
|
26
|
-
export declare function formatIFS(path: string): string;
|
27
|
-
export declare function parseErrors(lines: string[]): Map<string, FileError[]>;
|
28
|
-
export declare function getLinesByRecodType(lines: string[], recordType: RecordType, sourceFileId?: number): string[];
|
29
|
-
export declare function getSourcePath(lines: string[], fileId: number): string;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { FileError } from '../../../typings';
|
2
|
-
export declare namespace NewHandler {
|
3
|
-
/**
|
4
|
-
* Returns object of files and their errors
|
5
|
-
* @param lines file contents
|
6
|
-
* @returns Errors object
|
7
|
-
*/
|
8
|
-
function parse(lines: string[]): Map<string, FileError[]>;
|
9
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { FileError } from '../../../typings';
|
2
|
-
export declare namespace OldHandler {
|
3
|
-
/**
|
4
|
-
* Returns object of files and their errors
|
5
|
-
* @param lines file contents
|
6
|
-
* @returns Errors object
|
7
|
-
*/
|
8
|
-
function parse(lines: string[]): Map<string, FileError[]>;
|
9
|
-
}
|