Source code for m2isar.frontends.coredsl2.parser_gen.CoreDSL2Lexer

# Generated from CoreDSL2.g4 by ANTLR 4.13.1
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
    from typing import TextIO
else:
    from typing.io import TextIO


[docs] def serializedATN(): return [ 4,0,103,914,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5, 2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2, 13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7, 19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2, 26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7, 32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2, 39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7, 45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2, 52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7, 58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2, 65,7,65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,2,70,7,70,2,71,7, 71,2,72,7,72,2,73,7,73,2,74,7,74,2,75,7,75,2,76,7,76,2,77,7,77,2, 78,7,78,2,79,7,79,2,80,7,80,2,81,7,81,2,82,7,82,2,83,7,83,2,84,7, 84,2,85,7,85,2,86,7,86,2,87,7,87,2,88,7,88,2,89,7,89,2,90,7,90,2, 91,7,91,2,92,7,92,2,93,7,93,2,94,7,94,2,95,7,95,2,96,7,96,2,97,7, 97,2,98,7,98,2,99,7,99,2,100,7,100,2,101,7,101,2,102,7,102,2,103, 7,103,2,104,7,104,2,105,7,105,2,106,7,106,2,107,7,107,1,0,1,0,1, 0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,4,1,4,1, 5,1,5,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1, 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, 8,1,8,1,8,1,8,1,9,1,9,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1, 10,1,10,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1, 11,1,11,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1, 13,1,13,1,13,1,13,1,13,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,16,1, 16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,1, 17,1,17,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1, 18,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1, 22,1,22,1,23,1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1, 25,1,25,1,25,1,25,1,26,1,26,1,26,1,27,1,27,1,27,1,27,1,27,1,27,1, 27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,29,1, 29,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1, 31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1, 33,1,33,1,33,1,34,1,34,1,35,1,35,1,36,1,36,1,37,1,37,1,38,1,38,1, 38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1, 41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1, 42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1, 44,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1, 47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1, 50,1,50,1,51,1,51,1,51,1,52,1,52,1,53,1,53,1,53,1,54,1,54,1,54,1, 55,1,55,1,55,1,56,1,56,1,57,1,57,1,58,1,58,1,59,1,59,1,60,1,60,1, 61,1,61,1,62,1,62,1,62,1,63,1,63,1,63,1,64,1,64,1,64,1,65,1,65,1, 65,1,66,1,66,1,66,1,67,1,67,1,67,1,68,1,68,1,69,1,69,1,70,1,70,1, 70,1,71,1,71,1,71,1,72,1,72,1,73,1,73,1,73,1,74,1,74,1,74,1,75,1, 75,1,75,1,76,1,76,1,76,1,77,1,77,1,77,1,78,1,78,1,78,1,79,1,79,1, 79,1,80,1,80,1,80,1,80,1,81,1,81,1,81,1,81,1,81,1,82,1,82,1,82,1, 82,1,83,1,83,1,83,1,84,1,84,1,84,1,84,1,84,1,84,1,85,1,85,1,85,1, 85,1,85,1,85,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,87,1, 87,1,87,1,87,1,87,1,87,1,87,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1, 88,1,88,1,89,1,89,1,89,1,89,1,89,1,89,1,89,1,90,1,90,1,90,1,90,1, 90,1,90,1,91,1,91,1,92,1,92,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1, 93,1,93,3,93,677,8,93,1,94,4,94,680,8,94,11,94,12,94,681,1,94,1, 94,5,94,686,8,94,10,94,12,94,689,9,94,1,94,1,94,3,94,693,8,94,1, 94,4,94,696,8,94,11,94,12,94,697,3,94,700,8,94,1,94,3,94,703,8,94, 1,95,1,95,1,95,1,95,1,95,3,95,710,8,95,1,95,3,95,713,8,95,1,95,1, 95,3,95,717,8,95,3,95,719,8,95,1,96,1,96,1,96,1,96,3,96,725,8,96, 1,96,1,96,3,96,729,8,96,1,96,5,96,732,8,96,10,96,12,96,735,9,96, 1,97,1,97,3,97,739,8,97,1,97,1,97,3,97,743,8,97,1,97,5,97,746,8, 97,10,97,12,97,749,9,97,1,98,1,98,1,98,3,98,754,8,98,1,98,5,98,757, 8,98,10,98,12,98,760,9,98,3,98,762,8,98,1,99,1,99,1,99,1,99,3,99, 768,8,99,1,99,1,99,3,99,772,8,99,1,99,5,99,775,8,99,10,99,12,99, 778,9,99,1,100,4,100,781,8,100,11,100,12,100,782,1,100,1,100,3,100, 787,8,100,1,100,1,100,4,100,791,8,100,11,100,12,100,792,1,100,1, 100,4,100,797,8,100,11,100,12,100,798,1,100,1,100,4,100,803,8,100, 11,100,12,100,804,1,100,1,100,4,100,809,8,100,11,100,12,100,810, 3,100,813,8,100,1,101,3,101,816,8,101,1,101,1,101,5,101,820,8,101, 10,101,12,101,823,9,101,1,102,3,102,826,8,102,1,102,1,102,1,102, 1,102,5,102,832,8,102,10,102,12,102,835,9,102,1,102,1,102,1,103, 1,103,1,103,3,103,842,8,103,1,103,1,103,1,103,1,103,5,103,848,8, 103,10,103,12,103,851,9,103,1,103,1,103,1,104,1,104,1,104,1,104, 5,104,859,8,104,10,104,12,104,862,9,104,1,104,1,104,1,104,1,104, 1,104,5,104,869,8,104,10,104,12,104,872,9,104,1,104,3,104,875,8, 104,1,105,1,105,1,105,1,105,5,105,881,8,105,10,105,12,105,884,9, 105,1,105,1,105,1,105,1,105,1,105,1,106,1,106,1,106,1,106,5,106, 895,8,106,10,106,12,106,898,9,106,1,106,3,106,901,8,106,1,106,3, 106,904,8,106,1,106,1,106,1,107,4,107,909,8,107,11,107,12,107,910, 1,107,1,107,1,882,0,108,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,9, 19,10,21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18,37,19,39,20, 41,21,43,22,45,23,47,24,49,25,51,26,53,27,55,28,57,29,59,30,61,31, 63,32,65,33,67,34,69,35,71,36,73,37,75,38,77,39,79,40,81,41,83,42, 85,43,87,44,89,45,91,46,93,47,95,48,97,49,99,50,101,51,103,52,105, 53,107,54,109,55,111,56,113,57,115,58,117,59,119,60,121,61,123,62, 125,63,127,64,129,65,131,66,133,67,135,68,137,69,139,70,141,71,143, 72,145,73,147,74,149,75,151,76,153,77,155,78,157,79,159,80,161,81, 163,82,165,83,167,84,169,85,171,86,173,87,175,88,177,89,179,90,181, 91,183,92,185,93,187,94,189,95,191,96,193,0,195,0,197,0,199,0,201, 0,203,97,205,98,207,99,209,100,211,101,213,102,215,103,1,0,13,2, 0,69,69,101,101,2,0,43,43,45,45,4,0,70,70,76,76,102,102,108,108, 2,0,85,85,117,117,2,0,76,76,108,108,3,0,48,57,65,70,97,102,3,0,65, 90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,3,0,76,76,85,85,117, 117,2,0,39,39,92,92,2,0,34,34,92,92,2,0,10,10,13,13,3,0,9,10,13, 13,32,32,961,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9, 1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19, 1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29, 1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39, 1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49, 1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59, 1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69, 1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79, 1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89, 1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99, 1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0, 0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1, 0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,0, 127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0, 0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145, 1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,151,1,0,0,0,0,153,1,0,0,0, 0,155,1,0,0,0,0,157,1,0,0,0,0,159,1,0,0,0,0,161,1,0,0,0,0,163,1, 0,0,0,0,165,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0,0,171,1,0,0,0,0, 173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,0,181,1,0, 0,0,0,183,1,0,0,0,0,185,1,0,0,0,0,187,1,0,0,0,0,189,1,0,0,0,0,191, 1,0,0,0,0,203,1,0,0,0,0,205,1,0,0,0,0,207,1,0,0,0,0,209,1,0,0,0, 0,211,1,0,0,0,0,213,1,0,0,0,0,215,1,0,0,0,1,217,1,0,0,0,3,224,1, 0,0,0,5,239,1,0,0,0,7,247,1,0,0,0,9,249,1,0,0,0,11,251,1,0,0,0,13, 253,1,0,0,0,15,258,1,0,0,0,17,267,1,0,0,0,19,287,1,0,0,0,21,289, 1,0,0,0,23,299,1,0,0,0,25,312,1,0,0,0,27,319,1,0,0,0,29,328,1,0, 0,0,31,330,1,0,0,0,33,333,1,0,0,0,35,345,1,0,0,0,37,354,1,0,0,0, 39,363,1,0,0,0,41,370,1,0,0,0,43,372,1,0,0,0,45,374,1,0,0,0,47,377, 1,0,0,0,49,382,1,0,0,0,51,386,1,0,0,0,53,392,1,0,0,0,55,395,1,0, 0,0,57,402,1,0,0,0,59,409,1,0,0,0,61,415,1,0,0,0,63,424,1,0,0,0, 65,430,1,0,0,0,67,435,1,0,0,0,69,443,1,0,0,0,71,445,1,0,0,0,73,447, 1,0,0,0,75,449,1,0,0,0,77,451,1,0,0,0,79,456,1,0,0,0,81,461,1,0, 0,0,83,466,1,0,0,0,85,475,1,0,0,0,87,482,1,0,0,0,89,487,1,0,0,0, 91,493,1,0,0,0,93,497,1,0,0,0,95,502,1,0,0,0,97,508,1,0,0,0,99,515, 1,0,0,0,101,518,1,0,0,0,103,520,1,0,0,0,105,523,1,0,0,0,107,525, 1,0,0,0,109,528,1,0,0,0,111,531,1,0,0,0,113,534,1,0,0,0,115,536, 1,0,0,0,117,538,1,0,0,0,119,540,1,0,0,0,121,542,1,0,0,0,123,544, 1,0,0,0,125,546,1,0,0,0,127,549,1,0,0,0,129,552,1,0,0,0,131,555, 1,0,0,0,133,558,1,0,0,0,135,561,1,0,0,0,137,564,1,0,0,0,139,566, 1,0,0,0,141,568,1,0,0,0,143,571,1,0,0,0,145,574,1,0,0,0,147,576, 1,0,0,0,149,579,1,0,0,0,151,582,1,0,0,0,153,585,1,0,0,0,155,588, 1,0,0,0,157,591,1,0,0,0,159,594,1,0,0,0,161,597,1,0,0,0,163,601, 1,0,0,0,165,606,1,0,0,0,167,610,1,0,0,0,169,613,1,0,0,0,171,619, 1,0,0,0,173,625,1,0,0,0,175,634,1,0,0,0,177,641,1,0,0,0,179,650, 1,0,0,0,181,657,1,0,0,0,183,663,1,0,0,0,185,665,1,0,0,0,187,676, 1,0,0,0,189,679,1,0,0,0,191,709,1,0,0,0,193,724,1,0,0,0,195,736, 1,0,0,0,197,761,1,0,0,0,199,767,1,0,0,0,201,780,1,0,0,0,203,815, 1,0,0,0,205,825,1,0,0,0,207,841,1,0,0,0,209,874,1,0,0,0,211,876, 1,0,0,0,213,890,1,0,0,0,215,908,1,0,0,0,217,218,5,105,0,0,218,219, 5,109,0,0,219,220,5,112,0,0,220,221,5,111,0,0,221,222,5,114,0,0, 222,223,5,116,0,0,223,2,1,0,0,0,224,225,5,73,0,0,225,226,5,110,0, 0,226,227,5,115,0,0,227,228,5,116,0,0,228,229,5,114,0,0,229,230, 5,117,0,0,230,231,5,99,0,0,231,232,5,116,0,0,232,233,5,105,0,0,233, 234,5,111,0,0,234,235,5,110,0,0,235,236,5,83,0,0,236,237,5,101,0, 0,237,238,5,116,0,0,238,4,1,0,0,0,239,240,5,101,0,0,240,241,5,120, 0,0,241,242,5,116,0,0,242,243,5,101,0,0,243,244,5,110,0,0,244,245, 5,100,0,0,245,246,5,115,0,0,246,6,1,0,0,0,247,248,5,44,0,0,248,8, 1,0,0,0,249,250,5,123,0,0,250,10,1,0,0,0,251,252,5,125,0,0,252,12, 1,0,0,0,253,254,5,67,0,0,254,255,5,111,0,0,255,256,5,114,0,0,256, 257,5,101,0,0,257,14,1,0,0,0,258,259,5,112,0,0,259,260,5,114,0,0, 260,261,5,111,0,0,261,262,5,118,0,0,262,263,5,105,0,0,263,264,5, 100,0,0,264,265,5,101,0,0,265,266,5,115,0,0,266,16,1,0,0,0,267,268, 5,97,0,0,268,269,5,114,0,0,269,270,5,99,0,0,270,271,5,104,0,0,271, 272,5,105,0,0,272,273,5,116,0,0,273,274,5,101,0,0,274,275,5,99,0, 0,275,276,5,116,0,0,276,277,5,117,0,0,277,278,5,114,0,0,278,279, 5,97,0,0,279,280,5,108,0,0,280,281,5,95,0,0,281,282,5,115,0,0,282, 283,5,116,0,0,283,284,5,97,0,0,284,285,5,116,0,0,285,286,5,101,0, 0,286,18,1,0,0,0,287,288,5,59,0,0,288,20,1,0,0,0,289,290,5,102,0, 0,290,291,5,117,0,0,291,292,5,110,0,0,292,293,5,99,0,0,293,294,5, 116,0,0,294,295,5,105,0,0,295,296,5,111,0,0,296,297,5,110,0,0,297, 298,5,115,0,0,298,22,1,0,0,0,299,300,5,105,0,0,300,301,5,110,0,0, 301,302,5,115,0,0,302,303,5,116,0,0,303,304,5,114,0,0,304,305,5, 117,0,0,305,306,5,99,0,0,306,307,5,116,0,0,307,308,5,105,0,0,308, 309,5,111,0,0,309,310,5,110,0,0,310,311,5,115,0,0,311,24,1,0,0,0, 312,313,5,97,0,0,313,314,5,108,0,0,314,315,5,119,0,0,315,316,5,97, 0,0,316,317,5,121,0,0,317,318,5,115,0,0,318,26,1,0,0,0,319,320,5, 101,0,0,320,321,5,110,0,0,321,322,5,99,0,0,322,323,5,111,0,0,323, 324,5,100,0,0,324,325,5,105,0,0,325,326,5,110,0,0,326,327,5,103, 0,0,327,28,1,0,0,0,328,329,5,58,0,0,329,30,1,0,0,0,330,331,5,58, 0,0,331,332,5,58,0,0,332,32,1,0,0,0,333,334,5,97,0,0,334,335,5,114, 0,0,335,336,5,103,0,0,336,337,5,115,0,0,337,338,5,95,0,0,338,339, 5,100,0,0,339,340,5,105,0,0,340,341,5,115,0,0,341,342,5,97,0,0,342, 343,5,115,0,0,343,344,5,115,0,0,344,34,1,0,0,0,345,346,5,97,0,0, 346,347,5,115,0,0,347,348,5,115,0,0,348,349,5,101,0,0,349,350,5, 109,0,0,350,351,5,98,0,0,351,352,5,108,0,0,352,353,5,121,0,0,353, 36,1,0,0,0,354,355,5,98,0,0,355,356,5,101,0,0,356,357,5,104,0,0, 357,358,5,97,0,0,358,359,5,118,0,0,359,360,5,105,0,0,360,361,5,111, 0,0,361,362,5,114,0,0,362,38,1,0,0,0,363,364,5,101,0,0,364,365,5, 120,0,0,365,366,5,116,0,0,366,367,5,101,0,0,367,368,5,114,0,0,368, 369,5,110,0,0,369,40,1,0,0,0,370,371,5,40,0,0,371,42,1,0,0,0,372, 373,5,41,0,0,373,44,1,0,0,0,374,375,5,105,0,0,375,376,5,102,0,0, 376,46,1,0,0,0,377,378,5,101,0,0,378,379,5,108,0,0,379,380,5,115, 0,0,380,381,5,101,0,0,381,48,1,0,0,0,382,383,5,102,0,0,383,384,5, 111,0,0,384,385,5,114,0,0,385,50,1,0,0,0,386,387,5,119,0,0,387,388, 5,104,0,0,388,389,5,105,0,0,389,390,5,108,0,0,390,391,5,101,0,0, 391,52,1,0,0,0,392,393,5,100,0,0,393,394,5,111,0,0,394,54,1,0,0, 0,395,396,5,115,0,0,396,397,5,119,0,0,397,398,5,105,0,0,398,399, 5,116,0,0,399,400,5,99,0,0,400,401,5,104,0,0,401,56,1,0,0,0,402, 403,5,114,0,0,403,404,5,101,0,0,404,405,5,116,0,0,405,406,5,117, 0,0,406,407,5,114,0,0,407,408,5,110,0,0,408,58,1,0,0,0,409,410,5, 98,0,0,410,411,5,114,0,0,411,412,5,101,0,0,412,413,5,97,0,0,413, 414,5,107,0,0,414,60,1,0,0,0,415,416,5,99,0,0,416,417,5,111,0,0, 417,418,5,110,0,0,418,419,5,116,0,0,419,420,5,105,0,0,420,421,5, 110,0,0,421,422,5,117,0,0,422,423,5,101,0,0,423,62,1,0,0,0,424,425, 5,115,0,0,425,426,5,112,0,0,426,427,5,97,0,0,427,428,5,119,0,0,428, 429,5,110,0,0,429,64,1,0,0,0,430,431,5,99,0,0,431,432,5,97,0,0,432, 433,5,115,0,0,433,434,5,101,0,0,434,66,1,0,0,0,435,436,5,100,0,0, 436,437,5,101,0,0,437,438,5,102,0,0,438,439,5,97,0,0,439,440,5,117, 0,0,440,441,5,108,0,0,441,442,5,116,0,0,442,68,1,0,0,0,443,444,5, 42,0,0,444,70,1,0,0,0,445,446,5,38,0,0,446,72,1,0,0,0,447,448,5, 60,0,0,448,74,1,0,0,0,449,450,5,62,0,0,450,76,1,0,0,0,451,452,5, 98,0,0,452,453,5,111,0,0,453,454,5,111,0,0,454,455,5,108,0,0,455, 78,1,0,0,0,456,457,5,118,0,0,457,458,5,111,0,0,458,459,5,105,0,0, 459,460,5,100,0,0,460,80,1,0,0,0,461,462,5,101,0,0,462,463,5,110, 0,0,463,464,5,117,0,0,464,465,5,109,0,0,465,82,1,0,0,0,466,467,5, 117,0,0,467,468,5,110,0,0,468,469,5,115,0,0,469,470,5,105,0,0,470, 471,5,103,0,0,471,472,5,110,0,0,472,473,5,101,0,0,473,474,5,100, 0,0,474,84,1,0,0,0,475,476,5,115,0,0,476,477,5,105,0,0,477,478,5, 103,0,0,478,479,5,110,0,0,479,480,5,101,0,0,480,481,5,100,0,0,481, 86,1,0,0,0,482,483,5,99,0,0,483,484,5,104,0,0,484,485,5,97,0,0,485, 486,5,114,0,0,486,88,1,0,0,0,487,488,5,115,0,0,488,489,5,104,0,0, 489,490,5,111,0,0,490,491,5,114,0,0,491,492,5,116,0,0,492,90,1,0, 0,0,493,494,5,105,0,0,494,495,5,110,0,0,495,496,5,116,0,0,496,92, 1,0,0,0,497,498,5,108,0,0,498,499,5,111,0,0,499,500,5,110,0,0,500, 501,5,103,0,0,501,94,1,0,0,0,502,503,5,102,0,0,503,504,5,108,0,0, 504,505,5,111,0,0,505,506,5,97,0,0,506,507,5,116,0,0,507,96,1,0, 0,0,508,509,5,100,0,0,509,510,5,111,0,0,510,511,5,117,0,0,511,512, 5,98,0,0,512,513,5,108,0,0,513,514,5,101,0,0,514,98,1,0,0,0,515, 516,5,91,0,0,516,517,5,91,0,0,517,100,1,0,0,0,518,519,5,61,0,0,519, 102,1,0,0,0,520,521,5,93,0,0,521,522,5,93,0,0,522,104,1,0,0,0,523, 524,5,46,0,0,524,106,1,0,0,0,525,526,5,45,0,0,526,527,5,62,0,0,527, 108,1,0,0,0,528,529,5,43,0,0,529,530,5,43,0,0,530,110,1,0,0,0,531, 532,5,45,0,0,532,533,5,45,0,0,533,112,1,0,0,0,534,535,5,43,0,0,535, 114,1,0,0,0,536,537,5,45,0,0,537,116,1,0,0,0,538,539,5,126,0,0,539, 118,1,0,0,0,540,541,5,33,0,0,541,120,1,0,0,0,542,543,5,47,0,0,543, 122,1,0,0,0,544,545,5,37,0,0,545,124,1,0,0,0,546,547,5,60,0,0,547, 548,5,60,0,0,548,126,1,0,0,0,549,550,5,62,0,0,550,551,5,62,0,0,551, 128,1,0,0,0,552,553,5,60,0,0,553,554,5,61,0,0,554,130,1,0,0,0,555, 556,5,62,0,0,556,557,5,61,0,0,557,132,1,0,0,0,558,559,5,61,0,0,559, 560,5,61,0,0,560,134,1,0,0,0,561,562,5,33,0,0,562,563,5,61,0,0,563, 136,1,0,0,0,564,565,5,94,0,0,565,138,1,0,0,0,566,567,5,124,0,0,567, 140,1,0,0,0,568,569,5,38,0,0,569,570,5,38,0,0,570,142,1,0,0,0,571, 572,5,124,0,0,572,573,5,124,0,0,573,144,1,0,0,0,574,575,5,63,0,0, 575,146,1,0,0,0,576,577,5,43,0,0,577,578,5,61,0,0,578,148,1,0,0, 0,579,580,5,45,0,0,580,581,5,61,0,0,581,150,1,0,0,0,582,583,5,42, 0,0,583,584,5,61,0,0,584,152,1,0,0,0,585,586,5,47,0,0,586,587,5, 61,0,0,587,154,1,0,0,0,588,589,5,38,0,0,589,590,5,61,0,0,590,156, 1,0,0,0,591,592,5,124,0,0,592,593,5,61,0,0,593,158,1,0,0,0,594,595, 5,94,0,0,595,596,5,61,0,0,596,160,1,0,0,0,597,598,5,62,0,0,598,599, 5,62,0,0,599,600,5,61,0,0,600,162,1,0,0,0,601,602,5,62,0,0,602,603, 5,62,0,0,603,604,5,62,0,0,604,605,5,61,0,0,605,164,1,0,0,0,606,607, 5,60,0,0,607,608,5,60,0,0,608,609,5,61,0,0,609,166,1,0,0,0,610,611, 5,37,0,0,611,612,5,61,0,0,612,168,1,0,0,0,613,614,5,97,0,0,614,615, 5,108,0,0,615,616,5,105,0,0,616,617,5,97,0,0,617,618,5,115,0,0,618, 170,1,0,0,0,619,620,5,99,0,0,620,621,5,111,0,0,621,622,5,110,0,0, 622,623,5,115,0,0,623,624,5,116,0,0,624,172,1,0,0,0,625,626,5,118, 0,0,626,627,5,111,0,0,627,628,5,108,0,0,628,629,5,97,0,0,629,630, 5,116,0,0,630,631,5,105,0,0,631,632,5,108,0,0,632,633,5,101,0,0, 633,174,1,0,0,0,634,635,5,115,0,0,635,636,5,116,0,0,636,637,5,97, 0,0,637,638,5,116,0,0,638,639,5,105,0,0,639,640,5,99,0,0,640,176, 1,0,0,0,641,642,5,114,0,0,642,643,5,101,0,0,643,644,5,103,0,0,644, 645,5,105,0,0,645,646,5,115,0,0,646,647,5,116,0,0,647,648,5,101, 0,0,648,649,5,114,0,0,649,178,1,0,0,0,650,651,5,115,0,0,651,652, 5,116,0,0,652,653,5,114,0,0,653,654,5,117,0,0,654,655,5,99,0,0,655, 656,5,116,0,0,656,180,1,0,0,0,657,658,5,117,0,0,658,659,5,110,0, 0,659,660,5,105,0,0,660,661,5,111,0,0,661,662,5,110,0,0,662,182, 1,0,0,0,663,664,5,91,0,0,664,184,1,0,0,0,665,666,5,93,0,0,666,186, 1,0,0,0,667,668,5,116,0,0,668,669,5,114,0,0,669,670,5,117,0,0,670, 677,5,101,0,0,671,672,5,102,0,0,672,673,5,97,0,0,673,674,5,108,0, 0,674,675,5,115,0,0,675,677,5,101,0,0,676,667,1,0,0,0,676,671,1, 0,0,0,677,188,1,0,0,0,678,680,2,48,57,0,679,678,1,0,0,0,680,681, 1,0,0,0,681,679,1,0,0,0,681,682,1,0,0,0,682,683,1,0,0,0,683,687, 5,46,0,0,684,686,2,48,57,0,685,684,1,0,0,0,686,689,1,0,0,0,687,685, 1,0,0,0,687,688,1,0,0,0,688,699,1,0,0,0,689,687,1,0,0,0,690,692, 7,0,0,0,691,693,7,1,0,0,692,691,1,0,0,0,692,693,1,0,0,0,693,695, 1,0,0,0,694,696,2,48,57,0,695,694,1,0,0,0,696,697,1,0,0,0,697,695, 1,0,0,0,697,698,1,0,0,0,698,700,1,0,0,0,699,690,1,0,0,0,699,700, 1,0,0,0,700,702,1,0,0,0,701,703,7,2,0,0,702,701,1,0,0,0,702,703, 1,0,0,0,703,190,1,0,0,0,704,710,3,193,96,0,705,710,3,199,99,0,706, 710,3,195,97,0,707,710,3,197,98,0,708,710,3,201,100,0,709,704,1, 0,0,0,709,705,1,0,0,0,709,706,1,0,0,0,709,707,1,0,0,0,709,708,1, 0,0,0,710,712,1,0,0,0,711,713,7,3,0,0,712,711,1,0,0,0,712,713,1, 0,0,0,713,718,1,0,0,0,714,716,7,4,0,0,715,717,7,4,0,0,716,715,1, 0,0,0,716,717,1,0,0,0,717,719,1,0,0,0,718,714,1,0,0,0,718,719,1, 0,0,0,719,192,1,0,0,0,720,721,5,48,0,0,721,725,5,98,0,0,722,723, 5,48,0,0,723,725,5,66,0,0,724,720,1,0,0,0,724,722,1,0,0,0,725,726, 1,0,0,0,726,733,2,48,49,0,727,729,5,95,0,0,728,727,1,0,0,0,728,729, 1,0,0,0,729,730,1,0,0,0,730,732,2,48,49,0,731,728,1,0,0,0,732,735, 1,0,0,0,733,731,1,0,0,0,733,734,1,0,0,0,734,194,1,0,0,0,735,733, 1,0,0,0,736,738,5,48,0,0,737,739,5,95,0,0,738,737,1,0,0,0,738,739, 1,0,0,0,739,740,1,0,0,0,740,747,2,48,55,0,741,743,5,95,0,0,742,741, 1,0,0,0,742,743,1,0,0,0,743,744,1,0,0,0,744,746,2,48,55,0,745,742, 1,0,0,0,746,749,1,0,0,0,747,745,1,0,0,0,747,748,1,0,0,0,748,196, 1,0,0,0,749,747,1,0,0,0,750,762,5,48,0,0,751,758,2,49,57,0,752,754, 5,95,0,0,753,752,1,0,0,0,753,754,1,0,0,0,754,755,1,0,0,0,755,757, 2,48,57,0,756,753,1,0,0,0,757,760,1,0,0,0,758,756,1,0,0,0,758,759, 1,0,0,0,759,762,1,0,0,0,760,758,1,0,0,0,761,750,1,0,0,0,761,751, 1,0,0,0,762,198,1,0,0,0,763,764,5,48,0,0,764,768,5,120,0,0,765,766, 5,48,0,0,766,768,5,88,0,0,767,763,1,0,0,0,767,765,1,0,0,0,768,769, 1,0,0,0,769,776,7,5,0,0,770,772,5,95,0,0,771,770,1,0,0,0,771,772, 1,0,0,0,772,773,1,0,0,0,773,775,7,5,0,0,774,771,1,0,0,0,775,778, 1,0,0,0,776,774,1,0,0,0,776,777,1,0,0,0,777,200,1,0,0,0,778,776, 1,0,0,0,779,781,2,48,57,0,780,779,1,0,0,0,781,782,1,0,0,0,782,780, 1,0,0,0,782,783,1,0,0,0,783,784,1,0,0,0,784,786,5,39,0,0,785,787, 5,115,0,0,786,785,1,0,0,0,786,787,1,0,0,0,787,812,1,0,0,0,788,790, 5,98,0,0,789,791,2,48,49,0,790,789,1,0,0,0,791,792,1,0,0,0,792,790, 1,0,0,0,792,793,1,0,0,0,793,813,1,0,0,0,794,796,5,111,0,0,795,797, 2,48,55,0,796,795,1,0,0,0,797,798,1,0,0,0,798,796,1,0,0,0,798,799, 1,0,0,0,799,813,1,0,0,0,800,802,5,100,0,0,801,803,2,48,57,0,802, 801,1,0,0,0,803,804,1,0,0,0,804,802,1,0,0,0,804,805,1,0,0,0,805, 813,1,0,0,0,806,808,5,104,0,0,807,809,7,5,0,0,808,807,1,0,0,0,809, 810,1,0,0,0,810,808,1,0,0,0,810,811,1,0,0,0,811,813,1,0,0,0,812, 788,1,0,0,0,812,794,1,0,0,0,812,800,1,0,0,0,812,806,1,0,0,0,813, 202,1,0,0,0,814,816,5,94,0,0,815,814,1,0,0,0,815,816,1,0,0,0,816, 817,1,0,0,0,817,821,7,6,0,0,818,820,7,7,0,0,819,818,1,0,0,0,820, 823,1,0,0,0,821,819,1,0,0,0,821,822,1,0,0,0,822,204,1,0,0,0,823, 821,1,0,0,0,824,826,7,8,0,0,825,824,1,0,0,0,825,826,1,0,0,0,826, 827,1,0,0,0,827,833,5,39,0,0,828,829,5,92,0,0,829,832,9,0,0,0,830, 832,8,9,0,0,831,828,1,0,0,0,831,830,1,0,0,0,832,835,1,0,0,0,833, 831,1,0,0,0,833,834,1,0,0,0,834,836,1,0,0,0,835,833,1,0,0,0,836, 837,5,39,0,0,837,206,1,0,0,0,838,839,5,117,0,0,839,842,5,56,0,0, 840,842,7,8,0,0,841,838,1,0,0,0,841,840,1,0,0,0,842,843,1,0,0,0, 843,849,5,34,0,0,844,845,5,92,0,0,845,848,9,0,0,0,846,848,8,10,0, 0,847,844,1,0,0,0,847,846,1,0,0,0,848,851,1,0,0,0,849,847,1,0,0, 0,849,850,1,0,0,0,850,852,1,0,0,0,851,849,1,0,0,0,852,853,5,34,0, 0,853,208,1,0,0,0,854,860,5,34,0,0,855,856,5,92,0,0,856,859,9,0, 0,0,857,859,8,10,0,0,858,855,1,0,0,0,858,857,1,0,0,0,859,862,1,0, 0,0,860,858,1,0,0,0,860,861,1,0,0,0,861,863,1,0,0,0,862,860,1,0, 0,0,863,875,5,34,0,0,864,870,5,39,0,0,865,866,5,92,0,0,866,869,9, 0,0,0,867,869,8,9,0,0,868,865,1,0,0,0,868,867,1,0,0,0,869,872,1, 0,0,0,870,868,1,0,0,0,870,871,1,0,0,0,871,873,1,0,0,0,872,870,1, 0,0,0,873,875,5,39,0,0,874,854,1,0,0,0,874,864,1,0,0,0,875,210,1, 0,0,0,876,877,5,47,0,0,877,878,5,42,0,0,878,882,1,0,0,0,879,881, 9,0,0,0,880,879,1,0,0,0,881,884,1,0,0,0,882,883,1,0,0,0,882,880, 1,0,0,0,883,885,1,0,0,0,884,882,1,0,0,0,885,886,5,42,0,0,886,887, 5,47,0,0,887,888,1,0,0,0,888,889,6,105,0,0,889,212,1,0,0,0,890,891, 5,47,0,0,891,892,5,47,0,0,892,896,1,0,0,0,893,895,8,11,0,0,894,893, 1,0,0,0,895,898,1,0,0,0,896,894,1,0,0,0,896,897,1,0,0,0,897,903, 1,0,0,0,898,896,1,0,0,0,899,901,5,13,0,0,900,899,1,0,0,0,900,901, 1,0,0,0,901,902,1,0,0,0,902,904,5,10,0,0,903,900,1,0,0,0,903,904, 1,0,0,0,904,905,1,0,0,0,905,906,6,106,0,0,906,214,1,0,0,0,907,909, 7,12,0,0,908,907,1,0,0,0,909,910,1,0,0,0,910,908,1,0,0,0,910,911, 1,0,0,0,911,912,1,0,0,0,912,913,6,107,0,0,913,216,1,0,0,0,49,0,676, 681,687,692,697,699,702,709,712,716,718,724,728,733,738,742,747, 753,758,761,767,771,776,782,786,792,798,804,810,812,815,821,825, 831,833,841,847,849,858,860,868,870,874,882,896,900,903,910,1,6, 0,0 ]
[docs] class CoreDSL2Lexer(Lexer):
[docs] atn = ATNDeserializer().deserialize(serializedATN())
[docs] decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]
[docs] T__0 = 1
[docs] T__1 = 2
[docs] T__2 = 3
[docs] T__3 = 4
[docs] T__4 = 5
[docs] T__5 = 6
[docs] T__6 = 7
[docs] T__7 = 8
[docs] T__8 = 9
[docs] T__9 = 10
[docs] T__10 = 11
[docs] T__11 = 12
[docs] T__12 = 13
[docs] T__13 = 14
[docs] T__14 = 15
[docs] T__15 = 16
[docs] T__16 = 17
[docs] T__17 = 18
[docs] T__18 = 19
[docs] T__19 = 20
[docs] T__20 = 21
[docs] T__21 = 22
[docs] T__22 = 23
[docs] T__23 = 24
[docs] T__24 = 25
[docs] T__25 = 26
[docs] T__26 = 27
[docs] T__27 = 28
[docs] T__28 = 29
[docs] T__29 = 30
[docs] T__30 = 31
[docs] T__31 = 32
[docs] T__32 = 33
[docs] T__33 = 34
[docs] T__34 = 35
[docs] T__35 = 36
[docs] T__36 = 37
[docs] T__37 = 38
[docs] T__38 = 39
[docs] T__39 = 40
[docs] T__40 = 41
[docs] T__41 = 42
[docs] T__42 = 43
[docs] T__43 = 44
[docs] T__44 = 45
[docs] T__45 = 46
[docs] T__46 = 47
[docs] T__47 = 48
[docs] T__48 = 49
[docs] T__49 = 50
[docs] T__50 = 51
[docs] T__51 = 52
[docs] T__52 = 53
[docs] T__53 = 54
[docs] T__54 = 55
[docs] T__55 = 56
[docs] T__56 = 57
[docs] T__57 = 58
[docs] T__58 = 59
[docs] T__59 = 60
[docs] T__60 = 61
[docs] T__61 = 62
[docs] T__62 = 63
[docs] T__63 = 64
[docs] T__64 = 65
[docs] T__65 = 66
[docs] T__66 = 67
[docs] T__67 = 68
[docs] T__68 = 69
[docs] T__69 = 70
[docs] T__70 = 71
[docs] T__71 = 72
[docs] T__72 = 73
[docs] T__73 = 74
[docs] T__74 = 75
[docs] T__75 = 76
[docs] T__76 = 77
[docs] T__77 = 78
[docs] T__78 = 79
[docs] T__79 = 80
[docs] T__80 = 81
[docs] T__81 = 82
[docs] T__82 = 83
[docs] T__83 = 84
[docs] T__84 = 85
[docs] T__85 = 86
[docs] T__86 = 87
[docs] T__87 = 88
[docs] T__88 = 89
[docs] T__89 = 90
[docs] T__90 = 91
[docs] LEFT_BR = 92
[docs] RIGHT_BR = 93
[docs] BOOLEAN = 94
[docs] FLOAT = 95
[docs] INTEGER = 96
[docs] IDENTIFIER = 97
[docs] CHARCONST = 98
[docs] ENCSTRINGCONST = 99
[docs] STRING = 100
[docs] ML_COMMENT = 101
[docs] SL_COMMENT = 102
[docs] WS = 103
[docs] channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ]
[docs] modeNames = [ "DEFAULT_MODE" ]
[docs] literalNames = [ "<INVALID>", "'import'", "'InstructionSet'", "'extends'", "','", "'{'", "'}'", "'Core'", "'provides'", "'architectural_state'", "';'", "'functions'", "'instructions'", "'always'", "'encoding'", "':'", "'::'", "'args_disass'", "'assembly'", "'behavior'", "'extern'", "'('", "')'", "'if'", "'else'", "'for'", "'while'", "'do'", "'switch'", "'return'", "'break'", "'continue'", "'spawn'", "'case'", "'default'", "'*'", "'&'", "'<'", "'>'", "'bool'", "'void'", "'enum'", "'unsigned'", "'signed'", "'char'", "'short'", "'int'", "'long'", "'float'", "'double'", "'[['", "'='", "']]'", "'.'", "'->'", "'++'", "'--'", "'+'", "'-'", "'~'", "'!'", "'/'", "'%'", "'<<'", "'>>'", "'<='", "'>='", "'=='", "'!='", "'^'", "'|'", "'&&'", "'||'", "'?'", "'+='", "'-='", "'*='", "'/='", "'&='", "'|='", "'^='", "'>>='", "'>>>='", "'<<='", "'%='", "'alias'", "'const'", "'volatile'", "'static'", "'register'", "'struct'", "'union'", "'['", "']'" ]
[docs] symbolicNames = [ "<INVALID>", "LEFT_BR", "RIGHT_BR", "BOOLEAN", "FLOAT", "INTEGER", "IDENTIFIER", "CHARCONST", "ENCSTRINGCONST", "STRING", "ML_COMMENT", "SL_COMMENT", "WS" ]
[docs] ruleNames = [ "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8", "T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "T__16", "T__17", "T__18", "T__19", "T__20", "T__21", "T__22", "T__23", "T__24", "T__25", "T__26", "T__27", "T__28", "T__29", "T__30", "T__31", "T__32", "T__33", "T__34", "T__35", "T__36", "T__37", "T__38", "T__39", "T__40", "T__41", "T__42", "T__43", "T__44", "T__45", "T__46", "T__47", "T__48", "T__49", "T__50", "T__51", "T__52", "T__53", "T__54", "T__55", "T__56", "T__57", "T__58", "T__59", "T__60", "T__61", "T__62", "T__63", "T__64", "T__65", "T__66", "T__67", "T__68", "T__69", "T__70", "T__71", "T__72", "T__73", "T__74", "T__75", "T__76", "T__77", "T__78", "T__79", "T__80", "T__81", "T__82", "T__83", "T__84", "T__85", "T__86", "T__87", "T__88", "T__89", "T__90", "LEFT_BR", "RIGHT_BR", "BOOLEAN", "FLOAT", "INTEGER", "BINARYINT", "OCTALINT", "DECIMALINT", "HEXADECIMALINT", "VLOGINT", "IDENTIFIER", "CHARCONST", "ENCSTRINGCONST", "STRING", "ML_COMMENT", "SL_COMMENT", "WS" ]
[docs] grammarFileName = "CoreDSL2.g4"
def __init__(self, input=None, output:TextIO = sys.stdout): super().__init__(input, output) self.checkVersion("4.13.1")
[docs] self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
[docs] self._actions = None
[docs] self._predicates = None