CSE.AntlrParser.CseLexer.mTERMCONST C# (CSharp) Method

mTERMCONST() private method

private mTERMCONST ( ) : void
return void
		private void mTERMCONST() {
			Enter_TERMCONST();
			EnterRule("TERMCONST", 9);
			TraceIn("TERMCONST", 9);
			try {
				int _type = TERMCONST;
				int _channel = DefaultTokenChannel;
				DebugEnterAlt(1);
				{
					DebugLocation(607, 12);
					Match('#');
					DebugLocation(607, 16);
					int alt4=8;
					try {
						DebugEnterSubRule(4);
						try {
							DebugEnterDecision(4, decisionCanBacktrack[4]);
							try {
								alt4 = dfa4.Predict(input);
							}
							catch (NoViableAltException nvae) {
								DebugRecognitionException(nvae);
								throw;
							}
						}
						finally { DebugExitDecision(4); }
						switch (alt4) {
							case 1:
								DebugEnterAlt(1); {
									DebugLocation(607, 17);
									Match('E');

								}
								break;
							case 2:
								DebugEnterAlt(2); {
									DebugLocation(607, 21);
									Match("PI");


								}
								break;
							case 3:
								DebugEnterAlt(3); {
									DebugLocation(607, 26);
									Match('G');

								}
								break;
							case 4:
								DebugEnterAlt(4); {
									DebugLocation(607, 30);
									Match("GC");


								}
								break;
							case 5:
								DebugEnterAlt(5); {
									DebugLocation(607, 35);
									Match("PHI");


								}
								break;
							case 6:
								DebugEnterAlt(6); {
									DebugLocation(607, 41);
									Match("GAMMA");


								}
								break;
							case 7:
								DebugEnterAlt(7); {
									DebugLocation(607, 49);
									Match('C');

								}
								break;
							case 8:
								DebugEnterAlt(8); {
									DebugLocation(607, 53);
									Match('H');

								}
								break;

						}
					}
					finally { DebugExitSubRule(4); }


				}

				state.type = _type;
				state.channel = _channel;
			}
			finally {
				TraceOut("TERMCONST", 9);
				LeaveRule("TERMCONST", 9);
				Leave_TERMCONST();
			}
		}
		// $ANTLR end "TERMCONST"
CseLexer