@ibm/ibmi-eventf-parser 1.0.1 → 2.0.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/README.md +52 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/ISequentialFileReader.d.ts +27 -1
- package/dist/src/MapTable.d.ts +2 -2
- package/dist/src/Parser.d.ts +2 -10
- package/dist/src/ProcessorBlock.d.ts +2 -2
- package/dist/src/index.d.ts +2 -0
- package/dist/src/record/ErrorInformationRecord.d.ts +18 -34
- package/dist/src/record/ExpansionRecord.d.ts +9 -55
- package/dist/src/record/FeedbackCodeRecord.d.ts +5 -14
- package/dist/src/record/FileEndRecord.d.ts +5 -27
- package/dist/src/record/FileIDRecord.d.ts +11 -15
- package/dist/src/record/IRecord.d.ts +10 -0
- package/dist/src/record/MapDefineRecord.d.ts +6 -40
- package/dist/src/record/MapEndRecord.d.ts +6 -34
- package/dist/src/record/MapStartRecord.d.ts +5 -27
- package/dist/src/record/ProcessorRecord.d.ts +5 -27
- package/dist/src/record/ProgramRecord.d.ts +4 -20
- package/dist/src/record/TimestampRecord.d.ts +3 -19
- package/dist/webpack.config.d.ts +4 -1
- package/package.json +7 -4
package/dist/src/Parser.d.ts
CHANGED
|
@@ -15,13 +15,12 @@ export declare class Parser {
|
|
|
15
15
|
private log;
|
|
16
16
|
/**
|
|
17
17
|
* To parse an eventf generated by an IBM i compiler.
|
|
18
|
-
* @param
|
|
19
|
-
* @param markerCreator optionally passing in an object implementing IMarkerCreator
|
|
18
|
+
* @param fileReader a generic reader implementing {@link ISequentialFileReader}.
|
|
19
|
+
* @param markerCreator optionally passing in an object implementing {@link IMarkerCreator}
|
|
20
20
|
* allows the parser to call this object back with each error. The original source
|
|
21
21
|
* file name and error location and error message will be in the information provided
|
|
22
22
|
* on the callback
|
|
23
23
|
*/
|
|
24
|
-
parseFile(fileName: string, markerCreator?: IMarkerCreator): void;
|
|
25
24
|
parse(fileReader: ISequentialFileReader, markerCreator?: IMarkerCreator): void;
|
|
26
25
|
private resolveRelativePath;
|
|
27
26
|
getException(): Error | undefined;
|
|
@@ -42,10 +41,3 @@ export declare class Parser {
|
|
|
42
41
|
*/
|
|
43
42
|
getAllFileIDRecords(): FileIDRecord[];
|
|
44
43
|
}
|
|
45
|
-
export default class FileReader implements ISequentialFileReader {
|
|
46
|
-
file: string;
|
|
47
|
-
linesArray: string[];
|
|
48
|
-
currLineNum: number;
|
|
49
|
-
constructor(fileName: string);
|
|
50
|
-
readNextLine(): string | undefined;
|
|
51
|
-
}
|
|
@@ -4,7 +4,7 @@ import { FileIDRecord } from "./record/FileIDRecord";
|
|
|
4
4
|
import { MapTable } from "./MapTable";
|
|
5
5
|
import { ProcessorRecord } from "./record/ProcessorRecord";
|
|
6
6
|
export declare class ProcessorBlock {
|
|
7
|
-
readonly INPUT_FILE_ID:
|
|
7
|
+
readonly INPUT_FILE_ID: number;
|
|
8
8
|
private errors;
|
|
9
9
|
private inputFile;
|
|
10
10
|
private outputFile;
|
|
@@ -82,7 +82,7 @@ export declare class ProcessorBlock {
|
|
|
82
82
|
resolveFileNamesForAllErrors(): void;
|
|
83
83
|
/**
|
|
84
84
|
* Maps the error back to the original input member and resolves the
|
|
85
|
-
*
|
|
85
|
+
* file name of that member. If mappings are not supported, checks and
|
|
86
86
|
* returns whether that member is read-only.
|
|
87
87
|
*
|
|
88
88
|
* @param error The ErrorInformationRecord to resolve.
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { Parser } from "./Parser";
|
|
2
2
|
export { ErrorInformationRecord } from "./record/ErrorInformationRecord";
|
|
3
|
+
export { ISequentialFileReader } from "./ISequentialFileReader";
|
|
3
4
|
export { IMarkerCreator } from "./IMarkerCreator";
|
|
5
|
+
export { IProcessor } from "./IProcessor";
|
|
@@ -18,26 +18,21 @@ export declare class ErrorInformationRecord implements IRecord {
|
|
|
18
18
|
private length;
|
|
19
19
|
private msg;
|
|
20
20
|
private fileName;
|
|
21
|
-
constructor(version:
|
|
21
|
+
constructor(version: number, fileId: number, annotClass: number, stmtLine: number, startErrLine: number, tokenStart: number, endErrLine: number, tokenEnd: number, msgId: string, sevChar: string, sevNum: number, length: number, msg: string);
|
|
22
22
|
getRecordType(): IRecordT;
|
|
23
|
-
|
|
24
|
-
* Get the version.
|
|
25
|
-
*
|
|
26
|
-
* @return The version.
|
|
27
|
-
*/
|
|
28
|
-
getVersion(): string;
|
|
23
|
+
getVersion(): number;
|
|
29
24
|
/**
|
|
30
25
|
* Get the file id.
|
|
31
26
|
*
|
|
32
27
|
* @return The file id.
|
|
33
28
|
*/
|
|
34
|
-
getFileId():
|
|
29
|
+
getFileId(): number;
|
|
35
30
|
/**
|
|
36
31
|
* Set the file id.
|
|
37
32
|
*
|
|
38
33
|
* @param fileId The file id.
|
|
39
34
|
*/
|
|
40
|
-
setFileId(fileId:
|
|
35
|
+
setFileId(fileId: number): void;
|
|
41
36
|
/**
|
|
42
37
|
* Get the file name.
|
|
43
38
|
*
|
|
@@ -55,73 +50,67 @@ export declare class ErrorInformationRecord implements IRecord {
|
|
|
55
50
|
*
|
|
56
51
|
* @return The annotation class.
|
|
57
52
|
*/
|
|
58
|
-
getAnnotClass():
|
|
59
|
-
/**
|
|
60
|
-
* Set the annotation class.
|
|
61
|
-
*
|
|
62
|
-
* @param annotClass The annotation class.
|
|
63
|
-
*/
|
|
64
|
-
setAnnotClass(annotClass: string): void;
|
|
53
|
+
getAnnotClass(): number;
|
|
65
54
|
/**
|
|
66
55
|
* Get the statement line.
|
|
67
56
|
*
|
|
68
57
|
* @return The statement line.
|
|
69
58
|
*/
|
|
70
|
-
getStmtLine():
|
|
59
|
+
getStmtLine(): number;
|
|
71
60
|
/**
|
|
72
61
|
* Set the statement line.
|
|
73
62
|
*
|
|
74
63
|
* @param stmtLine The statement line.
|
|
75
64
|
*/
|
|
76
|
-
setStmtLine(stmtLine:
|
|
65
|
+
setStmtLine(stmtLine: number): void;
|
|
77
66
|
/**
|
|
78
67
|
* Get the starting error line.
|
|
79
68
|
*
|
|
80
69
|
* @return The starting error line.
|
|
81
70
|
*/
|
|
82
|
-
getStartErrLine():
|
|
71
|
+
getStartErrLine(): number;
|
|
83
72
|
/**
|
|
84
73
|
* Set the starting error line.
|
|
85
74
|
*
|
|
86
75
|
* @param startErrLine The starting error line.
|
|
87
76
|
*/
|
|
88
|
-
setStartErrLine(startErrLine:
|
|
77
|
+
setStartErrLine(startErrLine: number): void;
|
|
89
78
|
/**
|
|
90
79
|
* Get the starting error column.
|
|
91
80
|
*
|
|
92
81
|
* @return The starting error column.
|
|
93
82
|
*/
|
|
94
|
-
getTokenStart():
|
|
83
|
+
getTokenStart(): number;
|
|
95
84
|
/**
|
|
96
85
|
* Set the starting error column.
|
|
97
86
|
*
|
|
98
87
|
* @param tokenStart The starting error column.
|
|
99
88
|
*/
|
|
100
|
-
setTokenStart(tokenStart:
|
|
89
|
+
setTokenStart(tokenStart: number): void;
|
|
101
90
|
/**
|
|
102
91
|
* Get the ending error line.
|
|
103
92
|
*
|
|
104
93
|
* @return The ending error line.
|
|
105
94
|
*/
|
|
106
|
-
getEndErrLine():
|
|
95
|
+
getEndErrLine(): number;
|
|
107
96
|
/**
|
|
108
97
|
* Set the ending error line.
|
|
109
98
|
*
|
|
110
99
|
* @param endErrLine The ending error line.
|
|
111
100
|
*/
|
|
112
|
-
setEndErrLine(endErrLine:
|
|
101
|
+
setEndErrLine(endErrLine: number): void;
|
|
113
102
|
/**
|
|
114
103
|
* Get the ending error column.
|
|
115
104
|
*
|
|
116
105
|
* @return The ending error column.
|
|
117
106
|
*/
|
|
118
|
-
getTokenEnd():
|
|
107
|
+
getTokenEnd(): number;
|
|
119
108
|
/**
|
|
120
109
|
* Set the ending error column.
|
|
121
110
|
*
|
|
122
111
|
* @param tokenEnd The ending error column.
|
|
123
112
|
*/
|
|
124
|
-
setTokenEnd(tokenEnd:
|
|
113
|
+
setTokenEnd(tokenEnd: number): void;
|
|
125
114
|
/**
|
|
126
115
|
* Get the message id.
|
|
127
116
|
*
|
|
@@ -139,23 +128,18 @@ export declare class ErrorInformationRecord implements IRecord {
|
|
|
139
128
|
*
|
|
140
129
|
* @return The severity level number.
|
|
141
130
|
*/
|
|
142
|
-
getSevNum():
|
|
131
|
+
getSevNum(): number;
|
|
143
132
|
/**
|
|
144
133
|
* Get the length of the message.
|
|
145
134
|
*
|
|
146
135
|
* @return The length of the message.
|
|
147
136
|
*/
|
|
148
|
-
getLength():
|
|
149
|
-
/**
|
|
150
|
-
* Set the length of the message.
|
|
151
|
-
*
|
|
152
|
-
* @param length The length of the message.
|
|
153
|
-
*/
|
|
154
|
-
setLength(length: string): void;
|
|
137
|
+
getLength(): number;
|
|
155
138
|
/**
|
|
156
139
|
* Get the message.
|
|
157
140
|
*
|
|
158
141
|
* @return The message.
|
|
159
142
|
*/
|
|
160
143
|
getMsg(): string;
|
|
144
|
+
toString(): string;
|
|
161
145
|
}
|
|
@@ -11,90 +11,44 @@ export declare class ExpansionRecord implements IRecord {
|
|
|
11
11
|
private outputFileID;
|
|
12
12
|
private outputLineStart;
|
|
13
13
|
private outputLineEnd;
|
|
14
|
-
constructor(version:
|
|
14
|
+
constructor(version: number, inputFileID: number, inputLineStart: number, inputLineEnd: number, outputFileID: number, outputLineStart: number, outputLineEnd: number);
|
|
15
15
|
getRecordType(): IRecordT;
|
|
16
|
-
|
|
17
|
-
* Get the version.
|
|
18
|
-
*
|
|
19
|
-
* @return The version.
|
|
20
|
-
*/
|
|
21
|
-
getVersion(): string;
|
|
22
|
-
/**
|
|
23
|
-
* Set the version.
|
|
24
|
-
*
|
|
25
|
-
* @param version The version.
|
|
26
|
-
*/
|
|
27
|
-
setVersion(version: string): void;
|
|
16
|
+
getVersion(): number;
|
|
28
17
|
/**
|
|
29
18
|
* Get the input file ID.
|
|
30
19
|
*
|
|
31
20
|
* @return The input file ID.
|
|
32
21
|
*/
|
|
33
|
-
getInputFileID():
|
|
34
|
-
/**
|
|
35
|
-
* Set the input file ID.
|
|
36
|
-
*
|
|
37
|
-
* @param fileID The input file ID.
|
|
38
|
-
*/
|
|
39
|
-
setInputFileID(fileID: string): void;
|
|
22
|
+
getInputFileID(): number;
|
|
40
23
|
/**
|
|
41
24
|
* Get the input line start.
|
|
42
25
|
*
|
|
43
26
|
* @return The input line start.
|
|
44
27
|
*/
|
|
45
|
-
getInputLineStart():
|
|
46
|
-
/**
|
|
47
|
-
* Set the input line start.
|
|
48
|
-
*
|
|
49
|
-
* @param lineStart The input line start.
|
|
50
|
-
*/
|
|
51
|
-
setInputLineStart(lineStart: string): void;
|
|
28
|
+
getInputLineStart(): number;
|
|
52
29
|
/**
|
|
53
30
|
* Get the input line end.
|
|
54
31
|
*
|
|
55
32
|
* @return The input line end.
|
|
56
33
|
*/
|
|
57
|
-
getInputLineEnd():
|
|
58
|
-
/**
|
|
59
|
-
* Set the input line end.
|
|
60
|
-
*
|
|
61
|
-
* @param lineEnd The input line end.
|
|
62
|
-
*/
|
|
63
|
-
setInputLineEnd(lineEnd: string): void;
|
|
34
|
+
getInputLineEnd(): number;
|
|
64
35
|
/**
|
|
65
36
|
* Get the output file ID.
|
|
66
37
|
*
|
|
67
38
|
* @return The output file ID.
|
|
68
39
|
*/
|
|
69
|
-
getOutputFileID():
|
|
70
|
-
/**
|
|
71
|
-
* Set the output file ID.
|
|
72
|
-
*
|
|
73
|
-
* @param fileID The output file ID.
|
|
74
|
-
*/
|
|
75
|
-
setOutputFileID(fileID: string): void;
|
|
40
|
+
getOutputFileID(): number;
|
|
76
41
|
/**
|
|
77
42
|
* Get the output line start.
|
|
78
43
|
*
|
|
79
44
|
* @return The output line start.
|
|
80
45
|
*/
|
|
81
|
-
getOutputLineStart():
|
|
82
|
-
/**
|
|
83
|
-
* Set the output line start.
|
|
84
|
-
*
|
|
85
|
-
* @param lineStart The output line start.
|
|
86
|
-
*/
|
|
87
|
-
setOutputLineStart(lineStart: string): void;
|
|
46
|
+
getOutputLineStart(): number;
|
|
88
47
|
/**
|
|
89
48
|
* Get the output line end.
|
|
90
49
|
*
|
|
91
50
|
* @return The output line end.
|
|
92
51
|
*/
|
|
93
|
-
getOutputLineEnd():
|
|
94
|
-
|
|
95
|
-
* Set the output line end.
|
|
96
|
-
*
|
|
97
|
-
* @param lineEnd The output line end.
|
|
98
|
-
*/
|
|
99
|
-
setOutputLineEnd(lineEnd: string): void;
|
|
52
|
+
getOutputLineEnd(): number;
|
|
53
|
+
toString(): string;
|
|
100
54
|
}
|
|
@@ -4,32 +4,23 @@ import { IRecord } from "./IRecord";
|
|
|
4
4
|
* This class represents a Feedback Code record in an events file.
|
|
5
5
|
*/
|
|
6
6
|
export declare class FeedbackCodeRecord implements IRecord {
|
|
7
|
+
private version;
|
|
7
8
|
private returnCode;
|
|
8
9
|
private reasonCode;
|
|
9
|
-
constructor(returnCode:
|
|
10
|
+
constructor(version: number, returnCode: number, reasonCode: string);
|
|
10
11
|
getRecordType(): IRecordT;
|
|
12
|
+
getVersion(): number;
|
|
11
13
|
/**
|
|
12
14
|
* Get the return code.
|
|
13
15
|
*
|
|
14
16
|
* @return The return code.
|
|
15
17
|
*/
|
|
16
|
-
getReturnCode():
|
|
17
|
-
/**
|
|
18
|
-
* Set the return code.
|
|
19
|
-
*
|
|
20
|
-
* @param returnCode The return code.
|
|
21
|
-
*/
|
|
22
|
-
setReturnCode(returnCode: string): void;
|
|
18
|
+
getReturnCode(): number;
|
|
23
19
|
/**
|
|
24
20
|
* Get the reason code.
|
|
25
21
|
*
|
|
26
22
|
* @return The reason code.
|
|
27
23
|
*/
|
|
28
24
|
getReasonCode(): string;
|
|
29
|
-
|
|
30
|
-
* Set the reason code.
|
|
31
|
-
*
|
|
32
|
-
* @param reasonCode The reason code.
|
|
33
|
-
*/
|
|
34
|
-
setReasonCode(reasonCode: string): void;
|
|
25
|
+
toString(): string;
|
|
35
26
|
}
|
|
@@ -7,42 +7,20 @@ export declare class FileEndRecord implements IRecord {
|
|
|
7
7
|
private version;
|
|
8
8
|
private fileId;
|
|
9
9
|
private expansion;
|
|
10
|
-
constructor(version:
|
|
10
|
+
constructor(version: number, fileId: number, expansion: number);
|
|
11
11
|
getRecordType(): IRecordT;
|
|
12
|
-
|
|
13
|
-
* Get the version.
|
|
14
|
-
*
|
|
15
|
-
* @return The version.
|
|
16
|
-
*/
|
|
17
|
-
getVersion(): string;
|
|
18
|
-
/**
|
|
19
|
-
* Set the version.
|
|
20
|
-
*
|
|
21
|
-
* @param version The version.
|
|
22
|
-
*/
|
|
23
|
-
setVersion(version: string): void;
|
|
12
|
+
getVersion(): number;
|
|
24
13
|
/**
|
|
25
14
|
* Get the file id.
|
|
26
15
|
*
|
|
27
16
|
* @return The file id.
|
|
28
17
|
*/
|
|
29
|
-
getFileId():
|
|
30
|
-
/**
|
|
31
|
-
* Set the file id.
|
|
32
|
-
*
|
|
33
|
-
* @param fileId The file id.
|
|
34
|
-
*/
|
|
35
|
-
setFileId(fileId: string): void;
|
|
18
|
+
getFileId(): number;
|
|
36
19
|
/**
|
|
37
20
|
* Get the expansion.
|
|
38
21
|
*
|
|
39
22
|
* @return The expansion.
|
|
40
23
|
*/
|
|
41
|
-
getExpansion():
|
|
42
|
-
|
|
43
|
-
* Set the expansion.
|
|
44
|
-
*
|
|
45
|
-
* @param expansion The expansion.
|
|
46
|
-
*/
|
|
47
|
-
setExpansion(expansion: string): void;
|
|
24
|
+
getExpansion(): number;
|
|
25
|
+
toString(): string;
|
|
48
26
|
}
|
|
@@ -8,41 +8,36 @@ export declare class FileIDRecord implements IRecord {
|
|
|
8
8
|
private sourceId;
|
|
9
9
|
private line;
|
|
10
10
|
private length;
|
|
11
|
-
private
|
|
11
|
+
private fileName;
|
|
12
12
|
private timestamp;
|
|
13
13
|
private flag;
|
|
14
|
-
constructor(version:
|
|
14
|
+
constructor(version: number, sourceId: number, line: number, length: number, fileName: string, timestamp: string, flag: number);
|
|
15
15
|
getRecordType(): IRecordT;
|
|
16
|
-
|
|
17
|
-
* Get the version.
|
|
18
|
-
*
|
|
19
|
-
* @return The version.
|
|
20
|
-
*/
|
|
21
|
-
getVersion(): string;
|
|
16
|
+
getVersion(): number;
|
|
22
17
|
/**
|
|
23
18
|
* Get the source id.
|
|
24
19
|
*
|
|
25
20
|
* @return The source id.
|
|
26
21
|
*/
|
|
27
|
-
getSourceId():
|
|
22
|
+
getSourceId(): number;
|
|
28
23
|
/**
|
|
29
24
|
* Get the line.
|
|
30
25
|
*
|
|
31
26
|
* @return The line.
|
|
32
27
|
*/
|
|
33
|
-
getLine():
|
|
28
|
+
getLine(): number;
|
|
34
29
|
/**
|
|
35
30
|
* Get the length.
|
|
36
31
|
*
|
|
37
32
|
* @return The length.
|
|
38
33
|
*/
|
|
39
|
-
getLength():
|
|
34
|
+
getLength(): number;
|
|
40
35
|
/**
|
|
41
|
-
* Get the
|
|
36
|
+
* Get the file name.
|
|
42
37
|
*
|
|
43
|
-
* @return The
|
|
38
|
+
* @return The file name.
|
|
44
39
|
*/
|
|
45
|
-
|
|
40
|
+
getFileName(): string;
|
|
46
41
|
/**
|
|
47
42
|
* Get the timestamp.
|
|
48
43
|
*
|
|
@@ -54,5 +49,6 @@ export declare class FileIDRecord implements IRecord {
|
|
|
54
49
|
*
|
|
55
50
|
* @return The flag.
|
|
56
51
|
*/
|
|
57
|
-
getFlag():
|
|
52
|
+
getFlag(): number;
|
|
53
|
+
toString(): string;
|
|
58
54
|
}
|
|
@@ -6,4 +6,14 @@ export interface IRecord {
|
|
|
6
6
|
* @return The record type.
|
|
7
7
|
*/
|
|
8
8
|
getRecordType(): IRecordT;
|
|
9
|
+
/**
|
|
10
|
+
* Get the version.
|
|
11
|
+
*
|
|
12
|
+
* @return The version.
|
|
13
|
+
*/
|
|
14
|
+
getVersion(): number;
|
|
15
|
+
/**
|
|
16
|
+
* Get the string representation of the record.
|
|
17
|
+
*/
|
|
18
|
+
toString(): string;
|
|
9
19
|
}
|
|
@@ -9,66 +9,32 @@ export declare class MapDefineRecord implements IRecord {
|
|
|
9
9
|
private line;
|
|
10
10
|
private length;
|
|
11
11
|
private macroName;
|
|
12
|
-
constructor(version:
|
|
12
|
+
constructor(version: number, macroId: number, line: number, length: number, macroName: string);
|
|
13
13
|
getRecordType(): IRecordT;
|
|
14
|
-
|
|
15
|
-
* Get the version.
|
|
16
|
-
*
|
|
17
|
-
* @return The version.
|
|
18
|
-
*/
|
|
19
|
-
getVersion(): string;
|
|
20
|
-
/**
|
|
21
|
-
* Set the version.
|
|
22
|
-
*
|
|
23
|
-
* @param version The version.
|
|
24
|
-
*/
|
|
25
|
-
setVersion(version: string): void;
|
|
14
|
+
getVersion(): number;
|
|
26
15
|
/**
|
|
27
16
|
* Get the macro id.
|
|
28
17
|
*
|
|
29
18
|
* @return The macro id.
|
|
30
19
|
*/
|
|
31
|
-
getMacroId():
|
|
32
|
-
/**
|
|
33
|
-
* Set the macro id.
|
|
34
|
-
*
|
|
35
|
-
* @param macroId The macro id.
|
|
36
|
-
*/
|
|
37
|
-
setMacroId(macroId: string): void;
|
|
20
|
+
getMacroId(): number;
|
|
38
21
|
/**
|
|
39
22
|
* Get the line.
|
|
40
23
|
*
|
|
41
24
|
* @return The line.
|
|
42
25
|
*/
|
|
43
|
-
getLine():
|
|
44
|
-
/**
|
|
45
|
-
* Set the line.
|
|
46
|
-
*
|
|
47
|
-
* @param line The line.
|
|
48
|
-
*/
|
|
49
|
-
setLine(line: string): void;
|
|
26
|
+
getLine(): number;
|
|
50
27
|
/**
|
|
51
28
|
* Get the length.
|
|
52
29
|
*
|
|
53
30
|
* @return The length.
|
|
54
31
|
*/
|
|
55
|
-
getLength():
|
|
56
|
-
/**
|
|
57
|
-
* Set the length.
|
|
58
|
-
*
|
|
59
|
-
* @param length The length.
|
|
60
|
-
*/
|
|
61
|
-
setLength(length: string): void;
|
|
32
|
+
getLength(): number;
|
|
62
33
|
/**
|
|
63
34
|
* Get the macro name.
|
|
64
35
|
*
|
|
65
36
|
* @return The macro name.
|
|
66
37
|
*/
|
|
67
38
|
getMacroName(): string;
|
|
68
|
-
|
|
69
|
-
* Set the macro name.
|
|
70
|
-
*
|
|
71
|
-
* @param macroName The macro name.
|
|
72
|
-
*/
|
|
73
|
-
setMacroName(macroName: string): void;
|
|
39
|
+
toString(): string;
|
|
74
40
|
}
|
|
@@ -8,54 +8,26 @@ export declare class MapEndRecord implements IRecord {
|
|
|
8
8
|
private macroId;
|
|
9
9
|
private line;
|
|
10
10
|
private expansion;
|
|
11
|
-
constructor(version:
|
|
11
|
+
constructor(version: number, macroId: number, line: number, expansion: number);
|
|
12
12
|
getRecordType(): IRecordT;
|
|
13
|
-
|
|
14
|
-
* Get the version.
|
|
15
|
-
*
|
|
16
|
-
* @return The version.
|
|
17
|
-
*/
|
|
18
|
-
getVersion(): string;
|
|
19
|
-
/**
|
|
20
|
-
* Set the version.
|
|
21
|
-
*
|
|
22
|
-
* @param version The version.
|
|
23
|
-
*/
|
|
24
|
-
setVersion(version: string): void;
|
|
13
|
+
getVersion(): number;
|
|
25
14
|
/**
|
|
26
15
|
* Get the macro id.
|
|
27
16
|
*
|
|
28
17
|
* @return The macro id.
|
|
29
18
|
*/
|
|
30
|
-
getMacroId():
|
|
31
|
-
/**
|
|
32
|
-
* Set the macro id.
|
|
33
|
-
*
|
|
34
|
-
* @param macroId The macro id.
|
|
35
|
-
*/
|
|
36
|
-
setMacroId(macroId: string): void;
|
|
19
|
+
getMacroId(): number;
|
|
37
20
|
/**
|
|
38
21
|
* Get the line.
|
|
39
22
|
*
|
|
40
23
|
* @return The line.
|
|
41
24
|
*/
|
|
42
|
-
getLine():
|
|
43
|
-
/**
|
|
44
|
-
* Set the line.
|
|
45
|
-
*
|
|
46
|
-
* @param line The line.
|
|
47
|
-
*/
|
|
48
|
-
setLine(line: string): void;
|
|
25
|
+
getLine(): number;
|
|
49
26
|
/**
|
|
50
27
|
* Get the expansion.
|
|
51
28
|
*
|
|
52
29
|
* @return The expansion.
|
|
53
30
|
*/
|
|
54
|
-
getExpansion():
|
|
55
|
-
|
|
56
|
-
* Set the expansion.
|
|
57
|
-
*
|
|
58
|
-
* @param expansion The expansion.
|
|
59
|
-
*/
|
|
60
|
-
setExpansion(expansion: string): void;
|
|
31
|
+
getExpansion(): number;
|
|
32
|
+
toString(): string;
|
|
61
33
|
}
|
|
@@ -7,42 +7,20 @@ export declare class MapStartRecord implements IRecord {
|
|
|
7
7
|
private version;
|
|
8
8
|
private macroId;
|
|
9
9
|
private line;
|
|
10
|
-
constructor(version:
|
|
10
|
+
constructor(version: number, macroId: number, line: number);
|
|
11
11
|
getRecordType(): IRecordT;
|
|
12
|
-
|
|
13
|
-
* Get the version.
|
|
14
|
-
*
|
|
15
|
-
* @return The version.
|
|
16
|
-
*/
|
|
17
|
-
getVersion(): string;
|
|
18
|
-
/**
|
|
19
|
-
* Set the version.
|
|
20
|
-
*
|
|
21
|
-
* @param version The version.
|
|
22
|
-
*/
|
|
23
|
-
setVersion(version: string): void;
|
|
12
|
+
getVersion(): number;
|
|
24
13
|
/**
|
|
25
14
|
* Get the macro id.
|
|
26
15
|
*
|
|
27
16
|
* @return The macro id.
|
|
28
17
|
*/
|
|
29
|
-
getMacroId():
|
|
30
|
-
/**
|
|
31
|
-
* Set the macro id.
|
|
32
|
-
*
|
|
33
|
-
* @param macroId The macro id.
|
|
34
|
-
*/
|
|
35
|
-
setMacroId(macroId: string): void;
|
|
18
|
+
getMacroId(): number;
|
|
36
19
|
/**
|
|
37
20
|
* Get the line.
|
|
38
21
|
*
|
|
39
22
|
* @return The line.
|
|
40
23
|
*/
|
|
41
|
-
getLine():
|
|
42
|
-
|
|
43
|
-
* Set the line.
|
|
44
|
-
*
|
|
45
|
-
* @param line The line.
|
|
46
|
-
*/
|
|
47
|
-
setLine(line: string): void;
|
|
24
|
+
getLine(): number;
|
|
25
|
+
toString(): string;
|
|
48
26
|
}
|
|
@@ -7,42 +7,20 @@ export declare class ProcessorRecord implements IRecord {
|
|
|
7
7
|
private version;
|
|
8
8
|
private outputId;
|
|
9
9
|
private lineClass;
|
|
10
|
-
constructor(version:
|
|
10
|
+
constructor(version: number, outputId: number, lineClass: number);
|
|
11
11
|
getRecordType(): IRecordT;
|
|
12
|
-
|
|
13
|
-
* Get the version.
|
|
14
|
-
*
|
|
15
|
-
* @return The version.
|
|
16
|
-
*/
|
|
17
|
-
getVersion(): string;
|
|
18
|
-
/**
|
|
19
|
-
* Set the version.
|
|
20
|
-
*
|
|
21
|
-
* @param version The version.
|
|
22
|
-
*/
|
|
23
|
-
setVersion(version: string): void;
|
|
12
|
+
getVersion(): number;
|
|
24
13
|
/**
|
|
25
14
|
* Get the output id.
|
|
26
15
|
*
|
|
27
16
|
* @return The output id.
|
|
28
17
|
*/
|
|
29
|
-
getOutputId():
|
|
30
|
-
/**
|
|
31
|
-
* Set the output id.
|
|
32
|
-
*
|
|
33
|
-
* @param outputId The output id.
|
|
34
|
-
*/
|
|
35
|
-
setOutputId(outputId: string): void;
|
|
18
|
+
getOutputId(): number;
|
|
36
19
|
/**
|
|
37
20
|
* Get the line class.
|
|
38
21
|
*
|
|
39
22
|
* @return The line class.
|
|
40
23
|
*/
|
|
41
|
-
getLineClass():
|
|
42
|
-
|
|
43
|
-
* Set the line class.
|
|
44
|
-
*
|
|
45
|
-
* @param lineClass The line class.
|
|
46
|
-
*/
|
|
47
|
-
setLineClass(lineClass: string): void;
|
|
24
|
+
getLineClass(): number;
|
|
25
|
+
toString(): string;
|
|
48
26
|
}
|