@smile-digital-health/crl 0.7.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 +502 -0
- package/dist/ast/builder.d.ts +45 -0
- package/dist/ast/builder.js +389 -0
- package/dist/ast/builder.js.map +1 -0
- package/dist/ast/types.d.ts +223 -0
- package/dist/ast/types.js +73 -0
- package/dist/ast/types.js.map +1 -0
- package/dist/ast/utils.d.ts +14 -0
- package/dist/ast/utils.js +65 -0
- package/dist/ast/utils.js.map +1 -0
- package/dist/cli/run-ast.d.ts +1 -0
- package/dist/cli/run-ast.js +24 -0
- package/dist/cli/run-ast.js.map +1 -0
- package/dist/cli/run-lexer.d.ts +1 -0
- package/dist/cli/run-lexer.js +41 -0
- package/dist/cli/run-lexer.js.map +1 -0
- package/dist/cli/run-parser.d.ts +1 -0
- package/dist/cli/run-parser.js +33 -0
- package/dist/cli/run-parser.js.map +1 -0
- package/dist/cli/run-transformer-fsh-to-crl.d.ts +1 -0
- package/dist/cli/run-transformer-fsh-to-crl.js +20 -0
- package/dist/cli/run-transformer-fsh-to-crl.js.map +1 -0
- package/dist/cli/run-validator.d.ts +1 -0
- package/dist/cli/run-validator.js +37 -0
- package/dist/cli/run-validator.js.map +1 -0
- package/dist/grammar/activityTypes.d.ts +2 -0
- package/dist/grammar/activityTypes.js +9 -0
- package/dist/grammar/activityTypes.js.map +1 -0
- package/dist/grammar/conceptTypes.d.ts +2 -0
- package/dist/grammar/conceptTypes.js +9 -0
- package/dist/grammar/conceptTypes.js.map +1 -0
- package/dist/grammar/conceptValueTypes.d.ts +2 -0
- package/dist/grammar/conceptValueTypes.js +9 -0
- package/dist/grammar/conceptValueTypes.js.map +1 -0
- package/dist/grammar/generated/antlr/CRLLexer.d.ts +84 -0
- package/dist/grammar/generated/antlr/CRLLexer.js +505 -0
- package/dist/grammar/generated/antlr/CRLLexer.js.map +1 -0
- package/dist/grammar/generated/antlr/CRLParser.d.ts +653 -0
- package/dist/grammar/generated/antlr/CRLParser.js +3466 -0
- package/dist/grammar/generated/antlr/CRLParser.js.map +1 -0
- package/dist/grammar/generated/antlr/CRLParserListener.d.ts +162 -0
- package/dist/grammar/generated/antlr/CRLParserListener.js +3 -0
- package/dist/grammar/generated/antlr/CRLParserListener.js.map +1 -0
- package/dist/grammar/generated/antlr/CRLParserVisitor.d.ts +109 -0
- package/dist/grammar/generated/antlr/CRLParserVisitor.js +3 -0
- package/dist/grammar/generated/antlr/CRLParserVisitor.js.map +1 -0
- package/dist/grammar/generated/types/activityTypes.json +16 -0
- package/dist/grammar/generated/types/conceptTypes.json +26 -0
- package/dist/grammar/generated/types/conceptValueTypes.json +14 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +147 -0
- package/dist/index.js.map +1 -0
- package/dist/lexer/CRLLexerErrorListener.d.ts +16 -0
- package/dist/lexer/CRLLexerErrorListener.js +168 -0
- package/dist/lexer/CRLLexerErrorListener.js.map +1 -0
- package/dist/lexer/createLexer.d.ts +6 -0
- package/dist/lexer/createLexer.js +14 -0
- package/dist/lexer/createLexer.js.map +1 -0
- package/dist/lexer/index.d.ts +1 -0
- package/dist/lexer/index.js +6 -0
- package/dist/lexer/index.js.map +1 -0
- package/dist/parser/CustomParserErrorListener.d.ts +8 -0
- package/dist/parser/CustomParserErrorListener.js +37 -0
- package/dist/parser/CustomParserErrorListener.js.map +1 -0
- package/dist/parser/createParser.d.ts +7 -0
- package/dist/parser/createParser.js +17 -0
- package/dist/parser/createParser.js.map +1 -0
- package/dist/transformer/fsh-to-crl/mapping/activityDefinition.d.ts +41 -0
- package/dist/transformer/fsh-to-crl/mapping/activityDefinition.js +229 -0
- package/dist/transformer/fsh-to-crl/mapping/activityDefinition.js.map +1 -0
- package/dist/transformer/fsh-to-crl/mapping/concept.d.ts +1 -0
- package/dist/transformer/fsh-to-crl/mapping/concept.js +14 -0
- package/dist/transformer/fsh-to-crl/mapping/concept.js.map +1 -0
- package/dist/transformer/fsh-to-crl/mapping/planDefinition.d.ts +14 -0
- package/dist/transformer/fsh-to-crl/mapping/planDefinition.js +235 -0
- package/dist/transformer/fsh-to-crl/mapping/planDefinition.js.map +1 -0
- package/dist/transformer/fsh-to-crl/mapping/terminology.d.ts +1 -0
- package/dist/transformer/fsh-to-crl/mapping/terminology.js +10 -0
- package/dist/transformer/fsh-to-crl/mapping/terminology.js.map +1 -0
- package/dist/transformer/fsh-to-crl/transformer.d.ts +1 -0
- package/dist/transformer/fsh-to-crl/transformer.js +172 -0
- package/dist/transformer/fsh-to-crl/transformer.js.map +1 -0
- package/dist/transformer/fsh-to-crl/utils/activityDeduplication.d.ts +11 -0
- package/dist/transformer/fsh-to-crl/utils/activityDeduplication.js +23 -0
- package/dist/transformer/fsh-to-crl/utils/activityDeduplication.js.map +1 -0
- package/dist/transformer/fsh-to-crl/utils/fshPathFunctions.d.ts +12 -0
- package/dist/transformer/fsh-to-crl/utils/fshPathFunctions.js +73 -0
- package/dist/transformer/fsh-to-crl/utils/fshPathFunctions.js.map +1 -0
- package/dist/types/errors.d.ts +8 -0
- package/dist/types/errors.js +3 -0
- package/dist/types/errors.js.map +1 -0
- package/dist/validator/actionUniquenessValidator.d.ts +20 -0
- package/dist/validator/actionUniquenessValidator.js +280 -0
- package/dist/validator/actionUniquenessValidator.js.map +1 -0
- package/dist/validator/cycleDetector.d.ts +13 -0
- package/dist/validator/cycleDetector.js +79 -0
- package/dist/validator/cycleDetector.js.map +1 -0
- package/dist/validator/nameUniquenessValidator.d.ts +5 -0
- package/dist/validator/nameUniquenessValidator.js +87 -0
- package/dist/validator/nameUniquenessValidator.js.map +1 -0
- package/dist/validator/unusedDeclarationsValidator.d.ts +21 -0
- package/dist/validator/unusedDeclarationsValidator.js +190 -0
- package/dist/validator/unusedDeclarationsValidator.js.map +1 -0
- package/dist/validator/validator.d.ts +27 -0
- package/dist/validator/validator.js +30 -0
- package/dist/validator/validator.js.map +1 -0
- package/package.json +92 -0
|
@@ -0,0 +1,3466 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ConceptReferenceContext = exports.ConceptIdentifierContext = exports.ActivityReferenceContext = exports.ActivityIdentifierContext = exports.TerminologyReferenceContext = exports.TerminologyIdentifierContext = exports.DecisionReferenceContext = exports.DecisionIdentifierContext = exports.IdentifierContext = exports.GroupExpressionContext = exports.ConceptAtomContext = exports.AtomContext = exports.InformalNotContext = exports.InformalAndContext = exports.InformalOrContext = exports.InferredFromExpressionContext = exports.InferredFromDescriptiveLogicContext = exports.PatternStatementContext = exports.InferredFromConceptReferenceContext = exports.DefinitionLogicContext = exports.DefinitionConceptContext = exports.InferredBodyContext = exports.InferredFromLineContext = exports.CodedFromLineContext = exports.EvidenceLineContext = exports.ValueTypeLineContext = exports.TypeLineContext = exports.ConceptBodyContext = exports.ConceptStatementContext = exports.ActivityStatementContext = exports.TerminologySystemCodeContext = exports.TerminologyValuesetContext = exports.TerminologyStatementContext = exports.UseStatementContext = exports.DoStatementContext = exports.ActionStatementContext = exports.BlockActionContext = exports.NestedWhenBlockContext = exports.BlockStatementContext = exports.SingleActionStatementContext = exports.BlockBodyContext = exports.AnyOrAllClauseContext = exports.WhenSingleActionContext = exports.WhenWithBodyContext = exports.WhenBlockContext = exports.DecisionBodyContext = exports.DecisionStatementContext = exports.StatementContext = exports.CrlContext = exports.CRLParser = void 0;
|
|
37
|
+
exports.RationaleContext = exports.ActivityTypeValueContext = exports.PatternNameContext = exports.BacktickStringContext = void 0;
|
|
38
|
+
const ATN_1 = require("antlr4ts/atn/ATN");
|
|
39
|
+
const ATNDeserializer_1 = require("antlr4ts/atn/ATNDeserializer");
|
|
40
|
+
const FailedPredicateException_1 = require("antlr4ts/FailedPredicateException");
|
|
41
|
+
const NoViableAltException_1 = require("antlr4ts/NoViableAltException");
|
|
42
|
+
const Parser_1 = require("antlr4ts/Parser");
|
|
43
|
+
const ParserRuleContext_1 = require("antlr4ts/ParserRuleContext");
|
|
44
|
+
const ParserATNSimulator_1 = require("antlr4ts/atn/ParserATNSimulator");
|
|
45
|
+
const RecognitionException_1 = require("antlr4ts/RecognitionException");
|
|
46
|
+
const Token_1 = require("antlr4ts/Token");
|
|
47
|
+
const VocabularyImpl_1 = require("antlr4ts/VocabularyImpl");
|
|
48
|
+
const Utils = __importStar(require("antlr4ts/misc/Utils"));
|
|
49
|
+
class CRLParser extends Parser_1.Parser {
|
|
50
|
+
get vocabulary() {
|
|
51
|
+
return CRLParser.VOCABULARY;
|
|
52
|
+
}
|
|
53
|
+
get grammarFileName() { return "CRLParser.g4"; }
|
|
54
|
+
get ruleNames() { return CRLParser.ruleNames; }
|
|
55
|
+
get serializedATN() { return CRLParser._serializedATN; }
|
|
56
|
+
createFailedPredicateException(predicate, message) {
|
|
57
|
+
return new FailedPredicateException_1.FailedPredicateException(this, predicate, message);
|
|
58
|
+
}
|
|
59
|
+
constructor(input) {
|
|
60
|
+
super(input);
|
|
61
|
+
this._interp = new ParserATNSimulator_1.ParserATNSimulator(CRLParser._ATN, this);
|
|
62
|
+
}
|
|
63
|
+
crl() {
|
|
64
|
+
let _localctx = new CrlContext(this._ctx, this.state);
|
|
65
|
+
this.enterRule(_localctx, 0, CRLParser.RULE_crl);
|
|
66
|
+
try {
|
|
67
|
+
let _alt;
|
|
68
|
+
this.enterOuterAlt(_localctx, 1);
|
|
69
|
+
{
|
|
70
|
+
this.state = 93;
|
|
71
|
+
this._errHandler.sync(this);
|
|
72
|
+
_alt = this.interpreter.adaptivePredict(this._input, 0, this._ctx);
|
|
73
|
+
while (_alt !== 2 && _alt !== ATN_1.ATN.INVALID_ALT_NUMBER) {
|
|
74
|
+
if (_alt === 1) {
|
|
75
|
+
{
|
|
76
|
+
{
|
|
77
|
+
this.state = 90;
|
|
78
|
+
this.statement();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
this.state = 95;
|
|
83
|
+
this._errHandler.sync(this);
|
|
84
|
+
_alt = this.interpreter.adaptivePredict(this._input, 0, this._ctx);
|
|
85
|
+
}
|
|
86
|
+
this.state = 96;
|
|
87
|
+
this.match(CRLParser.EOF);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
catch (re) {
|
|
91
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
92
|
+
_localctx.exception = re;
|
|
93
|
+
this._errHandler.reportError(this, re);
|
|
94
|
+
this._errHandler.recover(this, re);
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
throw re;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
finally {
|
|
101
|
+
this.exitRule();
|
|
102
|
+
}
|
|
103
|
+
return _localctx;
|
|
104
|
+
}
|
|
105
|
+
statement() {
|
|
106
|
+
let _localctx = new StatementContext(this._ctx, this.state);
|
|
107
|
+
this.enterRule(_localctx, 2, CRLParser.RULE_statement);
|
|
108
|
+
try {
|
|
109
|
+
this.state = 102;
|
|
110
|
+
this._errHandler.sync(this);
|
|
111
|
+
switch (this.interpreter.adaptivePredict(this._input, 1, this._ctx)) {
|
|
112
|
+
case 1:
|
|
113
|
+
this.enterOuterAlt(_localctx, 1);
|
|
114
|
+
{
|
|
115
|
+
this.state = 98;
|
|
116
|
+
this.decisionStatement();
|
|
117
|
+
}
|
|
118
|
+
break;
|
|
119
|
+
case 2:
|
|
120
|
+
this.enterOuterAlt(_localctx, 2);
|
|
121
|
+
{
|
|
122
|
+
this.state = 99;
|
|
123
|
+
this.terminologyStatement();
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
case 3:
|
|
127
|
+
this.enterOuterAlt(_localctx, 3);
|
|
128
|
+
{
|
|
129
|
+
this.state = 100;
|
|
130
|
+
this.activityStatement();
|
|
131
|
+
}
|
|
132
|
+
break;
|
|
133
|
+
case 4:
|
|
134
|
+
this.enterOuterAlt(_localctx, 4);
|
|
135
|
+
{
|
|
136
|
+
this.state = 101;
|
|
137
|
+
this.conceptStatement();
|
|
138
|
+
}
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
catch (re) {
|
|
143
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
144
|
+
_localctx.exception = re;
|
|
145
|
+
this._errHandler.reportError(this, re);
|
|
146
|
+
this._errHandler.recover(this, re);
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
throw re;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
finally {
|
|
153
|
+
this.exitRule();
|
|
154
|
+
}
|
|
155
|
+
return _localctx;
|
|
156
|
+
}
|
|
157
|
+
decisionStatement() {
|
|
158
|
+
let _localctx = new DecisionStatementContext(this._ctx, this.state);
|
|
159
|
+
this.enterRule(_localctx, 4, CRLParser.RULE_decisionStatement);
|
|
160
|
+
try {
|
|
161
|
+
this.enterOuterAlt(_localctx, 1);
|
|
162
|
+
{
|
|
163
|
+
this.state = 104;
|
|
164
|
+
this.match(CRLParser.DECISION);
|
|
165
|
+
this.state = 105;
|
|
166
|
+
this.decisionIdentifier();
|
|
167
|
+
this.state = 106;
|
|
168
|
+
this.match(CRLParser.COLON);
|
|
169
|
+
this.state = 107;
|
|
170
|
+
this.decisionBody();
|
|
171
|
+
this.state = 108;
|
|
172
|
+
this.match(CRLParser.DONE);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
catch (re) {
|
|
176
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
177
|
+
_localctx.exception = re;
|
|
178
|
+
this._errHandler.reportError(this, re);
|
|
179
|
+
this._errHandler.recover(this, re);
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
throw re;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
finally {
|
|
186
|
+
this.exitRule();
|
|
187
|
+
}
|
|
188
|
+
return _localctx;
|
|
189
|
+
}
|
|
190
|
+
decisionBody() {
|
|
191
|
+
let _localctx = new DecisionBodyContext(this._ctx, this.state);
|
|
192
|
+
this.enterRule(_localctx, 6, CRLParser.RULE_decisionBody);
|
|
193
|
+
try {
|
|
194
|
+
let _alt;
|
|
195
|
+
this.enterOuterAlt(_localctx, 1);
|
|
196
|
+
{
|
|
197
|
+
this.state = 111;
|
|
198
|
+
this._errHandler.sync(this);
|
|
199
|
+
_alt = 1;
|
|
200
|
+
do {
|
|
201
|
+
switch (_alt) {
|
|
202
|
+
case 1:
|
|
203
|
+
{
|
|
204
|
+
{
|
|
205
|
+
this.state = 110;
|
|
206
|
+
this.whenBlock();
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
break;
|
|
210
|
+
default:
|
|
211
|
+
throw new NoViableAltException_1.NoViableAltException(this);
|
|
212
|
+
}
|
|
213
|
+
this.state = 113;
|
|
214
|
+
this._errHandler.sync(this);
|
|
215
|
+
_alt = this.interpreter.adaptivePredict(this._input, 2, this._ctx);
|
|
216
|
+
} while (_alt !== 2 && _alt !== ATN_1.ATN.INVALID_ALT_NUMBER);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
catch (re) {
|
|
220
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
221
|
+
_localctx.exception = re;
|
|
222
|
+
this._errHandler.reportError(this, re);
|
|
223
|
+
this._errHandler.recover(this, re);
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
throw re;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
finally {
|
|
230
|
+
this.exitRule();
|
|
231
|
+
}
|
|
232
|
+
return _localctx;
|
|
233
|
+
}
|
|
234
|
+
whenBlock() {
|
|
235
|
+
let _localctx = new WhenBlockContext(this._ctx, this.state);
|
|
236
|
+
this.enterRule(_localctx, 8, CRLParser.RULE_whenBlock);
|
|
237
|
+
try {
|
|
238
|
+
this.state = 125;
|
|
239
|
+
this._errHandler.sync(this);
|
|
240
|
+
switch (this.interpreter.adaptivePredict(this._input, 3, this._ctx)) {
|
|
241
|
+
case 1:
|
|
242
|
+
_localctx = new WhenWithBodyContext(_localctx);
|
|
243
|
+
this.enterOuterAlt(_localctx, 1);
|
|
244
|
+
{
|
|
245
|
+
this.state = 115;
|
|
246
|
+
this.match(CRLParser.WHEN);
|
|
247
|
+
this.state = 116;
|
|
248
|
+
this.conceptReference();
|
|
249
|
+
this.state = 117;
|
|
250
|
+
this.match(CRLParser.THEN);
|
|
251
|
+
this.state = 118;
|
|
252
|
+
this.blockBody();
|
|
253
|
+
}
|
|
254
|
+
break;
|
|
255
|
+
case 2:
|
|
256
|
+
_localctx = new WhenSingleActionContext(_localctx);
|
|
257
|
+
this.enterOuterAlt(_localctx, 2);
|
|
258
|
+
{
|
|
259
|
+
this.state = 120;
|
|
260
|
+
this.match(CRLParser.WHEN);
|
|
261
|
+
this.state = 121;
|
|
262
|
+
this.conceptReference();
|
|
263
|
+
this.state = 122;
|
|
264
|
+
this.match(CRLParser.THEN);
|
|
265
|
+
this.state = 123;
|
|
266
|
+
this.singleActionStatement();
|
|
267
|
+
}
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
catch (re) {
|
|
272
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
273
|
+
_localctx.exception = re;
|
|
274
|
+
this._errHandler.reportError(this, re);
|
|
275
|
+
this._errHandler.recover(this, re);
|
|
276
|
+
}
|
|
277
|
+
else {
|
|
278
|
+
throw re;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
finally {
|
|
282
|
+
this.exitRule();
|
|
283
|
+
}
|
|
284
|
+
return _localctx;
|
|
285
|
+
}
|
|
286
|
+
anyOrAllClause() {
|
|
287
|
+
let _localctx = new AnyOrAllClauseContext(this._ctx, this.state);
|
|
288
|
+
this.enterRule(_localctx, 10, CRLParser.RULE_anyOrAllClause);
|
|
289
|
+
let _la;
|
|
290
|
+
try {
|
|
291
|
+
this.enterOuterAlt(_localctx, 1);
|
|
292
|
+
{
|
|
293
|
+
this.state = 127;
|
|
294
|
+
_la = this._input.LA(1);
|
|
295
|
+
if (!(_la === CRLParser.ALL || _la === CRLParser.ANY)) {
|
|
296
|
+
this._errHandler.recoverInline(this);
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
if (this._input.LA(1) === Token_1.Token.EOF) {
|
|
300
|
+
this.matchedEOF = true;
|
|
301
|
+
}
|
|
302
|
+
this._errHandler.reportMatch(this);
|
|
303
|
+
this.consume();
|
|
304
|
+
}
|
|
305
|
+
this.state = 128;
|
|
306
|
+
this.match(CRLParser.COLON);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
catch (re) {
|
|
310
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
311
|
+
_localctx.exception = re;
|
|
312
|
+
this._errHandler.reportError(this, re);
|
|
313
|
+
this._errHandler.recover(this, re);
|
|
314
|
+
}
|
|
315
|
+
else {
|
|
316
|
+
throw re;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
finally {
|
|
320
|
+
this.exitRule();
|
|
321
|
+
}
|
|
322
|
+
return _localctx;
|
|
323
|
+
}
|
|
324
|
+
blockBody() {
|
|
325
|
+
let _localctx = new BlockBodyContext(this._ctx, this.state);
|
|
326
|
+
this.enterRule(_localctx, 12, CRLParser.RULE_blockBody);
|
|
327
|
+
try {
|
|
328
|
+
let _alt;
|
|
329
|
+
this.enterOuterAlt(_localctx, 1);
|
|
330
|
+
{
|
|
331
|
+
this.state = 130;
|
|
332
|
+
this.match(CRLParser.COLON);
|
|
333
|
+
{
|
|
334
|
+
this.state = 132;
|
|
335
|
+
this._errHandler.sync(this);
|
|
336
|
+
switch (this.interpreter.adaptivePredict(this._input, 4, this._ctx)) {
|
|
337
|
+
case 1:
|
|
338
|
+
{
|
|
339
|
+
this.state = 131;
|
|
340
|
+
this.anyOrAllClause();
|
|
341
|
+
}
|
|
342
|
+
break;
|
|
343
|
+
}
|
|
344
|
+
this.state = 135;
|
|
345
|
+
this._errHandler.sync(this);
|
|
346
|
+
_alt = 1;
|
|
347
|
+
do {
|
|
348
|
+
switch (_alt) {
|
|
349
|
+
case 1:
|
|
350
|
+
{
|
|
351
|
+
{
|
|
352
|
+
this.state = 134;
|
|
353
|
+
this.blockStatement();
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
break;
|
|
357
|
+
default:
|
|
358
|
+
throw new NoViableAltException_1.NoViableAltException(this);
|
|
359
|
+
}
|
|
360
|
+
this.state = 137;
|
|
361
|
+
this._errHandler.sync(this);
|
|
362
|
+
_alt = this.interpreter.adaptivePredict(this._input, 5, this._ctx);
|
|
363
|
+
} while (_alt !== 2 && _alt !== ATN_1.ATN.INVALID_ALT_NUMBER);
|
|
364
|
+
}
|
|
365
|
+
this.state = 139;
|
|
366
|
+
this.match(CRLParser.DONE);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
catch (re) {
|
|
370
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
371
|
+
_localctx.exception = re;
|
|
372
|
+
this._errHandler.reportError(this, re);
|
|
373
|
+
this._errHandler.recover(this, re);
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
throw re;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
finally {
|
|
380
|
+
this.exitRule();
|
|
381
|
+
}
|
|
382
|
+
return _localctx;
|
|
383
|
+
}
|
|
384
|
+
singleActionStatement() {
|
|
385
|
+
let _localctx = new SingleActionStatementContext(this._ctx, this.state);
|
|
386
|
+
this.enterRule(_localctx, 14, CRLParser.RULE_singleActionStatement);
|
|
387
|
+
try {
|
|
388
|
+
this.enterOuterAlt(_localctx, 1);
|
|
389
|
+
{
|
|
390
|
+
this.state = 143;
|
|
391
|
+
this._errHandler.sync(this);
|
|
392
|
+
switch (this.interpreter.adaptivePredict(this._input, 6, this._ctx)) {
|
|
393
|
+
case 1:
|
|
394
|
+
{
|
|
395
|
+
this.state = 141;
|
|
396
|
+
this.doStatement();
|
|
397
|
+
}
|
|
398
|
+
break;
|
|
399
|
+
case 2:
|
|
400
|
+
{
|
|
401
|
+
this.state = 142;
|
|
402
|
+
this.useStatement();
|
|
403
|
+
}
|
|
404
|
+
break;
|
|
405
|
+
}
|
|
406
|
+
this.state = 145;
|
|
407
|
+
this.match(CRLParser.DOT);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
catch (re) {
|
|
411
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
412
|
+
_localctx.exception = re;
|
|
413
|
+
this._errHandler.reportError(this, re);
|
|
414
|
+
this._errHandler.recover(this, re);
|
|
415
|
+
}
|
|
416
|
+
else {
|
|
417
|
+
throw re;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
finally {
|
|
421
|
+
this.exitRule();
|
|
422
|
+
}
|
|
423
|
+
return _localctx;
|
|
424
|
+
}
|
|
425
|
+
blockStatement() {
|
|
426
|
+
let _localctx = new BlockStatementContext(this._ctx, this.state);
|
|
427
|
+
this.enterRule(_localctx, 16, CRLParser.RULE_blockStatement);
|
|
428
|
+
try {
|
|
429
|
+
this.state = 149;
|
|
430
|
+
this._errHandler.sync(this);
|
|
431
|
+
switch (this.interpreter.adaptivePredict(this._input, 7, this._ctx)) {
|
|
432
|
+
case 1:
|
|
433
|
+
_localctx = new NestedWhenBlockContext(_localctx);
|
|
434
|
+
this.enterOuterAlt(_localctx, 1);
|
|
435
|
+
{
|
|
436
|
+
this.state = 147;
|
|
437
|
+
this.whenBlock();
|
|
438
|
+
}
|
|
439
|
+
break;
|
|
440
|
+
case 2:
|
|
441
|
+
_localctx = new BlockActionContext(_localctx);
|
|
442
|
+
this.enterOuterAlt(_localctx, 2);
|
|
443
|
+
{
|
|
444
|
+
this.state = 148;
|
|
445
|
+
this.actionStatement();
|
|
446
|
+
}
|
|
447
|
+
break;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
catch (re) {
|
|
451
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
452
|
+
_localctx.exception = re;
|
|
453
|
+
this._errHandler.reportError(this, re);
|
|
454
|
+
this._errHandler.recover(this, re);
|
|
455
|
+
}
|
|
456
|
+
else {
|
|
457
|
+
throw re;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
finally {
|
|
461
|
+
this.exitRule();
|
|
462
|
+
}
|
|
463
|
+
return _localctx;
|
|
464
|
+
}
|
|
465
|
+
actionStatement() {
|
|
466
|
+
let _localctx = new ActionStatementContext(this._ctx, this.state);
|
|
467
|
+
this.enterRule(_localctx, 18, CRLParser.RULE_actionStatement);
|
|
468
|
+
try {
|
|
469
|
+
this.enterOuterAlt(_localctx, 1);
|
|
470
|
+
{
|
|
471
|
+
this.state = 153;
|
|
472
|
+
this._errHandler.sync(this);
|
|
473
|
+
switch (this.interpreter.adaptivePredict(this._input, 8, this._ctx)) {
|
|
474
|
+
case 1:
|
|
475
|
+
{
|
|
476
|
+
this.state = 151;
|
|
477
|
+
this.doStatement();
|
|
478
|
+
}
|
|
479
|
+
break;
|
|
480
|
+
case 2:
|
|
481
|
+
{
|
|
482
|
+
this.state = 152;
|
|
483
|
+
this.useStatement();
|
|
484
|
+
}
|
|
485
|
+
break;
|
|
486
|
+
}
|
|
487
|
+
this.state = 155;
|
|
488
|
+
this.match(CRLParser.DOT);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
catch (re) {
|
|
492
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
493
|
+
_localctx.exception = re;
|
|
494
|
+
this._errHandler.reportError(this, re);
|
|
495
|
+
this._errHandler.recover(this, re);
|
|
496
|
+
}
|
|
497
|
+
else {
|
|
498
|
+
throw re;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
finally {
|
|
502
|
+
this.exitRule();
|
|
503
|
+
}
|
|
504
|
+
return _localctx;
|
|
505
|
+
}
|
|
506
|
+
doStatement() {
|
|
507
|
+
let _localctx = new DoStatementContext(this._ctx, this.state);
|
|
508
|
+
this.enterRule(_localctx, 20, CRLParser.RULE_doStatement);
|
|
509
|
+
try {
|
|
510
|
+
this.enterOuterAlt(_localctx, 1);
|
|
511
|
+
{
|
|
512
|
+
this.state = 157;
|
|
513
|
+
this.match(CRLParser.DO);
|
|
514
|
+
this.state = 158;
|
|
515
|
+
this.activityReference();
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
catch (re) {
|
|
519
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
520
|
+
_localctx.exception = re;
|
|
521
|
+
this._errHandler.reportError(this, re);
|
|
522
|
+
this._errHandler.recover(this, re);
|
|
523
|
+
}
|
|
524
|
+
else {
|
|
525
|
+
throw re;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
finally {
|
|
529
|
+
this.exitRule();
|
|
530
|
+
}
|
|
531
|
+
return _localctx;
|
|
532
|
+
}
|
|
533
|
+
useStatement() {
|
|
534
|
+
let _localctx = new UseStatementContext(this._ctx, this.state);
|
|
535
|
+
this.enterRule(_localctx, 22, CRLParser.RULE_useStatement);
|
|
536
|
+
try {
|
|
537
|
+
this.enterOuterAlt(_localctx, 1);
|
|
538
|
+
{
|
|
539
|
+
this.state = 160;
|
|
540
|
+
this.match(CRLParser.USE);
|
|
541
|
+
this.state = 161;
|
|
542
|
+
this.decisionReference();
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
catch (re) {
|
|
546
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
547
|
+
_localctx.exception = re;
|
|
548
|
+
this._errHandler.reportError(this, re);
|
|
549
|
+
this._errHandler.recover(this, re);
|
|
550
|
+
}
|
|
551
|
+
else {
|
|
552
|
+
throw re;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
finally {
|
|
556
|
+
this.exitRule();
|
|
557
|
+
}
|
|
558
|
+
return _localctx;
|
|
559
|
+
}
|
|
560
|
+
terminologyStatement() {
|
|
561
|
+
let _localctx = new TerminologyStatementContext(this._ctx, this.state);
|
|
562
|
+
this.enterRule(_localctx, 24, CRLParser.RULE_terminologyStatement);
|
|
563
|
+
try {
|
|
564
|
+
this.enterOuterAlt(_localctx, 1);
|
|
565
|
+
{
|
|
566
|
+
this.state = 163;
|
|
567
|
+
this.match(CRLParser.TERMINOLOGY);
|
|
568
|
+
this.state = 164;
|
|
569
|
+
this.terminologyIdentifier();
|
|
570
|
+
this.state = 168;
|
|
571
|
+
this._errHandler.sync(this);
|
|
572
|
+
switch (this.interpreter.adaptivePredict(this._input, 9, this._ctx)) {
|
|
573
|
+
case 1:
|
|
574
|
+
{
|
|
575
|
+
this.state = 165;
|
|
576
|
+
this.terminologyValueset();
|
|
577
|
+
}
|
|
578
|
+
break;
|
|
579
|
+
case 2:
|
|
580
|
+
{
|
|
581
|
+
this.state = 166;
|
|
582
|
+
this.backtickString();
|
|
583
|
+
}
|
|
584
|
+
break;
|
|
585
|
+
case 3:
|
|
586
|
+
{
|
|
587
|
+
this.state = 167;
|
|
588
|
+
this.terminologySystemCode();
|
|
589
|
+
}
|
|
590
|
+
break;
|
|
591
|
+
}
|
|
592
|
+
this.state = 170;
|
|
593
|
+
this.match(CRLParser.DOT);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
catch (re) {
|
|
597
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
598
|
+
_localctx.exception = re;
|
|
599
|
+
this._errHandler.reportError(this, re);
|
|
600
|
+
this._errHandler.recover(this, re);
|
|
601
|
+
}
|
|
602
|
+
else {
|
|
603
|
+
throw re;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
finally {
|
|
607
|
+
this.exitRule();
|
|
608
|
+
}
|
|
609
|
+
return _localctx;
|
|
610
|
+
}
|
|
611
|
+
terminologyValueset() {
|
|
612
|
+
let _localctx = new TerminologyValuesetContext(this._ctx, this.state);
|
|
613
|
+
this.enterRule(_localctx, 26, CRLParser.RULE_terminologyValueset);
|
|
614
|
+
try {
|
|
615
|
+
this.enterOuterAlt(_localctx, 1);
|
|
616
|
+
{
|
|
617
|
+
this.state = 172;
|
|
618
|
+
this.match(CRLParser.VALUESET);
|
|
619
|
+
this.state = 173;
|
|
620
|
+
this.identifier();
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
catch (re) {
|
|
624
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
625
|
+
_localctx.exception = re;
|
|
626
|
+
this._errHandler.reportError(this, re);
|
|
627
|
+
this._errHandler.recover(this, re);
|
|
628
|
+
}
|
|
629
|
+
else {
|
|
630
|
+
throw re;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
finally {
|
|
634
|
+
this.exitRule();
|
|
635
|
+
}
|
|
636
|
+
return _localctx;
|
|
637
|
+
}
|
|
638
|
+
terminologySystemCode() {
|
|
639
|
+
let _localctx = new TerminologySystemCodeContext(this._ctx, this.state);
|
|
640
|
+
this.enterRule(_localctx, 28, CRLParser.RULE_terminologySystemCode);
|
|
641
|
+
try {
|
|
642
|
+
this.enterOuterAlt(_localctx, 1);
|
|
643
|
+
{
|
|
644
|
+
this.state = 175;
|
|
645
|
+
this.match(CRLParser.SYSTEM);
|
|
646
|
+
this.state = 176;
|
|
647
|
+
this.backtickString();
|
|
648
|
+
this.state = 177;
|
|
649
|
+
this.match(CRLParser.CODE);
|
|
650
|
+
this.state = 178;
|
|
651
|
+
this.backtickString();
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
catch (re) {
|
|
655
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
656
|
+
_localctx.exception = re;
|
|
657
|
+
this._errHandler.reportError(this, re);
|
|
658
|
+
this._errHandler.recover(this, re);
|
|
659
|
+
}
|
|
660
|
+
else {
|
|
661
|
+
throw re;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
finally {
|
|
665
|
+
this.exitRule();
|
|
666
|
+
}
|
|
667
|
+
return _localctx;
|
|
668
|
+
}
|
|
669
|
+
activityStatement() {
|
|
670
|
+
let _localctx = new ActivityStatementContext(this._ctx, this.state);
|
|
671
|
+
this.enterRule(_localctx, 30, CRLParser.RULE_activityStatement);
|
|
672
|
+
try {
|
|
673
|
+
this.enterOuterAlt(_localctx, 1);
|
|
674
|
+
{
|
|
675
|
+
this.state = 180;
|
|
676
|
+
this.match(CRLParser.ACTIVITY);
|
|
677
|
+
this.state = 181;
|
|
678
|
+
this.activityIdentifier();
|
|
679
|
+
this.state = 182;
|
|
680
|
+
this.match(CRLParser.PERFORM);
|
|
681
|
+
this.state = 183;
|
|
682
|
+
this.match(CRLParser.ACTIVITY_TYPE);
|
|
683
|
+
this.state = 189;
|
|
684
|
+
this._errHandler.sync(this);
|
|
685
|
+
switch (this.interpreter.adaptivePredict(this._input, 11, this._ctx)) {
|
|
686
|
+
case 1:
|
|
687
|
+
{
|
|
688
|
+
this.state = 184;
|
|
689
|
+
this.match(CRLParser.WITH);
|
|
690
|
+
this.state = 187;
|
|
691
|
+
this._errHandler.sync(this);
|
|
692
|
+
switch (this.interpreter.adaptivePredict(this._input, 10, this._ctx)) {
|
|
693
|
+
case 1:
|
|
694
|
+
{
|
|
695
|
+
this.state = 185;
|
|
696
|
+
this.terminologyReference();
|
|
697
|
+
}
|
|
698
|
+
break;
|
|
699
|
+
case 2:
|
|
700
|
+
{
|
|
701
|
+
this.state = 186;
|
|
702
|
+
this.activityTypeValue();
|
|
703
|
+
}
|
|
704
|
+
break;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
break;
|
|
708
|
+
}
|
|
709
|
+
this.state = 193;
|
|
710
|
+
this._errHandler.sync(this);
|
|
711
|
+
switch (this.interpreter.adaptivePredict(this._input, 12, this._ctx)) {
|
|
712
|
+
case 1:
|
|
713
|
+
{
|
|
714
|
+
this.state = 191;
|
|
715
|
+
this.match(CRLParser.BECAUSE);
|
|
716
|
+
this.state = 192;
|
|
717
|
+
this.rationale();
|
|
718
|
+
}
|
|
719
|
+
break;
|
|
720
|
+
}
|
|
721
|
+
this.state = 195;
|
|
722
|
+
this.match(CRLParser.DOT);
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
catch (re) {
|
|
726
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
727
|
+
_localctx.exception = re;
|
|
728
|
+
this._errHandler.reportError(this, re);
|
|
729
|
+
this._errHandler.recover(this, re);
|
|
730
|
+
}
|
|
731
|
+
else {
|
|
732
|
+
throw re;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
finally {
|
|
736
|
+
this.exitRule();
|
|
737
|
+
}
|
|
738
|
+
return _localctx;
|
|
739
|
+
}
|
|
740
|
+
conceptStatement() {
|
|
741
|
+
let _localctx = new ConceptStatementContext(this._ctx, this.state);
|
|
742
|
+
this.enterRule(_localctx, 32, CRLParser.RULE_conceptStatement);
|
|
743
|
+
try {
|
|
744
|
+
this.enterOuterAlt(_localctx, 1);
|
|
745
|
+
{
|
|
746
|
+
this.state = 197;
|
|
747
|
+
this.match(CRLParser.CONCEPT);
|
|
748
|
+
this.state = 198;
|
|
749
|
+
this.conceptIdentifier();
|
|
750
|
+
this.state = 199;
|
|
751
|
+
this.match(CRLParser.COLON);
|
|
752
|
+
this.state = 200;
|
|
753
|
+
this.conceptBody();
|
|
754
|
+
this.state = 201;
|
|
755
|
+
this.match(CRLParser.DONE);
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
catch (re) {
|
|
759
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
760
|
+
_localctx.exception = re;
|
|
761
|
+
this._errHandler.reportError(this, re);
|
|
762
|
+
this._errHandler.recover(this, re);
|
|
763
|
+
}
|
|
764
|
+
else {
|
|
765
|
+
throw re;
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
finally {
|
|
769
|
+
this.exitRule();
|
|
770
|
+
}
|
|
771
|
+
return _localctx;
|
|
772
|
+
}
|
|
773
|
+
conceptBody() {
|
|
774
|
+
let _localctx = new ConceptBodyContext(this._ctx, this.state);
|
|
775
|
+
this.enterRule(_localctx, 34, CRLParser.RULE_conceptBody);
|
|
776
|
+
try {
|
|
777
|
+
this.enterOuterAlt(_localctx, 1);
|
|
778
|
+
{
|
|
779
|
+
this.state = 203;
|
|
780
|
+
this.typeLine();
|
|
781
|
+
this.state = 204;
|
|
782
|
+
this.valueTypeLine();
|
|
783
|
+
this.state = 206;
|
|
784
|
+
this._errHandler.sync(this);
|
|
785
|
+
switch (this.interpreter.adaptivePredict(this._input, 13, this._ctx)) {
|
|
786
|
+
case 1:
|
|
787
|
+
{
|
|
788
|
+
this.state = 205;
|
|
789
|
+
this.evidenceLine();
|
|
790
|
+
}
|
|
791
|
+
break;
|
|
792
|
+
}
|
|
793
|
+
this.state = 210;
|
|
794
|
+
this._errHandler.sync(this);
|
|
795
|
+
switch (this.interpreter.adaptivePredict(this._input, 14, this._ctx)) {
|
|
796
|
+
case 1:
|
|
797
|
+
{
|
|
798
|
+
this.state = 208;
|
|
799
|
+
this.codedFromLine();
|
|
800
|
+
}
|
|
801
|
+
break;
|
|
802
|
+
case 2:
|
|
803
|
+
{
|
|
804
|
+
this.state = 209;
|
|
805
|
+
this.inferredFromLine();
|
|
806
|
+
}
|
|
807
|
+
break;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
catch (re) {
|
|
812
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
813
|
+
_localctx.exception = re;
|
|
814
|
+
this._errHandler.reportError(this, re);
|
|
815
|
+
this._errHandler.recover(this, re);
|
|
816
|
+
}
|
|
817
|
+
else {
|
|
818
|
+
throw re;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
finally {
|
|
822
|
+
this.exitRule();
|
|
823
|
+
}
|
|
824
|
+
return _localctx;
|
|
825
|
+
}
|
|
826
|
+
typeLine() {
|
|
827
|
+
let _localctx = new TypeLineContext(this._ctx, this.state);
|
|
828
|
+
this.enterRule(_localctx, 36, CRLParser.RULE_typeLine);
|
|
829
|
+
try {
|
|
830
|
+
this.enterOuterAlt(_localctx, 1);
|
|
831
|
+
{
|
|
832
|
+
this.state = 212;
|
|
833
|
+
this.match(CRLParser.TYPE);
|
|
834
|
+
this.state = 213;
|
|
835
|
+
this.match(CRLParser.IS);
|
|
836
|
+
this.state = 214;
|
|
837
|
+
this.match(CRLParser.CONCEPT_TYPE);
|
|
838
|
+
this.state = 215;
|
|
839
|
+
this.match(CRLParser.DOT);
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
catch (re) {
|
|
843
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
844
|
+
_localctx.exception = re;
|
|
845
|
+
this._errHandler.reportError(this, re);
|
|
846
|
+
this._errHandler.recover(this, re);
|
|
847
|
+
}
|
|
848
|
+
else {
|
|
849
|
+
throw re;
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
finally {
|
|
853
|
+
this.exitRule();
|
|
854
|
+
}
|
|
855
|
+
return _localctx;
|
|
856
|
+
}
|
|
857
|
+
valueTypeLine() {
|
|
858
|
+
let _localctx = new ValueTypeLineContext(this._ctx, this.state);
|
|
859
|
+
this.enterRule(_localctx, 38, CRLParser.RULE_valueTypeLine);
|
|
860
|
+
try {
|
|
861
|
+
this.enterOuterAlt(_localctx, 1);
|
|
862
|
+
{
|
|
863
|
+
this.state = 217;
|
|
864
|
+
this.match(CRLParser.VALUETYPE);
|
|
865
|
+
this.state = 218;
|
|
866
|
+
this.match(CRLParser.IS);
|
|
867
|
+
this.state = 219;
|
|
868
|
+
this.match(CRLParser.CONCEPT_VALUE_TYPE);
|
|
869
|
+
this.state = 220;
|
|
870
|
+
this.match(CRLParser.DOT);
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
catch (re) {
|
|
874
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
875
|
+
_localctx.exception = re;
|
|
876
|
+
this._errHandler.reportError(this, re);
|
|
877
|
+
this._errHandler.recover(this, re);
|
|
878
|
+
}
|
|
879
|
+
else {
|
|
880
|
+
throw re;
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
finally {
|
|
884
|
+
this.exitRule();
|
|
885
|
+
}
|
|
886
|
+
return _localctx;
|
|
887
|
+
}
|
|
888
|
+
evidenceLine() {
|
|
889
|
+
let _localctx = new EvidenceLineContext(this._ctx, this.state);
|
|
890
|
+
this.enterRule(_localctx, 40, CRLParser.RULE_evidenceLine);
|
|
891
|
+
try {
|
|
892
|
+
this.enterOuterAlt(_localctx, 1);
|
|
893
|
+
{
|
|
894
|
+
this.state = 222;
|
|
895
|
+
this.match(CRLParser.EVIDENCE);
|
|
896
|
+
this.state = 223;
|
|
897
|
+
this.match(CRLParser.IS);
|
|
898
|
+
this.state = 224;
|
|
899
|
+
this.backtickString();
|
|
900
|
+
this.state = 225;
|
|
901
|
+
this.match(CRLParser.DOT);
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
catch (re) {
|
|
905
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
906
|
+
_localctx.exception = re;
|
|
907
|
+
this._errHandler.reportError(this, re);
|
|
908
|
+
this._errHandler.recover(this, re);
|
|
909
|
+
}
|
|
910
|
+
else {
|
|
911
|
+
throw re;
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
finally {
|
|
915
|
+
this.exitRule();
|
|
916
|
+
}
|
|
917
|
+
return _localctx;
|
|
918
|
+
}
|
|
919
|
+
codedFromLine() {
|
|
920
|
+
let _localctx = new CodedFromLineContext(this._ctx, this.state);
|
|
921
|
+
this.enterRule(_localctx, 42, CRLParser.RULE_codedFromLine);
|
|
922
|
+
try {
|
|
923
|
+
this.enterOuterAlt(_localctx, 1);
|
|
924
|
+
{
|
|
925
|
+
this.state = 227;
|
|
926
|
+
this.match(CRLParser.CODED);
|
|
927
|
+
this.state = 228;
|
|
928
|
+
this.match(CRLParser.FROM);
|
|
929
|
+
this.state = 229;
|
|
930
|
+
this.terminologyReference();
|
|
931
|
+
this.state = 230;
|
|
932
|
+
this.match(CRLParser.DOT);
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
catch (re) {
|
|
936
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
937
|
+
_localctx.exception = re;
|
|
938
|
+
this._errHandler.reportError(this, re);
|
|
939
|
+
this._errHandler.recover(this, re);
|
|
940
|
+
}
|
|
941
|
+
else {
|
|
942
|
+
throw re;
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
finally {
|
|
946
|
+
this.exitRule();
|
|
947
|
+
}
|
|
948
|
+
return _localctx;
|
|
949
|
+
}
|
|
950
|
+
inferredFromLine() {
|
|
951
|
+
let _localctx = new InferredFromLineContext(this._ctx, this.state);
|
|
952
|
+
this.enterRule(_localctx, 44, CRLParser.RULE_inferredFromLine);
|
|
953
|
+
try {
|
|
954
|
+
this.enterOuterAlt(_localctx, 1);
|
|
955
|
+
{
|
|
956
|
+
this.state = 232;
|
|
957
|
+
this.match(CRLParser.INFERRED);
|
|
958
|
+
this.state = 233;
|
|
959
|
+
this.match(CRLParser.FROM);
|
|
960
|
+
this.state = 234;
|
|
961
|
+
this.inferredBody();
|
|
962
|
+
this.state = 235;
|
|
963
|
+
this.match(CRLParser.DOT);
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
catch (re) {
|
|
967
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
968
|
+
_localctx.exception = re;
|
|
969
|
+
this._errHandler.reportError(this, re);
|
|
970
|
+
this._errHandler.recover(this, re);
|
|
971
|
+
}
|
|
972
|
+
else {
|
|
973
|
+
throw re;
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
finally {
|
|
977
|
+
this.exitRule();
|
|
978
|
+
}
|
|
979
|
+
return _localctx;
|
|
980
|
+
}
|
|
981
|
+
inferredBody() {
|
|
982
|
+
let _localctx = new InferredBodyContext(this._ctx, this.state);
|
|
983
|
+
this.enterRule(_localctx, 46, CRLParser.RULE_inferredBody);
|
|
984
|
+
try {
|
|
985
|
+
this.state = 239;
|
|
986
|
+
this._errHandler.sync(this);
|
|
987
|
+
switch (this.interpreter.adaptivePredict(this._input, 15, this._ctx)) {
|
|
988
|
+
case 1:
|
|
989
|
+
_localctx = new DefinitionConceptContext(_localctx);
|
|
990
|
+
this.enterOuterAlt(_localctx, 1);
|
|
991
|
+
{
|
|
992
|
+
this.state = 237;
|
|
993
|
+
this.inferredFromConceptReference();
|
|
994
|
+
}
|
|
995
|
+
break;
|
|
996
|
+
case 2:
|
|
997
|
+
_localctx = new DefinitionLogicContext(_localctx);
|
|
998
|
+
this.enterOuterAlt(_localctx, 2);
|
|
999
|
+
{
|
|
1000
|
+
this.state = 238;
|
|
1001
|
+
this.inferredFromDescriptiveLogic();
|
|
1002
|
+
}
|
|
1003
|
+
break;
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
catch (re) {
|
|
1007
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1008
|
+
_localctx.exception = re;
|
|
1009
|
+
this._errHandler.reportError(this, re);
|
|
1010
|
+
this._errHandler.recover(this, re);
|
|
1011
|
+
}
|
|
1012
|
+
else {
|
|
1013
|
+
throw re;
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
finally {
|
|
1017
|
+
this.exitRule();
|
|
1018
|
+
}
|
|
1019
|
+
return _localctx;
|
|
1020
|
+
}
|
|
1021
|
+
inferredFromConceptReference() {
|
|
1022
|
+
let _localctx = new InferredFromConceptReferenceContext(this._ctx, this.state);
|
|
1023
|
+
this.enterRule(_localctx, 48, CRLParser.RULE_inferredFromConceptReference);
|
|
1024
|
+
try {
|
|
1025
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1026
|
+
{
|
|
1027
|
+
this.state = 241;
|
|
1028
|
+
this.conceptReference();
|
|
1029
|
+
this.state = 243;
|
|
1030
|
+
this._errHandler.sync(this);
|
|
1031
|
+
switch (this.interpreter.adaptivePredict(this._input, 16, this._ctx)) {
|
|
1032
|
+
case 1:
|
|
1033
|
+
{
|
|
1034
|
+
this.state = 242;
|
|
1035
|
+
this.patternStatement();
|
|
1036
|
+
}
|
|
1037
|
+
break;
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
catch (re) {
|
|
1042
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1043
|
+
_localctx.exception = re;
|
|
1044
|
+
this._errHandler.reportError(this, re);
|
|
1045
|
+
this._errHandler.recover(this, re);
|
|
1046
|
+
}
|
|
1047
|
+
else {
|
|
1048
|
+
throw re;
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
finally {
|
|
1052
|
+
this.exitRule();
|
|
1053
|
+
}
|
|
1054
|
+
return _localctx;
|
|
1055
|
+
}
|
|
1056
|
+
patternStatement() {
|
|
1057
|
+
let _localctx = new PatternStatementContext(this._ctx, this.state);
|
|
1058
|
+
this.enterRule(_localctx, 50, CRLParser.RULE_patternStatement);
|
|
1059
|
+
try {
|
|
1060
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1061
|
+
{
|
|
1062
|
+
this.state = 245;
|
|
1063
|
+
this.match(CRLParser.APPLY);
|
|
1064
|
+
this.state = 246;
|
|
1065
|
+
this.match(CRLParser.PATTERN);
|
|
1066
|
+
this.state = 247;
|
|
1067
|
+
this.patternName();
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
catch (re) {
|
|
1071
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1072
|
+
_localctx.exception = re;
|
|
1073
|
+
this._errHandler.reportError(this, re);
|
|
1074
|
+
this._errHandler.recover(this, re);
|
|
1075
|
+
}
|
|
1076
|
+
else {
|
|
1077
|
+
throw re;
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
finally {
|
|
1081
|
+
this.exitRule();
|
|
1082
|
+
}
|
|
1083
|
+
return _localctx;
|
|
1084
|
+
}
|
|
1085
|
+
inferredFromDescriptiveLogic() {
|
|
1086
|
+
let _localctx = new InferredFromDescriptiveLogicContext(this._ctx, this.state);
|
|
1087
|
+
this.enterRule(_localctx, 52, CRLParser.RULE_inferredFromDescriptiveLogic);
|
|
1088
|
+
try {
|
|
1089
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1090
|
+
{
|
|
1091
|
+
this.state = 249;
|
|
1092
|
+
this.match(CRLParser.LPAREN);
|
|
1093
|
+
this.state = 250;
|
|
1094
|
+
this.inferredFromExpression();
|
|
1095
|
+
this.state = 251;
|
|
1096
|
+
this.match(CRLParser.RPAREN);
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
catch (re) {
|
|
1100
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1101
|
+
_localctx.exception = re;
|
|
1102
|
+
this._errHandler.reportError(this, re);
|
|
1103
|
+
this._errHandler.recover(this, re);
|
|
1104
|
+
}
|
|
1105
|
+
else {
|
|
1106
|
+
throw re;
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
finally {
|
|
1110
|
+
this.exitRule();
|
|
1111
|
+
}
|
|
1112
|
+
return _localctx;
|
|
1113
|
+
}
|
|
1114
|
+
inferredFromExpression() {
|
|
1115
|
+
let _localctx = new InferredFromExpressionContext(this._ctx, this.state);
|
|
1116
|
+
this.enterRule(_localctx, 54, CRLParser.RULE_inferredFromExpression);
|
|
1117
|
+
try {
|
|
1118
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1119
|
+
{
|
|
1120
|
+
this.state = 253;
|
|
1121
|
+
this.informalOr();
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
catch (re) {
|
|
1125
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1126
|
+
_localctx.exception = re;
|
|
1127
|
+
this._errHandler.reportError(this, re);
|
|
1128
|
+
this._errHandler.recover(this, re);
|
|
1129
|
+
}
|
|
1130
|
+
else {
|
|
1131
|
+
throw re;
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
finally {
|
|
1135
|
+
this.exitRule();
|
|
1136
|
+
}
|
|
1137
|
+
return _localctx;
|
|
1138
|
+
}
|
|
1139
|
+
informalOr() {
|
|
1140
|
+
let _localctx = new InformalOrContext(this._ctx, this.state);
|
|
1141
|
+
this.enterRule(_localctx, 56, CRLParser.RULE_informalOr);
|
|
1142
|
+
try {
|
|
1143
|
+
let _alt;
|
|
1144
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1145
|
+
{
|
|
1146
|
+
this.state = 255;
|
|
1147
|
+
this.informalAnd();
|
|
1148
|
+
this.state = 260;
|
|
1149
|
+
this._errHandler.sync(this);
|
|
1150
|
+
_alt = this.interpreter.adaptivePredict(this._input, 17, this._ctx);
|
|
1151
|
+
while (_alt !== 2 && _alt !== ATN_1.ATN.INVALID_ALT_NUMBER) {
|
|
1152
|
+
if (_alt === 1) {
|
|
1153
|
+
{
|
|
1154
|
+
{
|
|
1155
|
+
this.state = 256;
|
|
1156
|
+
this.match(CRLParser.OR);
|
|
1157
|
+
this.state = 257;
|
|
1158
|
+
this.informalAnd();
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
this.state = 262;
|
|
1163
|
+
this._errHandler.sync(this);
|
|
1164
|
+
_alt = this.interpreter.adaptivePredict(this._input, 17, this._ctx);
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
catch (re) {
|
|
1169
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1170
|
+
_localctx.exception = re;
|
|
1171
|
+
this._errHandler.reportError(this, re);
|
|
1172
|
+
this._errHandler.recover(this, re);
|
|
1173
|
+
}
|
|
1174
|
+
else {
|
|
1175
|
+
throw re;
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
finally {
|
|
1179
|
+
this.exitRule();
|
|
1180
|
+
}
|
|
1181
|
+
return _localctx;
|
|
1182
|
+
}
|
|
1183
|
+
informalAnd() {
|
|
1184
|
+
let _localctx = new InformalAndContext(this._ctx, this.state);
|
|
1185
|
+
this.enterRule(_localctx, 58, CRLParser.RULE_informalAnd);
|
|
1186
|
+
try {
|
|
1187
|
+
let _alt;
|
|
1188
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1189
|
+
{
|
|
1190
|
+
this.state = 263;
|
|
1191
|
+
this.informalNot();
|
|
1192
|
+
this.state = 268;
|
|
1193
|
+
this._errHandler.sync(this);
|
|
1194
|
+
_alt = this.interpreter.adaptivePredict(this._input, 18, this._ctx);
|
|
1195
|
+
while (_alt !== 2 && _alt !== ATN_1.ATN.INVALID_ALT_NUMBER) {
|
|
1196
|
+
if (_alt === 1) {
|
|
1197
|
+
{
|
|
1198
|
+
{
|
|
1199
|
+
this.state = 264;
|
|
1200
|
+
this.match(CRLParser.AND);
|
|
1201
|
+
this.state = 265;
|
|
1202
|
+
this.informalNot();
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
this.state = 270;
|
|
1207
|
+
this._errHandler.sync(this);
|
|
1208
|
+
_alt = this.interpreter.adaptivePredict(this._input, 18, this._ctx);
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
catch (re) {
|
|
1213
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1214
|
+
_localctx.exception = re;
|
|
1215
|
+
this._errHandler.reportError(this, re);
|
|
1216
|
+
this._errHandler.recover(this, re);
|
|
1217
|
+
}
|
|
1218
|
+
else {
|
|
1219
|
+
throw re;
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
finally {
|
|
1223
|
+
this.exitRule();
|
|
1224
|
+
}
|
|
1225
|
+
return _localctx;
|
|
1226
|
+
}
|
|
1227
|
+
informalNot() {
|
|
1228
|
+
let _localctx = new InformalNotContext(this._ctx, this.state);
|
|
1229
|
+
this.enterRule(_localctx, 60, CRLParser.RULE_informalNot);
|
|
1230
|
+
try {
|
|
1231
|
+
this.state = 274;
|
|
1232
|
+
this._errHandler.sync(this);
|
|
1233
|
+
switch (this.interpreter.adaptivePredict(this._input, 19, this._ctx)) {
|
|
1234
|
+
case 1:
|
|
1235
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1236
|
+
{
|
|
1237
|
+
this.state = 271;
|
|
1238
|
+
this.match(CRLParser.NOT);
|
|
1239
|
+
this.state = 272;
|
|
1240
|
+
this.informalNot();
|
|
1241
|
+
}
|
|
1242
|
+
break;
|
|
1243
|
+
case 2:
|
|
1244
|
+
this.enterOuterAlt(_localctx, 2);
|
|
1245
|
+
{
|
|
1246
|
+
this.state = 273;
|
|
1247
|
+
this.atom();
|
|
1248
|
+
}
|
|
1249
|
+
break;
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
catch (re) {
|
|
1253
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1254
|
+
_localctx.exception = re;
|
|
1255
|
+
this._errHandler.reportError(this, re);
|
|
1256
|
+
this._errHandler.recover(this, re);
|
|
1257
|
+
}
|
|
1258
|
+
else {
|
|
1259
|
+
throw re;
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
finally {
|
|
1263
|
+
this.exitRule();
|
|
1264
|
+
}
|
|
1265
|
+
return _localctx;
|
|
1266
|
+
}
|
|
1267
|
+
atom() {
|
|
1268
|
+
let _localctx = new AtomContext(this._ctx, this.state);
|
|
1269
|
+
this.enterRule(_localctx, 62, CRLParser.RULE_atom);
|
|
1270
|
+
try {
|
|
1271
|
+
this.state = 281;
|
|
1272
|
+
this._errHandler.sync(this);
|
|
1273
|
+
switch (this.interpreter.adaptivePredict(this._input, 20, this._ctx)) {
|
|
1274
|
+
case 1:
|
|
1275
|
+
_localctx = new ConceptAtomContext(_localctx);
|
|
1276
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1277
|
+
{
|
|
1278
|
+
this.state = 276;
|
|
1279
|
+
this.conceptReference();
|
|
1280
|
+
}
|
|
1281
|
+
break;
|
|
1282
|
+
case 2:
|
|
1283
|
+
_localctx = new GroupExpressionContext(_localctx);
|
|
1284
|
+
this.enterOuterAlt(_localctx, 2);
|
|
1285
|
+
{
|
|
1286
|
+
this.state = 277;
|
|
1287
|
+
this.match(CRLParser.LPAREN);
|
|
1288
|
+
this.state = 278;
|
|
1289
|
+
this.inferredFromExpression();
|
|
1290
|
+
this.state = 279;
|
|
1291
|
+
this.match(CRLParser.RPAREN);
|
|
1292
|
+
}
|
|
1293
|
+
break;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
catch (re) {
|
|
1297
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1298
|
+
_localctx.exception = re;
|
|
1299
|
+
this._errHandler.reportError(this, re);
|
|
1300
|
+
this._errHandler.recover(this, re);
|
|
1301
|
+
}
|
|
1302
|
+
else {
|
|
1303
|
+
throw re;
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
finally {
|
|
1307
|
+
this.exitRule();
|
|
1308
|
+
}
|
|
1309
|
+
return _localctx;
|
|
1310
|
+
}
|
|
1311
|
+
identifier() {
|
|
1312
|
+
let _localctx = new IdentifierContext(this._ctx, this.state);
|
|
1313
|
+
this.enterRule(_localctx, 64, CRLParser.RULE_identifier);
|
|
1314
|
+
try {
|
|
1315
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1316
|
+
{
|
|
1317
|
+
this.state = 283;
|
|
1318
|
+
this.match(CRLParser.QUOTED_STRING);
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
catch (re) {
|
|
1322
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1323
|
+
_localctx.exception = re;
|
|
1324
|
+
this._errHandler.reportError(this, re);
|
|
1325
|
+
this._errHandler.recover(this, re);
|
|
1326
|
+
}
|
|
1327
|
+
else {
|
|
1328
|
+
throw re;
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
finally {
|
|
1332
|
+
this.exitRule();
|
|
1333
|
+
}
|
|
1334
|
+
return _localctx;
|
|
1335
|
+
}
|
|
1336
|
+
decisionIdentifier() {
|
|
1337
|
+
let _localctx = new DecisionIdentifierContext(this._ctx, this.state);
|
|
1338
|
+
this.enterRule(_localctx, 66, CRLParser.RULE_decisionIdentifier);
|
|
1339
|
+
try {
|
|
1340
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1341
|
+
{
|
|
1342
|
+
this.state = 285;
|
|
1343
|
+
this.identifier();
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
catch (re) {
|
|
1347
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1348
|
+
_localctx.exception = re;
|
|
1349
|
+
this._errHandler.reportError(this, re);
|
|
1350
|
+
this._errHandler.recover(this, re);
|
|
1351
|
+
}
|
|
1352
|
+
else {
|
|
1353
|
+
throw re;
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
finally {
|
|
1357
|
+
this.exitRule();
|
|
1358
|
+
}
|
|
1359
|
+
return _localctx;
|
|
1360
|
+
}
|
|
1361
|
+
decisionReference() {
|
|
1362
|
+
let _localctx = new DecisionReferenceContext(this._ctx, this.state);
|
|
1363
|
+
this.enterRule(_localctx, 68, CRLParser.RULE_decisionReference);
|
|
1364
|
+
try {
|
|
1365
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1366
|
+
{
|
|
1367
|
+
this.state = 287;
|
|
1368
|
+
this.decisionIdentifier();
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
catch (re) {
|
|
1372
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1373
|
+
_localctx.exception = re;
|
|
1374
|
+
this._errHandler.reportError(this, re);
|
|
1375
|
+
this._errHandler.recover(this, re);
|
|
1376
|
+
}
|
|
1377
|
+
else {
|
|
1378
|
+
throw re;
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
finally {
|
|
1382
|
+
this.exitRule();
|
|
1383
|
+
}
|
|
1384
|
+
return _localctx;
|
|
1385
|
+
}
|
|
1386
|
+
terminologyIdentifier() {
|
|
1387
|
+
let _localctx = new TerminologyIdentifierContext(this._ctx, this.state);
|
|
1388
|
+
this.enterRule(_localctx, 70, CRLParser.RULE_terminologyIdentifier);
|
|
1389
|
+
try {
|
|
1390
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1391
|
+
{
|
|
1392
|
+
this.state = 289;
|
|
1393
|
+
this.identifier();
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
catch (re) {
|
|
1397
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1398
|
+
_localctx.exception = re;
|
|
1399
|
+
this._errHandler.reportError(this, re);
|
|
1400
|
+
this._errHandler.recover(this, re);
|
|
1401
|
+
}
|
|
1402
|
+
else {
|
|
1403
|
+
throw re;
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
finally {
|
|
1407
|
+
this.exitRule();
|
|
1408
|
+
}
|
|
1409
|
+
return _localctx;
|
|
1410
|
+
}
|
|
1411
|
+
terminologyReference() {
|
|
1412
|
+
let _localctx = new TerminologyReferenceContext(this._ctx, this.state);
|
|
1413
|
+
this.enterRule(_localctx, 72, CRLParser.RULE_terminologyReference);
|
|
1414
|
+
try {
|
|
1415
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1416
|
+
{
|
|
1417
|
+
this.state = 291;
|
|
1418
|
+
this.identifier();
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
catch (re) {
|
|
1422
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1423
|
+
_localctx.exception = re;
|
|
1424
|
+
this._errHandler.reportError(this, re);
|
|
1425
|
+
this._errHandler.recover(this, re);
|
|
1426
|
+
}
|
|
1427
|
+
else {
|
|
1428
|
+
throw re;
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
finally {
|
|
1432
|
+
this.exitRule();
|
|
1433
|
+
}
|
|
1434
|
+
return _localctx;
|
|
1435
|
+
}
|
|
1436
|
+
activityIdentifier() {
|
|
1437
|
+
let _localctx = new ActivityIdentifierContext(this._ctx, this.state);
|
|
1438
|
+
this.enterRule(_localctx, 74, CRLParser.RULE_activityIdentifier);
|
|
1439
|
+
try {
|
|
1440
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1441
|
+
{
|
|
1442
|
+
this.state = 293;
|
|
1443
|
+
this.identifier();
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
catch (re) {
|
|
1447
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1448
|
+
_localctx.exception = re;
|
|
1449
|
+
this._errHandler.reportError(this, re);
|
|
1450
|
+
this._errHandler.recover(this, re);
|
|
1451
|
+
}
|
|
1452
|
+
else {
|
|
1453
|
+
throw re;
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
finally {
|
|
1457
|
+
this.exitRule();
|
|
1458
|
+
}
|
|
1459
|
+
return _localctx;
|
|
1460
|
+
}
|
|
1461
|
+
activityReference() {
|
|
1462
|
+
let _localctx = new ActivityReferenceContext(this._ctx, this.state);
|
|
1463
|
+
this.enterRule(_localctx, 76, CRLParser.RULE_activityReference);
|
|
1464
|
+
try {
|
|
1465
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1466
|
+
{
|
|
1467
|
+
this.state = 295;
|
|
1468
|
+
this.activityIdentifier();
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
catch (re) {
|
|
1472
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1473
|
+
_localctx.exception = re;
|
|
1474
|
+
this._errHandler.reportError(this, re);
|
|
1475
|
+
this._errHandler.recover(this, re);
|
|
1476
|
+
}
|
|
1477
|
+
else {
|
|
1478
|
+
throw re;
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
finally {
|
|
1482
|
+
this.exitRule();
|
|
1483
|
+
}
|
|
1484
|
+
return _localctx;
|
|
1485
|
+
}
|
|
1486
|
+
conceptIdentifier() {
|
|
1487
|
+
let _localctx = new ConceptIdentifierContext(this._ctx, this.state);
|
|
1488
|
+
this.enterRule(_localctx, 78, CRLParser.RULE_conceptIdentifier);
|
|
1489
|
+
try {
|
|
1490
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1491
|
+
{
|
|
1492
|
+
this.state = 297;
|
|
1493
|
+
this.identifier();
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
catch (re) {
|
|
1497
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1498
|
+
_localctx.exception = re;
|
|
1499
|
+
this._errHandler.reportError(this, re);
|
|
1500
|
+
this._errHandler.recover(this, re);
|
|
1501
|
+
}
|
|
1502
|
+
else {
|
|
1503
|
+
throw re;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
finally {
|
|
1507
|
+
this.exitRule();
|
|
1508
|
+
}
|
|
1509
|
+
return _localctx;
|
|
1510
|
+
}
|
|
1511
|
+
conceptReference() {
|
|
1512
|
+
let _localctx = new ConceptReferenceContext(this._ctx, this.state);
|
|
1513
|
+
this.enterRule(_localctx, 80, CRLParser.RULE_conceptReference);
|
|
1514
|
+
try {
|
|
1515
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1516
|
+
{
|
|
1517
|
+
this.state = 299;
|
|
1518
|
+
this.conceptIdentifier();
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
catch (re) {
|
|
1522
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1523
|
+
_localctx.exception = re;
|
|
1524
|
+
this._errHandler.reportError(this, re);
|
|
1525
|
+
this._errHandler.recover(this, re);
|
|
1526
|
+
}
|
|
1527
|
+
else {
|
|
1528
|
+
throw re;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
finally {
|
|
1532
|
+
this.exitRule();
|
|
1533
|
+
}
|
|
1534
|
+
return _localctx;
|
|
1535
|
+
}
|
|
1536
|
+
backtickString() {
|
|
1537
|
+
let _localctx = new BacktickStringContext(this._ctx, this.state);
|
|
1538
|
+
this.enterRule(_localctx, 82, CRLParser.RULE_backtickString);
|
|
1539
|
+
try {
|
|
1540
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1541
|
+
{
|
|
1542
|
+
this.state = 301;
|
|
1543
|
+
this.match(CRLParser.BACKTICK_STRING);
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
catch (re) {
|
|
1547
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1548
|
+
_localctx.exception = re;
|
|
1549
|
+
this._errHandler.reportError(this, re);
|
|
1550
|
+
this._errHandler.recover(this, re);
|
|
1551
|
+
}
|
|
1552
|
+
else {
|
|
1553
|
+
throw re;
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
finally {
|
|
1557
|
+
this.exitRule();
|
|
1558
|
+
}
|
|
1559
|
+
return _localctx;
|
|
1560
|
+
}
|
|
1561
|
+
patternName() {
|
|
1562
|
+
let _localctx = new PatternNameContext(this._ctx, this.state);
|
|
1563
|
+
this.enterRule(_localctx, 84, CRLParser.RULE_patternName);
|
|
1564
|
+
try {
|
|
1565
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1566
|
+
{
|
|
1567
|
+
this.state = 303;
|
|
1568
|
+
this.backtickString();
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
catch (re) {
|
|
1572
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1573
|
+
_localctx.exception = re;
|
|
1574
|
+
this._errHandler.reportError(this, re);
|
|
1575
|
+
this._errHandler.recover(this, re);
|
|
1576
|
+
}
|
|
1577
|
+
else {
|
|
1578
|
+
throw re;
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
finally {
|
|
1582
|
+
this.exitRule();
|
|
1583
|
+
}
|
|
1584
|
+
return _localctx;
|
|
1585
|
+
}
|
|
1586
|
+
activityTypeValue() {
|
|
1587
|
+
let _localctx = new ActivityTypeValueContext(this._ctx, this.state);
|
|
1588
|
+
this.enterRule(_localctx, 86, CRLParser.RULE_activityTypeValue);
|
|
1589
|
+
try {
|
|
1590
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1591
|
+
{
|
|
1592
|
+
this.state = 305;
|
|
1593
|
+
this.backtickString();
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
catch (re) {
|
|
1597
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1598
|
+
_localctx.exception = re;
|
|
1599
|
+
this._errHandler.reportError(this, re);
|
|
1600
|
+
this._errHandler.recover(this, re);
|
|
1601
|
+
}
|
|
1602
|
+
else {
|
|
1603
|
+
throw re;
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
finally {
|
|
1607
|
+
this.exitRule();
|
|
1608
|
+
}
|
|
1609
|
+
return _localctx;
|
|
1610
|
+
}
|
|
1611
|
+
rationale() {
|
|
1612
|
+
let _localctx = new RationaleContext(this._ctx, this.state);
|
|
1613
|
+
this.enterRule(_localctx, 88, CRLParser.RULE_rationale);
|
|
1614
|
+
try {
|
|
1615
|
+
this.enterOuterAlt(_localctx, 1);
|
|
1616
|
+
{
|
|
1617
|
+
this.state = 307;
|
|
1618
|
+
this.backtickString();
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
catch (re) {
|
|
1622
|
+
if (re instanceof RecognitionException_1.RecognitionException) {
|
|
1623
|
+
_localctx.exception = re;
|
|
1624
|
+
this._errHandler.reportError(this, re);
|
|
1625
|
+
this._errHandler.recover(this, re);
|
|
1626
|
+
}
|
|
1627
|
+
else {
|
|
1628
|
+
throw re;
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
finally {
|
|
1632
|
+
this.exitRule();
|
|
1633
|
+
}
|
|
1634
|
+
return _localctx;
|
|
1635
|
+
}
|
|
1636
|
+
static get _ATN() {
|
|
1637
|
+
if (!CRLParser.__ATN) {
|
|
1638
|
+
CRLParser.__ATN = new ATNDeserializer_1.ATNDeserializer().deserialize(Utils.toCharArray(CRLParser._serializedATN));
|
|
1639
|
+
}
|
|
1640
|
+
return CRLParser.__ATN;
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
exports.CRLParser = CRLParser;
|
|
1644
|
+
CRLParser.ACTIVITY = 1;
|
|
1645
|
+
CRLParser.ALL = 2;
|
|
1646
|
+
CRLParser.AND = 3;
|
|
1647
|
+
CRLParser.ANY = 4;
|
|
1648
|
+
CRLParser.APPLY = 5;
|
|
1649
|
+
CRLParser.BECAUSE = 6;
|
|
1650
|
+
CRLParser.CODE = 7;
|
|
1651
|
+
CRLParser.CODED = 8;
|
|
1652
|
+
CRLParser.CONCEPT = 9;
|
|
1653
|
+
CRLParser.DECISION = 10;
|
|
1654
|
+
CRLParser.DONE = 11;
|
|
1655
|
+
CRLParser.DO = 12;
|
|
1656
|
+
CRLParser.EVIDENCE = 13;
|
|
1657
|
+
CRLParser.FROM = 14;
|
|
1658
|
+
CRLParser.INFERRED = 15;
|
|
1659
|
+
CRLParser.IS = 16;
|
|
1660
|
+
CRLParser.NOT = 17;
|
|
1661
|
+
CRLParser.OR = 18;
|
|
1662
|
+
CRLParser.PATTERN = 19;
|
|
1663
|
+
CRLParser.PERFORM = 20;
|
|
1664
|
+
CRLParser.SYSTEM = 21;
|
|
1665
|
+
CRLParser.TERMINOLOGY = 22;
|
|
1666
|
+
CRLParser.THEN = 23;
|
|
1667
|
+
CRLParser.TYPE = 24;
|
|
1668
|
+
CRLParser.USE = 25;
|
|
1669
|
+
CRLParser.VALUETYPE = 26;
|
|
1670
|
+
CRLParser.VALUESET = 27;
|
|
1671
|
+
CRLParser.WHEN = 28;
|
|
1672
|
+
CRLParser.WITH = 29;
|
|
1673
|
+
CRLParser.ERROR = 30;
|
|
1674
|
+
CRLParser.COLON = 31;
|
|
1675
|
+
CRLParser.DOT = 32;
|
|
1676
|
+
CRLParser.LPAREN = 33;
|
|
1677
|
+
CRLParser.RPAREN = 34;
|
|
1678
|
+
CRLParser.QUOTED_STRING = 35;
|
|
1679
|
+
CRLParser.BACKTICK_STRING = 36;
|
|
1680
|
+
CRLParser.WS = 37;
|
|
1681
|
+
CRLParser.COMMENT = 38;
|
|
1682
|
+
CRLParser.COMMENT_BLOCK = 39;
|
|
1683
|
+
CRLParser.ACTIVITY_TYPE = 40;
|
|
1684
|
+
CRLParser.ACTIVITY_WS = 41;
|
|
1685
|
+
CRLParser.ACTIVITY_COMMENT_BLOCK = 42;
|
|
1686
|
+
CRLParser.ACTIVITY_ErrorChar = 43;
|
|
1687
|
+
CRLParser.CONCEPT_TYPE = 44;
|
|
1688
|
+
CRLParser.CONCEPT_WS = 45;
|
|
1689
|
+
CRLParser.CONCEPT_COMMENT_BLOCK = 46;
|
|
1690
|
+
CRLParser.CONCEPT_ErrorChar = 47;
|
|
1691
|
+
CRLParser.CONCEPT_VALUE_TYPE = 48;
|
|
1692
|
+
CRLParser.VALUE_TYPE_WS = 49;
|
|
1693
|
+
CRLParser.VALUE_TYPE_COMMENT_BLOCK = 50;
|
|
1694
|
+
CRLParser.VALUE_TYPE_ErrorChar = 51;
|
|
1695
|
+
CRLParser.RULE_crl = 0;
|
|
1696
|
+
CRLParser.RULE_statement = 1;
|
|
1697
|
+
CRLParser.RULE_decisionStatement = 2;
|
|
1698
|
+
CRLParser.RULE_decisionBody = 3;
|
|
1699
|
+
CRLParser.RULE_whenBlock = 4;
|
|
1700
|
+
CRLParser.RULE_anyOrAllClause = 5;
|
|
1701
|
+
CRLParser.RULE_blockBody = 6;
|
|
1702
|
+
CRLParser.RULE_singleActionStatement = 7;
|
|
1703
|
+
CRLParser.RULE_blockStatement = 8;
|
|
1704
|
+
CRLParser.RULE_actionStatement = 9;
|
|
1705
|
+
CRLParser.RULE_doStatement = 10;
|
|
1706
|
+
CRLParser.RULE_useStatement = 11;
|
|
1707
|
+
CRLParser.RULE_terminologyStatement = 12;
|
|
1708
|
+
CRLParser.RULE_terminologyValueset = 13;
|
|
1709
|
+
CRLParser.RULE_terminologySystemCode = 14;
|
|
1710
|
+
CRLParser.RULE_activityStatement = 15;
|
|
1711
|
+
CRLParser.RULE_conceptStatement = 16;
|
|
1712
|
+
CRLParser.RULE_conceptBody = 17;
|
|
1713
|
+
CRLParser.RULE_typeLine = 18;
|
|
1714
|
+
CRLParser.RULE_valueTypeLine = 19;
|
|
1715
|
+
CRLParser.RULE_evidenceLine = 20;
|
|
1716
|
+
CRLParser.RULE_codedFromLine = 21;
|
|
1717
|
+
CRLParser.RULE_inferredFromLine = 22;
|
|
1718
|
+
CRLParser.RULE_inferredBody = 23;
|
|
1719
|
+
CRLParser.RULE_inferredFromConceptReference = 24;
|
|
1720
|
+
CRLParser.RULE_patternStatement = 25;
|
|
1721
|
+
CRLParser.RULE_inferredFromDescriptiveLogic = 26;
|
|
1722
|
+
CRLParser.RULE_inferredFromExpression = 27;
|
|
1723
|
+
CRLParser.RULE_informalOr = 28;
|
|
1724
|
+
CRLParser.RULE_informalAnd = 29;
|
|
1725
|
+
CRLParser.RULE_informalNot = 30;
|
|
1726
|
+
CRLParser.RULE_atom = 31;
|
|
1727
|
+
CRLParser.RULE_identifier = 32;
|
|
1728
|
+
CRLParser.RULE_decisionIdentifier = 33;
|
|
1729
|
+
CRLParser.RULE_decisionReference = 34;
|
|
1730
|
+
CRLParser.RULE_terminologyIdentifier = 35;
|
|
1731
|
+
CRLParser.RULE_terminologyReference = 36;
|
|
1732
|
+
CRLParser.RULE_activityIdentifier = 37;
|
|
1733
|
+
CRLParser.RULE_activityReference = 38;
|
|
1734
|
+
CRLParser.RULE_conceptIdentifier = 39;
|
|
1735
|
+
CRLParser.RULE_conceptReference = 40;
|
|
1736
|
+
CRLParser.RULE_backtickString = 41;
|
|
1737
|
+
CRLParser.RULE_patternName = 42;
|
|
1738
|
+
CRLParser.RULE_activityTypeValue = 43;
|
|
1739
|
+
CRLParser.RULE_rationale = 44;
|
|
1740
|
+
CRLParser.ruleNames = [
|
|
1741
|
+
"crl", "statement", "decisionStatement", "decisionBody", "whenBlock",
|
|
1742
|
+
"anyOrAllClause", "blockBody", "singleActionStatement", "blockStatement",
|
|
1743
|
+
"actionStatement", "doStatement", "useStatement", "terminologyStatement",
|
|
1744
|
+
"terminologyValueset", "terminologySystemCode", "activityStatement", "conceptStatement",
|
|
1745
|
+
"conceptBody", "typeLine", "valueTypeLine", "evidenceLine", "codedFromLine",
|
|
1746
|
+
"inferredFromLine", "inferredBody", "inferredFromConceptReference", "patternStatement",
|
|
1747
|
+
"inferredFromDescriptiveLogic", "inferredFromExpression", "informalOr",
|
|
1748
|
+
"informalAnd", "informalNot", "atom", "identifier", "decisionIdentifier",
|
|
1749
|
+
"decisionReference", "terminologyIdentifier", "terminologyReference",
|
|
1750
|
+
"activityIdentifier", "activityReference", "conceptIdentifier", "conceptReference",
|
|
1751
|
+
"backtickString", "patternName", "activityTypeValue", "rationale",
|
|
1752
|
+
];
|
|
1753
|
+
CRLParser._LITERAL_NAMES = [
|
|
1754
|
+
undefined, "'activity'", "'all'", "'and'", "'any'", "'apply'", "'because'",
|
|
1755
|
+
"'code'", "'coded'", "'concept'", "'decision'", "'done'", "'do'", "'evidence'",
|
|
1756
|
+
"'from'", "'inferred'", undefined, "'not'", "'or'", "'pattern'", "'perform'",
|
|
1757
|
+
"'system'", "'terminology'", "'then'", "'type'", "'use'", "'valuetype'",
|
|
1758
|
+
"'valueset'", "'when'", "'with'", "'error'", "':'", "'.'", "'('", "')'",
|
|
1759
|
+
];
|
|
1760
|
+
CRLParser._SYMBOLIC_NAMES = [
|
|
1761
|
+
undefined, "ACTIVITY", "ALL", "AND", "ANY", "APPLY", "BECAUSE", "CODE",
|
|
1762
|
+
"CODED", "CONCEPT", "DECISION", "DONE", "DO", "EVIDENCE", "FROM", "INFERRED",
|
|
1763
|
+
"IS", "NOT", "OR", "PATTERN", "PERFORM", "SYSTEM", "TERMINOLOGY", "THEN",
|
|
1764
|
+
"TYPE", "USE", "VALUETYPE", "VALUESET", "WHEN", "WITH", "ERROR", "COLON",
|
|
1765
|
+
"DOT", "LPAREN", "RPAREN", "QUOTED_STRING", "BACKTICK_STRING", "WS", "COMMENT",
|
|
1766
|
+
"COMMENT_BLOCK", "ACTIVITY_TYPE", "ACTIVITY_WS", "ACTIVITY_COMMENT_BLOCK",
|
|
1767
|
+
"ACTIVITY_ErrorChar", "CONCEPT_TYPE", "CONCEPT_WS", "CONCEPT_COMMENT_BLOCK",
|
|
1768
|
+
"CONCEPT_ErrorChar", "CONCEPT_VALUE_TYPE", "VALUE_TYPE_WS", "VALUE_TYPE_COMMENT_BLOCK",
|
|
1769
|
+
"VALUE_TYPE_ErrorChar",
|
|
1770
|
+
];
|
|
1771
|
+
CRLParser.VOCABULARY = new VocabularyImpl_1.VocabularyImpl(CRLParser._LITERAL_NAMES, CRLParser._SYMBOLIC_NAMES, []);
|
|
1772
|
+
CRLParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x035\u0138\x04\x02" +
|
|
1773
|
+
"\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07" +
|
|
1774
|
+
"\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f\x04\r\t\r\x04" +
|
|
1775
|
+
"\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04" +
|
|
1776
|
+
"\x13\t\x13\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17\t\x17\x04" +
|
|
1777
|
+
"\x18\t\x18\x04\x19\t\x19\x04\x1A\t\x1A\x04\x1B\t\x1B\x04\x1C\t\x1C\x04" +
|
|
1778
|
+
"\x1D\t\x1D\x04\x1E\t\x1E\x04\x1F\t\x1F\x04 \t \x04!\t!\x04\"\t\"\x04#" +
|
|
1779
|
+
"\t#\x04$\t$\x04%\t%\x04&\t&\x04\'\t\'\x04(\t(\x04)\t)\x04*\t*\x04+\t+" +
|
|
1780
|
+
"\x04,\t,\x04-\t-\x04.\t.\x03\x02\x07\x02^\n\x02\f\x02\x0E\x02a\v\x02\x03" +
|
|
1781
|
+
"\x02\x03\x02\x03\x03\x03\x03\x03\x03\x03\x03\x05\x03i\n\x03\x03\x04\x03" +
|
|
1782
|
+
"\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x05\x06\x05r\n\x05\r\x05\x0E" +
|
|
1783
|
+
"\x05s\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06" +
|
|
1784
|
+
"\x03\x06\x03\x06\x05\x06\x80\n\x06\x03\x07\x03\x07\x03\x07\x03\b\x03\b" +
|
|
1785
|
+
"\x05\b\x87\n\b\x03\b\x06\b\x8A\n\b\r\b\x0E\b\x8B\x03\b\x03\b\x03\t\x03" +
|
|
1786
|
+
"\t\x05\t\x92\n\t\x03\t\x03\t\x03\n\x03\n\x05\n\x98\n\n\x03\v\x03\v\x05" +
|
|
1787
|
+
"\v\x9C\n\v\x03\v\x03\v\x03\f\x03\f\x03\f\x03\r\x03\r\x03\r\x03\x0E\x03" +
|
|
1788
|
+
"\x0E\x03\x0E\x03\x0E\x03\x0E\x05\x0E\xAB\n\x0E\x03\x0E\x03\x0E\x03\x0F" +
|
|
1789
|
+
"\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x11\x03\x11" +
|
|
1790
|
+
"\x03\x11\x03\x11\x03\x11\x03\x11\x03\x11\x05\x11\xBE\n\x11\x05\x11\xC0" +
|
|
1791
|
+
"\n\x11\x03\x11\x03\x11\x05\x11\xC4\n\x11\x03\x11\x03\x11\x03\x12\x03\x12" +
|
|
1792
|
+
"\x03\x12\x03\x12\x03\x12\x03\x12\x03\x13\x03\x13\x03\x13\x05\x13\xD1\n" +
|
|
1793
|
+
"\x13\x03\x13\x03\x13\x05\x13\xD5\n\x13\x03\x14\x03\x14\x03\x14\x03\x14" +
|
|
1794
|
+
"\x03\x14\x03\x15\x03\x15\x03\x15\x03\x15\x03\x15\x03\x16\x03\x16\x03\x16" +
|
|
1795
|
+
"\x03\x16\x03\x16\x03\x17\x03\x17\x03\x17\x03\x17\x03\x17\x03\x18\x03\x18" +
|
|
1796
|
+
"\x03\x18\x03\x18\x03\x18\x03\x19\x03\x19\x05\x19\xF2\n\x19\x03\x1A\x03" +
|
|
1797
|
+
"\x1A\x05\x1A\xF6\n\x1A\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1C\x03\x1C" +
|
|
1798
|
+
"\x03\x1C\x03\x1C\x03\x1D\x03\x1D\x03\x1E\x03\x1E\x03\x1E\x07\x1E\u0105" +
|
|
1799
|
+
"\n\x1E\f\x1E\x0E\x1E\u0108\v\x1E\x03\x1F\x03\x1F\x03\x1F\x07\x1F\u010D" +
|
|
1800
|
+
"\n\x1F\f\x1F\x0E\x1F\u0110\v\x1F\x03 \x03 \x03 \x05 \u0115\n \x03!\x03" +
|
|
1801
|
+
"!\x03!\x03!\x03!\x05!\u011C\n!\x03\"\x03\"\x03#\x03#\x03$\x03$\x03%\x03" +
|
|
1802
|
+
"%\x03&\x03&\x03\'\x03\'\x03(\x03(\x03)\x03)\x03*\x03*\x03+\x03+\x03,\x03" +
|
|
1803
|
+
",\x03-\x03-\x03.\x03.\x03.\x02\x02\x02/\x02\x02\x04\x02\x06\x02\b\x02" +
|
|
1804
|
+
"\n\x02\f\x02\x0E\x02\x10\x02\x12\x02\x14\x02\x16\x02\x18\x02\x1A\x02\x1C" +
|
|
1805
|
+
"\x02\x1E\x02 \x02\"\x02$\x02&\x02(\x02*\x02,\x02.\x020\x022\x024\x026" +
|
|
1806
|
+
"\x028\x02:\x02<\x02>\x02@\x02B\x02D\x02F\x02H\x02J\x02L\x02N\x02P\x02" +
|
|
1807
|
+
"R\x02T\x02V\x02X\x02Z\x02\x02\x03\x04\x02\x04\x04\x06\x06\x02\u0122\x02" +
|
|
1808
|
+
"_\x03\x02\x02\x02\x04h\x03\x02\x02\x02\x06j\x03\x02\x02\x02\bq\x03\x02" +
|
|
1809
|
+
"\x02\x02\n\x7F\x03\x02\x02\x02\f\x81\x03\x02\x02\x02\x0E\x84\x03\x02\x02" +
|
|
1810
|
+
"\x02\x10\x91\x03\x02\x02\x02\x12\x97\x03\x02\x02\x02\x14\x9B\x03\x02\x02" +
|
|
1811
|
+
"\x02\x16\x9F\x03\x02\x02\x02\x18\xA2\x03\x02\x02\x02\x1A\xA5\x03\x02\x02" +
|
|
1812
|
+
"\x02\x1C\xAE\x03\x02\x02\x02\x1E\xB1\x03\x02\x02\x02 \xB6\x03\x02\x02" +
|
|
1813
|
+
"\x02\"\xC7\x03\x02\x02\x02$\xCD\x03\x02\x02\x02&\xD6\x03\x02\x02\x02(" +
|
|
1814
|
+
"\xDB\x03\x02\x02\x02*\xE0\x03\x02\x02\x02,\xE5\x03\x02\x02\x02.\xEA\x03" +
|
|
1815
|
+
"\x02\x02\x020\xF1\x03\x02\x02\x022\xF3\x03\x02\x02\x024\xF7\x03\x02\x02" +
|
|
1816
|
+
"\x026\xFB\x03\x02\x02\x028\xFF\x03\x02\x02\x02:\u0101\x03\x02\x02\x02" +
|
|
1817
|
+
"<\u0109\x03\x02\x02\x02>\u0114\x03\x02\x02\x02@\u011B\x03\x02\x02\x02" +
|
|
1818
|
+
"B\u011D\x03\x02\x02\x02D\u011F\x03\x02\x02\x02F\u0121\x03\x02\x02\x02" +
|
|
1819
|
+
"H\u0123\x03\x02\x02\x02J\u0125\x03\x02\x02\x02L\u0127\x03\x02\x02\x02" +
|
|
1820
|
+
"N\u0129\x03\x02\x02\x02P\u012B\x03\x02\x02\x02R\u012D\x03\x02\x02\x02" +
|
|
1821
|
+
"T\u012F\x03\x02\x02\x02V\u0131\x03\x02\x02\x02X\u0133\x03\x02\x02\x02" +
|
|
1822
|
+
"Z\u0135\x03\x02\x02\x02\\^\x05\x04\x03\x02]\\\x03\x02\x02\x02^a\x03\x02" +
|
|
1823
|
+
"\x02\x02_]\x03\x02\x02\x02_`\x03\x02\x02\x02`b\x03\x02\x02\x02a_\x03\x02" +
|
|
1824
|
+
"\x02\x02bc\x07\x02\x02\x03c\x03\x03\x02\x02\x02di\x05\x06\x04\x02ei\x05" +
|
|
1825
|
+
"\x1A\x0E\x02fi\x05 \x11\x02gi\x05\"\x12\x02hd\x03\x02\x02\x02he\x03\x02" +
|
|
1826
|
+
"\x02\x02hf\x03\x02\x02\x02hg\x03\x02\x02\x02i\x05\x03\x02\x02\x02jk\x07" +
|
|
1827
|
+
"\f\x02\x02kl\x05D#\x02lm\x07!\x02\x02mn\x05\b\x05\x02no\x07\r\x02\x02" +
|
|
1828
|
+
"o\x07\x03\x02\x02\x02pr\x05\n\x06\x02qp\x03\x02\x02\x02rs\x03\x02\x02" +
|
|
1829
|
+
"\x02sq\x03\x02\x02\x02st\x03\x02\x02\x02t\t\x03\x02\x02\x02uv\x07\x1E" +
|
|
1830
|
+
"\x02\x02vw\x05R*\x02wx\x07\x19\x02\x02xy\x05\x0E\b\x02y\x80\x03\x02\x02" +
|
|
1831
|
+
"\x02z{\x07\x1E\x02\x02{|\x05R*\x02|}\x07\x19\x02\x02}~\x05\x10\t\x02~" +
|
|
1832
|
+
"\x80\x03\x02\x02\x02\x7Fu\x03\x02\x02\x02\x7Fz\x03\x02\x02\x02\x80\v\x03" +
|
|
1833
|
+
"\x02\x02\x02\x81\x82\t\x02\x02\x02\x82\x83\x07!\x02\x02\x83\r\x03\x02" +
|
|
1834
|
+
"\x02\x02\x84\x86\x07!\x02\x02\x85\x87\x05\f\x07\x02\x86\x85\x03\x02\x02" +
|
|
1835
|
+
"\x02\x86\x87\x03\x02\x02\x02\x87\x89\x03\x02\x02\x02\x88\x8A\x05\x12\n" +
|
|
1836
|
+
"\x02\x89\x88\x03\x02\x02\x02\x8A\x8B\x03\x02\x02\x02\x8B\x89\x03\x02\x02" +
|
|
1837
|
+
"\x02\x8B\x8C\x03\x02\x02\x02\x8C\x8D\x03\x02\x02\x02\x8D\x8E\x07\r\x02" +
|
|
1838
|
+
"\x02\x8E\x0F\x03\x02\x02\x02\x8F\x92\x05\x16\f\x02\x90\x92\x05\x18\r\x02" +
|
|
1839
|
+
"\x91\x8F\x03\x02\x02\x02\x91\x90\x03\x02\x02\x02\x92\x93\x03\x02\x02\x02" +
|
|
1840
|
+
"\x93\x94\x07\"\x02\x02\x94\x11\x03\x02\x02\x02\x95\x98\x05\n\x06\x02\x96" +
|
|
1841
|
+
"\x98\x05\x14\v\x02\x97\x95\x03\x02\x02\x02\x97\x96\x03\x02\x02\x02\x98" +
|
|
1842
|
+
"\x13\x03\x02\x02\x02\x99\x9C\x05\x16\f\x02\x9A\x9C\x05\x18\r\x02\x9B\x99" +
|
|
1843
|
+
"\x03\x02\x02\x02\x9B\x9A\x03\x02\x02\x02\x9C\x9D\x03\x02\x02\x02\x9D\x9E" +
|
|
1844
|
+
"\x07\"\x02\x02\x9E\x15\x03\x02\x02\x02\x9F\xA0\x07\x0E\x02\x02\xA0\xA1" +
|
|
1845
|
+
"\x05N(\x02\xA1\x17\x03\x02\x02\x02\xA2\xA3\x07\x1B\x02\x02\xA3\xA4\x05" +
|
|
1846
|
+
"F$\x02\xA4\x19\x03\x02\x02\x02\xA5\xA6\x07\x18\x02\x02\xA6\xAA\x05H%\x02" +
|
|
1847
|
+
"\xA7\xAB\x05\x1C\x0F\x02\xA8\xAB\x05T+\x02\xA9\xAB\x05\x1E\x10\x02\xAA" +
|
|
1848
|
+
"\xA7\x03\x02\x02\x02\xAA\xA8\x03\x02\x02\x02\xAA\xA9\x03\x02\x02\x02\xAB" +
|
|
1849
|
+
"\xAC\x03\x02\x02\x02\xAC\xAD\x07\"\x02\x02\xAD\x1B\x03\x02\x02\x02\xAE" +
|
|
1850
|
+
"\xAF\x07\x1D\x02\x02\xAF\xB0\x05B\"\x02\xB0\x1D\x03\x02\x02\x02\xB1\xB2" +
|
|
1851
|
+
"\x07\x17\x02\x02\xB2\xB3\x05T+\x02\xB3\xB4\x07\t\x02\x02\xB4\xB5\x05T" +
|
|
1852
|
+
"+\x02\xB5\x1F\x03\x02\x02\x02\xB6\xB7\x07\x03\x02\x02\xB7\xB8\x05L\'\x02" +
|
|
1853
|
+
"\xB8\xB9\x07\x16\x02\x02\xB9\xBF\x07*\x02\x02\xBA\xBD\x07\x1F\x02\x02" +
|
|
1854
|
+
"\xBB\xBE\x05J&\x02\xBC\xBE\x05X-\x02\xBD\xBB\x03\x02\x02\x02\xBD\xBC\x03" +
|
|
1855
|
+
"\x02\x02\x02\xBE\xC0\x03\x02\x02\x02\xBF\xBA\x03\x02\x02\x02\xBF\xC0\x03" +
|
|
1856
|
+
"\x02\x02\x02\xC0\xC3\x03\x02\x02\x02\xC1\xC2\x07\b\x02\x02\xC2\xC4\x05" +
|
|
1857
|
+
"Z.\x02\xC3\xC1\x03\x02\x02\x02\xC3\xC4\x03\x02\x02\x02\xC4\xC5\x03\x02" +
|
|
1858
|
+
"\x02\x02\xC5\xC6\x07\"\x02\x02\xC6!\x03\x02\x02\x02\xC7\xC8\x07\v\x02" +
|
|
1859
|
+
"\x02\xC8\xC9\x05P)\x02\xC9\xCA\x07!\x02\x02\xCA\xCB\x05$\x13\x02\xCB\xCC" +
|
|
1860
|
+
"\x07\r\x02\x02\xCC#\x03\x02\x02\x02\xCD\xCE\x05&\x14\x02\xCE\xD0\x05(" +
|
|
1861
|
+
"\x15\x02\xCF\xD1\x05*\x16\x02\xD0\xCF\x03\x02\x02\x02\xD0\xD1\x03\x02" +
|
|
1862
|
+
"\x02\x02\xD1\xD4\x03\x02\x02\x02\xD2\xD5\x05,\x17\x02\xD3\xD5\x05.\x18" +
|
|
1863
|
+
"\x02\xD4\xD2\x03\x02\x02\x02\xD4\xD3\x03\x02\x02\x02\xD5%\x03\x02\x02" +
|
|
1864
|
+
"\x02\xD6\xD7\x07\x1A\x02\x02\xD7\xD8\x07\x12\x02\x02\xD8\xD9\x07.\x02" +
|
|
1865
|
+
"\x02\xD9\xDA\x07\"\x02\x02\xDA\'\x03\x02\x02\x02\xDB\xDC\x07\x1C\x02\x02" +
|
|
1866
|
+
"\xDC\xDD\x07\x12\x02\x02\xDD\xDE\x072\x02\x02\xDE\xDF\x07\"\x02\x02\xDF" +
|
|
1867
|
+
")\x03\x02\x02\x02\xE0\xE1\x07\x0F\x02\x02\xE1\xE2\x07\x12\x02\x02\xE2" +
|
|
1868
|
+
"\xE3\x05T+\x02\xE3\xE4\x07\"\x02\x02\xE4+\x03\x02\x02\x02\xE5\xE6\x07" +
|
|
1869
|
+
"\n\x02\x02\xE6\xE7\x07\x10\x02\x02\xE7\xE8\x05J&\x02\xE8\xE9\x07\"\x02" +
|
|
1870
|
+
"\x02\xE9-\x03\x02\x02\x02\xEA\xEB\x07\x11\x02\x02\xEB\xEC\x07\x10\x02" +
|
|
1871
|
+
"\x02\xEC\xED\x050\x19\x02\xED\xEE\x07\"\x02\x02\xEE/\x03\x02\x02\x02\xEF" +
|
|
1872
|
+
"\xF2\x052\x1A\x02\xF0\xF2\x056\x1C\x02\xF1\xEF\x03\x02\x02\x02\xF1\xF0" +
|
|
1873
|
+
"\x03\x02\x02\x02\xF21\x03\x02\x02\x02\xF3\xF5\x05R*\x02\xF4\xF6\x054\x1B" +
|
|
1874
|
+
"\x02\xF5\xF4\x03\x02\x02\x02\xF5\xF6\x03\x02\x02\x02\xF63\x03\x02\x02" +
|
|
1875
|
+
"\x02\xF7\xF8\x07\x07\x02\x02\xF8\xF9\x07\x15\x02\x02\xF9\xFA\x05V,\x02" +
|
|
1876
|
+
"\xFA5\x03\x02\x02\x02\xFB\xFC\x07#\x02\x02\xFC\xFD\x058\x1D\x02\xFD\xFE" +
|
|
1877
|
+
"\x07$\x02\x02\xFE7\x03\x02\x02\x02\xFF\u0100\x05:\x1E\x02\u01009\x03\x02" +
|
|
1878
|
+
"\x02\x02\u0101\u0106\x05<\x1F\x02\u0102\u0103\x07\x14\x02\x02\u0103\u0105" +
|
|
1879
|
+
"\x05<\x1F\x02\u0104\u0102\x03\x02\x02\x02\u0105\u0108\x03\x02\x02\x02" +
|
|
1880
|
+
"\u0106\u0104\x03\x02\x02\x02\u0106\u0107\x03\x02\x02\x02\u0107;\x03\x02" +
|
|
1881
|
+
"\x02\x02\u0108\u0106\x03\x02\x02\x02\u0109\u010E\x05> \x02\u010A\u010B" +
|
|
1882
|
+
"\x07\x05\x02\x02\u010B\u010D\x05> \x02\u010C\u010A\x03\x02\x02\x02\u010D" +
|
|
1883
|
+
"\u0110\x03\x02\x02\x02\u010E\u010C\x03\x02\x02\x02\u010E\u010F\x03\x02" +
|
|
1884
|
+
"\x02\x02\u010F=\x03\x02\x02\x02\u0110\u010E\x03\x02\x02\x02\u0111\u0112" +
|
|
1885
|
+
"\x07\x13\x02\x02\u0112\u0115\x05> \x02\u0113\u0115\x05@!\x02\u0114\u0111" +
|
|
1886
|
+
"\x03\x02\x02\x02\u0114\u0113\x03\x02\x02\x02\u0115?\x03\x02\x02\x02\u0116" +
|
|
1887
|
+
"\u011C\x05R*\x02\u0117\u0118\x07#\x02\x02\u0118\u0119\x058\x1D\x02\u0119" +
|
|
1888
|
+
"\u011A\x07$\x02\x02\u011A\u011C\x03\x02\x02\x02\u011B\u0116\x03\x02\x02" +
|
|
1889
|
+
"\x02\u011B\u0117\x03\x02\x02\x02\u011CA\x03\x02\x02\x02\u011D\u011E\x07" +
|
|
1890
|
+
"%\x02\x02\u011EC\x03\x02\x02\x02\u011F\u0120\x05B\"\x02\u0120E\x03\x02" +
|
|
1891
|
+
"\x02\x02\u0121\u0122\x05D#\x02\u0122G\x03\x02\x02\x02\u0123\u0124\x05" +
|
|
1892
|
+
"B\"\x02\u0124I\x03\x02\x02\x02\u0125\u0126\x05B\"\x02\u0126K\x03\x02\x02" +
|
|
1893
|
+
"\x02\u0127\u0128\x05B\"\x02\u0128M\x03\x02\x02\x02\u0129\u012A\x05L\'" +
|
|
1894
|
+
"\x02\u012AO\x03\x02\x02\x02\u012B\u012C\x05B\"\x02\u012CQ\x03\x02\x02" +
|
|
1895
|
+
"\x02\u012D\u012E\x05P)\x02\u012ES\x03\x02\x02\x02\u012F\u0130\x07&\x02" +
|
|
1896
|
+
"\x02\u0130U\x03\x02\x02\x02\u0131\u0132\x05T+\x02\u0132W\x03\x02\x02\x02" +
|
|
1897
|
+
"\u0133\u0134\x05T+\x02\u0134Y\x03\x02\x02\x02\u0135\u0136\x05T+\x02\u0136" +
|
|
1898
|
+
"[\x03\x02\x02\x02\x17_hs\x7F\x86\x8B\x91\x97\x9B\xAA\xBD\xBF\xC3\xD0\xD4" +
|
|
1899
|
+
"\xF1\xF5\u0106\u010E\u0114\u011B";
|
|
1900
|
+
class CrlContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1901
|
+
EOF() { return this.getToken(CRLParser.EOF, 0); }
|
|
1902
|
+
statement(i) {
|
|
1903
|
+
if (i === undefined) {
|
|
1904
|
+
return this.getRuleContexts(StatementContext);
|
|
1905
|
+
}
|
|
1906
|
+
else {
|
|
1907
|
+
return this.getRuleContext(i, StatementContext);
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
constructor(parent, invokingState) {
|
|
1911
|
+
super(parent, invokingState);
|
|
1912
|
+
}
|
|
1913
|
+
get ruleIndex() { return CRLParser.RULE_crl; }
|
|
1914
|
+
enterRule(listener) {
|
|
1915
|
+
if (listener.enterCrl) {
|
|
1916
|
+
listener.enterCrl(this);
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
exitRule(listener) {
|
|
1920
|
+
if (listener.exitCrl) {
|
|
1921
|
+
listener.exitCrl(this);
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
accept(visitor) {
|
|
1925
|
+
if (visitor.visitCrl) {
|
|
1926
|
+
return visitor.visitCrl(this);
|
|
1927
|
+
}
|
|
1928
|
+
else {
|
|
1929
|
+
return visitor.visitChildren(this);
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
exports.CrlContext = CrlContext;
|
|
1934
|
+
class StatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1935
|
+
decisionStatement() {
|
|
1936
|
+
return this.tryGetRuleContext(0, DecisionStatementContext);
|
|
1937
|
+
}
|
|
1938
|
+
terminologyStatement() {
|
|
1939
|
+
return this.tryGetRuleContext(0, TerminologyStatementContext);
|
|
1940
|
+
}
|
|
1941
|
+
activityStatement() {
|
|
1942
|
+
return this.tryGetRuleContext(0, ActivityStatementContext);
|
|
1943
|
+
}
|
|
1944
|
+
conceptStatement() {
|
|
1945
|
+
return this.tryGetRuleContext(0, ConceptStatementContext);
|
|
1946
|
+
}
|
|
1947
|
+
constructor(parent, invokingState) {
|
|
1948
|
+
super(parent, invokingState);
|
|
1949
|
+
}
|
|
1950
|
+
get ruleIndex() { return CRLParser.RULE_statement; }
|
|
1951
|
+
enterRule(listener) {
|
|
1952
|
+
if (listener.enterStatement) {
|
|
1953
|
+
listener.enterStatement(this);
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
exitRule(listener) {
|
|
1957
|
+
if (listener.exitStatement) {
|
|
1958
|
+
listener.exitStatement(this);
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
accept(visitor) {
|
|
1962
|
+
if (visitor.visitStatement) {
|
|
1963
|
+
return visitor.visitStatement(this);
|
|
1964
|
+
}
|
|
1965
|
+
else {
|
|
1966
|
+
return visitor.visitChildren(this);
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
exports.StatementContext = StatementContext;
|
|
1971
|
+
class DecisionStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1972
|
+
DECISION() { return this.getToken(CRLParser.DECISION, 0); }
|
|
1973
|
+
decisionIdentifier() {
|
|
1974
|
+
return this.getRuleContext(0, DecisionIdentifierContext);
|
|
1975
|
+
}
|
|
1976
|
+
COLON() { return this.getToken(CRLParser.COLON, 0); }
|
|
1977
|
+
decisionBody() {
|
|
1978
|
+
return this.getRuleContext(0, DecisionBodyContext);
|
|
1979
|
+
}
|
|
1980
|
+
DONE() { return this.getToken(CRLParser.DONE, 0); }
|
|
1981
|
+
constructor(parent, invokingState) {
|
|
1982
|
+
super(parent, invokingState);
|
|
1983
|
+
}
|
|
1984
|
+
get ruleIndex() { return CRLParser.RULE_decisionStatement; }
|
|
1985
|
+
enterRule(listener) {
|
|
1986
|
+
if (listener.enterDecisionStatement) {
|
|
1987
|
+
listener.enterDecisionStatement(this);
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
exitRule(listener) {
|
|
1991
|
+
if (listener.exitDecisionStatement) {
|
|
1992
|
+
listener.exitDecisionStatement(this);
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
accept(visitor) {
|
|
1996
|
+
if (visitor.visitDecisionStatement) {
|
|
1997
|
+
return visitor.visitDecisionStatement(this);
|
|
1998
|
+
}
|
|
1999
|
+
else {
|
|
2000
|
+
return visitor.visitChildren(this);
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
exports.DecisionStatementContext = DecisionStatementContext;
|
|
2005
|
+
class DecisionBodyContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2006
|
+
whenBlock(i) {
|
|
2007
|
+
if (i === undefined) {
|
|
2008
|
+
return this.getRuleContexts(WhenBlockContext);
|
|
2009
|
+
}
|
|
2010
|
+
else {
|
|
2011
|
+
return this.getRuleContext(i, WhenBlockContext);
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
constructor(parent, invokingState) {
|
|
2015
|
+
super(parent, invokingState);
|
|
2016
|
+
}
|
|
2017
|
+
get ruleIndex() { return CRLParser.RULE_decisionBody; }
|
|
2018
|
+
enterRule(listener) {
|
|
2019
|
+
if (listener.enterDecisionBody) {
|
|
2020
|
+
listener.enterDecisionBody(this);
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
exitRule(listener) {
|
|
2024
|
+
if (listener.exitDecisionBody) {
|
|
2025
|
+
listener.exitDecisionBody(this);
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
accept(visitor) {
|
|
2029
|
+
if (visitor.visitDecisionBody) {
|
|
2030
|
+
return visitor.visitDecisionBody(this);
|
|
2031
|
+
}
|
|
2032
|
+
else {
|
|
2033
|
+
return visitor.visitChildren(this);
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
exports.DecisionBodyContext = DecisionBodyContext;
|
|
2038
|
+
class WhenBlockContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2039
|
+
constructor(parent, invokingState) {
|
|
2040
|
+
super(parent, invokingState);
|
|
2041
|
+
}
|
|
2042
|
+
get ruleIndex() { return CRLParser.RULE_whenBlock; }
|
|
2043
|
+
copyFrom(ctx) {
|
|
2044
|
+
super.copyFrom(ctx);
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
exports.WhenBlockContext = WhenBlockContext;
|
|
2048
|
+
class WhenWithBodyContext extends WhenBlockContext {
|
|
2049
|
+
WHEN() { return this.getToken(CRLParser.WHEN, 0); }
|
|
2050
|
+
conceptReference() {
|
|
2051
|
+
return this.getRuleContext(0, ConceptReferenceContext);
|
|
2052
|
+
}
|
|
2053
|
+
THEN() { return this.getToken(CRLParser.THEN, 0); }
|
|
2054
|
+
blockBody() {
|
|
2055
|
+
return this.getRuleContext(0, BlockBodyContext);
|
|
2056
|
+
}
|
|
2057
|
+
constructor(ctx) {
|
|
2058
|
+
super(ctx.parent, ctx.invokingState);
|
|
2059
|
+
this.copyFrom(ctx);
|
|
2060
|
+
}
|
|
2061
|
+
enterRule(listener) {
|
|
2062
|
+
if (listener.enterWhenWithBody) {
|
|
2063
|
+
listener.enterWhenWithBody(this);
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
exitRule(listener) {
|
|
2067
|
+
if (listener.exitWhenWithBody) {
|
|
2068
|
+
listener.exitWhenWithBody(this);
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
accept(visitor) {
|
|
2072
|
+
if (visitor.visitWhenWithBody) {
|
|
2073
|
+
return visitor.visitWhenWithBody(this);
|
|
2074
|
+
}
|
|
2075
|
+
else {
|
|
2076
|
+
return visitor.visitChildren(this);
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
exports.WhenWithBodyContext = WhenWithBodyContext;
|
|
2081
|
+
class WhenSingleActionContext extends WhenBlockContext {
|
|
2082
|
+
WHEN() { return this.getToken(CRLParser.WHEN, 0); }
|
|
2083
|
+
conceptReference() {
|
|
2084
|
+
return this.getRuleContext(0, ConceptReferenceContext);
|
|
2085
|
+
}
|
|
2086
|
+
THEN() { return this.getToken(CRLParser.THEN, 0); }
|
|
2087
|
+
singleActionStatement() {
|
|
2088
|
+
return this.getRuleContext(0, SingleActionStatementContext);
|
|
2089
|
+
}
|
|
2090
|
+
constructor(ctx) {
|
|
2091
|
+
super(ctx.parent, ctx.invokingState);
|
|
2092
|
+
this.copyFrom(ctx);
|
|
2093
|
+
}
|
|
2094
|
+
enterRule(listener) {
|
|
2095
|
+
if (listener.enterWhenSingleAction) {
|
|
2096
|
+
listener.enterWhenSingleAction(this);
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
exitRule(listener) {
|
|
2100
|
+
if (listener.exitWhenSingleAction) {
|
|
2101
|
+
listener.exitWhenSingleAction(this);
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
accept(visitor) {
|
|
2105
|
+
if (visitor.visitWhenSingleAction) {
|
|
2106
|
+
return visitor.visitWhenSingleAction(this);
|
|
2107
|
+
}
|
|
2108
|
+
else {
|
|
2109
|
+
return visitor.visitChildren(this);
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
exports.WhenSingleActionContext = WhenSingleActionContext;
|
|
2114
|
+
class AnyOrAllClauseContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2115
|
+
COLON() { return this.getToken(CRLParser.COLON, 0); }
|
|
2116
|
+
ANY() { return this.tryGetToken(CRLParser.ANY, 0); }
|
|
2117
|
+
ALL() { return this.tryGetToken(CRLParser.ALL, 0); }
|
|
2118
|
+
constructor(parent, invokingState) {
|
|
2119
|
+
super(parent, invokingState);
|
|
2120
|
+
}
|
|
2121
|
+
get ruleIndex() { return CRLParser.RULE_anyOrAllClause; }
|
|
2122
|
+
enterRule(listener) {
|
|
2123
|
+
if (listener.enterAnyOrAllClause) {
|
|
2124
|
+
listener.enterAnyOrAllClause(this);
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
exitRule(listener) {
|
|
2128
|
+
if (listener.exitAnyOrAllClause) {
|
|
2129
|
+
listener.exitAnyOrAllClause(this);
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
accept(visitor) {
|
|
2133
|
+
if (visitor.visitAnyOrAllClause) {
|
|
2134
|
+
return visitor.visitAnyOrAllClause(this);
|
|
2135
|
+
}
|
|
2136
|
+
else {
|
|
2137
|
+
return visitor.visitChildren(this);
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
exports.AnyOrAllClauseContext = AnyOrAllClauseContext;
|
|
2142
|
+
class BlockBodyContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2143
|
+
COLON() { return this.getToken(CRLParser.COLON, 0); }
|
|
2144
|
+
DONE() { return this.getToken(CRLParser.DONE, 0); }
|
|
2145
|
+
anyOrAllClause() {
|
|
2146
|
+
return this.tryGetRuleContext(0, AnyOrAllClauseContext);
|
|
2147
|
+
}
|
|
2148
|
+
blockStatement(i) {
|
|
2149
|
+
if (i === undefined) {
|
|
2150
|
+
return this.getRuleContexts(BlockStatementContext);
|
|
2151
|
+
}
|
|
2152
|
+
else {
|
|
2153
|
+
return this.getRuleContext(i, BlockStatementContext);
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
constructor(parent, invokingState) {
|
|
2157
|
+
super(parent, invokingState);
|
|
2158
|
+
}
|
|
2159
|
+
get ruleIndex() { return CRLParser.RULE_blockBody; }
|
|
2160
|
+
enterRule(listener) {
|
|
2161
|
+
if (listener.enterBlockBody) {
|
|
2162
|
+
listener.enterBlockBody(this);
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
exitRule(listener) {
|
|
2166
|
+
if (listener.exitBlockBody) {
|
|
2167
|
+
listener.exitBlockBody(this);
|
|
2168
|
+
}
|
|
2169
|
+
}
|
|
2170
|
+
accept(visitor) {
|
|
2171
|
+
if (visitor.visitBlockBody) {
|
|
2172
|
+
return visitor.visitBlockBody(this);
|
|
2173
|
+
}
|
|
2174
|
+
else {
|
|
2175
|
+
return visitor.visitChildren(this);
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
exports.BlockBodyContext = BlockBodyContext;
|
|
2180
|
+
class SingleActionStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2181
|
+
DOT() { return this.getToken(CRLParser.DOT, 0); }
|
|
2182
|
+
doStatement() {
|
|
2183
|
+
return this.tryGetRuleContext(0, DoStatementContext);
|
|
2184
|
+
}
|
|
2185
|
+
useStatement() {
|
|
2186
|
+
return this.tryGetRuleContext(0, UseStatementContext);
|
|
2187
|
+
}
|
|
2188
|
+
constructor(parent, invokingState) {
|
|
2189
|
+
super(parent, invokingState);
|
|
2190
|
+
}
|
|
2191
|
+
get ruleIndex() { return CRLParser.RULE_singleActionStatement; }
|
|
2192
|
+
enterRule(listener) {
|
|
2193
|
+
if (listener.enterSingleActionStatement) {
|
|
2194
|
+
listener.enterSingleActionStatement(this);
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
exitRule(listener) {
|
|
2198
|
+
if (listener.exitSingleActionStatement) {
|
|
2199
|
+
listener.exitSingleActionStatement(this);
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
accept(visitor) {
|
|
2203
|
+
if (visitor.visitSingleActionStatement) {
|
|
2204
|
+
return visitor.visitSingleActionStatement(this);
|
|
2205
|
+
}
|
|
2206
|
+
else {
|
|
2207
|
+
return visitor.visitChildren(this);
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
exports.SingleActionStatementContext = SingleActionStatementContext;
|
|
2212
|
+
class BlockStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2213
|
+
constructor(parent, invokingState) {
|
|
2214
|
+
super(parent, invokingState);
|
|
2215
|
+
}
|
|
2216
|
+
get ruleIndex() { return CRLParser.RULE_blockStatement; }
|
|
2217
|
+
copyFrom(ctx) {
|
|
2218
|
+
super.copyFrom(ctx);
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
exports.BlockStatementContext = BlockStatementContext;
|
|
2222
|
+
class NestedWhenBlockContext extends BlockStatementContext {
|
|
2223
|
+
whenBlock() {
|
|
2224
|
+
return this.getRuleContext(0, WhenBlockContext);
|
|
2225
|
+
}
|
|
2226
|
+
constructor(ctx) {
|
|
2227
|
+
super(ctx.parent, ctx.invokingState);
|
|
2228
|
+
this.copyFrom(ctx);
|
|
2229
|
+
}
|
|
2230
|
+
enterRule(listener) {
|
|
2231
|
+
if (listener.enterNestedWhenBlock) {
|
|
2232
|
+
listener.enterNestedWhenBlock(this);
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
exitRule(listener) {
|
|
2236
|
+
if (listener.exitNestedWhenBlock) {
|
|
2237
|
+
listener.exitNestedWhenBlock(this);
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
accept(visitor) {
|
|
2241
|
+
if (visitor.visitNestedWhenBlock) {
|
|
2242
|
+
return visitor.visitNestedWhenBlock(this);
|
|
2243
|
+
}
|
|
2244
|
+
else {
|
|
2245
|
+
return visitor.visitChildren(this);
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
exports.NestedWhenBlockContext = NestedWhenBlockContext;
|
|
2250
|
+
class BlockActionContext extends BlockStatementContext {
|
|
2251
|
+
actionStatement() {
|
|
2252
|
+
return this.getRuleContext(0, ActionStatementContext);
|
|
2253
|
+
}
|
|
2254
|
+
constructor(ctx) {
|
|
2255
|
+
super(ctx.parent, ctx.invokingState);
|
|
2256
|
+
this.copyFrom(ctx);
|
|
2257
|
+
}
|
|
2258
|
+
enterRule(listener) {
|
|
2259
|
+
if (listener.enterBlockAction) {
|
|
2260
|
+
listener.enterBlockAction(this);
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
exitRule(listener) {
|
|
2264
|
+
if (listener.exitBlockAction) {
|
|
2265
|
+
listener.exitBlockAction(this);
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
accept(visitor) {
|
|
2269
|
+
if (visitor.visitBlockAction) {
|
|
2270
|
+
return visitor.visitBlockAction(this);
|
|
2271
|
+
}
|
|
2272
|
+
else {
|
|
2273
|
+
return visitor.visitChildren(this);
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
exports.BlockActionContext = BlockActionContext;
|
|
2278
|
+
class ActionStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2279
|
+
DOT() { return this.getToken(CRLParser.DOT, 0); }
|
|
2280
|
+
doStatement() {
|
|
2281
|
+
return this.tryGetRuleContext(0, DoStatementContext);
|
|
2282
|
+
}
|
|
2283
|
+
useStatement() {
|
|
2284
|
+
return this.tryGetRuleContext(0, UseStatementContext);
|
|
2285
|
+
}
|
|
2286
|
+
constructor(parent, invokingState) {
|
|
2287
|
+
super(parent, invokingState);
|
|
2288
|
+
}
|
|
2289
|
+
get ruleIndex() { return CRLParser.RULE_actionStatement; }
|
|
2290
|
+
enterRule(listener) {
|
|
2291
|
+
if (listener.enterActionStatement) {
|
|
2292
|
+
listener.enterActionStatement(this);
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
exitRule(listener) {
|
|
2296
|
+
if (listener.exitActionStatement) {
|
|
2297
|
+
listener.exitActionStatement(this);
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
accept(visitor) {
|
|
2301
|
+
if (visitor.visitActionStatement) {
|
|
2302
|
+
return visitor.visitActionStatement(this);
|
|
2303
|
+
}
|
|
2304
|
+
else {
|
|
2305
|
+
return visitor.visitChildren(this);
|
|
2306
|
+
}
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
exports.ActionStatementContext = ActionStatementContext;
|
|
2310
|
+
class DoStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2311
|
+
DO() { return this.getToken(CRLParser.DO, 0); }
|
|
2312
|
+
activityReference() {
|
|
2313
|
+
return this.getRuleContext(0, ActivityReferenceContext);
|
|
2314
|
+
}
|
|
2315
|
+
constructor(parent, invokingState) {
|
|
2316
|
+
super(parent, invokingState);
|
|
2317
|
+
}
|
|
2318
|
+
get ruleIndex() { return CRLParser.RULE_doStatement; }
|
|
2319
|
+
enterRule(listener) {
|
|
2320
|
+
if (listener.enterDoStatement) {
|
|
2321
|
+
listener.enterDoStatement(this);
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
exitRule(listener) {
|
|
2325
|
+
if (listener.exitDoStatement) {
|
|
2326
|
+
listener.exitDoStatement(this);
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
accept(visitor) {
|
|
2330
|
+
if (visitor.visitDoStatement) {
|
|
2331
|
+
return visitor.visitDoStatement(this);
|
|
2332
|
+
}
|
|
2333
|
+
else {
|
|
2334
|
+
return visitor.visitChildren(this);
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
exports.DoStatementContext = DoStatementContext;
|
|
2339
|
+
class UseStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2340
|
+
USE() { return this.getToken(CRLParser.USE, 0); }
|
|
2341
|
+
decisionReference() {
|
|
2342
|
+
return this.getRuleContext(0, DecisionReferenceContext);
|
|
2343
|
+
}
|
|
2344
|
+
constructor(parent, invokingState) {
|
|
2345
|
+
super(parent, invokingState);
|
|
2346
|
+
}
|
|
2347
|
+
get ruleIndex() { return CRLParser.RULE_useStatement; }
|
|
2348
|
+
enterRule(listener) {
|
|
2349
|
+
if (listener.enterUseStatement) {
|
|
2350
|
+
listener.enterUseStatement(this);
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
exitRule(listener) {
|
|
2354
|
+
if (listener.exitUseStatement) {
|
|
2355
|
+
listener.exitUseStatement(this);
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
accept(visitor) {
|
|
2359
|
+
if (visitor.visitUseStatement) {
|
|
2360
|
+
return visitor.visitUseStatement(this);
|
|
2361
|
+
}
|
|
2362
|
+
else {
|
|
2363
|
+
return visitor.visitChildren(this);
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
exports.UseStatementContext = UseStatementContext;
|
|
2368
|
+
class TerminologyStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2369
|
+
TERMINOLOGY() { return this.getToken(CRLParser.TERMINOLOGY, 0); }
|
|
2370
|
+
terminologyIdentifier() {
|
|
2371
|
+
return this.getRuleContext(0, TerminologyIdentifierContext);
|
|
2372
|
+
}
|
|
2373
|
+
DOT() { return this.getToken(CRLParser.DOT, 0); }
|
|
2374
|
+
terminologyValueset() {
|
|
2375
|
+
return this.tryGetRuleContext(0, TerminologyValuesetContext);
|
|
2376
|
+
}
|
|
2377
|
+
backtickString() {
|
|
2378
|
+
return this.tryGetRuleContext(0, BacktickStringContext);
|
|
2379
|
+
}
|
|
2380
|
+
terminologySystemCode() {
|
|
2381
|
+
return this.tryGetRuleContext(0, TerminologySystemCodeContext);
|
|
2382
|
+
}
|
|
2383
|
+
constructor(parent, invokingState) {
|
|
2384
|
+
super(parent, invokingState);
|
|
2385
|
+
}
|
|
2386
|
+
get ruleIndex() { return CRLParser.RULE_terminologyStatement; }
|
|
2387
|
+
enterRule(listener) {
|
|
2388
|
+
if (listener.enterTerminologyStatement) {
|
|
2389
|
+
listener.enterTerminologyStatement(this);
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
exitRule(listener) {
|
|
2393
|
+
if (listener.exitTerminologyStatement) {
|
|
2394
|
+
listener.exitTerminologyStatement(this);
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
accept(visitor) {
|
|
2398
|
+
if (visitor.visitTerminologyStatement) {
|
|
2399
|
+
return visitor.visitTerminologyStatement(this);
|
|
2400
|
+
}
|
|
2401
|
+
else {
|
|
2402
|
+
return visitor.visitChildren(this);
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
exports.TerminologyStatementContext = TerminologyStatementContext;
|
|
2407
|
+
class TerminologyValuesetContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2408
|
+
VALUESET() { return this.getToken(CRLParser.VALUESET, 0); }
|
|
2409
|
+
identifier() {
|
|
2410
|
+
return this.getRuleContext(0, IdentifierContext);
|
|
2411
|
+
}
|
|
2412
|
+
constructor(parent, invokingState) {
|
|
2413
|
+
super(parent, invokingState);
|
|
2414
|
+
}
|
|
2415
|
+
get ruleIndex() { return CRLParser.RULE_terminologyValueset; }
|
|
2416
|
+
enterRule(listener) {
|
|
2417
|
+
if (listener.enterTerminologyValueset) {
|
|
2418
|
+
listener.enterTerminologyValueset(this);
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
exitRule(listener) {
|
|
2422
|
+
if (listener.exitTerminologyValueset) {
|
|
2423
|
+
listener.exitTerminologyValueset(this);
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2426
|
+
accept(visitor) {
|
|
2427
|
+
if (visitor.visitTerminologyValueset) {
|
|
2428
|
+
return visitor.visitTerminologyValueset(this);
|
|
2429
|
+
}
|
|
2430
|
+
else {
|
|
2431
|
+
return visitor.visitChildren(this);
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
exports.TerminologyValuesetContext = TerminologyValuesetContext;
|
|
2436
|
+
class TerminologySystemCodeContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2437
|
+
SYSTEM() { return this.getToken(CRLParser.SYSTEM, 0); }
|
|
2438
|
+
backtickString(i) {
|
|
2439
|
+
if (i === undefined) {
|
|
2440
|
+
return this.getRuleContexts(BacktickStringContext);
|
|
2441
|
+
}
|
|
2442
|
+
else {
|
|
2443
|
+
return this.getRuleContext(i, BacktickStringContext);
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
CODE() { return this.getToken(CRLParser.CODE, 0); }
|
|
2447
|
+
constructor(parent, invokingState) {
|
|
2448
|
+
super(parent, invokingState);
|
|
2449
|
+
}
|
|
2450
|
+
get ruleIndex() { return CRLParser.RULE_terminologySystemCode; }
|
|
2451
|
+
enterRule(listener) {
|
|
2452
|
+
if (listener.enterTerminologySystemCode) {
|
|
2453
|
+
listener.enterTerminologySystemCode(this);
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
exitRule(listener) {
|
|
2457
|
+
if (listener.exitTerminologySystemCode) {
|
|
2458
|
+
listener.exitTerminologySystemCode(this);
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
accept(visitor) {
|
|
2462
|
+
if (visitor.visitTerminologySystemCode) {
|
|
2463
|
+
return visitor.visitTerminologySystemCode(this);
|
|
2464
|
+
}
|
|
2465
|
+
else {
|
|
2466
|
+
return visitor.visitChildren(this);
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
}
|
|
2470
|
+
exports.TerminologySystemCodeContext = TerminologySystemCodeContext;
|
|
2471
|
+
class ActivityStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2472
|
+
ACTIVITY() { return this.getToken(CRLParser.ACTIVITY, 0); }
|
|
2473
|
+
activityIdentifier() {
|
|
2474
|
+
return this.getRuleContext(0, ActivityIdentifierContext);
|
|
2475
|
+
}
|
|
2476
|
+
PERFORM() { return this.getToken(CRLParser.PERFORM, 0); }
|
|
2477
|
+
ACTIVITY_TYPE() { return this.getToken(CRLParser.ACTIVITY_TYPE, 0); }
|
|
2478
|
+
DOT() { return this.getToken(CRLParser.DOT, 0); }
|
|
2479
|
+
WITH() { return this.tryGetToken(CRLParser.WITH, 0); }
|
|
2480
|
+
BECAUSE() { return this.tryGetToken(CRLParser.BECAUSE, 0); }
|
|
2481
|
+
rationale() {
|
|
2482
|
+
return this.tryGetRuleContext(0, RationaleContext);
|
|
2483
|
+
}
|
|
2484
|
+
terminologyReference() {
|
|
2485
|
+
return this.tryGetRuleContext(0, TerminologyReferenceContext);
|
|
2486
|
+
}
|
|
2487
|
+
activityTypeValue() {
|
|
2488
|
+
return this.tryGetRuleContext(0, ActivityTypeValueContext);
|
|
2489
|
+
}
|
|
2490
|
+
constructor(parent, invokingState) {
|
|
2491
|
+
super(parent, invokingState);
|
|
2492
|
+
}
|
|
2493
|
+
get ruleIndex() { return CRLParser.RULE_activityStatement; }
|
|
2494
|
+
enterRule(listener) {
|
|
2495
|
+
if (listener.enterActivityStatement) {
|
|
2496
|
+
listener.enterActivityStatement(this);
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
exitRule(listener) {
|
|
2500
|
+
if (listener.exitActivityStatement) {
|
|
2501
|
+
listener.exitActivityStatement(this);
|
|
2502
|
+
}
|
|
2503
|
+
}
|
|
2504
|
+
accept(visitor) {
|
|
2505
|
+
if (visitor.visitActivityStatement) {
|
|
2506
|
+
return visitor.visitActivityStatement(this);
|
|
2507
|
+
}
|
|
2508
|
+
else {
|
|
2509
|
+
return visitor.visitChildren(this);
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
exports.ActivityStatementContext = ActivityStatementContext;
|
|
2514
|
+
class ConceptStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2515
|
+
CONCEPT() { return this.getToken(CRLParser.CONCEPT, 0); }
|
|
2516
|
+
conceptIdentifier() {
|
|
2517
|
+
return this.getRuleContext(0, ConceptIdentifierContext);
|
|
2518
|
+
}
|
|
2519
|
+
COLON() { return this.getToken(CRLParser.COLON, 0); }
|
|
2520
|
+
conceptBody() {
|
|
2521
|
+
return this.getRuleContext(0, ConceptBodyContext);
|
|
2522
|
+
}
|
|
2523
|
+
DONE() { return this.getToken(CRLParser.DONE, 0); }
|
|
2524
|
+
constructor(parent, invokingState) {
|
|
2525
|
+
super(parent, invokingState);
|
|
2526
|
+
}
|
|
2527
|
+
get ruleIndex() { return CRLParser.RULE_conceptStatement; }
|
|
2528
|
+
enterRule(listener) {
|
|
2529
|
+
if (listener.enterConceptStatement) {
|
|
2530
|
+
listener.enterConceptStatement(this);
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
exitRule(listener) {
|
|
2534
|
+
if (listener.exitConceptStatement) {
|
|
2535
|
+
listener.exitConceptStatement(this);
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
accept(visitor) {
|
|
2539
|
+
if (visitor.visitConceptStatement) {
|
|
2540
|
+
return visitor.visitConceptStatement(this);
|
|
2541
|
+
}
|
|
2542
|
+
else {
|
|
2543
|
+
return visitor.visitChildren(this);
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
exports.ConceptStatementContext = ConceptStatementContext;
|
|
2548
|
+
class ConceptBodyContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2549
|
+
typeLine() {
|
|
2550
|
+
return this.getRuleContext(0, TypeLineContext);
|
|
2551
|
+
}
|
|
2552
|
+
valueTypeLine() {
|
|
2553
|
+
return this.getRuleContext(0, ValueTypeLineContext);
|
|
2554
|
+
}
|
|
2555
|
+
codedFromLine() {
|
|
2556
|
+
return this.tryGetRuleContext(0, CodedFromLineContext);
|
|
2557
|
+
}
|
|
2558
|
+
inferredFromLine() {
|
|
2559
|
+
return this.tryGetRuleContext(0, InferredFromLineContext);
|
|
2560
|
+
}
|
|
2561
|
+
evidenceLine() {
|
|
2562
|
+
return this.tryGetRuleContext(0, EvidenceLineContext);
|
|
2563
|
+
}
|
|
2564
|
+
constructor(parent, invokingState) {
|
|
2565
|
+
super(parent, invokingState);
|
|
2566
|
+
}
|
|
2567
|
+
get ruleIndex() { return CRLParser.RULE_conceptBody; }
|
|
2568
|
+
enterRule(listener) {
|
|
2569
|
+
if (listener.enterConceptBody) {
|
|
2570
|
+
listener.enterConceptBody(this);
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
exitRule(listener) {
|
|
2574
|
+
if (listener.exitConceptBody) {
|
|
2575
|
+
listener.exitConceptBody(this);
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
accept(visitor) {
|
|
2579
|
+
if (visitor.visitConceptBody) {
|
|
2580
|
+
return visitor.visitConceptBody(this);
|
|
2581
|
+
}
|
|
2582
|
+
else {
|
|
2583
|
+
return visitor.visitChildren(this);
|
|
2584
|
+
}
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2587
|
+
exports.ConceptBodyContext = ConceptBodyContext;
|
|
2588
|
+
class TypeLineContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2589
|
+
TYPE() { return this.getToken(CRLParser.TYPE, 0); }
|
|
2590
|
+
IS() { return this.getToken(CRLParser.IS, 0); }
|
|
2591
|
+
CONCEPT_TYPE() { return this.getToken(CRLParser.CONCEPT_TYPE, 0); }
|
|
2592
|
+
DOT() { return this.getToken(CRLParser.DOT, 0); }
|
|
2593
|
+
constructor(parent, invokingState) {
|
|
2594
|
+
super(parent, invokingState);
|
|
2595
|
+
}
|
|
2596
|
+
get ruleIndex() { return CRLParser.RULE_typeLine; }
|
|
2597
|
+
enterRule(listener) {
|
|
2598
|
+
if (listener.enterTypeLine) {
|
|
2599
|
+
listener.enterTypeLine(this);
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
exitRule(listener) {
|
|
2603
|
+
if (listener.exitTypeLine) {
|
|
2604
|
+
listener.exitTypeLine(this);
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
accept(visitor) {
|
|
2608
|
+
if (visitor.visitTypeLine) {
|
|
2609
|
+
return visitor.visitTypeLine(this);
|
|
2610
|
+
}
|
|
2611
|
+
else {
|
|
2612
|
+
return visitor.visitChildren(this);
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
exports.TypeLineContext = TypeLineContext;
|
|
2617
|
+
class ValueTypeLineContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2618
|
+
VALUETYPE() { return this.getToken(CRLParser.VALUETYPE, 0); }
|
|
2619
|
+
IS() { return this.getToken(CRLParser.IS, 0); }
|
|
2620
|
+
CONCEPT_VALUE_TYPE() { return this.getToken(CRLParser.CONCEPT_VALUE_TYPE, 0); }
|
|
2621
|
+
DOT() { return this.getToken(CRLParser.DOT, 0); }
|
|
2622
|
+
constructor(parent, invokingState) {
|
|
2623
|
+
super(parent, invokingState);
|
|
2624
|
+
}
|
|
2625
|
+
get ruleIndex() { return CRLParser.RULE_valueTypeLine; }
|
|
2626
|
+
enterRule(listener) {
|
|
2627
|
+
if (listener.enterValueTypeLine) {
|
|
2628
|
+
listener.enterValueTypeLine(this);
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
exitRule(listener) {
|
|
2632
|
+
if (listener.exitValueTypeLine) {
|
|
2633
|
+
listener.exitValueTypeLine(this);
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
accept(visitor) {
|
|
2637
|
+
if (visitor.visitValueTypeLine) {
|
|
2638
|
+
return visitor.visitValueTypeLine(this);
|
|
2639
|
+
}
|
|
2640
|
+
else {
|
|
2641
|
+
return visitor.visitChildren(this);
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
exports.ValueTypeLineContext = ValueTypeLineContext;
|
|
2646
|
+
class EvidenceLineContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2647
|
+
EVIDENCE() { return this.getToken(CRLParser.EVIDENCE, 0); }
|
|
2648
|
+
IS() { return this.getToken(CRLParser.IS, 0); }
|
|
2649
|
+
backtickString() {
|
|
2650
|
+
return this.getRuleContext(0, BacktickStringContext);
|
|
2651
|
+
}
|
|
2652
|
+
DOT() { return this.getToken(CRLParser.DOT, 0); }
|
|
2653
|
+
constructor(parent, invokingState) {
|
|
2654
|
+
super(parent, invokingState);
|
|
2655
|
+
}
|
|
2656
|
+
get ruleIndex() { return CRLParser.RULE_evidenceLine; }
|
|
2657
|
+
enterRule(listener) {
|
|
2658
|
+
if (listener.enterEvidenceLine) {
|
|
2659
|
+
listener.enterEvidenceLine(this);
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
exitRule(listener) {
|
|
2663
|
+
if (listener.exitEvidenceLine) {
|
|
2664
|
+
listener.exitEvidenceLine(this);
|
|
2665
|
+
}
|
|
2666
|
+
}
|
|
2667
|
+
accept(visitor) {
|
|
2668
|
+
if (visitor.visitEvidenceLine) {
|
|
2669
|
+
return visitor.visitEvidenceLine(this);
|
|
2670
|
+
}
|
|
2671
|
+
else {
|
|
2672
|
+
return visitor.visitChildren(this);
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
exports.EvidenceLineContext = EvidenceLineContext;
|
|
2677
|
+
class CodedFromLineContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2678
|
+
CODED() { return this.getToken(CRLParser.CODED, 0); }
|
|
2679
|
+
FROM() { return this.getToken(CRLParser.FROM, 0); }
|
|
2680
|
+
terminologyReference() {
|
|
2681
|
+
return this.getRuleContext(0, TerminologyReferenceContext);
|
|
2682
|
+
}
|
|
2683
|
+
DOT() { return this.getToken(CRLParser.DOT, 0); }
|
|
2684
|
+
constructor(parent, invokingState) {
|
|
2685
|
+
super(parent, invokingState);
|
|
2686
|
+
}
|
|
2687
|
+
get ruleIndex() { return CRLParser.RULE_codedFromLine; }
|
|
2688
|
+
enterRule(listener) {
|
|
2689
|
+
if (listener.enterCodedFromLine) {
|
|
2690
|
+
listener.enterCodedFromLine(this);
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
exitRule(listener) {
|
|
2694
|
+
if (listener.exitCodedFromLine) {
|
|
2695
|
+
listener.exitCodedFromLine(this);
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
accept(visitor) {
|
|
2699
|
+
if (visitor.visitCodedFromLine) {
|
|
2700
|
+
return visitor.visitCodedFromLine(this);
|
|
2701
|
+
}
|
|
2702
|
+
else {
|
|
2703
|
+
return visitor.visitChildren(this);
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
exports.CodedFromLineContext = CodedFromLineContext;
|
|
2708
|
+
class InferredFromLineContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2709
|
+
INFERRED() { return this.getToken(CRLParser.INFERRED, 0); }
|
|
2710
|
+
FROM() { return this.getToken(CRLParser.FROM, 0); }
|
|
2711
|
+
inferredBody() {
|
|
2712
|
+
return this.getRuleContext(0, InferredBodyContext);
|
|
2713
|
+
}
|
|
2714
|
+
DOT() { return this.getToken(CRLParser.DOT, 0); }
|
|
2715
|
+
constructor(parent, invokingState) {
|
|
2716
|
+
super(parent, invokingState);
|
|
2717
|
+
}
|
|
2718
|
+
get ruleIndex() { return CRLParser.RULE_inferredFromLine; }
|
|
2719
|
+
enterRule(listener) {
|
|
2720
|
+
if (listener.enterInferredFromLine) {
|
|
2721
|
+
listener.enterInferredFromLine(this);
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2724
|
+
exitRule(listener) {
|
|
2725
|
+
if (listener.exitInferredFromLine) {
|
|
2726
|
+
listener.exitInferredFromLine(this);
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
accept(visitor) {
|
|
2730
|
+
if (visitor.visitInferredFromLine) {
|
|
2731
|
+
return visitor.visitInferredFromLine(this);
|
|
2732
|
+
}
|
|
2733
|
+
else {
|
|
2734
|
+
return visitor.visitChildren(this);
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2738
|
+
exports.InferredFromLineContext = InferredFromLineContext;
|
|
2739
|
+
class InferredBodyContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2740
|
+
constructor(parent, invokingState) {
|
|
2741
|
+
super(parent, invokingState);
|
|
2742
|
+
}
|
|
2743
|
+
get ruleIndex() { return CRLParser.RULE_inferredBody; }
|
|
2744
|
+
copyFrom(ctx) {
|
|
2745
|
+
super.copyFrom(ctx);
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
exports.InferredBodyContext = InferredBodyContext;
|
|
2749
|
+
class DefinitionConceptContext extends InferredBodyContext {
|
|
2750
|
+
inferredFromConceptReference() {
|
|
2751
|
+
return this.getRuleContext(0, InferredFromConceptReferenceContext);
|
|
2752
|
+
}
|
|
2753
|
+
constructor(ctx) {
|
|
2754
|
+
super(ctx.parent, ctx.invokingState);
|
|
2755
|
+
this.copyFrom(ctx);
|
|
2756
|
+
}
|
|
2757
|
+
enterRule(listener) {
|
|
2758
|
+
if (listener.enterDefinitionConcept) {
|
|
2759
|
+
listener.enterDefinitionConcept(this);
|
|
2760
|
+
}
|
|
2761
|
+
}
|
|
2762
|
+
exitRule(listener) {
|
|
2763
|
+
if (listener.exitDefinitionConcept) {
|
|
2764
|
+
listener.exitDefinitionConcept(this);
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
2767
|
+
accept(visitor) {
|
|
2768
|
+
if (visitor.visitDefinitionConcept) {
|
|
2769
|
+
return visitor.visitDefinitionConcept(this);
|
|
2770
|
+
}
|
|
2771
|
+
else {
|
|
2772
|
+
return visitor.visitChildren(this);
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2776
|
+
exports.DefinitionConceptContext = DefinitionConceptContext;
|
|
2777
|
+
class DefinitionLogicContext extends InferredBodyContext {
|
|
2778
|
+
inferredFromDescriptiveLogic() {
|
|
2779
|
+
return this.getRuleContext(0, InferredFromDescriptiveLogicContext);
|
|
2780
|
+
}
|
|
2781
|
+
constructor(ctx) {
|
|
2782
|
+
super(ctx.parent, ctx.invokingState);
|
|
2783
|
+
this.copyFrom(ctx);
|
|
2784
|
+
}
|
|
2785
|
+
enterRule(listener) {
|
|
2786
|
+
if (listener.enterDefinitionLogic) {
|
|
2787
|
+
listener.enterDefinitionLogic(this);
|
|
2788
|
+
}
|
|
2789
|
+
}
|
|
2790
|
+
exitRule(listener) {
|
|
2791
|
+
if (listener.exitDefinitionLogic) {
|
|
2792
|
+
listener.exitDefinitionLogic(this);
|
|
2793
|
+
}
|
|
2794
|
+
}
|
|
2795
|
+
accept(visitor) {
|
|
2796
|
+
if (visitor.visitDefinitionLogic) {
|
|
2797
|
+
return visitor.visitDefinitionLogic(this);
|
|
2798
|
+
}
|
|
2799
|
+
else {
|
|
2800
|
+
return visitor.visitChildren(this);
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
}
|
|
2804
|
+
exports.DefinitionLogicContext = DefinitionLogicContext;
|
|
2805
|
+
class InferredFromConceptReferenceContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2806
|
+
conceptReference() {
|
|
2807
|
+
return this.getRuleContext(0, ConceptReferenceContext);
|
|
2808
|
+
}
|
|
2809
|
+
patternStatement() {
|
|
2810
|
+
return this.tryGetRuleContext(0, PatternStatementContext);
|
|
2811
|
+
}
|
|
2812
|
+
constructor(parent, invokingState) {
|
|
2813
|
+
super(parent, invokingState);
|
|
2814
|
+
}
|
|
2815
|
+
get ruleIndex() { return CRLParser.RULE_inferredFromConceptReference; }
|
|
2816
|
+
enterRule(listener) {
|
|
2817
|
+
if (listener.enterInferredFromConceptReference) {
|
|
2818
|
+
listener.enterInferredFromConceptReference(this);
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
exitRule(listener) {
|
|
2822
|
+
if (listener.exitInferredFromConceptReference) {
|
|
2823
|
+
listener.exitInferredFromConceptReference(this);
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
accept(visitor) {
|
|
2827
|
+
if (visitor.visitInferredFromConceptReference) {
|
|
2828
|
+
return visitor.visitInferredFromConceptReference(this);
|
|
2829
|
+
}
|
|
2830
|
+
else {
|
|
2831
|
+
return visitor.visitChildren(this);
|
|
2832
|
+
}
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
exports.InferredFromConceptReferenceContext = InferredFromConceptReferenceContext;
|
|
2836
|
+
class PatternStatementContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2837
|
+
APPLY() { return this.getToken(CRLParser.APPLY, 0); }
|
|
2838
|
+
PATTERN() { return this.getToken(CRLParser.PATTERN, 0); }
|
|
2839
|
+
patternName() {
|
|
2840
|
+
return this.getRuleContext(0, PatternNameContext);
|
|
2841
|
+
}
|
|
2842
|
+
constructor(parent, invokingState) {
|
|
2843
|
+
super(parent, invokingState);
|
|
2844
|
+
}
|
|
2845
|
+
get ruleIndex() { return CRLParser.RULE_patternStatement; }
|
|
2846
|
+
enterRule(listener) {
|
|
2847
|
+
if (listener.enterPatternStatement) {
|
|
2848
|
+
listener.enterPatternStatement(this);
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
exitRule(listener) {
|
|
2852
|
+
if (listener.exitPatternStatement) {
|
|
2853
|
+
listener.exitPatternStatement(this);
|
|
2854
|
+
}
|
|
2855
|
+
}
|
|
2856
|
+
accept(visitor) {
|
|
2857
|
+
if (visitor.visitPatternStatement) {
|
|
2858
|
+
return visitor.visitPatternStatement(this);
|
|
2859
|
+
}
|
|
2860
|
+
else {
|
|
2861
|
+
return visitor.visitChildren(this);
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2865
|
+
exports.PatternStatementContext = PatternStatementContext;
|
|
2866
|
+
class InferredFromDescriptiveLogicContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2867
|
+
LPAREN() { return this.getToken(CRLParser.LPAREN, 0); }
|
|
2868
|
+
inferredFromExpression() {
|
|
2869
|
+
return this.getRuleContext(0, InferredFromExpressionContext);
|
|
2870
|
+
}
|
|
2871
|
+
RPAREN() { return this.getToken(CRLParser.RPAREN, 0); }
|
|
2872
|
+
constructor(parent, invokingState) {
|
|
2873
|
+
super(parent, invokingState);
|
|
2874
|
+
}
|
|
2875
|
+
get ruleIndex() { return CRLParser.RULE_inferredFromDescriptiveLogic; }
|
|
2876
|
+
enterRule(listener) {
|
|
2877
|
+
if (listener.enterInferredFromDescriptiveLogic) {
|
|
2878
|
+
listener.enterInferredFromDescriptiveLogic(this);
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
exitRule(listener) {
|
|
2882
|
+
if (listener.exitInferredFromDescriptiveLogic) {
|
|
2883
|
+
listener.exitInferredFromDescriptiveLogic(this);
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2886
|
+
accept(visitor) {
|
|
2887
|
+
if (visitor.visitInferredFromDescriptiveLogic) {
|
|
2888
|
+
return visitor.visitInferredFromDescriptiveLogic(this);
|
|
2889
|
+
}
|
|
2890
|
+
else {
|
|
2891
|
+
return visitor.visitChildren(this);
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
exports.InferredFromDescriptiveLogicContext = InferredFromDescriptiveLogicContext;
|
|
2896
|
+
class InferredFromExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2897
|
+
informalOr() {
|
|
2898
|
+
return this.getRuleContext(0, InformalOrContext);
|
|
2899
|
+
}
|
|
2900
|
+
constructor(parent, invokingState) {
|
|
2901
|
+
super(parent, invokingState);
|
|
2902
|
+
}
|
|
2903
|
+
get ruleIndex() { return CRLParser.RULE_inferredFromExpression; }
|
|
2904
|
+
enterRule(listener) {
|
|
2905
|
+
if (listener.enterInferredFromExpression) {
|
|
2906
|
+
listener.enterInferredFromExpression(this);
|
|
2907
|
+
}
|
|
2908
|
+
}
|
|
2909
|
+
exitRule(listener) {
|
|
2910
|
+
if (listener.exitInferredFromExpression) {
|
|
2911
|
+
listener.exitInferredFromExpression(this);
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
accept(visitor) {
|
|
2915
|
+
if (visitor.visitInferredFromExpression) {
|
|
2916
|
+
return visitor.visitInferredFromExpression(this);
|
|
2917
|
+
}
|
|
2918
|
+
else {
|
|
2919
|
+
return visitor.visitChildren(this);
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
}
|
|
2923
|
+
exports.InferredFromExpressionContext = InferredFromExpressionContext;
|
|
2924
|
+
class InformalOrContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2925
|
+
informalAnd(i) {
|
|
2926
|
+
if (i === undefined) {
|
|
2927
|
+
return this.getRuleContexts(InformalAndContext);
|
|
2928
|
+
}
|
|
2929
|
+
else {
|
|
2930
|
+
return this.getRuleContext(i, InformalAndContext);
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
OR(i) {
|
|
2934
|
+
if (i === undefined) {
|
|
2935
|
+
return this.getTokens(CRLParser.OR);
|
|
2936
|
+
}
|
|
2937
|
+
else {
|
|
2938
|
+
return this.getToken(CRLParser.OR, i);
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
constructor(parent, invokingState) {
|
|
2942
|
+
super(parent, invokingState);
|
|
2943
|
+
}
|
|
2944
|
+
get ruleIndex() { return CRLParser.RULE_informalOr; }
|
|
2945
|
+
enterRule(listener) {
|
|
2946
|
+
if (listener.enterInformalOr) {
|
|
2947
|
+
listener.enterInformalOr(this);
|
|
2948
|
+
}
|
|
2949
|
+
}
|
|
2950
|
+
exitRule(listener) {
|
|
2951
|
+
if (listener.exitInformalOr) {
|
|
2952
|
+
listener.exitInformalOr(this);
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
accept(visitor) {
|
|
2956
|
+
if (visitor.visitInformalOr) {
|
|
2957
|
+
return visitor.visitInformalOr(this);
|
|
2958
|
+
}
|
|
2959
|
+
else {
|
|
2960
|
+
return visitor.visitChildren(this);
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2963
|
+
}
|
|
2964
|
+
exports.InformalOrContext = InformalOrContext;
|
|
2965
|
+
class InformalAndContext extends ParserRuleContext_1.ParserRuleContext {
|
|
2966
|
+
informalNot(i) {
|
|
2967
|
+
if (i === undefined) {
|
|
2968
|
+
return this.getRuleContexts(InformalNotContext);
|
|
2969
|
+
}
|
|
2970
|
+
else {
|
|
2971
|
+
return this.getRuleContext(i, InformalNotContext);
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
AND(i) {
|
|
2975
|
+
if (i === undefined) {
|
|
2976
|
+
return this.getTokens(CRLParser.AND);
|
|
2977
|
+
}
|
|
2978
|
+
else {
|
|
2979
|
+
return this.getToken(CRLParser.AND, i);
|
|
2980
|
+
}
|
|
2981
|
+
}
|
|
2982
|
+
constructor(parent, invokingState) {
|
|
2983
|
+
super(parent, invokingState);
|
|
2984
|
+
}
|
|
2985
|
+
get ruleIndex() { return CRLParser.RULE_informalAnd; }
|
|
2986
|
+
enterRule(listener) {
|
|
2987
|
+
if (listener.enterInformalAnd) {
|
|
2988
|
+
listener.enterInformalAnd(this);
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
exitRule(listener) {
|
|
2992
|
+
if (listener.exitInformalAnd) {
|
|
2993
|
+
listener.exitInformalAnd(this);
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
accept(visitor) {
|
|
2997
|
+
if (visitor.visitInformalAnd) {
|
|
2998
|
+
return visitor.visitInformalAnd(this);
|
|
2999
|
+
}
|
|
3000
|
+
else {
|
|
3001
|
+
return visitor.visitChildren(this);
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
3005
|
+
exports.InformalAndContext = InformalAndContext;
|
|
3006
|
+
class InformalNotContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3007
|
+
NOT() { return this.tryGetToken(CRLParser.NOT, 0); }
|
|
3008
|
+
informalNot() {
|
|
3009
|
+
return this.tryGetRuleContext(0, InformalNotContext);
|
|
3010
|
+
}
|
|
3011
|
+
atom() {
|
|
3012
|
+
return this.tryGetRuleContext(0, AtomContext);
|
|
3013
|
+
}
|
|
3014
|
+
constructor(parent, invokingState) {
|
|
3015
|
+
super(parent, invokingState);
|
|
3016
|
+
}
|
|
3017
|
+
get ruleIndex() { return CRLParser.RULE_informalNot; }
|
|
3018
|
+
enterRule(listener) {
|
|
3019
|
+
if (listener.enterInformalNot) {
|
|
3020
|
+
listener.enterInformalNot(this);
|
|
3021
|
+
}
|
|
3022
|
+
}
|
|
3023
|
+
exitRule(listener) {
|
|
3024
|
+
if (listener.exitInformalNot) {
|
|
3025
|
+
listener.exitInformalNot(this);
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
accept(visitor) {
|
|
3029
|
+
if (visitor.visitInformalNot) {
|
|
3030
|
+
return visitor.visitInformalNot(this);
|
|
3031
|
+
}
|
|
3032
|
+
else {
|
|
3033
|
+
return visitor.visitChildren(this);
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
exports.InformalNotContext = InformalNotContext;
|
|
3038
|
+
class AtomContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3039
|
+
constructor(parent, invokingState) {
|
|
3040
|
+
super(parent, invokingState);
|
|
3041
|
+
}
|
|
3042
|
+
get ruleIndex() { return CRLParser.RULE_atom; }
|
|
3043
|
+
copyFrom(ctx) {
|
|
3044
|
+
super.copyFrom(ctx);
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
exports.AtomContext = AtomContext;
|
|
3048
|
+
class ConceptAtomContext extends AtomContext {
|
|
3049
|
+
conceptReference() {
|
|
3050
|
+
return this.getRuleContext(0, ConceptReferenceContext);
|
|
3051
|
+
}
|
|
3052
|
+
constructor(ctx) {
|
|
3053
|
+
super(ctx.parent, ctx.invokingState);
|
|
3054
|
+
this.copyFrom(ctx);
|
|
3055
|
+
}
|
|
3056
|
+
enterRule(listener) {
|
|
3057
|
+
if (listener.enterConceptAtom) {
|
|
3058
|
+
listener.enterConceptAtom(this);
|
|
3059
|
+
}
|
|
3060
|
+
}
|
|
3061
|
+
exitRule(listener) {
|
|
3062
|
+
if (listener.exitConceptAtom) {
|
|
3063
|
+
listener.exitConceptAtom(this);
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
accept(visitor) {
|
|
3067
|
+
if (visitor.visitConceptAtom) {
|
|
3068
|
+
return visitor.visitConceptAtom(this);
|
|
3069
|
+
}
|
|
3070
|
+
else {
|
|
3071
|
+
return visitor.visitChildren(this);
|
|
3072
|
+
}
|
|
3073
|
+
}
|
|
3074
|
+
}
|
|
3075
|
+
exports.ConceptAtomContext = ConceptAtomContext;
|
|
3076
|
+
class GroupExpressionContext extends AtomContext {
|
|
3077
|
+
LPAREN() { return this.getToken(CRLParser.LPAREN, 0); }
|
|
3078
|
+
inferredFromExpression() {
|
|
3079
|
+
return this.getRuleContext(0, InferredFromExpressionContext);
|
|
3080
|
+
}
|
|
3081
|
+
RPAREN() { return this.getToken(CRLParser.RPAREN, 0); }
|
|
3082
|
+
constructor(ctx) {
|
|
3083
|
+
super(ctx.parent, ctx.invokingState);
|
|
3084
|
+
this.copyFrom(ctx);
|
|
3085
|
+
}
|
|
3086
|
+
enterRule(listener) {
|
|
3087
|
+
if (listener.enterGroupExpression) {
|
|
3088
|
+
listener.enterGroupExpression(this);
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
exitRule(listener) {
|
|
3092
|
+
if (listener.exitGroupExpression) {
|
|
3093
|
+
listener.exitGroupExpression(this);
|
|
3094
|
+
}
|
|
3095
|
+
}
|
|
3096
|
+
accept(visitor) {
|
|
3097
|
+
if (visitor.visitGroupExpression) {
|
|
3098
|
+
return visitor.visitGroupExpression(this);
|
|
3099
|
+
}
|
|
3100
|
+
else {
|
|
3101
|
+
return visitor.visitChildren(this);
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
exports.GroupExpressionContext = GroupExpressionContext;
|
|
3106
|
+
class IdentifierContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3107
|
+
QUOTED_STRING() { return this.getToken(CRLParser.QUOTED_STRING, 0); }
|
|
3108
|
+
constructor(parent, invokingState) {
|
|
3109
|
+
super(parent, invokingState);
|
|
3110
|
+
}
|
|
3111
|
+
get ruleIndex() { return CRLParser.RULE_identifier; }
|
|
3112
|
+
enterRule(listener) {
|
|
3113
|
+
if (listener.enterIdentifier) {
|
|
3114
|
+
listener.enterIdentifier(this);
|
|
3115
|
+
}
|
|
3116
|
+
}
|
|
3117
|
+
exitRule(listener) {
|
|
3118
|
+
if (listener.exitIdentifier) {
|
|
3119
|
+
listener.exitIdentifier(this);
|
|
3120
|
+
}
|
|
3121
|
+
}
|
|
3122
|
+
accept(visitor) {
|
|
3123
|
+
if (visitor.visitIdentifier) {
|
|
3124
|
+
return visitor.visitIdentifier(this);
|
|
3125
|
+
}
|
|
3126
|
+
else {
|
|
3127
|
+
return visitor.visitChildren(this);
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
exports.IdentifierContext = IdentifierContext;
|
|
3132
|
+
class DecisionIdentifierContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3133
|
+
identifier() {
|
|
3134
|
+
return this.getRuleContext(0, IdentifierContext);
|
|
3135
|
+
}
|
|
3136
|
+
constructor(parent, invokingState) {
|
|
3137
|
+
super(parent, invokingState);
|
|
3138
|
+
}
|
|
3139
|
+
get ruleIndex() { return CRLParser.RULE_decisionIdentifier; }
|
|
3140
|
+
enterRule(listener) {
|
|
3141
|
+
if (listener.enterDecisionIdentifier) {
|
|
3142
|
+
listener.enterDecisionIdentifier(this);
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
exitRule(listener) {
|
|
3146
|
+
if (listener.exitDecisionIdentifier) {
|
|
3147
|
+
listener.exitDecisionIdentifier(this);
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
3150
|
+
accept(visitor) {
|
|
3151
|
+
if (visitor.visitDecisionIdentifier) {
|
|
3152
|
+
return visitor.visitDecisionIdentifier(this);
|
|
3153
|
+
}
|
|
3154
|
+
else {
|
|
3155
|
+
return visitor.visitChildren(this);
|
|
3156
|
+
}
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
exports.DecisionIdentifierContext = DecisionIdentifierContext;
|
|
3160
|
+
class DecisionReferenceContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3161
|
+
decisionIdentifier() {
|
|
3162
|
+
return this.getRuleContext(0, DecisionIdentifierContext);
|
|
3163
|
+
}
|
|
3164
|
+
constructor(parent, invokingState) {
|
|
3165
|
+
super(parent, invokingState);
|
|
3166
|
+
}
|
|
3167
|
+
get ruleIndex() { return CRLParser.RULE_decisionReference; }
|
|
3168
|
+
enterRule(listener) {
|
|
3169
|
+
if (listener.enterDecisionReference) {
|
|
3170
|
+
listener.enterDecisionReference(this);
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3173
|
+
exitRule(listener) {
|
|
3174
|
+
if (listener.exitDecisionReference) {
|
|
3175
|
+
listener.exitDecisionReference(this);
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
accept(visitor) {
|
|
3179
|
+
if (visitor.visitDecisionReference) {
|
|
3180
|
+
return visitor.visitDecisionReference(this);
|
|
3181
|
+
}
|
|
3182
|
+
else {
|
|
3183
|
+
return visitor.visitChildren(this);
|
|
3184
|
+
}
|
|
3185
|
+
}
|
|
3186
|
+
}
|
|
3187
|
+
exports.DecisionReferenceContext = DecisionReferenceContext;
|
|
3188
|
+
class TerminologyIdentifierContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3189
|
+
identifier() {
|
|
3190
|
+
return this.getRuleContext(0, IdentifierContext);
|
|
3191
|
+
}
|
|
3192
|
+
constructor(parent, invokingState) {
|
|
3193
|
+
super(parent, invokingState);
|
|
3194
|
+
}
|
|
3195
|
+
get ruleIndex() { return CRLParser.RULE_terminologyIdentifier; }
|
|
3196
|
+
enterRule(listener) {
|
|
3197
|
+
if (listener.enterTerminologyIdentifier) {
|
|
3198
|
+
listener.enterTerminologyIdentifier(this);
|
|
3199
|
+
}
|
|
3200
|
+
}
|
|
3201
|
+
exitRule(listener) {
|
|
3202
|
+
if (listener.exitTerminologyIdentifier) {
|
|
3203
|
+
listener.exitTerminologyIdentifier(this);
|
|
3204
|
+
}
|
|
3205
|
+
}
|
|
3206
|
+
accept(visitor) {
|
|
3207
|
+
if (visitor.visitTerminologyIdentifier) {
|
|
3208
|
+
return visitor.visitTerminologyIdentifier(this);
|
|
3209
|
+
}
|
|
3210
|
+
else {
|
|
3211
|
+
return visitor.visitChildren(this);
|
|
3212
|
+
}
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
exports.TerminologyIdentifierContext = TerminologyIdentifierContext;
|
|
3216
|
+
class TerminologyReferenceContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3217
|
+
identifier() {
|
|
3218
|
+
return this.getRuleContext(0, IdentifierContext);
|
|
3219
|
+
}
|
|
3220
|
+
constructor(parent, invokingState) {
|
|
3221
|
+
super(parent, invokingState);
|
|
3222
|
+
}
|
|
3223
|
+
get ruleIndex() { return CRLParser.RULE_terminologyReference; }
|
|
3224
|
+
enterRule(listener) {
|
|
3225
|
+
if (listener.enterTerminologyReference) {
|
|
3226
|
+
listener.enterTerminologyReference(this);
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
exitRule(listener) {
|
|
3230
|
+
if (listener.exitTerminologyReference) {
|
|
3231
|
+
listener.exitTerminologyReference(this);
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
accept(visitor) {
|
|
3235
|
+
if (visitor.visitTerminologyReference) {
|
|
3236
|
+
return visitor.visitTerminologyReference(this);
|
|
3237
|
+
}
|
|
3238
|
+
else {
|
|
3239
|
+
return visitor.visitChildren(this);
|
|
3240
|
+
}
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
exports.TerminologyReferenceContext = TerminologyReferenceContext;
|
|
3244
|
+
class ActivityIdentifierContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3245
|
+
identifier() {
|
|
3246
|
+
return this.getRuleContext(0, IdentifierContext);
|
|
3247
|
+
}
|
|
3248
|
+
constructor(parent, invokingState) {
|
|
3249
|
+
super(parent, invokingState);
|
|
3250
|
+
}
|
|
3251
|
+
get ruleIndex() { return CRLParser.RULE_activityIdentifier; }
|
|
3252
|
+
enterRule(listener) {
|
|
3253
|
+
if (listener.enterActivityIdentifier) {
|
|
3254
|
+
listener.enterActivityIdentifier(this);
|
|
3255
|
+
}
|
|
3256
|
+
}
|
|
3257
|
+
exitRule(listener) {
|
|
3258
|
+
if (listener.exitActivityIdentifier) {
|
|
3259
|
+
listener.exitActivityIdentifier(this);
|
|
3260
|
+
}
|
|
3261
|
+
}
|
|
3262
|
+
accept(visitor) {
|
|
3263
|
+
if (visitor.visitActivityIdentifier) {
|
|
3264
|
+
return visitor.visitActivityIdentifier(this);
|
|
3265
|
+
}
|
|
3266
|
+
else {
|
|
3267
|
+
return visitor.visitChildren(this);
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3271
|
+
exports.ActivityIdentifierContext = ActivityIdentifierContext;
|
|
3272
|
+
class ActivityReferenceContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3273
|
+
activityIdentifier() {
|
|
3274
|
+
return this.getRuleContext(0, ActivityIdentifierContext);
|
|
3275
|
+
}
|
|
3276
|
+
constructor(parent, invokingState) {
|
|
3277
|
+
super(parent, invokingState);
|
|
3278
|
+
}
|
|
3279
|
+
get ruleIndex() { return CRLParser.RULE_activityReference; }
|
|
3280
|
+
enterRule(listener) {
|
|
3281
|
+
if (listener.enterActivityReference) {
|
|
3282
|
+
listener.enterActivityReference(this);
|
|
3283
|
+
}
|
|
3284
|
+
}
|
|
3285
|
+
exitRule(listener) {
|
|
3286
|
+
if (listener.exitActivityReference) {
|
|
3287
|
+
listener.exitActivityReference(this);
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
accept(visitor) {
|
|
3291
|
+
if (visitor.visitActivityReference) {
|
|
3292
|
+
return visitor.visitActivityReference(this);
|
|
3293
|
+
}
|
|
3294
|
+
else {
|
|
3295
|
+
return visitor.visitChildren(this);
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
exports.ActivityReferenceContext = ActivityReferenceContext;
|
|
3300
|
+
class ConceptIdentifierContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3301
|
+
identifier() {
|
|
3302
|
+
return this.getRuleContext(0, IdentifierContext);
|
|
3303
|
+
}
|
|
3304
|
+
constructor(parent, invokingState) {
|
|
3305
|
+
super(parent, invokingState);
|
|
3306
|
+
}
|
|
3307
|
+
get ruleIndex() { return CRLParser.RULE_conceptIdentifier; }
|
|
3308
|
+
enterRule(listener) {
|
|
3309
|
+
if (listener.enterConceptIdentifier) {
|
|
3310
|
+
listener.enterConceptIdentifier(this);
|
|
3311
|
+
}
|
|
3312
|
+
}
|
|
3313
|
+
exitRule(listener) {
|
|
3314
|
+
if (listener.exitConceptIdentifier) {
|
|
3315
|
+
listener.exitConceptIdentifier(this);
|
|
3316
|
+
}
|
|
3317
|
+
}
|
|
3318
|
+
accept(visitor) {
|
|
3319
|
+
if (visitor.visitConceptIdentifier) {
|
|
3320
|
+
return visitor.visitConceptIdentifier(this);
|
|
3321
|
+
}
|
|
3322
|
+
else {
|
|
3323
|
+
return visitor.visitChildren(this);
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
exports.ConceptIdentifierContext = ConceptIdentifierContext;
|
|
3328
|
+
class ConceptReferenceContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3329
|
+
conceptIdentifier() {
|
|
3330
|
+
return this.getRuleContext(0, ConceptIdentifierContext);
|
|
3331
|
+
}
|
|
3332
|
+
constructor(parent, invokingState) {
|
|
3333
|
+
super(parent, invokingState);
|
|
3334
|
+
}
|
|
3335
|
+
get ruleIndex() { return CRLParser.RULE_conceptReference; }
|
|
3336
|
+
enterRule(listener) {
|
|
3337
|
+
if (listener.enterConceptReference) {
|
|
3338
|
+
listener.enterConceptReference(this);
|
|
3339
|
+
}
|
|
3340
|
+
}
|
|
3341
|
+
exitRule(listener) {
|
|
3342
|
+
if (listener.exitConceptReference) {
|
|
3343
|
+
listener.exitConceptReference(this);
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
accept(visitor) {
|
|
3347
|
+
if (visitor.visitConceptReference) {
|
|
3348
|
+
return visitor.visitConceptReference(this);
|
|
3349
|
+
}
|
|
3350
|
+
else {
|
|
3351
|
+
return visitor.visitChildren(this);
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
exports.ConceptReferenceContext = ConceptReferenceContext;
|
|
3356
|
+
class BacktickStringContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3357
|
+
BACKTICK_STRING() { return this.getToken(CRLParser.BACKTICK_STRING, 0); }
|
|
3358
|
+
constructor(parent, invokingState) {
|
|
3359
|
+
super(parent, invokingState);
|
|
3360
|
+
}
|
|
3361
|
+
get ruleIndex() { return CRLParser.RULE_backtickString; }
|
|
3362
|
+
enterRule(listener) {
|
|
3363
|
+
if (listener.enterBacktickString) {
|
|
3364
|
+
listener.enterBacktickString(this);
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3367
|
+
exitRule(listener) {
|
|
3368
|
+
if (listener.exitBacktickString) {
|
|
3369
|
+
listener.exitBacktickString(this);
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
accept(visitor) {
|
|
3373
|
+
if (visitor.visitBacktickString) {
|
|
3374
|
+
return visitor.visitBacktickString(this);
|
|
3375
|
+
}
|
|
3376
|
+
else {
|
|
3377
|
+
return visitor.visitChildren(this);
|
|
3378
|
+
}
|
|
3379
|
+
}
|
|
3380
|
+
}
|
|
3381
|
+
exports.BacktickStringContext = BacktickStringContext;
|
|
3382
|
+
class PatternNameContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3383
|
+
backtickString() {
|
|
3384
|
+
return this.getRuleContext(0, BacktickStringContext);
|
|
3385
|
+
}
|
|
3386
|
+
constructor(parent, invokingState) {
|
|
3387
|
+
super(parent, invokingState);
|
|
3388
|
+
}
|
|
3389
|
+
get ruleIndex() { return CRLParser.RULE_patternName; }
|
|
3390
|
+
enterRule(listener) {
|
|
3391
|
+
if (listener.enterPatternName) {
|
|
3392
|
+
listener.enterPatternName(this);
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
exitRule(listener) {
|
|
3396
|
+
if (listener.exitPatternName) {
|
|
3397
|
+
listener.exitPatternName(this);
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
accept(visitor) {
|
|
3401
|
+
if (visitor.visitPatternName) {
|
|
3402
|
+
return visitor.visitPatternName(this);
|
|
3403
|
+
}
|
|
3404
|
+
else {
|
|
3405
|
+
return visitor.visitChildren(this);
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
}
|
|
3409
|
+
exports.PatternNameContext = PatternNameContext;
|
|
3410
|
+
class ActivityTypeValueContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3411
|
+
backtickString() {
|
|
3412
|
+
return this.getRuleContext(0, BacktickStringContext);
|
|
3413
|
+
}
|
|
3414
|
+
constructor(parent, invokingState) {
|
|
3415
|
+
super(parent, invokingState);
|
|
3416
|
+
}
|
|
3417
|
+
get ruleIndex() { return CRLParser.RULE_activityTypeValue; }
|
|
3418
|
+
enterRule(listener) {
|
|
3419
|
+
if (listener.enterActivityTypeValue) {
|
|
3420
|
+
listener.enterActivityTypeValue(this);
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
exitRule(listener) {
|
|
3424
|
+
if (listener.exitActivityTypeValue) {
|
|
3425
|
+
listener.exitActivityTypeValue(this);
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3428
|
+
accept(visitor) {
|
|
3429
|
+
if (visitor.visitActivityTypeValue) {
|
|
3430
|
+
return visitor.visitActivityTypeValue(this);
|
|
3431
|
+
}
|
|
3432
|
+
else {
|
|
3433
|
+
return visitor.visitChildren(this);
|
|
3434
|
+
}
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
exports.ActivityTypeValueContext = ActivityTypeValueContext;
|
|
3438
|
+
class RationaleContext extends ParserRuleContext_1.ParserRuleContext {
|
|
3439
|
+
backtickString() {
|
|
3440
|
+
return this.getRuleContext(0, BacktickStringContext);
|
|
3441
|
+
}
|
|
3442
|
+
constructor(parent, invokingState) {
|
|
3443
|
+
super(parent, invokingState);
|
|
3444
|
+
}
|
|
3445
|
+
get ruleIndex() { return CRLParser.RULE_rationale; }
|
|
3446
|
+
enterRule(listener) {
|
|
3447
|
+
if (listener.enterRationale) {
|
|
3448
|
+
listener.enterRationale(this);
|
|
3449
|
+
}
|
|
3450
|
+
}
|
|
3451
|
+
exitRule(listener) {
|
|
3452
|
+
if (listener.exitRationale) {
|
|
3453
|
+
listener.exitRationale(this);
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
accept(visitor) {
|
|
3457
|
+
if (visitor.visitRationale) {
|
|
3458
|
+
return visitor.visitRationale(this);
|
|
3459
|
+
}
|
|
3460
|
+
else {
|
|
3461
|
+
return visitor.visitChildren(this);
|
|
3462
|
+
}
|
|
3463
|
+
}
|
|
3464
|
+
}
|
|
3465
|
+
exports.RationaleContext = RationaleContext;
|
|
3466
|
+
//# sourceMappingURL=CRLParser.js.map
|