暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999
  1. // $ANTLR 3.2 Sep 23, 2009 12:02:23 C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g 2009-11-11 17:56:42
  2. using Unity.VisualScripting.Antlr3.Runtime;
  3. namespace Unity.VisualScripting.Dependencies.NCalc
  4. {
  5. public class NCalcLexer : Lexer
  6. {
  7. // delegates
  8. // delegators
  9. public NCalcLexer()
  10. {
  11. InitializeCyclicDFAs();
  12. }
  13. public NCalcLexer(ICharStream input)
  14. : this(input, null) { }
  15. public NCalcLexer(ICharStream input, RecognizerSharedState state)
  16. : base(input, state)
  17. {
  18. InitializeCyclicDFAs();
  19. }
  20. protected DFA7 dfa7;
  21. protected DFA14 dfa14;
  22. override public string GrammarFileName
  23. {
  24. get
  25. {
  26. return "C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g";
  27. }
  28. }
  29. private void InitializeCyclicDFAs()
  30. {
  31. dfa7 = new DFA7(this);
  32. dfa14 = new DFA14(this);
  33. }
  34. // $ANTLR start "T__19"
  35. public void mT__19() // throws RecognitionException [2]
  36. {
  37. try
  38. {
  39. var _type = T__19;
  40. var _channel = DEFAULT_TOKEN_CHANNEL;
  41. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:7:7: ( '?' )
  42. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:7:9: '?'
  43. {
  44. Match('?');
  45. }
  46. state.type = _type;
  47. state.channel = _channel;
  48. }
  49. finally { }
  50. }
  51. // $ANTLR end "T__19"
  52. // $ANTLR start "T__20"
  53. public void mT__20() // throws RecognitionException [2]
  54. {
  55. try
  56. {
  57. var _type = T__20;
  58. var _channel = DEFAULT_TOKEN_CHANNEL;
  59. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:8:7: ( ':' )
  60. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:8:9: ':'
  61. {
  62. Match(':');
  63. }
  64. state.type = _type;
  65. state.channel = _channel;
  66. }
  67. finally { }
  68. }
  69. // $ANTLR end "T__20"
  70. // $ANTLR start "T__21"
  71. public void mT__21() // throws RecognitionException [2]
  72. {
  73. try
  74. {
  75. var _type = T__21;
  76. var _channel = DEFAULT_TOKEN_CHANNEL;
  77. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:9:7: ( '||' )
  78. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:9:9: '||'
  79. {
  80. Match("||");
  81. }
  82. state.type = _type;
  83. state.channel = _channel;
  84. }
  85. finally { }
  86. }
  87. // $ANTLR end "T__21"
  88. // $ANTLR start "T__22"
  89. public void mT__22() // throws RecognitionException [2]
  90. {
  91. try
  92. {
  93. var _type = T__22;
  94. var _channel = DEFAULT_TOKEN_CHANNEL;
  95. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:10:7: ( 'or' )
  96. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:10:9: 'or'
  97. {
  98. Match("or");
  99. }
  100. state.type = _type;
  101. state.channel = _channel;
  102. }
  103. finally { }
  104. }
  105. // $ANTLR end "T__22"
  106. // $ANTLR start "T__23"
  107. public void mT__23() // throws RecognitionException [2]
  108. {
  109. try
  110. {
  111. var _type = T__23;
  112. var _channel = DEFAULT_TOKEN_CHANNEL;
  113. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:11:7: ( '&&' )
  114. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:11:9: '&&'
  115. {
  116. Match("&&");
  117. }
  118. state.type = _type;
  119. state.channel = _channel;
  120. }
  121. finally { }
  122. }
  123. // $ANTLR end "T__23"
  124. // $ANTLR start "T__24"
  125. public void mT__24() // throws RecognitionException [2]
  126. {
  127. try
  128. {
  129. var _type = T__24;
  130. var _channel = DEFAULT_TOKEN_CHANNEL;
  131. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:12:7: ( 'and' )
  132. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:12:9: 'and'
  133. {
  134. Match("and");
  135. }
  136. state.type = _type;
  137. state.channel = _channel;
  138. }
  139. finally { }
  140. }
  141. // $ANTLR end "T__24"
  142. // $ANTLR start "T__25"
  143. public void mT__25() // throws RecognitionException [2]
  144. {
  145. try
  146. {
  147. var _type = T__25;
  148. var _channel = DEFAULT_TOKEN_CHANNEL;
  149. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:13:7: ( '|' )
  150. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:13:9: '|'
  151. {
  152. Match('|');
  153. }
  154. state.type = _type;
  155. state.channel = _channel;
  156. }
  157. finally { }
  158. }
  159. // $ANTLR end "T__25"
  160. // $ANTLR start "T__26"
  161. public void mT__26() // throws RecognitionException [2]
  162. {
  163. try
  164. {
  165. var _type = T__26;
  166. var _channel = DEFAULT_TOKEN_CHANNEL;
  167. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:14:7: ( '^' )
  168. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:14:9: '^'
  169. {
  170. Match('^');
  171. }
  172. state.type = _type;
  173. state.channel = _channel;
  174. }
  175. finally { }
  176. }
  177. // $ANTLR end "T__26"
  178. // $ANTLR start "T__27"
  179. public void mT__27() // throws RecognitionException [2]
  180. {
  181. try
  182. {
  183. var _type = T__27;
  184. var _channel = DEFAULT_TOKEN_CHANNEL;
  185. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:15:7: ( '&' )
  186. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:15:9: '&'
  187. {
  188. Match('&');
  189. }
  190. state.type = _type;
  191. state.channel = _channel;
  192. }
  193. finally { }
  194. }
  195. // $ANTLR end "T__27"
  196. // $ANTLR start "T__28"
  197. public void mT__28() // throws RecognitionException [2]
  198. {
  199. try
  200. {
  201. var _type = T__28;
  202. var _channel = DEFAULT_TOKEN_CHANNEL;
  203. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:16:7: ( '==' )
  204. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:16:9: '=='
  205. {
  206. Match("==");
  207. }
  208. state.type = _type;
  209. state.channel = _channel;
  210. }
  211. finally { }
  212. }
  213. // $ANTLR end "T__28"
  214. // $ANTLR start "T__29"
  215. public void mT__29() // throws RecognitionException [2]
  216. {
  217. try
  218. {
  219. var _type = T__29;
  220. var _channel = DEFAULT_TOKEN_CHANNEL;
  221. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:17:7: ( '=' )
  222. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:17:9: '='
  223. {
  224. Match('=');
  225. }
  226. state.type = _type;
  227. state.channel = _channel;
  228. }
  229. finally { }
  230. }
  231. // $ANTLR end "T__29"
  232. // $ANTLR start "T__30"
  233. public void mT__30() // throws RecognitionException [2]
  234. {
  235. try
  236. {
  237. var _type = T__30;
  238. var _channel = DEFAULT_TOKEN_CHANNEL;
  239. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:18:7: ( '!=' )
  240. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:18:9: '!='
  241. {
  242. Match("!=");
  243. }
  244. state.type = _type;
  245. state.channel = _channel;
  246. }
  247. finally { }
  248. }
  249. // $ANTLR end "T__30"
  250. // $ANTLR start "T__31"
  251. public void mT__31() // throws RecognitionException [2]
  252. {
  253. try
  254. {
  255. var _type = T__31;
  256. var _channel = DEFAULT_TOKEN_CHANNEL;
  257. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:19:7: ( '<>' )
  258. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:19:9: '<>'
  259. {
  260. Match("<>");
  261. }
  262. state.type = _type;
  263. state.channel = _channel;
  264. }
  265. finally { }
  266. }
  267. // $ANTLR end "T__31"
  268. // $ANTLR start "T__32"
  269. public void mT__32() // throws RecognitionException [2]
  270. {
  271. try
  272. {
  273. var _type = T__32;
  274. var _channel = DEFAULT_TOKEN_CHANNEL;
  275. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:20:7: ( '<' )
  276. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:20:9: '<'
  277. {
  278. Match('<');
  279. }
  280. state.type = _type;
  281. state.channel = _channel;
  282. }
  283. finally { }
  284. }
  285. // $ANTLR end "T__32"
  286. // $ANTLR start "T__33"
  287. public void mT__33() // throws RecognitionException [2]
  288. {
  289. try
  290. {
  291. var _type = T__33;
  292. var _channel = DEFAULT_TOKEN_CHANNEL;
  293. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:21:7: ( '<=' )
  294. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:21:9: '<='
  295. {
  296. Match("<=");
  297. }
  298. state.type = _type;
  299. state.channel = _channel;
  300. }
  301. finally { }
  302. }
  303. // $ANTLR end "T__33"
  304. // $ANTLR start "T__34"
  305. public void mT__34() // throws RecognitionException [2]
  306. {
  307. try
  308. {
  309. var _type = T__34;
  310. var _channel = DEFAULT_TOKEN_CHANNEL;
  311. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:22:7: ( '>' )
  312. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:22:9: '>'
  313. {
  314. Match('>');
  315. }
  316. state.type = _type;
  317. state.channel = _channel;
  318. }
  319. finally { }
  320. }
  321. // $ANTLR end "T__34"
  322. // $ANTLR start "T__35"
  323. public void mT__35() // throws RecognitionException [2]
  324. {
  325. try
  326. {
  327. var _type = T__35;
  328. var _channel = DEFAULT_TOKEN_CHANNEL;
  329. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:23:7: ( '>=' )
  330. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:23:9: '>='
  331. {
  332. Match(">=");
  333. }
  334. state.type = _type;
  335. state.channel = _channel;
  336. }
  337. finally { }
  338. }
  339. // $ANTLR end "T__35"
  340. // $ANTLR start "T__36"
  341. public void mT__36() // throws RecognitionException [2]
  342. {
  343. try
  344. {
  345. var _type = T__36;
  346. var _channel = DEFAULT_TOKEN_CHANNEL;
  347. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:24:7: ( '<<' )
  348. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:24:9: '<<'
  349. {
  350. Match("<<");
  351. }
  352. state.type = _type;
  353. state.channel = _channel;
  354. }
  355. finally { }
  356. }
  357. // $ANTLR end "T__36"
  358. // $ANTLR start "T__37"
  359. public void mT__37() // throws RecognitionException [2]
  360. {
  361. try
  362. {
  363. var _type = T__37;
  364. var _channel = DEFAULT_TOKEN_CHANNEL;
  365. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:25:7: ( '>>' )
  366. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:25:9: '>>'
  367. {
  368. Match(">>");
  369. }
  370. state.type = _type;
  371. state.channel = _channel;
  372. }
  373. finally { }
  374. }
  375. // $ANTLR end "T__37"
  376. // $ANTLR start "T__38"
  377. public void mT__38() // throws RecognitionException [2]
  378. {
  379. try
  380. {
  381. var _type = T__38;
  382. var _channel = DEFAULT_TOKEN_CHANNEL;
  383. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:26:7: ( '+' )
  384. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:26:9: '+'
  385. {
  386. Match('+');
  387. }
  388. state.type = _type;
  389. state.channel = _channel;
  390. }
  391. finally { }
  392. }
  393. // $ANTLR end "T__38"
  394. // $ANTLR start "T__39"
  395. public void mT__39() // throws RecognitionException [2]
  396. {
  397. try
  398. {
  399. var _type = T__39;
  400. var _channel = DEFAULT_TOKEN_CHANNEL;
  401. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:27:7: ( '-' )
  402. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:27:9: '-'
  403. {
  404. Match('-');
  405. }
  406. state.type = _type;
  407. state.channel = _channel;
  408. }
  409. finally { }
  410. }
  411. // $ANTLR end "T__39"
  412. // $ANTLR start "T__40"
  413. public void mT__40() // throws RecognitionException [2]
  414. {
  415. try
  416. {
  417. var _type = T__40;
  418. var _channel = DEFAULT_TOKEN_CHANNEL;
  419. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:28:7: ( '*' )
  420. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:28:9: '*'
  421. {
  422. Match('*');
  423. }
  424. state.type = _type;
  425. state.channel = _channel;
  426. }
  427. finally { }
  428. }
  429. // $ANTLR end "T__40"
  430. // $ANTLR start "T__41"
  431. public void mT__41() // throws RecognitionException [2]
  432. {
  433. try
  434. {
  435. var _type = T__41;
  436. var _channel = DEFAULT_TOKEN_CHANNEL;
  437. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:29:7: ( '/' )
  438. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:29:9: '/'
  439. {
  440. Match('/');
  441. }
  442. state.type = _type;
  443. state.channel = _channel;
  444. }
  445. finally { }
  446. }
  447. // $ANTLR end "T__41"
  448. // $ANTLR start "T__42"
  449. public void mT__42() // throws RecognitionException [2]
  450. {
  451. try
  452. {
  453. var _type = T__42;
  454. var _channel = DEFAULT_TOKEN_CHANNEL;
  455. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:30:7: ( '%' )
  456. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:30:9: '%'
  457. {
  458. Match('%');
  459. }
  460. state.type = _type;
  461. state.channel = _channel;
  462. }
  463. finally { }
  464. }
  465. // $ANTLR end "T__42"
  466. // $ANTLR start "T__43"
  467. public void mT__43() // throws RecognitionException [2]
  468. {
  469. try
  470. {
  471. var _type = T__43;
  472. var _channel = DEFAULT_TOKEN_CHANNEL;
  473. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:31:7: ( '!' )
  474. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:31:9: '!'
  475. {
  476. Match('!');
  477. }
  478. state.type = _type;
  479. state.channel = _channel;
  480. }
  481. finally { }
  482. }
  483. // $ANTLR end "T__43"
  484. // $ANTLR start "T__44"
  485. public void mT__44() // throws RecognitionException [2]
  486. {
  487. try
  488. {
  489. var _type = T__44;
  490. var _channel = DEFAULT_TOKEN_CHANNEL;
  491. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:32:7: ( 'not' )
  492. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:32:9: 'not'
  493. {
  494. Match("not");
  495. }
  496. state.type = _type;
  497. state.channel = _channel;
  498. }
  499. finally { }
  500. }
  501. // $ANTLR end "T__44"
  502. // $ANTLR start "T__45"
  503. public void mT__45() // throws RecognitionException [2]
  504. {
  505. try
  506. {
  507. var _type = T__45;
  508. var _channel = DEFAULT_TOKEN_CHANNEL;
  509. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:33:7: ( '~' )
  510. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:33:9: '~'
  511. {
  512. Match('~');
  513. }
  514. state.type = _type;
  515. state.channel = _channel;
  516. }
  517. finally { }
  518. }
  519. // $ANTLR end "T__45"
  520. // $ANTLR start "T__46"
  521. public void mT__46() // throws RecognitionException [2]
  522. {
  523. try
  524. {
  525. var _type = T__46;
  526. var _channel = DEFAULT_TOKEN_CHANNEL;
  527. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:34:7: ( '(' )
  528. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:34:9: '('
  529. {
  530. Match('(');
  531. }
  532. state.type = _type;
  533. state.channel = _channel;
  534. }
  535. finally { }
  536. }
  537. // $ANTLR end "T__46"
  538. // $ANTLR start "T__47"
  539. public void mT__47() // throws RecognitionException [2]
  540. {
  541. try
  542. {
  543. var _type = T__47;
  544. var _channel = DEFAULT_TOKEN_CHANNEL;
  545. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:35:7: ( ')' )
  546. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:35:9: ')'
  547. {
  548. Match(')');
  549. }
  550. state.type = _type;
  551. state.channel = _channel;
  552. }
  553. finally { }
  554. }
  555. // $ANTLR end "T__47"
  556. // $ANTLR start "T__48"
  557. public void mT__48() // throws RecognitionException [2]
  558. {
  559. try
  560. {
  561. var _type = T__48;
  562. var _channel = DEFAULT_TOKEN_CHANNEL;
  563. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:36:7: ( ',' )
  564. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:36:9: ','
  565. {
  566. Match(',');
  567. }
  568. state.type = _type;
  569. state.channel = _channel;
  570. }
  571. finally { }
  572. }
  573. // $ANTLR end "T__48"
  574. // $ANTLR start "TRUE"
  575. public void mTRUE() // throws RecognitionException [2]
  576. {
  577. try
  578. {
  579. var _type = TRUE;
  580. var _channel = DEFAULT_TOKEN_CHANNEL;
  581. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:237:2: ( 'true' )
  582. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:237:4: 'true'
  583. {
  584. Match("true");
  585. }
  586. state.type = _type;
  587. state.channel = _channel;
  588. }
  589. finally { }
  590. }
  591. // $ANTLR end "TRUE"
  592. // $ANTLR start "FALSE"
  593. public void mFALSE() // throws RecognitionException [2]
  594. {
  595. try
  596. {
  597. var _type = FALSE;
  598. var _channel = DEFAULT_TOKEN_CHANNEL;
  599. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:241:2: ( 'false' )
  600. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:241:4: 'false'
  601. {
  602. Match("false");
  603. }
  604. state.type = _type;
  605. state.channel = _channel;
  606. }
  607. finally { }
  608. }
  609. // $ANTLR end "FALSE"
  610. // $ANTLR start "ID"
  611. public void mID() // throws RecognitionException [2]
  612. {
  613. try
  614. {
  615. var _type = ID;
  616. var _channel = DEFAULT_TOKEN_CHANNEL;
  617. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:245:2: ( LETTER ( LETTER | DIGIT )* )
  618. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:245:5: LETTER ( LETTER | DIGIT )*
  619. {
  620. mLETTER();
  621. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:245:12: ( LETTER | DIGIT )*
  622. do
  623. {
  624. var alt1 = 2;
  625. var LA1_0 = input.LA(1);
  626. if (LA1_0 >= '0' && LA1_0 <= '9' || LA1_0 >= 'A' && LA1_0 <= 'Z' || LA1_0 == '_' || LA1_0 >= 'a' && LA1_0 <= 'z')
  627. {
  628. alt1 = 1;
  629. }
  630. switch (alt1)
  631. {
  632. case 1:
  633. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:
  634. {
  635. if (input.LA(1) >= '0' && input.LA(1) <= '9' || input.LA(1) >= 'A' && input.LA(1) <= 'Z' || input.LA(1) == '_' || input.LA(1) >= 'a' && input.LA(1) <= 'z')
  636. {
  637. input.Consume();
  638. }
  639. else
  640. {
  641. var mse = new MismatchedSetException(null, input);
  642. Recover(mse);
  643. throw mse;
  644. }
  645. }
  646. break;
  647. default:
  648. goto loop1;
  649. }
  650. }
  651. while (true);
  652. loop1:
  653. ; // Stops C# compiler whining that label 'loop1' has no statements
  654. }
  655. state.type = _type;
  656. state.channel = _channel;
  657. }
  658. finally { }
  659. }
  660. // $ANTLR end "ID"
  661. // $ANTLR start "INTEGER"
  662. public void mINTEGER() // throws RecognitionException [2]
  663. {
  664. try
  665. {
  666. var _type = INTEGER;
  667. var _channel = DEFAULT_TOKEN_CHANNEL;
  668. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:249:2: ( ( DIGIT )+ )
  669. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:249:4: ( DIGIT )+
  670. {
  671. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:249:4: ( DIGIT )+
  672. var cnt2 = 0;
  673. do
  674. {
  675. var alt2 = 2;
  676. var LA2_0 = input.LA(1);
  677. if (LA2_0 >= '0' && LA2_0 <= '9')
  678. {
  679. alt2 = 1;
  680. }
  681. switch (alt2)
  682. {
  683. case 1:
  684. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:249:4: DIGIT
  685. {
  686. mDIGIT();
  687. }
  688. break;
  689. default:
  690. if (cnt2 >= 1)
  691. {
  692. goto loop2;
  693. }
  694. var eee2 =
  695. new EarlyExitException(2, input);
  696. throw eee2;
  697. }
  698. cnt2++;
  699. }
  700. while (true);
  701. loop2:
  702. ; // Stops C# compiler whining that label 'loop2' has no statements
  703. }
  704. state.type = _type;
  705. state.channel = _channel;
  706. }
  707. finally { }
  708. }
  709. // $ANTLR end "INTEGER"
  710. // $ANTLR start "FLOAT"
  711. public void mFLOAT() // throws RecognitionException [2]
  712. {
  713. try
  714. {
  715. var _type = FLOAT;
  716. var _channel = DEFAULT_TOKEN_CHANNEL;
  717. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:253:2: ( ( DIGIT )* '.' ( DIGIT )+ ( E )? | ( DIGIT )+ E )
  718. var alt7 = 2;
  719. alt7 = dfa7.Predict(input);
  720. switch (alt7)
  721. {
  722. case 1:
  723. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:253:4: ( DIGIT )* '.' ( DIGIT )+ ( E )?
  724. {
  725. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:253:4: ( DIGIT )*
  726. do
  727. {
  728. var alt3 = 2;
  729. var LA3_0 = input.LA(1);
  730. if (LA3_0 >= '0' && LA3_0 <= '9')
  731. {
  732. alt3 = 1;
  733. }
  734. switch (alt3)
  735. {
  736. case 1:
  737. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:253:4: DIGIT
  738. {
  739. mDIGIT();
  740. }
  741. break;
  742. default:
  743. goto loop3;
  744. }
  745. }
  746. while (true);
  747. loop3:
  748. ; // Stops C# compiler whining that label 'loop3' has no statements
  749. Match('.');
  750. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:253:15: ( DIGIT )+
  751. var cnt4 = 0;
  752. do
  753. {
  754. var alt4 = 2;
  755. var LA4_0 = input.LA(1);
  756. if (LA4_0 >= '0' && LA4_0 <= '9')
  757. {
  758. alt4 = 1;
  759. }
  760. switch (alt4)
  761. {
  762. case 1:
  763. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:253:15: DIGIT
  764. {
  765. mDIGIT();
  766. }
  767. break;
  768. default:
  769. if (cnt4 >= 1)
  770. {
  771. goto loop4;
  772. }
  773. var eee4 =
  774. new EarlyExitException(4, input);
  775. throw eee4;
  776. }
  777. cnt4++;
  778. }
  779. while (true);
  780. loop4:
  781. ; // Stops C# compiler whining that label 'loop4' has no statements
  782. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:253:22: ( E )?
  783. var alt5 = 2;
  784. var LA5_0 = input.LA(1);
  785. if (LA5_0 == 'E' || LA5_0 == 'e')
  786. {
  787. alt5 = 1;
  788. }
  789. switch (alt5)
  790. {
  791. case 1:
  792. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:253:22: E
  793. {
  794. mE();
  795. }
  796. break;
  797. }
  798. }
  799. break;
  800. case 2:
  801. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:254:4: ( DIGIT )+ E
  802. {
  803. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:254:4: ( DIGIT )+
  804. var cnt6 = 0;
  805. do
  806. {
  807. var alt6 = 2;
  808. var LA6_0 = input.LA(1);
  809. if (LA6_0 >= '0' && LA6_0 <= '9')
  810. {
  811. alt6 = 1;
  812. }
  813. switch (alt6)
  814. {
  815. case 1:
  816. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:254:4: DIGIT
  817. {
  818. mDIGIT();
  819. }
  820. break;
  821. default:
  822. if (cnt6 >= 1)
  823. {
  824. goto loop6;
  825. }
  826. var eee6 =
  827. new EarlyExitException(6, input);
  828. throw eee6;
  829. }
  830. cnt6++;
  831. }
  832. while (true);
  833. loop6:
  834. ; // Stops C# compiler whining that label 'loop6' has no statements
  835. mE();
  836. }
  837. break;
  838. }
  839. state.type = _type;
  840. state.channel = _channel;
  841. }
  842. finally { }
  843. }
  844. // $ANTLR end "FLOAT"
  845. // $ANTLR start "STRING"
  846. public void mSTRING() // throws RecognitionException [2]
  847. {
  848. try
  849. {
  850. var _type = STRING;
  851. var _channel = DEFAULT_TOKEN_CHANNEL;
  852. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:258:6: ( '\\'' ( EscapeSequence | ( options {greedy=false; } : ~ ( '\\u0000' .. '\\u001f' | '\\\\' | '\\'' ) ) )* '\\'' )
  853. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:258:10: '\\'' ( EscapeSequence | ( options {greedy=false; } : ~ ( '\\u0000' .. '\\u001f' | '\\\\' | '\\'' ) ) )* '\\''
  854. {
  855. Match('\'');
  856. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:258:15: ( EscapeSequence | ( options {greedy=false; } : ~ ( '\\u0000' .. '\\u001f' | '\\\\' | '\\'' ) ) )*
  857. do
  858. {
  859. var alt8 = 3;
  860. var LA8_0 = input.LA(1);
  861. if (LA8_0 == '\\')
  862. {
  863. alt8 = 1;
  864. }
  865. else if (LA8_0 >= ' ' && LA8_0 <= '&' || LA8_0 >= '(' && LA8_0 <= '[' || LA8_0 >= ']' && LA8_0 <= '\uFFFF')
  866. {
  867. alt8 = 2;
  868. }
  869. switch (alt8)
  870. {
  871. case 1:
  872. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:258:17: EscapeSequence
  873. {
  874. mEscapeSequence();
  875. }
  876. break;
  877. case 2:
  878. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:258:34: ( options {greedy=false; } : ~ ( '\\u0000' .. '\\u001f' | '\\\\' | '\\'' ) )
  879. {
  880. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:258:34: ( options {greedy=false; } : ~ ( '\\u0000' .. '\\u001f' | '\\\\' | '\\'' ) )
  881. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:258:61: ~ ( '\\u0000' .. '\\u001f' | '\\\\' | '\\'' )
  882. {
  883. if (input.LA(1) >= ' ' && input.LA(1) <= '&' || input.LA(1) >= '(' && input.LA(1) <= '[' || input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')
  884. {
  885. input.Consume();
  886. }
  887. else
  888. {
  889. var mse = new MismatchedSetException(null, input);
  890. Recover(mse);
  891. throw mse;
  892. }
  893. }
  894. }
  895. break;
  896. default:
  897. goto loop8;
  898. }
  899. }
  900. while (true);
  901. loop8:
  902. ; // Stops C# compiler whining that label 'loop8' has no statements
  903. Match('\'');
  904. }
  905. state.type = _type;
  906. state.channel = _channel;
  907. }
  908. finally { }
  909. }
  910. // $ANTLR end "STRING"
  911. // $ANTLR start "DATETIME"
  912. public void mDATETIME() // throws RecognitionException [2]
  913. {
  914. try
  915. {
  916. var _type = DATETIME;
  917. var _channel = DEFAULT_TOKEN_CHANNEL;
  918. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:262:3: ( '#' ( options {greedy=false; } : (~ ( '#' ) )* ) '#' )
  919. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:262:5: '#' ( options {greedy=false; } : (~ ( '#' ) )* ) '#'
  920. {
  921. Match('#');
  922. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:262:9: ( options {greedy=false; } : (~ ( '#' ) )* )
  923. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:262:36: (~ ( '#' ) )*
  924. {
  925. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:262:36: (~ ( '#' ) )*
  926. do
  927. {
  928. var alt9 = 2;
  929. var LA9_0 = input.LA(1);
  930. if (LA9_0 >= '\u0000' && LA9_0 <= '\"' || LA9_0 >= '$' && LA9_0 <= '\uFFFF')
  931. {
  932. alt9 = 1;
  933. }
  934. switch (alt9)
  935. {
  936. case 1:
  937. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:262:36: ~ ( '#' )
  938. {
  939. if (input.LA(1) >= '\u0000' && input.LA(1) <= '\"' || input.LA(1) >= '$' && input.LA(1) <= '\uFFFF')
  940. {
  941. input.Consume();
  942. }
  943. else
  944. {
  945. var mse = new MismatchedSetException(null, input);
  946. Recover(mse);
  947. throw mse;
  948. }
  949. }
  950. break;
  951. default:
  952. goto loop9;
  953. }
  954. }
  955. while (true);
  956. loop9:
  957. ; // Stops C# compiler whining that label 'loop9' has no statements
  958. }
  959. Match('#');
  960. }
  961. state.type = _type;
  962. state.channel = _channel;
  963. }
  964. finally { }
  965. }
  966. // $ANTLR end "DATETIME"
  967. // $ANTLR start "NAME"
  968. public void mNAME() // throws RecognitionException [2]
  969. {
  970. try
  971. {
  972. var _type = NAME;
  973. var _channel = DEFAULT_TOKEN_CHANNEL;
  974. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:265:6: ( '[' ( options {greedy=false; } : (~ ( ']' ) )* ) ']' )
  975. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:265:8: '[' ( options {greedy=false; } : (~ ( ']' ) )* ) ']'
  976. {
  977. Match('[');
  978. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:265:12: ( options {greedy=false; } : (~ ( ']' ) )* )
  979. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:265:39: (~ ( ']' ) )*
  980. {
  981. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:265:39: (~ ( ']' ) )*
  982. do
  983. {
  984. var alt10 = 2;
  985. var LA10_0 = input.LA(1);
  986. if (LA10_0 >= '\u0000' && LA10_0 <= '\\' || LA10_0 >= '^' && LA10_0 <= '\uFFFF')
  987. {
  988. alt10 = 1;
  989. }
  990. switch (alt10)
  991. {
  992. case 1:
  993. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:265:39: ~ ( ']' )
  994. {
  995. if (input.LA(1) >= '\u0000' && input.LA(1) <= '\\' || input.LA(1) >= '^' && input.LA(1) <= '\uFFFF')
  996. {
  997. input.Consume();
  998. }
  999. else
  1000. {
  1001. var mse = new MismatchedSetException(null, input);
  1002. Recover(mse);
  1003. throw mse;
  1004. }
  1005. }
  1006. break;
  1007. default:
  1008. goto loop10;
  1009. }
  1010. }
  1011. while (true);
  1012. loop10:
  1013. ; // Stops C# compiler whining that label 'loop10' has no statements
  1014. }
  1015. Match(']');
  1016. }
  1017. state.type = _type;
  1018. state.channel = _channel;
  1019. }
  1020. finally { }
  1021. }
  1022. // $ANTLR end "NAME"
  1023. // $ANTLR start "E"
  1024. public void mE() // throws RecognitionException [2]
  1025. {
  1026. try
  1027. {
  1028. var _type = E;
  1029. var _channel = DEFAULT_TOKEN_CHANNEL;
  1030. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:268:3: ( ( 'E' | 'e' ) ( '+' | '-' )? ( DIGIT )+ )
  1031. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:268:5: ( 'E' | 'e' ) ( '+' | '-' )? ( DIGIT )+
  1032. {
  1033. if (input.LA(1) == 'E' || input.LA(1) == 'e')
  1034. {
  1035. input.Consume();
  1036. }
  1037. else
  1038. {
  1039. var mse = new MismatchedSetException(null, input);
  1040. Recover(mse);
  1041. throw mse;
  1042. }
  1043. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:268:15: ( '+' | '-' )?
  1044. var alt11 = 2;
  1045. var LA11_0 = input.LA(1);
  1046. if (LA11_0 == '+' || LA11_0 == '-')
  1047. {
  1048. alt11 = 1;
  1049. }
  1050. switch (alt11)
  1051. {
  1052. case 1:
  1053. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:
  1054. {
  1055. if (input.LA(1) == '+' || input.LA(1) == '-')
  1056. {
  1057. input.Consume();
  1058. }
  1059. else
  1060. {
  1061. var mse = new MismatchedSetException(null, input);
  1062. Recover(mse);
  1063. throw mse;
  1064. }
  1065. }
  1066. break;
  1067. }
  1068. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:268:26: ( DIGIT )+
  1069. var cnt12 = 0;
  1070. do
  1071. {
  1072. var alt12 = 2;
  1073. var LA12_0 = input.LA(1);
  1074. if (LA12_0 >= '0' && LA12_0 <= '9')
  1075. {
  1076. alt12 = 1;
  1077. }
  1078. switch (alt12)
  1079. {
  1080. case 1:
  1081. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:268:26: DIGIT
  1082. {
  1083. mDIGIT();
  1084. }
  1085. break;
  1086. default:
  1087. if (cnt12 >= 1)
  1088. {
  1089. goto loop12;
  1090. }
  1091. var eee12 =
  1092. new EarlyExitException(12, input);
  1093. throw eee12;
  1094. }
  1095. cnt12++;
  1096. }
  1097. while (true);
  1098. loop12:
  1099. ; // Stops C# compiler whining that label 'loop12' has no statements
  1100. }
  1101. state.type = _type;
  1102. state.channel = _channel;
  1103. }
  1104. finally { }
  1105. }
  1106. // $ANTLR end "E"
  1107. // $ANTLR start "LETTER"
  1108. public void mLETTER() // throws RecognitionException [2]
  1109. {
  1110. try
  1111. {
  1112. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:272:2: ( 'a' .. 'z' | 'A' .. 'Z' | '_' )
  1113. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:
  1114. {
  1115. if (input.LA(1) >= 'A' && input.LA(1) <= 'Z' || input.LA(1) == '_' || input.LA(1) >= 'a' && input.LA(1) <= 'z')
  1116. {
  1117. input.Consume();
  1118. }
  1119. else
  1120. {
  1121. var mse = new MismatchedSetException(null, input);
  1122. Recover(mse);
  1123. throw mse;
  1124. }
  1125. }
  1126. }
  1127. finally { }
  1128. }
  1129. // $ANTLR end "LETTER"
  1130. // $ANTLR start "DIGIT"
  1131. public void mDIGIT() // throws RecognitionException [2]
  1132. {
  1133. try
  1134. {
  1135. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:278:2: ( '0' .. '9' )
  1136. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:278:4: '0' .. '9'
  1137. {
  1138. MatchRange('0', '9');
  1139. }
  1140. }
  1141. finally { }
  1142. }
  1143. // $ANTLR end "DIGIT"
  1144. // $ANTLR start "EscapeSequence"
  1145. public void mEscapeSequence() // throws RecognitionException [2]
  1146. {
  1147. try
  1148. {
  1149. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:282:2: ( '\\\\' ( 'n' | 'r' | 't' | '\\'' | '\\\\' | UnicodeEscape ) )
  1150. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:282:4: '\\\\' ( 'n' | 'r' | 't' | '\\'' | '\\\\' | UnicodeEscape )
  1151. {
  1152. Match('\\');
  1153. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:283:4: ( 'n' | 'r' | 't' | '\\'' | '\\\\' | UnicodeEscape )
  1154. var alt13 = 6;
  1155. switch (input.LA(1))
  1156. {
  1157. case 'n':
  1158. {
  1159. alt13 = 1;
  1160. }
  1161. break;
  1162. case 'r':
  1163. {
  1164. alt13 = 2;
  1165. }
  1166. break;
  1167. case 't':
  1168. {
  1169. alt13 = 3;
  1170. }
  1171. break;
  1172. case '\'':
  1173. {
  1174. alt13 = 4;
  1175. }
  1176. break;
  1177. case '\\':
  1178. {
  1179. alt13 = 5;
  1180. }
  1181. break;
  1182. case 'u':
  1183. {
  1184. alt13 = 6;
  1185. }
  1186. break;
  1187. default:
  1188. var nvae_d13s0 =
  1189. new NoViableAltException("", 13, 0, input);
  1190. throw nvae_d13s0;
  1191. }
  1192. switch (alt13)
  1193. {
  1194. case 1:
  1195. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:284:5: 'n'
  1196. {
  1197. Match('n');
  1198. }
  1199. break;
  1200. case 2:
  1201. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:285:4: 'r'
  1202. {
  1203. Match('r');
  1204. }
  1205. break;
  1206. case 3:
  1207. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:286:4: 't'
  1208. {
  1209. Match('t');
  1210. }
  1211. break;
  1212. case 4:
  1213. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:287:4: '\\''
  1214. {
  1215. Match('\'');
  1216. }
  1217. break;
  1218. case 5:
  1219. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:288:4: '\\\\'
  1220. {
  1221. Match('\\');
  1222. }
  1223. break;
  1224. case 6:
  1225. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:289:4: UnicodeEscape
  1226. {
  1227. mUnicodeEscape();
  1228. }
  1229. break;
  1230. }
  1231. }
  1232. }
  1233. finally { }
  1234. }
  1235. // $ANTLR end "EscapeSequence"
  1236. // $ANTLR start "HexDigit"
  1237. public void mHexDigit() // throws RecognitionException [2]
  1238. {
  1239. try
  1240. {
  1241. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:294:2: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
  1242. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:294:5: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
  1243. {
  1244. if (input.LA(1) >= '0' && input.LA(1) <= '9' || input.LA(1) >= 'A' && input.LA(1) <= 'F' || input.LA(1) >= 'a' && input.LA(1) <= 'f')
  1245. {
  1246. input.Consume();
  1247. }
  1248. else
  1249. {
  1250. var mse = new MismatchedSetException(null, input);
  1251. Recover(mse);
  1252. throw mse;
  1253. }
  1254. }
  1255. }
  1256. finally { }
  1257. }
  1258. // $ANTLR end "HexDigit"
  1259. // $ANTLR start "UnicodeEscape"
  1260. public void mUnicodeEscape() // throws RecognitionException [2]
  1261. {
  1262. try
  1263. {
  1264. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:298:6: ( 'u' HexDigit HexDigit HexDigit HexDigit )
  1265. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:298:12: 'u' HexDigit HexDigit HexDigit HexDigit
  1266. {
  1267. Match('u');
  1268. mHexDigit();
  1269. mHexDigit();
  1270. mHexDigit();
  1271. mHexDigit();
  1272. }
  1273. }
  1274. finally { }
  1275. }
  1276. // $ANTLR end "UnicodeEscape"
  1277. // $ANTLR start "WS"
  1278. public void mWS() // throws RecognitionException [2]
  1279. {
  1280. try
  1281. {
  1282. var _type = WS;
  1283. var _channel = DEFAULT_TOKEN_CHANNEL;
  1284. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:302:4: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) )
  1285. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:302:7: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' )
  1286. {
  1287. if (input.LA(1) >= '\t' && input.LA(1) <= '\n' || input.LA(1) >= '\f' && input.LA(1) <= '\r' || input.LA(1) == ' ')
  1288. {
  1289. input.Consume();
  1290. }
  1291. else
  1292. {
  1293. var mse = new MismatchedSetException(null, input);
  1294. Recover(mse);
  1295. throw mse;
  1296. }
  1297. _channel = HIDDEN;
  1298. }
  1299. state.type = _type;
  1300. state.channel = _channel;
  1301. }
  1302. finally { }
  1303. }
  1304. // $ANTLR end "WS"
  1305. override public void mTokens() // throws RecognitionException
  1306. {
  1307. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:8: ( T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | TRUE | FALSE | ID | INTEGER | FLOAT | STRING | DATETIME | NAME | E | WS )
  1308. var alt14 = 40;
  1309. alt14 = dfa14.Predict(input);
  1310. switch (alt14)
  1311. {
  1312. case 1:
  1313. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:10: T__19
  1314. {
  1315. mT__19();
  1316. }
  1317. break;
  1318. case 2:
  1319. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:16: T__20
  1320. {
  1321. mT__20();
  1322. }
  1323. break;
  1324. case 3:
  1325. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:22: T__21
  1326. {
  1327. mT__21();
  1328. }
  1329. break;
  1330. case 4:
  1331. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:28: T__22
  1332. {
  1333. mT__22();
  1334. }
  1335. break;
  1336. case 5:
  1337. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:34: T__23
  1338. {
  1339. mT__23();
  1340. }
  1341. break;
  1342. case 6:
  1343. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:40: T__24
  1344. {
  1345. mT__24();
  1346. }
  1347. break;
  1348. case 7:
  1349. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:46: T__25
  1350. {
  1351. mT__25();
  1352. }
  1353. break;
  1354. case 8:
  1355. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:52: T__26
  1356. {
  1357. mT__26();
  1358. }
  1359. break;
  1360. case 9:
  1361. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:58: T__27
  1362. {
  1363. mT__27();
  1364. }
  1365. break;
  1366. case 10:
  1367. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:64: T__28
  1368. {
  1369. mT__28();
  1370. }
  1371. break;
  1372. case 11:
  1373. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:70: T__29
  1374. {
  1375. mT__29();
  1376. }
  1377. break;
  1378. case 12:
  1379. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:76: T__30
  1380. {
  1381. mT__30();
  1382. }
  1383. break;
  1384. case 13:
  1385. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:82: T__31
  1386. {
  1387. mT__31();
  1388. }
  1389. break;
  1390. case 14:
  1391. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:88: T__32
  1392. {
  1393. mT__32();
  1394. }
  1395. break;
  1396. case 15:
  1397. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:94: T__33
  1398. {
  1399. mT__33();
  1400. }
  1401. break;
  1402. case 16:
  1403. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:100: T__34
  1404. {
  1405. mT__34();
  1406. }
  1407. break;
  1408. case 17:
  1409. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:106: T__35
  1410. {
  1411. mT__35();
  1412. }
  1413. break;
  1414. case 18:
  1415. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:112: T__36
  1416. {
  1417. mT__36();
  1418. }
  1419. break;
  1420. case 19:
  1421. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:118: T__37
  1422. {
  1423. mT__37();
  1424. }
  1425. break;
  1426. case 20:
  1427. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:124: T__38
  1428. {
  1429. mT__38();
  1430. }
  1431. break;
  1432. case 21:
  1433. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:130: T__39
  1434. {
  1435. mT__39();
  1436. }
  1437. break;
  1438. case 22:
  1439. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:136: T__40
  1440. {
  1441. mT__40();
  1442. }
  1443. break;
  1444. case 23:
  1445. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:142: T__41
  1446. {
  1447. mT__41();
  1448. }
  1449. break;
  1450. case 24:
  1451. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:148: T__42
  1452. {
  1453. mT__42();
  1454. }
  1455. break;
  1456. case 25:
  1457. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:154: T__43
  1458. {
  1459. mT__43();
  1460. }
  1461. break;
  1462. case 26:
  1463. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:160: T__44
  1464. {
  1465. mT__44();
  1466. }
  1467. break;
  1468. case 27:
  1469. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:166: T__45
  1470. {
  1471. mT__45();
  1472. }
  1473. break;
  1474. case 28:
  1475. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:172: T__46
  1476. {
  1477. mT__46();
  1478. }
  1479. break;
  1480. case 29:
  1481. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:178: T__47
  1482. {
  1483. mT__47();
  1484. }
  1485. break;
  1486. case 30:
  1487. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:184: T__48
  1488. {
  1489. mT__48();
  1490. }
  1491. break;
  1492. case 31:
  1493. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:190: TRUE
  1494. {
  1495. mTRUE();
  1496. }
  1497. break;
  1498. case 32:
  1499. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:195: FALSE
  1500. {
  1501. mFALSE();
  1502. }
  1503. break;
  1504. case 33:
  1505. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:201: ID
  1506. {
  1507. mID();
  1508. }
  1509. break;
  1510. case 34:
  1511. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:204: INTEGER
  1512. {
  1513. mINTEGER();
  1514. }
  1515. break;
  1516. case 35:
  1517. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:212: FLOAT
  1518. {
  1519. mFLOAT();
  1520. }
  1521. break;
  1522. case 36:
  1523. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:218: STRING
  1524. {
  1525. mSTRING();
  1526. }
  1527. break;
  1528. case 37:
  1529. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:225: DATETIME
  1530. {
  1531. mDATETIME();
  1532. }
  1533. break;
  1534. case 38:
  1535. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:234: NAME
  1536. {
  1537. mNAME();
  1538. }
  1539. break;
  1540. case 39:
  1541. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:239: E
  1542. {
  1543. mE();
  1544. }
  1545. break;
  1546. case 40:
  1547. // C:\\Users\\s.ros\\Documents\\D�veloppement\\NCalc\\Grammar\\NCalc.g:1:241: WS
  1548. {
  1549. mWS();
  1550. }
  1551. break;
  1552. }
  1553. }
  1554. public const int T__29 = 29;
  1555. public const int T__28 = 28;
  1556. public const int T__27 = 27;
  1557. public const int T__26 = 26;
  1558. public const int T__25 = 25;
  1559. public const int T__24 = 24;
  1560. public const int LETTER = 12;
  1561. public const int T__23 = 23;
  1562. public const int T__22 = 22;
  1563. public const int T__21 = 21;
  1564. public const int T__20 = 20;
  1565. public const int FLOAT = 5;
  1566. public const int ID = 10;
  1567. public const int EOF = -1;
  1568. public const int HexDigit = 17;
  1569. public const int T__19 = 19;
  1570. public const int NAME = 11;
  1571. public const int DIGIT = 13;
  1572. public const int T__42 = 42;
  1573. public const int INTEGER = 4;
  1574. public const int E = 14;
  1575. public const int T__43 = 43;
  1576. public const int T__40 = 40;
  1577. public const int T__41 = 41;
  1578. public const int T__46 = 46;
  1579. public const int T__47 = 47;
  1580. public const int T__44 = 44;
  1581. public const int T__45 = 45;
  1582. public const int T__48 = 48;
  1583. public const int DATETIME = 7;
  1584. public const int TRUE = 8;
  1585. public const int T__30 = 30;
  1586. public const int T__31 = 31;
  1587. public const int T__32 = 32;
  1588. public const int WS = 18;
  1589. public const int T__33 = 33;
  1590. public const int T__34 = 34;
  1591. public const int T__35 = 35;
  1592. public const int T__36 = 36;
  1593. public const int T__37 = 37;
  1594. public const int T__38 = 38;
  1595. public const int T__39 = 39;
  1596. public const int UnicodeEscape = 16;
  1597. public const int FALSE = 9;
  1598. public const int EscapeSequence = 15;
  1599. public const int STRING = 6;
  1600. private const string DFA7_eotS =
  1601. "\x04\uffff";
  1602. private const string DFA7_eofS =
  1603. "\x04\uffff";
  1604. private const string DFA7_minS =
  1605. "\x02\x2e\x02\uffff";
  1606. private const string DFA7_maxS =
  1607. "\x01\x39\x01\x65\x02\uffff";
  1608. private const string DFA7_acceptS =
  1609. "\x02\uffff\x01\x01\x01\x02";
  1610. private const string DFA7_specialS =
  1611. "\x04\uffff}>";
  1612. private const string DFA14_eotS =
  1613. "\x03\uffff\x01\x21\x01\x1e\x01\x24\x01\x1e\x01\uffff\x01\x27\x01" +
  1614. "\x29\x01\x2d\x01\x30\x05\uffff\x01\x1e\x04\uffff\x03\x1e\x01\x36" +
  1615. "\x08\uffff\x01\x37\x02\uffff\x01\x1e\x0b\uffff\x03\x1e\x01\uffff" +
  1616. "\x01\x1e\x02\uffff\x01\x3c\x01\x3d\x02\x1e\x02\uffff\x01\x40\x01" +
  1617. "\x1e\x01\uffff\x01\x42\x01\uffff";
  1618. private const string DFA14_eofS =
  1619. "\x43\uffff";
  1620. private const string DFA14_minS =
  1621. "\x01\x09\x02\uffff\x01\x7c\x01\x72\x01\x26\x01\x6e\x01\uffff\x02" +
  1622. "\x3d\x01\x3c\x01\x3d\x05\uffff\x01\x6f\x04\uffff\x01\x72\x01\x61" +
  1623. "\x01\x2b\x01\x2e\x08\uffff\x01\x30\x02\uffff\x01\x64\x0b\uffff\x01" +
  1624. "\x74\x01\x75\x01\x6c\x01\uffff\x01\x30\x02\uffff\x02\x30\x01\x65" +
  1625. "\x01\x73\x02\uffff\x01\x30\x01\x65\x01\uffff\x01\x30\x01\uffff";
  1626. private const string DFA14_maxS =
  1627. "\x01\x7e\x02\uffff\x01\x7c\x01\x72\x01\x26\x01\x6e\x01\uffff\x02" +
  1628. "\x3d\x02\x3e\x05\uffff\x01\x6f\x04\uffff\x01\x72\x01\x61\x01\x39" +
  1629. "\x01\x65\x08\uffff\x01\x7a\x02\uffff\x01\x64\x0b\uffff\x01\x74\x01" +
  1630. "\x75\x01\x6c\x01\uffff\x01\x39\x02\uffff\x02\x7a\x01\x65\x01\x73" +
  1631. "\x02\uffff\x01\x7a\x01\x65\x01\uffff\x01\x7a\x01\uffff";
  1632. private const string DFA14_acceptS =
  1633. "\x01\uffff\x01\x01\x01\x02\x04\uffff\x01\x08\x04\uffff\x01\x14" +
  1634. "\x01\x15\x01\x16\x01\x17\x01\x18\x01\uffff\x01\x1b\x01\x1c\x01\x1d" +
  1635. "\x01\x1e\x04\uffff\x01\x23\x01\x24\x01\x25\x01\x26\x01\x21\x01\x28" +
  1636. "\x01\x03\x01\x07\x01\uffff\x01\x05\x01\x09\x01\uffff\x01\x0a\x01" +
  1637. "\x0b\x01\x0c\x01\x19\x01\x0d\x01\x0f\x01\x12\x01\x0e\x01\x11\x01" +
  1638. "\x13\x01\x10\x03\uffff\x01\x27\x01\uffff\x01\x22\x01\x04\x04\uffff" +
  1639. "\x01\x06\x01\x1a\x02\uffff\x01\x1f\x01\uffff\x01\x20";
  1640. private const string DFA14_specialS =
  1641. "\x43\uffff}>";
  1642. private static readonly string[] DFA7_transitionS =
  1643. {
  1644. "\x01\x02\x01\uffff\x0a\x01",
  1645. "\x01\x02\x01\uffff\x0a\x01\x0b\uffff\x01\x03\x1f\uffff\x01" +
  1646. "\x03",
  1647. "",
  1648. ""
  1649. };
  1650. private static readonly short[] DFA7_eot = DFA.UnpackEncodedString(DFA7_eotS);
  1651. private static readonly short[] DFA7_eof = DFA.UnpackEncodedString(DFA7_eofS);
  1652. private static readonly char[] DFA7_min = DFA.UnpackEncodedStringToUnsignedChars(DFA7_minS);
  1653. private static readonly char[] DFA7_max = DFA.UnpackEncodedStringToUnsignedChars(DFA7_maxS);
  1654. private static readonly short[] DFA7_accept = DFA.UnpackEncodedString(DFA7_acceptS);
  1655. private static readonly short[] DFA7_special = DFA.UnpackEncodedString(DFA7_specialS);
  1656. private static readonly short[][] DFA7_transition = DFA.UnpackEncodedStringArray(DFA7_transitionS);
  1657. private static readonly string[] DFA14_transitionS =
  1658. {
  1659. "\x02\x1f\x01\uffff\x02\x1f\x12\uffff\x01\x1f\x01\x09\x01\uffff" +
  1660. "\x01\x1c\x01\uffff\x01\x10\x01\x05\x01\x1b\x01\x13\x01\x14\x01" +
  1661. "\x0e\x01\x0c\x01\x15\x01\x0d\x01\x1a\x01\x0f\x0a\x19\x01\x02" +
  1662. "\x01\uffff\x01\x0a\x01\x08\x01\x0b\x01\x01\x01\uffff\x04\x1e" +
  1663. "\x01\x18\x15\x1e\x01\x1d\x02\uffff\x01\x07\x01\x1e\x01\uffff" +
  1664. "\x01\x06\x03\x1e\x01\x18\x01\x17\x07\x1e\x01\x11\x01\x04\x04" +
  1665. "\x1e\x01\x16\x06\x1e\x01\uffff\x01\x03\x01\uffff\x01\x12",
  1666. "",
  1667. "",
  1668. "\x01\x20",
  1669. "\x01\x22",
  1670. "\x01\x23",
  1671. "\x01\x25",
  1672. "",
  1673. "\x01\x26",
  1674. "\x01\x28",
  1675. "\x01\x2c\x01\x2b\x01\x2a",
  1676. "\x01\x2e\x01\x2f",
  1677. "",
  1678. "",
  1679. "",
  1680. "",
  1681. "",
  1682. "\x01\x31",
  1683. "",
  1684. "",
  1685. "",
  1686. "",
  1687. "\x01\x32",
  1688. "\x01\x33",
  1689. "\x01\x34\x01\uffff\x01\x34\x02\uffff\x0a\x35",
  1690. "\x01\x1a\x01\uffff\x0a\x19\x0b\uffff\x01\x1a\x1f\uffff\x01" +
  1691. "\x1a",
  1692. "",
  1693. "",
  1694. "",
  1695. "",
  1696. "",
  1697. "",
  1698. "",
  1699. "",
  1700. "\x0a\x1e\x07\uffff\x1a\x1e\x04\uffff\x01\x1e\x01\uffff\x1a" +
  1701. "\x1e",
  1702. "",
  1703. "",
  1704. "\x01\x38",
  1705. "",
  1706. "",
  1707. "",
  1708. "",
  1709. "",
  1710. "",
  1711. "",
  1712. "",
  1713. "",
  1714. "",
  1715. "",
  1716. "\x01\x39",
  1717. "\x01\x3a",
  1718. "\x01\x3b",
  1719. "",
  1720. "\x0a\x35",
  1721. "",
  1722. "",
  1723. "\x0a\x1e\x07\uffff\x1a\x1e\x04\uffff\x01\x1e\x01\uffff\x1a" +
  1724. "\x1e",
  1725. "\x0a\x1e\x07\uffff\x1a\x1e\x04\uffff\x01\x1e\x01\uffff\x1a" +
  1726. "\x1e",
  1727. "\x01\x3e",
  1728. "\x01\x3f",
  1729. "",
  1730. "",
  1731. "\x0a\x1e\x07\uffff\x1a\x1e\x04\uffff\x01\x1e\x01\uffff\x1a" +
  1732. "\x1e",
  1733. "\x01\x41",
  1734. "",
  1735. "\x0a\x1e\x07\uffff\x1a\x1e\x04\uffff\x01\x1e\x01\uffff\x1a" +
  1736. "\x1e",
  1737. ""
  1738. };
  1739. private static readonly short[] DFA14_eot = DFA.UnpackEncodedString(DFA14_eotS);
  1740. private static readonly short[] DFA14_eof = DFA.UnpackEncodedString(DFA14_eofS);
  1741. private static readonly char[] DFA14_min = DFA.UnpackEncodedStringToUnsignedChars(DFA14_minS);
  1742. private static readonly char[] DFA14_max = DFA.UnpackEncodedStringToUnsignedChars(DFA14_maxS);
  1743. private static readonly short[] DFA14_accept = DFA.UnpackEncodedString(DFA14_acceptS);
  1744. private static readonly short[] DFA14_special = DFA.UnpackEncodedString(DFA14_specialS);
  1745. private static readonly short[][] DFA14_transition = DFA.UnpackEncodedStringArray(DFA14_transitionS);
  1746. protected class DFA7 : DFA
  1747. {
  1748. public DFA7(BaseRecognizer recognizer)
  1749. {
  1750. this.recognizer = recognizer;
  1751. decisionNumber = 7;
  1752. eot = DFA7_eot;
  1753. eof = DFA7_eof;
  1754. min = DFA7_min;
  1755. max = DFA7_max;
  1756. accept = DFA7_accept;
  1757. special = DFA7_special;
  1758. transition = DFA7_transition;
  1759. }
  1760. override public string Description
  1761. {
  1762. get
  1763. {
  1764. return "252:1: FLOAT : ( ( DIGIT )* '.' ( DIGIT )+ ( E )? | ( DIGIT )+ E );";
  1765. }
  1766. }
  1767. }
  1768. protected class DFA14 : DFA
  1769. {
  1770. public DFA14(BaseRecognizer recognizer)
  1771. {
  1772. this.recognizer = recognizer;
  1773. decisionNumber = 14;
  1774. eot = DFA14_eot;
  1775. eof = DFA14_eof;
  1776. min = DFA14_min;
  1777. max = DFA14_max;
  1778. accept = DFA14_accept;
  1779. special = DFA14_special;
  1780. transition = DFA14_transition;
  1781. }
  1782. override public string Description
  1783. {
  1784. get
  1785. {
  1786. return "1:1: Tokens : ( T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | TRUE | FALSE | ID | INTEGER | FLOAT | STRING | DATETIME | NAME | E | WS );";
  1787. }
  1788. }
  1789. }
  1790. }
  1791. }