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