How to use the antlr4ts/Decorators.NotNull function in antlr4ts

To help you get started, we’ve selected a few antlr4ts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mr-doc / mr-doc / src / tom / TomLexer.js View on Github external
"B\x02\x02\u020C\x8C\x03\x02\x02\x02\u020D\u020E\x07}\x02\x02\u020E\x8E" +
    "\x03\x02\x02\x02\u020F\u0210\x07\x7F\x02\x02\u0210\x90\x03\x02\x02\x02" +
    "\u0211\u0212\x07*\x02\x02\u0212\x92\x03\x02\x02\x02\u0213\u0214\x07+\x02" +
    "\x02\u0214\x94\x03\x02\x02\x02\u0215\u0216\x07]\x02\x02\u0216\x96\x03" +
    "\x02\x02\x02\u0217\u0218\x07_\x02\x02\u0218\x98\x03\x02\x02\x02\u0219" +
    "\u021A\x07>\x02\x02\u021A\x9A\x03\x02\x02\x02\u021B\u021C\x07@\x02\x02" +
    "\u021C\x9C\x03\x02\x02\x02\u021D\u021E\t\x13\x02\x02\u021E\x9E\x03\x02" +
    "\x02\x02\u021F\u0220\t\x14\x02\x02\u0220\xA0\x03\x02\x02\x02?\x02\xA5" +
    "\xA9\xAD\xB1\xB5\xBC\xC1\xC3\xC7\xCA\xCE\xD5\xD9\xDE\xE6\xE9\xF0\xF4\xF8" +
    "\xFE\u0101\u0108\u010C\u0114\u0117\u011E\u0122\u0126\u012B\u012E\u0131" +
    "\u0136\u0139\u013E\u0143\u014B\u0156\u015A\u015F\u0163\u0173\u017D\u0183" +
    "\u0188\u018B\u0190\u0194\u019A\u01A7\u01AF\u01C3\u01C9\u01CB\u01D0\u01D6" +
    "\u01DA\u01DC\u01E1\u01E6\u0206\x03\x034\x02";
__decorate([
    Decorators_2.Override,
    Decorators_1.NotNull
], TomLexer.prototype, "vocabulary", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "grammarFileName", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "ruleNames", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "serializedATN", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "modeNames", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "action", null);
github mr-doc / mr-doc / src / tom / grammar / TomLexer.js View on Github external
"B\x02\x02\u020C\x8C\x03\x02\x02\x02\u020D\u020E\x07}\x02\x02\u020E\x8E" +
    "\x03\x02\x02\x02\u020F\u0210\x07\x7F\x02\x02\u0210\x90\x03\x02\x02\x02" +
    "\u0211\u0212\x07*\x02\x02\u0212\x92\x03\x02\x02\x02\u0213\u0214\x07+\x02" +
    "\x02\u0214\x94\x03\x02\x02\x02\u0215\u0216\x07]\x02\x02\u0216\x96\x03" +
    "\x02\x02\x02\u0217\u0218\x07_\x02\x02\u0218\x98\x03\x02\x02\x02\u0219" +
    "\u021A\x07>\x02\x02\u021A\x9A\x03\x02\x02\x02\u021B\u021C\x07@\x02\x02" +
    "\u021C\x9C\x03\x02\x02\x02\u021D\u021E\t\x13\x02\x02\u021E\x9E\x03\x02" +
    "\x02\x02\u021F\u0220\t\x14\x02\x02\u0220\xA0\x03\x02\x02\x02?\x02\xA5" +
    "\xA9\xAD\xB1\xB5\xBC\xC1\xC3\xC7\xCA\xCE\xD5\xD9\xDE\xE6\xE9\xF0\xF4\xF8" +
    "\xFE\u0101\u0108\u010C\u0114\u0117\u011E\u0122\u0126\u012B\u012E\u0131" +
    "\u0136\u0139\u013E\u0143\u014B\u0156\u015A\u015F\u0163\u0173\u017D\u0183" +
    "\u0188\u018B\u0190\u0194\u019A\u01A7\u01AF\u01C3\u01C9\u01CB\u01D0\u01D6" +
    "\u01DA\u01DC\u01E1\u01E6\u0206\x03\x034\x02";
__decorate([
    Decorators_2.Override,
    Decorators_1.NotNull
], TomLexer.prototype, "vocabulary", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "grammarFileName", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "ruleNames", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "serializedATN", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "modeNames", null);
__decorate([
    Decorators_2.Override
], TomLexer.prototype, "action", null);