Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botbuilder-lg

Package Overview
Dependencies
Maintainers
1
Versions
513
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botbuilder-lg - npm Package Compare versions

Comparing version 4.11.0-dev.20200901.8b7db50 to 4.11.0-dev.20200902.4a95911

4

lib/customizedMemory.js

@@ -30,3 +30,3 @@ "use strict";

const value = this.localMemory.getValue(path);
if (value) {
if (value !== undefined) {
return value;

@@ -54,3 +54,3 @@ }

const localVersion = this.localMemory.version();
if (localVersion) {
if (localVersion !== undefined) {
result = result.concat(localVersion);

@@ -57,0 +57,0 @@ }

@@ -267,3 +267,3 @@ "use strict";

const parameters = this.templateMap[templateName].parameters;
const currentScope = this.evaluationTargetStack.length > 0 ? this.currentTarget().scope : new customizedMemory_1.CustomizedMemory(undefined);
const currentScope = this.currentTarget().scope;
if (args.length === 0) {

@@ -270,0 +270,0 @@ // no args to construct, inherit from current scope

@@ -19,8 +19,9 @@ /**

static readonly TEMPLATE_NAME_LINE = 5;
static readonly MULTILINE_PREFIX = 6;
static readonly TEMPLATE_BODY = 7;
static readonly INVALID_LINE = 8;
static readonly MULTILINE_SUFFIX = 9;
static readonly ESCAPE_CHARACTER = 10;
static readonly MULTILINE_TEXT = 11;
static readonly INLINE_MULTILINE = 6;
static readonly MULTILINE_PREFIX = 7;
static readonly TEMPLATE_BODY = 8;
static readonly INVALID_LINE = 9;
static readonly MULTILINE_SUFFIX = 10;
static readonly ESCAPE_CHARACTER = 11;
static readonly MULTILINE_TEXT = 12;
static readonly MULTILINE_MODE = 1;

@@ -48,2 +49,3 @@ static readonly channelNames: string[];

private TEMPLATE_NAME_LINE_sempred;
private INLINE_MULTILINE_sempred;
private MULTILINE_PREFIX_sempred;

@@ -50,0 +52,0 @@ private TEMPLATE_BODY_sempred;

@@ -58,6 +58,8 @@ "use strict";

case 6:
return this.INLINE_MULTILINE_sempred(_localctx, predIndex);
case 7:
return this.MULTILINE_PREFIX_sempred(_localctx, predIndex);
case 7:
case 8:
return this.TEMPLATE_BODY_sempred(_localctx, predIndex);
case 8:
case 9:
return this.INVALID_LINE_sempred(_localctx, predIndex);

@@ -95,3 +97,3 @@ }

}
MULTILINE_PREFIX_sempred(_localctx, predIndex) {
INLINE_MULTILINE_sempred(_localctx, predIndex) {
switch (predIndex) {

@@ -103,5 +105,12 @@ case 4:

}
MULTILINE_PREFIX_sempred(_localctx, predIndex) {
switch (predIndex) {
case 5:
return this.startTemplate && this._tokenStartCharPositionInLine == 0;
}
return true;
}
TEMPLATE_BODY_sempred(_localctx, predIndex) {
switch (predIndex) {
case 5:
case 6:
return this.startTemplate;

@@ -113,3 +122,3 @@ }

switch (predIndex) {
case 6:
case 7:
return !this.startTemplate;

@@ -131,8 +140,9 @@ }

LGFileLexer.TEMPLATE_NAME_LINE = 5;
LGFileLexer.MULTILINE_PREFIX = 6;
LGFileLexer.TEMPLATE_BODY = 7;
LGFileLexer.INVALID_LINE = 8;
LGFileLexer.MULTILINE_SUFFIX = 9;
LGFileLexer.ESCAPE_CHARACTER = 10;
LGFileLexer.MULTILINE_TEXT = 11;
LGFileLexer.INLINE_MULTILINE = 6;
LGFileLexer.MULTILINE_PREFIX = 7;
LGFileLexer.TEMPLATE_BODY = 8;
LGFileLexer.INVALID_LINE = 9;
LGFileLexer.MULTILINE_SUFFIX = 10;
LGFileLexer.ESCAPE_CHARACTER = 11;
LGFileLexer.MULTILINE_TEXT = 12;
LGFileLexer.MULTILINE_MODE = 1;

@@ -149,90 +159,110 @@ // tslint:disable:no-trailing-whitespace

"WHITESPACE", "NEWLINE", "OPTION", "COMMENT", "IMPORT", "TEMPLATE_NAME_LINE",
"MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE", "MULTILINE_SUFFIX",
"ESCAPE_CHARACTER", "MULTILINE_TEXT",
"INLINE_MULTILINE", "MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE",
"MULTILINE_SUFFIX", "ESCAPE_CHARACTER", "MULTILINE_TEXT",
];
LGFileLexer._LITERAL_NAMES = [
undefined, undefined, undefined, undefined, undefined, undefined, undefined,
undefined, undefined, "'```'",
undefined, undefined, undefined, "'```'",
];
LGFileLexer._SYMBOLIC_NAMES = [
undefined, "NEWLINE", "OPTION", "COMMENT", "IMPORT", "TEMPLATE_NAME_LINE",
"MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE", "MULTILINE_SUFFIX",
"ESCAPE_CHARACTER", "MULTILINE_TEXT",
"INLINE_MULTILINE", "MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE",
"MULTILINE_SUFFIX", "ESCAPE_CHARACTER", "MULTILINE_TEXT",
];
LGFileLexer.VOCABULARY = new VocabularyImpl_1.VocabularyImpl(LGFileLexer._LITERAL_NAMES, LGFileLexer._SYMBOLIC_NAMES, []);
LGFileLexer._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02\r\xA9\b\x01\b" +
"\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t" +
"\x06\x04\x07\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\x03\x02\x03\x02\x03\x03\x05\x03 \n\x03\x03\x03\x03\x03\x03\x04" +
"\x07\x04%\n\x04\f\x04\x0E\x04(\v\x04\x03\x04\x03\x04\x07\x04,\n\x04\f" +
"\x04\x0E\x04/\v\x04\x03\x04\x03\x04\x03\x04\x03\x04\x06\x045\n\x04\r\x04" +
"\x0E\x046\x03\x04\x03\x04\x03\x05\x07\x05<\n\x05\f\x05\x0E\x05?\v\x05" +
"\x03\x05\x03\x05\x07\x05C\n\x05\f\x05\x0E\x05F\v\x05\x03\x05\x03\x05\x03" +
"\x06\x07\x06K\n\x06\f\x06\x0E\x06N\v\x06\x03\x06\x03\x06\x07\x06R\n\x06" +
"\f\x06\x0E\x06U\v\x06\x03\x06\x03\x06\x03\x06\x07\x06Z\n\x06\f\x06\x0E" +
"\x06]\v\x06\x03\x06\x03\x06\x07\x06a\n\x06\f\x06\x0E\x06d\v\x06\x03\x06" +
"\x03\x06\x03\x07\x07\x07i\n\x07\f\x07\x0E\x07l\v\x07\x03\x07\x03\x07\x07" +
"\x07p\n\x07\f\x07\x0E\x07s\v\x07\x03\x07\x03\x07\x03\x07\x03\b\x07\by" +
"\n\b\f\b\x0E\b|\v\b\x03\b\x03\b\x07\b\x80\n\b\f\b\x0E\b\x83\v\b\x03\b" +
"\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\t\x06\t\x8E\n\t\r\t\x0E" +
"\t\x8F\x03\t\x03\t\x03\n\x06\n\x95\n\n\r\n\x0E\n\x96\x03\n\x03\n\x03\v" +
"\x03\v\x03\v\x03\v\x03\v\x03\v\x03\f\x03\f\x05\f\xA3\n\f\x03\r\x06\r\xA6" +
"\n\r\r\r\x0E\r\xA7\x05S[\xA7\x02\x02\x0E\x04\x02\x02\x06\x02\x03\b\x02" +
"\x04\n\x02\x05\f\x02\x06\x0E\x02\x07\x10\x02\b\x12\x02\t\x14\x02\n\x16" +
"\x02\v\x18\x02\f\x1A\x02\r\x04\x02\x03\x06\x06\x02\v\v\"\"\xA2\xA2\uFF01" +
"\uFF01\x04\x02\f\f\x0F\x0F\x06\x02\f\f\x0F\x0F]]__\x05\x02\f\f\x0F\x0F" +
"*+\x02\xB8\x02\x06\x03\x02\x02\x02\x02\b\x03\x02\x02\x02\x02\n\x03\x02" +
"\x02\x02\x02\f\x03\x02\x02\x02\x02\x0E\x03\x02\x02\x02\x02\x10\x03\x02" +
"\x02\x02\x02\x12\x03\x02\x02\x02\x02\x14\x03\x02\x02\x02\x03\x16\x03\x02" +
"\x02\x02\x03\x18\x03\x02\x02\x02\x03\x1A\x03\x02\x02\x02\x04\x1C\x03\x02" +
"\x02\x02\x06\x1F\x03\x02\x02\x02\b&\x03\x02\x02\x02\n=\x03\x02\x02\x02" +
"\fL\x03\x02\x02\x02\x0Ej\x03\x02\x02\x02\x10z\x03\x02\x02\x02\x12\x8D" +
"\x03\x02\x02\x02\x14\x94\x03\x02\x02\x02\x16\x9A\x03\x02\x02\x02\x18\xA0" +
"\x03\x02\x02\x02\x1A\xA5\x03\x02\x02\x02\x1C\x1D\t\x02\x02\x02\x1D\x05" +
"\x03\x02\x02\x02\x1E \x07\x0F\x02\x02\x1F\x1E\x03\x02\x02\x02\x1F \x03" +
"\x02\x02\x02 !\x03\x02\x02\x02!\"\x07\f\x02\x02\"\x07\x03\x02\x02\x02" +
"#%\x05\x04\x02\x02$#\x03\x02\x02\x02%(\x03\x02\x02\x02&$\x03\x02\x02\x02" +
"&\'\x03\x02\x02\x02\')\x03\x02\x02\x02(&\x03\x02\x02\x02)-\x07@\x02\x02" +
"*,\x05\x04\x02\x02+*\x03\x02\x02\x02,/\x03\x02\x02\x02-+\x03\x02\x02\x02" +
"-.\x03\x02\x02\x02.0\x03\x02\x02\x02/-\x03\x02\x02\x0201\x07#\x02\x02" +
"12\x07%\x02\x0224\x03\x02\x02\x0235\n\x03\x02\x0243\x03\x02\x02\x0256" +
"\x03\x02\x02\x0264\x03\x02\x02\x0267\x03\x02\x02\x0278\x03\x02\x02\x02" +
"89\x06\x04\x02\x029\t\x03\x02\x02\x02:<\x05\x04\x02\x02;:\x03\x02\x02" +
"\x02<?\x03\x02\x02\x02=;\x03\x02\x02\x02=>\x03\x02\x02\x02>@\x03\x02\x02" +
"\x02?=\x03\x02\x02\x02@D\x07@\x02\x02AC\n\x03\x02\x02BA\x03\x02\x02\x02" +
"CF\x03\x02\x02\x02DB\x03\x02\x02\x02DE\x03\x02\x02\x02EG\x03\x02\x02\x02" +
"FD\x03\x02\x02\x02GH\x06\x05\x03\x02H\v\x03\x02\x02\x02IK\x05\x04\x02" +
"\x02JI\x03\x02\x02\x02KN\x03\x02\x02\x02LJ\x03\x02\x02\x02LM\x03\x02\x02" +
"\x02MO\x03\x02\x02\x02NL\x03\x02\x02\x02OS\x07]\x02\x02PR\n\x04\x02\x02" +
"QP\x03\x02\x02\x02RU\x03\x02\x02\x02ST\x03\x02\x02\x02SQ\x03\x02\x02\x02" +
"TV\x03\x02\x02\x02US\x03\x02\x02\x02VW\x07_\x02\x02W[\x07*\x02\x02XZ\n" +
"\x05\x02\x02YX\x03\x02\x02\x02Z]\x03\x02\x02\x02[\\\x03\x02\x02\x02[Y" +
"\x03\x02\x02\x02\\^\x03\x02\x02\x02][\x03\x02\x02\x02^b\x07+\x02\x02_" +
"a\x05\x04\x02\x02`_\x03\x02\x02\x02ad\x03\x02\x02\x02b`\x03\x02\x02\x02" +
"bc\x03\x02\x02\x02ce\x03\x02\x02\x02db\x03\x02\x02\x02ef\x06\x06\x04\x02" +
"f\r\x03\x02\x02\x02gi\x05\x04\x02\x02hg\x03\x02\x02\x02il\x03\x02\x02" +
"\x02jh\x03\x02\x02\x02jk\x03\x02\x02\x02km\x03\x02\x02\x02lj\x03\x02\x02" +
"\x02mq\x07%\x02\x02np\n\x03\x02\x02on\x03\x02\x02\x02ps\x03\x02\x02\x02" +
"qo\x03\x02\x02\x02qr\x03\x02\x02\x02rt\x03\x02\x02\x02sq\x03\x02\x02\x02" +
"tu\x06\x07\x05\x02uv\b\x07\x02\x02v\x0F\x03\x02\x02\x02wy\x05\x04\x02" +
"\x02xw\x03\x02\x02\x02y|\x03\x02\x02\x02zx\x03\x02\x02\x02z{\x03\x02\x02" +
"\x02{}\x03\x02\x02\x02|z\x03\x02\x02\x02}\x81\x07/\x02\x02~\x80\x05\x04" +
"\x02\x02\x7F~\x03\x02\x02\x02\x80\x83\x03\x02\x02\x02\x81\x7F\x03\x02" +
"\x02\x02\x81\x82\x03\x02\x02\x02\x82\x84\x03\x02\x02\x02\x83\x81\x03\x02" +
"\x02\x02\x84\x85\x07b\x02\x02\x85\x86\x07b\x02\x02\x86\x87\x07b\x02\x02" +
"\x87\x88\x03\x02\x02\x02\x88\x89\x06\b\x06\x02\x89\x8A\x03\x02\x02\x02" +
"\x8A\x8B\b\b\x03\x02\x8B\x11\x03\x02\x02\x02\x8C\x8E\n\x03\x02\x02\x8D" +
"\x8C\x03\x02\x02\x02\x8E\x8F\x03\x02\x02\x02\x8F\x8D\x03\x02\x02\x02\x8F" +
"\x90\x03\x02\x02\x02\x90\x91\x03\x02\x02\x02\x91\x92\x06\t\x07\x02\x92" +
"\x13\x03\x02\x02\x02\x93\x95\n\x03\x02\x02\x94\x93\x03\x02\x02\x02\x95" +
"\x96\x03\x02\x02\x02\x96\x94\x03\x02\x02\x02\x96\x97\x03\x02\x02\x02\x97" +
"\x98\x03\x02\x02\x02\x98\x99\x06\n\b\x02\x99\x15\x03\x02\x02\x02\x9A\x9B" +
"\x07b\x02\x02\x9B\x9C\x07b\x02\x02\x9C\x9D\x07b\x02\x02\x9D\x9E\x03\x02" +
"\x02\x02\x9E\x9F\b\v\x04\x02\x9F\x17\x03\x02\x02\x02\xA0\xA2\x07^\x02" +
"\x02\xA1\xA3\n\x03\x02\x02\xA2\xA1\x03\x02\x02\x02\xA2\xA3\x03\x02\x02" +
"\x02\xA3\x19\x03\x02\x02\x02\xA4\xA6\v\x02\x02\x02\xA5\xA4\x03\x02\x02" +
"\x02\xA6\xA7\x03\x02\x02\x02\xA7\xA8\x03\x02\x02\x02\xA7\xA5\x03\x02\x02" +
"\x02\xA8\x1B\x03\x02\x02\x02\x16\x02\x03\x1F&-6=DLS[bjqz\x81\x8F\x96\xA2" +
"\xA7\x05\x03\x07\x02\x07\x03\x02\x06\x02\x02";
LGFileLexer._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02\x0E\xD4\b\x01" +
"\b\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06" +
"\t\x06\x04\x07\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\x0E\t\x0E\x03\x02\x03\x02\x03\x03\x05\x03\"\n\x03\x03\x03" +
"\x03\x03\x03\x04\x07\x04\'\n\x04\f\x04\x0E\x04*\v\x04\x03\x04\x03\x04" +
"\x07\x04.\n\x04\f\x04\x0E\x041\v\x04\x03\x04\x03\x04\x03\x04\x03\x04\x06" +
"\x047\n\x04\r\x04\x0E\x048\x03\x04\x03\x04\x03\x05\x07\x05>\n\x05\f\x05" +
"\x0E\x05A\v\x05\x03\x05\x03\x05\x07\x05E\n\x05\f\x05\x0E\x05H\v\x05\x03" +
"\x05\x03\x05\x03\x06\x07\x06M\n\x06\f\x06\x0E\x06P\v\x06\x03\x06\x03\x06" +
"\x07\x06T\n\x06\f\x06\x0E\x06W\v\x06\x03\x06\x03\x06\x03\x06\x07\x06\\" +
"\n\x06\f\x06\x0E\x06_\v\x06\x03\x06\x03\x06\x07\x06c\n\x06\f\x06\x0E\x06" +
"f\v\x06\x03\x06\x03\x06\x03\x07\x07\x07k\n\x07\f\x07\x0E\x07n\v\x07\x03" +
"\x07\x03\x07\x07\x07r\n\x07\f\x07\x0E\x07u\v\x07\x03\x07\x03\x07\x03\x07" +
"\x03\b\x07\b{\n\b\f\b\x0E\b~\v\b\x03\b\x03\b\x07\b\x82\n\b\f\b\x0E\b\x85" +
"\v\b\x03\b\x03\b\x03\b\x03\b\x03\b\x07\b\x8C\n\b\f\b\x0E\b\x8F\v\b\x03" +
"\b\x03\b\x03\b\x03\b\x03\b\x07\b\x96\n\b\f\b\x0E\b\x99\v\b\x03\b\x03\b" +
"\x03\t\x07\t\x9E\n\t\f\t\x0E\t\xA1\v\t\x03\t\x03\t\x07\t\xA5\n\t\f\t\x0E" +
"\t\xA8\v\t\x03\t\x03\t\x03\t\x03\t\x03\t\x07\t\xAF\n\t\f\t\x0E\t\xB2\v" +
"\t\x03\t\x03\t\x03\t\x03\t\x03\n\x06\n\xB9\n\n\r\n\x0E\n\xBA\x03\n\x03" +
"\n\x03\v\x06\v\xC0\n\v\r\v\x0E\v\xC1\x03\v\x03\v\x03\f\x03\f\x03\f\x03" +
"\f\x03\f\x03\f\x03\r\x03\r\x05\r\xCE\n\r\x03\x0E\x06\x0E\xD1\n\x0E\r\x0E" +
"\x0E\x0E\xD2\x05U]\xD2\x02\x02\x0F\x04\x02\x02\x06\x02\x03\b\x02\x04\n" +
"\x02\x05\f\x02\x06\x0E\x02\x07\x10\x02\b\x12\x02\t\x14\x02\n\x16\x02\v" +
"\x18\x02\f\x1A\x02\r\x1C\x02\x0E\x04\x02\x03\x06\x06\x02\v\v\"\"\xA2\xA2" +
"\uFF01\uFF01\x04\x02\f\f\x0F\x0F\x06\x02\f\f\x0F\x0F]]__\x05\x02\f\f\x0F" +
"\x0F*+\x02\xE8\x02\x06\x03\x02\x02\x02\x02\b\x03\x02\x02\x02\x02\n\x03" +
"\x02\x02\x02\x02\f\x03\x02\x02\x02\x02\x0E\x03\x02\x02\x02\x02\x10\x03" +
"\x02\x02\x02\x02\x12\x03\x02\x02\x02\x02\x14\x03\x02\x02\x02\x02\x16\x03" +
"\x02\x02\x02\x03\x18\x03\x02\x02\x02\x03\x1A\x03\x02\x02\x02\x03\x1C\x03" +
"\x02\x02\x02\x04\x1E\x03\x02\x02\x02\x06!\x03\x02\x02\x02\b(\x03\x02\x02" +
"\x02\n?\x03\x02\x02\x02\fN\x03\x02\x02\x02\x0El\x03\x02\x02\x02\x10|\x03" +
"\x02\x02\x02\x12\x9F\x03\x02\x02\x02\x14\xB8\x03\x02\x02\x02\x16\xBF\x03" +
"\x02\x02\x02\x18\xC5\x03\x02\x02\x02\x1A\xCB\x03\x02\x02\x02\x1C\xD0\x03" +
"\x02\x02\x02\x1E\x1F\t\x02\x02\x02\x1F\x05\x03\x02\x02\x02 \"\x07\x0F" +
"\x02\x02! \x03\x02\x02\x02!\"\x03\x02\x02\x02\"#\x03\x02\x02\x02#$\x07" +
"\f\x02\x02$\x07\x03\x02\x02\x02%\'\x05\x04\x02\x02&%\x03\x02\x02\x02\'" +
"*\x03\x02\x02\x02(&\x03\x02\x02\x02()\x03\x02\x02\x02)+\x03\x02\x02\x02" +
"*(\x03\x02\x02\x02+/\x07@\x02\x02,.\x05\x04\x02\x02-,\x03\x02\x02\x02" +
".1\x03\x02\x02\x02/-\x03\x02\x02\x02/0\x03\x02\x02\x0202\x03\x02\x02\x02" +
"1/\x03\x02\x02\x0223\x07#\x02\x0234\x07%\x02\x0246\x03\x02\x02\x0257\n" +
"\x03\x02\x0265\x03\x02\x02\x0278\x03\x02\x02\x0286\x03\x02\x02\x0289\x03" +
"\x02\x02\x029:\x03\x02\x02\x02:;\x06\x04\x02\x02;\t\x03\x02\x02\x02<>" +
"\x05\x04\x02\x02=<\x03\x02\x02\x02>A\x03\x02\x02\x02?=\x03\x02\x02\x02" +
"?@\x03\x02\x02\x02@B\x03\x02\x02\x02A?\x03\x02\x02\x02BF\x07@\x02\x02" +
"CE\n\x03\x02\x02DC\x03\x02\x02\x02EH\x03\x02\x02\x02FD\x03\x02\x02\x02" +
"FG\x03\x02\x02\x02GI\x03\x02\x02\x02HF\x03\x02\x02\x02IJ\x06\x05\x03\x02" +
"J\v\x03\x02\x02\x02KM\x05\x04\x02\x02LK\x03\x02\x02\x02MP\x03\x02\x02" +
"\x02NL\x03\x02\x02\x02NO\x03\x02\x02\x02OQ\x03\x02\x02\x02PN\x03\x02\x02" +
"\x02QU\x07]\x02\x02RT\n\x04\x02\x02SR\x03\x02\x02\x02TW\x03\x02\x02\x02" +
"UV\x03\x02\x02\x02US\x03\x02\x02\x02VX\x03\x02\x02\x02WU\x03\x02\x02\x02" +
"XY\x07_\x02\x02Y]\x07*\x02\x02Z\\\n\x05\x02\x02[Z\x03\x02\x02\x02\\_\x03" +
"\x02\x02\x02]^\x03\x02\x02\x02][\x03\x02\x02\x02^`\x03\x02\x02\x02_]\x03" +
"\x02\x02\x02`d\x07+\x02\x02ac\x05\x04\x02\x02ba\x03\x02\x02\x02cf\x03" +
"\x02\x02\x02db\x03\x02\x02\x02de\x03\x02\x02\x02eg\x03\x02\x02\x02fd\x03" +
"\x02\x02\x02gh\x06\x06\x04\x02h\r\x03\x02\x02\x02ik\x05\x04\x02\x02ji" +
"\x03\x02\x02\x02kn\x03\x02\x02\x02lj\x03\x02\x02\x02lm\x03\x02\x02\x02" +
"mo\x03\x02\x02\x02nl\x03\x02\x02\x02os\x07%\x02\x02pr\n\x03\x02\x02qp" +
"\x03\x02\x02\x02ru\x03\x02\x02\x02sq\x03\x02\x02\x02st\x03\x02\x02\x02" +
"tv\x03\x02\x02\x02us\x03\x02\x02\x02vw\x06\x07\x05\x02wx\b\x07\x02\x02" +
"x\x0F\x03\x02\x02\x02y{\x05\x04\x02\x02zy\x03\x02\x02\x02{~\x03\x02\x02" +
"\x02|z\x03\x02\x02\x02|}\x03\x02\x02\x02}\x7F\x03\x02\x02\x02~|\x03\x02" +
"\x02\x02\x7F\x83\x07/\x02\x02\x80\x82\x05\x04\x02\x02\x81\x80\x03\x02" +
"\x02\x02\x82\x85\x03\x02\x02\x02\x83\x81\x03\x02\x02\x02\x83\x84\x03\x02" +
"\x02\x02\x84\x86\x03\x02\x02\x02\x85\x83\x03\x02\x02\x02\x86\x87\x07b" +
"\x02\x02\x87\x88\x07b\x02\x02\x88\x89\x07b\x02\x02\x89\x8D\x03\x02\x02" +
"\x02\x8A\x8C\n\x03\x02\x02\x8B\x8A\x03\x02\x02\x02\x8C\x8F\x03\x02\x02" +
"\x02\x8D\x8B\x03\x02\x02\x02\x8D\x8E\x03\x02\x02\x02\x8E\x90\x03\x02\x02" +
"\x02\x8F\x8D\x03\x02\x02\x02\x90\x91\x07b\x02\x02\x91\x92\x07b\x02\x02" +
"\x92\x93\x07b\x02\x02\x93\x97\x03\x02\x02\x02\x94\x96\x05\x04\x02\x02" +
"\x95\x94\x03\x02\x02\x02\x96\x99\x03\x02\x02\x02\x97\x95\x03\x02\x02\x02" +
"\x97\x98\x03\x02\x02\x02\x98\x9A\x03\x02\x02\x02\x99\x97\x03\x02\x02\x02" +
"\x9A\x9B\x06\b\x06\x02\x9B\x11\x03\x02\x02\x02\x9C\x9E\x05\x04\x02\x02" +
"\x9D\x9C\x03\x02\x02\x02\x9E\xA1\x03\x02\x02\x02\x9F\x9D\x03\x02\x02\x02" +
"\x9F\xA0\x03\x02\x02\x02\xA0\xA2\x03\x02\x02\x02\xA1\x9F\x03\x02\x02\x02" +
"\xA2\xA6\x07/\x02\x02\xA3\xA5\x05\x04\x02\x02\xA4\xA3\x03\x02\x02\x02" +
"\xA5\xA8\x03\x02\x02\x02\xA6\xA4\x03\x02\x02\x02\xA6\xA7\x03\x02\x02\x02" +
"\xA7\xA9\x03\x02\x02\x02\xA8\xA6\x03\x02\x02\x02\xA9\xAA\x07b\x02\x02" +
"\xAA\xAB\x07b\x02\x02\xAB\xAC\x07b\x02\x02\xAC\xB0\x03\x02\x02\x02\xAD" +
"\xAF\n\x03\x02\x02\xAE\xAD\x03\x02\x02\x02\xAF\xB2\x03\x02\x02\x02\xB0" +
"\xAE\x03\x02\x02\x02\xB0\xB1\x03\x02\x02\x02\xB1\xB3\x03\x02\x02\x02\xB2" +
"\xB0\x03\x02\x02\x02\xB3\xB4\x06\t\x07\x02\xB4\xB5\x03\x02\x02\x02\xB5" +
"\xB6\b\t\x03\x02\xB6\x13\x03\x02\x02\x02\xB7\xB9\n\x03\x02\x02\xB8\xB7" +
"\x03\x02\x02\x02\xB9\xBA\x03\x02\x02\x02\xBA\xB8\x03\x02\x02\x02\xBA\xBB" +
"\x03\x02\x02\x02\xBB\xBC\x03\x02\x02\x02\xBC\xBD\x06\n\b\x02\xBD\x15\x03" +
"\x02\x02\x02\xBE\xC0\n\x03\x02\x02\xBF\xBE\x03\x02\x02\x02\xC0\xC1\x03" +
"\x02\x02\x02\xC1\xBF\x03\x02\x02\x02\xC1\xC2\x03\x02\x02\x02\xC2\xC3\x03" +
"\x02\x02\x02\xC3\xC4\x06\v\t\x02\xC4\x17\x03\x02\x02\x02\xC5\xC6\x07b" +
"\x02\x02\xC6\xC7\x07b\x02\x02\xC7\xC8\x07b\x02\x02\xC8\xC9\x03\x02\x02" +
"\x02\xC9\xCA\b\f\x04\x02\xCA\x19\x03\x02\x02\x02\xCB\xCD\x07^\x02\x02" +
"\xCC\xCE\n\x03\x02\x02\xCD\xCC\x03\x02\x02\x02\xCD\xCE\x03\x02\x02\x02" +
"\xCE\x1B\x03\x02\x02\x02\xCF\xD1\v\x02\x02\x02\xD0\xCF\x03\x02\x02\x02" +
"\xD1\xD2\x03\x02\x02\x02\xD2\xD3\x03\x02\x02\x02\xD2\xD0\x03\x02\x02\x02" +
"\xD3\x1D\x03\x02\x02\x02\x1B\x02\x03!(/8?FNU]dls|\x83\x8D\x97\x9F\xA6" +
"\xB0\xBA\xC1\xCD\xD2\x05\x03\x07\x02\x07\x03\x02\x06\x02\x02";
exports.LGFileLexer = LGFileLexer;
//# sourceMappingURL=LGFileLexer.js.map

@@ -22,8 +22,9 @@ /**

static readonly TEMPLATE_NAME_LINE = 5;
static readonly MULTILINE_PREFIX = 6;
static readonly TEMPLATE_BODY = 7;
static readonly INVALID_LINE = 8;
static readonly MULTILINE_SUFFIX = 9;
static readonly ESCAPE_CHARACTER = 10;
static readonly MULTILINE_TEXT = 11;
static readonly INLINE_MULTILINE = 6;
static readonly MULTILINE_PREFIX = 7;
static readonly TEMPLATE_BODY = 8;
static readonly INVALID_LINE = 9;
static readonly MULTILINE_SUFFIX = 10;
static readonly ESCAPE_CHARACTER = 11;
static readonly MULTILINE_TEXT = 12;
static readonly RULE_file = 0;

@@ -151,2 +152,3 @@ static readonly RULE_paragraph = 1;

TEMPLATE_BODY(): TerminalNode | undefined;
INLINE_MULTILINE(): TerminalNode | undefined;
NEWLINE(): TerminalNode | undefined;

@@ -153,0 +155,0 @@ MULTILINE_PREFIX(): TerminalNode | undefined;

@@ -416,5 +416,6 @@ "use strict";

try {
this.state = 81;
this.state = 82;
this._errHandler.sync(this);
switch (this._input.LA(1)) {
case LGFileParser.INLINE_MULTILINE:
case LGFileParser.MULTILINE_PREFIX:

@@ -425,3 +426,3 @@ case LGFileParser.TEMPLATE_BODY:

{
this.state = 75;
this.state = 76;
this._errHandler.sync(this);

@@ -435,8 +436,14 @@ switch (this._input.LA(1)) {

break;
case LGFileParser.INLINE_MULTILINE:
{
this.state = 66;
this.match(LGFileParser.INLINE_MULTILINE);
}
break;
case LGFileParser.MULTILINE_PREFIX:
{
{
this.state = 66;
this.state = 67;
this.match(LGFileParser.MULTILINE_PREFIX);
this.state = 68;
this.state = 69;
this._errHandler.sync(this);

@@ -447,3 +454,3 @@ _la = this._input.LA(1);

{
this.state = 67;
this.state = 68;
_la = this._input.LA(1);

@@ -462,7 +469,7 @@ if (!(_la === LGFileParser.ESCAPE_CHARACTER || _la === LGFileParser.MULTILINE_TEXT)) {

}
this.state = 70;
this.state = 71;
this._errHandler.sync(this);
_la = this._input.LA(1);
} while (_la === LGFileParser.ESCAPE_CHARACTER || _la === LGFileParser.MULTILINE_TEXT);
this.state = 73;
this.state = 74;
this._errHandler.sync(this);

@@ -472,3 +479,3 @@ _la = this._input.LA(1);

{
this.state = 72;
this.state = 73;
this.match(LGFileParser.MULTILINE_SUFFIX);

@@ -483,3 +490,3 @@ }

}
this.state = 78;
this.state = 79;
this._errHandler.sync(this);

@@ -489,3 +496,3 @@ switch (this.interpreter.adaptivePredict(this._input, 11, this._ctx)) {

{
this.state = 77;
this.state = 78;
this.match(LGFileParser.NEWLINE);

@@ -501,3 +508,3 @@ }

{
this.state = 80;
this.state = 81;
this.match(LGFileParser.NEWLINE);

@@ -537,8 +544,9 @@ }

LGFileParser.TEMPLATE_NAME_LINE = 5;
LGFileParser.MULTILINE_PREFIX = 6;
LGFileParser.TEMPLATE_BODY = 7;
LGFileParser.INVALID_LINE = 8;
LGFileParser.MULTILINE_SUFFIX = 9;
LGFileParser.ESCAPE_CHARACTER = 10;
LGFileParser.MULTILINE_TEXT = 11;
LGFileParser.INLINE_MULTILINE = 6;
LGFileParser.MULTILINE_PREFIX = 7;
LGFileParser.TEMPLATE_BODY = 8;
LGFileParser.INVALID_LINE = 9;
LGFileParser.MULTILINE_SUFFIX = 10;
LGFileParser.ESCAPE_CHARACTER = 11;
LGFileParser.MULTILINE_TEXT = 12;
LGFileParser.RULE_file = 0;

@@ -562,13 +570,13 @@ LGFileParser.RULE_paragraph = 1;

undefined, undefined, undefined, undefined, undefined, undefined, undefined,
undefined, undefined, "'```'",
undefined, undefined, undefined, "'```'",
];
LGFileParser._SYMBOLIC_NAMES = [
undefined, "NEWLINE", "OPTION", "COMMENT", "IMPORT", "TEMPLATE_NAME_LINE",
"MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE", "MULTILINE_SUFFIX",
"ESCAPE_CHARACTER", "MULTILINE_TEXT",
"INLINE_MULTILINE", "MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE",
"MULTILINE_SUFFIX", "ESCAPE_CHARACTER", "MULTILINE_TEXT",
];
LGFileParser.VOCABULARY = new VocabularyImpl_1.VocabularyImpl(LGFileParser._LITERAL_NAMES, LGFileParser._SYMBOLIC_NAMES, []);
LGFileParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03\rV\x04\x02\t" +
"\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t" +
"\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x03\x02\x06\x02\x18\n\x02" +
LGFileParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03\x0EW\x04\x02" +
"\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07" +
"\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x03\x02\x06\x02\x18\n\x02" +
"\r\x02\x0E\x02\x19\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03" +

@@ -578,31 +586,31 @@ "\x03\x03\x03\x03\x03\x05\x03%\n\x03\x03\x04\x03\x04\x05\x04)\n\x04\x03" +

"\x07\x05\x075\n\x07\x03\b\x03\b\x03\b\x03\t\x03\t\x05\t<\n\t\x03\n\x07" +
"\n?\n\n\f\n\x0E\nB\v\n\x03\v\x03\v\x03\v\x06\vG\n\v\r\v\x0E\vH\x03\v\x05" +
"\vL\n\v\x05\vN\n\v\x03\v\x05\vQ\n\v\x03\v\x05\vT\n\v\x03\v\x03\x19\x02" +
"\x02\f\x02\x02\x04\x02\x06\x02\b\x02\n\x02\f\x02\x0E\x02\x10\x02\x12\x02" +
"\x14\x02\x02\x03\x03\x02\f\r\x02]\x02\x17\x03\x02\x02\x02\x04$\x03\x02" +
"\x02\x02\x06&\x03\x02\x02\x02\b*\x03\x02\x02\x02\n.\x03\x02\x02\x02\f" +
"2\x03\x02\x02\x02\x0E6\x03\x02\x02\x02\x109\x03\x02\x02\x02\x12@\x03\x02" +
"\x02\x02\x14S\x03\x02\x02\x02\x16\x18\x05\x04\x03\x02\x17\x16\x03\x02" +
"\x02\x02\x18\x19\x03\x02\x02\x02\x19\x1A\x03\x02\x02\x02\x19\x17\x03\x02" +
"\x02\x02\x1A\x1B\x03\x02\x02\x02\x1B\x1C\x07\x02\x02\x03\x1C\x03\x03\x02" +
"\x02\x02\x1D%\x05\x0E\b\x02\x1E%\x05\b\x05\x02\x1F%\x05\n\x06\x02 %\x05" +
"\f\x07\x02!%\x05\x06\x04\x02\"%\x07\x03\x02\x02#%\x07\x02\x02\x03$\x1D" +
"\x03\x02\x02\x02$\x1E\x03\x02\x02\x02$\x1F\x03\x02\x02\x02$ \x03\x02\x02" +
"\x02$!\x03\x02\x02\x02$\"\x03\x02\x02\x02$#\x03\x02\x02\x02%\x05\x03\x02" +
"\x02\x02&(\x07\x05\x02\x02\')\x07\x03\x02\x02(\'\x03\x02\x02\x02()\x03" +
"\x02\x02\x02)\x07\x03\x02\x02\x02*,\x07\x06\x02\x02+-\x07\x03\x02\x02" +
",+\x03\x02\x02\x02,-\x03\x02\x02\x02-\t\x03\x02\x02\x02.0\x07\x04\x02" +
"\x02/1\x07\x03\x02\x020/\x03\x02\x02\x0201\x03\x02\x02\x021\v\x03\x02" +
"\x02\x0224\x07\n\x02\x0235\x07\x03\x02\x0243\x03\x02\x02\x0245\x03\x02" +
"\x02\x025\r\x03\x02\x02\x0267\x05\x10\t\x0278\x05\x12\n\x028\x0F\x03\x02" +
"\x02\x029;\x07\x07\x02\x02:<\x07\x03\x02\x02;:\x03\x02\x02\x02;<\x03\x02" +
"\x02\x02<\x11\x03\x02\x02\x02=?\x05\x14\v\x02>=\x03\x02\x02\x02?B\x03" +
"\x02\x02\x02@>\x03\x02\x02\x02@A\x03\x02\x02\x02A\x13\x03\x02\x02\x02" +
"B@\x03\x02\x02\x02CN\x07\t\x02\x02DF\x07\b\x02\x02EG\t\x02\x02\x02FE\x03" +
"\x02\x02\x02GH\x03\x02\x02\x02HF\x03\x02\x02\x02HI\x03\x02\x02\x02IK\x03" +
"\x02\x02\x02JL\x07\v\x02\x02KJ\x03\x02\x02\x02KL\x03\x02\x02\x02LN\x03" +
"\x02\x02\x02MC\x03\x02\x02\x02MD\x03\x02\x02\x02NP\x03\x02\x02\x02OQ\x07" +
"\x03\x02\x02PO\x03\x02\x02\x02PQ\x03\x02\x02\x02QT\x03\x02\x02\x02RT\x07" +
"\x03\x02\x02SM\x03\x02\x02\x02SR\x03\x02\x02\x02T\x15\x03\x02\x02\x02" +
"\x0F\x19$(,04;@HKMPS";
"\n?\n\n\f\n\x0E\nB\v\n\x03\v\x03\v\x03\v\x03\v\x06\vH\n\v\r\v\x0E\vI\x03" +
"\v\x05\vM\n\v\x05\vO\n\v\x03\v\x05\vR\n\v\x03\v\x05\vU\n\v\x03\v\x03\x19" +
"\x02\x02\f\x02\x02\x04\x02\x06\x02\b\x02\n\x02\f\x02\x0E\x02\x10\x02\x12" +
"\x02\x14\x02\x02\x03\x03\x02\r\x0E\x02_\x02\x17\x03\x02\x02\x02\x04$\x03" +
"\x02\x02\x02\x06&\x03\x02\x02\x02\b*\x03\x02\x02\x02\n.\x03\x02\x02\x02" +
"\f2\x03\x02\x02\x02\x0E6\x03\x02\x02\x02\x109\x03\x02\x02\x02\x12@\x03" +
"\x02\x02\x02\x14T\x03\x02\x02\x02\x16\x18\x05\x04\x03\x02\x17\x16\x03" +
"\x02\x02\x02\x18\x19\x03\x02\x02\x02\x19\x1A\x03\x02\x02\x02\x19\x17\x03" +
"\x02\x02\x02\x1A\x1B\x03\x02\x02\x02\x1B\x1C\x07\x02\x02\x03\x1C\x03\x03" +
"\x02\x02\x02\x1D%\x05\x0E\b\x02\x1E%\x05\b\x05\x02\x1F%\x05\n\x06\x02" +
" %\x05\f\x07\x02!%\x05\x06\x04\x02\"%\x07\x03\x02\x02#%\x07\x02\x02\x03" +
"$\x1D\x03\x02\x02\x02$\x1E\x03\x02\x02\x02$\x1F\x03\x02\x02\x02$ \x03" +
"\x02\x02\x02$!\x03\x02\x02\x02$\"\x03\x02\x02\x02$#\x03\x02\x02\x02%\x05" +
"\x03\x02\x02\x02&(\x07\x05\x02\x02\')\x07\x03\x02\x02(\'\x03\x02\x02\x02" +
"()\x03\x02\x02\x02)\x07\x03\x02\x02\x02*,\x07\x06\x02\x02+-\x07\x03\x02" +
"\x02,+\x03\x02\x02\x02,-\x03\x02\x02\x02-\t\x03\x02\x02\x02.0\x07\x04" +
"\x02\x02/1\x07\x03\x02\x020/\x03\x02\x02\x0201\x03\x02\x02\x021\v\x03" +
"\x02\x02\x0224\x07\v\x02\x0235\x07\x03\x02\x0243\x03\x02\x02\x0245\x03" +
"\x02\x02\x025\r\x03\x02\x02\x0267\x05\x10\t\x0278\x05\x12\n\x028\x0F\x03" +
"\x02\x02\x029;\x07\x07\x02\x02:<\x07\x03\x02\x02;:\x03\x02\x02\x02;<\x03" +
"\x02\x02\x02<\x11\x03\x02\x02\x02=?\x05\x14\v\x02>=\x03\x02\x02\x02?B" +
"\x03\x02\x02\x02@>\x03\x02\x02\x02@A\x03\x02\x02\x02A\x13\x03\x02\x02" +
"\x02B@\x03\x02\x02\x02CO\x07\n\x02\x02DO\x07\b\x02\x02EG\x07\t\x02\x02" +
"FH\t\x02\x02\x02GF\x03\x02\x02\x02HI\x03\x02\x02\x02IG\x03\x02\x02\x02" +
"IJ\x03\x02\x02\x02JL\x03\x02\x02\x02KM\x07\f\x02\x02LK\x03\x02\x02\x02" +
"LM\x03\x02\x02\x02MO\x03\x02\x02\x02NC\x03\x02\x02\x02ND\x03\x02\x02\x02" +
"NE\x03\x02\x02\x02OQ\x03\x02\x02\x02PR\x07\x03\x02\x02QP\x03\x02\x02\x02" +
"QR\x03\x02\x02\x02RU\x03\x02\x02\x02SU\x07\x03\x02\x02TN\x03\x02\x02\x02" +
"TS\x03\x02\x02\x02U\x15\x03\x02\x02\x02\x0F\x19$(,04;@ILNQT";
exports.LGFileParser = LGFileParser;

@@ -922,2 +930,3 @@ class FileContext extends ParserRuleContext_1.ParserRuleContext {

TEMPLATE_BODY() { return this.tryGetToken(LGFileParser.TEMPLATE_BODY, 0); }
INLINE_MULTILINE() { return this.tryGetToken(LGFileParser.INLINE_MULTILINE, 0); }
NEWLINE() { return this.tryGetToken(LGFileParser.NEWLINE, 0); }

@@ -924,0 +933,0 @@ MULTILINE_PREFIX() { return this.tryGetToken(LGFileParser.MULTILINE_PREFIX, 0); }

@@ -568,62 +568,62 @@ "use strict";

"\x02))^^\x03\x02))\x04\x02$$^^\x03\x02$$\x04\x02^^bb\x03\x02bb\x04\x02" +
"\f\f\x0F\x0F\t\x02\f\f\x0F\x0F$$))bb}}\x7F\x7F\x06\x02$$))bb\x7F\x7F\x04" +
"\x02/0aa\x02\u023D\x021\x03\x02\x02\x02\x023\x03\x02\x02\x02\x025\x03" +
"\x02\x02\x02\x027\x03\x02\x02\x02\x029\x03\x02\x02\x02\x02;\x03\x02\x02" +
"\x02\x03=\x03\x02\x02\x02\x03?\x03\x02\x02\x02\x03A\x03\x02\x02\x02\x03" +
"C\x03\x02\x02\x02\x03E\x03\x02\x02\x02\x03G\x03\x02\x02\x02\x03I\x03\x02" +
"\x02\x02\x03K\x03\x02\x02\x02\x03M\x03\x02\x02\x02\x03O\x03\x02\x02\x02" +
"\x03Q\x03\x02\x02\x02\x03S\x03\x02\x02\x02\x04U\x03\x02\x02\x02\x04W\x03" +
"\x02\x02\x02\x04Y\x03\x02\x02\x02\x04[\x03\x02\x02\x02\x05]\x03\x02\x02" +
"\x02\x05_\x03\x02\x02\x02\x05a\x03\x02\x02\x02\x05c\x03\x02\x02\x02\x06" +
"e\x03\x02\x02\x02\x06g\x03\x02\x02\x02\x06i\x03\x02\x02\x02\x06k\x03\x02" +
"\x02\x02\x06m\x03\x02\x02\x02\x06o\x03\x02\x02\x02\x06q\x03\x02\x02\x02" +
"\x06s\x03\x02\x02\x02\x06u\x03\x02\x02\x02\x06w\x03\x02\x02\x02\x07y\x03" +
"\x02\x02\x02\t{\x03\x02\x02\x02\v}\x03\x02\x02\x02\r\x7F\x03\x02\x02\x02" +
"\x0F\x81\x03\x02\x02\x02\x11\x83\x03\x02\x02\x02\x13\x85\x03\x02\x02\x02" +
"\x15\x87\x03\x02\x02\x02\x17\x89\x03\x02\x02\x02\x19\x8B\x03\x02\x02\x02" +
"\x1B\x8D\x03\x02\x02\x02\x1D\x8F\x03\x02\x02\x02\x1F\x91\x03\x02\x02\x02" +
"!\x93\x03\x02\x02\x02#\x95\x03\x02\x02\x02%\xAB\x03\x02\x02\x02\'\xAD" +
"\x03\x02\x02\x02)\xB8\x03\x02\x02\x02+\xBF\x03\x02\x02\x02-\xC9\x03\x02" +
"\x02\x02/\xDE\x03\x02\x02\x021\xEC\x03\x02\x02\x023\xF3\x03\x02\x02\x02" +
"5\xF9\x03\x02\x02\x027\u0102\x03\x02\x02\x029\u0107\x03\x02\x02\x02;\u010D" +
"\x03\x02\x02\x02=\u0111\x03\x02\x02\x02?\u0119\x03\x02\x02\x02A\u0123" +
"\x03\x02\x02\x02C\u012B\x03\x02\x02\x02E\u0137\x03\x02\x02\x02G\u014D" +
"\x03\x02\x02\x02I\u015B\x03\x02\x02\x02K\u016B\x03\x02\x02\x02M\u0179" +
"\x03\x02\x02\x02O\u018A\x03\x02\x02\x02Q\u018D\x03\x02\x02\x02S\u0191" +
"\x03\x02\x02\x02U\u0197\x03\x02\x02\x02W\u019F\x03\x02\x02\x02Y\u01A3" +
"\x03\x02\x02\x02[\u01AC\x03\x02\x02\x02]\u01B3\x03\x02\x02\x02_\u01BA" +
"\x03\x02\x02\x02a\u01C6\x03\x02\x02\x02c\u01D1\x03\x02\x02\x02e\u01D5" +
"\x03\x02\x02\x02g\u01E5\x03\x02\x02\x02i\u01EE\x03\x02\x02\x02k\u01F3" +
"\x03\x02\x02\x02m\u01FC\x03\x02\x02\x02o\u0209\x03\x02\x02\x02q\u020D" +
"\x03\x02\x02\x02s\u0210\x03\x02\x02\x02u\u0213\x03\x02\x02\x02w\u0217" +
"\x03\x02\x02\x02yz\t\x02\x02\x02z\b\x03\x02\x02\x02{|\t\x03\x02\x02|\n" +
"\x03\x02\x02\x02}~\t\x04\x02\x02~\f\x03\x02\x02\x02\x7F\x80\t\x05\x02" +
"\x02\x80\x0E\x03\x02\x02\x02\x81\x82\t\x06\x02\x02\x82\x10\x03\x02\x02" +
"\x02\x83\x84\t\x07\x02\x02\x84\x12\x03\x02\x02\x02\x85\x86\t\b\x02\x02" +
"\x86\x14\x03\x02\x02\x02\x87\x88\t\t\x02\x02\x88\x16\x03\x02\x02\x02\x89" +
"\x8A\t\n\x02\x02\x8A\x18\x03\x02\x02\x02\x8B\x8C\t\v\x02\x02\x8C\x1A\x03" +
"\x02\x02\x02\x8D\x8E\t\f\x02\x02\x8E\x1C\x03\x02\x02\x02\x8F\x90\t\r\x02" +
"\x02\x90\x1E\x03\x02\x02\x02\x91\x92\t\x0E\x02\x02\x92 \x03\x02\x02\x02" +
"\x93\x94\x042;\x02\x94\"\x03\x02\x02\x02\x95\x96\t\x0F\x02\x02\x96$\x03" +
"\x02\x02\x02\x97\x9D\x07)\x02\x02\x98\x99\x07^\x02\x02\x99\x9C\t\x10\x02" +
"\x02\x9A\x9C\n\x11\x02\x02\x9B\x98\x03\x02\x02\x02\x9B\x9A\x03\x02\x02" +
"\x02\x9C\x9F\x03\x02\x02\x02\x9D\x9E\x03\x02\x02\x02\x9D\x9B\x03\x02\x02" +
"\x02\x9E\xA0\x03\x02\x02\x02\x9F\x9D\x03\x02\x02\x02\xA0\xAC\x07)\x02" +
"\x02\xA1\xA7\x07$\x02\x02\xA2\xA3\x07^\x02\x02\xA3\xA6\t\x12\x02\x02\xA4" +
"\xA6\n\x13\x02\x02\xA5\xA2\x03\x02\x02\x02\xA5\xA4\x03\x02\x02\x02\xA6" +
"\xA9\x03\x02\x02\x02\xA7\xA8\x03\x02\x02\x02\xA7\xA5\x03\x02\x02\x02\xA8" +
"\xAA\x03\x02\x02\x02\xA9\xA7\x03\x02\x02\x02\xAA\xAC\x07$\x02\x02\xAB" +
"\x97\x03\x02\x02\x02\xAB\xA1\x03\x02\x02\x02\xAC&\x03\x02\x02\x02\xAD" +
"\xB3\x07b\x02\x02\xAE\xAF\x07^\x02\x02\xAF\xB2\t\x14\x02\x02\xB0\xB2\n" +
"\x15\x02\x02\xB1\xAE\x03\x02\x02\x02\xB1\xB0\x03\x02\x02\x02\xB2\xB5\x03" +
"\x02\x02\x02\xB3\xB4\x03\x02\x02\x02\xB3\xB1\x03\x02\x02\x02\xB4\xB6\x03" +
"\x02\x02\x02\xB5\xB3\x03\x02\x02\x02\xB6\xB7\x07b\x02\x02\xB7(\x03\x02" +
"\x02\x02\xB8\xBA\x07^\x02\x02\xB9\xBB\n\x16\x02\x02\xBA\xB9\x03\x02\x02" +
"\x02\xBA\xBB\x03\x02\x02\x02\xBB*\x03\x02\x02\x02\xBC\xC0\x05\x1F\x0E" +
"\x02\xBD\xC0\x05!\x0F\x02\xBE\xC0\x07a\x02\x02\xBF\xBC\x03\x02\x02\x02" +
"\xBF\xBD\x03\x02\x02\x02\xBF\xBE\x03\x02\x02\x02\xC0\xC6\x03\x02\x02\x02" +
"\xC1\xC5\x05\x1F\x0E\x02\xC2\xC5\x05!\x0F\x02\xC3\xC5\x07a\x02\x02\xC4" +
"\xC1\x03\x02\x02\x02\xC4\xC2\x03\x02\x02\x02\xC4\xC3\x03\x02\x02\x02\xC5" +
"\xC8\x03\x02\x02\x02\xC6\xC4\x03\x02\x02\x02\xC6\xC7\x03\x02\x02\x02\xC7" +
",\x03\x02\x02\x02\xC8\xC6\x03\x02\x02\x02\xC9\xD9\x07}\x02\x02\xCA\xD8" +
"\f\f\x0F\x0F\x07\x02$$))bb}}\x7F\x7F\x06\x02$$))bb\x7F\x7F\x04\x02/0a" +
"a\x02\u023D\x021\x03\x02\x02\x02\x023\x03\x02\x02\x02\x025\x03\x02\x02" +
"\x02\x027\x03\x02\x02\x02\x029\x03\x02\x02\x02\x02;\x03\x02\x02\x02\x03" +
"=\x03\x02\x02\x02\x03?\x03\x02\x02\x02\x03A\x03\x02\x02\x02\x03C\x03\x02" +
"\x02\x02\x03E\x03\x02\x02\x02\x03G\x03\x02\x02\x02\x03I\x03\x02\x02\x02" +
"\x03K\x03\x02\x02\x02\x03M\x03\x02\x02\x02\x03O\x03\x02\x02\x02\x03Q\x03" +
"\x02\x02\x02\x03S\x03\x02\x02\x02\x04U\x03\x02\x02\x02\x04W\x03\x02\x02" +
"\x02\x04Y\x03\x02\x02\x02\x04[\x03\x02\x02\x02\x05]\x03\x02\x02\x02\x05" +
"_\x03\x02\x02\x02\x05a\x03\x02\x02\x02\x05c\x03\x02\x02\x02\x06e\x03\x02" +
"\x02\x02\x06g\x03\x02\x02\x02\x06i\x03\x02\x02\x02\x06k\x03\x02\x02\x02" +
"\x06m\x03\x02\x02\x02\x06o\x03\x02\x02\x02\x06q\x03\x02\x02\x02\x06s\x03" +
"\x02\x02\x02\x06u\x03\x02\x02\x02\x06w\x03\x02\x02\x02\x07y\x03\x02\x02" +
"\x02\t{\x03\x02\x02\x02\v}\x03\x02\x02\x02\r\x7F\x03\x02\x02\x02\x0F\x81" +
"\x03\x02\x02\x02\x11\x83\x03\x02\x02\x02\x13\x85\x03\x02\x02\x02\x15\x87" +
"\x03\x02\x02\x02\x17\x89\x03\x02\x02\x02\x19\x8B\x03\x02\x02\x02\x1B\x8D" +
"\x03\x02\x02\x02\x1D\x8F\x03\x02\x02\x02\x1F\x91\x03\x02\x02\x02!\x93" +
"\x03\x02\x02\x02#\x95\x03\x02\x02\x02%\xAB\x03\x02\x02\x02\'\xAD\x03\x02" +
"\x02\x02)\xB8\x03\x02\x02\x02+\xBF\x03\x02\x02\x02-\xC9\x03\x02\x02\x02" +
"/\xDE\x03\x02\x02\x021\xEC\x03\x02\x02\x023\xF3\x03\x02\x02\x025\xF9\x03" +
"\x02\x02\x027\u0102\x03\x02\x02\x029\u0107\x03\x02\x02\x02;\u010D\x03" +
"\x02\x02\x02=\u0111\x03\x02\x02\x02?\u0119\x03\x02\x02\x02A\u0123\x03" +
"\x02\x02\x02C\u012B\x03\x02\x02\x02E\u0137\x03\x02\x02\x02G\u014D\x03" +
"\x02\x02\x02I\u015B\x03\x02\x02\x02K\u016B\x03\x02\x02\x02M\u0179\x03" +
"\x02\x02\x02O\u018A\x03\x02\x02\x02Q\u018D\x03\x02\x02\x02S\u0191\x03" +
"\x02\x02\x02U\u0197\x03\x02\x02\x02W\u019F\x03\x02\x02\x02Y\u01A3\x03" +
"\x02\x02\x02[\u01AC\x03\x02\x02\x02]\u01B3\x03\x02\x02\x02_\u01BA\x03" +
"\x02\x02\x02a\u01C6\x03\x02\x02\x02c\u01D1\x03\x02\x02\x02e\u01D5\x03" +
"\x02\x02\x02g\u01E5\x03\x02\x02\x02i\u01EE\x03\x02\x02\x02k\u01F3\x03" +
"\x02\x02\x02m\u01FC\x03\x02\x02\x02o\u0209\x03\x02\x02\x02q\u020D\x03" +
"\x02\x02\x02s\u0210\x03\x02\x02\x02u\u0213\x03\x02\x02\x02w\u0217\x03" +
"\x02\x02\x02yz\t\x02\x02\x02z\b\x03\x02\x02\x02{|\t\x03\x02\x02|\n\x03" +
"\x02\x02\x02}~\t\x04\x02\x02~\f\x03\x02\x02\x02\x7F\x80\t\x05\x02\x02" +
"\x80\x0E\x03\x02\x02\x02\x81\x82\t\x06\x02\x02\x82\x10\x03\x02\x02\x02" +
"\x83\x84\t\x07\x02\x02\x84\x12\x03\x02\x02\x02\x85\x86\t\b\x02\x02\x86" +
"\x14\x03\x02\x02\x02\x87\x88\t\t\x02\x02\x88\x16\x03\x02\x02\x02\x89\x8A" +
"\t\n\x02\x02\x8A\x18\x03\x02\x02\x02\x8B\x8C\t\v\x02\x02\x8C\x1A\x03\x02" +
"\x02\x02\x8D\x8E\t\f\x02\x02\x8E\x1C\x03\x02\x02\x02\x8F\x90\t\r\x02\x02" +
"\x90\x1E\x03\x02\x02\x02\x91\x92\t\x0E\x02\x02\x92 \x03\x02\x02\x02\x93" +
"\x94\x042;\x02\x94\"\x03\x02\x02\x02\x95\x96\t\x0F\x02\x02\x96$\x03\x02" +
"\x02\x02\x97\x9D\x07)\x02\x02\x98\x99\x07^\x02\x02\x99\x9C\t\x10\x02\x02" +
"\x9A\x9C\n\x11\x02\x02\x9B\x98\x03\x02\x02\x02\x9B\x9A\x03\x02\x02\x02" +
"\x9C\x9F\x03\x02\x02\x02\x9D\x9E\x03\x02\x02\x02\x9D\x9B\x03\x02\x02\x02" +
"\x9E\xA0\x03\x02\x02\x02\x9F\x9D\x03\x02\x02\x02\xA0\xAC\x07)\x02\x02" +
"\xA1\xA7\x07$\x02\x02\xA2\xA3\x07^\x02\x02\xA3\xA6\t\x12\x02\x02\xA4\xA6" +
"\n\x13\x02\x02\xA5\xA2\x03\x02\x02\x02\xA5\xA4\x03\x02\x02\x02\xA6\xA9" +
"\x03\x02\x02\x02\xA7\xA8\x03\x02\x02\x02\xA7\xA5\x03\x02\x02\x02\xA8\xAA" +
"\x03\x02\x02\x02\xA9\xA7\x03\x02\x02\x02\xAA\xAC\x07$\x02\x02\xAB\x97" +
"\x03\x02\x02\x02\xAB\xA1\x03\x02\x02\x02\xAC&\x03\x02\x02\x02\xAD\xB3" +
"\x07b\x02\x02\xAE\xAF\x07^\x02\x02\xAF\xB2\t\x14\x02\x02\xB0\xB2\n\x15" +
"\x02\x02\xB1\xAE\x03\x02\x02\x02\xB1\xB0\x03\x02\x02\x02\xB2\xB5\x03\x02" +
"\x02\x02\xB3\xB4\x03\x02\x02\x02\xB3\xB1\x03\x02\x02\x02\xB4\xB6\x03\x02" +
"\x02\x02\xB5\xB3\x03\x02\x02\x02\xB6\xB7\x07b\x02\x02\xB7(\x03\x02\x02" +
"\x02\xB8\xBA\x07^\x02\x02\xB9\xBB\n\x16\x02\x02\xBA\xB9\x03\x02\x02\x02" +
"\xBA\xBB\x03\x02\x02\x02\xBB*\x03\x02\x02\x02\xBC\xC0\x05\x1F\x0E\x02" +
"\xBD\xC0\x05!\x0F\x02\xBE\xC0\x07a\x02\x02\xBF\xBC\x03\x02\x02\x02\xBF" +
"\xBD\x03\x02\x02\x02\xBF\xBE\x03\x02\x02\x02\xC0\xC6\x03\x02\x02\x02\xC1" +
"\xC5\x05\x1F\x0E\x02\xC2\xC5\x05!\x0F\x02\xC3\xC5\x07a\x02\x02\xC4\xC1" +
"\x03\x02\x02\x02\xC4\xC2\x03\x02\x02\x02\xC4\xC3\x03\x02\x02\x02\xC5\xC8" +
"\x03\x02\x02\x02\xC6\xC4\x03\x02\x02\x02\xC6\xC7\x03\x02\x02\x02\xC7," +
"\x03\x02\x02\x02\xC8\xC6\x03\x02\x02\x02\xC9\xD9\x07}\x02\x02\xCA\xD8" +
"\x05#\x10\x02\xCB\xCE\x05+\x14\x02\xCC\xCE\x05%\x11\x02\xCD\xCB\x03\x02" +

@@ -771,7 +771,7 @@ "\x02\x02\xCD\xCC\x03\x02\x02\x02\xCE\xCF\x03\x02\x02\x02\xCF\xD3\x07<" +

"\u01D9\u01DD\u01E7\u01EE\u01FC\u0201\u0203\u0219#\b\x02\x02\x03\x1A\x02" +
"\x07\x03\x02\x03\x1B\x03\x07\x05\x02\x03";
LGTemplateLexer._serializedATNSegment1 = "\x1C\x04\x03\x1E\x05\x07\x04\x02\x03\x1F\x06\x06\x02\x02\x03 \x07\x03" +
"!\b\x03\"\t\x03#\n\x03$\v\x03%\f\x03&\r\x03\'\x0E\x03(\x0F\x03)\x10\t" +
"\x12\x02\t\x13\x02\t\x14\x02\x03.\x11\x03.\x12\x07\x06\x02\x033\x13\x03" +
"5\x14\x036\x15\x037\x16\x038\x17\x039\x18\x03:\x19";
"\x07\x03\x02\x03\x1B\x03\x07\x05\x02\x03\x1C\x04\x03\x1E";
LGTemplateLexer._serializedATNSegment1 = "\x05\x07\x04\x02\x03\x1F\x06\x06\x02\x02\x03 \x07\x03!\b\x03\"\t\x03#" +
"\n\x03$\v\x03%\f\x03&\r\x03\'\x0E\x03(\x0F\x03)\x10\t\x12\x02\t\x13\x02" +
"\t\x14\x02\x03.\x11\x03.\x12\x07\x06\x02\x033\x13\x035\x14\x036\x15\x03" +
"7\x16\x038\x17\x039\x18\x03:\x19";
LGTemplateLexer._serializedATN = Utils.join([

@@ -778,0 +778,0 @@ LGTemplateLexer._serializedATNSegment0,

@@ -175,4 +175,3 @@ /**

private getGlobalFunctionTable;
private readonly globalTemplateFunction;
}
//# sourceMappingURL=templates.d.ts.map

@@ -22,2 +22,3 @@ "use strict";

const staticChecker_1 = require("./staticChecker");
const customizedMemory_1 = require("./customizedMemory");
/**

@@ -32,7 +33,2 @@ * LG entrance, including properties that LG file has, and evaluate functions.

this.exportsKey = '@exports';
this.globalTemplateFunction = (templateName) => (args) => {
const evaluator = new evaluator_1.Evaluator(this.allTemplates, this.expressionParser, this.lgOptions);
const newScope = evaluator.constructScope(templateName, args);
return evaluator.evaluateTemplate(templateName, newScope);
};
this.items = items || [];

@@ -369,3 +365,22 @@ this.imports = imports || [];

const newGlobalName = `${curTemplates.namespace}.${templateName}`;
adaptive_expressions_1.Expression.functions.add(newGlobalName, new adaptive_expressions_1.ExpressionEvaluator(newGlobalName, adaptive_expressions_1.FunctionUtils.apply(this.globalTemplateFunction(templateName)), adaptive_expressions_1.ReturnType.Object));
adaptive_expressions_1.Expression.functions.add(newGlobalName, new adaptive_expressions_1.ExpressionEvaluator(newGlobalName, (expr, state, options) => {
let value;
let error;
let args;
const evaluator = new evaluator_1.Evaluator(this.allTemplates, this.expressionParser, this.lgOptions);
({ args, error } = adaptive_expressions_1.FunctionUtils.evaluateChildren(expr, state, options));
if (!error) {
const parameters = evaluator.templateMap[templateName].parameters;
const newScope = {};
parameters.map((e, i) => newScope[e] = args[i]);
const scope = new customizedMemory_1.CustomizedMemory(state, new adaptive_expressions_1.SimpleObjectMemory(newScope));
try {
value = evaluator.evaluateTemplate(templateName, scope);
}
catch (e) {
error = e.message;
}
}
return { value, error };
}, adaptive_expressions_1.ReturnType.Object));
}

@@ -372,0 +387,0 @@ }

@@ -5,3 +5,3 @@ {

"description": "Bot Builder Language Generation is a library to help build sophisticated bot responses with multiple phrases and context-based expressions.",
"version": "4.11.0-dev.20200901.8b7db50",
"version": "4.11.0-dev.20200902.4a95911",
"license": "MIT",

@@ -23,3 +23,3 @@ "keywords": [

"dependencies": {
"adaptive-expressions": "4.11.0-dev.20200901.8b7db50",
"adaptive-expressions": "4.11.0-dev.20200902.4a95911",
"antlr4ts": "0.5.0-alpha.3",

@@ -44,3 +44,3 @@ "lodash": "^4.17.19",

"clean": "erase /q /s .\\lib",
"set-version": "npm version --allow-same-version 4.11.0-dev.20200901.8b7db50",
"set-version": "npm version --allow-same-version 4.11.0-dev.20200902.4a95911",
"test": "tsc && mocha tests/ --timeout 60000",

@@ -47,0 +47,0 @@ "antlr-build": "antlr4ts src/LGFileLexer.g4 -o src/generated && antlr4ts src/LGFileParser.g4 -visitor -o src/generated && antlr4ts src/LGTemplateLexer.g4 -o src/generated && antlr4ts src/LGTemplateParser.g4 -visitor -o src/generated"

@@ -42,3 +42,3 @@ /**

const value = this.localMemory.getValue(path);
if (value) {
if (value !== undefined) {
return value;

@@ -71,3 +71,3 @@ }

const localVersion = this.localMemory.version();
if (localVersion) {
if (localVersion !== undefined) {
result = result.concat(localVersion);

@@ -74,0 +74,0 @@ }

@@ -241,3 +241,3 @@ /**

const parameters: string[] = this.templateMap[templateName].parameters;
const currentScope: any = this.evaluationTargetStack.length > 0 ? this.currentTarget().scope : new CustomizedMemory(undefined);
const currentScope: any = this.currentTarget().scope;

@@ -244,0 +244,0 @@ if (args.length === 0) {

@@ -31,8 +31,9 @@ // Generated from src/LGFileLexer.g4 by ANTLR 4.7.3-SNAPSHOT

public static readonly TEMPLATE_NAME_LINE = 5;
public static readonly MULTILINE_PREFIX = 6;
public static readonly TEMPLATE_BODY = 7;
public static readonly INVALID_LINE = 8;
public static readonly MULTILINE_SUFFIX = 9;
public static readonly ESCAPE_CHARACTER = 10;
public static readonly MULTILINE_TEXT = 11;
public static readonly INLINE_MULTILINE = 6;
public static readonly MULTILINE_PREFIX = 7;
public static readonly TEMPLATE_BODY = 8;
public static readonly INVALID_LINE = 9;
public static readonly MULTILINE_SUFFIX = 10;
public static readonly ESCAPE_CHARACTER = 11;
public static readonly MULTILINE_TEXT = 12;
public static readonly MULTILINE_MODE = 1;

@@ -52,4 +53,4 @@

"WHITESPACE", "NEWLINE", "OPTION", "COMMENT", "IMPORT", "TEMPLATE_NAME_LINE",
"MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE", "MULTILINE_SUFFIX",
"ESCAPE_CHARACTER", "MULTILINE_TEXT",
"INLINE_MULTILINE", "MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE",
"MULTILINE_SUFFIX", "ESCAPE_CHARACTER", "MULTILINE_TEXT",
];

@@ -59,8 +60,8 @@

undefined, undefined, undefined, undefined, undefined, undefined, undefined,
undefined, undefined, "'```'",
undefined, undefined, undefined, "'```'",
];
private static readonly _SYMBOLIC_NAMES: Array<string | undefined> = [
undefined, "NEWLINE", "OPTION", "COMMENT", "IMPORT", "TEMPLATE_NAME_LINE",
"MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE", "MULTILINE_SUFFIX",
"ESCAPE_CHARACTER", "MULTILINE_TEXT",
"INLINE_MULTILINE", "MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE",
"MULTILINE_SUFFIX", "ESCAPE_CHARACTER", "MULTILINE_TEXT",
];

@@ -131,8 +132,11 @@ public static readonly VOCABULARY: Vocabulary = new VocabularyImpl(LGFileLexer._LITERAL_NAMES, LGFileLexer._SYMBOLIC_NAMES, []);

case 6:
return this.INLINE_MULTILINE_sempred(_localctx, predIndex);
case 7:
return this.MULTILINE_PREFIX_sempred(_localctx, predIndex);
case 7:
case 8:
return this.TEMPLATE_BODY_sempred(_localctx, predIndex);
case 8:
case 9:
return this.INVALID_LINE_sempred(_localctx, predIndex);

@@ -170,3 +174,3 @@ }

}
private MULTILINE_PREFIX_sempred(_localctx: RuleContext, predIndex: number): boolean {
private INLINE_MULTILINE_sempred(_localctx: RuleContext, predIndex: number): boolean {
switch (predIndex) {

@@ -178,5 +182,12 @@ case 4:

}
private MULTILINE_PREFIX_sempred(_localctx: RuleContext, predIndex: number): boolean {
switch (predIndex) {
case 5:
return this.startTemplate && this._tokenStartCharPositionInLine == 0 ;
}
return true;
}
private TEMPLATE_BODY_sempred(_localctx: RuleContext, predIndex: number): boolean {
switch (predIndex) {
case 5:
case 6:
return this.startTemplate ;

@@ -188,3 +199,3 @@ }

switch (predIndex) {
case 6:
case 7:
return !this.startTemplate ;

@@ -196,76 +207,96 @@ }

public static readonly _serializedATN: string =
"\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02\r\xA9\b\x01\b" +
"\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t" +
"\x06\x04\x07\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\x03\x02\x03\x02\x03\x03\x05\x03 \n\x03\x03\x03\x03\x03\x03\x04" +
"\x07\x04%\n\x04\f\x04\x0E\x04(\v\x04\x03\x04\x03\x04\x07\x04,\n\x04\f" +
"\x04\x0E\x04/\v\x04\x03\x04\x03\x04\x03\x04\x03\x04\x06\x045\n\x04\r\x04" +
"\x0E\x046\x03\x04\x03\x04\x03\x05\x07\x05<\n\x05\f\x05\x0E\x05?\v\x05" +
"\x03\x05\x03\x05\x07\x05C\n\x05\f\x05\x0E\x05F\v\x05\x03\x05\x03\x05\x03" +
"\x06\x07\x06K\n\x06\f\x06\x0E\x06N\v\x06\x03\x06\x03\x06\x07\x06R\n\x06" +
"\f\x06\x0E\x06U\v\x06\x03\x06\x03\x06\x03\x06\x07\x06Z\n\x06\f\x06\x0E" +
"\x06]\v\x06\x03\x06\x03\x06\x07\x06a\n\x06\f\x06\x0E\x06d\v\x06\x03\x06" +
"\x03\x06\x03\x07\x07\x07i\n\x07\f\x07\x0E\x07l\v\x07\x03\x07\x03\x07\x07" +
"\x07p\n\x07\f\x07\x0E\x07s\v\x07\x03\x07\x03\x07\x03\x07\x03\b\x07\by" +
"\n\b\f\b\x0E\b|\v\b\x03\b\x03\b\x07\b\x80\n\b\f\b\x0E\b\x83\v\b\x03\b" +
"\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\t\x06\t\x8E\n\t\r\t\x0E" +
"\t\x8F\x03\t\x03\t\x03\n\x06\n\x95\n\n\r\n\x0E\n\x96\x03\n\x03\n\x03\v" +
"\x03\v\x03\v\x03\v\x03\v\x03\v\x03\f\x03\f\x05\f\xA3\n\f\x03\r\x06\r\xA6" +
"\n\r\r\r\x0E\r\xA7\x05S[\xA7\x02\x02\x0E\x04\x02\x02\x06\x02\x03\b\x02" +
"\x04\n\x02\x05\f\x02\x06\x0E\x02\x07\x10\x02\b\x12\x02\t\x14\x02\n\x16" +
"\x02\v\x18\x02\f\x1A\x02\r\x04\x02\x03\x06\x06\x02\v\v\"\"\xA2\xA2\uFF01" +
"\uFF01\x04\x02\f\f\x0F\x0F\x06\x02\f\f\x0F\x0F]]__\x05\x02\f\f\x0F\x0F" +
"*+\x02\xB8\x02\x06\x03\x02\x02\x02\x02\b\x03\x02\x02\x02\x02\n\x03\x02" +
"\x02\x02\x02\f\x03\x02\x02\x02\x02\x0E\x03\x02\x02\x02\x02\x10\x03\x02" +
"\x02\x02\x02\x12\x03\x02\x02\x02\x02\x14\x03\x02\x02\x02\x03\x16\x03\x02" +
"\x02\x02\x03\x18\x03\x02\x02\x02\x03\x1A\x03\x02\x02\x02\x04\x1C\x03\x02" +
"\x02\x02\x06\x1F\x03\x02\x02\x02\b&\x03\x02\x02\x02\n=\x03\x02\x02\x02" +
"\fL\x03\x02\x02\x02\x0Ej\x03\x02\x02\x02\x10z\x03\x02\x02\x02\x12\x8D" +
"\x03\x02\x02\x02\x14\x94\x03\x02\x02\x02\x16\x9A\x03\x02\x02\x02\x18\xA0" +
"\x03\x02\x02\x02\x1A\xA5\x03\x02\x02\x02\x1C\x1D\t\x02\x02\x02\x1D\x05" +
"\x03\x02\x02\x02\x1E \x07\x0F\x02\x02\x1F\x1E\x03\x02\x02\x02\x1F \x03" +
"\x02\x02\x02 !\x03\x02\x02\x02!\"\x07\f\x02\x02\"\x07\x03\x02\x02\x02" +
"#%\x05\x04\x02\x02$#\x03\x02\x02\x02%(\x03\x02\x02\x02&$\x03\x02\x02\x02" +
"&\'\x03\x02\x02\x02\')\x03\x02\x02\x02(&\x03\x02\x02\x02)-\x07@\x02\x02" +
"*,\x05\x04\x02\x02+*\x03\x02\x02\x02,/\x03\x02\x02\x02-+\x03\x02\x02\x02" +
"-.\x03\x02\x02\x02.0\x03\x02\x02\x02/-\x03\x02\x02\x0201\x07#\x02\x02" +
"12\x07%\x02\x0224\x03\x02\x02\x0235\n\x03\x02\x0243\x03\x02\x02\x0256" +
"\x03\x02\x02\x0264\x03\x02\x02\x0267\x03\x02\x02\x0278\x03\x02\x02\x02" +
"89\x06\x04\x02\x029\t\x03\x02\x02\x02:<\x05\x04\x02\x02;:\x03\x02\x02" +
"\x02<?\x03\x02\x02\x02=;\x03\x02\x02\x02=>\x03\x02\x02\x02>@\x03\x02\x02" +
"\x02?=\x03\x02\x02\x02@D\x07@\x02\x02AC\n\x03\x02\x02BA\x03\x02\x02\x02" +
"CF\x03\x02\x02\x02DB\x03\x02\x02\x02DE\x03\x02\x02\x02EG\x03\x02\x02\x02" +
"FD\x03\x02\x02\x02GH\x06\x05\x03\x02H\v\x03\x02\x02\x02IK\x05\x04\x02" +
"\x02JI\x03\x02\x02\x02KN\x03\x02\x02\x02LJ\x03\x02\x02\x02LM\x03\x02\x02" +
"\x02MO\x03\x02\x02\x02NL\x03\x02\x02\x02OS\x07]\x02\x02PR\n\x04\x02\x02" +
"QP\x03\x02\x02\x02RU\x03\x02\x02\x02ST\x03\x02\x02\x02SQ\x03\x02\x02\x02" +
"TV\x03\x02\x02\x02US\x03\x02\x02\x02VW\x07_\x02\x02W[\x07*\x02\x02XZ\n" +
"\x05\x02\x02YX\x03\x02\x02\x02Z]\x03\x02\x02\x02[\\\x03\x02\x02\x02[Y" +
"\x03\x02\x02\x02\\^\x03\x02\x02\x02][\x03\x02\x02\x02^b\x07+\x02\x02_" +
"a\x05\x04\x02\x02`_\x03\x02\x02\x02ad\x03\x02\x02\x02b`\x03\x02\x02\x02" +
"bc\x03\x02\x02\x02ce\x03\x02\x02\x02db\x03\x02\x02\x02ef\x06\x06\x04\x02" +
"f\r\x03\x02\x02\x02gi\x05\x04\x02\x02hg\x03\x02\x02\x02il\x03\x02\x02" +
"\x02jh\x03\x02\x02\x02jk\x03\x02\x02\x02km\x03\x02\x02\x02lj\x03\x02\x02" +
"\x02mq\x07%\x02\x02np\n\x03\x02\x02on\x03\x02\x02\x02ps\x03\x02\x02\x02" +
"qo\x03\x02\x02\x02qr\x03\x02\x02\x02rt\x03\x02\x02\x02sq\x03\x02\x02\x02" +
"tu\x06\x07\x05\x02uv\b\x07\x02\x02v\x0F\x03\x02\x02\x02wy\x05\x04\x02" +
"\x02xw\x03\x02\x02\x02y|\x03\x02\x02\x02zx\x03\x02\x02\x02z{\x03\x02\x02" +
"\x02{}\x03\x02\x02\x02|z\x03\x02\x02\x02}\x81\x07/\x02\x02~\x80\x05\x04" +
"\x02\x02\x7F~\x03\x02\x02\x02\x80\x83\x03\x02\x02\x02\x81\x7F\x03\x02" +
"\x02\x02\x81\x82\x03\x02\x02\x02\x82\x84\x03\x02\x02\x02\x83\x81\x03\x02" +
"\x02\x02\x84\x85\x07b\x02\x02\x85\x86\x07b\x02\x02\x86\x87\x07b\x02\x02" +
"\x87\x88\x03\x02\x02\x02\x88\x89\x06\b\x06\x02\x89\x8A\x03\x02\x02\x02" +
"\x8A\x8B\b\b\x03\x02\x8B\x11\x03\x02\x02\x02\x8C\x8E\n\x03\x02\x02\x8D" +
"\x8C\x03\x02\x02\x02\x8E\x8F\x03\x02\x02\x02\x8F\x8D\x03\x02\x02\x02\x8F" +
"\x90\x03\x02\x02\x02\x90\x91\x03\x02\x02\x02\x91\x92\x06\t\x07\x02\x92" +
"\x13\x03\x02\x02\x02\x93\x95\n\x03\x02\x02\x94\x93\x03\x02\x02\x02\x95" +
"\x96\x03\x02\x02\x02\x96\x94\x03\x02\x02\x02\x96\x97\x03\x02\x02\x02\x97" +
"\x98\x03\x02\x02\x02\x98\x99\x06\n\b\x02\x99\x15\x03\x02\x02\x02\x9A\x9B" +
"\x07b\x02\x02\x9B\x9C\x07b\x02\x02\x9C\x9D\x07b\x02\x02\x9D\x9E\x03\x02" +
"\x02\x02\x9E\x9F\b\v\x04\x02\x9F\x17\x03\x02\x02\x02\xA0\xA2\x07^\x02" +
"\x02\xA1\xA3\n\x03\x02\x02\xA2\xA1\x03\x02\x02\x02\xA2\xA3\x03\x02\x02" +
"\x02\xA3\x19\x03\x02\x02\x02\xA4\xA6\v\x02\x02\x02\xA5\xA4\x03\x02\x02" +
"\x02\xA6\xA7\x03\x02\x02\x02\xA7\xA8\x03\x02\x02\x02\xA7\xA5\x03\x02\x02" +
"\x02\xA8\x1B\x03\x02\x02\x02\x16\x02\x03\x1F&-6=DLS[bjqz\x81\x8F\x96\xA2" +
"\xA7\x05\x03\x07\x02\x07\x03\x02\x06\x02\x02";
"\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02\x0E\xD4\b\x01" +
"\b\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06" +
"\t\x06\x04\x07\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\x0E\t\x0E\x03\x02\x03\x02\x03\x03\x05\x03\"\n\x03\x03\x03" +
"\x03\x03\x03\x04\x07\x04\'\n\x04\f\x04\x0E\x04*\v\x04\x03\x04\x03\x04" +
"\x07\x04.\n\x04\f\x04\x0E\x041\v\x04\x03\x04\x03\x04\x03\x04\x03\x04\x06" +
"\x047\n\x04\r\x04\x0E\x048\x03\x04\x03\x04\x03\x05\x07\x05>\n\x05\f\x05" +
"\x0E\x05A\v\x05\x03\x05\x03\x05\x07\x05E\n\x05\f\x05\x0E\x05H\v\x05\x03" +
"\x05\x03\x05\x03\x06\x07\x06M\n\x06\f\x06\x0E\x06P\v\x06\x03\x06\x03\x06" +
"\x07\x06T\n\x06\f\x06\x0E\x06W\v\x06\x03\x06\x03\x06\x03\x06\x07\x06\\" +
"\n\x06\f\x06\x0E\x06_\v\x06\x03\x06\x03\x06\x07\x06c\n\x06\f\x06\x0E\x06" +
"f\v\x06\x03\x06\x03\x06\x03\x07\x07\x07k\n\x07\f\x07\x0E\x07n\v\x07\x03" +
"\x07\x03\x07\x07\x07r\n\x07\f\x07\x0E\x07u\v\x07\x03\x07\x03\x07\x03\x07" +
"\x03\b\x07\b{\n\b\f\b\x0E\b~\v\b\x03\b\x03\b\x07\b\x82\n\b\f\b\x0E\b\x85" +
"\v\b\x03\b\x03\b\x03\b\x03\b\x03\b\x07\b\x8C\n\b\f\b\x0E\b\x8F\v\b\x03" +
"\b\x03\b\x03\b\x03\b\x03\b\x07\b\x96\n\b\f\b\x0E\b\x99\v\b\x03\b\x03\b" +
"\x03\t\x07\t\x9E\n\t\f\t\x0E\t\xA1\v\t\x03\t\x03\t\x07\t\xA5\n\t\f\t\x0E" +
"\t\xA8\v\t\x03\t\x03\t\x03\t\x03\t\x03\t\x07\t\xAF\n\t\f\t\x0E\t\xB2\v" +
"\t\x03\t\x03\t\x03\t\x03\t\x03\n\x06\n\xB9\n\n\r\n\x0E\n\xBA\x03\n\x03" +
"\n\x03\v\x06\v\xC0\n\v\r\v\x0E\v\xC1\x03\v\x03\v\x03\f\x03\f\x03\f\x03" +
"\f\x03\f\x03\f\x03\r\x03\r\x05\r\xCE\n\r\x03\x0E\x06\x0E\xD1\n\x0E\r\x0E" +
"\x0E\x0E\xD2\x05U]\xD2\x02\x02\x0F\x04\x02\x02\x06\x02\x03\b\x02\x04\n" +
"\x02\x05\f\x02\x06\x0E\x02\x07\x10\x02\b\x12\x02\t\x14\x02\n\x16\x02\v" +
"\x18\x02\f\x1A\x02\r\x1C\x02\x0E\x04\x02\x03\x06\x06\x02\v\v\"\"\xA2\xA2" +
"\uFF01\uFF01\x04\x02\f\f\x0F\x0F\x06\x02\f\f\x0F\x0F]]__\x05\x02\f\f\x0F" +
"\x0F*+\x02\xE8\x02\x06\x03\x02\x02\x02\x02\b\x03\x02\x02\x02\x02\n\x03" +
"\x02\x02\x02\x02\f\x03\x02\x02\x02\x02\x0E\x03\x02\x02\x02\x02\x10\x03" +
"\x02\x02\x02\x02\x12\x03\x02\x02\x02\x02\x14\x03\x02\x02\x02\x02\x16\x03" +
"\x02\x02\x02\x03\x18\x03\x02\x02\x02\x03\x1A\x03\x02\x02\x02\x03\x1C\x03" +
"\x02\x02\x02\x04\x1E\x03\x02\x02\x02\x06!\x03\x02\x02\x02\b(\x03\x02\x02" +
"\x02\n?\x03\x02\x02\x02\fN\x03\x02\x02\x02\x0El\x03\x02\x02\x02\x10|\x03" +
"\x02\x02\x02\x12\x9F\x03\x02\x02\x02\x14\xB8\x03\x02\x02\x02\x16\xBF\x03" +
"\x02\x02\x02\x18\xC5\x03\x02\x02\x02\x1A\xCB\x03\x02\x02\x02\x1C\xD0\x03" +
"\x02\x02\x02\x1E\x1F\t\x02\x02\x02\x1F\x05\x03\x02\x02\x02 \"\x07\x0F" +
"\x02\x02! \x03\x02\x02\x02!\"\x03\x02\x02\x02\"#\x03\x02\x02\x02#$\x07" +
"\f\x02\x02$\x07\x03\x02\x02\x02%\'\x05\x04\x02\x02&%\x03\x02\x02\x02\'" +
"*\x03\x02\x02\x02(&\x03\x02\x02\x02()\x03\x02\x02\x02)+\x03\x02\x02\x02" +
"*(\x03\x02\x02\x02+/\x07@\x02\x02,.\x05\x04\x02\x02-,\x03\x02\x02\x02" +
".1\x03\x02\x02\x02/-\x03\x02\x02\x02/0\x03\x02\x02\x0202\x03\x02\x02\x02" +
"1/\x03\x02\x02\x0223\x07#\x02\x0234\x07%\x02\x0246\x03\x02\x02\x0257\n" +
"\x03\x02\x0265\x03\x02\x02\x0278\x03\x02\x02\x0286\x03\x02\x02\x0289\x03" +
"\x02\x02\x029:\x03\x02\x02\x02:;\x06\x04\x02\x02;\t\x03\x02\x02\x02<>" +
"\x05\x04\x02\x02=<\x03\x02\x02\x02>A\x03\x02\x02\x02?=\x03\x02\x02\x02" +
"?@\x03\x02\x02\x02@B\x03\x02\x02\x02A?\x03\x02\x02\x02BF\x07@\x02\x02" +
"CE\n\x03\x02\x02DC\x03\x02\x02\x02EH\x03\x02\x02\x02FD\x03\x02\x02\x02" +
"FG\x03\x02\x02\x02GI\x03\x02\x02\x02HF\x03\x02\x02\x02IJ\x06\x05\x03\x02" +
"J\v\x03\x02\x02\x02KM\x05\x04\x02\x02LK\x03\x02\x02\x02MP\x03\x02\x02" +
"\x02NL\x03\x02\x02\x02NO\x03\x02\x02\x02OQ\x03\x02\x02\x02PN\x03\x02\x02" +
"\x02QU\x07]\x02\x02RT\n\x04\x02\x02SR\x03\x02\x02\x02TW\x03\x02\x02\x02" +
"UV\x03\x02\x02\x02US\x03\x02\x02\x02VX\x03\x02\x02\x02WU\x03\x02\x02\x02" +
"XY\x07_\x02\x02Y]\x07*\x02\x02Z\\\n\x05\x02\x02[Z\x03\x02\x02\x02\\_\x03" +
"\x02\x02\x02]^\x03\x02\x02\x02][\x03\x02\x02\x02^`\x03\x02\x02\x02_]\x03" +
"\x02\x02\x02`d\x07+\x02\x02ac\x05\x04\x02\x02ba\x03\x02\x02\x02cf\x03" +
"\x02\x02\x02db\x03\x02\x02\x02de\x03\x02\x02\x02eg\x03\x02\x02\x02fd\x03" +
"\x02\x02\x02gh\x06\x06\x04\x02h\r\x03\x02\x02\x02ik\x05\x04\x02\x02ji" +
"\x03\x02\x02\x02kn\x03\x02\x02\x02lj\x03\x02\x02\x02lm\x03\x02\x02\x02" +
"mo\x03\x02\x02\x02nl\x03\x02\x02\x02os\x07%\x02\x02pr\n\x03\x02\x02qp" +
"\x03\x02\x02\x02ru\x03\x02\x02\x02sq\x03\x02\x02\x02st\x03\x02\x02\x02" +
"tv\x03\x02\x02\x02us\x03\x02\x02\x02vw\x06\x07\x05\x02wx\b\x07\x02\x02" +
"x\x0F\x03\x02\x02\x02y{\x05\x04\x02\x02zy\x03\x02\x02\x02{~\x03\x02\x02" +
"\x02|z\x03\x02\x02\x02|}\x03\x02\x02\x02}\x7F\x03\x02\x02\x02~|\x03\x02" +
"\x02\x02\x7F\x83\x07/\x02\x02\x80\x82\x05\x04\x02\x02\x81\x80\x03\x02" +
"\x02\x02\x82\x85\x03\x02\x02\x02\x83\x81\x03\x02\x02\x02\x83\x84\x03\x02" +
"\x02\x02\x84\x86\x03\x02\x02\x02\x85\x83\x03\x02\x02\x02\x86\x87\x07b" +
"\x02\x02\x87\x88\x07b\x02\x02\x88\x89\x07b\x02\x02\x89\x8D\x03\x02\x02" +
"\x02\x8A\x8C\n\x03\x02\x02\x8B\x8A\x03\x02\x02\x02\x8C\x8F\x03\x02\x02" +
"\x02\x8D\x8B\x03\x02\x02\x02\x8D\x8E\x03\x02\x02\x02\x8E\x90\x03\x02\x02" +
"\x02\x8F\x8D\x03\x02\x02\x02\x90\x91\x07b\x02\x02\x91\x92\x07b\x02\x02" +
"\x92\x93\x07b\x02\x02\x93\x97\x03\x02\x02\x02\x94\x96\x05\x04\x02\x02" +
"\x95\x94\x03\x02\x02\x02\x96\x99\x03\x02\x02\x02\x97\x95\x03\x02\x02\x02" +
"\x97\x98\x03\x02\x02\x02\x98\x9A\x03\x02\x02\x02\x99\x97\x03\x02\x02\x02" +
"\x9A\x9B\x06\b\x06\x02\x9B\x11\x03\x02\x02\x02\x9C\x9E\x05\x04\x02\x02" +
"\x9D\x9C\x03\x02\x02\x02\x9E\xA1\x03\x02\x02\x02\x9F\x9D\x03\x02\x02\x02" +
"\x9F\xA0\x03\x02\x02\x02\xA0\xA2\x03\x02\x02\x02\xA1\x9F\x03\x02\x02\x02" +
"\xA2\xA6\x07/\x02\x02\xA3\xA5\x05\x04\x02\x02\xA4\xA3\x03\x02\x02\x02" +
"\xA5\xA8\x03\x02\x02\x02\xA6\xA4\x03\x02\x02\x02\xA6\xA7\x03\x02\x02\x02" +
"\xA7\xA9\x03\x02\x02\x02\xA8\xA6\x03\x02\x02\x02\xA9\xAA\x07b\x02\x02" +
"\xAA\xAB\x07b\x02\x02\xAB\xAC\x07b\x02\x02\xAC\xB0\x03\x02\x02\x02\xAD" +
"\xAF\n\x03\x02\x02\xAE\xAD\x03\x02\x02\x02\xAF\xB2\x03\x02\x02\x02\xB0" +
"\xAE\x03\x02\x02\x02\xB0\xB1\x03\x02\x02\x02\xB1\xB3\x03\x02\x02\x02\xB2" +
"\xB0\x03\x02\x02\x02\xB3\xB4\x06\t\x07\x02\xB4\xB5\x03\x02\x02\x02\xB5" +
"\xB6\b\t\x03\x02\xB6\x13\x03\x02\x02\x02\xB7\xB9\n\x03\x02\x02\xB8\xB7" +
"\x03\x02\x02\x02\xB9\xBA\x03\x02\x02\x02\xBA\xB8\x03\x02\x02\x02\xBA\xBB" +
"\x03\x02\x02\x02\xBB\xBC\x03\x02\x02\x02\xBC\xBD\x06\n\b\x02\xBD\x15\x03" +
"\x02\x02\x02\xBE\xC0\n\x03\x02\x02\xBF\xBE\x03\x02\x02\x02\xC0\xC1\x03" +
"\x02\x02\x02\xC1\xBF\x03\x02\x02\x02\xC1\xC2\x03\x02\x02\x02\xC2\xC3\x03" +
"\x02\x02\x02\xC3\xC4\x06\v\t\x02\xC4\x17\x03\x02\x02\x02\xC5\xC6\x07b" +
"\x02\x02\xC6\xC7\x07b\x02\x02\xC7\xC8\x07b\x02\x02\xC8\xC9\x03\x02\x02" +
"\x02\xC9\xCA\b\f\x04\x02\xCA\x19\x03\x02\x02\x02\xCB\xCD\x07^\x02\x02" +
"\xCC\xCE\n\x03\x02\x02\xCD\xCC\x03\x02\x02\x02\xCD\xCE\x03\x02\x02\x02" +
"\xCE\x1B\x03\x02\x02\x02\xCF\xD1\v\x02\x02\x02\xD0\xCF\x03\x02\x02\x02" +
"\xD1\xD2\x03\x02\x02\x02\xD2\xD3\x03\x02\x02\x02\xD2\xD0\x03\x02\x02\x02" +
"\xD3\x1D\x03\x02\x02\x02\x1B\x02\x03!(/8?FNU]dls|\x83\x8D\x97\x9F\xA6" +
"\xB0\xBA\xC1\xCD\xD2\x05\x03\x07\x02\x07\x03\x02\x06\x02\x02";
public static __ATN: ATN;

@@ -272,0 +303,0 @@ public static get _ATN(): ATN {

@@ -43,8 +43,9 @@ // Generated from src/LGFileParser.g4 by ANTLR 4.7.3-SNAPSHOT

public static readonly TEMPLATE_NAME_LINE = 5;
public static readonly MULTILINE_PREFIX = 6;
public static readonly TEMPLATE_BODY = 7;
public static readonly INVALID_LINE = 8;
public static readonly MULTILINE_SUFFIX = 9;
public static readonly ESCAPE_CHARACTER = 10;
public static readonly MULTILINE_TEXT = 11;
public static readonly INLINE_MULTILINE = 6;
public static readonly MULTILINE_PREFIX = 7;
public static readonly TEMPLATE_BODY = 8;
public static readonly INVALID_LINE = 9;
public static readonly MULTILINE_SUFFIX = 10;
public static readonly ESCAPE_CHARACTER = 11;
public static readonly MULTILINE_TEXT = 12;
public static readonly RULE_file = 0;

@@ -69,8 +70,8 @@ public static readonly RULE_paragraph = 1;

undefined, undefined, undefined, undefined, undefined, undefined, undefined,
undefined, undefined, "'```'",
undefined, undefined, undefined, "'```'",
];
private static readonly _SYMBOLIC_NAMES: Array<string | undefined> = [
undefined, "NEWLINE", "OPTION", "COMMENT", "IMPORT", "TEMPLATE_NAME_LINE",
"MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE", "MULTILINE_SUFFIX",
"ESCAPE_CHARACTER", "MULTILINE_TEXT",
"INLINE_MULTILINE", "MULTILINE_PREFIX", "TEMPLATE_BODY", "INVALID_LINE",
"MULTILINE_SUFFIX", "ESCAPE_CHARACTER", "MULTILINE_TEXT",
];

@@ -468,5 +469,6 @@ public static readonly VOCABULARY: Vocabulary = new VocabularyImpl(LGFileParser._LITERAL_NAMES, LGFileParser._SYMBOLIC_NAMES, []);

try {
this.state = 81;
this.state = 82;
this._errHandler.sync(this);
switch (this._input.LA(1)) {
case LGFileParser.INLINE_MULTILINE:
case LGFileParser.MULTILINE_PREFIX:

@@ -477,3 +479,3 @@ case LGFileParser.TEMPLATE_BODY:

{
this.state = 75;
this.state = 76;
this._errHandler.sync(this);

@@ -487,8 +489,14 @@ switch (this._input.LA(1)) {

break;
case LGFileParser.INLINE_MULTILINE:
{
this.state = 66;
this.match(LGFileParser.INLINE_MULTILINE);
}
break;
case LGFileParser.MULTILINE_PREFIX:
{
{
this.state = 66;
this.state = 67;
this.match(LGFileParser.MULTILINE_PREFIX);
this.state = 68;
this.state = 69;
this._errHandler.sync(this);

@@ -499,3 +507,3 @@ _la = this._input.LA(1);

{
this.state = 67;
this.state = 68;
_la = this._input.LA(1);

@@ -514,7 +522,7 @@ if (!(_la === LGFileParser.ESCAPE_CHARACTER || _la === LGFileParser.MULTILINE_TEXT)) {

}
this.state = 70;
this.state = 71;
this._errHandler.sync(this);
_la = this._input.LA(1);
} while (_la === LGFileParser.ESCAPE_CHARACTER || _la === LGFileParser.MULTILINE_TEXT);
this.state = 73;
this.state = 74;
this._errHandler.sync(this);

@@ -524,3 +532,3 @@ _la = this._input.LA(1);

{
this.state = 72;
this.state = 73;
this.match(LGFileParser.MULTILINE_SUFFIX);

@@ -536,3 +544,3 @@ }

}
this.state = 78;
this.state = 79;
this._errHandler.sync(this);

@@ -542,3 +550,3 @@ switch ( this.interpreter.adaptivePredict(this._input, 11, this._ctx) ) {

{
this.state = 77;
this.state = 78;
this.match(LGFileParser.NEWLINE);

@@ -554,3 +562,3 @@ }

{
this.state = 80;
this.state = 81;
this.match(LGFileParser.NEWLINE);

@@ -579,5 +587,5 @@ }

public static readonly _serializedATN: string =
"\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03\rV\x04\x02\t" +
"\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t" +
"\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x03\x02\x06\x02\x18\n\x02" +
"\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03\x0EW\x04\x02" +
"\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07" +
"\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x03\x02\x06\x02\x18\n\x02" +
"\r\x02\x0E\x02\x19\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03" +

@@ -587,31 +595,31 @@ "\x03\x03\x03\x03\x03\x05\x03%\n\x03\x03\x04\x03\x04\x05\x04)\n\x04\x03" +

"\x07\x05\x075\n\x07\x03\b\x03\b\x03\b\x03\t\x03\t\x05\t<\n\t\x03\n\x07" +
"\n?\n\n\f\n\x0E\nB\v\n\x03\v\x03\v\x03\v\x06\vG\n\v\r\v\x0E\vH\x03\v\x05" +
"\vL\n\v\x05\vN\n\v\x03\v\x05\vQ\n\v\x03\v\x05\vT\n\v\x03\v\x03\x19\x02" +
"\x02\f\x02\x02\x04\x02\x06\x02\b\x02\n\x02\f\x02\x0E\x02\x10\x02\x12\x02" +
"\x14\x02\x02\x03\x03\x02\f\r\x02]\x02\x17\x03\x02\x02\x02\x04$\x03\x02" +
"\x02\x02\x06&\x03\x02\x02\x02\b*\x03\x02\x02\x02\n.\x03\x02\x02\x02\f" +
"2\x03\x02\x02\x02\x0E6\x03\x02\x02\x02\x109\x03\x02\x02\x02\x12@\x03\x02" +
"\x02\x02\x14S\x03\x02\x02\x02\x16\x18\x05\x04\x03\x02\x17\x16\x03\x02" +
"\x02\x02\x18\x19\x03\x02\x02\x02\x19\x1A\x03\x02\x02\x02\x19\x17\x03\x02" +
"\x02\x02\x1A\x1B\x03\x02\x02\x02\x1B\x1C\x07\x02\x02\x03\x1C\x03\x03\x02" +
"\x02\x02\x1D%\x05\x0E\b\x02\x1E%\x05\b\x05\x02\x1F%\x05\n\x06\x02 %\x05" +
"\f\x07\x02!%\x05\x06\x04\x02\"%\x07\x03\x02\x02#%\x07\x02\x02\x03$\x1D" +
"\x03\x02\x02\x02$\x1E\x03\x02\x02\x02$\x1F\x03\x02\x02\x02$ \x03\x02\x02" +
"\x02$!\x03\x02\x02\x02$\"\x03\x02\x02\x02$#\x03\x02\x02\x02%\x05\x03\x02" +
"\x02\x02&(\x07\x05\x02\x02\')\x07\x03\x02\x02(\'\x03\x02\x02\x02()\x03" +
"\x02\x02\x02)\x07\x03\x02\x02\x02*,\x07\x06\x02\x02+-\x07\x03\x02\x02" +
",+\x03\x02\x02\x02,-\x03\x02\x02\x02-\t\x03\x02\x02\x02.0\x07\x04\x02" +
"\x02/1\x07\x03\x02\x020/\x03\x02\x02\x0201\x03\x02\x02\x021\v\x03\x02" +
"\x02\x0224\x07\n\x02\x0235\x07\x03\x02\x0243\x03\x02\x02\x0245\x03\x02" +
"\x02\x025\r\x03\x02\x02\x0267\x05\x10\t\x0278\x05\x12\n\x028\x0F\x03\x02" +
"\x02\x029;\x07\x07\x02\x02:<\x07\x03\x02\x02;:\x03\x02\x02\x02;<\x03\x02" +
"\x02\x02<\x11\x03\x02\x02\x02=?\x05\x14\v\x02>=\x03\x02\x02\x02?B\x03" +
"\x02\x02\x02@>\x03\x02\x02\x02@A\x03\x02\x02\x02A\x13\x03\x02\x02\x02" +
"B@\x03\x02\x02\x02CN\x07\t\x02\x02DF\x07\b\x02\x02EG\t\x02\x02\x02FE\x03" +
"\x02\x02\x02GH\x03\x02\x02\x02HF\x03\x02\x02\x02HI\x03\x02\x02\x02IK\x03" +
"\x02\x02\x02JL\x07\v\x02\x02KJ\x03\x02\x02\x02KL\x03\x02\x02\x02LN\x03" +
"\x02\x02\x02MC\x03\x02\x02\x02MD\x03\x02\x02\x02NP\x03\x02\x02\x02OQ\x07" +
"\x03\x02\x02PO\x03\x02\x02\x02PQ\x03\x02\x02\x02QT\x03\x02\x02\x02RT\x07" +
"\x03\x02\x02SM\x03\x02\x02\x02SR\x03\x02\x02\x02T\x15\x03\x02\x02\x02" +
"\x0F\x19$(,04;@HKMPS";
"\n?\n\n\f\n\x0E\nB\v\n\x03\v\x03\v\x03\v\x03\v\x06\vH\n\v\r\v\x0E\vI\x03" +
"\v\x05\vM\n\v\x05\vO\n\v\x03\v\x05\vR\n\v\x03\v\x05\vU\n\v\x03\v\x03\x19" +
"\x02\x02\f\x02\x02\x04\x02\x06\x02\b\x02\n\x02\f\x02\x0E\x02\x10\x02\x12" +
"\x02\x14\x02\x02\x03\x03\x02\r\x0E\x02_\x02\x17\x03\x02\x02\x02\x04$\x03" +
"\x02\x02\x02\x06&\x03\x02\x02\x02\b*\x03\x02\x02\x02\n.\x03\x02\x02\x02" +
"\f2\x03\x02\x02\x02\x0E6\x03\x02\x02\x02\x109\x03\x02\x02\x02\x12@\x03" +
"\x02\x02\x02\x14T\x03\x02\x02\x02\x16\x18\x05\x04\x03\x02\x17\x16\x03" +
"\x02\x02\x02\x18\x19\x03\x02\x02\x02\x19\x1A\x03\x02\x02\x02\x19\x17\x03" +
"\x02\x02\x02\x1A\x1B\x03\x02\x02\x02\x1B\x1C\x07\x02\x02\x03\x1C\x03\x03" +
"\x02\x02\x02\x1D%\x05\x0E\b\x02\x1E%\x05\b\x05\x02\x1F%\x05\n\x06\x02" +
" %\x05\f\x07\x02!%\x05\x06\x04\x02\"%\x07\x03\x02\x02#%\x07\x02\x02\x03" +
"$\x1D\x03\x02\x02\x02$\x1E\x03\x02\x02\x02$\x1F\x03\x02\x02\x02$ \x03" +
"\x02\x02\x02$!\x03\x02\x02\x02$\"\x03\x02\x02\x02$#\x03\x02\x02\x02%\x05" +
"\x03\x02\x02\x02&(\x07\x05\x02\x02\')\x07\x03\x02\x02(\'\x03\x02\x02\x02" +
"()\x03\x02\x02\x02)\x07\x03\x02\x02\x02*,\x07\x06\x02\x02+-\x07\x03\x02" +
"\x02,+\x03\x02\x02\x02,-\x03\x02\x02\x02-\t\x03\x02\x02\x02.0\x07\x04" +
"\x02\x02/1\x07\x03\x02\x020/\x03\x02\x02\x0201\x03\x02\x02\x021\v\x03" +
"\x02\x02\x0224\x07\v\x02\x0235\x07\x03\x02\x0243\x03\x02\x02\x0245\x03" +
"\x02\x02\x025\r\x03\x02\x02\x0267\x05\x10\t\x0278\x05\x12\n\x028\x0F\x03" +
"\x02\x02\x029;\x07\x07\x02\x02:<\x07\x03\x02\x02;:\x03\x02\x02\x02;<\x03" +
"\x02\x02\x02<\x11\x03\x02\x02\x02=?\x05\x14\v\x02>=\x03\x02\x02\x02?B" +
"\x03\x02\x02\x02@>\x03\x02\x02\x02@A\x03\x02\x02\x02A\x13\x03\x02\x02" +
"\x02B@\x03\x02\x02\x02CO\x07\n\x02\x02DO\x07\b\x02\x02EG\x07\t\x02\x02" +
"FH\t\x02\x02\x02GF\x03\x02\x02\x02HI\x03\x02\x02\x02IG\x03\x02\x02\x02" +
"IJ\x03\x02\x02\x02JL\x03\x02\x02\x02KM\x07\f\x02\x02LK\x03\x02\x02\x02" +
"LM\x03\x02\x02\x02MO\x03\x02\x02\x02NC\x03\x02\x02\x02ND\x03\x02\x02\x02" +
"NE\x03\x02\x02\x02OQ\x03\x02\x02\x02PR\x07\x03\x02\x02QP\x03\x02\x02\x02" +
"QR\x03\x02\x02\x02RU\x03\x02\x02\x02SU\x07\x03\x02\x02TN\x03\x02\x02\x02" +
"TS\x03\x02\x02\x02U\x15\x03\x02\x02\x02\x0F\x19$(,04;@ILNQT";
public static __ATN: ATN;

@@ -943,2 +951,3 @@ public static get _ATN(): ATN {

public TEMPLATE_BODY(): TerminalNode | undefined { return this.tryGetToken(LGFileParser.TEMPLATE_BODY, 0); }
public INLINE_MULTILINE(): TerminalNode | undefined { return this.tryGetToken(LGFileParser.INLINE_MULTILINE, 0); }
public NEWLINE(): TerminalNode | undefined { return this.tryGetToken(LGFileParser.NEWLINE, 0); }

@@ -945,0 +954,0 @@ public MULTILINE_PREFIX(): TerminalNode | undefined { return this.tryGetToken(LGFileParser.MULTILINE_PREFIX, 0); }

@@ -616,62 +616,62 @@ // Generated from src/LGTemplateLexer.g4 by ANTLR 4.7.3-SNAPSHOT

"\x02))^^\x03\x02))\x04\x02$$^^\x03\x02$$\x04\x02^^bb\x03\x02bb\x04\x02" +
"\f\f\x0F\x0F\t\x02\f\f\x0F\x0F$$))bb}}\x7F\x7F\x06\x02$$))bb\x7F\x7F\x04" +
"\x02/0aa\x02\u023D\x021\x03\x02\x02\x02\x023\x03\x02\x02\x02\x025\x03" +
"\x02\x02\x02\x027\x03\x02\x02\x02\x029\x03\x02\x02\x02\x02;\x03\x02\x02" +
"\x02\x03=\x03\x02\x02\x02\x03?\x03\x02\x02\x02\x03A\x03\x02\x02\x02\x03" +
"C\x03\x02\x02\x02\x03E\x03\x02\x02\x02\x03G\x03\x02\x02\x02\x03I\x03\x02" +
"\x02\x02\x03K\x03\x02\x02\x02\x03M\x03\x02\x02\x02\x03O\x03\x02\x02\x02" +
"\x03Q\x03\x02\x02\x02\x03S\x03\x02\x02\x02\x04U\x03\x02\x02\x02\x04W\x03" +
"\x02\x02\x02\x04Y\x03\x02\x02\x02\x04[\x03\x02\x02\x02\x05]\x03\x02\x02" +
"\x02\x05_\x03\x02\x02\x02\x05a\x03\x02\x02\x02\x05c\x03\x02\x02\x02\x06" +
"e\x03\x02\x02\x02\x06g\x03\x02\x02\x02\x06i\x03\x02\x02\x02\x06k\x03\x02" +
"\x02\x02\x06m\x03\x02\x02\x02\x06o\x03\x02\x02\x02\x06q\x03\x02\x02\x02" +
"\x06s\x03\x02\x02\x02\x06u\x03\x02\x02\x02\x06w\x03\x02\x02\x02\x07y\x03" +
"\x02\x02\x02\t{\x03\x02\x02\x02\v}\x03\x02\x02\x02\r\x7F\x03\x02\x02\x02" +
"\x0F\x81\x03\x02\x02\x02\x11\x83\x03\x02\x02\x02\x13\x85\x03\x02\x02\x02" +
"\x15\x87\x03\x02\x02\x02\x17\x89\x03\x02\x02\x02\x19\x8B\x03\x02\x02\x02" +
"\x1B\x8D\x03\x02\x02\x02\x1D\x8F\x03\x02\x02\x02\x1F\x91\x03\x02\x02\x02" +
"!\x93\x03\x02\x02\x02#\x95\x03\x02\x02\x02%\xAB\x03\x02\x02\x02\'\xAD" +
"\x03\x02\x02\x02)\xB8\x03\x02\x02\x02+\xBF\x03\x02\x02\x02-\xC9\x03\x02" +
"\x02\x02/\xDE\x03\x02\x02\x021\xEC\x03\x02\x02\x023\xF3\x03\x02\x02\x02" +
"5\xF9\x03\x02\x02\x027\u0102\x03\x02\x02\x029\u0107\x03\x02\x02\x02;\u010D" +
"\x03\x02\x02\x02=\u0111\x03\x02\x02\x02?\u0119\x03\x02\x02\x02A\u0123" +
"\x03\x02\x02\x02C\u012B\x03\x02\x02\x02E\u0137\x03\x02\x02\x02G\u014D" +
"\x03\x02\x02\x02I\u015B\x03\x02\x02\x02K\u016B\x03\x02\x02\x02M\u0179" +
"\x03\x02\x02\x02O\u018A\x03\x02\x02\x02Q\u018D\x03\x02\x02\x02S\u0191" +
"\x03\x02\x02\x02U\u0197\x03\x02\x02\x02W\u019F\x03\x02\x02\x02Y\u01A3" +
"\x03\x02\x02\x02[\u01AC\x03\x02\x02\x02]\u01B3\x03\x02\x02\x02_\u01BA" +
"\x03\x02\x02\x02a\u01C6\x03\x02\x02\x02c\u01D1\x03\x02\x02\x02e\u01D5" +
"\x03\x02\x02\x02g\u01E5\x03\x02\x02\x02i\u01EE\x03\x02\x02\x02k\u01F3" +
"\x03\x02\x02\x02m\u01FC\x03\x02\x02\x02o\u0209\x03\x02\x02\x02q\u020D" +
"\x03\x02\x02\x02s\u0210\x03\x02\x02\x02u\u0213\x03\x02\x02\x02w\u0217" +
"\x03\x02\x02\x02yz\t\x02\x02\x02z\b\x03\x02\x02\x02{|\t\x03\x02\x02|\n" +
"\x03\x02\x02\x02}~\t\x04\x02\x02~\f\x03\x02\x02\x02\x7F\x80\t\x05\x02" +
"\x02\x80\x0E\x03\x02\x02\x02\x81\x82\t\x06\x02\x02\x82\x10\x03\x02\x02" +
"\x02\x83\x84\t\x07\x02\x02\x84\x12\x03\x02\x02\x02\x85\x86\t\b\x02\x02" +
"\x86\x14\x03\x02\x02\x02\x87\x88\t\t\x02\x02\x88\x16\x03\x02\x02\x02\x89" +
"\x8A\t\n\x02\x02\x8A\x18\x03\x02\x02\x02\x8B\x8C\t\v\x02\x02\x8C\x1A\x03" +
"\x02\x02\x02\x8D\x8E\t\f\x02\x02\x8E\x1C\x03\x02\x02\x02\x8F\x90\t\r\x02" +
"\x02\x90\x1E\x03\x02\x02\x02\x91\x92\t\x0E\x02\x02\x92 \x03\x02\x02\x02" +
"\x93\x94\x042;\x02\x94\"\x03\x02\x02\x02\x95\x96\t\x0F\x02\x02\x96$\x03" +
"\x02\x02\x02\x97\x9D\x07)\x02\x02\x98\x99\x07^\x02\x02\x99\x9C\t\x10\x02" +
"\x02\x9A\x9C\n\x11\x02\x02\x9B\x98\x03\x02\x02\x02\x9B\x9A\x03\x02\x02" +
"\x02\x9C\x9F\x03\x02\x02\x02\x9D\x9E\x03\x02\x02\x02\x9D\x9B\x03\x02\x02" +
"\x02\x9E\xA0\x03\x02\x02\x02\x9F\x9D\x03\x02\x02\x02\xA0\xAC\x07)\x02" +
"\x02\xA1\xA7\x07$\x02\x02\xA2\xA3\x07^\x02\x02\xA3\xA6\t\x12\x02\x02\xA4" +
"\xA6\n\x13\x02\x02\xA5\xA2\x03\x02\x02\x02\xA5\xA4\x03\x02\x02\x02\xA6" +
"\xA9\x03\x02\x02\x02\xA7\xA8\x03\x02\x02\x02\xA7\xA5\x03\x02\x02\x02\xA8" +
"\xAA\x03\x02\x02\x02\xA9\xA7\x03\x02\x02\x02\xAA\xAC\x07$\x02\x02\xAB" +
"\x97\x03\x02\x02\x02\xAB\xA1\x03\x02\x02\x02\xAC&\x03\x02\x02\x02\xAD" +
"\xB3\x07b\x02\x02\xAE\xAF\x07^\x02\x02\xAF\xB2\t\x14\x02\x02\xB0\xB2\n" +
"\x15\x02\x02\xB1\xAE\x03\x02\x02\x02\xB1\xB0\x03\x02\x02\x02\xB2\xB5\x03" +
"\x02\x02\x02\xB3\xB4\x03\x02\x02\x02\xB3\xB1\x03\x02\x02\x02\xB4\xB6\x03" +
"\x02\x02\x02\xB5\xB3\x03\x02\x02\x02\xB6\xB7\x07b\x02\x02\xB7(\x03\x02" +
"\x02\x02\xB8\xBA\x07^\x02\x02\xB9\xBB\n\x16\x02\x02\xBA\xB9\x03\x02\x02" +
"\x02\xBA\xBB\x03\x02\x02\x02\xBB*\x03\x02\x02\x02\xBC\xC0\x05\x1F\x0E" +
"\x02\xBD\xC0\x05!\x0F\x02\xBE\xC0\x07a\x02\x02\xBF\xBC\x03\x02\x02\x02" +
"\xBF\xBD\x03\x02\x02\x02\xBF\xBE\x03\x02\x02\x02\xC0\xC6\x03\x02\x02\x02" +
"\xC1\xC5\x05\x1F\x0E\x02\xC2\xC5\x05!\x0F\x02\xC3\xC5\x07a\x02\x02\xC4" +
"\xC1\x03\x02\x02\x02\xC4\xC2\x03\x02\x02\x02\xC4\xC3\x03\x02\x02\x02\xC5" +
"\xC8\x03\x02\x02\x02\xC6\xC4\x03\x02\x02\x02\xC6\xC7\x03\x02\x02\x02\xC7" +
",\x03\x02\x02\x02\xC8\xC6\x03\x02\x02\x02\xC9\xD9\x07}\x02\x02\xCA\xD8" +
"\f\f\x0F\x0F\x07\x02$$))bb}}\x7F\x7F\x06\x02$$))bb\x7F\x7F\x04\x02/0a" +
"a\x02\u023D\x021\x03\x02\x02\x02\x023\x03\x02\x02\x02\x025\x03\x02\x02" +
"\x02\x027\x03\x02\x02\x02\x029\x03\x02\x02\x02\x02;\x03\x02\x02\x02\x03" +
"=\x03\x02\x02\x02\x03?\x03\x02\x02\x02\x03A\x03\x02\x02\x02\x03C\x03\x02" +
"\x02\x02\x03E\x03\x02\x02\x02\x03G\x03\x02\x02\x02\x03I\x03\x02\x02\x02" +
"\x03K\x03\x02\x02\x02\x03M\x03\x02\x02\x02\x03O\x03\x02\x02\x02\x03Q\x03" +
"\x02\x02\x02\x03S\x03\x02\x02\x02\x04U\x03\x02\x02\x02\x04W\x03\x02\x02" +
"\x02\x04Y\x03\x02\x02\x02\x04[\x03\x02\x02\x02\x05]\x03\x02\x02\x02\x05" +
"_\x03\x02\x02\x02\x05a\x03\x02\x02\x02\x05c\x03\x02\x02\x02\x06e\x03\x02" +
"\x02\x02\x06g\x03\x02\x02\x02\x06i\x03\x02\x02\x02\x06k\x03\x02\x02\x02" +
"\x06m\x03\x02\x02\x02\x06o\x03\x02\x02\x02\x06q\x03\x02\x02\x02\x06s\x03" +
"\x02\x02\x02\x06u\x03\x02\x02\x02\x06w\x03\x02\x02\x02\x07y\x03\x02\x02" +
"\x02\t{\x03\x02\x02\x02\v}\x03\x02\x02\x02\r\x7F\x03\x02\x02\x02\x0F\x81" +
"\x03\x02\x02\x02\x11\x83\x03\x02\x02\x02\x13\x85\x03\x02\x02\x02\x15\x87" +
"\x03\x02\x02\x02\x17\x89\x03\x02\x02\x02\x19\x8B\x03\x02\x02\x02\x1B\x8D" +
"\x03\x02\x02\x02\x1D\x8F\x03\x02\x02\x02\x1F\x91\x03\x02\x02\x02!\x93" +
"\x03\x02\x02\x02#\x95\x03\x02\x02\x02%\xAB\x03\x02\x02\x02\'\xAD\x03\x02" +
"\x02\x02)\xB8\x03\x02\x02\x02+\xBF\x03\x02\x02\x02-\xC9\x03\x02\x02\x02" +
"/\xDE\x03\x02\x02\x021\xEC\x03\x02\x02\x023\xF3\x03\x02\x02\x025\xF9\x03" +
"\x02\x02\x027\u0102\x03\x02\x02\x029\u0107\x03\x02\x02\x02;\u010D\x03" +
"\x02\x02\x02=\u0111\x03\x02\x02\x02?\u0119\x03\x02\x02\x02A\u0123\x03" +
"\x02\x02\x02C\u012B\x03\x02\x02\x02E\u0137\x03\x02\x02\x02G\u014D\x03" +
"\x02\x02\x02I\u015B\x03\x02\x02\x02K\u016B\x03\x02\x02\x02M\u0179\x03" +
"\x02\x02\x02O\u018A\x03\x02\x02\x02Q\u018D\x03\x02\x02\x02S\u0191\x03" +
"\x02\x02\x02U\u0197\x03\x02\x02\x02W\u019F\x03\x02\x02\x02Y\u01A3\x03" +
"\x02\x02\x02[\u01AC\x03\x02\x02\x02]\u01B3\x03\x02\x02\x02_\u01BA\x03" +
"\x02\x02\x02a\u01C6\x03\x02\x02\x02c\u01D1\x03\x02\x02\x02e\u01D5\x03" +
"\x02\x02\x02g\u01E5\x03\x02\x02\x02i\u01EE\x03\x02\x02\x02k\u01F3\x03" +
"\x02\x02\x02m\u01FC\x03\x02\x02\x02o\u0209\x03\x02\x02\x02q\u020D\x03" +
"\x02\x02\x02s\u0210\x03\x02\x02\x02u\u0213\x03\x02\x02\x02w\u0217\x03" +
"\x02\x02\x02yz\t\x02\x02\x02z\b\x03\x02\x02\x02{|\t\x03\x02\x02|\n\x03" +
"\x02\x02\x02}~\t\x04\x02\x02~\f\x03\x02\x02\x02\x7F\x80\t\x05\x02\x02" +
"\x80\x0E\x03\x02\x02\x02\x81\x82\t\x06\x02\x02\x82\x10\x03\x02\x02\x02" +
"\x83\x84\t\x07\x02\x02\x84\x12\x03\x02\x02\x02\x85\x86\t\b\x02\x02\x86" +
"\x14\x03\x02\x02\x02\x87\x88\t\t\x02\x02\x88\x16\x03\x02\x02\x02\x89\x8A" +
"\t\n\x02\x02\x8A\x18\x03\x02\x02\x02\x8B\x8C\t\v\x02\x02\x8C\x1A\x03\x02" +
"\x02\x02\x8D\x8E\t\f\x02\x02\x8E\x1C\x03\x02\x02\x02\x8F\x90\t\r\x02\x02" +
"\x90\x1E\x03\x02\x02\x02\x91\x92\t\x0E\x02\x02\x92 \x03\x02\x02\x02\x93" +
"\x94\x042;\x02\x94\"\x03\x02\x02\x02\x95\x96\t\x0F\x02\x02\x96$\x03\x02" +
"\x02\x02\x97\x9D\x07)\x02\x02\x98\x99\x07^\x02\x02\x99\x9C\t\x10\x02\x02" +
"\x9A\x9C\n\x11\x02\x02\x9B\x98\x03\x02\x02\x02\x9B\x9A\x03\x02\x02\x02" +
"\x9C\x9F\x03\x02\x02\x02\x9D\x9E\x03\x02\x02\x02\x9D\x9B\x03\x02\x02\x02" +
"\x9E\xA0\x03\x02\x02\x02\x9F\x9D\x03\x02\x02\x02\xA0\xAC\x07)\x02\x02" +
"\xA1\xA7\x07$\x02\x02\xA2\xA3\x07^\x02\x02\xA3\xA6\t\x12\x02\x02\xA4\xA6" +
"\n\x13\x02\x02\xA5\xA2\x03\x02\x02\x02\xA5\xA4\x03\x02\x02\x02\xA6\xA9" +
"\x03\x02\x02\x02\xA7\xA8\x03\x02\x02\x02\xA7\xA5\x03\x02\x02\x02\xA8\xAA" +
"\x03\x02\x02\x02\xA9\xA7\x03\x02\x02\x02\xAA\xAC\x07$\x02\x02\xAB\x97" +
"\x03\x02\x02\x02\xAB\xA1\x03\x02\x02\x02\xAC&\x03\x02\x02\x02\xAD\xB3" +
"\x07b\x02\x02\xAE\xAF\x07^\x02\x02\xAF\xB2\t\x14\x02\x02\xB0\xB2\n\x15" +
"\x02\x02\xB1\xAE\x03\x02\x02\x02\xB1\xB0\x03\x02\x02\x02\xB2\xB5\x03\x02" +
"\x02\x02\xB3\xB4\x03\x02\x02\x02\xB3\xB1\x03\x02\x02\x02\xB4\xB6\x03\x02" +
"\x02\x02\xB5\xB3\x03\x02\x02\x02\xB6\xB7\x07b\x02\x02\xB7(\x03\x02\x02" +
"\x02\xB8\xBA\x07^\x02\x02\xB9\xBB\n\x16\x02\x02\xBA\xB9\x03\x02\x02\x02" +
"\xBA\xBB\x03\x02\x02\x02\xBB*\x03\x02\x02\x02\xBC\xC0\x05\x1F\x0E\x02" +
"\xBD\xC0\x05!\x0F\x02\xBE\xC0\x07a\x02\x02\xBF\xBC\x03\x02\x02\x02\xBF" +
"\xBD\x03\x02\x02\x02\xBF\xBE\x03\x02\x02\x02\xC0\xC6\x03\x02\x02\x02\xC1" +
"\xC5\x05\x1F\x0E\x02\xC2\xC5\x05!\x0F\x02\xC3\xC5\x07a\x02\x02\xC4\xC1" +
"\x03\x02\x02\x02\xC4\xC2\x03\x02\x02\x02\xC4\xC3\x03\x02\x02\x02\xC5\xC8" +
"\x03\x02\x02\x02\xC6\xC4\x03\x02\x02\x02\xC6\xC7\x03\x02\x02\x02\xC7," +
"\x03\x02\x02\x02\xC8\xC6\x03\x02\x02\x02\xC9\xD9\x07}\x02\x02\xCA\xD8" +
"\x05#\x10\x02\xCB\xCE\x05+\x14\x02\xCC\xCE\x05%\x11\x02\xCD\xCB\x03\x02" +

@@ -819,8 +819,8 @@ "\x02\x02\xCD\xCC\x03\x02\x02\x02\xCE\xCF\x03\x02\x02\x02\xCF\xD3\x07<" +

"\u01D9\u01DD\u01E7\u01EE\u01FC\u0201\u0203\u0219#\b\x02\x02\x03\x1A\x02" +
"\x07\x03\x02\x03\x1B\x03\x07\x05\x02\x03";
"\x07\x03\x02\x03\x1B\x03\x07\x05\x02\x03\x1C\x04\x03\x1E";
private static readonly _serializedATNSegment1: string =
"\x1C\x04\x03\x1E\x05\x07\x04\x02\x03\x1F\x06\x06\x02\x02\x03 \x07\x03" +
"!\b\x03\"\t\x03#\n\x03$\v\x03%\f\x03&\r\x03\'\x0E\x03(\x0F\x03)\x10\t" +
"\x12\x02\t\x13\x02\t\x14\x02\x03.\x11\x03.\x12\x07\x06\x02\x033\x13\x03" +
"5\x14\x036\x15\x037\x16\x038\x17\x039\x18\x03:\x19";
"\x05\x07\x04\x02\x03\x1F\x06\x06\x02\x02\x03 \x07\x03!\b\x03\"\t\x03#" +
"\n\x03$\v\x03%\f\x03&\r\x03\'\x0E\x03(\x0F\x03)\x10\t\x12\x02\t\x13\x02" +
"\t\x14\x02\x03.\x11\x03.\x12\x07\x06\x02\x033\x13\x035\x14\x036\x15\x03" +
"7\x16\x038\x17\x039\x18\x03:\x19";
public static readonly _serializedATN: string = Utils.join(

@@ -827,0 +827,0 @@ [

@@ -12,3 +12,3 @@ /**

import { Diagnostic, DiagnosticSeverity } from './diagnostic';
import { ExpressionParser, Expression, ExpressionEvaluator, ReturnType, FunctionUtils } from 'adaptive-expressions';
import { ExpressionParser, Expression, ExpressionEvaluator, ReturnType, FunctionUtils, SimpleObjectMemory, StackedMemory } from 'adaptive-expressions';
import { ImportResolverDelegate, TemplatesTransformer } from './templatesParser';

@@ -25,2 +25,3 @@ import { Evaluator } from './evaluator';

import { StaticChecker } from './staticChecker';
import { CustomizedMemory } from './customizedMemory';

@@ -485,3 +486,22 @@ /**

const newGlobalName = `${ curTemplates.namespace }.${ templateName }`;
Expression.functions.add(newGlobalName, new ExpressionEvaluator(newGlobalName, FunctionUtils.apply(this.globalTemplateFunction(templateName)), ReturnType.Object));
Expression.functions.add(newGlobalName, new ExpressionEvaluator(newGlobalName, (expr, state, options): {value: any, error: string} => {
let value: any;
let error: string;
let args: any[];
const evaluator = new Evaluator(this.allTemplates, this.expressionParser, this.lgOptions);
({ args, error } = FunctionUtils.evaluateChildren(expr, state, options));
if (!error) {
const parameters = evaluator.templateMap[templateName].parameters;
const newScope: any = {};
parameters.map((e: string, i: number): void => newScope[e] = args[i]);
const scope = new CustomizedMemory(state, new SimpleObjectMemory(newScope));
try {
value = evaluator.evaluateTemplate(templateName, scope);
} catch (e) {
error = e.message;
}
}
return {value, error};
}, ReturnType.Object));
}

@@ -534,9 +554,2 @@ }

}
private readonly globalTemplateFunction = (templateName: string) => (args: any[]): any => {
const evaluator = new Evaluator(this.allTemplates, this.expressionParser, this.lgOptions);
const newScope: any = evaluator.constructScope(templateName, args);
return evaluator.evaluateTemplate(templateName, newScope);
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc