コード例 #1
0
ファイル: TokenTests.cs プロジェクト: Gobiner/ILSpy
		public void TokenToStringDoesNotThrowException()
		{
			Assert.DoesNotThrow(
				() => {
					string text = new Token(71, 1, 1).ToString();
				}
			);
		}
コード例 #2
0
ファイル: ExpressionFinder.cs プロジェクト: Gobiner/ILSpy
		void PushContext(Context context, Token la, Token t)
		{
			string indent = new string('\t', stack.Count);
			TextLocation l = la == null ? (t == null ? TextLocation.Empty : t.EndLocation) : la.Location;
			
			stack.Push(new Block() { context = context, lastExpressionStart = l });
			Print(indent + "enter " + context);
		}
コード例 #3
0
		public VBLexer(TextReader reader, VBLexerMemento state) : this(reader)
		{
			SetInitialLocation(new TextLocation(state.Line, state.Column));
			lastToken = new Token(state.PrevTokenKind, 0, 0);
			ef = new ExpressionFinder(state.ExpressionFinder);
			lineEnd = state.LineEnd;
			isAtLineBegin = state.IsAtLineBegin;
			encounteredLineContinuation = state.EncounteredLineContinuation;
			misreadExclamationMarkAsTypeCharacter = state.MisreadExclamationMarkAsTypeCharacter;
			xmlModeStack = new Stack<XmlModeInfo>(state.XmlModeInfoStack.Select(i => (XmlModeInfo)i.Clone()).Reverse());
			inXmlMode = state.InXmlMode;
		}
コード例 #4
0
		Token ReadDigit(char ch, int x)
		{
			sb.Length = 0;
			sb.Append(ch);
			
			int y = Line;
			string digit = "";
			if (ch != '&') {
				digit += ch;
			}
			
			bool isHex      = false;
			bool isOct      = false;
			bool isSingle   = false;
			bool isDouble   = false;
			bool isDecimal  = false;
			
			if (ReaderPeek() == -1) {
				if (ch == '&') {
					errors.Error(Line, Col, String.Format("digit expected"));
				}
				return new Token(Tokens.LiteralInteger, x, y, sb.ToString() ,ch - '0');
			}
			if (ch == '.') {
				if (Char.IsDigit((char)ReaderPeek())) {
					isDouble = true; // double is default
					if (isHex || isOct) {
						errors.Error(Line, Col, String.Format("No hexadecimal or oktadecimal floating point values allowed"));
					}
					while (ReaderPeek() != -1 && Char.IsDigit((char)ReaderPeek())){ // read decimal digits beyond the dot
						digit += (char)ReaderRead();
					}
				}
			} else if (ch == '&' && PeekUpperChar() == 'H') {
				const string hex = "0123456789ABCDEF";
				sb.Append((char)ReaderRead()); // skip 'H'
				while (ReaderPeek() != -1 && hex.IndexOf(PeekUpperChar()) != -1) {
					ch = (char)ReaderRead();
					sb.Append(ch);
					digit += Char.ToUpper(ch, CultureInfo.InvariantCulture);
				}
				isHex = true;
			} else if (ReaderPeek() != -1 && ch == '&' && PeekUpperChar() == 'O') {
				const string okt = "01234567";
				sb.Append((char)ReaderRead()); // skip 'O'
				while (ReaderPeek() != -1 && okt.IndexOf(PeekUpperChar()) != -1) {
					ch = (char)ReaderRead();
					sb.Append(ch);
					digit += Char.ToUpper(ch, CultureInfo.InvariantCulture);
				}
				isOct = true;
			} else {
				while (ReaderPeek() != -1 && Char.IsDigit((char)ReaderPeek())) {
					ch = (char)ReaderRead();;
					digit += ch;
					sb.Append(ch);
				}
			}
			
			if (digit.Length == 0) {
				errors.Error(Line, Col, String.Format("digit expected"));
				return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), 0);
			}
			
			if (ReaderPeek() != -1 && "%&SILU".IndexOf(PeekUpperChar()) != -1 || isHex || isOct) {
				bool unsigned = false;
				if (ReaderPeek() != -1) {
					ch = (char)ReaderPeek();
					sb.Append(ch);
					ch = Char.ToUpper(ch, CultureInfo.InvariantCulture);
					unsigned = ch == 'U';
					if (unsigned) {
						ReaderRead(); // read the U
						ch = (char)ReaderPeek();
						sb.Append(ch);
						ch = Char.ToUpper(ch, CultureInfo.InvariantCulture);
						if (ch != 'I' && ch != 'L' && ch != 'S') {
							errors.Error(Line, Col, "Invalid type character: U" + ch);
						}
					}
				}
				try {
					if (isOct) {
						ReaderRead();
						ulong number = 0L;
						for (int i = 0; i < digit.Length; ++i) {
							number = number * 8 + digit[i] - '0';
						}
						if (ch == 'S') {
							if (unsigned)
								return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), (ushort)number);
							else
								return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), (short)number);
						} else if (ch == '%' || ch == 'I') {
							if (unsigned)
								return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), (uint)number);
							else
								return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), (int)number);
						} else if (ch == '&' || ch == 'L') {
							if (unsigned)
								return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), (ulong)number);
							else
								return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), (long)number);
						} else {
							if (number > uint.MaxValue) {
								return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), unchecked((long)number));
							} else {
								return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), unchecked((int)number));
							}
						}
					}
					if (ch == 'S') {
						ReaderRead();
						if (unsigned)
							return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), UInt16.Parse(digit, isHex ? NumberStyles.HexNumber : NumberStyles.Number));
						else
							return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), Int16.Parse(digit, isHex ? NumberStyles.HexNumber : NumberStyles.Number));
					} else if (ch == '%' || ch == 'I') {
						ReaderRead();
						if (unsigned)
							return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), UInt32.Parse(digit, isHex ? NumberStyles.HexNumber : NumberStyles.Number));
						else
							return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), Int32.Parse(digit, isHex ? NumberStyles.HexNumber : NumberStyles.Number));
					} else if (ch == '&' || ch == 'L') {
						ReaderRead();
						if (unsigned)
							return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), UInt64.Parse(digit, isHex ? NumberStyles.HexNumber : NumberStyles.Number));
						else
							return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), Int64.Parse(digit, isHex ? NumberStyles.HexNumber : NumberStyles.Number));
					} else if (isHex) {
						ulong number = UInt64.Parse(digit, NumberStyles.HexNumber);
						if (number > uint.MaxValue) {
							return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), unchecked((long)number));
						} else {
							return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), unchecked((int)number));
						}
					}
				} catch (OverflowException ex) {
					errors.Error(Line, Col, ex.Message);
					return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), 0);
				} catch (FormatException) {
					errors.Error(Line, Col, String.Format("{0} is not a parseable number", digit));
					return new Token(Tokens.LiteralInteger, x, y, sb.ToString(), 0);
				}
			}
			Token nextToken = null; // if we accidently read a 'dot'
			if (!isDouble && ReaderPeek() == '.') { // read floating point number
				ReaderRead();
				if (ReaderPeek() != -1 && Char.IsDigit((char)ReaderPeek())) {
					isDouble = true; // double is default
					if (isHex || isOct) {
						errors.Error(Line, Col, String.Format("No hexadecimal or oktadecimal floating point values allowed"));
					}
					digit += '.';
					while (ReaderPeek() != -1 && Char.IsDigit((char)ReaderPeek())){ // read decimal digits beyond the dot
						digit += (char)ReaderRead();
					}
				} else {
					nextToken = new Token(Tokens.Dot, Col - 1, Line);
				}
			}
			
			if (ReaderPeek() != -1 && PeekUpperChar() == 'E') { // read exponent
				isDouble = true;
				digit +=  (char)ReaderRead();
				if (ReaderPeek() != -1 && (ReaderPeek() == '-' || ReaderPeek() == '+')) {
					digit += (char)ReaderRead();
				}
				while (ReaderPeek() != -1 && Char.IsDigit((char)ReaderPeek())) { // read exponent value
					digit += (char)ReaderRead();
				}
			}
			
			if (ReaderPeek() != -1) {
				switch (PeekUpperChar()) {
					case 'R':
					case '#':
						ReaderRead();
						isDouble = true;
						break;
					case 'D':
					case '@':
						ReaderRead();
						isDecimal = true;
						break;
					case 'F':
					case '!':
						ReaderRead();
						isSingle = true;
						break;
				}
			}
			
			try {
				if (isSingle) {
					return new Token(Tokens.LiteralSingle, x, y, sb.ToString(), Single.Parse(digit, CultureInfo.InvariantCulture));
				}
				if (isDecimal) {
					return new Token(Tokens.LiteralDecimal, x, y, sb.ToString(), Decimal.Parse(digit, NumberStyles.Currency | NumberStyles.AllowExponent, CultureInfo.InvariantCulture));
				}
				if (isDouble) {
					return new Token(Tokens.LiteralDouble, x, y, sb.ToString(), Double.Parse(digit, CultureInfo.InvariantCulture));
				}
			} catch (FormatException) {
				errors.Error(Line, Col, String.Format("{0} is not a parseable number", digit));
				if (isSingle)
					return new Token(Tokens.LiteralSingle, x, y, sb.ToString(), 0f);
				if (isDecimal)
					return new Token(Tokens.LiteralDecimal, x, y, sb.ToString(), 0m);
				if (isDouble)
					return new Token(Tokens.LiteralDouble, x, y, sb.ToString(), 0.0);
			}
			Token token;
			try {
				token = new Token(Tokens.LiteralInteger, x, y, sb.ToString(), Int32.Parse(digit, isHex ? NumberStyles.HexNumber : NumberStyles.Number));
			} catch (Exception) {
				try {
					token = new Token(Tokens.LiteralInteger, x, y, sb.ToString(), Int64.Parse(digit, isHex ? NumberStyles.HexNumber : NumberStyles.Number));
				} catch (FormatException) {
					errors.Error(Line, Col, String.Format("{0} is not a parseable number", digit));
					// fallback, when nothing helps :)
					token = new Token(Tokens.LiteralInteger, x, y, sb.ToString(), 0);
				} catch (OverflowException) {
					errors.Error(Line, Col, String.Format("{0} is too long for a integer literal", digit));
					// fallback, when nothing helps :)
					token = new Token(Tokens.LiteralInteger, x, y, sb.ToString(), 0);
				}
			}
			token.next = nextToken;
			return token;
		}
コード例 #5
0
		/// <summary>
		/// Reads the next token.
		/// </summary>
		/// <returns>A <see cref="Token"/> object.</returns>
		public Token NextToken()
		{
			if (curToken == null) { // first call of NextToken()
				curToken = Next();
				//Console.WriteLine("Tok:" + Tokens.GetTokenString(curToken.kind) + " --- " + curToken.val);
				return curToken;
			}
			
			lastToken = curToken;
			
			if (curToken.next == null) {
				curToken.next = Next();
			}
			
			curToken = curToken.next;
			
			if (curToken.kind == Tokens.EOF && !(lastToken.kind == Tokens.EOL)) { // be sure that before EOF there is an EOL token
				curToken = new Token(Tokens.EOL, curToken.col, curToken.line, string.Empty);
				curToken.next = new Token(Tokens.EOF, curToken.col, curToken.line, string.Empty);
			}
			//Console.WriteLine("Tok:" + Tokens.GetTokenString(curToken.kind) + " --- " + curToken.val);
			return curToken;
		}
コード例 #6
0
		Token Next()
		{
			Token t = NextInternal();
			if (t.kind == Tokens.EOL) {
				Debug.Assert(t.next == null); // NextInternal() must return only 1 token
				t.next = NextInternal();
				Debug.Assert(t.next.next == null);
				if (SkipEOL(prevToken.kind, t.next.kind)) {
					t = t.next;
				}
			} else
				encounteredLineContinuation = false;
			// inform EF only once we're sure it's really a token
			// this means we inform it about EOL tokens "1 token too late", but that's not a problem because
			// XML literals cannot start immediately after an EOL token
			ef.InformToken(t);
			if (t.next != null) {
				// Next() isn't called again when it returns 2 tokens, so we need to process both tokens
				ef.InformToken(t.next);
				prevToken = t.next;
			} else {
				prevToken = t;
			}
			ef.Advance();
			Debug.Assert(t != null);
			return t;
		}
コード例 #7
0
		/// <summary>
		/// Gives back the next token. A second call to Peek() gives the next token after the last call for Peek() and so on.
		/// </summary>
		/// <returns>An <see cref="Token"/> object.</returns>
		public Token Peek()
		{
//			Console.WriteLine("Call to Peek");
			if (peekToken.next == null) {
				peekToken.next = Next();
			}
			peekToken = peekToken.next;
			return peekToken;
		}
コード例 #8
0
		/// <summary>
		/// Must be called before a peek operation.
		/// </summary>
		public void StartPeek()
		{
			peekToken = curToken;
		}
コード例 #9
0
		public virtual void Dispose()
		{
			reader.Close();
			reader = null;
			errors = null;
			lastToken = curToken = peekToken = null;
			specialCommentHash = null;
			sb = originalValue = null;
		}
コード例 #10
0
ファイル: ExpressionFinder.cs プロジェクト: Gobiner/ILSpy
		void SetIdentifierExpected(Token la)
		{
			identifierExpected = true;
			if (la != null)
				CurrentBlock.lastExpressionStart = la.Location;
			else if (t != null)
				CurrentBlock.lastExpressionStart = t.EndLocation;
		}
コード例 #11
0
ファイル: Parser.cs プロジェクト: ThomasZitzler/ILSpy
	public void InformToken(Token la) 
	{
		switchlbl: switch (currentState) {
			case 0: {
				PushContext(Context.Global, la, t);
				goto case 1;
			}
			case 1: {
				if (la == null) { currentState = 1; break; }
				if (la.kind == 173) {
					stateStack.Push(1);
					goto case 741;
				} else {
					goto case 2;
				}
			}
			case 2: {
				if (la == null) { currentState = 2; break; }
				if (la.kind == 137) {
					stateStack.Push(2);
					goto case 731;
				} else {
					goto case 3;
				}
			}
			case 3: {
				if (la == null) { currentState = 3; break; }
				if (la.kind == 40) {
					stateStack.Push(3);
					goto case 441;
				} else {
					goto case 4;
				}
			}
			case 4: {
				if (la == null) { currentState = 4; break; }
				if (set[3].Get(la.kind)) {
					stateStack.Push(4);
					goto case 5;
				} else {
					PopContext();
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 5: {
				if (la == null) { currentState = 5; break; }
				if (la.kind == 160) {
					currentState = 727;
					break;
				} else {
					if (set[4].Get(la.kind)) {
						goto case 7;
					} else {
						goto case 6;
					}
				}
			}
			case 6: {
				Error(la);
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 7: {
				if (la == null) { currentState = 7; break; }
				if (la.kind == 40) {
					stateStack.Push(7);
					goto case 441;
				} else {
					goto case 8;
				}
			}
			case 8: {
				if (la == null) { currentState = 8; break; }
				if (set[130].Get(la.kind)) {
					currentState = 8;
					break;
				} else {
					if (la.kind == 84 || la.kind == 155 || la.kind == 209) {
						goto case 561;
					} else {
						if (la.kind == 103) {
							currentState = 550;
							break;
						} else {
							if (la.kind == 115) {
								goto case 531;
							} else {
								if (la.kind == 142) {
									goto case 9;
								} else {
									goto case 6;
								}
							}
						}
					}
				}
			}
			case 9: {
				PushContext(Context.TypeDeclaration, la, t);
				goto case 10;
			}
			case 10: {
				if (la == null) { currentState = 10; break; }
				Expect(142, la); // "Interface"
				currentState = 11;
				break;
			}
			case 11: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(12);
				goto case 205;
			}
			case 12: {
				PopContext();
				goto case 13;
			}
			case 13: {
				if (la == null) { currentState = 13; break; }
				if (la.kind == 37) {
					currentState = 724;
					break;
				} else {
					goto case 14;
				}
			}
			case 14: {
				stateStack.Push(15);
				goto case 23;
			}
			case 15: {
				isMissingModifier = true;
				goto case 16;
			}
			case 16: {
				if (la == null) { currentState = 16; break; }
				if (la.kind == 140) {
					currentState = 719;
					break;
				} else {
					goto case 17;
				}
			}
			case 17: {
				isMissingModifier = true;
				goto case 18;
			}
			case 18: {
				if (la == null) { currentState = 18; break; }
				if (set[10].Get(la.kind)) {
					goto case 26;
				} else {
					isMissingModifier = false;
					goto case 19;
				}
			}
			case 19: {
				if (la == null) { currentState = 19; break; }
				Expect(113, la); // "End"
				currentState = 20;
				break;
			}
			case 20: {
				if (la == null) { currentState = 20; break; }
				Expect(142, la); // "Interface"
				currentState = 21;
				break;
			}
			case 21: {
				stateStack.Push(22);
				goto case 23;
			}
			case 22: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 23: {
				if (la != null) CurrentBlock.lastExpressionStart = la.Location;
				goto case 24;
			}
			case 24: {
				if (la == null) { currentState = 24; break; }
				if (la.kind == 1) {
					goto case 25;
				} else {
					if (la.kind == 21) {
						currentState = stateStack.Pop();
						break;
					} else {
						goto case 6;
					}
				}
			}
			case 25: {
				if (la == null) { currentState = 25; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 26: {
				isMissingModifier = true;
				goto case 27;
			}
			case 27: {
				if (la == null) { currentState = 27; break; }
				if (la.kind == 40) {
					stateStack.Push(26);
					goto case 441;
				} else {
					isMissingModifier = true;
					goto case 28;
				}
			}
			case 28: {
				if (la == null) { currentState = 28; break; }
				if (set[131].Get(la.kind)) {
					currentState = 718;
					break;
				} else {
					isMissingModifier = false;
					goto case 29;
				}
			}
			case 29: {
				if (la == null) { currentState = 29; break; }
				if (la.kind == 84 || la.kind == 155 || la.kind == 209) {
					stateStack.Push(17);
					goto case 561;
				} else {
					if (la.kind == 103) {
						stateStack.Push(17);
						goto case 549;
					} else {
						if (la.kind == 115) {
							stateStack.Push(17);
							goto case 531;
						} else {
							if (la.kind == 142) {
								stateStack.Push(17);
								goto case 9;
							} else {
								if (set[13].Get(la.kind)) {
									stateStack.Push(17);
									goto case 30;
								} else {
									Error(la);
									goto case 17;
								}
							}
						}
					}
				}
			}
			case 30: {
				if (la == null) { currentState = 30; break; }
				if (la.kind == 119) {
					currentState = 525;
					break;
				} else {
					if (la.kind == 186) {
						currentState = 518;
						break;
					} else {
						if (la.kind == 127 || la.kind == 210) {
							currentState = 31;
							break;
						} else {
							goto case 6;
						}
					}
				}
			}
			case 31: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				goto case 32;
			}
			case 32: {
				if (la == null) { currentState = 32; break; }
				currentState = 33;
				break;
			}
			case 33: {
				PopContext();
				goto case 34;
			}
			case 34: {
				if (la == null) { currentState = 34; break; }
				if (la.kind == 37) {
					currentState = 494;
					break;
				} else {
					if (la.kind == 63) {
						currentState = 35;
						break;
					} else {
						goto case 23;
					}
				}
			}
			case 35: {
				PushContext(Context.Type, la, t);
				stateStack.Push(36);
				goto case 37;
			}
			case 36: {
				PopContext();
				goto case 23;
			}
			case 37: {
				if (la == null) { currentState = 37; break; }
				if (la.kind == 130) {
					currentState = 38;
					break;
				} else {
					if (set[6].Get(la.kind)) {
						currentState = 38;
						break;
					} else {
						if (set[132].Get(la.kind)) {
							currentState = 38;
							break;
						} else {
							if (la.kind == 33) {
								currentState = 38;
								break;
							} else {
								Error(la);
								goto case 38;
							}
						}
					}
				}
			}
			case 38: {
				if (la == null) { currentState = 38; break; }
				if (la.kind == 37) {
					stateStack.Push(38);
					goto case 42;
				} else {
					goto case 39;
				}
			}
			case 39: {
				if (la == null) { currentState = 39; break; }
				if (la.kind == 26) {
					currentState = 40;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 40: {
				stateStack.Push(41);
				goto case 101;
			}
			case 41: {
				if (la == null) { currentState = 41; break; }
				if (la.kind == 37) {
					stateStack.Push(41);
					goto case 42;
				} else {
					goto case 39;
				}
			}
			case 42: {
				if (la == null) { currentState = 42; break; }
				Expect(37, la); // "("
				currentState = 43;
				break;
			}
			case 43: {
				PushContext(Context.Expression, la, t);
				nextTokenIsPotentialStartOfExpression = true;
				goto case 44;
			}
			case 44: {
				if (la == null) { currentState = 44; break; }
				if (la.kind == 169) {
					currentState = 489;
					break;
				} else {
					if (set[22].Get(la.kind)) {
						if (set[21].Get(la.kind)) {
							stateStack.Push(45);
							goto case 47;
						} else {
							goto case 45;
						}
					} else {
						Error(la);
						goto case 45;
					}
				}
			}
			case 45: {
				PopContext();
				goto case 46;
			}
			case 46: {
				if (la == null) { currentState = 46; break; }
				Expect(38, la); // ")"
				currentState = stateStack.Pop();
				break;
			}
			case 47: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 48;
			}
			case 48: {
				if (la == null) { currentState = 48; break; }
				if (set[23].Get(la.kind)) {
					activeArgument = 0;
					goto case 485;
				} else {
					if (la.kind == 22) {
						activeArgument = 0;
						goto case 49;
					} else {
						goto case 6;
					}
				}
			}
			case 49: {
				if (la == null) { currentState = 49; break; }
				Expect(22, la); // ","
				currentState = 50;
				break;
			}
			case 50: {
				activeArgument++;
				goto case 51;
			}
			case 51: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 52;
			}
			case 52: {
				if (la == null) { currentState = 52; break; }
				if (set[23].Get(la.kind)) {
					stateStack.Push(53);
					goto case 55;
				} else {
					goto case 53;
				}
			}
			case 53: {
				if (la == null) { currentState = 53; break; }
				if (la.kind == 22) {
					currentState = 54;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 54: {
				activeArgument++;
				goto case 51;
			}
			case 55: {
				PushContext(Context.Expression, la, t);
				goto case 56;
			}
			case 56: {
				stateStack.Push(57);
				goto case 75;
			}
			case 57: {
				if (la == null) { currentState = 57; break; }
				if (set[25].Get(la.kind)) {
					stateStack.Push(56);
					goto case 58;
				} else {
					PopContext();
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 58: {
				if (la == null) { currentState = 58; break; }
				if (la.kind == 31) {
					currentState = stateStack.Pop();
					break;
				} else {
					if (la.kind == 30) {
						currentState = stateStack.Pop();
						break;
					} else {
						if (la.kind == 34) {
							currentState = stateStack.Pop();
							break;
						} else {
							if (la.kind == 25) {
								currentState = stateStack.Pop();
								break;
							} else {
								if (la.kind == 24) {
									currentState = stateStack.Pop();
									break;
								} else {
									if (la.kind == 32) {
										currentState = stateStack.Pop();
										break;
									} else {
										if (la.kind == 154) {
											goto case 74;
										} else {
											if (la.kind == 20) {
												goto case 73;
											} else {
												if (la.kind == 41) {
													goto case 72;
												} else {
													if (la.kind == 40) {
														goto case 71;
													} else {
														if (la.kind == 39) {
															currentState = 70;
															break;
														} else {
															if (la.kind == 43) {
																goto case 69;
															} else {
																if (la.kind == 42) {
																	goto case 68;
																} else {
																	if (la.kind == 150) {
																		goto case 67;
																	} else {
																		if (la.kind == 23) {
																			currentState = stateStack.Pop();
																			break;
																		} else {
																			if (la.kind == 60) {
																				goto case 66;
																			} else {
																				if (la.kind == 61) {
																					goto case 65;
																				} else {
																					if (la.kind == 175) {
																						goto case 64;
																					} else {
																						if (la.kind == 177) {
																							goto case 63;
																						} else {
																							if (la.kind == 236) {
																								goto case 62;
																							} else {
																								if (la.kind == 44) {
																									currentState = stateStack.Pop();
																									break;
																								} else {
																									if (la.kind == 45) {
																										currentState = stateStack.Pop();
																										break;
																									} else {
																										if (la.kind == 144) {
																											goto case 61;
																										} else {
																											if (la.kind == 145) {
																												goto case 60;
																											} else {
																												if (la.kind == 47) {
																													currentState = stateStack.Pop();
																													break;
																												} else {
																													if (la.kind == 49) {
																														currentState = stateStack.Pop();
																														break;
																													} else {
																														if (la.kind == 50) {
																															currentState = stateStack.Pop();
																															break;
																														} else {
																															if (la.kind == 51) {
																																currentState = stateStack.Pop();
																																break;
																															} else {
																																if (la.kind == 46) {
																																	currentState = stateStack.Pop();
																																	break;
																																} else {
																																	if (la.kind == 48) {
																																		currentState = stateStack.Pop();
																																		break;
																																	} else {
																																		if (la.kind == 54) {
																																			currentState = stateStack.Pop();
																																			break;
																																		} else {
																																			if (la.kind == 52) {
																																				currentState = stateStack.Pop();
																																				break;
																																			} else {
																																				if (la.kind == 53) {
																																					currentState = stateStack.Pop();
																																					break;
																																				} else {
																																					if (la.kind == 216) {
																																						goto case 59;
																																					} else {
																																						if (la.kind == 55) {
																																							currentState = stateStack.Pop();
																																							break;
																																						} else {
																																							goto case 6;
																																						}
																																					}
																																				}
																																			}
																																		}
																																	}
																																}
																															}
																														}
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
			case 59: {
				if (la == null) { currentState = 59; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 60: {
				if (la == null) { currentState = 60; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 61: {
				if (la == null) { currentState = 61; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 62: {
				if (la == null) { currentState = 62; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 63: {
				if (la == null) { currentState = 63; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 64: {
				if (la == null) { currentState = 64; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 65: {
				if (la == null) { currentState = 65; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 66: {
				if (la == null) { currentState = 66; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 67: {
				if (la == null) { currentState = 67; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 68: {
				if (la == null) { currentState = 68; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 69: {
				if (la == null) { currentState = 69; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 70: {
				wasNormalAttribute = false;
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 71: {
				if (la == null) { currentState = 71; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 72: {
				if (la == null) { currentState = 72; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 73: {
				if (la == null) { currentState = 73; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 74: {
				if (la == null) { currentState = 74; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 75: {
				PushContext(Context.Expression, la, t);
				goto case 76;
			}
			case 76: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 77;
			}
			case 77: {
				if (la == null) { currentState = 77; break; }
				if (set[133].Get(la.kind)) {
					currentState = 76;
					break;
				} else {
					if (set[35].Get(la.kind)) {
						stateStack.Push(159);
						goto case 173;
					} else {
						if (la.kind == 220) {
							currentState = 155;
							break;
						} else {
							if (la.kind == 162) {
								stateStack.Push(78);
								goto case 85;
							} else {
								if (la.kind == 35) {
									stateStack.Push(78);
									goto case 79;
								} else {
									Error(la);
									goto case 78;
								}
							}
						}
					}
				}
			}
			case 78: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 79: {
				if (la == null) { currentState = 79; break; }
				Expect(35, la); // "{"
				currentState = 80;
				break;
			}
			case 80: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 81;
			}
			case 81: {
				if (la == null) { currentState = 81; break; }
				if (set[23].Get(la.kind)) {
					goto case 83;
				} else {
					goto case 82;
				}
			}
			case 82: {
				if (la == null) { currentState = 82; break; }
				Expect(36, la); // "}"
				currentState = stateStack.Pop();
				break;
			}
			case 83: {
				stateStack.Push(84);
				goto case 55;
			}
			case 84: {
				if (la == null) { currentState = 84; break; }
				if (la.kind == 22) {
					currentState = 83;
					break;
				} else {
					goto case 82;
				}
			}
			case 85: {
				if (la == null) { currentState = 85; break; }
				Expect(162, la); // "New"
				currentState = 86;
				break;
			}
			case 86: {
				PushContext(Context.ObjectCreation, la, t);
				goto case 87;
			}
			case 87: {
				if (la == null) { currentState = 87; break; }
				if (set[16].Get(la.kind)) {
					stateStack.Push(146);
					goto case 37;
				} else {
					if (la.kind == 233) {
						PushContext(Context.ObjectInitializer, la, t);
						goto case 90;
					} else {
						goto case 88;
					}
				}
			}
			case 88: {
				Error(la);
				goto case 89;
			}
			case 89: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 90: {
				if (la == null) { currentState = 90; break; }
				Expect(233, la); // "With"
				currentState = 91;
				break;
			}
			case 91: {
				stateStack.Push(92);
				goto case 93;
			}
			case 92: {
				PopContext();
				goto case 89;
			}
			case 93: {
				if (la == null) { currentState = 93; break; }
				Expect(35, la); // "{"
				currentState = 94;
				break;
			}
			case 94: {
				if (la == null) { currentState = 94; break; }
				if (la.kind == 26 || la.kind == 147) {
					goto case 95;
				} else {
					goto case 82;
				}
			}
			case 95: {
				if (la == null) { currentState = 95; break; }
				if (la.kind == 147) {
					currentState = 96;
					break;
				} else {
					goto case 96;
				}
			}
			case 96: {
				if (la == null) { currentState = 96; break; }
				Expect(26, la); // "."
				currentState = 97;
				break;
			}
			case 97: {
				stateStack.Push(98);
				goto case 101;
			}
			case 98: {
				if (la == null) { currentState = 98; break; }
				Expect(20, la); // "="
				currentState = 99;
				break;
			}
			case 99: {
				stateStack.Push(100);
				goto case 55;
			}
			case 100: {
				if (la == null) { currentState = 100; break; }
				if (la.kind == 22) {
					currentState = 95;
					break;
				} else {
					goto case 82;
				}
			}
			case 101: {
				if (la == null) { currentState = 101; break; }
				if (la.kind == 2) {
					goto case 145;
				} else {
					if (la.kind == 56) {
						currentState = stateStack.Pop();
						break;
					} else {
						if (la.kind == 57) {
							currentState = stateStack.Pop();
							break;
						} else {
							if (la.kind == 58) {
								goto case 144;
							} else {
								if (la.kind == 59) {
									currentState = stateStack.Pop();
									break;
								} else {
									if (la.kind == 60) {
										goto case 66;
									} else {
										if (la.kind == 61) {
											goto case 65;
										} else {
											if (la.kind == 62) {
												goto case 143;
											} else {
												if (la.kind == 63) {
													currentState = stateStack.Pop();
													break;
												} else {
													if (la.kind == 64) {
														goto case 142;
													} else {
														if (la.kind == 65) {
															goto case 141;
														} else {
															if (la.kind == 66) {
																goto case 140;
															} else {
																if (la.kind == 67) {
																	goto case 139;
																} else {
																	if (la.kind == 68) {
																		currentState = stateStack.Pop();
																		break;
																	} else {
																		if (la.kind == 69) {
																			currentState = stateStack.Pop();
																			break;
																		} else {
																			if (la.kind == 70) {
																				goto case 138;
																			} else {
																				if (la.kind == 71) {
																					currentState = stateStack.Pop();
																					break;
																				} else {
																					if (la.kind == 72) {
																						currentState = stateStack.Pop();
																						break;
																					} else {
																						if (la.kind == 73) {
																							currentState = stateStack.Pop();
																							break;
																						} else {
																							if (la.kind == 74) {
																								currentState = stateStack.Pop();
																								break;
																							} else {
																								if (la.kind == 75) {
																									currentState = stateStack.Pop();
																									break;
																								} else {
																									if (la.kind == 76) {
																										currentState = stateStack.Pop();
																										break;
																									} else {
																										if (la.kind == 77) {
																											currentState = stateStack.Pop();
																											break;
																										} else {
																											if (la.kind == 78) {
																												currentState = stateStack.Pop();
																												break;
																											} else {
																												if (la.kind == 79) {
																													currentState = stateStack.Pop();
																													break;
																												} else {
																													if (la.kind == 80) {
																														currentState = stateStack.Pop();
																														break;
																													} else {
																														if (la.kind == 81) {
																															currentState = stateStack.Pop();
																															break;
																														} else {
																															if (la.kind == 82) {
																																currentState = stateStack.Pop();
																																break;
																															} else {
																																if (la.kind == 83) {
																																	currentState = stateStack.Pop();
																																	break;
																																} else {
																																	if (la.kind == 84) {
																																		goto case 137;
																																	} else {
																																		if (la.kind == 85) {
																																			currentState = stateStack.Pop();
																																			break;
																																		} else {
																																			if (la.kind == 86) {
																																				currentState = stateStack.Pop();
																																				break;
																																			} else {
																																				if (la.kind == 87) {
																																					goto case 136;
																																				} else {
																																					if (la.kind == 88) {
																																						currentState = stateStack.Pop();
																																						break;
																																					} else {
																																						if (la.kind == 89) {
																																							currentState = stateStack.Pop();
																																							break;
																																						} else {
																																							if (la.kind == 90) {
																																								currentState = stateStack.Pop();
																																								break;
																																							} else {
																																								if (la.kind == 91) {
																																									currentState = stateStack.Pop();
																																									break;
																																								} else {
																																									if (la.kind == 92) {
																																										currentState = stateStack.Pop();
																																										break;
																																									} else {
																																										if (la.kind == 93) {
																																											currentState = stateStack.Pop();
																																											break;
																																										} else {
																																											if (la.kind == 94) {
																																												currentState = stateStack.Pop();
																																												break;
																																											} else {
																																												if (la.kind == 95) {
																																													currentState = stateStack.Pop();
																																													break;
																																												} else {
																																													if (la.kind == 96) {
																																														currentState = stateStack.Pop();
																																														break;
																																													} else {
																																														if (la.kind == 97) {
																																															currentState = stateStack.Pop();
																																															break;
																																														} else {
																																															if (la.kind == 98) {
																																																goto case 135;
																																															} else {
																																																if (la.kind == 99) {
																																																	currentState = stateStack.Pop();
																																																	break;
																																																} else {
																																																	if (la.kind == 100) {
																																																		currentState = stateStack.Pop();
																																																		break;
																																																	} else {
																																																		if (la.kind == 101) {
																																																			currentState = stateStack.Pop();
																																																			break;
																																																		} else {
																																																			if (la.kind == 102) {
																																																				currentState = stateStack.Pop();
																																																				break;
																																																			} else {
																																																				if (la.kind == 103) {
																																																					currentState = stateStack.Pop();
																																																					break;
																																																				} else {
																																																					if (la.kind == 104) {
																																																						goto case 134;
																																																					} else {
																																																						if (la.kind == 105) {
																																																							currentState = stateStack.Pop();
																																																							break;
																																																						} else {
																																																							if (la.kind == 106) {
																																																								currentState = stateStack.Pop();
																																																								break;
																																																							} else {
																																																								if (la.kind == 107) {
																																																									goto case 133;
																																																								} else {
																																																									if (la.kind == 108) {
																																																										goto case 132;
																																																									} else {
																																																										if (la.kind == 109) {
																																																											currentState = stateStack.Pop();
																																																											break;
																																																										} else {
																																																											if (la.kind == 110) {
																																																												currentState = stateStack.Pop();
																																																												break;
																																																											} else {
																																																												if (la.kind == 111) {
																																																													currentState = stateStack.Pop();
																																																													break;
																																																												} else {
																																																													if (la.kind == 112) {
																																																														currentState = stateStack.Pop();
																																																														break;
																																																													} else {
																																																														if (la.kind == 113) {
																																																															currentState = stateStack.Pop();
																																																															break;
																																																														} else {
																																																															if (la.kind == 114) {
																																																																currentState = stateStack.Pop();
																																																																break;
																																																															} else {
																																																																if (la.kind == 115) {
																																																																	currentState = stateStack.Pop();
																																																																	break;
																																																																} else {
																																																																	if (la.kind == 116) {
																																																																		goto case 131;
																																																																	} else {
																																																																		if (la.kind == 117) {
																																																																			currentState = stateStack.Pop();
																																																																			break;
																																																																		} else {
																																																																			if (la.kind == 118) {
																																																																				currentState = stateStack.Pop();
																																																																				break;
																																																																			} else {
																																																																				if (la.kind == 119) {
																																																																					currentState = stateStack.Pop();
																																																																					break;
																																																																				} else {
																																																																					if (la.kind == 120) {
																																																																						currentState = stateStack.Pop();
																																																																						break;
																																																																					} else {
																																																																						if (la.kind == 121) {
																																																																							goto case 130;
																																																																						} else {
																																																																							if (la.kind == 122) {
																																																																								currentState = stateStack.Pop();
																																																																								break;
																																																																							} else {
																																																																								if (la.kind == 123) {
																																																																									currentState = stateStack.Pop();
																																																																									break;
																																																																								} else {
																																																																									if (la.kind == 124) {
																																																																										goto case 129;
																																																																									} else {
																																																																										if (la.kind == 125) {
																																																																											currentState = stateStack.Pop();
																																																																											break;
																																																																										} else {
																																																																											if (la.kind == 126) {
																																																																												goto case 128;
																																																																											} else {
																																																																												if (la.kind == 127) {
																																																																													goto case 127;
																																																																												} else {
																																																																													if (la.kind == 128) {
																																																																														currentState = stateStack.Pop();
																																																																														break;
																																																																													} else {
																																																																														if (la.kind == 129) {
																																																																															currentState = stateStack.Pop();
																																																																															break;
																																																																														} else {
																																																																															if (la.kind == 130) {
																																																																																currentState = stateStack.Pop();
																																																																																break;
																																																																															} else {
																																																																																if (la.kind == 131) {
																																																																																	currentState = stateStack.Pop();
																																																																																	break;
																																																																																} else {
																																																																																	if (la.kind == 132) {
																																																																																		currentState = stateStack.Pop();
																																																																																		break;
																																																																																	} else {
																																																																																		if (la.kind == 133) {
																																																																																			goto case 126;
																																																																																		} else {
																																																																																			if (la.kind == 134) {
																																																																																				currentState = stateStack.Pop();
																																																																																				break;
																																																																																			} else {
																																																																																				if (la.kind == 135) {
																																																																																					currentState = stateStack.Pop();
																																																																																					break;
																																																																																				} else {
																																																																																					if (la.kind == 136) {
																																																																																						currentState = stateStack.Pop();
																																																																																						break;
																																																																																					} else {
																																																																																						if (la.kind == 137) {
																																																																																							currentState = stateStack.Pop();
																																																																																							break;
																																																																																						} else {
																																																																																							if (la.kind == 138) {
																																																																																								currentState = stateStack.Pop();
																																																																																								break;
																																																																																							} else {
																																																																																								if (la.kind == 139) {
																																																																																									goto case 125;
																																																																																								} else {
																																																																																									if (la.kind == 140) {
																																																																																										currentState = stateStack.Pop();
																																																																																										break;
																																																																																									} else {
																																																																																										if (la.kind == 141) {
																																																																																											currentState = stateStack.Pop();
																																																																																											break;
																																																																																										} else {
																																																																																											if (la.kind == 142) {
																																																																																												currentState = stateStack.Pop();
																																																																																												break;
																																																																																											} else {
																																																																																												if (la.kind == 143) {
																																																																																													goto case 124;
																																																																																												} else {
																																																																																													if (la.kind == 144) {
																																																																																														goto case 61;
																																																																																													} else {
																																																																																														if (la.kind == 145) {
																																																																																															goto case 60;
																																																																																														} else {
																																																																																															if (la.kind == 146) {
																																																																																																goto case 123;
																																																																																															} else {
																																																																																																if (la.kind == 147) {
																																																																																																	goto case 122;
																																																																																																} else {
																																																																																																	if (la.kind == 148) {
																																																																																																		currentState = stateStack.Pop();
																																																																																																		break;
																																																																																																	} else {
																																																																																																		if (la.kind == 149) {
																																																																																																			currentState = stateStack.Pop();
																																																																																																			break;
																																																																																																		} else {
																																																																																																			if (la.kind == 150) {
																																																																																																				goto case 67;
																																																																																																			} else {
																																																																																																				if (la.kind == 151) {
																																																																																																					currentState = stateStack.Pop();
																																																																																																					break;
																																																																																																				} else {
																																																																																																					if (la.kind == 152) {
																																																																																																						currentState = stateStack.Pop();
																																																																																																						break;
																																																																																																					} else {
																																																																																																						if (la.kind == 153) {
																																																																																																							currentState = stateStack.Pop();
																																																																																																							break;
																																																																																																						} else {
																																																																																																							if (la.kind == 154) {
																																																																																																								goto case 74;
																																																																																																							} else {
																																																																																																								if (la.kind == 155) {
																																																																																																									currentState = stateStack.Pop();
																																																																																																									break;
																																																																																																								} else {
																																																																																																									if (la.kind == 156) {
																																																																																																										currentState = stateStack.Pop();
																																																																																																										break;
																																																																																																									} else {
																																																																																																										if (la.kind == 157) {
																																																																																																											currentState = stateStack.Pop();
																																																																																																											break;
																																																																																																										} else {
																																																																																																											if (la.kind == 158) {
																																																																																																												currentState = stateStack.Pop();
																																																																																																												break;
																																																																																																											} else {
																																																																																																												if (la.kind == 159) {
																																																																																																													currentState = stateStack.Pop();
																																																																																																													break;
																																																																																																												} else {
																																																																																																													if (la.kind == 160) {
																																																																																																														currentState = stateStack.Pop();
																																																																																																														break;
																																																																																																													} else {
																																																																																																														if (la.kind == 161) {
																																																																																																															currentState = stateStack.Pop();
																																																																																																															break;
																																																																																																														} else {
																																																																																																															if (la.kind == 162) {
																																																																																																																goto case 121;
																																																																																																															} else {
																																																																																																																if (la.kind == 163) {
																																																																																																																	goto case 120;
																																																																																																																} else {
																																																																																																																	if (la.kind == 164) {
																																																																																																																		currentState = stateStack.Pop();
																																																																																																																		break;
																																																																																																																	} else {
																																																																																																																		if (la.kind == 165) {
																																																																																																																			currentState = stateStack.Pop();
																																																																																																																			break;
																																																																																																																		} else {
																																																																																																																			if (la.kind == 166) {
																																																																																																																				currentState = stateStack.Pop();
																																																																																																																				break;
																																																																																																																			} else {
																																																																																																																				if (la.kind == 167) {
																																																																																																																					currentState = stateStack.Pop();
																																																																																																																					break;
																																																																																																																				} else {
																																																																																																																					if (la.kind == 168) {
																																																																																																																						currentState = stateStack.Pop();
																																																																																																																						break;
																																																																																																																					} else {
																																																																																																																						if (la.kind == 169) {
																																																																																																																							currentState = stateStack.Pop();
																																																																																																																							break;
																																																																																																																						} else {
																																																																																																																							if (la.kind == 170) {
																																																																																																																								goto case 119;
																																																																																																																							} else {
																																																																																																																								if (la.kind == 171) {
																																																																																																																									currentState = stateStack.Pop();
																																																																																																																									break;
																																																																																																																								} else {
																																																																																																																									if (la.kind == 172) {
																																																																																																																										currentState = stateStack.Pop();
																																																																																																																										break;
																																																																																																																									} else {
																																																																																																																										if (la.kind == 173) {
																																																																																																																											currentState = stateStack.Pop();
																																																																																																																											break;
																																																																																																																										} else {
																																																																																																																											if (la.kind == 174) {
																																																																																																																												currentState = stateStack.Pop();
																																																																																																																												break;
																																																																																																																											} else {
																																																																																																																												if (la.kind == 175) {
																																																																																																																													goto case 64;
																																																																																																																												} else {
																																																																																																																													if (la.kind == 176) {
																																																																																																																														goto case 118;
																																																																																																																													} else {
																																																																																																																														if (la.kind == 177) {
																																																																																																																															goto case 63;
																																																																																																																														} else {
																																																																																																																															if (la.kind == 178) {
																																																																																																																																currentState = stateStack.Pop();
																																																																																																																																break;
																																																																																																																															} else {
																																																																																																																																if (la.kind == 179) {
																																																																																																																																	currentState = stateStack.Pop();
																																																																																																																																	break;
																																																																																																																																} else {
																																																																																																																																	if (la.kind == 180) {
																																																																																																																																		currentState = stateStack.Pop();
																																																																																																																																		break;
																																																																																																																																	} else {
																																																																																																																																		if (la.kind == 181) {
																																																																																																																																			currentState = stateStack.Pop();
																																																																																																																																			break;
																																																																																																																																		} else {
																																																																																																																																			if (la.kind == 182) {
																																																																																																																																				currentState = stateStack.Pop();
																																																																																																																																				break;
																																																																																																																																			} else {
																																																																																																																																				if (la.kind == 183) {
																																																																																																																																					currentState = stateStack.Pop();
																																																																																																																																					break;
																																																																																																																																				} else {
																																																																																																																																					if (la.kind == 184) {
																																																																																																																																						goto case 117;
																																																																																																																																					} else {
																																																																																																																																						if (la.kind == 185) {
																																																																																																																																							currentState = stateStack.Pop();
																																																																																																																																							break;
																																																																																																																																						} else {
																																																																																																																																							if (la.kind == 186) {
																																																																																																																																								goto case 116;
																																																																																																																																							} else {
																																																																																																																																								if (la.kind == 187) {
																																																																																																																																									currentState = stateStack.Pop();
																																																																																																																																									break;
																																																																																																																																								} else {
																																																																																																																																									if (la.kind == 188) {
																																																																																																																																										currentState = stateStack.Pop();
																																																																																																																																										break;
																																																																																																																																									} else {
																																																																																																																																										if (la.kind == 189) {
																																																																																																																																											currentState = stateStack.Pop();
																																																																																																																																											break;
																																																																																																																																										} else {
																																																																																																																																											if (la.kind == 190) {
																																																																																																																																												currentState = stateStack.Pop();
																																																																																																																																												break;
																																																																																																																																											} else {
																																																																																																																																												if (la.kind == 191) {
																																																																																																																																													currentState = stateStack.Pop();
																																																																																																																																													break;
																																																																																																																																												} else {
																																																																																																																																													if (la.kind == 192) {
																																																																																																																																														currentState = stateStack.Pop();
																																																																																																																																														break;
																																																																																																																																													} else {
																																																																																																																																														if (la.kind == 193) {
																																																																																																																																															currentState = stateStack.Pop();
																																																																																																																																															break;
																																																																																																																																														} else {
																																																																																																																																															if (la.kind == 194) {
																																																																																																																																																currentState = stateStack.Pop();
																																																																																																																																																break;
																																																																																																																																															} else {
																																																																																																																																																if (la.kind == 195) {
																																																																																																																																																	currentState = stateStack.Pop();
																																																																																																																																																	break;
																																																																																																																																																} else {
																																																																																																																																																	if (la.kind == 196) {
																																																																																																																																																		currentState = stateStack.Pop();
																																																																																																																																																		break;
																																																																																																																																																	} else {
																																																																																																																																																		if (la.kind == 197) {
																																																																																																																																																			goto case 115;
																																																																																																																																																		} else {
																																																																																																																																																			if (la.kind == 198) {
																																																																																																																																																				currentState = stateStack.Pop();
																																																																																																																																																				break;
																																																																																																																																																			} else {
																																																																																																																																																				if (la.kind == 199) {
																																																																																																																																																					currentState = stateStack.Pop();
																																																																																																																																																					break;
																																																																																																																																																				} else {
																																																																																																																																																					if (la.kind == 200) {
																																																																																																																																																						currentState = stateStack.Pop();
																																																																																																																																																						break;
																																																																																																																																																					} else {
																																																																																																																																																						if (la.kind == 201) {
																																																																																																																																																							currentState = stateStack.Pop();
																																																																																																																																																							break;
																																																																																																																																																						} else {
																																																																																																																																																							if (la.kind == 202) {
																																																																																																																																																								currentState = stateStack.Pop();
																																																																																																																																																								break;
																																																																																																																																																							} else {
																																																																																																																																																								if (la.kind == 203) {
																																																																																																																																																									goto case 114;
																																																																																																																																																								} else {
																																																																																																																																																									if (la.kind == 204) {
																																																																																																																																																										currentState = stateStack.Pop();
																																																																																																																																																										break;
																																																																																																																																																									} else {
																																																																																																																																																										if (la.kind == 205) {
																																																																																																																																																											currentState = stateStack.Pop();
																																																																																																																																																											break;
																																																																																																																																																										} else {
																																																																																																																																																											if (la.kind == 206) {
																																																																																																																																																												goto case 113;
																																																																																																																																																											} else {
																																																																																																																																																												if (la.kind == 207) {
																																																																																																																																																													currentState = stateStack.Pop();
																																																																																																																																																													break;
																																																																																																																																																												} else {
																																																																																																																																																													if (la.kind == 208) {
																																																																																																																																																														currentState = stateStack.Pop();
																																																																																																																																																														break;
																																																																																																																																																													} else {
																																																																																																																																																														if (la.kind == 209) {
																																																																																																																																																															goto case 112;
																																																																																																																																																														} else {
																																																																																																																																																															if (la.kind == 210) {
																																																																																																																																																																goto case 111;
																																																																																																																																																															} else {
																																																																																																																																																																if (la.kind == 211) {
																																																																																																																																																																	goto case 110;
																																																																																																																																																																} else {
																																																																																																																																																																	if (la.kind == 212) {
																																																																																																																																																																		goto case 109;
																																																																																																																																																																	} else {
																																																																																																																																																																		if (la.kind == 213) {
																																																																																																																																																																			goto case 108;
																																																																																																																																																																		} else {
																																																																																																																																																																			if (la.kind == 214) {
																																																																																																																																																																				currentState = stateStack.Pop();
																																																																																																																																																																				break;
																																																																																																																																																																			} else {
																																																																																																																																																																				if (la.kind == 215) {
																																																																																																																																																																					currentState = stateStack.Pop();
																																																																																																																																																																					break;
																																																																																																																																																																				} else {
																																																																																																																																																																					if (la.kind == 216) {
																																																																																																																																																																						goto case 59;
																																																																																																																																																																					} else {
																																																																																																																																																																						if (la.kind == 217) {
																																																																																																																																																																							currentState = stateStack.Pop();
																																																																																																																																																																							break;
																																																																																																																																																																						} else {
																																																																																																																																																																							if (la.kind == 218) {
																																																																																																																																																																								goto case 107;
																																																																																																																																																																							} else {
																																																																																																																																																																								if (la.kind == 219) {
																																																																																																																																																																									currentState = stateStack.Pop();
																																																																																																																																																																									break;
																																																																																																																																																																								} else {
																																																																																																																																																																									if (la.kind == 220) {
																																																																																																																																																																										currentState = stateStack.Pop();
																																																																																																																																																																										break;
																																																																																																																																																																									} else {
																																																																																																																																																																										if (la.kind == 221) {
																																																																																																																																																																											currentState = stateStack.Pop();
																																																																																																																																																																											break;
																																																																																																																																																																										} else {
																																																																																																																																																																											if (la.kind == 222) {
																																																																																																																																																																												currentState = stateStack.Pop();
																																																																																																																																																																												break;
																																																																																																																																																																											} else {
																																																																																																																																																																												if (la.kind == 223) {
																																																																																																																																																																													goto case 106;
																																																																																																																																																																												} else {
																																																																																																																																																																													if (la.kind == 224) {
																																																																																																																																																																														goto case 105;
																																																																																																																																																																													} else {
																																																																																																																																																																														if (la.kind == 225) {
																																																																																																																																																																															currentState = stateStack.Pop();
																																																																																																																																																																															break;
																																																																																																																																																																														} else {
																																																																																																																																																																															if (la.kind == 226) {
																																																																																																																																																																																currentState = stateStack.Pop();
																																																																																																																																																																																break;
																																																																																																																																																																															} else {
																																																																																																																																																																																if (la.kind == 227) {
																																																																																																																																																																																	currentState = stateStack.Pop();
																																																																																																																																																																																	break;
																																																																																																																																																																																} else {
																																																																																																																																																																																	if (la.kind == 228) {
																																																																																																																																																																																		currentState = stateStack.Pop();
																																																																																																																																																																																		break;
																																																																																																																																																																																	} else {
																																																																																																																																																																																		if (la.kind == 229) {
																																																																																																																																																																																			currentState = stateStack.Pop();
																																																																																																																																																																																			break;
																																																																																																																																																																																		} else {
																																																																																																																																																																																			if (la.kind == 230) {
																																																																																																																																																																																				goto case 104;
																																																																																																																																																																																			} else {
																																																																																																																																																																																				if (la.kind == 231) {
																																																																																																																																																																																					goto case 103;
																																																																																																																																																																																				} else {
																																																																																																																																																																																					if (la.kind == 232) {
																																																																																																																																																																																						currentState = stateStack.Pop();
																																																																																																																																																																																						break;
																																																																																																																																																																																					} else {
																																																																																																																																																																																						if (la.kind == 233) {
																																																																																																																																																																																							goto case 102;
																																																																																																																																																																																						} else {
																																																																																																																																																																																							if (la.kind == 234) {
																																																																																																																																																																																								currentState = stateStack.Pop();
																																																																																																																																																																																								break;
																																																																																																																																																																																							} else {
																																																																																																																																																																																								if (la.kind == 235) {
																																																																																																																																																																																									currentState = stateStack.Pop();
																																																																																																																																																																																									break;
																																																																																																																																																																																								} else {
																																																																																																																																																																																									if (la.kind == 236) {
																																																																																																																																																																																										goto case 62;
																																																																																																																																																																																									} else {
																																																																																																																																																																																										if (la.kind == 237) {
																																																																																																																																																																																											currentState = stateStack.Pop();
																																																																																																																																																																																											break;
																																																																																																																																																																																										} else {
																																																																																																																																																																																											goto case 6;
																																																																																																																																																																																										}
																																																																																																																																																																																									}
																																																																																																																																																																																								}
																																																																																																																																																																																							}
																																																																																																																																																																																						}
																																																																																																																																																																																					}
																																																																																																																																																																																				}
																																																																																																																																																																																			}
																																																																																																																																																																																		}
																																																																																																																																																																																	}
																																																																																																																																																																																}
																																																																																																																																																																															}
																																																																																																																																																																														}
																																																																																																																																																																													}
																																																																																																																																																																												}
																																																																																																																																																																											}
																																																																																																																																																																										}
																																																																																																																																																																									}
																																																																																																																																																																								}
																																																																																																																																																																							}
																																																																																																																																																																						}
																																																																																																																																																																					}
																																																																																																																																																																				}
																																																																																																																																																																			}
																																																																																																																																																																		}
																																																																																																																																																																	}
																																																																																																																																																																}
																																																																																																																																																															}
																																																																																																																																																														}
																																																																																																																																																													}
																																																																																																																																																												}
																																																																																																																																																											}
																																																																																																																																																										}
																																																																																																																																																									}
																																																																																																																																																								}
																																																																																																																																																							}
																																																																																																																																																						}
																																																																																																																																																					}
																																																																																																																																																				}
																																																																																																																																																			}
																																																																																																																																																		}
																																																																																																																																																	}
																																																																																																																																																}
																																																																																																																																															}
																																																																																																																																														}
																																																																																																																																													}
																																																																																																																																												}
																																																																																																																																											}
																																																																																																																																										}
																																																																																																																																									}
																																																																																																																																								}
																																																																																																																																							}
																																																																																																																																						}
																																																																																																																																					}
																																																																																																																																				}
																																																																																																																																			}
																																																																																																																																		}
																																																																																																																																	}
																																																																																																																																}
																																																																																																																															}
																																																																																																																														}
																																																																																																																													}
																																																																																																																												}
																																																																																																																											}
																																																																																																																										}
																																																																																																																									}
																																																																																																																								}
																																																																																																																							}
																																																																																																																						}
																																																																																																																					}
																																																																																																																				}
																																																																																																																			}
																																																																																																																		}
																																																																																																																	}
																																																																																																																}
																																																																																																															}
																																																																																																														}
																																																																																																													}
																																																																																																												}
																																																																																																											}
																																																																																																										}
																																																																																																									}
																																																																																																								}
																																																																																																							}
																																																																																																						}
																																																																																																					}
																																																																																																				}
																																																																																																			}
																																																																																																		}
																																																																																																	}
																																																																																																}
																																																																																															}
																																																																																														}
																																																																																													}
																																																																																												}
																																																																																											}
																																																																																										}
																																																																																									}
																																																																																								}
																																																																																							}
																																																																																						}
																																																																																					}
																																																																																				}
																																																																																			}
																																																																																		}
																																																																																	}
																																																																																}
																																																																															}
																																																																														}
																																																																													}
																																																																												}
																																																																											}
																																																																										}
																																																																									}
																																																																								}
																																																																							}
																																																																						}
																																																																					}
																																																																				}
																																																																			}
																																																																		}
																																																																	}
																																																																}
																																																															}
																																																														}
																																																													}
																																																												}
																																																											}
																																																										}
																																																									}
																																																								}
																																																							}
																																																						}
																																																					}
																																																				}
																																																			}
																																																		}
																																																	}
																																																}
																																															}
																																														}
																																													}
																																												}
																																											}
																																										}
																																									}
																																								}
																																							}
																																						}
																																					}
																																				}
																																			}
																																		}
																																	}
																																}
																															}
																														}
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
			case 102: {
				if (la == null) { currentState = 102; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 103: {
				if (la == null) { currentState = 103; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 104: {
				if (la == null) { currentState = 104; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 105: {
				if (la == null) { currentState = 105; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 106: {
				if (la == null) { currentState = 106; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 107: {
				if (la == null) { currentState = 107; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 108: {
				if (la == null) { currentState = 108; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 109: {
				if (la == null) { currentState = 109; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 110: {
				if (la == null) { currentState = 110; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 111: {
				if (la == null) { currentState = 111; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 112: {
				if (la == null) { currentState = 112; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 113: {
				if (la == null) { currentState = 113; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 114: {
				if (la == null) { currentState = 114; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 115: {
				if (la == null) { currentState = 115; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 116: {
				if (la == null) { currentState = 116; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 117: {
				if (la == null) { currentState = 117; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 118: {
				if (la == null) { currentState = 118; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 119: {
				if (la == null) { currentState = 119; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 120: {
				if (la == null) { currentState = 120; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 121: {
				if (la == null) { currentState = 121; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 122: {
				if (la == null) { currentState = 122; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 123: {
				if (la == null) { currentState = 123; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 124: {
				if (la == null) { currentState = 124; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 125: {
				if (la == null) { currentState = 125; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 126: {
				if (la == null) { currentState = 126; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 127: {
				if (la == null) { currentState = 127; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 128: {
				if (la == null) { currentState = 128; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 129: {
				if (la == null) { currentState = 129; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 130: {
				if (la == null) { currentState = 130; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 131: {
				if (la == null) { currentState = 131; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 132: {
				if (la == null) { currentState = 132; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 133: {
				if (la == null) { currentState = 133; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 134: {
				if (la == null) { currentState = 134; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 135: {
				if (la == null) { currentState = 135; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 136: {
				if (la == null) { currentState = 136; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 137: {
				if (la == null) { currentState = 137; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 138: {
				if (la == null) { currentState = 138; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 139: {
				if (la == null) { currentState = 139; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 140: {
				if (la == null) { currentState = 140; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 141: {
				if (la == null) { currentState = 141; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 142: {
				if (la == null) { currentState = 142; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 143: {
				if (la == null) { currentState = 143; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 144: {
				if (la == null) { currentState = 144; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 145: {
				if (la == null) { currentState = 145; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 146: {
				if (la == null) { currentState = 146; break; }
				if (la.kind == 35 || la.kind == 126 || la.kind == 233) {
					if (la.kind == 126) {
						PushContext(Context.CollectionInitializer, la, t);
						goto case 151;
					} else {
						if (la.kind == 35) {
							PushContext(Context.CollectionInitializer, la, t);
							stateStack.Push(150);
							goto case 79;
						} else {
							if (la.kind == 233) {
								PushContext(Context.ObjectInitializer, la, t);
								goto case 147;
							} else {
								goto case 88;
							}
						}
					}
				} else {
					goto case 89;
				}
			}
			case 147: {
				if (la == null) { currentState = 147; break; }
				Expect(233, la); // "With"
				currentState = 148;
				break;
			}
			case 148: {
				stateStack.Push(149);
				goto case 93;
			}
			case 149: {
				PopContext();
				goto case 89;
			}
			case 150: {
				PopContext();
				goto case 89;
			}
			case 151: {
				if (la == null) { currentState = 151; break; }
				Expect(126, la); // "From"
				currentState = 152;
				break;
			}
			case 152: {
				if (la == null) { currentState = 152; break; }
				if (la.kind == 35) {
					stateStack.Push(153);
					goto case 79;
				} else {
					if (set[30].Get(la.kind)) {
						currentState = endOfStatementTerminatorAndBlock; /* leave this block */
							InformToken(t); /* process From again*/
							/* for processing current token (la): go to the position after processing End */
							goto switchlbl;

					} else {
						Error(la);
						goto case 153;
					}
				}
			}
			case 153: {
				PopContext();
				goto case 89;
			}
			case 154: {
				if (la == null) { currentState = 154; break; }
				currentState = 153;
				break;
			}
			case 155: {
				stateStack.Push(156);
				goto case 75;
			}
			case 156: {
				if (la == null) { currentState = 156; break; }
				Expect(144, la); // "Is"
				currentState = 157;
				break;
			}
			case 157: {
				PushContext(Context.Type, la, t);
				stateStack.Push(158);
				goto case 37;
			}
			case 158: {
				PopContext();
				goto case 78;
			}
			case 159: {
				if (la == null) { currentState = 159; break; }
				if (set[32].Get(la.kind)) {
					stateStack.Push(159);
					goto case 160;
				} else {
					goto case 78;
				}
			}
			case 160: {
				if (la == null) { currentState = 160; break; }
				if (la.kind == 37) {
					currentState = 165;
					break;
				} else {
					if (set[134].Get(la.kind)) {
						currentState = 161;
						break;
					} else {
						goto case 6;
					}
				}
			}
			case 161: {
				nextTokenIsStartOfImportsOrAccessExpression = true;
				goto case 162;
			}
			case 162: {
				if (la == null) { currentState = 162; break; }
				if (la.kind == 10) {
					currentState = 163;
					break;
				} else {
					goto case 163;
				}
			}
			case 163: {
				stateStack.Push(164);
				goto case 101;
			}
			case 164: {
				if (la == null) { currentState = 164; break; }
				if (la.kind == 11) {
					currentState = stateStack.Pop();
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 165: {
				PushContext(Context.Expression, la, t);
				nextTokenIsPotentialStartOfExpression = true;
				goto case 166;
			}
			case 166: {
				if (la == null) { currentState = 166; break; }
				if (la.kind == 169) {
					currentState = 168;
					break;
				} else {
					if (set[22].Get(la.kind)) {
						if (set[21].Get(la.kind)) {
							stateStack.Push(167);
							goto case 47;
						} else {
							goto case 167;
						}
					} else {
						Error(la);
						goto case 167;
					}
				}
			}
			case 167: {
				PopContext();
				goto case 46;
			}
			case 168: {
				PushContext(Context.Type, la, t);
				stateStack.Push(169);
				goto case 37;
			}
			case 169: {
				PopContext();
				goto case 170;
			}
			case 170: {
				if (la == null) { currentState = 170; break; }
				if (la.kind == 22) {
					currentState = 171;
					break;
				} else {
					goto case 167;
				}
			}
			case 171: {
				PushContext(Context.Type, la, t);
				stateStack.Push(172);
				goto case 37;
			}
			case 172: {
				PopContext();
				goto case 170;
			}
			case 173: {
				PushContext(Context.Expression, la, t);
				nextTokenIsPotentialStartOfExpression = true;
				goto case 174;
			}
			case 174: {
				if (la == null) { currentState = 174; break; }
				if (set[135].Get(la.kind)) {
					currentState = 175;
					break;
				} else {
					if (la.kind == 37) {
						currentState = 481;
						break;
					} else {
						if (set[136].Get(la.kind)) {
							currentState = 175;
							break;
						} else {
							if (set[132].Get(la.kind)) {
								currentState = 175;
								break;
							} else {
								if (set[134].Get(la.kind)) {
									currentState = 477;
									break;
								} else {
									if (la.kind == 129) {
										currentState = 474;
										break;
									} else {
										if (la.kind == 237) {
											currentState = 471;
											break;
										} else {
											if (set[82].Get(la.kind)) {
												stateStack.Push(175);
												nextTokenIsPotentialStartOfExpression = true;
												PushContext(Context.Xml, la, t);
												goto case 454;
											} else {
												if (la.kind == 127 || la.kind == 210) {
													stateStack.Push(175);
													goto case 252;
												} else {
													if (la.kind == 58 || la.kind == 126) {
														stateStack.Push(175);
														PushContext(Context.Query, la, t);
														goto case 190;
													} else {
														if (set[37].Get(la.kind)) {
															stateStack.Push(175);
															goto case 183;
														} else {
															if (la.kind == 135) {
																stateStack.Push(175);
																goto case 176;
															} else {
																Error(la);
																goto case 175;
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
			case 175: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 176: {
				if (la == null) { currentState = 176; break; }
				Expect(135, la); // "If"
				currentState = 177;
				break;
			}
			case 177: {
				if (la == null) { currentState = 177; break; }
				Expect(37, la); // "("
				currentState = 178;
				break;
			}
			case 178: {
				stateStack.Push(179);
				goto case 55;
			}
			case 179: {
				if (la == null) { currentState = 179; break; }
				Expect(22, la); // ","
				currentState = 180;
				break;
			}
			case 180: {
				stateStack.Push(181);
				goto case 55;
			}
			case 181: {
				if (la == null) { currentState = 181; break; }
				if (la.kind == 22) {
					currentState = 182;
					break;
				} else {
					goto case 46;
				}
			}
			case 182: {
				stateStack.Push(46);
				goto case 55;
			}
			case 183: {
				if (la == null) { currentState = 183; break; }
				if (set[137].Get(la.kind)) {
					currentState = 189;
					break;
				} else {
					if (la.kind == 94 || la.kind == 106 || la.kind == 219) {
						currentState = 184;
						break;
					} else {
						goto case 6;
					}
				}
			}
			case 184: {
				if (la == null) { currentState = 184; break; }
				Expect(37, la); // "("
				currentState = 185;
				break;
			}
			case 185: {
				stateStack.Push(186);
				goto case 55;
			}
			case 186: {
				if (la == null) { currentState = 186; break; }
				Expect(22, la); // ","
				currentState = 187;
				break;
			}
			case 187: {
				PushContext(Context.Type, la, t);
				stateStack.Push(188);
				goto case 37;
			}
			case 188: {
				PopContext();
				goto case 46;
			}
			case 189: {
				if (la == null) { currentState = 189; break; }
				Expect(37, la); // "("
				currentState = 182;
				break;
			}
			case 190: {
				if (la == null) { currentState = 190; break; }
				if (la.kind == 126) {
					stateStack.Push(191);
					goto case 251;
				} else {
					if (la.kind == 58) {
						stateStack.Push(191);
						goto case 250;
					} else {
						Error(la);
						goto case 191;
					}
				}
			}
			case 191: {
				if (la == null) { currentState = 191; break; }
				if (set[38].Get(la.kind)) {
					stateStack.Push(191);
					goto case 192;
				} else {
					PopContext();
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 192: {
				if (la == null) { currentState = 192; break; }
				if (la.kind == 126) {
					currentState = 248;
					break;
				} else {
					if (la.kind == 58) {
						currentState = 244;
						break;
					} else {
						if (la.kind == 197) {
							currentState = 242;
							break;
						} else {
							if (la.kind == 107) {
								goto case 133;
							} else {
								if (la.kind == 230) {
									currentState = 55;
									break;
								} else {
									if (la.kind == 176) {
										currentState = 238;
										break;
									} else {
										if (la.kind == 203 || la.kind == 212) {
											currentState = 236;
											break;
										} else {
											if (la.kind == 148) {
												currentState = 234;
												break;
											} else {
												if (la.kind == 133) {
													currentState = 206;
													break;
												} else {
													if (la.kind == 146) {
														currentState = 193;
														break;
													} else {
														goto case 6;
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
			case 193: {
				stateStack.Push(194);
				goto case 199;
			}
			case 194: {
				if (la == null) { currentState = 194; break; }
				Expect(171, la); // "On"
				currentState = 195;
				break;
			}
			case 195: {
				stateStack.Push(196);
				goto case 55;
			}
			case 196: {
				if (la == null) { currentState = 196; break; }
				Expect(116, la); // "Equals"
				currentState = 197;
				break;
			}
			case 197: {
				stateStack.Push(198);
				goto case 55;
			}
			case 198: {
				if (la == null) { currentState = 198; break; }
				if (la.kind == 22) {
					currentState = 195;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 199: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(200);
				goto case 205;
			}
			case 200: {
				PopContext();
				goto case 201;
			}
			case 201: {
				if (la == null) { currentState = 201; break; }
				if (la.kind == 63) {
					currentState = 203;
					break;
				} else {
					goto case 202;
				}
			}
			case 202: {
				if (la == null) { currentState = 202; break; }
				Expect(138, la); // "In"
				currentState = 55;
				break;
			}
			case 203: {
				PushContext(Context.Type, la, t);
				stateStack.Push(204);
				goto case 37;
			}
			case 204: {
				PopContext();
				goto case 202;
			}
			case 205: {
				if (la == null) { currentState = 205; break; }
				if (set[122].Get(la.kind)) {
					currentState = stateStack.Pop();
					break;
				} else {
					if (la.kind == 98) {
						goto case 135;
					} else {
						goto case 6;
					}
				}
			}
			case 206: {
				SetIdentifierExpected(la);
				nextTokenIsPotentialStartOfExpression = true;
				goto case 207;
			}
			case 207: {
				if (la == null) { currentState = 207; break; }
				if (la.kind == 146) {
					goto case 226;
				} else {
					if (set[40].Get(la.kind)) {
						if (la.kind == 70) {
							currentState = 209;
							break;
						} else {
							if (set[40].Get(la.kind)) {
								goto case 224;
							} else {
								Error(la);
								goto case 208;
							}
						}
					} else {
						goto case 6;
					}
				}
			}
			case 208: {
				if (la == null) { currentState = 208; break; }
				Expect(70, la); // "By"
				currentState = 209;
				break;
			}
			case 209: {
				stateStack.Push(210);
				goto case 213;
			}
			case 210: {
				if (la == null) { currentState = 210; break; }
				if (la.kind == 22) {
					currentState = 209;
					break;
				} else {
					Expect(143, la); // "Into"
					currentState = 211;
					break;
				}
			}
			case 211: {
				stateStack.Push(212);
				goto case 213;
			}
			case 212: {
				if (la == null) { currentState = 212; break; }
				if (la.kind == 22) {
					currentState = 211;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 213: {
				SetIdentifierExpected(la);
				nextTokenIsPotentialStartOfExpression = true;
				goto case 214;
			}
			case 214: {
				if (la == null) { currentState = 214; break; }
				if (set[6].Get(la.kind)) {
					PushContext(Context.Identifier, la, t);
					SetIdentifierExpected(la);
					stateStack.Push(217);
					goto case 205;
				} else {
					goto case 215;
				}
			}
			case 215: {
				stateStack.Push(216);
				goto case 55;
			}
			case 216: {
				if (!isAlreadyInExpr) PopContext(); isAlreadyInExpr = false;
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 217: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 218;
			}
			case 218: {
				if (la == null) { currentState = 218; break; }
				if (set[42].Get(la.kind)) {
					PopContext(); isAlreadyInExpr = true;
					goto case 219;
				} else {
					goto case 215;
				}
			}
			case 219: {
				if (la == null) { currentState = 219; break; }
				if (la.kind == 63) {
					currentState = 221;
					break;
				} else {
					if (la.kind == 20) {
						currentState = 215;
						break;
					} else {
						if (set[43].Get(la.kind)) {
							currentState = endOfStatementTerminatorAndBlock; /* leave this block */
								InformToken(t); /* process Identifier again*/
								/* for processing current token (la): go to the position after processing End */
								goto switchlbl;

						} else {
							Error(la);
							goto case 215;
						}
					}
				}
			}
			case 220: {
				if (la == null) { currentState = 220; break; }
				currentState = 215;
				break;
			}
			case 221: {
				PushContext(Context.Type, la, t);
				stateStack.Push(222);
				goto case 37;
			}
			case 222: {
				PopContext();
				goto case 223;
			}
			case 223: {
				if (la == null) { currentState = 223; break; }
				Expect(20, la); // "="
				currentState = 215;
				break;
			}
			case 224: {
				stateStack.Push(225);
				goto case 213;
			}
			case 225: {
				if (la == null) { currentState = 225; break; }
				if (la.kind == 22) {
					currentState = 224;
					break;
				} else {
					goto case 208;
				}
			}
			case 226: {
				stateStack.Push(227);
				goto case 233;
			}
			case 227: {
				if (la == null) { currentState = 227; break; }
				if (la.kind == 133 || la.kind == 146) {
					if (la.kind == 133) {
						currentState = 231;
						break;
					} else {
						if (la.kind == 146) {
							goto case 226;
						} else {
							Error(la);
							goto case 227;
						}
					}
				} else {
					goto case 228;
				}
			}
			case 228: {
				if (la == null) { currentState = 228; break; }
				Expect(143, la); // "Into"
				currentState = 229;
				break;
			}
			case 229: {
				stateStack.Push(230);
				goto case 213;
			}
			case 230: {
				if (la == null) { currentState = 230; break; }
				if (la.kind == 22) {
					currentState = 229;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 231: {
				stateStack.Push(232);
				goto case 233;
			}
			case 232: {
				stateStack.Push(227);
				goto case 228;
			}
			case 233: {
				if (la == null) { currentState = 233; break; }
				Expect(146, la); // "Join"
				currentState = 193;
				break;
			}
			case 234: {
				stateStack.Push(235);
				goto case 213;
			}
			case 235: {
				if (la == null) { currentState = 235; break; }
				if (la.kind == 22) {
					currentState = 234;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 236: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 237;
			}
			case 237: {
				if (la == null) { currentState = 237; break; }
				if (la.kind == 231) {
					currentState = 55;
					break;
				} else {
					goto case 55;
				}
			}
			case 238: {
				if (la == null) { currentState = 238; break; }
				Expect(70, la); // "By"
				currentState = 239;
				break;
			}
			case 239: {
				stateStack.Push(240);
				goto case 55;
			}
			case 240: {
				if (la == null) { currentState = 240; break; }
				if (la.kind == 64) {
					currentState = 241;
					break;
				} else {
					if (la.kind == 104) {
						currentState = 241;
						break;
					} else {
						Error(la);
						goto case 241;
					}
				}
			}
			case 241: {
				if (la == null) { currentState = 241; break; }
				if (la.kind == 22) {
					currentState = 239;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 242: {
				stateStack.Push(243);
				goto case 213;
			}
			case 243: {
				if (la == null) { currentState = 243; break; }
				if (la.kind == 22) {
					currentState = 242;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 244: {
				stateStack.Push(245);
				goto case 199;
			}
			case 245: {
				if (la == null) { currentState = 245; break; }
				if (set[38].Get(la.kind)) {
					stateStack.Push(245);
					goto case 192;
				} else {
					Expect(143, la); // "Into"
					currentState = 246;
					break;
				}
			}
			case 246: {
				stateStack.Push(247);
				goto case 213;
			}
			case 247: {
				if (la == null) { currentState = 247; break; }
				if (la.kind == 22) {
					currentState = 246;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 248: {
				stateStack.Push(249);
				goto case 199;
			}
			case 249: {
				if (la == null) { currentState = 249; break; }
				if (la.kind == 22) {
					currentState = 248;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 250: {
				if (la == null) { currentState = 250; break; }
				Expect(58, la); // "Aggregate"
				currentState = 244;
				break;
			}
			case 251: {
				if (la == null) { currentState = 251; break; }
				Expect(126, la); // "From"
				currentState = 248;
				break;
			}
			case 252: {
				if (la == null) { currentState = 252; break; }
				if (la.kind == 210) {
					currentState = 449;
					break;
				} else {
					if (la.kind == 127) {
						currentState = 253;
						break;
					} else {
						goto case 6;
					}
				}
			}
			case 253: {
				stateStack.Push(254);
				goto case 424;
			}
			case 254: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 255;
			}
			case 255: {
				if (la == null) { currentState = 255; break; }
				if (set[23].Get(la.kind)) {
					goto case 55;
				} else {
					if (la.kind == 1 || la.kind == 21 || la.kind == 63) {
						if (la.kind == 63) {
							currentState = 422;
							break;
						} else {
							goto case 256;
						}
					} else {
						goto case 6;
					}
				}
			}
			case 256: {
				stateStack.Push(257);
				goto case 259;
			}
			case 257: {
				if (la == null) { currentState = 257; break; }
				Expect(113, la); // "End"
				currentState = 258;
				break;
			}
			case 258: {
				if (la == null) { currentState = 258; break; }
				Expect(127, la); // "Function"
				currentState = stateStack.Pop();
				break;
			}
			case 259: {
				PushContext(Context.Body, la, t);
				goto case 260;
			}
			case 260: {
				stateStack.Push(261);
				goto case 23;
			}
			case 261: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 262;
			}
			case 262: {
				if (la == null) { currentState = 262; break; }
				if (set[138].Get(la.kind)) {
					if (set[69].Get(la.kind)) {
						if (set[50].Get(la.kind)) {
							stateStack.Push(260);
							goto case 267;
						} else {
							goto case 260;
						}
					} else {
						if (la.kind == 113) {
							currentState = 265;
							break;
						} else {
							goto case 264;
						}
					}
				} else {
					goto case 263;
				}
			}
			case 263: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 264: {
				Error(la);
				goto case 261;
			}
			case 265: {
				if (la == null) { currentState = 265; break; }
				if (la.kind == 1 || la.kind == 21) {
					goto case 260;
				} else {
					if (set[49].Get(la.kind)) {
						currentState = endOfStatementTerminatorAndBlock; /* leave this block */
						InformToken(t); /* process End again*/
						/* for processing current token (la): go to the position after processing End */
						goto switchlbl;

					} else {
						goto case 264;
					}
				}
			}
			case 266: {
				if (la == null) { currentState = 266; break; }
				currentState = 261;
				break;
			}
			case 267: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 268;
			}
			case 268: {
				if (la == null) { currentState = 268; break; }
				if (la.kind == 88 || la.kind == 105 || la.kind == 204) {
					currentState = 399;
					break;
				} else {
					if (la.kind == 211 || la.kind == 233) {
						currentState = 395;
						break;
					} else {
						if (la.kind == 56 || la.kind == 193) {
							currentState = 393;
							break;
						} else {
							if (la.kind == 189) {
								currentState = 388;
								break;
							} else {
								if (la.kind == 135) {
									currentState = 370;
									break;
								} else {
									if (la.kind == 197) {
										currentState = 354;
										break;
									} else {
										if (la.kind == 231) {
											currentState = 350;
											break;
										} else {
											if (la.kind == 108) {
												currentState = 344;
												break;
											} else {
												if (la.kind == 124) {
													currentState = 317;
													break;
												} else {
													if (la.kind == 118 || la.kind == 171 || la.kind == 194) {
														if (la.kind == 118 || la.kind == 171) {
															if (la.kind == 171) {
																currentState = 313;
																break;
															} else {
																goto case 313;
															}
														} else {
															if (la.kind == 194) {
																currentState = 311;
																break;
															} else {
																goto case 6;
															}
														}
													} else {
														if (la.kind == 215) {
															currentState = 309;
															break;
														} else {
															if (la.kind == 218) {
																currentState = 296;
																break;
															} else {
																if (set[139].Get(la.kind)) {
																	if (la.kind == 132) {
																		currentState = 293;
																		break;
																	} else {
																		if (la.kind == 120) {
																			currentState = 292;
																			break;
																		} else {
																			if (la.kind == 89) {
																				currentState = 291;
																				break;
																			} else {
																				if (la.kind == 206) {
																					goto case 113;
																				} else {
																					if (la.kind == 195) {
																						currentState = 288;
																						break;
																					} else {
																						goto case 6;
																					}
																				}
																			}
																		}
																	}
																} else {
																	if (la.kind == 191) {
																		currentState = 286;
																		break;
																	} else {
																		if (la.kind == 117) {
																			currentState = 284;
																			break;
																		} else {
																			if (la.kind == 226) {
																				currentState = 269;
																				break;
																			} else {
																				if (set[140].Get(la.kind)) {
																					if (la.kind == 73) {
																						currentState = 55;
																						break;
																					} else {
																						goto case 55;
																					}
																				} else {
																					goto case 6;
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
			case 269: {
				stateStack.Push(270);
				SetIdentifierExpected(la);
				nextTokenIsPotentialStartOfExpression = true;
				goto case 273;
			}
			case 270: {
				if (la == null) { currentState = 270; break; }
				if (la.kind == 22) {
					currentState = 269;
					break;
				} else {
					stateStack.Push(271);
					goto case 259;
				}
			}
			case 271: {
				if (la == null) { currentState = 271; break; }
				Expect(113, la); // "End"
				currentState = 272;
				break;
			}
			case 272: {
				if (la == null) { currentState = 272; break; }
				Expect(226, la); // "Using"
				currentState = stateStack.Pop();
				break;
			}
			case 273: {
				if (la == null) { currentState = 273; break; }
				if (set[6].Get(la.kind)) {
					PushContext(Context.Identifier, la, t);
					SetIdentifierExpected(la);
					stateStack.Push(276);
					goto case 205;
				} else {
					goto case 274;
				}
			}
			case 274: {
				stateStack.Push(275);
				goto case 55;
			}
			case 275: {
				if (!isAlreadyInExpr) PopContext(); isAlreadyInExpr = false;
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 276: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 277;
			}
			case 277: {
				if (la == null) { currentState = 277; break; }
				if (set[42].Get(la.kind)) {
					PopContext(); isAlreadyInExpr = true;
					goto case 278;
				} else {
					goto case 274;
				}
			}
			case 278: {
				if (la == null) { currentState = 278; break; }
				if (la.kind == 63) {
					currentState = 280;
					break;
				} else {
					if (la.kind == 20) {
						currentState = 274;
						break;
					} else {
						if (set[43].Get(la.kind)) {
							currentState = endOfStatementTerminatorAndBlock; /* leave this block */
								InformToken(t); /* process Identifier again*/
								/* for processing current token (la): go to the position after processing End */
								goto switchlbl;

						} else {
							Error(la);
							goto case 274;
						}
					}
				}
			}
			case 279: {
				if (la == null) { currentState = 279; break; }
				currentState = 274;
				break;
			}
			case 280: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 281;
			}
			case 281: {
				if (la == null) { currentState = 281; break; }
				if (set[16].Get(la.kind)) {
					PushContext(Context.Type, la, t);
					stateStack.Push(282);
					goto case 37;
				} else {
					goto case 274;
				}
			}
			case 282: {
				PopContext();
				goto case 283;
			}
			case 283: {
				if (la == null) { currentState = 283; break; }
				Expect(20, la); // "="
				currentState = 274;
				break;
			}
			case 284: {
				stateStack.Push(285);
				goto case 55;
			}
			case 285: {
				if (la == null) { currentState = 285; break; }
				if (la.kind == 22) {
					currentState = 284;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 286: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 287;
			}
			case 287: {
				if (la == null) { currentState = 287; break; }
				if (la.kind == 184) {
					currentState = 55;
					break;
				} else {
					goto case 55;
				}
			}
			case 288: {
				PushContext(Context.Expression, la, t);
				nextTokenIsPotentialStartOfExpression = true;
				goto case 289;
			}
			case 289: {
				if (la == null) { currentState = 289; break; }
				if (set[23].Get(la.kind)) {
					stateStack.Push(290);
					goto case 55;
				} else {
					goto case 290;
				}
			}
			case 290: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 291: {
				if (la == null) { currentState = 291; break; }
				if (la.kind == 108) {
					goto case 132;
				} else {
					if (la.kind == 124) {
						goto case 129;
					} else {
						if (la.kind == 231) {
							goto case 103;
						} else {
							goto case 6;
						}
					}
				}
			}
			case 292: {
				if (la == null) { currentState = 292; break; }
				if (la.kind == 108) {
					goto case 132;
				} else {
					if (la.kind == 124) {
						goto case 129;
					} else {
						if (la.kind == 231) {
							goto case 103;
						} else {
							if (la.kind == 197) {
								goto case 115;
							} else {
								if (la.kind == 210) {
									goto case 111;
								} else {
									if (la.kind == 127) {
										goto case 127;
									} else {
										if (la.kind == 186) {
											goto case 116;
										} else {
											if (la.kind == 218) {
												goto case 107;
											} else {
												goto case 6;
											}
										}
									}
								}
							}
						}
					}
				}
			}
			case 293: {
				if (la == null) { currentState = 293; break; }
				if (set[6].Get(la.kind)) {
					goto case 295;
				} else {
					if (la.kind == 5) {
						goto case 294;
					} else {
						goto case 6;
					}
				}
			}
			case 294: {
				if (la == null) { currentState = 294; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 295: {
				if (la == null) { currentState = 295; break; }
				currentState = stateStack.Pop();
				break;
			}
			case 296: {
				stateStack.Push(297);
				goto case 259;
			}
			case 297: {
				if (la == null) { currentState = 297; break; }
				if (la.kind == 75) {
					currentState = 301;
					break;
				} else {
					if (la.kind == 123) {
						currentState = 300;
						break;
					} else {
						goto case 298;
					}
				}
			}
			case 298: {
				if (la == null) { currentState = 298; break; }
				Expect(113, la); // "End"
				currentState = 299;
				break;
			}
			case 299: {
				if (la == null) { currentState = 299; break; }
				Expect(218, la); // "Try"
				currentState = stateStack.Pop();
				break;
			}
			case 300: {
				stateStack.Push(298);
				goto case 259;
			}
			case 301: {
				SetIdentifierExpected(la);
				goto case 302;
			}
			case 302: {
				if (la == null) { currentState = 302; break; }
				if (set[6].Get(la.kind)) {
					PushContext(Context.Identifier, la, t);
					SetIdentifierExpected(la);
					stateStack.Push(305);
					goto case 205;
				} else {
					goto case 303;
				}
			}
			case 303: {
				if (la == null) { currentState = 303; break; }
				if (la.kind == 229) {
					currentState = 304;
					break;
				} else {
					goto case 296;
				}
			}
			case 304: {
				stateStack.Push(296);
				goto case 55;
			}
			case 305: {
				PopContext();
				goto case 306;
			}
			case 306: {
				if (la == null) { currentState = 306; break; }
				if (la.kind == 63) {
					currentState = 307;
					break;
				} else {
					goto case 303;
				}
			}
			case 307: {
				PushContext(Context.Type, la, t);
				stateStack.Push(308);
				goto case 37;
			}
			case 308: {
				PopContext();
				goto case 303;
			}
			case 309: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 310;
			}
			case 310: {
				if (la == null) { currentState = 310; break; }
				if (set[23].Get(la.kind)) {
					goto case 55;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 311: {
				if (la == null) { currentState = 311; break; }
				if (la.kind == 163) {
					goto case 120;
				} else {
					goto case 312;
				}
			}
			case 312: {
				if (la == null) { currentState = 312; break; }
				if (la.kind == 5) {
					goto case 294;
				} else {
					if (set[6].Get(la.kind)) {
						goto case 295;
					} else {
						goto case 6;
					}
				}
			}
			case 313: {
				if (la == null) { currentState = 313; break; }
				Expect(118, la); // "Error"
				currentState = 314;
				break;
			}
			case 314: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 315;
			}
			case 315: {
				if (la == null) { currentState = 315; break; }
				if (set[23].Get(la.kind)) {
					goto case 55;
				} else {
					if (la.kind == 132) {
						currentState = 312;
						break;
					} else {
						if (la.kind == 194) {
							currentState = 316;
							break;
						} else {
							goto case 6;
						}
					}
				}
			}
			case 316: {
				if (la == null) { currentState = 316; break; }
				Expect(163, la); // "Next"
				currentState = stateStack.Pop();
				break;
			}
			case 317: {
				nextTokenIsPotentialStartOfExpression = true;
				SetIdentifierExpected(la);
				goto case 318;
			}
			case 318: {
				if (la == null) { currentState = 318; break; }
				if (set[35].Get(la.kind)) {
					stateStack.Push(334);
					goto case 328;
				} else {
					if (la.kind == 110) {
						currentState = 319;
						break;
					} else {
						goto case 6;
					}
				}
			}
			case 319: {
				stateStack.Push(320);
				goto case 328;
			}
			case 320: {
				if (la == null) { currentState = 320; break; }
				Expect(138, la); // "In"
				currentState = 321;
				break;
			}
			case 321: {
				stateStack.Push(322);
				goto case 55;
			}
			case 322: {
				stateStack.Push(323);
				goto case 259;
			}
			case 323: {
				if (la == null) { currentState = 323; break; }
				Expect(163, la); // "Next"
				currentState = 324;
				break;
			}
			case 324: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 325;
			}
			case 325: {
				if (la == null) { currentState = 325; break; }
				if (set[23].Get(la.kind)) {
					goto case 326;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 326: {
				stateStack.Push(327);
				goto case 55;
			}
			case 327: {
				if (la == null) { currentState = 327; break; }
				if (la.kind == 22) {
					currentState = 326;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 328: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(329);
				goto case 173;
			}
			case 329: {
				PopContext();
				goto case 330;
			}
			case 330: {
				if (la == null) { currentState = 330; break; }
				if (la.kind == 33) {
					currentState = 331;
					break;
				} else {
					goto case 331;
				}
			}
			case 331: {
				if (la == null) { currentState = 331; break; }
				if (set[32].Get(la.kind)) {
					stateStack.Push(331);
					goto case 160;
				} else {
					if (la.kind == 63) {
						currentState = 332;
						break;
					} else {
						currentState = stateStack.Pop();
						goto switchlbl;
					}
				}
			}
			case 332: {
				PushContext(Context.Type, la, t);
				stateStack.Push(333);
				goto case 37;
			}
			case 333: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 334: {
				if (la == null) { currentState = 334; break; }
				Expect(20, la); // "="
				currentState = 335;
				break;
			}
			case 335: {
				stateStack.Push(336);
				goto case 55;
			}
			case 336: {
				if (la == null) { currentState = 336; break; }
				if (la.kind == 205) {
					currentState = 343;
					break;
				} else {
					goto case 337;
				}
			}
			case 337: {
				stateStack.Push(338);
				goto case 259;
			}
			case 338: {
				if (la == null) { currentState = 338; break; }
				Expect(163, la); // "Next"
				currentState = 339;
				break;
			}
			case 339: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 340;
			}
			case 340: {
				if (la == null) { currentState = 340; break; }
				if (set[23].Get(la.kind)) {
					goto case 341;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 341: {
				stateStack.Push(342);
				goto case 55;
			}
			case 342: {
				if (la == null) { currentState = 342; break; }
				if (la.kind == 22) {
					currentState = 341;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 343: {
				stateStack.Push(337);
				goto case 55;
			}
			case 344: {
				if (la == null) { currentState = 344; break; }
				if (la.kind == 224 || la.kind == 231) {
					currentState = 347;
					break;
				} else {
					if (la.kind == 1 || la.kind == 21) {
						stateStack.Push(345);
						goto case 259;
					} else {
						goto case 6;
					}
				}
			}
			case 345: {
				if (la == null) { currentState = 345; break; }
				Expect(152, la); // "Loop"
				currentState = 346;
				break;
			}
			case 346: {
				if (la == null) { currentState = 346; break; }
				if (la.kind == 224 || la.kind == 231) {
					currentState = 55;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 347: {
				stateStack.Push(348);
				goto case 55;
			}
			case 348: {
				stateStack.Push(349);
				goto case 259;
			}
			case 349: {
				if (la == null) { currentState = 349; break; }
				Expect(152, la); // "Loop"
				currentState = stateStack.Pop();
				break;
			}
			case 350: {
				stateStack.Push(351);
				goto case 55;
			}
			case 351: {
				stateStack.Push(352);
				goto case 259;
			}
			case 352: {
				if (la == null) { currentState = 352; break; }
				Expect(113, la); // "End"
				currentState = 353;
				break;
			}
			case 353: {
				if (la == null) { currentState = 353; break; }
				Expect(231, la); // "While"
				currentState = stateStack.Pop();
				break;
			}
			case 354: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 355;
			}
			case 355: {
				if (la == null) { currentState = 355; break; }
				if (la.kind == 74) {
					currentState = 356;
					break;
				} else {
					goto case 356;
				}
			}
			case 356: {
				stateStack.Push(357);
				goto case 55;
			}
			case 357: {
				stateStack.Push(358);
				goto case 23;
			}
			case 358: {
				if (la == null) { currentState = 358; break; }
				if (la.kind == 74) {
					currentState = 360;
					break;
				} else {
					Expect(113, la); // "End"
					currentState = 359;
					break;
				}
			}
			case 359: {
				if (la == null) { currentState = 359; break; }
				Expect(197, la); // "Select"
				currentState = stateStack.Pop();
				break;
			}
			case 360: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 361;
			}
			case 361: {
				if (la == null) { currentState = 361; break; }
				if (la.kind == 111) {
					currentState = 362;
					break;
				} else {
					if (set[67].Get(la.kind)) {
						goto case 363;
					} else {
						Error(la);
						goto case 362;
					}
				}
			}
			case 362: {
				stateStack.Push(358);
				goto case 259;
			}
			case 363: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 364;
			}
			case 364: {
				if (la == null) { currentState = 364; break; }
				if (set[141].Get(la.kind)) {
					if (la.kind == 144) {
						currentState = 366;
						break;
					} else {
						goto case 366;
					}
				} else {
					if (set[23].Get(la.kind)) {
						stateStack.Push(365);
						goto case 55;
					} else {
						Error(la);
						goto case 365;
					}
				}
			}
			case 365: {
				if (la == null) { currentState = 365; break; }
				if (la.kind == 22) {
					currentState = 363;
					break;
				} else {
					goto case 362;
				}
			}
			case 366: {
				stateStack.Push(367);
				goto case 368;
			}
			case 367: {
				stateStack.Push(365);
				goto case 75;
			}
			case 368: {
				if (la == null) { currentState = 368; break; }
				if (la.kind == 20) {
					goto case 73;
				} else {
					if (la.kind == 41) {
						goto case 72;
					} else {
						if (la.kind == 40) {
							goto case 71;
						} else {
							if (la.kind == 39) {
								currentState = 369;
								break;
							} else {
								if (la.kind == 42) {
									goto case 68;
								} else {
									if (la.kind == 43) {
										goto case 69;
									} else {
										goto case 6;
									}
								}
							}
						}
					}
				}
			}
			case 369: {
				wasNormalAttribute = false;
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 370: {
				stateStack.Push(371);
				goto case 55;
			}
			case 371: {
				if (la == null) { currentState = 371; break; }
				if (la.kind == 214) {
					currentState = 379;
					break;
				} else {
					goto case 372;
				}
			}
			case 372: {
				if (la == null) { currentState = 372; break; }
				if (la.kind == 1 || la.kind == 21) {
					goto case 373;
				} else {
					goto case 6;
				}
			}
			case 373: {
				stateStack.Push(374);
				goto case 259;
			}
			case 374: {
				if (la == null) { currentState = 374; break; }
				if (la.kind == 111 || la.kind == 112) {
					if (la.kind == 111) {
						currentState = 378;
						break;
					} else {
						if (la.kind == 112) {
							currentState = 376;
							break;
						} else {
							Error(la);
							goto case 373;
						}
					}
				} else {
					Expect(113, la); // "End"
					currentState = 375;
					break;
				}
			}
			case 375: {
				if (la == null) { currentState = 375; break; }
				Expect(135, la); // "If"
				currentState = stateStack.Pop();
				break;
			}
			case 376: {
				stateStack.Push(377);
				goto case 55;
			}
			case 377: {
				if (la == null) { currentState = 377; break; }
				if (la.kind == 214) {
					currentState = 373;
					break;
				} else {
					goto case 373;
				}
			}
			case 378: {
				if (la == null) { currentState = 378; break; }
				if (la.kind == 135) {
					currentState = 376;
					break;
				} else {
					goto case 373;
				}
			}
			case 379: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 380;
			}
			case 380: {
				if (la == null) { currentState = 380; break; }
				if (set[50].Get(la.kind)) {
					goto case 381;
				} else {
					goto case 372;
				}
			}
			case 381: {
				stateStack.Push(382);
				goto case 267;
			}
			case 382: {
				if (la == null) { currentState = 382; break; }
				if (la.kind == 21) {
					currentState = 386;
					break;
				} else {
					if (la.kind == 111) {
						currentState = 383;
						break;
					} else {
						currentState = stateStack.Pop();
						goto switchlbl;
					}
				}
			}
			case 383: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 384;
			}
			case 384: {
				if (la == null) { currentState = 384; break; }
				if (set[50].Get(la.kind)) {
					stateStack.Push(385);
					goto case 267;
				} else {
					goto case 385;
				}
			}
			case 385: {
				if (la == null) { currentState = 385; break; }
				if (la.kind == 21) {
					currentState = 383;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 386: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 387;
			}
			case 387: {
				if (la == null) { currentState = 387; break; }
				if (set[50].Get(la.kind)) {
					goto case 381;
				} else {
					goto case 382;
				}
			}
			case 388: {
				stateStack.Push(389);
				goto case 101;
			}
			case 389: {
				if (la == null) { currentState = 389; break; }
				if (la.kind == 37) {
					currentState = 390;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 390: {
				PushContext(Context.Expression, la, t);
				nextTokenIsPotentialStartOfExpression = true;
				goto case 391;
			}
			case 391: {
				if (la == null) { currentState = 391; break; }
				if (set[21].Get(la.kind)) {
					stateStack.Push(392);
					goto case 47;
				} else {
					goto case 392;
				}
			}
			case 392: {
				PopContext();
				goto case 46;
			}
			case 393: {
				stateStack.Push(394);
				goto case 55;
			}
			case 394: {
				if (la == null) { currentState = 394; break; }
				Expect(22, la); // ","
				currentState = 55;
				break;
			}
			case 395: {
				stateStack.Push(396);
				goto case 55;
			}
			case 396: {
				stateStack.Push(397);
				goto case 259;
			}
			case 397: {
				if (la == null) { currentState = 397; break; }
				Expect(113, la); // "End"
				currentState = 398;
				break;
			}
			case 398: {
				if (la == null) { currentState = 398; break; }
				if (la.kind == 233) {
					goto case 102;
				} else {
					if (la.kind == 211) {
						goto case 110;
					} else {
						goto case 6;
					}
				}
			}
			case 399: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(400);
				goto case 205;
			}
			case 400: {
				PopContext();
				goto case 401;
			}
			case 401: {
				if (la == null) { currentState = 401; break; }
				if (la.kind == 33) {
					currentState = 402;
					break;
				} else {
					goto case 402;
				}
			}
			case 402: {
				if (la == null) { currentState = 402; break; }
				if (la.kind == 37) {
					currentState = 419;
					break;
				} else {
					if (la.kind == 63) {
						currentState = 416;
						break;
					} else {
						goto case 403;
					}
				}
			}
			case 403: {
				if (la == null) { currentState = 403; break; }
				if (la.kind == 20) {
					currentState = 415;
					break;
				} else {
					goto case 404;
				}
			}
			case 404: {
				if (la == null) { currentState = 404; break; }
				if (la.kind == 22) {
					currentState = 405;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 405: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(406);
				goto case 205;
			}
			case 406: {
				PopContext();
				goto case 407;
			}
			case 407: {
				if (la == null) { currentState = 407; break; }
				if (la.kind == 33) {
					currentState = 408;
					break;
				} else {
					goto case 408;
				}
			}
			case 408: {
				if (la == null) { currentState = 408; break; }
				if (la.kind == 37) {
					currentState = 412;
					break;
				} else {
					if (la.kind == 63) {
						currentState = 409;
						break;
					} else {
						goto case 403;
					}
				}
			}
			case 409: {
				PushContext(Context.Type, la, t);
				goto case 410;
			}
			case 410: {
				if (la == null) { currentState = 410; break; }
				if (la.kind == 162) {
					stateStack.Push(411);
					goto case 85;
				} else {
					if (set[16].Get(la.kind)) {
						stateStack.Push(411);
						goto case 37;
					} else {
						Error(la);
						goto case 411;
					}
				}
			}
			case 411: {
				PopContext();
				goto case 403;
			}
			case 412: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 413;
			}
			case 413: {
				if (la == null) { currentState = 413; break; }
				if (set[23].Get(la.kind)) {
					stateStack.Push(414);
					goto case 55;
				} else {
					goto case 414;
				}
			}
			case 414: {
				if (la == null) { currentState = 414; break; }
				if (la.kind == 22) {
					currentState = 412;
					break;
				} else {
					Expect(38, la); // ")"
					currentState = 408;
					break;
				}
			}
			case 415: {
				stateStack.Push(404);
				goto case 55;
			}
			case 416: {
				PushContext(Context.Type, la, t);
				goto case 417;
			}
			case 417: {
				if (la == null) { currentState = 417; break; }
				if (la.kind == 162) {
					stateStack.Push(418);
					goto case 85;
				} else {
					if (set[16].Get(la.kind)) {
						stateStack.Push(418);
						goto case 37;
					} else {
						Error(la);
						goto case 418;
					}
				}
			}
			case 418: {
				PopContext();
				goto case 403;
			}
			case 419: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 420;
			}
			case 420: {
				if (la == null) { currentState = 420; break; }
				if (set[23].Get(la.kind)) {
					stateStack.Push(421);
					goto case 55;
				} else {
					goto case 421;
				}
			}
			case 421: {
				if (la == null) { currentState = 421; break; }
				if (la.kind == 22) {
					currentState = 419;
					break;
				} else {
					Expect(38, la); // ")"
					currentState = 402;
					break;
				}
			}
			case 422: {
				PushContext(Context.Type, la, t);
				stateStack.Push(423);
				goto case 37;
			}
			case 423: {
				PopContext();
				goto case 256;
			}
			case 424: {
				if (la == null) { currentState = 424; break; }
				Expect(37, la); // "("
				currentState = 425;
				break;
			}
			case 425: {
				PushContext(Context.Default, la, t);
				SetIdentifierExpected(la);
				goto case 426;
			}
			case 426: {
				if (la == null) { currentState = 426; break; }
				if (set[77].Get(la.kind)) {
					stateStack.Push(427);
					goto case 428;
				} else {
					goto case 427;
				}
			}
			case 427: {
				PopContext();
				goto case 46;
			}
			case 428: {
				stateStack.Push(429);
				PushContext(Context.Parameter, la, t);
				goto case 430;
			}
			case 429: {
				if (la == null) { currentState = 429; break; }
				if (la.kind == 22) {
					currentState = 428;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 430: {
				SetIdentifierExpected(la);
				goto case 431;
			}
			case 431: {
				if (la == null) { currentState = 431; break; }
				if (la.kind == 40) {
					stateStack.Push(430);
					goto case 441;
				} else {
					goto case 432;
				}
			}
			case 432: {
				SetIdentifierExpected(la);
				goto case 433;
			}
			case 433: {
				if (la == null) { currentState = 433; break; }
				if (set[142].Get(la.kind)) {
					currentState = 432;
					break;
				} else {
					PushContext(Context.Identifier, la, t);
					SetIdentifierExpected(la);
					stateStack.Push(434);
					goto case 205;
				}
			}
			case 434: {
				PopContext();
				goto case 435;
			}
			case 435: {
				if (la == null) { currentState = 435; break; }
				if (la.kind == 63) {
					currentState = 439;
					break;
				} else {
					goto case 436;
				}
			}
			case 436: {
				if (la == null) { currentState = 436; break; }
				if (la.kind == 20) {
					currentState = 438;
					break;
				} else {
					goto case 437;
				}
			}
			case 437: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 438: {
				stateStack.Push(437);
				goto case 55;
			}
			case 439: {
				PushContext(Context.Type, la, t);
				stateStack.Push(440);
				goto case 37;
			}
			case 440: {
				PopContext();
				goto case 436;
			}
			case 441: {
				if (la == null) { currentState = 441; break; }
				Expect(40, la); // "<"
				currentState = 442;
				break;
			}
			case 442: {
				wasNormalAttribute = true; PushContext(Context.Attribute, la, t);
				goto case 443;
			}
			case 443: {
				if (la == null) { currentState = 443; break; }
				if (la.kind == 65 || la.kind == 155) {
					currentState = 447;
					break;
				} else {
					goto case 444;
				}
			}
			case 444: {
				if (la == null) { currentState = 444; break; }
				if (set[143].Get(la.kind)) {
					currentState = 444;
					break;
				} else {
					Expect(39, la); // ">"
					currentState = 445;
					break;
				}
			}
			case 445: {
				PopContext();
				goto case 446;
			}
			case 446: {
				if (la == null) { currentState = 446; break; }
				if (la.kind == 1) {
					goto case 25;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 447: {
				if (la == null) { currentState = 447; break; }
				Expect(21, la); // ":"
				currentState = 448;
				break;
			}
			case 448: {
				wasNormalAttribute = false;
				goto case 444;
			}
			case 449: {
				stateStack.Push(450);
				goto case 424;
			}
			case 450: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 451;
			}
			case 451: {
				if (la == null) { currentState = 451; break; }
				if (set[50].Get(la.kind)) {
					goto case 267;
				} else {
					if (la.kind == 1 || la.kind == 21) {
						stateStack.Push(452);
						goto case 259;
					} else {
						goto case 6;
					}
				}
			}
			case 452: {
				if (la == null) { currentState = 452; break; }
				Expect(113, la); // "End"
				currentState = 453;
				break;
			}
			case 453: {
				if (la == null) { currentState = 453; break; }
				Expect(210, la); // "Sub"
				currentState = stateStack.Pop();
				break;
			}
			case 454: {
				if (la == null) { currentState = 454; break; }
				if (la.kind == 17 || la.kind == 18 || la.kind == 19) {
					currentState = 467;
					break;
				} else {
					if (la.kind == 10) {
						stateStack.Push(456);
						goto case 458;
					} else {
						Error(la);
						goto case 455;
					}
				}
			}
			case 455: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 456: {
				if (la == null) { currentState = 456; break; }
				if (la.kind == 17) {
					currentState = 457;
					break;
				} else {
					goto case 455;
				}
			}
			case 457: {
				if (la == null) { currentState = 457; break; }
				if (la.kind == 16) {
					currentState = 456;
					break;
				} else {
					goto case 456;
				}
			}
			case 458: {
				PushContext(Context.Xml, la, t);
				goto case 459;
			}
			case 459: {
				if (la == null) { currentState = 459; break; }
				Expect(10, la); // XmlOpenTag
				currentState = 460;
				break;
			}
			case 460: {
				if (la == null) { currentState = 460; break; }
				if (set[144].Get(la.kind)) {
					if (set[145].Get(la.kind)) {
						currentState = 460;
						break;
					} else {
						if (la.kind == 12) {
							stateStack.Push(460);
							goto case 464;
						} else {
							Error(la);
							goto case 460;
						}
					}
				} else {
					if (la.kind == 14) {
						currentState = 461;
						break;
					} else {
						if (la.kind == 11) {
							currentState = 462;
							break;
						} else {
							Error(la);
							goto case 461;
						}
					}
				}
			}
			case 461: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 462: {
				if (la == null) { currentState = 462; break; }
				if (set[146].Get(la.kind)) {
					if (set[147].Get(la.kind)) {
						currentState = 462;
						break;
					} else {
						if (la.kind == 12) {
							stateStack.Push(462);
							goto case 464;
						} else {
							if (la.kind == 10) {
								stateStack.Push(462);
								goto case 458;
							} else {
								Error(la);
								goto case 462;
							}
						}
					}
				} else {
					Expect(15, la); // XmlOpenEndTag
					currentState = 463;
					break;
				}
			}
			case 463: {
				if (la == null) { currentState = 463; break; }
				if (set[148].Get(la.kind)) {
					if (set[149].Get(la.kind)) {
						currentState = 463;
						break;
					} else {
						if (la.kind == 12) {
							stateStack.Push(463);
							goto case 464;
						} else {
							Error(la);
							goto case 463;
						}
					}
				} else {
					Expect(11, la); // XmlCloseTag
					currentState = 461;
					break;
				}
			}
			case 464: {
				if (la == null) { currentState = 464; break; }
				Expect(12, la); // XmlStartInlineVB
				currentState = 465;
				break;
			}
			case 465: {
				stateStack.Push(466);
				goto case 55;
			}
			case 466: {
				if (la == null) { currentState = 466; break; }
				Expect(13, la); // XmlEndInlineVB
				currentState = stateStack.Pop();
				break;
			}
			case 467: {
				if (la == null) { currentState = 467; break; }
				if (la.kind == 16) {
					currentState = 468;
					break;
				} else {
					goto case 468;
				}
			}
			case 468: {
				if (la == null) { currentState = 468; break; }
				if (la.kind == 17 || la.kind == 19) {
					currentState = 467;
					break;
				} else {
					if (la.kind == 10) {
						stateStack.Push(469);
						goto case 458;
					} else {
						goto case 455;
					}
				}
			}
			case 469: {
				if (la == null) { currentState = 469; break; }
				if (la.kind == 17) {
					currentState = 470;
					break;
				} else {
					goto case 455;
				}
			}
			case 470: {
				if (la == null) { currentState = 470; break; }
				if (la.kind == 16) {
					currentState = 469;
					break;
				} else {
					goto case 469;
				}
			}
			case 471: {
				if (la == null) { currentState = 471; break; }
				Expect(37, la); // "("
				currentState = 472;
				break;
			}
			case 472: {
				readXmlIdentifier = true;
				stateStack.Push(473);
				goto case 205;
			}
			case 473: {
				if (la == null) { currentState = 473; break; }
				Expect(38, la); // ")"
				currentState = 175;
				break;
			}
			case 474: {
				if (la == null) { currentState = 474; break; }
				Expect(37, la); // "("
				currentState = 475;
				break;
			}
			case 475: {
				PushContext(Context.Type, la, t);
				stateStack.Push(476);
				goto case 37;
			}
			case 476: {
				PopContext();
				goto case 473;
			}
			case 477: {
				nextTokenIsStartOfImportsOrAccessExpression = true; wasQualifierTokenAtStart = true;
				goto case 478;
			}
			case 478: {
				if (la == null) { currentState = 478; break; }
				if (la.kind == 10) {
					currentState = 479;
					break;
				} else {
					goto case 479;
				}
			}
			case 479: {
				stateStack.Push(480);
				goto case 101;
			}
			case 480: {
				if (la == null) { currentState = 480; break; }
				if (la.kind == 11) {
					currentState = 175;
					break;
				} else {
					goto case 175;
				}
			}
			case 481: {
				activeArgument = 0;
				goto case 482;
			}
			case 482: {
				stateStack.Push(483);
				goto case 55;
			}
			case 483: {
				if (la == null) { currentState = 483; break; }
				if (la.kind == 22) {
					currentState = 484;
					break;
				} else {
					goto case 473;
				}
			}
			case 484: {
				activeArgument++;
				goto case 482;
			}
			case 485: {
				stateStack.Push(486);
				goto case 55;
			}
			case 486: {
				if (la == null) { currentState = 486; break; }
				if (la.kind == 22) {
					currentState = 487;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 487: {
				activeArgument++;
				nextTokenIsPotentialStartOfExpression = true;
				goto case 488;
			}
			case 488: {
				if (la == null) { currentState = 488; break; }
				if (set[23].Get(la.kind)) {
					goto case 485;
				} else {
					goto case 486;
				}
			}
			case 489: {
				if (la == null) { currentState = 489; break; }
				if (set[16].Get(la.kind)) {
					PushContext(Context.Type, la, t);
					stateStack.Push(493);
					goto case 37;
				} else {
					goto case 490;
				}
			}
			case 490: {
				if (la == null) { currentState = 490; break; }
				if (la.kind == 22) {
					currentState = 491;
					break;
				} else {
					goto case 45;
				}
			}
			case 491: {
				if (la == null) { currentState = 491; break; }
				if (set[16].Get(la.kind)) {
					PushContext(Context.Type, la, t);
					stateStack.Push(492);
					goto case 37;
				} else {
					goto case 490;
				}
			}
			case 492: {
				PopContext();
				goto case 490;
			}
			case 493: {
				PopContext();
				goto case 490;
			}
			case 494: {
				SetIdentifierExpected(la);
				goto case 495;
			}
			case 495: {
				if (la == null) { currentState = 495; break; }
				if (set[150].Get(la.kind)) {
					if (la.kind == 169) {
						currentState = 497;
						break;
					} else {
						if (set[77].Get(la.kind)) {
							stateStack.Push(496);
							goto case 428;
						} else {
							Error(la);
							goto case 496;
						}
					}
				} else {
					goto case 496;
				}
			}
			case 496: {
				if (la == null) { currentState = 496; break; }
				Expect(38, la); // ")"
				currentState = 34;
				break;
			}
			case 497: {
				stateStack.Push(496);
				goto case 498;
			}
			case 498: {
				SetIdentifierExpected(la);
				goto case 499;
			}
			case 499: {
				if (la == null) { currentState = 499; break; }
				if (la.kind == 138 || la.kind == 178) {
					currentState = 500;
					break;
				} else {
					goto case 500;
				}
			}
			case 500: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(501);
				goto case 515;
			}
			case 501: {
				PopContext();
				goto case 502;
			}
			case 502: {
				if (la == null) { currentState = 502; break; }
				if (la.kind == 63) {
					currentState = 516;
					break;
				} else {
					goto case 503;
				}
			}
			case 503: {
				if (la == null) { currentState = 503; break; }
				if (la.kind == 22) {
					currentState = 504;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 504: {
				SetIdentifierExpected(la);
				goto case 505;
			}
			case 505: {
				if (la == null) { currentState = 505; break; }
				if (la.kind == 138 || la.kind == 178) {
					currentState = 506;
					break;
				} else {
					goto case 506;
				}
			}
			case 506: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(507);
				goto case 515;
			}
			case 507: {
				PopContext();
				goto case 508;
			}
			case 508: {
				if (la == null) { currentState = 508; break; }
				if (la.kind == 63) {
					currentState = 509;
					break;
				} else {
					goto case 503;
				}
			}
			case 509: {
				PushContext(Context.Type, la, t);
				stateStack.Push(510);
				goto case 511;
			}
			case 510: {
				PopContext();
				goto case 503;
			}
			case 511: {
				if (la == null) { currentState = 511; break; }
				if (set[93].Get(la.kind)) {
					goto case 514;
				} else {
					if (la.kind == 35) {
						currentState = 512;
						break;
					} else {
						goto case 6;
					}
				}
			}
			case 512: {
				stateStack.Push(513);
				goto case 514;
			}
			case 513: {
				if (la == null) { currentState = 513; break; }
				if (la.kind == 22) {
					currentState = 512;
					break;
				} else {
					goto case 82;
				}
			}
			case 514: {
				if (la == null) { currentState = 514; break; }
				if (set[16].Get(la.kind)) {
					currentState = 38;
					break;
				} else {
					if (la.kind == 162) {
						goto case 121;
					} else {
						if (la.kind == 84) {
							goto case 137;
						} else {
							if (la.kind == 209) {
								goto case 112;
							} else {
								goto case 6;
							}
						}
					}
				}
			}
			case 515: {
				if (la == null) { currentState = 515; break; }
				if (la.kind == 2) {
					goto case 145;
				} else {
					if (la.kind == 62) {
						goto case 143;
					} else {
						if (la.kind == 64) {
							goto case 142;
						} else {
							if (la.kind == 65) {
								goto case 141;
							} else {
								if (la.kind == 66) {
									goto case 140;
								} else {
									if (la.kind == 67) {
										goto case 139;
									} else {
										if (la.kind == 70) {
											goto case 138;
										} else {
											if (la.kind == 87) {
												goto case 136;
											} else {
												if (la.kind == 104) {
													goto case 134;
												} else {
													if (la.kind == 107) {
														goto case 133;
													} else {
														if (la.kind == 116) {
															goto case 131;
														} else {
															if (la.kind == 121) {
																goto case 130;
															} else {
																if (la.kind == 133) {
																	goto case 126;
																} else {
																	if (la.kind == 139) {
																		goto case 125;
																	} else {
																		if (la.kind == 143) {
																			goto case 124;
																		} else {
																			if (la.kind == 146) {
																				goto case 123;
																			} else {
																				if (la.kind == 147) {
																					goto case 122;
																				} else {
																					if (la.kind == 170) {
																						goto case 119;
																					} else {
																						if (la.kind == 176) {
																							goto case 118;
																						} else {
																							if (la.kind == 184) {
																								goto case 117;
																							} else {
																								if (la.kind == 203) {
																									goto case 114;
																								} else {
																									if (la.kind == 212) {
																										goto case 109;
																									} else {
																										if (la.kind == 213) {
																											goto case 108;
																										} else {
																											if (la.kind == 223) {
																												goto case 106;
																											} else {
																												if (la.kind == 224) {
																													goto case 105;
																												} else {
																													if (la.kind == 230) {
																														goto case 104;
																													} else {
																														goto case 6;
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
			case 516: {
				PushContext(Context.Type, la, t);
				stateStack.Push(517);
				goto case 511;
			}
			case 517: {
				PopContext();
				goto case 503;
			}
			case 518: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(519);
				goto case 205;
			}
			case 519: {
				PopContext();
				goto case 520;
			}
			case 520: {
				if (la == null) { currentState = 520; break; }
				if (la.kind == 37) {
					stateStack.Push(521);
					goto case 424;
				} else {
					goto case 521;
				}
			}
			case 521: {
				if (la == null) { currentState = 521; break; }
				if (la.kind == 63) {
					currentState = 522;
					break;
				} else {
					goto case 23;
				}
			}
			case 522: {
				PushContext(Context.Type, la, t);
				goto case 523;
			}
			case 523: {
				if (la == null) { currentState = 523; break; }
				if (la.kind == 40) {
					stateStack.Push(523);
					goto case 441;
				} else {
					stateStack.Push(524);
					goto case 37;
				}
			}
			case 524: {
				PopContext();
				goto case 23;
			}
			case 525: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(526);
				goto case 205;
			}
			case 526: {
				PopContext();
				goto case 527;
			}
			case 527: {
				if (la == null) { currentState = 527; break; }
				if (la.kind == 37 || la.kind == 63) {
					if (la.kind == 63) {
						currentState = 529;
						break;
					} else {
						if (la.kind == 37) {
							stateStack.Push(23);
							goto case 424;
						} else {
							goto case 528;
						}
					}
				} else {
					goto case 23;
				}
			}
			case 528: {
				Error(la);
				goto case 23;
			}
			case 529: {
				PushContext(Context.Type, la, t);
				stateStack.Push(530);
				goto case 37;
			}
			case 530: {
				PopContext();
				goto case 23;
			}
			case 531: {
				PushContext(Context.TypeDeclaration, la, t);
				goto case 532;
			}
			case 532: {
				if (la == null) { currentState = 532; break; }
				Expect(115, la); // "Enum"
				currentState = 533;
				break;
			}
			case 533: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(534);
				goto case 205;
			}
			case 534: {
				PopContext();
				goto case 535;
			}
			case 535: {
				if (la == null) { currentState = 535; break; }
				if (la.kind == 63) {
					currentState = 547;
					break;
				} else {
					goto case 536;
				}
			}
			case 536: {
				stateStack.Push(537);
				goto case 23;
			}
			case 537: {
				SetIdentifierExpected(la);
				goto case 538;
			}
			case 538: {
				if (la == null) { currentState = 538; break; }
				if (set[96].Get(la.kind)) {
					goto case 542;
				} else {
					Expect(113, la); // "End"
					currentState = 539;
					break;
				}
			}
			case 539: {
				if (la == null) { currentState = 539; break; }
				Expect(115, la); // "Enum"
				currentState = 540;
				break;
			}
			case 540: {
				stateStack.Push(541);
				goto case 23;
			}
			case 541: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 542: {
				SetIdentifierExpected(la);
				goto case 543;
			}
			case 543: {
				if (la == null) { currentState = 543; break; }
				if (la.kind == 40) {
					stateStack.Push(542);
					goto case 441;
				} else {
					PushContext(Context.Identifier, la, t);
					SetIdentifierExpected(la);
					stateStack.Push(544);
					goto case 205;
				}
			}
			case 544: {
				PopContext();
				goto case 545;
			}
			case 545: {
				if (la == null) { currentState = 545; break; }
				if (la.kind == 20) {
					currentState = 546;
					break;
				} else {
					goto case 536;
				}
			}
			case 546: {
				stateStack.Push(536);
				goto case 55;
			}
			case 547: {
				PushContext(Context.Type, la, t);
				stateStack.Push(548);
				goto case 37;
			}
			case 548: {
				PopContext();
				goto case 536;
			}
			case 549: {
				if (la == null) { currentState = 549; break; }
				Expect(103, la); // "Delegate"
				currentState = 550;
				break;
			}
			case 550: {
				if (la == null) { currentState = 550; break; }
				if (la.kind == 210) {
					currentState = 551;
					break;
				} else {
					if (la.kind == 127) {
						currentState = 551;
						break;
					} else {
						Error(la);
						goto case 551;
					}
				}
			}
			case 551: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				goto case 552;
			}
			case 552: {
				if (la == null) { currentState = 552; break; }
				currentState = 553;
				break;
			}
			case 553: {
				PopContext();
				goto case 554;
			}
			case 554: {
				if (la == null) { currentState = 554; break; }
				if (la.kind == 37) {
					currentState = 557;
					break;
				} else {
					if (la.kind == 63) {
						currentState = 555;
						break;
					} else {
						goto case 23;
					}
				}
			}
			case 555: {
				PushContext(Context.Type, la, t);
				stateStack.Push(556);
				goto case 37;
			}
			case 556: {
				PopContext();
				goto case 23;
			}
			case 557: {
				SetIdentifierExpected(la);
				goto case 558;
			}
			case 558: {
				if (la == null) { currentState = 558; break; }
				if (set[150].Get(la.kind)) {
					if (la.kind == 169) {
						currentState = 560;
						break;
					} else {
						if (set[77].Get(la.kind)) {
							stateStack.Push(559);
							goto case 428;
						} else {
							Error(la);
							goto case 559;
						}
					}
				} else {
					goto case 559;
				}
			}
			case 559: {
				if (la == null) { currentState = 559; break; }
				Expect(38, la); // ")"
				currentState = 554;
				break;
			}
			case 560: {
				stateStack.Push(559);
				goto case 498;
			}
			case 561: {
				PushContext(Context.TypeDeclaration, la, t);
				goto case 562;
			}
			case 562: {
				if (la == null) { currentState = 562; break; }
				if (la.kind == 155) {
					currentState = 563;
					break;
				} else {
					if (la.kind == 84) {
						currentState = 563;
						break;
					} else {
						if (la.kind == 209) {
							currentState = 563;
							break;
						} else {
							Error(la);
							goto case 563;
						}
					}
				}
			}
			case 563: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(564);
				goto case 205;
			}
			case 564: {
				PopContext();
				goto case 565;
			}
			case 565: {
				if (la == null) { currentState = 565; break; }
				if (la.kind == 37) {
					currentState = 715;
					break;
				} else {
					goto case 566;
				}
			}
			case 566: {
				stateStack.Push(567);
				goto case 23;
			}
			case 567: {
				SetIdentifierExpected(la);
				isMissingModifier = true;
				goto case 568;
			}
			case 568: {
				if (la == null) { currentState = 568; break; }
				if (la.kind == 140) {
					isMissingModifier = false;
					goto case 712;
				} else {
					goto case 569;
				}
			}
			case 569: {
				SetIdentifierExpected(la);
				isMissingModifier = true;
				goto case 570;
			}
			case 570: {
				if (la == null) { currentState = 570; break; }
				if (la.kind == 136) {
					isMissingModifier = false;
					goto case 706;
				} else {
					goto case 571;
				}
			}
			case 571: {
				SetIdentifierExpected(la);
				isMissingModifier = true;
				goto case 572;
			}
			case 572: {
				if (la == null) { currentState = 572; break; }
				if (set[100].Get(la.kind)) {
					goto case 577;
				} else {
					isMissingModifier = false;
					goto case 573;
				}
			}
			case 573: {
				if (la == null) { currentState = 573; break; }
				Expect(113, la); // "End"
				currentState = 574;
				break;
			}
			case 574: {
				if (la == null) { currentState = 574; break; }
				if (la.kind == 155) {
					currentState = 575;
					break;
				} else {
					if (la.kind == 84) {
						currentState = 575;
						break;
					} else {
						if (la.kind == 209) {
							currentState = 575;
							break;
						} else {
							Error(la);
							goto case 575;
						}
					}
				}
			}
			case 575: {
				stateStack.Push(576);
				goto case 23;
			}
			case 576: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 577: {
				SetIdentifierExpected(la);
				isMissingModifier = true;
				goto case 578;
			}
			case 578: {
				if (la == null) { currentState = 578; break; }
				if (la.kind == 40) {
					stateStack.Push(577);
					goto case 441;
				} else {
					isMissingModifier = true;
					goto case 579;
				}
			}
			case 579: {
				SetIdentifierExpected(la);
				goto case 580;
			}
			case 580: {
				if (la == null) { currentState = 580; break; }
				if (set[131].Get(la.kind)) {
					currentState = 705;
					break;
				} else {
					isMissingModifier = false;
					SetIdentifierExpected(la);
					goto case 581;
				}
			}
			case 581: {
				if (la == null) { currentState = 581; break; }
				if (la.kind == 84 || la.kind == 155 || la.kind == 209) {
					stateStack.Push(571);
					goto case 561;
				} else {
					if (la.kind == 103) {
						stateStack.Push(571);
						goto case 549;
					} else {
						if (la.kind == 115) {
							stateStack.Push(571);
							goto case 531;
						} else {
							if (la.kind == 142) {
								stateStack.Push(571);
								goto case 9;
							} else {
								if (set[103].Get(la.kind)) {
									stateStack.Push(571);
									PushContext(Context.Member, la, t);
									SetIdentifierExpected(la);
									goto case 582;
								} else {
									Error(la);
									goto case 571;
								}
							}
						}
					}
				}
			}
			case 582: {
				if (la == null) { currentState = 582; break; }
				if (set[121].Get(la.kind)) {
					stateStack.Push(583);
					goto case 690;
				} else {
					if (la.kind == 127 || la.kind == 210) {
						stateStack.Push(583);
						goto case 672;
					} else {
						if (la.kind == 101) {
							stateStack.Push(583);
							goto case 659;
						} else {
							if (la.kind == 119) {
								stateStack.Push(583);
								goto case 647;
							} else {
								if (la.kind == 98) {
									stateStack.Push(583);
									goto case 635;
								} else {
									if (la.kind == 186) {
										stateStack.Push(583);
										goto case 598;
									} else {
										if (la.kind == 172) {
											stateStack.Push(583);
											goto case 584;
										} else {
											Error(la);
											goto case 583;
										}
									}
								}
							}
						}
					}
				}
			}
			case 583: {
				PopContext();
				currentState = stateStack.Pop();
				goto switchlbl;
			}
			case 584: {
				if (la == null) { currentState = 584; break; }
				Expect(172, la); // "Operator"
				currentState = 585;
				break;
			}
			case 585: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				goto case 586;
			}
			case 586: {
				if (la == null) { currentState = 586; break; }
				currentState = 587;
				break;
			}
			case 587: {
				PopContext();
				goto case 588;
			}
			case 588: {
				if (la == null) { currentState = 588; break; }
				Expect(37, la); // "("
				currentState = 589;
				break;
			}
			case 589: {
				stateStack.Push(590);
				goto case 428;
			}
			case 590: {
				if (la == null) { currentState = 590; break; }
				Expect(38, la); // ")"
				currentState = 591;
				break;
			}
			case 591: {
				if (la == null) { currentState = 591; break; }
				if (la.kind == 63) {
					currentState = 595;
					break;
				} else {
					goto case 592;
				}
			}
			case 592: {
				stateStack.Push(593);
				goto case 259;
			}
			case 593: {
				if (la == null) { currentState = 593; break; }
				Expect(113, la); // "End"
				currentState = 594;
				break;
			}
			case 594: {
				if (la == null) { currentState = 594; break; }
				Expect(172, la); // "Operator"
				currentState = 23;
				break;
			}
			case 595: {
				PushContext(Context.Type, la, t);
				goto case 596;
			}
			case 596: {
				if (la == null) { currentState = 596; break; }
				if (la.kind == 40) {
					stateStack.Push(596);
					goto case 441;
				} else {
					stateStack.Push(597);
					goto case 37;
				}
			}
			case 597: {
				PopContext();
				goto case 592;
			}
			case 598: {
				if (la == null) { currentState = 598; break; }
				Expect(186, la); // "Property"
				currentState = 599;
				break;
			}
			case 599: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(600);
				goto case 205;
			}
			case 600: {
				PopContext();
				goto case 601;
			}
			case 601: {
				if (la == null) { currentState = 601; break; }
				if (la.kind == 37) {
					stateStack.Push(602);
					goto case 424;
				} else {
					goto case 602;
				}
			}
			case 602: {
				if (la == null) { currentState = 602; break; }
				if (la.kind == 63) {
					currentState = 632;
					break;
				} else {
					goto case 603;
				}
			}
			case 603: {
				if (la == null) { currentState = 603; break; }
				if (la.kind == 136) {
					currentState = 627;
					break;
				} else {
					goto case 604;
				}
			}
			case 604: {
				if (la == null) { currentState = 604; break; }
				if (la.kind == 20) {
					currentState = 626;
					break;
				} else {
					goto case 605;
				}
			}
			case 605: {
				stateStack.Push(606);
				goto case 23;
			}
			case 606: {
				PopContext();
				goto case 607;
			}
			case 607: {
				if (la == null) { currentState = 607; break; }
				if (la.kind == 40) {
					stateStack.Push(607);
					goto case 441;
				} else {
					goto case 608;
				}
			}
			case 608: {
				if (la == null) { currentState = 608; break; }
				if (set[151].Get(la.kind)) {
					currentState = 625;
					break;
				} else {
					if (la.kind == 128 || la.kind == 198) {
						PushContext(Context.Member, la, t);
						goto case 609;
					} else {
						currentState = stateStack.Pop();
						goto switchlbl;
					}
				}
			}
			case 609: {
				if (la == null) { currentState = 609; break; }
				if (la.kind == 128) {
					currentState = 610;
					break;
				} else {
					if (la.kind == 198) {
						currentState = 610;
						break;
					} else {
						Error(la);
						goto case 610;
					}
				}
			}
			case 610: {
				if (la == null) { currentState = 610; break; }
				if (la.kind == 37) {
					stateStack.Push(611);
					goto case 424;
				} else {
					goto case 611;
				}
			}
			case 611: {
				stateStack.Push(612);
				goto case 259;
			}
			case 612: {
				if (la == null) { currentState = 612; break; }
				Expect(113, la); // "End"
				currentState = 613;
				break;
			}
			case 613: {
				if (la == null) { currentState = 613; break; }
				if (la.kind == 128) {
					currentState = 614;
					break;
				} else {
					if (la.kind == 198) {
						currentState = 614;
						break;
					} else {
						Error(la);
						goto case 614;
					}
				}
			}
			case 614: {
				stateStack.Push(615);
				goto case 23;
			}
			case 615: {
				if (la == null) { currentState = 615; break; }
				if (set[109].Get(la.kind)) {
					goto case 618;
				} else {
					goto case 616;
				}
			}
			case 616: {
				if (la == null) { currentState = 616; break; }
				Expect(113, la); // "End"
				currentState = 617;
				break;
			}
			case 617: {
				if (la == null) { currentState = 617; break; }
				Expect(186, la); // "Property"
				currentState = 23;
				break;
			}
			case 618: {
				if (la == null) { currentState = 618; break; }
				if (la.kind == 40) {
					stateStack.Push(618);
					goto case 441;
				} else {
					goto case 619;
				}
			}
			case 619: {
				if (la == null) { currentState = 619; break; }
				if (set[151].Get(la.kind)) {
					currentState = 619;
					break;
				} else {
					if (la.kind == 128) {
						currentState = 620;
						break;
					} else {
						if (la.kind == 198) {
							currentState = 620;
							break;
						} else {
							Error(la);
							goto case 620;
						}
					}
				}
			}
			case 620: {
				if (la == null) { currentState = 620; break; }
				if (la.kind == 37) {
					stateStack.Push(621);
					goto case 424;
				} else {
					goto case 621;
				}
			}
			case 621: {
				stateStack.Push(622);
				goto case 259;
			}
			case 622: {
				if (la == null) { currentState = 622; break; }
				Expect(113, la); // "End"
				currentState = 623;
				break;
			}
			case 623: {
				if (la == null) { currentState = 623; break; }
				if (la.kind == 128) {
					currentState = 624;
					break;
				} else {
					if (la.kind == 198) {
						currentState = 624;
						break;
					} else {
						Error(la);
						goto case 624;
					}
				}
			}
			case 624: {
				stateStack.Push(616);
				goto case 23;
			}
			case 625: {
				SetIdentifierExpected(la);
				goto case 608;
			}
			case 626: {
				stateStack.Push(605);
				goto case 55;
			}
			case 627: {
				PushContext(Context.Type, la, t);
				stateStack.Push(628);
				goto case 37;
			}
			case 628: {
				PopContext();
				goto case 629;
			}
			case 629: {
				if (la == null) { currentState = 629; break; }
				if (la.kind == 22) {
					currentState = 630;
					break;
				} else {
					goto case 604;
				}
			}
			case 630: {
				PushContext(Context.Type, la, t);
				stateStack.Push(631);
				goto case 37;
			}
			case 631: {
				PopContext();
				goto case 629;
			}
			case 632: {
				PushContext(Context.Type, la, t);
				goto case 633;
			}
			case 633: {
				if (la == null) { currentState = 633; break; }
				if (la.kind == 40) {
					stateStack.Push(633);
					goto case 441;
				} else {
					if (la.kind == 162) {
						stateStack.Push(634);
						goto case 85;
					} else {
						if (set[16].Get(la.kind)) {
							stateStack.Push(634);
							goto case 37;
						} else {
							Error(la);
							goto case 634;
						}
					}
				}
			}
			case 634: {
				PopContext();
				goto case 603;
			}
			case 635: {
				if (la == null) { currentState = 635; break; }
				Expect(98, la); // "Custom"
				currentState = 636;
				break;
			}
			case 636: {
				stateStack.Push(637);
				goto case 647;
			}
			case 637: {
				if (la == null) { currentState = 637; break; }
				if (set[114].Get(la.kind)) {
					goto case 639;
				} else {
					Expect(113, la); // "End"
					currentState = 638;
					break;
				}
			}
			case 638: {
				if (la == null) { currentState = 638; break; }
				Expect(119, la); // "Event"
				currentState = 23;
				break;
			}
			case 639: {
				if (la == null) { currentState = 639; break; }
				if (la.kind == 40) {
					stateStack.Push(639);
					goto case 441;
				} else {
					if (la.kind == 56) {
						currentState = 640;
						break;
					} else {
						if (la.kind == 193) {
							currentState = 640;
							break;
						} else {
							if (la.kind == 189) {
								currentState = 640;
								break;
							} else {
								Error(la);
								goto case 640;
							}
						}
					}
				}
			}
			case 640: {
				if (la == null) { currentState = 640; break; }
				Expect(37, la); // "("
				currentState = 641;
				break;
			}
			case 641: {
				stateStack.Push(642);
				goto case 428;
			}
			case 642: {
				if (la == null) { currentState = 642; break; }
				Expect(38, la); // ")"
				currentState = 643;
				break;
			}
			case 643: {
				stateStack.Push(644);
				goto case 259;
			}
			case 644: {
				if (la == null) { currentState = 644; break; }
				Expect(113, la); // "End"
				currentState = 645;
				break;
			}
			case 645: {
				if (la == null) { currentState = 645; break; }
				if (la.kind == 56) {
					currentState = 646;
					break;
				} else {
					if (la.kind == 193) {
						currentState = 646;
						break;
					} else {
						if (la.kind == 189) {
							currentState = 646;
							break;
						} else {
							Error(la);
							goto case 646;
						}
					}
				}
			}
			case 646: {
				stateStack.Push(637);
				goto case 23;
			}
			case 647: {
				if (la == null) { currentState = 647; break; }
				Expect(119, la); // "Event"
				currentState = 648;
				break;
			}
			case 648: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(649);
				goto case 205;
			}
			case 649: {
				PopContext();
				goto case 650;
			}
			case 650: {
				if (la == null) { currentState = 650; break; }
				if (la.kind == 63) {
					currentState = 657;
					break;
				} else {
					if (set[152].Get(la.kind)) {
						if (la.kind == 37) {
							stateStack.Push(651);
							goto case 424;
						} else {
							goto case 651;
						}
					} else {
						Error(la);
						goto case 651;
					}
				}
			}
			case 651: {
				if (la == null) { currentState = 651; break; }
				if (la.kind == 136) {
					currentState = 652;
					break;
				} else {
					goto case 23;
				}
			}
			case 652: {
				PushContext(Context.Type, la, t);
				stateStack.Push(653);
				goto case 37;
			}
			case 653: {
				PopContext();
				goto case 654;
			}
			case 654: {
				if (la == null) { currentState = 654; break; }
				if (la.kind == 22) {
					currentState = 655;
					break;
				} else {
					goto case 23;
				}
			}
			case 655: {
				PushContext(Context.Type, la, t);
				stateStack.Push(656);
				goto case 37;
			}
			case 656: {
				PopContext();
				goto case 654;
			}
			case 657: {
				PushContext(Context.Type, la, t);
				stateStack.Push(658);
				goto case 37;
			}
			case 658: {
				PopContext();
				goto case 651;
			}
			case 659: {
				if (la == null) { currentState = 659; break; }
				Expect(101, la); // "Declare"
				currentState = 660;
				break;
			}
			case 660: {
				if (la == null) { currentState = 660; break; }
				if (la.kind == 62 || la.kind == 66 || la.kind == 223) {
					currentState = 661;
					break;
				} else {
					goto case 661;
				}
			}
			case 661: {
				if (la == null) { currentState = 661; break; }
				if (la.kind == 210) {
					currentState = 662;
					break;
				} else {
					if (la.kind == 127) {
						currentState = 662;
						break;
					} else {
						Error(la);
						goto case 662;
					}
				}
			}
			case 662: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(663);
				goto case 205;
			}
			case 663: {
				PopContext();
				goto case 664;
			}
			case 664: {
				if (la == null) { currentState = 664; break; }
				Expect(149, la); // "Lib"
				currentState = 665;
				break;
			}
			case 665: {
				if (la == null) { currentState = 665; break; }
				Expect(3, la); // LiteralString
				currentState = 666;
				break;
			}
			case 666: {
				if (la == null) { currentState = 666; break; }
				if (la.kind == 59) {
					currentState = 671;
					break;
				} else {
					goto case 667;
				}
			}
			case 667: {
				if (la == null) { currentState = 667; break; }
				if (la.kind == 37) {
					stateStack.Push(668);
					goto case 424;
				} else {
					goto case 668;
				}
			}
			case 668: {
				if (la == null) { currentState = 668; break; }
				if (la.kind == 63) {
					currentState = 669;
					break;
				} else {
					goto case 23;
				}
			}
			case 669: {
				PushContext(Context.Type, la, t);
				stateStack.Push(670);
				goto case 37;
			}
			case 670: {
				PopContext();
				goto case 23;
			}
			case 671: {
				if (la == null) { currentState = 671; break; }
				Expect(3, la); // LiteralString
				currentState = 667;
				break;
			}
			case 672: {
				if (la == null) { currentState = 672; break; }
				if (la.kind == 210) {
					currentState = 673;
					break;
				} else {
					if (la.kind == 127) {
						currentState = 673;
						break;
					} else {
						Error(la);
						goto case 673;
					}
				}
			}
			case 673: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				goto case 674;
			}
			case 674: {
				if (la == null) { currentState = 674; break; }
				currentState = 675;
				break;
			}
			case 675: {
				PopContext();
				goto case 676;
			}
			case 676: {
				if (la == null) { currentState = 676; break; }
				if (la.kind == 37) {
					currentState = 686;
					break;
				} else {
					if (la.kind == 63) {
						currentState = 684;
						break;
					} else {
						goto case 677;
					}
				}
			}
			case 677: {
				if (la == null) { currentState = 677; break; }
				if (la.kind == 134 || la.kind == 136) {
					currentState = 681;
					break;
				} else {
					goto case 678;
				}
			}
			case 678: {
				stateStack.Push(679);
				goto case 259;
			}
			case 679: {
				if (la == null) { currentState = 679; break; }
				Expect(113, la); // "End"
				currentState = 680;
				break;
			}
			case 680: {
				if (la == null) { currentState = 680; break; }
				if (la.kind == 210) {
					currentState = 23;
					break;
				} else {
					if (la.kind == 127) {
						currentState = 23;
						break;
					} else {
						goto case 528;
					}
				}
			}
			case 681: {
				if (la == null) { currentState = 681; break; }
				if (la.kind == 153 || la.kind == 158 || la.kind == 159) {
					currentState = 683;
					break;
				} else {
					goto case 682;
				}
			}
			case 682: {
				stateStack.Push(678);
				goto case 37;
			}
			case 683: {
				if (la == null) { currentState = 683; break; }
				Expect(26, la); // "."
				currentState = 682;
				break;
			}
			case 684: {
				PushContext(Context.Type, la, t);
				stateStack.Push(685);
				goto case 37;
			}
			case 685: {
				PopContext();
				goto case 677;
			}
			case 686: {
				SetIdentifierExpected(la);
				goto case 687;
			}
			case 687: {
				if (la == null) { currentState = 687; break; }
				if (set[150].Get(la.kind)) {
					if (la.kind == 169) {
						currentState = 689;
						break;
					} else {
						if (set[77].Get(la.kind)) {
							stateStack.Push(688);
							goto case 428;
						} else {
							Error(la);
							goto case 688;
						}
					}
				} else {
					goto case 688;
				}
			}
			case 688: {
				if (la == null) { currentState = 688; break; }
				Expect(38, la); // ")"
				currentState = 676;
				break;
			}
			case 689: {
				stateStack.Push(688);
				goto case 498;
			}
			case 690: {
				stateStack.Push(691);
				SetIdentifierExpected(la);
				goto case 692;
			}
			case 691: {
				if (la == null) { currentState = 691; break; }
				if (la.kind == 22) {
					currentState = 690;
					break;
				} else {
					goto case 23;
				}
			}
			case 692: {
				if (la == null) { currentState = 692; break; }
				if (la.kind == 88) {
					currentState = 693;
					break;
				} else {
					goto case 693;
				}
			}
			case 693: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				stateStack.Push(694);
				goto case 704;
			}
			case 694: {
				PopContext();
				goto case 695;
			}
			case 695: {
				if (la == null) { currentState = 695; break; }
				if (la.kind == 33) {
					currentState = 696;
					break;
				} else {
					goto case 696;
				}
			}
			case 696: {
				if (la == null) { currentState = 696; break; }
				if (la.kind == 37) {
					currentState = 701;
					break;
				} else {
					if (la.kind == 63) {
						currentState = 698;
						break;
					} else {
						goto case 697;
					}
				}
			}
			case 697: {
				if (la == null) { currentState = 697; break; }
				if (la.kind == 20) {
					currentState = 55;
					break;
				} else {
					currentState = stateStack.Pop();
					goto switchlbl;
				}
			}
			case 698: {
				PushContext(Context.Type, la, t);
				goto case 699;
			}
			case 699: {
				if (la == null) { currentState = 699; break; }
				if (la.kind == 162) {
					stateStack.Push(700);
					goto case 85;
				} else {
					if (set[16].Get(la.kind)) {
						stateStack.Push(700);
						goto case 37;
					} else {
						Error(la);
						goto case 700;
					}
				}
			}
			case 700: {
				PopContext();
				goto case 697;
			}
			case 701: {
				nextTokenIsPotentialStartOfExpression = true;
				goto case 702;
			}
			case 702: {
				if (la == null) { currentState = 702; break; }
				if (set[23].Get(la.kind)) {
					stateStack.Push(703);
					goto case 55;
				} else {
					goto case 703;
				}
			}
			case 703: {
				if (la == null) { currentState = 703; break; }
				if (la.kind == 22) {
					currentState = 701;
					break;
				} else {
					Expect(38, la); // ")"
					currentState = 696;
					break;
				}
			}
			case 704: {
				if (la == null) { currentState = 704; break; }
				if (set[136].Get(la.kind)) {
					currentState = stateStack.Pop();
					break;
				} else {
					if (la.kind == 58) {
						goto case 144;
					} else {
						if (la.kind == 126) {
							goto case 128;
						} else {
							goto case 6;
						}
					}
				}
			}
			case 705: {
				isMissingModifier = false;
				goto case 579;
			}
			case 706: {
				if (la == null) { currentState = 706; break; }
				Expect(136, la); // "Implements"
				currentState = 707;
				break;
			}
			case 707: {
				PushContext(Context.Type, la, t);
				stateStack.Push(708);
				goto case 37;
			}
			case 708: {
				PopContext();
				goto case 709;
			}
			case 709: {
				if (la == null) { currentState = 709; break; }
				if (la.kind == 22) {
					currentState = 710;
					break;
				} else {
					stateStack.Push(571);
					goto case 23;
				}
			}
			case 710: {
				PushContext(Context.Type, la, t);
				stateStack.Push(711);
				goto case 37;
			}
			case 711: {
				PopContext();
				goto case 709;
			}
			case 712: {
				if (la == null) { currentState = 712; break; }
				Expect(140, la); // "Inherits"
				currentState = 713;
				break;
			}
			case 713: {
				PushContext(Context.Type, la, t);
				stateStack.Push(714);
				goto case 37;
			}
			case 714: {
				PopContext();
				stateStack.Push(569);
				goto case 23;
			}
			case 715: {
				if (la == null) { currentState = 715; break; }
				Expect(169, la); // "Of"
				currentState = 716;
				break;
			}
			case 716: {
				stateStack.Push(717);
				goto case 498;
			}
			case 717: {
				if (la == null) { currentState = 717; break; }
				Expect(38, la); // ")"
				currentState = 566;
				break;
			}
			case 718: {
				isMissingModifier = false;
				goto case 28;
			}
			case 719: {
				PushContext(Context.Type, la, t);
				stateStack.Push(720);
				goto case 37;
			}
			case 720: {
				PopContext();
				goto case 721;
			}
			case 721: {
				if (la == null) { currentState = 721; break; }
				if (la.kind == 22) {
					currentState = 722;
					break;
				} else {
					stateStack.Push(17);
					goto case 23;
				}
			}
			case 722: {
				PushContext(Context.Type, la, t);
				stateStack.Push(723);
				goto case 37;
			}
			case 723: {
				PopContext();
				goto case 721;
			}
			case 724: {
				if (la == null) { currentState = 724; break; }
				Expect(169, la); // "Of"
				currentState = 725;
				break;
			}
			case 725: {
				stateStack.Push(726);
				goto case 498;
			}
			case 726: {
				if (la == null) { currentState = 726; break; }
				Expect(38, la); // ")"
				currentState = 14;
				break;
			}
			case 727: {
				PushContext(Context.Identifier, la, t);
				SetIdentifierExpected(la);
				goto case 728;
			}
			case 728: {
				if (la == null) { currentState = 728; break; }
				if (set[49].Get(la.kind)) {
					currentState = 728;
					break;
				} else {
					PopContext();
					stateStack.Push(729);
					goto case 23;
				}
			}
			case 729: {
				if (la == null) { currentState = 729; break; }
				if (set[3].Get(la.kind)) {
					stateStack.Push(729);
					goto case 5;
				} else {
					Expect(113, la); // "End"
					currentState = 730;
					break;
				}
			}
			case 730: {
				if (la == null) { currentState = 730; break; }
				Expect(160, la); // "Namespace"
				currentState = 23;
				break;
			}
			case 731: {
				if (la == null) { currentState = 731; break; }
				Expect(137, la); // "Imports"
				currentState = 732;
				break;
			}
			case 732: {
				PushContext(Context.Importable, la, t);
				nextTokenIsStartOfImportsOrAccessExpression = true;	
				goto case 733;
			}
			case 733: {
				if (la == null) { currentState = 733; break; }
				if (set[153].Get(la.kind)) {
					currentState = 739;
					break;
				} else {
					if (la.kind == 10) {
						currentState = 735;
						break;
					} else {
						Error(la);
						goto case 734;
					}
				}
			}
			case 734: {
				PopContext();
				goto case 23;
			}
			case 735: {
				stateStack.Push(736);
				goto case 205;
			}
			case 736: {
				if (la == null) { currentState = 736; break; }
				Expect(20, la); // "="
				currentState = 737;
				break;
			}
			case 737: {
				if (la == null) { currentState = 737; break; }
				Expect(3, la); // LiteralString
				currentState = 738;
				break;
			}
			case 738: {
				if (la == null) { currentState = 738; break; }
				Expect(11, la); // XmlCloseTag
				currentState = 734;
				break;
			}
			case 739: {
				if (la == null) { currentState = 739; break; }
				if (la.kind == 37) {
					stateStack.Push(739);
					goto case 42;
				} else {
					if (la.kind == 20 || la.kind == 26) {
						currentState = 740;
						break;
					} else {
						goto case 734;
					}
				}
			}
			case 740: {
				stateStack.Push(734);
				goto case 37;
			}
			case 741: {
				if (la == null) { currentState = 741; break; }
				Expect(173, la); // "Option"
				currentState = 742;
				break;
			}
			case 742: {
				if (la == null) { currentState = 742; break; }
				if (la.kind == 121 || la.kind == 139 || la.kind == 207) {
					currentState = 744;
					break;
				} else {
					if (la.kind == 87) {
						currentState = 743;
						break;
					} else {
						goto case 528;
					}
				}
			}
			case 743: {
				if (la == null) { currentState = 743; break; }
				if (la.kind == 213) {
					currentState = 23;
					break;
				} else {
					if (la.kind == 67) {
						currentState = 23;
						break;
					} else {
						goto case 528;
					}
				}
			}
			case 744: {
				if (la == null) { currentState = 744; break; }
				if (la.kind == 170 || la.kind == 171) {
					currentState = 23;
					break;
				} else {
					goto case 23;
				}
			}
		}

		if (la != null) {
			t = la;
			nextTokenIsPotentialStartOfExpression = false;
			readXmlIdentifier = false;
			nextTokenIsStartOfImportsOrAccessExpression = false;
			wasQualifierTokenAtStart = false;
			identifierExpected = false;
		}
	}
コード例 #12
0
ファイル: Parser.cs プロジェクト: ThomasZitzler/ILSpy
	void Error(Token la) 
	{
		output.AppendLine("not expected: " + la);
		//Console.WriteLine("not expected: " + la);
		errors.Add(la);
	}
コード例 #13
0
ファイル: Parser.cs プロジェクト: ThomasZitzler/ILSpy
	void Expect(int expectedKind, Token la)
	{
		if (la.kind != expectedKind) {
			Error(la);
			output.AppendLine("expected: " + expectedKind);
			//Console.WriteLine("expected: " + expectedKind);
		}
	}
コード例 #14
0
        /*
         *  True, if "<" is followed by the ident "assembly" or "module"
         */
        bool IsGlobalAttrTarget()
        {
            Token pt = Peek(1);

            return(la.kind == Tokens.LessThan && (string.Equals(pt.val, "assembly", StringComparison.InvariantCultureIgnoreCase) || string.Equals(pt.val, "module", StringComparison.InvariantCultureIgnoreCase)));
        }
コード例 #15
0
 static bool IsIdentifierToken(Token tk)
 {
     return(Tokens.IdentifierTokens[tk.kind] || tk.kind == Tokens.Identifier);
 }