Skip to main content
Glama
sequenceParser.js190 kB
// Generated from /Users/gregoriomomm/workspace/ica/mermaid-validator-mcp/src/services/zenuml/sequenceParser.g4 by ANTLR 4.13.2 // jshint ignore: start import antlr4 from 'antlr4'; import sequenceParserListener from './sequenceParserListener.js'; import sequenceParserVisitor from './sequenceParserVisitor.js'; const serializedATN = [4,1,70,617,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,1,0,3,0,116,8,0,1,0,1,0,3,0,120,8,0,1,0,1,0,1,0,1,0,3,0,126,8,0,1,0, 3,0,129,8,0,1,0,1,0,1,0,3,0,134,8,0,1,1,1,1,3,1,138,8,1,1,1,3,1,141,8,1, 1,2,1,2,4,2,145,8,2,11,2,12,2,146,1,2,1,2,5,2,151,8,2,10,2,12,2,154,9,2, 1,2,3,2,157,8,2,1,3,1,3,3,3,161,8,3,1,3,1,3,5,3,165,8,3,10,3,12,3,168,9, 3,1,3,1,3,1,3,3,3,173,8,3,1,3,1,3,1,3,3,3,178,8,3,3,3,180,8,3,1,4,1,4,1, 4,3,4,185,8,4,1,4,3,4,188,8,4,1,4,3,4,191,8,4,1,5,1,5,1,6,3,6,196,8,6,1, 6,3,6,199,8,6,1,6,1,6,3,6,203,8,6,1,6,3,6,206,8,6,1,6,3,6,209,8,6,1,6,1, 6,3,6,213,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,222,8,7,1,7,1,7,3,7,226,8, 7,3,7,228,8,7,1,8,1,8,1,8,3,8,233,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4, 12,242,8,12,11,12,12,12,243,1,13,1,13,3,13,248,8,13,1,13,3,13,251,8,13,1, 13,1,13,1,13,3,13,256,8,13,3,13,258,8,13,1,14,1,14,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,3,16,275,8,16,1,16,1,16,1,16, 1,16,1,16,3,16,282,8,16,1,17,1,17,1,17,3,17,287,8,17,1,18,1,18,1,18,3,18, 292,8,18,1,19,1,19,1,19,3,19,297,8,19,1,19,3,19,300,8,19,1,19,1,19,3,19, 304,8,19,1,20,1,20,1,20,3,20,309,8,20,1,20,3,20,312,8,20,1,20,1,20,1,20, 3,20,317,8,20,1,21,1,21,1,21,3,21,322,8,21,1,22,1,22,1,22,1,22,1,22,5,22, 329,8,22,10,22,12,22,332,9,22,5,22,334,8,22,10,22,12,22,337,9,22,1,22,1, 22,3,22,341,8,22,1,23,3,23,344,8,23,1,23,1,23,1,23,1,23,3,23,350,8,23,1, 23,3,23,353,8,23,1,23,3,23,356,8,23,1,23,3,23,359,8,23,1,24,1,24,1,24,3, 24,364,8,24,1,25,3,25,367,8,25,1,25,1,25,1,25,3,25,372,8,25,1,25,1,25,1, 25,3,25,377,8,25,1,25,1,25,1,25,1,25,1,25,3,25,384,8,25,1,25,1,25,1,25,3, 25,389,8,25,1,26,1,26,1,26,5,26,394,8,26,10,26,12,26,397,9,26,1,27,1,27, 1,28,1,28,1,29,1,29,3,29,405,8,29,1,30,1,30,3,30,409,8,30,1,30,1,30,1,31, 3,31,414,8,31,1,31,1,31,1,31,1,32,1,32,1,32,3,32,422,8,32,1,32,1,32,1,32, 3,32,427,8,32,1,32,1,32,1,32,3,32,432,8,32,3,32,434,8,32,1,33,1,33,1,34, 1,34,1,35,1,35,1,36,1,36,1,36,1,36,5,36,446,8,36,10,36,12,36,449,9,36,1, 36,1,36,3,36,453,8,36,1,37,1,37,1,38,1,38,1,38,5,38,460,8,38,10,38,12,38, 463,9,38,1,38,3,38,466,8,38,1,39,1,39,1,39,3,39,471,8,39,1,40,1,40,1,40, 3,40,476,8,40,1,41,1,41,1,41,1,42,1,42,5,42,483,8,42,10,42,12,42,486,9,42, 1,42,3,42,489,8,42,1,43,1,43,1,43,1,44,1,44,3,44,496,8,44,1,44,1,44,1,45, 1,45,1,45,1,46,1,46,5,46,505,8,46,10,46,12,46,508,9,46,1,46,3,46,511,8,46, 1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,3, 50,527,8,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,538,8,51,1, 52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,3,52,549,8,52,1,52,1,52,1,52, 1,52,1,52,1,52,1,52,1,52,1,52,3,52,560,8,52,1,52,1,52,1,52,1,52,1,52,1,52, 1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1, 52,5,52,583,8,52,10,52,12,52,586,9,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53, 3,53,595,8,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,606,8,54, 1,55,1,55,1,55,3,55,611,8,55,1,56,1,56,1,56,1,56,1,56,0,1,104,57,0,2,4,6, 8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56, 58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104, 106,108,110,112,0,10,2,0,57,57,62,62,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10, 10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,58,59,1,0,34,35,689, 0,133,1,0,0,0,2,135,1,0,0,0,4,156,1,0,0,0,6,179,1,0,0,0,8,190,1,0,0,0,10, 192,1,0,0,0,12,212,1,0,0,0,14,227,1,0,0,0,16,232,1,0,0,0,18,234,1,0,0,0, 20,236,1,0,0,0,22,238,1,0,0,0,24,241,1,0,0,0,26,257,1,0,0,0,28,259,1,0,0, 0,30,261,1,0,0,0,32,281,1,0,0,0,34,286,1,0,0,0,36,291,1,0,0,0,38,303,1,0, 0,0,40,316,1,0,0,0,42,318,1,0,0,0,44,323,1,0,0,0,46,358,1,0,0,0,48,360,1, 0,0,0,50,388,1,0,0,0,52,390,1,0,0,0,54,398,1,0,0,0,56,400,1,0,0,0,58,402, 1,0,0,0,60,406,1,0,0,0,62,413,1,0,0,0,64,433,1,0,0,0,66,435,1,0,0,0,68,437, 1,0,0,0,70,439,1,0,0,0,72,452,1,0,0,0,74,454,1,0,0,0,76,456,1,0,0,0,78,470, 1,0,0,0,80,472,1,0,0,0,82,477,1,0,0,0,84,480,1,0,0,0,86,490,1,0,0,0,88,493, 1,0,0,0,90,499,1,0,0,0,92,502,1,0,0,0,94,512,1,0,0,0,96,516,1,0,0,0,98,521, 1,0,0,0,100,524,1,0,0,0,102,537,1,0,0,0,104,559,1,0,0,0,106,594,1,0,0,0, 108,605,1,0,0,0,110,610,1,0,0,0,112,612,1,0,0,0,114,116,3,2,1,0,115,114, 1,0,0,0,115,116,1,0,0,0,116,117,1,0,0,0,117,134,5,0,0,1,118,120,3,2,1,0, 119,118,1,0,0,0,119,120,1,0,0,0,120,121,1,0,0,0,121,122,3,4,2,0,122,123, 5,0,0,1,123,134,1,0,0,0,124,126,3,2,1,0,125,124,1,0,0,0,125,126,1,0,0,0, 126,128,1,0,0,0,127,129,3,4,2,0,128,127,1,0,0,0,128,129,1,0,0,0,129,130, 1,0,0,0,130,131,3,24,12,0,131,132,5,0,0,1,132,134,1,0,0,0,133,115,1,0,0, 0,133,119,1,0,0,0,133,125,1,0,0,0,134,1,1,0,0,0,135,137,5,6,0,0,136,138, 5,69,0,0,137,136,1,0,0,0,137,138,1,0,0,0,138,140,1,0,0,0,139,141,5,70,0, 0,140,139,1,0,0,0,140,141,1,0,0,0,141,3,1,0,0,0,142,145,3,6,3,0,143,145, 3,12,6,0,144,142,1,0,0,0,144,143,1,0,0,0,145,146,1,0,0,0,146,144,1,0,0,0, 146,147,1,0,0,0,147,157,1,0,0,0,148,151,3,6,3,0,149,151,3,12,6,0,150,148, 1,0,0,0,150,149,1,0,0,0,151,154,1,0,0,0,152,150,1,0,0,0,152,153,1,0,0,0, 153,155,1,0,0,0,154,152,1,0,0,0,155,157,3,8,4,0,156,144,1,0,0,0,156,152, 1,0,0,0,157,5,1,0,0,0,158,160,5,43,0,0,159,161,3,20,10,0,160,159,1,0,0,0, 160,161,1,0,0,0,161,162,1,0,0,0,162,166,5,32,0,0,163,165,3,12,6,0,164,163, 1,0,0,0,165,168,1,0,0,0,166,164,1,0,0,0,166,167,1,0,0,0,167,169,1,0,0,0, 168,166,1,0,0,0,169,180,5,33,0,0,170,172,5,43,0,0,171,173,3,20,10,0,172, 171,1,0,0,0,172,173,1,0,0,0,173,174,1,0,0,0,174,180,5,32,0,0,175,177,5,43, 0,0,176,178,3,20,10,0,177,176,1,0,0,0,177,178,1,0,0,0,178,180,1,0,0,0,179, 158,1,0,0,0,179,170,1,0,0,0,179,175,1,0,0,0,180,7,1,0,0,0,181,187,5,53,0, 0,182,184,5,30,0,0,183,185,3,10,5,0,184,183,1,0,0,0,184,185,1,0,0,0,185, 186,1,0,0,0,186,188,5,31,0,0,187,182,1,0,0,0,187,188,1,0,0,0,188,191,1,0, 0,0,189,191,5,55,0,0,190,181,1,0,0,0,190,189,1,0,0,0,191,9,1,0,0,0,192,193, 7,0,0,0,193,11,1,0,0,0,194,196,3,18,9,0,195,194,1,0,0,0,195,196,1,0,0,0, 196,198,1,0,0,0,197,199,3,14,7,0,198,197,1,0,0,0,198,199,1,0,0,0,199,200, 1,0,0,0,200,202,3,20,10,0,201,203,3,22,11,0,202,201,1,0,0,0,202,203,1,0, 0,0,203,205,1,0,0,0,204,206,3,16,8,0,205,204,1,0,0,0,205,206,1,0,0,0,206, 208,1,0,0,0,207,209,5,11,0,0,208,207,1,0,0,0,208,209,1,0,0,0,209,213,1,0, 0,0,210,213,3,14,7,0,211,213,3,18,9,0,212,195,1,0,0,0,212,210,1,0,0,0,212, 211,1,0,0,0,213,13,1,0,0,0,214,215,5,8,0,0,215,216,3,20,10,0,216,217,5,9, 0,0,217,228,1,0,0,0,218,219,5,8,0,0,219,221,3,20,10,0,220,222,5,16,0,0,221, 220,1,0,0,0,221,222,1,0,0,0,222,228,1,0,0,0,223,225,7,1,0,0,224,226,7,2, 0,0,225,224,1,0,0,0,225,226,1,0,0,0,226,228,1,0,0,0,227,214,1,0,0,0,227, 218,1,0,0,0,227,223,1,0,0,0,228,15,1,0,0,0,229,230,5,48,0,0,230,233,3,20, 10,0,231,233,5,48,0,0,232,229,1,0,0,0,232,231,1,0,0,0,233,17,1,0,0,0,234, 235,5,55,0,0,235,19,1,0,0,0,236,237,7,0,0,0,237,21,1,0,0,0,238,239,5,58, 0,0,239,23,1,0,0,0,240,242,3,32,16,0,241,240,1,0,0,0,242,243,1,0,0,0,243, 241,1,0,0,0,243,244,1,0,0,0,244,25,1,0,0,0,245,247,5,40,0,0,246,248,3,104, 52,0,247,246,1,0,0,0,247,248,1,0,0,0,248,250,1,0,0,0,249,251,5,27,0,0,250, 249,1,0,0,0,250,251,1,0,0,0,251,258,1,0,0,0,252,253,5,54,0,0,253,255,3,64, 32,0,254,256,5,68,0,0,255,254,1,0,0,0,255,256,1,0,0,0,256,258,1,0,0,0,257, 245,1,0,0,0,257,252,1,0,0,0,258,27,1,0,0,0,259,260,3,30,15,0,260,29,1,0, 0,0,261,262,5,66,0,0,262,31,1,0,0,0,263,282,3,92,46,0,264,282,3,34,17,0, 265,282,3,36,18,0,266,282,3,38,19,0,267,282,3,40,20,0,268,282,3,44,22,0, 269,282,3,102,51,0,270,282,3,42,21,0,271,282,3,48,24,0,272,274,3,64,32,0, 273,275,5,68,0,0,274,273,1,0,0,0,274,275,1,0,0,0,275,282,1,0,0,0,276,282, 3,26,13,0,277,282,3,28,14,0,278,282,3,84,42,0,279,280,5,65,0,0,280,282,6, 16,-1,0,281,263,1,0,0,0,281,264,1,0,0,0,281,265,1,0,0,0,281,266,1,0,0,0, 281,267,1,0,0,0,281,268,1,0,0,0,281,269,1,0,0,0,281,270,1,0,0,0,281,271, 1,0,0,0,281,272,1,0,0,0,281,276,1,0,0,0,281,277,1,0,0,0,281,278,1,0,0,0, 281,279,1,0,0,0,282,33,1,0,0,0,283,284,5,42,0,0,284,287,3,100,50,0,285,287, 5,42,0,0,286,283,1,0,0,0,286,285,1,0,0,0,287,35,1,0,0,0,288,289,5,44,0,0, 289,292,3,100,50,0,290,292,5,44,0,0,291,288,1,0,0,0,291,290,1,0,0,0,292, 37,1,0,0,0,293,299,5,45,0,0,294,296,5,30,0,0,295,297,3,106,53,0,296,295, 1,0,0,0,296,297,1,0,0,0,297,298,1,0,0,0,298,300,5,31,0,0,299,294,1,0,0,0, 299,300,1,0,0,0,300,301,1,0,0,0,301,304,3,100,50,0,302,304,5,45,0,0,303, 293,1,0,0,0,303,302,1,0,0,0,304,39,1,0,0,0,305,311,5,46,0,0,306,308,5,30, 0,0,307,309,3,106,53,0,308,307,1,0,0,0,308,309,1,0,0,0,309,310,1,0,0,0,310, 312,5,31,0,0,311,306,1,0,0,0,311,312,1,0,0,0,312,313,1,0,0,0,313,317,3,100, 50,0,314,317,3,100,50,0,315,317,5,46,0,0,316,305,1,0,0,0,316,314,1,0,0,0, 316,315,1,0,0,0,317,41,1,0,0,0,318,321,3,46,23,0,319,322,5,27,0,0,320,322, 3,100,50,0,321,319,1,0,0,0,321,320,1,0,0,0,321,322,1,0,0,0,322,43,1,0,0, 0,323,324,5,47,0,0,324,325,5,30,0,0,325,335,3,20,10,0,326,330,5,28,0,0,327, 329,3,20,10,0,328,327,1,0,0,0,329,332,1,0,0,0,330,328,1,0,0,0,330,331,1, 0,0,0,331,334,1,0,0,0,332,330,1,0,0,0,333,326,1,0,0,0,334,337,1,0,0,0,335, 333,1,0,0,0,335,336,1,0,0,0,336,338,1,0,0,0,337,335,1,0,0,0,338,340,5,31, 0,0,339,341,5,27,0,0,340,339,1,0,0,0,340,341,1,0,0,0,341,45,1,0,0,0,342, 344,3,62,31,0,343,342,1,0,0,0,343,344,1,0,0,0,344,345,1,0,0,0,345,346,5, 41,0,0,346,352,3,68,34,0,347,349,5,30,0,0,348,350,3,76,38,0,349,348,1,0, 0,0,349,350,1,0,0,0,350,351,1,0,0,0,351,353,5,31,0,0,352,347,1,0,0,0,352, 353,1,0,0,0,353,359,1,0,0,0,354,356,3,62,31,0,355,354,1,0,0,0,355,356,1, 0,0,0,356,357,1,0,0,0,357,359,5,41,0,0,358,343,1,0,0,0,358,355,1,0,0,0,359, 47,1,0,0,0,360,363,3,50,25,0,361,364,5,27,0,0,362,364,3,100,50,0,363,361, 1,0,0,0,363,362,1,0,0,0,363,364,1,0,0,0,364,49,1,0,0,0,365,367,3,62,31,0, 366,365,1,0,0,0,366,367,1,0,0,0,367,376,1,0,0,0,368,369,3,54,27,0,369,370, 5,10,0,0,370,372,1,0,0,0,371,368,1,0,0,0,371,372,1,0,0,0,372,373,1,0,0,0, 373,374,3,56,28,0,374,375,5,56,0,0,375,377,1,0,0,0,376,371,1,0,0,0,376,377, 1,0,0,0,377,378,1,0,0,0,378,389,3,52,26,0,379,389,3,62,31,0,380,381,3,54, 27,0,381,382,5,10,0,0,382,384,1,0,0,0,383,380,1,0,0,0,383,384,1,0,0,0,384, 385,1,0,0,0,385,386,3,56,28,0,386,387,5,56,0,0,387,389,1,0,0,0,388,366,1, 0,0,0,388,379,1,0,0,0,388,383,1,0,0,0,389,51,1,0,0,0,390,395,3,58,29,0,391, 392,5,56,0,0,392,394,3,58,29,0,393,391,1,0,0,0,394,397,1,0,0,0,395,393,1, 0,0,0,395,396,1,0,0,0,396,53,1,0,0,0,397,395,1,0,0,0,398,399,7,0,0,0,399, 55,1,0,0,0,400,401,7,0,0,0,401,57,1,0,0,0,402,404,3,74,37,0,403,405,3,60, 30,0,404,403,1,0,0,0,404,405,1,0,0,0,405,59,1,0,0,0,406,408,5,30,0,0,407, 409,3,76,38,0,408,407,1,0,0,0,408,409,1,0,0,0,409,410,1,0,0,0,410,411,5, 31,0,0,411,61,1,0,0,0,412,414,3,70,35,0,413,412,1,0,0,0,413,414,1,0,0,0, 414,415,1,0,0,0,415,416,3,72,36,0,416,417,5,29,0,0,417,63,1,0,0,0,418,419, 3,54,27,0,419,420,5,10,0,0,420,422,1,0,0,0,421,418,1,0,0,0,421,422,1,0,0, 0,422,423,1,0,0,0,423,424,3,56,28,0,424,426,5,7,0,0,425,427,3,66,33,0,426, 425,1,0,0,0,426,427,1,0,0,0,427,434,1,0,0,0,428,429,3,54,27,0,429,431,7, 3,0,0,430,432,3,56,28,0,431,430,1,0,0,0,431,432,1,0,0,0,432,434,1,0,0,0, 433,421,1,0,0,0,433,428,1,0,0,0,434,65,1,0,0,0,435,436,5,67,0,0,436,67,1, 0,0,0,437,438,7,0,0,0,438,69,1,0,0,0,439,440,7,0,0,0,440,71,1,0,0,0,441, 453,3,106,53,0,442,447,5,57,0,0,443,444,5,28,0,0,444,446,5,57,0,0,445,443, 1,0,0,0,446,449,1,0,0,0,447,445,1,0,0,0,447,448,1,0,0,0,448,453,1,0,0,0, 449,447,1,0,0,0,450,453,5,62,0,0,451,453,5,41,0,0,452,441,1,0,0,0,452,442, 1,0,0,0,452,450,1,0,0,0,452,451,1,0,0,0,453,73,1,0,0,0,454,455,7,0,0,0,455, 75,1,0,0,0,456,461,3,78,39,0,457,458,5,28,0,0,458,460,3,78,39,0,459,457, 1,0,0,0,460,463,1,0,0,0,461,459,1,0,0,0,461,462,1,0,0,0,462,465,1,0,0,0, 463,461,1,0,0,0,464,466,5,28,0,0,465,464,1,0,0,0,465,466,1,0,0,0,466,77, 1,0,0,0,467,471,3,80,40,0,468,471,3,82,41,0,469,471,3,104,52,0,470,467,1, 0,0,0,470,468,1,0,0,0,470,469,1,0,0,0,471,79,1,0,0,0,472,473,5,57,0,0,473, 475,5,29,0,0,474,476,3,104,52,0,475,474,1,0,0,0,475,476,1,0,0,0,476,81,1, 0,0,0,477,478,3,70,35,0,478,479,5,57,0,0,479,83,1,0,0,0,480,484,3,86,43, 0,481,483,3,88,44,0,482,481,1,0,0,0,483,486,1,0,0,0,484,482,1,0,0,0,484, 485,1,0,0,0,485,488,1,0,0,0,486,484,1,0,0,0,487,489,3,90,45,0,488,487,1, 0,0,0,488,489,1,0,0,0,489,85,1,0,0,0,490,491,5,49,0,0,491,492,3,100,50,0, 492,87,1,0,0,0,493,495,5,50,0,0,494,496,3,60,30,0,495,494,1,0,0,0,495,496, 1,0,0,0,496,497,1,0,0,0,497,498,3,100,50,0,498,89,1,0,0,0,499,500,5,51,0, 0,500,501,3,100,50,0,501,91,1,0,0,0,502,506,3,94,47,0,503,505,3,96,48,0, 504,503,1,0,0,0,505,508,1,0,0,0,506,504,1,0,0,0,506,507,1,0,0,0,507,510, 1,0,0,0,508,506,1,0,0,0,509,511,3,98,49,0,510,509,1,0,0,0,510,511,1,0,0, 0,511,93,1,0,0,0,512,513,5,37,0,0,513,514,3,108,54,0,514,515,3,100,50,0, 515,95,1,0,0,0,516,517,5,38,0,0,517,518,5,37,0,0,518,519,3,108,54,0,519, 520,3,100,50,0,520,97,1,0,0,0,521,522,5,38,0,0,522,523,3,100,50,0,523,99, 1,0,0,0,524,526,5,32,0,0,525,527,3,24,12,0,526,525,1,0,0,0,526,527,1,0,0, 0,527,528,1,0,0,0,528,529,5,33,0,0,529,101,1,0,0,0,530,531,5,39,0,0,531, 532,3,108,54,0,532,533,3,100,50,0,533,538,1,0,0,0,534,535,5,39,0,0,535,538, 3,108,54,0,536,538,5,39,0,0,537,530,1,0,0,0,537,534,1,0,0,0,537,536,1,0, 0,0,538,103,1,0,0,0,539,540,6,52,-1,0,540,560,3,106,53,0,541,542,5,21,0, 0,542,560,3,104,52,13,543,544,5,26,0,0,544,560,3,104,52,12,545,546,3,56, 28,0,546,547,5,56,0,0,547,549,1,0,0,0,548,545,1,0,0,0,548,549,1,0,0,0,549, 550,1,0,0,0,550,560,3,52,26,0,551,560,3,42,21,0,552,553,5,30,0,0,553,554, 3,104,52,0,554,555,5,31,0,0,555,560,1,0,0,0,556,557,3,62,31,0,557,558,3, 104,52,1,558,560,1,0,0,0,559,539,1,0,0,0,559,541,1,0,0,0,559,543,1,0,0,0, 559,548,1,0,0,0,559,551,1,0,0,0,559,552,1,0,0,0,559,556,1,0,0,0,560,584, 1,0,0,0,561,562,10,11,0,0,562,563,7,4,0,0,563,583,3,104,52,12,564,565,10, 10,0,0,565,566,7,5,0,0,566,583,3,104,52,11,567,568,10,9,0,0,568,569,7,6, 0,0,569,583,3,104,52,10,570,571,10,8,0,0,571,572,7,7,0,0,572,583,3,104,52, 9,573,574,10,7,0,0,574,575,5,13,0,0,575,583,3,104,52,8,576,577,10,6,0,0, 577,578,5,12,0,0,578,583,3,104,52,7,579,580,10,5,0,0,580,581,5,20,0,0,581, 583,3,104,52,6,582,561,1,0,0,0,582,564,1,0,0,0,582,567,1,0,0,0,582,570,1, 0,0,0,582,573,1,0,0,0,582,576,1,0,0,0,582,579,1,0,0,0,583,586,1,0,0,0,584, 582,1,0,0,0,584,585,1,0,0,0,585,105,1,0,0,0,586,584,1,0,0,0,587,595,7,8, 0,0,588,595,5,61,0,0,589,595,5,60,0,0,590,595,7,9,0,0,591,595,5,57,0,0,592, 595,5,62,0,0,593,595,5,36,0,0,594,587,1,0,0,0,594,588,1,0,0,0,594,589,1, 0,0,0,594,590,1,0,0,0,594,591,1,0,0,0,594,592,1,0,0,0,594,593,1,0,0,0,595, 107,1,0,0,0,596,597,5,30,0,0,597,598,3,110,55,0,598,599,5,31,0,0,599,606, 1,0,0,0,600,601,5,30,0,0,601,606,3,110,55,0,602,603,5,30,0,0,603,606,5,31, 0,0,604,606,5,30,0,0,605,596,1,0,0,0,605,600,1,0,0,0,605,602,1,0,0,0,605, 604,1,0,0,0,606,109,1,0,0,0,607,611,3,106,53,0,608,611,3,104,52,0,609,611, 3,112,56,0,610,607,1,0,0,0,610,608,1,0,0,0,610,609,1,0,0,0,611,111,1,0,0, 0,612,613,5,57,0,0,613,614,5,52,0,0,614,615,5,57,0,0,615,113,1,0,0,0,88, 115,119,125,128,133,137,140,144,146,150,152,156,160,166,172,177,179,184, 187,190,195,198,202,205,208,212,221,225,227,232,243,247,250,255,257,274, 281,286,291,296,299,303,308,311,316,321,330,335,340,343,349,352,355,358, 363,366,371,376,383,388,395,404,408,413,421,426,431,433,447,452,461,465, 470,475,484,488,495,506,510,526,537,548,559,582,584,594,605,610]; const atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN); const decisionsToDFA = atn.decisionToState.map( (ds, index) => new antlr4.dfa.DFA(ds, index) ); const sharedContextCache = new antlr4.atn.PredictionContextCache(); export default class sequenceParser extends antlr4.Parser { static grammarFileName = "sequenceParser.g4"; static literalNames = [ null, null, "'const'", "'readonly'", "'static'", "'await'", "'title'", "':'", "'<<'", "'>>'", "'->'", null, "'||'", "'&&'", "'=='", "'!='", "'>'", "'<'", "'>='", "'<='", "'+'", "'-'", "'*'", "'/'", "'%'", "'^'", "'!'", "';'", "','", "'='", "'('", "')'", "'{'", "'}'", "'true'", "'false'", null, "'if'", "'else'", null, "'return'", "'new'", "'par'", "'group'", "'opt'", "'critical'", null, "'ref'", "'as'", "'try'", "'catch'", "'finally'", "'in'", null, null, null, "'.'" ]; static symbolicNames = [ null, "WS", "CONSTANT", "READONLY", "STATIC", "AWAIT", "TITLE", "COL", "SOPEN", "SCLOSE", "ARROW", "COLOR", "OR", "AND", "EQ", "NEQ", "GT", "LT", "GTEQ", "LTEQ", "PLUS", "MINUS", "MULT", "DIV", "MOD", "POW", "NOT", "SCOL", "COMMA", "ASSIGN", "OPAR", "CPAR", "OBRACE", "CBRACE", "TRUE", "FALSE", "NIL", "IF", "ELSE", "WHILE", "RETURN", "NEW", "PAR", "GROUP", "OPT", "CRITICAL", "SECTION", "REF", "AS", "TRY", "CATCH", "FINALLY", "IN", "STARTER_LXR", "ANNOTATION_RET", "ANNOTATION", "DOT", "ID", "INT", "FLOAT", "MONEY", "NUMBER_UNIT", "STRING", "CR", "COMMENT", "OTHER", "DIVIDER", "EVENT_PAYLOAD_LXR", "EVENT_END", "TITLE_CONTENT", "TITLE_END" ]; static ruleNames = [ "prog", "title", "head", "group", "starterExp", "starter", "participant", "stereotype", "label", "participantType", "name", "width", "block", "ret", "divider", "dividerNote", "stat", "par", "opt", "critical", "section", "creation", "ref", "creationBody", "message", "messageBody", "func", "from", "to", "signature", "invocation", "assignment", "asyncMessage", "content", "construct", "type", "assignee", "methodName", "parameters", "parameter", "namedParameter", "declaration", "tcf", "tryBlock", "catchBlock", "finallyBlock", "alt", "ifBlock", "elseIfBlock", "elseBlock", "braceBlock", "loop", "expr", "atom", "parExpr", "condition", "inExpr" ]; constructor(input) { super(input); this._interp = new antlr4.atn.ParserATNSimulator(this, atn, decisionsToDFA, sharedContextCache); this.ruleNames = sequenceParser.ruleNames; this.literalNames = sequenceParser.literalNames; this.symbolicNames = sequenceParser.symbolicNames; } sempred(localctx, ruleIndex, predIndex) { switch(ruleIndex) { case 52: return this.expr_sempred(localctx, predIndex); default: throw "No predicate with index:" + ruleIndex; } } expr_sempred(localctx, predIndex) { switch(predIndex) { case 0: return this.precpred(this._ctx, 11); case 1: return this.precpred(this._ctx, 10); case 2: return this.precpred(this._ctx, 9); case 3: return this.precpred(this._ctx, 8); case 4: return this.precpred(this._ctx, 7); case 5: return this.precpred(this._ctx, 6); case 6: return this.precpred(this._ctx, 5); default: throw "No predicate with index:" + predIndex; } }; prog() { let localctx = new ProgContext(this, this._ctx, this.state); this.enterRule(localctx, 0, sequenceParser.RULE_prog); var _la = 0; try { this.state = 133; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,4,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 115; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===6) { this.state = 114; this.title(); } this.state = 117; this.match(sequenceParser.EOF); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 119; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===6) { this.state = 118; this.title(); } this.state = 121; this.head(); this.state = 122; this.match(sequenceParser.EOF); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 125; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===6) { this.state = 124; this.title(); } this.state = 128; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,3,this._ctx); if(la_===1) { this.state = 127; this.head(); } this.state = 130; this.block(); this.state = 131; this.match(sequenceParser.EOF); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } title() { let localctx = new TitleContext(this, this._ctx, this.state); this.enterRule(localctx, 2, sequenceParser.RULE_title); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 135; this.match(sequenceParser.TITLE); this.state = 137; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===69) { this.state = 136; this.match(sequenceParser.TITLE_CONTENT); } this.state = 140; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===70) { this.state = 139; this.match(sequenceParser.TITLE_END); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } head() { let localctx = new HeadContext(this, this._ctx, this.state); this.enterRule(localctx, 4, sequenceParser.RULE_head); try { this.state = 156; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,11,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 144; this._errHandler.sync(this); var _alt = 1; do { switch (_alt) { case 1: this.state = 144; this._errHandler.sync(this); switch(this._input.LA(1)) { case 43: this.state = 142; this.group(); break; case 8: case 17: case 55: case 57: case 62: this.state = 143; this.participant(); break; default: throw new antlr4.error.NoViableAltException(this); } break; default: throw new antlr4.error.NoViableAltException(this); } this.state = 146; this._errHandler.sync(this); _alt = this._interp.adaptivePredict(this._input,8, this._ctx); } while ( _alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER ); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 152; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,10,this._ctx) while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 150; this._errHandler.sync(this); switch(this._input.LA(1)) { case 43: this.state = 148; this.group(); break; case 8: case 17: case 55: case 57: case 62: this.state = 149; this.participant(); break; default: throw new antlr4.error.NoViableAltException(this); } } this.state = 154; this._errHandler.sync(this); _alt = this._interp.adaptivePredict(this._input,10,this._ctx); } this.state = 155; this.starterExp(); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } group() { let localctx = new GroupContext(this, this._ctx, this.state); this.enterRule(localctx, 6, sequenceParser.RULE_group); var _la = 0; try { this.state = 179; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,16,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 158; this.match(sequenceParser.GROUP); this.state = 160; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===57 || _la===62) { this.state = 159; this.name(); } this.state = 162; this.match(sequenceParser.OBRACE); this.state = 166; this._errHandler.sync(this); _la = this._input.LA(1); while(_la===8 || _la===17 || ((((_la - 55)) & ~0x1f) === 0 && ((1 << (_la - 55)) & 133) !== 0)) { this.state = 163; this.participant(); this.state = 168; this._errHandler.sync(this); _la = this._input.LA(1); } this.state = 169; this.match(sequenceParser.CBRACE); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 170; this.match(sequenceParser.GROUP); this.state = 172; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===57 || _la===62) { this.state = 171; this.name(); } this.state = 174; this.match(sequenceParser.OBRACE); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 175; this.match(sequenceParser.GROUP); this.state = 177; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,15,this._ctx); if(la_===1) { this.state = 176; this.name(); } break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } starterExp() { let localctx = new StarterExpContext(this, this._ctx, this.state); this.enterRule(localctx, 8, sequenceParser.RULE_starterExp); var _la = 0; try { this.state = 190; this._errHandler.sync(this); switch(this._input.LA(1)) { case 53: this.enterOuterAlt(localctx, 1); this.state = 181; this.match(sequenceParser.STARTER_LXR); this.state = 187; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===30) { this.state = 182; this.match(sequenceParser.OPAR); this.state = 184; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===57 || _la===62) { this.state = 183; this.starter(); } this.state = 186; this.match(sequenceParser.CPAR); } break; case 55: this.enterOuterAlt(localctx, 2); this.state = 189; this.match(sequenceParser.ANNOTATION); break; default: throw new antlr4.error.NoViableAltException(this); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } starter() { let localctx = new StarterContext(this, this._ctx, this.state); this.enterRule(localctx, 10, sequenceParser.RULE_starter); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 192; _la = this._input.LA(1); if(!(_la===57 || _la===62)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } participant() { let localctx = new ParticipantContext(this, this._ctx, this.state); this.enterRule(localctx, 12, sequenceParser.RULE_participant); var _la = 0; try { this.state = 212; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,25,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 195; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===55) { this.state = 194; this.participantType(); } this.state = 198; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===8 || _la===17) { this.state = 197; this.stereotype(); } this.state = 200; this.name(); this.state = 202; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,22,this._ctx); if(la_===1) { this.state = 201; this.width(); } this.state = 205; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===48) { this.state = 204; this.label(); } this.state = 208; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===11) { this.state = 207; this.match(sequenceParser.COLOR); } break; case 2: this.enterOuterAlt(localctx, 2); this.state = 210; this.stereotype(); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 211; this.participantType(); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } stereotype() { let localctx = new StereotypeContext(this, this._ctx, this.state); this.enterRule(localctx, 14, sequenceParser.RULE_stereotype); var _la = 0; try { this.state = 227; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,28,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 214; this.match(sequenceParser.SOPEN); this.state = 215; this.name(); this.state = 216; this.match(sequenceParser.SCLOSE); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 218; this.match(sequenceParser.SOPEN); this.state = 219; this.name(); this.state = 221; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===16) { this.state = 220; this.match(sequenceParser.GT); } break; case 3: this.enterOuterAlt(localctx, 3); this.state = 223; _la = this._input.LA(1); if(!(_la===8 || _la===17)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } this.state = 225; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===9 || _la===16) { this.state = 224; _la = this._input.LA(1); if(!(_la===9 || _la===16)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } } break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } label() { let localctx = new LabelContext(this, this._ctx, this.state); this.enterRule(localctx, 16, sequenceParser.RULE_label); try { this.state = 232; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,29,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 229; this.match(sequenceParser.AS); this.state = 230; this.name(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 231; this.match(sequenceParser.AS); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } participantType() { let localctx = new ParticipantTypeContext(this, this._ctx, this.state); this.enterRule(localctx, 18, sequenceParser.RULE_participantType); try { this.enterOuterAlt(localctx, 1); this.state = 234; this.match(sequenceParser.ANNOTATION); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } name() { let localctx = new NameContext(this, this._ctx, this.state); this.enterRule(localctx, 20, sequenceParser.RULE_name); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 236; _la = this._input.LA(1); if(!(_la===57 || _la===62)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } width() { let localctx = new WidthContext(this, this._ctx, this.state); this.enterRule(localctx, 22, sequenceParser.RULE_width); try { this.enterOuterAlt(localctx, 1); this.state = 238; this.match(sequenceParser.INT); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } block() { let localctx = new BlockContext(this, this._ctx, this.state); this.enterRule(localctx, 24, sequenceParser.RULE_block); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 241; this._errHandler.sync(this); _la = this._input.LA(1); do { this.state = 240; this.stat(); this.state = 243; this._errHandler.sync(this); _la = this._input.LA(1); } while(((((_la - 32)) & ~0x1f) === 0 && ((1 << (_la - 32)) & 2118318013) !== 0) || _la===65 || _la===66); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } ret() { let localctx = new RetContext(this, this._ctx, this.state); this.enterRule(localctx, 26, sequenceParser.RULE_ret); var _la = 0; try { this.state = 257; this._errHandler.sync(this); switch(this._input.LA(1)) { case 40: this.enterOuterAlt(localctx, 1); this.state = 245; this.match(sequenceParser.RETURN); this.state = 247; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,31,this._ctx); if(la_===1) { this.state = 246; this.expr(0); } this.state = 250; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===27) { this.state = 249; this.match(sequenceParser.SCOL); } break; case 54: this.enterOuterAlt(localctx, 2); this.state = 252; this.match(sequenceParser.ANNOTATION_RET); this.state = 253; this.asyncMessage(); this.state = 255; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===68) { this.state = 254; this.match(sequenceParser.EVENT_END); } break; default: throw new antlr4.error.NoViableAltException(this); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } divider() { let localctx = new DividerContext(this, this._ctx, this.state); this.enterRule(localctx, 28, sequenceParser.RULE_divider); try { this.enterOuterAlt(localctx, 1); this.state = 259; this.dividerNote(); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } dividerNote() { let localctx = new DividerNoteContext(this, this._ctx, this.state); this.enterRule(localctx, 30, sequenceParser.RULE_dividerNote); try { this.enterOuterAlt(localctx, 1); this.state = 261; this.match(sequenceParser.DIVIDER); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } stat() { let localctx = new StatContext(this, this._ctx, this.state); this.enterRule(localctx, 32, sequenceParser.RULE_stat); var _la = 0; try { this.state = 281; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,36,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 263; this.alt(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 264; this.par(); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 265; this.opt(); break; case 4: this.enterOuterAlt(localctx, 4); this.state = 266; this.critical(); break; case 5: this.enterOuterAlt(localctx, 5); this.state = 267; this.section(); break; case 6: this.enterOuterAlt(localctx, 6); this.state = 268; this.ref(); break; case 7: this.enterOuterAlt(localctx, 7); this.state = 269; this.loop(); break; case 8: this.enterOuterAlt(localctx, 8); this.state = 270; this.creation(); break; case 9: this.enterOuterAlt(localctx, 9); this.state = 271; this.message(); break; case 10: this.enterOuterAlt(localctx, 10); this.state = 272; this.asyncMessage(); this.state = 274; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===68) { this.state = 273; this.match(sequenceParser.EVENT_END); } break; case 11: this.enterOuterAlt(localctx, 11); this.state = 276; this.ret(); break; case 12: this.enterOuterAlt(localctx, 12); this.state = 277; this.divider(); break; case 13: this.enterOuterAlt(localctx, 13); this.state = 278; this.tcf(); break; case 14: this.enterOuterAlt(localctx, 14); this.state = 279; localctx._OTHER = this.match(sequenceParser.OTHER); console.log("unknown char: " + (localctx._OTHER == null ? null : localctx._OTHER.text)); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } par() { let localctx = new ParContext(this, this._ctx, this.state); this.enterRule(localctx, 34, sequenceParser.RULE_par); try { this.state = 286; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,37,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 283; this.match(sequenceParser.PAR); this.state = 284; this.braceBlock(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 285; this.match(sequenceParser.PAR); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } opt() { let localctx = new OptContext(this, this._ctx, this.state); this.enterRule(localctx, 36, sequenceParser.RULE_opt); try { this.state = 291; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,38,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 288; this.match(sequenceParser.OPT); this.state = 289; this.braceBlock(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 290; this.match(sequenceParser.OPT); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } critical() { let localctx = new CriticalContext(this, this._ctx, this.state); this.enterRule(localctx, 38, sequenceParser.RULE_critical); var _la = 0; try { this.state = 303; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,41,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 293; this.match(sequenceParser.CRITICAL); this.state = 299; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===30) { this.state = 294; this.match(sequenceParser.OPAR); this.state = 296; this._errHandler.sync(this); _la = this._input.LA(1); if(((((_la - 34)) & ~0x1f) === 0 && ((1 << (_la - 34)) & 528482311) !== 0)) { this.state = 295; this.atom(); } this.state = 298; this.match(sequenceParser.CPAR); } this.state = 301; this.braceBlock(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 302; this.match(sequenceParser.CRITICAL); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } section() { let localctx = new SectionContext(this, this._ctx, this.state); this.enterRule(localctx, 40, sequenceParser.RULE_section); var _la = 0; try { this.state = 316; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,44,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 305; this.match(sequenceParser.SECTION); this.state = 311; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===30) { this.state = 306; this.match(sequenceParser.OPAR); this.state = 308; this._errHandler.sync(this); _la = this._input.LA(1); if(((((_la - 34)) & ~0x1f) === 0 && ((1 << (_la - 34)) & 528482311) !== 0)) { this.state = 307; this.atom(); } this.state = 310; this.match(sequenceParser.CPAR); } this.state = 313; this.braceBlock(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 314; this.braceBlock(); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 315; this.match(sequenceParser.SECTION); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } creation() { let localctx = new CreationContext(this, this._ctx, this.state); this.enterRule(localctx, 42, sequenceParser.RULE_creation); try { this.enterOuterAlt(localctx, 1); this.state = 318; this.creationBody(); this.state = 321; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,45,this._ctx); if(la_===1) { this.state = 319; this.match(sequenceParser.SCOL); } else if(la_===2) { this.state = 320; this.braceBlock(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } ref() { let localctx = new RefContext(this, this._ctx, this.state); this.enterRule(localctx, 44, sequenceParser.RULE_ref); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 323; this.match(sequenceParser.REF); this.state = 324; this.match(sequenceParser.OPAR); this.state = 325; this.name(); this.state = 335; this._errHandler.sync(this); _la = this._input.LA(1); while(_la===28) { this.state = 326; this.match(sequenceParser.COMMA); this.state = 330; this._errHandler.sync(this); _la = this._input.LA(1); while(_la===57 || _la===62) { this.state = 327; this.name(); this.state = 332; this._errHandler.sync(this); _la = this._input.LA(1); } this.state = 337; this._errHandler.sync(this); _la = this._input.LA(1); } this.state = 338; this.match(sequenceParser.CPAR); this.state = 340; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===27) { this.state = 339; this.match(sequenceParser.SCOL); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } creationBody() { let localctx = new CreationBodyContext(this, this._ctx, this.state); this.enterRule(localctx, 46, sequenceParser.RULE_creationBody); var _la = 0; try { this.state = 358; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,53,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 343; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,49,this._ctx); if(la_===1) { this.state = 342; this.assignment(); } this.state = 345; this.match(sequenceParser.NEW); this.state = 346; this.construct(); this.state = 352; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,51,this._ctx); if(la_===1) { this.state = 347; this.match(sequenceParser.OPAR); this.state = 349; this._errHandler.sync(this); _la = this._input.LA(1); if((((_la) & ~0x1f) === 0 && ((1 << _la) & 1142947840) !== 0) || ((((_la - 34)) & ~0x1f) === 0 && ((1 << (_la - 34)) & 528482439) !== 0)) { this.state = 348; this.parameters(); } this.state = 351; this.match(sequenceParser.CPAR); } break; case 2: this.enterOuterAlt(localctx, 2); this.state = 355; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,52,this._ctx); if(la_===1) { this.state = 354; this.assignment(); } this.state = 357; this.match(sequenceParser.NEW); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } message() { let localctx = new MessageContext(this, this._ctx, this.state); this.enterRule(localctx, 48, sequenceParser.RULE_message); try { this.enterOuterAlt(localctx, 1); this.state = 360; this.messageBody(); this.state = 363; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,54,this._ctx); if(la_===1) { this.state = 361; this.match(sequenceParser.SCOL); } else if(la_===2) { this.state = 362; this.braceBlock(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } messageBody() { let localctx = new MessageBodyContext(this, this._ctx, this.state); this.enterRule(localctx, 50, sequenceParser.RULE_messageBody); try { this.state = 388; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,59,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 366; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,55,this._ctx); if(la_===1) { this.state = 365; this.assignment(); } this.state = 376; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,57,this._ctx); if(la_===1) { this.state = 371; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,56,this._ctx); if(la_===1) { this.state = 368; this.from(); this.state = 369; this.match(sequenceParser.ARROW); } this.state = 373; this.to(); this.state = 374; this.match(sequenceParser.DOT); } this.state = 378; this.func(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 379; this.assignment(); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 383; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,58,this._ctx); if(la_===1) { this.state = 380; this.from(); this.state = 381; this.match(sequenceParser.ARROW); } this.state = 385; this.to(); this.state = 386; this.match(sequenceParser.DOT); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } func() { let localctx = new FuncContext(this, this._ctx, this.state); this.enterRule(localctx, 52, sequenceParser.RULE_func); try { this.enterOuterAlt(localctx, 1); this.state = 390; this.signature(); this.state = 395; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,60,this._ctx) while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 391; this.match(sequenceParser.DOT); this.state = 392; this.signature(); } this.state = 397; this._errHandler.sync(this); _alt = this._interp.adaptivePredict(this._input,60,this._ctx); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } from() { let localctx = new FromContext(this, this._ctx, this.state); this.enterRule(localctx, 54, sequenceParser.RULE_from); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 398; _la = this._input.LA(1); if(!(_la===57 || _la===62)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } to() { let localctx = new ToContext(this, this._ctx, this.state); this.enterRule(localctx, 56, sequenceParser.RULE_to); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 400; _la = this._input.LA(1); if(!(_la===57 || _la===62)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } signature() { let localctx = new SignatureContext(this, this._ctx, this.state); this.enterRule(localctx, 58, sequenceParser.RULE_signature); try { this.enterOuterAlt(localctx, 1); this.state = 402; this.methodName(); this.state = 404; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,61,this._ctx); if(la_===1) { this.state = 403; this.invocation(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } invocation() { let localctx = new InvocationContext(this, this._ctx, this.state); this.enterRule(localctx, 60, sequenceParser.RULE_invocation); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 406; this.match(sequenceParser.OPAR); this.state = 408; this._errHandler.sync(this); _la = this._input.LA(1); if((((_la) & ~0x1f) === 0 && ((1 << _la) & 1142947840) !== 0) || ((((_la - 34)) & ~0x1f) === 0 && ((1 << (_la - 34)) & 528482439) !== 0)) { this.state = 407; this.parameters(); } this.state = 410; this.match(sequenceParser.CPAR); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } assignment() { let localctx = new AssignmentContext(this, this._ctx, this.state); this.enterRule(localctx, 62, sequenceParser.RULE_assignment); try { this.enterOuterAlt(localctx, 1); this.state = 413; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,63,this._ctx); if(la_===1) { this.state = 412; this.type(); } this.state = 415; this.assignee(); this.state = 416; this.match(sequenceParser.ASSIGN); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } asyncMessage() { let localctx = new AsyncMessageContext(this, this._ctx, this.state); this.enterRule(localctx, 64, sequenceParser.RULE_asyncMessage); var _la = 0; try { this.state = 433; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,67,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 421; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,64,this._ctx); if(la_===1) { this.state = 418; this.from(); this.state = 419; this.match(sequenceParser.ARROW); } this.state = 423; this.to(); this.state = 424; this.match(sequenceParser.COL); this.state = 426; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===67) { this.state = 425; this.content(); } break; case 2: this.enterOuterAlt(localctx, 2); this.state = 428; this.from(); this.state = 429; _la = this._input.LA(1); if(!(_la===10 || _la===21)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } this.state = 431; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,66,this._ctx); if(la_===1) { this.state = 430; this.to(); } break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } content() { let localctx = new ContentContext(this, this._ctx, this.state); this.enterRule(localctx, 66, sequenceParser.RULE_content); try { this.enterOuterAlt(localctx, 1); this.state = 435; this.match(sequenceParser.EVENT_PAYLOAD_LXR); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } construct() { let localctx = new ConstructContext(this, this._ctx, this.state); this.enterRule(localctx, 68, sequenceParser.RULE_construct); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 437; _la = this._input.LA(1); if(!(_la===57 || _la===62)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } type() { let localctx = new TypeContext(this, this._ctx, this.state); this.enterRule(localctx, 70, sequenceParser.RULE_type); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 439; _la = this._input.LA(1); if(!(_la===57 || _la===62)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } assignee() { let localctx = new AssigneeContext(this, this._ctx, this.state); this.enterRule(localctx, 72, sequenceParser.RULE_assignee); var _la = 0; try { this.state = 452; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,69,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 441; this.atom(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 442; this.match(sequenceParser.ID); this.state = 447; this._errHandler.sync(this); _la = this._input.LA(1); while(_la===28) { this.state = 443; this.match(sequenceParser.COMMA); this.state = 444; this.match(sequenceParser.ID); this.state = 449; this._errHandler.sync(this); _la = this._input.LA(1); } break; case 3: this.enterOuterAlt(localctx, 3); this.state = 450; this.match(sequenceParser.STRING); break; case 4: this.enterOuterAlt(localctx, 4); this.state = 451; this.match(sequenceParser.NEW); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } methodName() { let localctx = new MethodNameContext(this, this._ctx, this.state); this.enterRule(localctx, 74, sequenceParser.RULE_methodName); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 454; _la = this._input.LA(1); if(!(_la===57 || _la===62)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } parameters() { let localctx = new ParametersContext(this, this._ctx, this.state); this.enterRule(localctx, 76, sequenceParser.RULE_parameters); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 456; this.parameter(); this.state = 461; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,70,this._ctx) while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 457; this.match(sequenceParser.COMMA); this.state = 458; this.parameter(); } this.state = 463; this._errHandler.sync(this); _alt = this._interp.adaptivePredict(this._input,70,this._ctx); } this.state = 465; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===28) { this.state = 464; this.match(sequenceParser.COMMA); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } parameter() { let localctx = new ParameterContext(this, this._ctx, this.state); this.enterRule(localctx, 78, sequenceParser.RULE_parameter); try { this.state = 470; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,72,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 467; this.namedParameter(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 468; this.declaration(); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 469; this.expr(0); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } namedParameter() { let localctx = new NamedParameterContext(this, this._ctx, this.state); this.enterRule(localctx, 80, sequenceParser.RULE_namedParameter); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 472; this.match(sequenceParser.ID); this.state = 473; this.match(sequenceParser.ASSIGN); this.state = 475; this._errHandler.sync(this); _la = this._input.LA(1); if((((_la) & ~0x1f) === 0 && ((1 << _la) & 1142947840) !== 0) || ((((_la - 34)) & ~0x1f) === 0 && ((1 << (_la - 34)) & 528482439) !== 0)) { this.state = 474; this.expr(0); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } declaration() { let localctx = new DeclarationContext(this, this._ctx, this.state); this.enterRule(localctx, 82, sequenceParser.RULE_declaration); try { this.enterOuterAlt(localctx, 1); this.state = 477; this.type(); this.state = 478; this.match(sequenceParser.ID); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } tcf() { let localctx = new TcfContext(this, this._ctx, this.state); this.enterRule(localctx, 84, sequenceParser.RULE_tcf); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 480; this.tryBlock(); this.state = 484; this._errHandler.sync(this); _la = this._input.LA(1); while(_la===50) { this.state = 481; this.catchBlock(); this.state = 486; this._errHandler.sync(this); _la = this._input.LA(1); } this.state = 488; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===51) { this.state = 487; this.finallyBlock(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } tryBlock() { let localctx = new TryBlockContext(this, this._ctx, this.state); this.enterRule(localctx, 86, sequenceParser.RULE_tryBlock); try { this.enterOuterAlt(localctx, 1); this.state = 490; this.match(sequenceParser.TRY); this.state = 491; this.braceBlock(); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } catchBlock() { let localctx = new CatchBlockContext(this, this._ctx, this.state); this.enterRule(localctx, 88, sequenceParser.RULE_catchBlock); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 493; this.match(sequenceParser.CATCH); this.state = 495; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===30) { this.state = 494; this.invocation(); } this.state = 497; this.braceBlock(); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } finallyBlock() { let localctx = new FinallyBlockContext(this, this._ctx, this.state); this.enterRule(localctx, 90, sequenceParser.RULE_finallyBlock); try { this.enterOuterAlt(localctx, 1); this.state = 499; this.match(sequenceParser.FINALLY); this.state = 500; this.braceBlock(); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } alt() { let localctx = new AltContext(this, this._ctx, this.state); this.enterRule(localctx, 92, sequenceParser.RULE_alt); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 502; this.ifBlock(); this.state = 506; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,77,this._ctx) while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 503; this.elseIfBlock(); } this.state = 508; this._errHandler.sync(this); _alt = this._interp.adaptivePredict(this._input,77,this._ctx); } this.state = 510; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===38) { this.state = 509; this.elseBlock(); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } ifBlock() { let localctx = new IfBlockContext(this, this._ctx, this.state); this.enterRule(localctx, 94, sequenceParser.RULE_ifBlock); try { this.enterOuterAlt(localctx, 1); this.state = 512; this.match(sequenceParser.IF); this.state = 513; this.parExpr(); this.state = 514; this.braceBlock(); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } elseIfBlock() { let localctx = new ElseIfBlockContext(this, this._ctx, this.state); this.enterRule(localctx, 96, sequenceParser.RULE_elseIfBlock); try { this.enterOuterAlt(localctx, 1); this.state = 516; this.match(sequenceParser.ELSE); this.state = 517; this.match(sequenceParser.IF); this.state = 518; this.parExpr(); this.state = 519; this.braceBlock(); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } elseBlock() { let localctx = new ElseBlockContext(this, this._ctx, this.state); this.enterRule(localctx, 98, sequenceParser.RULE_elseBlock); try { this.enterOuterAlt(localctx, 1); this.state = 521; this.match(sequenceParser.ELSE); this.state = 522; this.braceBlock(); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } braceBlock() { let localctx = new BraceBlockContext(this, this._ctx, this.state); this.enterRule(localctx, 100, sequenceParser.RULE_braceBlock); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 524; this.match(sequenceParser.OBRACE); this.state = 526; this._errHandler.sync(this); _la = this._input.LA(1); if(((((_la - 32)) & ~0x1f) === 0 && ((1 << (_la - 32)) & 2118318013) !== 0) || _la===65 || _la===66) { this.state = 525; this.block(); } this.state = 528; this.match(sequenceParser.CBRACE); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } loop() { let localctx = new LoopContext(this, this._ctx, this.state); this.enterRule(localctx, 102, sequenceParser.RULE_loop); try { this.state = 537; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,80,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 530; this.match(sequenceParser.WHILE); this.state = 531; this.parExpr(); this.state = 532; this.braceBlock(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 534; this.match(sequenceParser.WHILE); this.state = 535; this.parExpr(); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 536; this.match(sequenceParser.WHILE); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } expr(_p) { if(_p===undefined) { _p = 0; } const _parentctx = this._ctx; const _parentState = this.state; let localctx = new ExprContext(this, this._ctx, _parentState); let _prevctx = localctx; const _startState = 104; this.enterRecursionRule(localctx, 104, sequenceParser.RULE_expr, _p); var _la = 0; try { this.enterOuterAlt(localctx, 1); this.state = 559; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,82,this._ctx); switch(la_) { case 1: localctx = new AtomExprContext(this, localctx); this._ctx = localctx; _prevctx = localctx; this.state = 540; this.atom(); break; case 2: localctx = new UnaryMinusExprContext(this, localctx); this._ctx = localctx; _prevctx = localctx; this.state = 541; this.match(sequenceParser.MINUS); this.state = 542; this.expr(13); break; case 3: localctx = new NotExprContext(this, localctx); this._ctx = localctx; _prevctx = localctx; this.state = 543; this.match(sequenceParser.NOT); this.state = 544; this.expr(12); break; case 4: localctx = new FuncExprContext(this, localctx); this._ctx = localctx; _prevctx = localctx; this.state = 548; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,81,this._ctx); if(la_===1) { this.state = 545; this.to(); this.state = 546; this.match(sequenceParser.DOT); } this.state = 550; this.func(); break; case 5: localctx = new CreationExprContext(this, localctx); this._ctx = localctx; _prevctx = localctx; this.state = 551; this.creation(); break; case 6: localctx = new ParenthesizedExprContext(this, localctx); this._ctx = localctx; _prevctx = localctx; this.state = 552; this.match(sequenceParser.OPAR); this.state = 553; this.expr(0); this.state = 554; this.match(sequenceParser.CPAR); break; case 7: localctx = new AssignmentExprContext(this, localctx); this._ctx = localctx; _prevctx = localctx; this.state = 556; this.assignment(); this.state = 557; this.expr(1); break; } this._ctx.stop = this._input.LT(-1); this.state = 584; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,84,this._ctx) while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { if(this._parseListeners!==null) { this.triggerExitRuleEvent(); } _prevctx = localctx; this.state = 582; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,83,this._ctx); switch(la_) { case 1: localctx = new MultiplicationExprContext(this, new ExprContext(this, _parentctx, _parentState)); this.pushNewRecursionContext(localctx, _startState, sequenceParser.RULE_expr); this.state = 561; if (!( this.precpred(this._ctx, 11))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 11)"); } this.state = 562; localctx.op = this._input.LT(1); _la = this._input.LA(1); if(!((((_la) & ~0x1f) === 0 && ((1 << _la) & 29360128) !== 0))) { localctx.op = this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } this.state = 563; this.expr(12); break; case 2: localctx = new AdditiveExprContext(this, new ExprContext(this, _parentctx, _parentState)); this.pushNewRecursionContext(localctx, _startState, sequenceParser.RULE_expr); this.state = 564; if (!( this.precpred(this._ctx, 10))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 10)"); } this.state = 565; localctx.op = this._input.LT(1); _la = this._input.LA(1); if(!(_la===20 || _la===21)) { localctx.op = this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } this.state = 566; this.expr(11); break; case 3: localctx = new RelationalExprContext(this, new ExprContext(this, _parentctx, _parentState)); this.pushNewRecursionContext(localctx, _startState, sequenceParser.RULE_expr); this.state = 567; if (!( this.precpred(this._ctx, 9))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 9)"); } this.state = 568; localctx.op = this._input.LT(1); _la = this._input.LA(1); if(!((((_la) & ~0x1f) === 0 && ((1 << _la) & 983040) !== 0))) { localctx.op = this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } this.state = 569; this.expr(10); break; case 4: localctx = new EqualityExprContext(this, new ExprContext(this, _parentctx, _parentState)); this.pushNewRecursionContext(localctx, _startState, sequenceParser.RULE_expr); this.state = 570; if (!( this.precpred(this._ctx, 8))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 8)"); } this.state = 571; localctx.op = this._input.LT(1); _la = this._input.LA(1); if(!(_la===14 || _la===15)) { localctx.op = this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } this.state = 572; this.expr(9); break; case 5: localctx = new AndExprContext(this, new ExprContext(this, _parentctx, _parentState)); this.pushNewRecursionContext(localctx, _startState, sequenceParser.RULE_expr); this.state = 573; if (!( this.precpred(this._ctx, 7))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 7)"); } this.state = 574; this.match(sequenceParser.AND); this.state = 575; this.expr(8); break; case 6: localctx = new OrExprContext(this, new ExprContext(this, _parentctx, _parentState)); this.pushNewRecursionContext(localctx, _startState, sequenceParser.RULE_expr); this.state = 576; if (!( this.precpred(this._ctx, 6))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 6)"); } this.state = 577; this.match(sequenceParser.OR); this.state = 578; this.expr(7); break; case 7: localctx = new PlusExprContext(this, new ExprContext(this, _parentctx, _parentState)); this.pushNewRecursionContext(localctx, _startState, sequenceParser.RULE_expr); this.state = 579; if (!( this.precpred(this._ctx, 5))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 5)"); } this.state = 580; this.match(sequenceParser.PLUS); this.state = 581; this.expr(6); break; } } this.state = 586; this._errHandler.sync(this); _alt = this._interp.adaptivePredict(this._input,84,this._ctx); } } catch( error) { if(error instanceof antlr4.error.RecognitionException) { localctx.exception = error; this._errHandler.reportError(this, error); this._errHandler.recover(this, error); } else { throw error; } } finally { this.unrollRecursionContexts(_parentctx) } return localctx; } atom() { let localctx = new AtomContext(this, this._ctx, this.state); this.enterRule(localctx, 106, sequenceParser.RULE_atom); var _la = 0; try { this.state = 594; this._errHandler.sync(this); switch(this._input.LA(1)) { case 58: case 59: localctx = new NumberAtomContext(this, localctx); this.enterOuterAlt(localctx, 1); this.state = 587; _la = this._input.LA(1); if(!(_la===58 || _la===59)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } break; case 61: localctx = new NumberUnitAtomContext(this, localctx); this.enterOuterAlt(localctx, 2); this.state = 588; this.match(sequenceParser.NUMBER_UNIT); break; case 60: localctx = new MoneyAtomContext(this, localctx); this.enterOuterAlt(localctx, 3); this.state = 589; this.match(sequenceParser.MONEY); break; case 34: case 35: localctx = new BooleanAtomContext(this, localctx); this.enterOuterAlt(localctx, 4); this.state = 590; _la = this._input.LA(1); if(!(_la===34 || _la===35)) { this._errHandler.recoverInline(this); } else { this._errHandler.reportMatch(this); this.consume(); } break; case 57: localctx = new IdAtomContext(this, localctx); this.enterOuterAlt(localctx, 5); this.state = 591; this.match(sequenceParser.ID); break; case 62: localctx = new StringAtomContext(this, localctx); this.enterOuterAlt(localctx, 6); this.state = 592; this.match(sequenceParser.STRING); break; case 36: localctx = new NilAtomContext(this, localctx); this.enterOuterAlt(localctx, 7); this.state = 593; this.match(sequenceParser.NIL); break; default: throw new antlr4.error.NoViableAltException(this); } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } parExpr() { let localctx = new ParExprContext(this, this._ctx, this.state); this.enterRule(localctx, 108, sequenceParser.RULE_parExpr); try { this.state = 605; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,86,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 596; this.match(sequenceParser.OPAR); this.state = 597; this.condition(); this.state = 598; this.match(sequenceParser.CPAR); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 600; this.match(sequenceParser.OPAR); this.state = 601; this.condition(); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 602; this.match(sequenceParser.OPAR); this.state = 603; this.match(sequenceParser.CPAR); break; case 4: this.enterOuterAlt(localctx, 4); this.state = 604; this.match(sequenceParser.OPAR); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } condition() { let localctx = new ConditionContext(this, this._ctx, this.state); this.enterRule(localctx, 110, sequenceParser.RULE_condition); try { this.state = 610; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,87,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); this.state = 607; this.atom(); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 608; this.expr(0); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 609; this.inExpr(); break; } } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } inExpr() { let localctx = new InExprContext(this, this._ctx, this.state); this.enterRule(localctx, 112, sequenceParser.RULE_inExpr); try { this.enterOuterAlt(localctx, 1); this.state = 612; this.match(sequenceParser.ID); this.state = 613; this.match(sequenceParser.IN); this.state = 614; this.match(sequenceParser.ID); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; this._errHandler.reportError(this, re); this._errHandler.recover(this, re); } else { throw re; } } finally { this.exitRule(); } return localctx; } } sequenceParser.EOF = antlr4.Token.EOF; sequenceParser.WS = 1; sequenceParser.CONSTANT = 2; sequenceParser.READONLY = 3; sequenceParser.STATIC = 4; sequenceParser.AWAIT = 5; sequenceParser.TITLE = 6; sequenceParser.COL = 7; sequenceParser.SOPEN = 8; sequenceParser.SCLOSE = 9; sequenceParser.ARROW = 10; sequenceParser.COLOR = 11; sequenceParser.OR = 12; sequenceParser.AND = 13; sequenceParser.EQ = 14; sequenceParser.NEQ = 15; sequenceParser.GT = 16; sequenceParser.LT = 17; sequenceParser.GTEQ = 18; sequenceParser.LTEQ = 19; sequenceParser.PLUS = 20; sequenceParser.MINUS = 21; sequenceParser.MULT = 22; sequenceParser.DIV = 23; sequenceParser.MOD = 24; sequenceParser.POW = 25; sequenceParser.NOT = 26; sequenceParser.SCOL = 27; sequenceParser.COMMA = 28; sequenceParser.ASSIGN = 29; sequenceParser.OPAR = 30; sequenceParser.CPAR = 31; sequenceParser.OBRACE = 32; sequenceParser.CBRACE = 33; sequenceParser.TRUE = 34; sequenceParser.FALSE = 35; sequenceParser.NIL = 36; sequenceParser.IF = 37; sequenceParser.ELSE = 38; sequenceParser.WHILE = 39; sequenceParser.RETURN = 40; sequenceParser.NEW = 41; sequenceParser.PAR = 42; sequenceParser.GROUP = 43; sequenceParser.OPT = 44; sequenceParser.CRITICAL = 45; sequenceParser.SECTION = 46; sequenceParser.REF = 47; sequenceParser.AS = 48; sequenceParser.TRY = 49; sequenceParser.CATCH = 50; sequenceParser.FINALLY = 51; sequenceParser.IN = 52; sequenceParser.STARTER_LXR = 53; sequenceParser.ANNOTATION_RET = 54; sequenceParser.ANNOTATION = 55; sequenceParser.DOT = 56; sequenceParser.ID = 57; sequenceParser.INT = 58; sequenceParser.FLOAT = 59; sequenceParser.MONEY = 60; sequenceParser.NUMBER_UNIT = 61; sequenceParser.STRING = 62; sequenceParser.CR = 63; sequenceParser.COMMENT = 64; sequenceParser.OTHER = 65; sequenceParser.DIVIDER = 66; sequenceParser.EVENT_PAYLOAD_LXR = 67; sequenceParser.EVENT_END = 68; sequenceParser.TITLE_CONTENT = 69; sequenceParser.TITLE_END = 70; sequenceParser.RULE_prog = 0; sequenceParser.RULE_title = 1; sequenceParser.RULE_head = 2; sequenceParser.RULE_group = 3; sequenceParser.RULE_starterExp = 4; sequenceParser.RULE_starter = 5; sequenceParser.RULE_participant = 6; sequenceParser.RULE_stereotype = 7; sequenceParser.RULE_label = 8; sequenceParser.RULE_participantType = 9; sequenceParser.RULE_name = 10; sequenceParser.RULE_width = 11; sequenceParser.RULE_block = 12; sequenceParser.RULE_ret = 13; sequenceParser.RULE_divider = 14; sequenceParser.RULE_dividerNote = 15; sequenceParser.RULE_stat = 16; sequenceParser.RULE_par = 17; sequenceParser.RULE_opt = 18; sequenceParser.RULE_critical = 19; sequenceParser.RULE_section = 20; sequenceParser.RULE_creation = 21; sequenceParser.RULE_ref = 22; sequenceParser.RULE_creationBody = 23; sequenceParser.RULE_message = 24; sequenceParser.RULE_messageBody = 25; sequenceParser.RULE_func = 26; sequenceParser.RULE_from = 27; sequenceParser.RULE_to = 28; sequenceParser.RULE_signature = 29; sequenceParser.RULE_invocation = 30; sequenceParser.RULE_assignment = 31; sequenceParser.RULE_asyncMessage = 32; sequenceParser.RULE_content = 33; sequenceParser.RULE_construct = 34; sequenceParser.RULE_type = 35; sequenceParser.RULE_assignee = 36; sequenceParser.RULE_methodName = 37; sequenceParser.RULE_parameters = 38; sequenceParser.RULE_parameter = 39; sequenceParser.RULE_namedParameter = 40; sequenceParser.RULE_declaration = 41; sequenceParser.RULE_tcf = 42; sequenceParser.RULE_tryBlock = 43; sequenceParser.RULE_catchBlock = 44; sequenceParser.RULE_finallyBlock = 45; sequenceParser.RULE_alt = 46; sequenceParser.RULE_ifBlock = 47; sequenceParser.RULE_elseIfBlock = 48; sequenceParser.RULE_elseBlock = 49; sequenceParser.RULE_braceBlock = 50; sequenceParser.RULE_loop = 51; sequenceParser.RULE_expr = 52; sequenceParser.RULE_atom = 53; sequenceParser.RULE_parExpr = 54; sequenceParser.RULE_condition = 55; sequenceParser.RULE_inExpr = 56; class ProgContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_prog; } EOF() { return this.getToken(sequenceParser.EOF, 0); }; title() { return this.getTypedRuleContext(TitleContext,0); }; head() { return this.getTypedRuleContext(HeadContext,0); }; block() { return this.getTypedRuleContext(BlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterProg(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitProg(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitProg(this); } else { return visitor.visitChildren(this); } } } class TitleContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_title; } TITLE() { return this.getToken(sequenceParser.TITLE, 0); }; TITLE_CONTENT() { return this.getToken(sequenceParser.TITLE_CONTENT, 0); }; TITLE_END() { return this.getToken(sequenceParser.TITLE_END, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterTitle(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitTitle(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitTitle(this); } else { return visitor.visitChildren(this); } } } class HeadContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_head; } group = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(GroupContext); } else { return this.getTypedRuleContext(GroupContext,i); } }; participant = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ParticipantContext); } else { return this.getTypedRuleContext(ParticipantContext,i); } }; starterExp() { return this.getTypedRuleContext(StarterExpContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterHead(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitHead(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitHead(this); } else { return visitor.visitChildren(this); } } } class GroupContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_group; } GROUP() { return this.getToken(sequenceParser.GROUP, 0); }; OBRACE() { return this.getToken(sequenceParser.OBRACE, 0); }; CBRACE() { return this.getToken(sequenceParser.CBRACE, 0); }; name() { return this.getTypedRuleContext(NameContext,0); }; participant = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ParticipantContext); } else { return this.getTypedRuleContext(ParticipantContext,i); } }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterGroup(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitGroup(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitGroup(this); } else { return visitor.visitChildren(this); } } } class StarterExpContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_starterExp; } STARTER_LXR() { return this.getToken(sequenceParser.STARTER_LXR, 0); }; OPAR() { return this.getToken(sequenceParser.OPAR, 0); }; CPAR() { return this.getToken(sequenceParser.CPAR, 0); }; starter() { return this.getTypedRuleContext(StarterContext,0); }; ANNOTATION() { return this.getToken(sequenceParser.ANNOTATION, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterStarterExp(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitStarterExp(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitStarterExp(this); } else { return visitor.visitChildren(this); } } } class StarterContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_starter; } ID() { return this.getToken(sequenceParser.ID, 0); }; STRING() { return this.getToken(sequenceParser.STRING, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterStarter(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitStarter(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitStarter(this); } else { return visitor.visitChildren(this); } } } class ParticipantContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_participant; } name() { return this.getTypedRuleContext(NameContext,0); }; participantType() { return this.getTypedRuleContext(ParticipantTypeContext,0); }; stereotype() { return this.getTypedRuleContext(StereotypeContext,0); }; width() { return this.getTypedRuleContext(WidthContext,0); }; label() { return this.getTypedRuleContext(LabelContext,0); }; COLOR() { return this.getToken(sequenceParser.COLOR, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterParticipant(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitParticipant(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitParticipant(this); } else { return visitor.visitChildren(this); } } } class StereotypeContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_stereotype; } SOPEN() { return this.getToken(sequenceParser.SOPEN, 0); }; name() { return this.getTypedRuleContext(NameContext,0); }; SCLOSE() { return this.getToken(sequenceParser.SCLOSE, 0); }; GT() { return this.getToken(sequenceParser.GT, 0); }; LT() { return this.getToken(sequenceParser.LT, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterStereotype(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitStereotype(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitStereotype(this); } else { return visitor.visitChildren(this); } } } class LabelContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_label; } AS() { return this.getToken(sequenceParser.AS, 0); }; name() { return this.getTypedRuleContext(NameContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterLabel(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitLabel(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitLabel(this); } else { return visitor.visitChildren(this); } } } class ParticipantTypeContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_participantType; } ANNOTATION() { return this.getToken(sequenceParser.ANNOTATION, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterParticipantType(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitParticipantType(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitParticipantType(this); } else { return visitor.visitChildren(this); } } } class NameContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_name; } ID() { return this.getToken(sequenceParser.ID, 0); }; STRING() { return this.getToken(sequenceParser.STRING, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterName(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitName(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitName(this); } else { return visitor.visitChildren(this); } } } class WidthContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_width; } INT() { return this.getToken(sequenceParser.INT, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterWidth(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitWidth(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitWidth(this); } else { return visitor.visitChildren(this); } } } class BlockContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_block; } stat = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(StatContext); } else { return this.getTypedRuleContext(StatContext,i); } }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterBlock(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitBlock(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitBlock(this); } else { return visitor.visitChildren(this); } } } class RetContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_ret; } RETURN() { return this.getToken(sequenceParser.RETURN, 0); }; expr() { return this.getTypedRuleContext(ExprContext,0); }; SCOL() { return this.getToken(sequenceParser.SCOL, 0); }; ANNOTATION_RET() { return this.getToken(sequenceParser.ANNOTATION_RET, 0); }; asyncMessage() { return this.getTypedRuleContext(AsyncMessageContext,0); }; EVENT_END() { return this.getToken(sequenceParser.EVENT_END, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterRet(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitRet(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitRet(this); } else { return visitor.visitChildren(this); } } } class DividerContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_divider; } dividerNote() { return this.getTypedRuleContext(DividerNoteContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterDivider(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitDivider(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitDivider(this); } else { return visitor.visitChildren(this); } } } class DividerNoteContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_dividerNote; } DIVIDER() { return this.getToken(sequenceParser.DIVIDER, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterDividerNote(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitDividerNote(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitDividerNote(this); } else { return visitor.visitChildren(this); } } } class StatContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_stat; this._OTHER = null; } alt() { return this.getTypedRuleContext(AltContext,0); }; par() { return this.getTypedRuleContext(ParContext,0); }; opt() { return this.getTypedRuleContext(OptContext,0); }; critical() { return this.getTypedRuleContext(CriticalContext,0); }; section() { return this.getTypedRuleContext(SectionContext,0); }; ref() { return this.getTypedRuleContext(RefContext,0); }; loop() { return this.getTypedRuleContext(LoopContext,0); }; creation() { return this.getTypedRuleContext(CreationContext,0); }; message() { return this.getTypedRuleContext(MessageContext,0); }; asyncMessage() { return this.getTypedRuleContext(AsyncMessageContext,0); }; EVENT_END() { return this.getToken(sequenceParser.EVENT_END, 0); }; ret() { return this.getTypedRuleContext(RetContext,0); }; divider() { return this.getTypedRuleContext(DividerContext,0); }; tcf() { return this.getTypedRuleContext(TcfContext,0); }; OTHER() { return this.getToken(sequenceParser.OTHER, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterStat(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitStat(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitStat(this); } else { return visitor.visitChildren(this); } } } class ParContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_par; } PAR() { return this.getToken(sequenceParser.PAR, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterPar(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitPar(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitPar(this); } else { return visitor.visitChildren(this); } } } class OptContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_opt; } OPT() { return this.getToken(sequenceParser.OPT, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterOpt(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitOpt(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitOpt(this); } else { return visitor.visitChildren(this); } } } class CriticalContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_critical; } CRITICAL() { return this.getToken(sequenceParser.CRITICAL, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; OPAR() { return this.getToken(sequenceParser.OPAR, 0); }; CPAR() { return this.getToken(sequenceParser.CPAR, 0); }; atom() { return this.getTypedRuleContext(AtomContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterCritical(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitCritical(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitCritical(this); } else { return visitor.visitChildren(this); } } } class SectionContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_section; } SECTION() { return this.getToken(sequenceParser.SECTION, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; OPAR() { return this.getToken(sequenceParser.OPAR, 0); }; CPAR() { return this.getToken(sequenceParser.CPAR, 0); }; atom() { return this.getTypedRuleContext(AtomContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterSection(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitSection(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitSection(this); } else { return visitor.visitChildren(this); } } } class CreationContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_creation; } creationBody() { return this.getTypedRuleContext(CreationBodyContext,0); }; SCOL() { return this.getToken(sequenceParser.SCOL, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterCreation(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitCreation(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitCreation(this); } else { return visitor.visitChildren(this); } } } class RefContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_ref; } REF() { return this.getToken(sequenceParser.REF, 0); }; OPAR() { return this.getToken(sequenceParser.OPAR, 0); }; CPAR() { return this.getToken(sequenceParser.CPAR, 0); }; name = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(NameContext); } else { return this.getTypedRuleContext(NameContext,i); } }; SCOL() { return this.getToken(sequenceParser.SCOL, 0); }; COMMA = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTokens(sequenceParser.COMMA); } else { return this.getToken(sequenceParser.COMMA, i); } }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterRef(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitRef(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitRef(this); } else { return visitor.visitChildren(this); } } } class CreationBodyContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_creationBody; } NEW() { return this.getToken(sequenceParser.NEW, 0); }; construct() { return this.getTypedRuleContext(ConstructContext,0); }; assignment() { return this.getTypedRuleContext(AssignmentContext,0); }; OPAR() { return this.getToken(sequenceParser.OPAR, 0); }; CPAR() { return this.getToken(sequenceParser.CPAR, 0); }; parameters() { return this.getTypedRuleContext(ParametersContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterCreationBody(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitCreationBody(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitCreationBody(this); } else { return visitor.visitChildren(this); } } } class MessageContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_message; } messageBody() { return this.getTypedRuleContext(MessageBodyContext,0); }; SCOL() { return this.getToken(sequenceParser.SCOL, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterMessage(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitMessage(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitMessage(this); } else { return visitor.visitChildren(this); } } } class MessageBodyContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_messageBody; } func() { return this.getTypedRuleContext(FuncContext,0); }; assignment() { return this.getTypedRuleContext(AssignmentContext,0); }; to() { return this.getTypedRuleContext(ToContext,0); }; DOT() { return this.getToken(sequenceParser.DOT, 0); }; from() { return this.getTypedRuleContext(FromContext,0); }; ARROW() { return this.getToken(sequenceParser.ARROW, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterMessageBody(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitMessageBody(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitMessageBody(this); } else { return visitor.visitChildren(this); } } } class FuncContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_func; } signature = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(SignatureContext); } else { return this.getTypedRuleContext(SignatureContext,i); } }; DOT = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTokens(sequenceParser.DOT); } else { return this.getToken(sequenceParser.DOT, i); } }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterFunc(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitFunc(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitFunc(this); } else { return visitor.visitChildren(this); } } } class FromContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_from; } ID() { return this.getToken(sequenceParser.ID, 0); }; STRING() { return this.getToken(sequenceParser.STRING, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterFrom(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitFrom(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitFrom(this); } else { return visitor.visitChildren(this); } } } class ToContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_to; } ID() { return this.getToken(sequenceParser.ID, 0); }; STRING() { return this.getToken(sequenceParser.STRING, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterTo(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitTo(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitTo(this); } else { return visitor.visitChildren(this); } } } class SignatureContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_signature; } methodName() { return this.getTypedRuleContext(MethodNameContext,0); }; invocation() { return this.getTypedRuleContext(InvocationContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterSignature(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitSignature(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitSignature(this); } else { return visitor.visitChildren(this); } } } class InvocationContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_invocation; } OPAR() { return this.getToken(sequenceParser.OPAR, 0); }; CPAR() { return this.getToken(sequenceParser.CPAR, 0); }; parameters() { return this.getTypedRuleContext(ParametersContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterInvocation(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitInvocation(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitInvocation(this); } else { return visitor.visitChildren(this); } } } class AssignmentContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_assignment; } assignee() { return this.getTypedRuleContext(AssigneeContext,0); }; ASSIGN() { return this.getToken(sequenceParser.ASSIGN, 0); }; type() { return this.getTypedRuleContext(TypeContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterAssignment(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitAssignment(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitAssignment(this); } else { return visitor.visitChildren(this); } } } class AsyncMessageContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_asyncMessage; } to() { return this.getTypedRuleContext(ToContext,0); }; COL() { return this.getToken(sequenceParser.COL, 0); }; from() { return this.getTypedRuleContext(FromContext,0); }; ARROW() { return this.getToken(sequenceParser.ARROW, 0); }; content() { return this.getTypedRuleContext(ContentContext,0); }; MINUS() { return this.getToken(sequenceParser.MINUS, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterAsyncMessage(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitAsyncMessage(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitAsyncMessage(this); } else { return visitor.visitChildren(this); } } } class ContentContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_content; } EVENT_PAYLOAD_LXR() { return this.getToken(sequenceParser.EVENT_PAYLOAD_LXR, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterContent(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitContent(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitContent(this); } else { return visitor.visitChildren(this); } } } class ConstructContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_construct; } ID() { return this.getToken(sequenceParser.ID, 0); }; STRING() { return this.getToken(sequenceParser.STRING, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterConstruct(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitConstruct(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitConstruct(this); } else { return visitor.visitChildren(this); } } } class TypeContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_type; } ID() { return this.getToken(sequenceParser.ID, 0); }; STRING() { return this.getToken(sequenceParser.STRING, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterType(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitType(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitType(this); } else { return visitor.visitChildren(this); } } } class AssigneeContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_assignee; } atom() { return this.getTypedRuleContext(AtomContext,0); }; ID = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTokens(sequenceParser.ID); } else { return this.getToken(sequenceParser.ID, i); } }; COMMA = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTokens(sequenceParser.COMMA); } else { return this.getToken(sequenceParser.COMMA, i); } }; STRING() { return this.getToken(sequenceParser.STRING, 0); }; NEW() { return this.getToken(sequenceParser.NEW, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterAssignee(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitAssignee(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitAssignee(this); } else { return visitor.visitChildren(this); } } } class MethodNameContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_methodName; } ID() { return this.getToken(sequenceParser.ID, 0); }; STRING() { return this.getToken(sequenceParser.STRING, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterMethodName(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitMethodName(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitMethodName(this); } else { return visitor.visitChildren(this); } } } class ParametersContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_parameters; } parameter = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ParameterContext); } else { return this.getTypedRuleContext(ParameterContext,i); } }; COMMA = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTokens(sequenceParser.COMMA); } else { return this.getToken(sequenceParser.COMMA, i); } }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterParameters(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitParameters(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitParameters(this); } else { return visitor.visitChildren(this); } } } class ParameterContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_parameter; } namedParameter() { return this.getTypedRuleContext(NamedParameterContext,0); }; declaration() { return this.getTypedRuleContext(DeclarationContext,0); }; expr() { return this.getTypedRuleContext(ExprContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterParameter(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitParameter(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitParameter(this); } else { return visitor.visitChildren(this); } } } class NamedParameterContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_namedParameter; } ID() { return this.getToken(sequenceParser.ID, 0); }; ASSIGN() { return this.getToken(sequenceParser.ASSIGN, 0); }; expr() { return this.getTypedRuleContext(ExprContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterNamedParameter(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitNamedParameter(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitNamedParameter(this); } else { return visitor.visitChildren(this); } } } class DeclarationContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_declaration; } type() { return this.getTypedRuleContext(TypeContext,0); }; ID() { return this.getToken(sequenceParser.ID, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterDeclaration(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitDeclaration(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitDeclaration(this); } else { return visitor.visitChildren(this); } } } class TcfContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_tcf; } tryBlock() { return this.getTypedRuleContext(TryBlockContext,0); }; catchBlock = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(CatchBlockContext); } else { return this.getTypedRuleContext(CatchBlockContext,i); } }; finallyBlock() { return this.getTypedRuleContext(FinallyBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterTcf(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitTcf(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitTcf(this); } else { return visitor.visitChildren(this); } } } class TryBlockContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_tryBlock; } TRY() { return this.getToken(sequenceParser.TRY, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterTryBlock(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitTryBlock(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitTryBlock(this); } else { return visitor.visitChildren(this); } } } class CatchBlockContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_catchBlock; } CATCH() { return this.getToken(sequenceParser.CATCH, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; invocation() { return this.getTypedRuleContext(InvocationContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterCatchBlock(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitCatchBlock(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitCatchBlock(this); } else { return visitor.visitChildren(this); } } } class FinallyBlockContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_finallyBlock; } FINALLY() { return this.getToken(sequenceParser.FINALLY, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterFinallyBlock(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitFinallyBlock(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitFinallyBlock(this); } else { return visitor.visitChildren(this); } } } class AltContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_alt; } ifBlock() { return this.getTypedRuleContext(IfBlockContext,0); }; elseIfBlock = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ElseIfBlockContext); } else { return this.getTypedRuleContext(ElseIfBlockContext,i); } }; elseBlock() { return this.getTypedRuleContext(ElseBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterAlt(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitAlt(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitAlt(this); } else { return visitor.visitChildren(this); } } } class IfBlockContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_ifBlock; } IF() { return this.getToken(sequenceParser.IF, 0); }; parExpr() { return this.getTypedRuleContext(ParExprContext,0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterIfBlock(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitIfBlock(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitIfBlock(this); } else { return visitor.visitChildren(this); } } } class ElseIfBlockContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_elseIfBlock; } ELSE() { return this.getToken(sequenceParser.ELSE, 0); }; IF() { return this.getToken(sequenceParser.IF, 0); }; parExpr() { return this.getTypedRuleContext(ParExprContext,0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterElseIfBlock(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitElseIfBlock(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitElseIfBlock(this); } else { return visitor.visitChildren(this); } } } class ElseBlockContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_elseBlock; } ELSE() { return this.getToken(sequenceParser.ELSE, 0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterElseBlock(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitElseBlock(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitElseBlock(this); } else { return visitor.visitChildren(this); } } } class BraceBlockContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_braceBlock; } OBRACE() { return this.getToken(sequenceParser.OBRACE, 0); }; CBRACE() { return this.getToken(sequenceParser.CBRACE, 0); }; block() { return this.getTypedRuleContext(BlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterBraceBlock(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitBraceBlock(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitBraceBlock(this); } else { return visitor.visitChildren(this); } } } class LoopContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_loop; } WHILE() { return this.getToken(sequenceParser.WHILE, 0); }; parExpr() { return this.getTypedRuleContext(ParExprContext,0); }; braceBlock() { return this.getTypedRuleContext(BraceBlockContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterLoop(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitLoop(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitLoop(this); } else { return visitor.visitChildren(this); } } } class ExprContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_expr; } copyFrom(ctx) { super.copyFrom(ctx); } } class AssignmentExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } assignment() { return this.getTypedRuleContext(AssignmentContext,0); }; expr() { return this.getTypedRuleContext(ExprContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterAssignmentExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitAssignmentExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitAssignmentExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.AssignmentExprContext = AssignmentExprContext; class FuncExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } func() { return this.getTypedRuleContext(FuncContext,0); }; to() { return this.getTypedRuleContext(ToContext,0); }; DOT() { return this.getToken(sequenceParser.DOT, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterFuncExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitFuncExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitFuncExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.FuncExprContext = FuncExprContext; class AtomExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } atom() { return this.getTypedRuleContext(AtomContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterAtomExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitAtomExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitAtomExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.AtomExprContext = AtomExprContext; class OrExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } expr = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ExprContext); } else { return this.getTypedRuleContext(ExprContext,i); } }; OR() { return this.getToken(sequenceParser.OR, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterOrExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitOrExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitOrExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.OrExprContext = OrExprContext; class AdditiveExprContext extends ExprContext { constructor(parser, ctx) { super(parser); this.op = null;; super.copyFrom(ctx); } expr = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ExprContext); } else { return this.getTypedRuleContext(ExprContext,i); } }; PLUS() { return this.getToken(sequenceParser.PLUS, 0); }; MINUS() { return this.getToken(sequenceParser.MINUS, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterAdditiveExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitAdditiveExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitAdditiveExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.AdditiveExprContext = AdditiveExprContext; class RelationalExprContext extends ExprContext { constructor(parser, ctx) { super(parser); this.op = null;; super.copyFrom(ctx); } expr = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ExprContext); } else { return this.getTypedRuleContext(ExprContext,i); } }; LTEQ() { return this.getToken(sequenceParser.LTEQ, 0); }; GTEQ() { return this.getToken(sequenceParser.GTEQ, 0); }; LT() { return this.getToken(sequenceParser.LT, 0); }; GT() { return this.getToken(sequenceParser.GT, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterRelationalExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitRelationalExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitRelationalExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.RelationalExprContext = RelationalExprContext; class PlusExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } expr = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ExprContext); } else { return this.getTypedRuleContext(ExprContext,i); } }; PLUS() { return this.getToken(sequenceParser.PLUS, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterPlusExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitPlusExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitPlusExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.PlusExprContext = PlusExprContext; class NotExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } NOT() { return this.getToken(sequenceParser.NOT, 0); }; expr() { return this.getTypedRuleContext(ExprContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterNotExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitNotExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitNotExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.NotExprContext = NotExprContext; class UnaryMinusExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } MINUS() { return this.getToken(sequenceParser.MINUS, 0); }; expr() { return this.getTypedRuleContext(ExprContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterUnaryMinusExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitUnaryMinusExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitUnaryMinusExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.UnaryMinusExprContext = UnaryMinusExprContext; class CreationExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } creation() { return this.getTypedRuleContext(CreationContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterCreationExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitCreationExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitCreationExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.CreationExprContext = CreationExprContext; class ParenthesizedExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } OPAR() { return this.getToken(sequenceParser.OPAR, 0); }; expr() { return this.getTypedRuleContext(ExprContext,0); }; CPAR() { return this.getToken(sequenceParser.CPAR, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterParenthesizedExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitParenthesizedExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitParenthesizedExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.ParenthesizedExprContext = ParenthesizedExprContext; class MultiplicationExprContext extends ExprContext { constructor(parser, ctx) { super(parser); this.op = null;; super.copyFrom(ctx); } expr = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ExprContext); } else { return this.getTypedRuleContext(ExprContext,i); } }; MULT() { return this.getToken(sequenceParser.MULT, 0); }; DIV() { return this.getToken(sequenceParser.DIV, 0); }; MOD() { return this.getToken(sequenceParser.MOD, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterMultiplicationExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitMultiplicationExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitMultiplicationExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.MultiplicationExprContext = MultiplicationExprContext; class EqualityExprContext extends ExprContext { constructor(parser, ctx) { super(parser); this.op = null;; super.copyFrom(ctx); } expr = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ExprContext); } else { return this.getTypedRuleContext(ExprContext,i); } }; EQ() { return this.getToken(sequenceParser.EQ, 0); }; NEQ() { return this.getToken(sequenceParser.NEQ, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterEqualityExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitEqualityExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitEqualityExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.EqualityExprContext = EqualityExprContext; class AndExprContext extends ExprContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } expr = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTypedRuleContexts(ExprContext); } else { return this.getTypedRuleContext(ExprContext,i); } }; AND() { return this.getToken(sequenceParser.AND, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterAndExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitAndExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitAndExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.AndExprContext = AndExprContext; class AtomContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_atom; } copyFrom(ctx) { super.copyFrom(ctx); } } class BooleanAtomContext extends AtomContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } TRUE() { return this.getToken(sequenceParser.TRUE, 0); }; FALSE() { return this.getToken(sequenceParser.FALSE, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterBooleanAtom(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitBooleanAtom(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitBooleanAtom(this); } else { return visitor.visitChildren(this); } } } sequenceParser.BooleanAtomContext = BooleanAtomContext; class IdAtomContext extends AtomContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } ID() { return this.getToken(sequenceParser.ID, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterIdAtom(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitIdAtom(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitIdAtom(this); } else { return visitor.visitChildren(this); } } } sequenceParser.IdAtomContext = IdAtomContext; class MoneyAtomContext extends AtomContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } MONEY() { return this.getToken(sequenceParser.MONEY, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterMoneyAtom(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitMoneyAtom(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitMoneyAtom(this); } else { return visitor.visitChildren(this); } } } sequenceParser.MoneyAtomContext = MoneyAtomContext; class StringAtomContext extends AtomContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } STRING() { return this.getToken(sequenceParser.STRING, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterStringAtom(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitStringAtom(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitStringAtom(this); } else { return visitor.visitChildren(this); } } } sequenceParser.StringAtomContext = StringAtomContext; class NilAtomContext extends AtomContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } NIL() { return this.getToken(sequenceParser.NIL, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterNilAtom(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitNilAtom(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitNilAtom(this); } else { return visitor.visitChildren(this); } } } sequenceParser.NilAtomContext = NilAtomContext; class NumberAtomContext extends AtomContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } INT() { return this.getToken(sequenceParser.INT, 0); }; FLOAT() { return this.getToken(sequenceParser.FLOAT, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterNumberAtom(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitNumberAtom(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitNumberAtom(this); } else { return visitor.visitChildren(this); } } } sequenceParser.NumberAtomContext = NumberAtomContext; class NumberUnitAtomContext extends AtomContext { constructor(parser, ctx) { super(parser); super.copyFrom(ctx); } NUMBER_UNIT() { return this.getToken(sequenceParser.NUMBER_UNIT, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterNumberUnitAtom(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitNumberUnitAtom(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitNumberUnitAtom(this); } else { return visitor.visitChildren(this); } } } sequenceParser.NumberUnitAtomContext = NumberUnitAtomContext; class ParExprContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_parExpr; } OPAR() { return this.getToken(sequenceParser.OPAR, 0); }; condition() { return this.getTypedRuleContext(ConditionContext,0); }; CPAR() { return this.getToken(sequenceParser.CPAR, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterParExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitParExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitParExpr(this); } else { return visitor.visitChildren(this); } } } class ConditionContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_condition; } atom() { return this.getTypedRuleContext(AtomContext,0); }; expr() { return this.getTypedRuleContext(ExprContext,0); }; inExpr() { return this.getTypedRuleContext(InExprContext,0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterCondition(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitCondition(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitCondition(this); } else { return visitor.visitChildren(this); } } } class InExprContext extends antlr4.ParserRuleContext { constructor(parser, parent, invokingState) { if(parent===undefined) { parent = null; } if(invokingState===undefined || invokingState===null) { invokingState = -1; } super(parent, invokingState); this.parser = parser; this.ruleIndex = sequenceParser.RULE_inExpr; } ID = function(i) { if(i===undefined) { i = null; } if(i===null) { return this.getTokens(sequenceParser.ID); } else { return this.getToken(sequenceParser.ID, i); } }; IN() { return this.getToken(sequenceParser.IN, 0); }; enterRule(listener) { if(listener instanceof sequenceParserListener ) { listener.enterInExpr(this); } } exitRule(listener) { if(listener instanceof sequenceParserListener ) { listener.exitInExpr(this); } } accept(visitor) { if ( visitor instanceof sequenceParserVisitor ) { return visitor.visitInExpr(this); } else { return visitor.visitChildren(this); } } } sequenceParser.ProgContext = ProgContext; sequenceParser.TitleContext = TitleContext; sequenceParser.HeadContext = HeadContext; sequenceParser.GroupContext = GroupContext; sequenceParser.StarterExpContext = StarterExpContext; sequenceParser.StarterContext = StarterContext; sequenceParser.ParticipantContext = ParticipantContext; sequenceParser.StereotypeContext = StereotypeContext; sequenceParser.LabelContext = LabelContext; sequenceParser.ParticipantTypeContext = ParticipantTypeContext; sequenceParser.NameContext = NameContext; sequenceParser.WidthContext = WidthContext; sequenceParser.BlockContext = BlockContext; sequenceParser.RetContext = RetContext; sequenceParser.DividerContext = DividerContext; sequenceParser.DividerNoteContext = DividerNoteContext; sequenceParser.StatContext = StatContext; sequenceParser.ParContext = ParContext; sequenceParser.OptContext = OptContext; sequenceParser.CriticalContext = CriticalContext; sequenceParser.SectionContext = SectionContext; sequenceParser.CreationContext = CreationContext; sequenceParser.RefContext = RefContext; sequenceParser.CreationBodyContext = CreationBodyContext; sequenceParser.MessageContext = MessageContext; sequenceParser.MessageBodyContext = MessageBodyContext; sequenceParser.FuncContext = FuncContext; sequenceParser.FromContext = FromContext; sequenceParser.ToContext = ToContext; sequenceParser.SignatureContext = SignatureContext; sequenceParser.InvocationContext = InvocationContext; sequenceParser.AssignmentContext = AssignmentContext; sequenceParser.AsyncMessageContext = AsyncMessageContext; sequenceParser.ContentContext = ContentContext; sequenceParser.ConstructContext = ConstructContext; sequenceParser.TypeContext = TypeContext; sequenceParser.AssigneeContext = AssigneeContext; sequenceParser.MethodNameContext = MethodNameContext; sequenceParser.ParametersContext = ParametersContext; sequenceParser.ParameterContext = ParameterContext; sequenceParser.NamedParameterContext = NamedParameterContext; sequenceParser.DeclarationContext = DeclarationContext; sequenceParser.TcfContext = TcfContext; sequenceParser.TryBlockContext = TryBlockContext; sequenceParser.CatchBlockContext = CatchBlockContext; sequenceParser.FinallyBlockContext = FinallyBlockContext; sequenceParser.AltContext = AltContext; sequenceParser.IfBlockContext = IfBlockContext; sequenceParser.ElseIfBlockContext = ElseIfBlockContext; sequenceParser.ElseBlockContext = ElseBlockContext; sequenceParser.BraceBlockContext = BraceBlockContext; sequenceParser.LoopContext = LoopContext; sequenceParser.ExprContext = ExprContext; sequenceParser.AtomContext = AtomContext; sequenceParser.ParExprContext = ParExprContext; sequenceParser.ConditionContext = ConditionContext; sequenceParser.InExprContext = InExprContext;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ai-of-mine/fast-mermaid-validator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server