From 8588f756f93244e688ed5254364f24fba2bcf582 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sat, 26 Jun 2010 23:20:06 +0000 Subject: [PATCH] - implemented correct lexing of processing instructions - implemented correct handling of nested embedded VB blocks in XML - implemented XmlAccessOperators git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@6002 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Project/Src/Lexer/VBNet/KeywordList.txt | 2 + .../Project/Src/Lexer/VBNet/Lexer.cs | 107 +- .../Project/Src/Lexer/VBNet/Tokens.cs | 422 +- .../VBNet/Experimental/ExpressionFinder.atg | 230 +- .../VBNet/Experimental/ExpressionFinder.cs | 7 +- .../Src/Parser/VBNet/Experimental/Parser.cs | 3019 +++++------ .../VBNet/Experimental/PushParser.frame | 3 + .../Experimental/Test/XmlModeLexerTests.cs | 97 +- .../Project/Src/Parser/VBNet/Parser.cs | 4520 +++++++++-------- .../Project/Src/Parser/VBNet/VBNET.ATG | 2 + .../NRefactory/Test/Lexer/VBNet/LexerTests.cs | 14 + 11 files changed, 4479 insertions(+), 3944 deletions(-) diff --git a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt index 98bb78e815..0bd452c6eb 100644 --- a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt +++ b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt @@ -41,6 +41,8 @@ ConcatString = "&" Div ="/" DivInteger = "\\" Dot = "." +TripleDot = "..." +DotAt = ".@" # Exclamation mark = Dictionary access operator (not always a token, sometimes it's a type character) ExclamationMark = "!" Minus = "-" diff --git a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Lexer.cs b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Lexer.cs index 4e1eb392cb..aeb5822605 100644 --- a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Lexer.cs +++ b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Lexer.cs @@ -6,10 +6,12 @@ // using System; +using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml; +using ICSharpCode.NRefactory.Ast; using ICSharpCode.NRefactory.Parser.VBNet.Experimental; namespace ICSharpCode.NRefactory.Parser.VB @@ -55,8 +57,20 @@ namespace ICSharpCode.NRefactory.Parser.VB } bool misreadExclamationMarkAsTypeCharacter; - bool inXmlMode, inXmlTag, inXmlCloseTag, wasComment; - int level = 0; + bool inXmlMode; + + class XmlModeStackInfo { + public bool inXmlTag, inXmlCloseTag, wasComment, wasProcessingInstruction; + public int level; + + public XmlModeStackInfo(bool isSpecial) + { + level = isSpecial ? -1 : 0; + inXmlTag = inXmlCloseTag = wasComment = wasProcessingInstruction = false; + } + } + + Stack xmlModeStack = new Stack(); Token NextInternal() { @@ -64,6 +78,7 @@ namespace ICSharpCode.NRefactory.Parser.VB misreadExclamationMarkAsTypeCharacter = false; return new Token(Tokens.ExclamationMark, Col - 1, Line); } + unchecked { while (true) { Location startLocation = new Location(Col, Line); @@ -72,7 +87,8 @@ namespace ICSharpCode.NRefactory.Parser.VB return new Token(Tokens.EOF, Col, Line, string.Empty); char ch = (char)nextChar; #region XML mode - if (inXmlMode && level <= 0 && !wasComment) { + if (inXmlMode && xmlModeStack.Peek().level <= 0 && !xmlModeStack.Peek().wasComment && !xmlModeStack.Peek().wasProcessingInstruction && !xmlModeStack.Peek().inXmlTag) { + XmlModeStackInfo info = xmlModeStack.Peek(); int peek; while (true) { int step = 0; @@ -91,63 +107,60 @@ namespace ICSharpCode.NRefactory.Parser.VB break; } inXmlMode = false; + xmlModeStack.Pop(); } if (inXmlMode) { + XmlModeStackInfo info = xmlModeStack.Peek(); int x = Col - 1; int y = Line; switch (ch) { case '<': if (ReaderPeek() == '/') { ReaderRead(); - inXmlCloseTag = true; + info.inXmlCloseTag = true; return new Token(Tokens.XmlOpenEndTag, x, y); } - if (ReaderPeek() == '%') { - // TODO : suspend xml mode tracking - ReaderRead(); + if (ReaderPeek() == '%' && ReaderPeek(1) == '=') { + inXmlMode = false; + ReaderRead(); ReaderRead(); return new Token(Tokens.XmlStartInlineVB, x, y); } if (ReaderPeek() == '?') { ReaderRead(); + info.inXmlTag = true; return new Token(Tokens.XmlProcessingInstructionStart, x, y); } if (ReaderPeek() == '!') { ReaderRead(); Token token = ReadXmlCommentOrCData(x, y); - wasComment = token.Kind == Tokens.XmlComment; + info.wasComment = token.Kind == Tokens.XmlComment; ReaderRead(); return token; } - level++; - inXmlTag = true; + info.level++; + info.inXmlTag = true; return new Token(Tokens.XmlOpenTag, x, y); case '/': if (ReaderPeek() == '>') { ReaderRead(); - inXmlTag = false; - level--; + info.inXmlTag = false; + info.level--; return new Token(Tokens.XmlCloseTagEmptyElement, x, y); } break; - case '%': - if (ReaderPeek() == '>') { - // TODO : resume xml mode tracking - ReaderRead(); - return new Token(Tokens.XmlEndInlineVB, x, y); - } - break; case '?': if (ReaderPeek() == '>') { ReaderRead(); + info.inXmlTag = false; + info.wasProcessingInstruction = true; return new Token(Tokens.XmlProcessingInstructionEnd, x, y); } break; case '>': - /* workaround for XML Imports */ - if (inXmlCloseTag || (inXmlTag && ef.CurrentBlock.context == Context.Global)) - level--; - wasComment = false; - inXmlTag = inXmlCloseTag = false; + if (info.inXmlCloseTag) + info.level--; + info.wasComment = info.wasProcessingInstruction = false; + info.inXmlTag = info.inXmlCloseTag = false; return new Token(Tokens.XmlCloseTag, x, y); case '=': return new Token(Tokens.Assign, x, y); @@ -156,8 +169,7 @@ namespace ICSharpCode.NRefactory.Parser.VB string s = ReadXmlString(ch); return new Token(Tokens.LiteralString, x, y, ch + s + ch, s, LiteralFormat.StringLiteral); default: - // TODO : can be either identifier or xml content - if (inXmlCloseTag || inXmlTag) { + if (info.inXmlCloseTag || info.inXmlTag) { if (XmlConvert.IsWhitespaceChar(ch)) continue; return new Token(Tokens.Identifier, x, y, ReadXmlIdent(ch)); @@ -327,31 +339,44 @@ namespace ICSharpCode.NRefactory.Parser.VB } return new Token(Tokens.LiteralString, x, y, '"' + s + '"', s, LiteralFormat.StringLiteral); } + if (ch == '%' && ReaderPeek() == '>') { + int x = Col - 1; + int y = Line; + inXmlMode = true; + ReaderRead(); + return new Token(Tokens.XmlEndInlineVB, x, y); + } #endregion - if (ch == '<' && ef.NextTokenIsPotentialStartOfXmlMode) { + if (ch == '<' && (ef.NextTokenIsPotentialStartOfXmlMode || ef.NextTokenIsStartOfImportsOrAccessExpression)) { + xmlModeStack.Push(new XmlModeStackInfo(ef.NextTokenIsStartOfImportsOrAccessExpression)); + XmlModeStackInfo info = xmlModeStack.Peek(); int x = Col - 1; int y = Line; inXmlMode = true; - level = 0; if (ReaderPeek() == '/') { ReaderRead(); - inXmlCloseTag = true; + info.inXmlCloseTag = true; return new Token(Tokens.XmlOpenEndTag, x, y); } - if (ReaderPeek() == '%') { + if (ReaderPeek() == '%' && ReaderPeek(1) == '=') { // TODO : suspend xml mode tracking - ReaderRead(); + ReaderRead(); ReaderRead(); return new Token(Tokens.XmlStartInlineVB, x, y); } if (ReaderPeek() == '!') { ReaderRead(); Token t = ReadXmlCommentOrCData(x, y); - wasComment = t.Kind == Tokens.XmlComment; + info.wasComment = t.Kind == Tokens.XmlComment; ReaderRead(); return t; } - inXmlTag = true; - level = 1; + if (ReaderPeek() == '?') { + ReaderRead(); + info.inXmlTag = true; + return new Token(Tokens.XmlProcessingInstructionStart, x, y); + } + info.inXmlTag = true; + info.level++; return new Token(Tokens.XmlOpenTag, x, y); } Token token = ReadOperator(ch); @@ -960,9 +985,17 @@ namespace ICSharpCode.NRefactory.Parser.VB return new Token(Tokens.Comma, x, y); case '.': // Prevent OverflowException when Peek returns -1 - int tmp = ReaderPeek(); - if (tmp > 0 && Char.IsDigit((char)tmp)) { - return ReadDigit('.', Col); + int tmp = ReaderPeek(); int tmp2 = ReaderPeek(1); + if (tmp > 0) { + if (char.IsDigit((char)tmp)) + return ReadDigit('.', Col); + else if ((char)tmp == '@') { + ReaderRead(); + return new Token(Tokens.DotAt, x, y); + } else if ((char)tmp == '.' && tmp2 > 0 && (char)tmp2 == '.') { + ReaderRead(); ReaderRead(); + return new Token(Tokens.TripleDot, x, y); + } } return new Token(Tokens.Dot, x, y); case '(': diff --git a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs index ea0daadfd1..80d537d3db 100644 --- a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs +++ b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs @@ -37,218 +37,220 @@ namespace ICSharpCode.NRefactory.Parser.VB public const int Div = 25; public const int DivInteger = 26; public const int Dot = 27; - public const int ExclamationMark = 28; - public const int Minus = 29; - public const int Plus = 30; - public const int Power = 31; - public const int QuestionMark = 32; - public const int Times = 33; - public const int OpenCurlyBrace = 34; - public const int CloseCurlyBrace = 35; - public const int OpenParenthesis = 36; - public const int CloseParenthesis = 37; - public const int GreaterThan = 38; - public const int LessThan = 39; - public const int NotEqual = 40; - public const int GreaterEqual = 41; - public const int LessEqual = 42; - public const int ShiftLeft = 43; - public const int ShiftRight = 44; - public const int PlusAssign = 45; - public const int PowerAssign = 46; - public const int MinusAssign = 47; - public const int TimesAssign = 48; - public const int DivAssign = 49; - public const int DivIntegerAssign = 50; - public const int ShiftLeftAssign = 51; - public const int ShiftRightAssign = 52; - public const int ConcatStringAssign = 53; - public const int ColonAssign = 54; + public const int TripleDot = 28; + public const int DotAt = 29; + public const int ExclamationMark = 30; + public const int Minus = 31; + public const int Plus = 32; + public const int Power = 33; + public const int QuestionMark = 34; + public const int Times = 35; + public const int OpenCurlyBrace = 36; + public const int CloseCurlyBrace = 37; + public const int OpenParenthesis = 38; + public const int CloseParenthesis = 39; + public const int GreaterThan = 40; + public const int LessThan = 41; + public const int NotEqual = 42; + public const int GreaterEqual = 43; + public const int LessEqual = 44; + public const int ShiftLeft = 45; + public const int ShiftRight = 46; + public const int PlusAssign = 47; + public const int PowerAssign = 48; + public const int MinusAssign = 49; + public const int TimesAssign = 50; + public const int DivAssign = 51; + public const int DivIntegerAssign = 52; + public const int ShiftLeftAssign = 53; + public const int ShiftRightAssign = 54; + public const int ConcatStringAssign = 55; + public const int ColonAssign = 56; // ----- keywords ----- - public const int AddHandler = 55; - public const int AddressOf = 56; - public const int Aggregate = 57; - public const int Alias = 58; - public const int And = 59; - public const int AndAlso = 60; - public const int Ansi = 61; - public const int As = 62; - public const int Ascending = 63; - public const int Assembly = 64; - public const int Auto = 65; - public const int Binary = 66; - public const int Boolean = 67; - public const int ByRef = 68; - public const int By = 69; - public const int Byte = 70; - public const int ByVal = 71; - public const int Call = 72; - public const int Case = 73; - public const int Catch = 74; - public const int CBool = 75; - public const int CByte = 76; - public const int CChar = 77; - public const int CDate = 78; - public const int CDbl = 79; - public const int CDec = 80; - public const int Char = 81; - public const int CInt = 82; - public const int Class = 83; - public const int CLng = 84; - public const int CObj = 85; - public const int Compare = 86; - public const int Const = 87; - public const int Continue = 88; - public const int CSByte = 89; - public const int CShort = 90; - public const int CSng = 91; - public const int CStr = 92; - public const int CType = 93; - public const int CUInt = 94; - public const int CULng = 95; - public const int CUShort = 96; - public const int Custom = 97; - public const int Date = 98; - public const int Decimal = 99; - public const int Declare = 100; - public const int Default = 101; - public const int Delegate = 102; - public const int Descending = 103; - public const int Dim = 104; - public const int DirectCast = 105; - public const int Distinct = 106; - public const int Do = 107; - public const int Double = 108; - public const int Each = 109; - public const int Else = 110; - public const int ElseIf = 111; - public const int End = 112; - public const int EndIf = 113; - public const int Enum = 114; - new public const int Equals = 115; - public const int Erase = 116; - public const int Error = 117; - public const int Event = 118; - public const int Exit = 119; - public const int Explicit = 120; - public const int False = 121; - public const int Finally = 122; - public const int For = 123; - public const int Friend = 124; - public const int From = 125; - public const int Function = 126; - public const int Get = 127; - new public const int GetType = 128; - public const int Global = 129; - public const int GoSub = 130; - public const int GoTo = 131; - public const int Group = 132; - public const int Handles = 133; - public const int If = 134; - public const int Implements = 135; - public const int Imports = 136; - public const int In = 137; - public const int Infer = 138; - public const int Inherits = 139; - public const int Integer = 140; - public const int Interface = 141; - public const int Into = 142; - public const int Is = 143; - public const int IsNot = 144; - public const int Join = 145; - public const int Key = 146; - public const int Let = 147; - public const int Lib = 148; - public const int Like = 149; - public const int Long = 150; - public const int Loop = 151; - public const int Me = 152; - public const int Mod = 153; - public const int Module = 154; - public const int MustInherit = 155; - public const int MustOverride = 156; - public const int MyBase = 157; - public const int MyClass = 158; - public const int Namespace = 159; - public const int Narrowing = 160; - public const int New = 161; - public const int Next = 162; - public const int Not = 163; - public const int Nothing = 164; - public const int NotInheritable = 165; - public const int NotOverridable = 166; - public const int Object = 167; - public const int Of = 168; - public const int Off = 169; - public const int On = 170; - public const int Operator = 171; - public const int Option = 172; - public const int Optional = 173; - public const int Or = 174; - public const int Order = 175; - public const int OrElse = 176; - public const int Overloads = 177; - public const int Overridable = 178; - public const int Overrides = 179; - public const int ParamArray = 180; - public const int Partial = 181; - public const int Preserve = 182; - public const int Private = 183; - public const int Property = 184; - public const int Protected = 185; - public const int Public = 186; - public const int RaiseEvent = 187; - public const int ReadOnly = 188; - public const int ReDim = 189; - public const int Rem = 190; - public const int RemoveHandler = 191; - public const int Resume = 192; - public const int Return = 193; - public const int SByte = 194; - public const int Select = 195; - public const int Set = 196; - public const int Shadows = 197; - public const int Shared = 198; - public const int Short = 199; - public const int Single = 200; - public const int Skip = 201; - public const int Static = 202; - public const int Step = 203; - public const int Stop = 204; - public const int Strict = 205; - public const int String = 206; - public const int Structure = 207; - public const int Sub = 208; - public const int SyncLock = 209; - public const int Take = 210; - public const int Text = 211; - public const int Then = 212; - public const int Throw = 213; - public const int To = 214; - public const int True = 215; - public const int Try = 216; - public const int TryCast = 217; - public const int TypeOf = 218; - public const int UInteger = 219; - public const int ULong = 220; - public const int Unicode = 221; - public const int Until = 222; - public const int UShort = 223; - public const int Using = 224; - public const int Variant = 225; - public const int Wend = 226; - public const int When = 227; - public const int Where = 228; - public const int While = 229; - public const int Widening = 230; - public const int With = 231; - public const int WithEvents = 232; - public const int WriteOnly = 233; - public const int Xor = 234; - public const int GetXmlNamespace = 235; + public const int AddHandler = 57; + public const int AddressOf = 58; + public const int Aggregate = 59; + public const int Alias = 60; + public const int And = 61; + public const int AndAlso = 62; + public const int Ansi = 63; + public const int As = 64; + public const int Ascending = 65; + public const int Assembly = 66; + public const int Auto = 67; + public const int Binary = 68; + public const int Boolean = 69; + public const int ByRef = 70; + public const int By = 71; + public const int Byte = 72; + public const int ByVal = 73; + public const int Call = 74; + public const int Case = 75; + public const int Catch = 76; + public const int CBool = 77; + public const int CByte = 78; + public const int CChar = 79; + public const int CDate = 80; + public const int CDbl = 81; + public const int CDec = 82; + public const int Char = 83; + public const int CInt = 84; + public const int Class = 85; + public const int CLng = 86; + public const int CObj = 87; + public const int Compare = 88; + public const int Const = 89; + public const int Continue = 90; + public const int CSByte = 91; + public const int CShort = 92; + public const int CSng = 93; + public const int CStr = 94; + public const int CType = 95; + public const int CUInt = 96; + public const int CULng = 97; + public const int CUShort = 98; + public const int Custom = 99; + public const int Date = 100; + public const int Decimal = 101; + public const int Declare = 102; + public const int Default = 103; + public const int Delegate = 104; + public const int Descending = 105; + public const int Dim = 106; + public const int DirectCast = 107; + public const int Distinct = 108; + public const int Do = 109; + public const int Double = 110; + public const int Each = 111; + public const int Else = 112; + public const int ElseIf = 113; + public const int End = 114; + public const int EndIf = 115; + public const int Enum = 116; + new public const int Equals = 117; + public const int Erase = 118; + public const int Error = 119; + public const int Event = 120; + public const int Exit = 121; + public const int Explicit = 122; + public const int False = 123; + public const int Finally = 124; + public const int For = 125; + public const int Friend = 126; + public const int From = 127; + public const int Function = 128; + public const int Get = 129; + new public const int GetType = 130; + public const int Global = 131; + public const int GoSub = 132; + public const int GoTo = 133; + public const int Group = 134; + public const int Handles = 135; + public const int If = 136; + public const int Implements = 137; + public const int Imports = 138; + public const int In = 139; + public const int Infer = 140; + public const int Inherits = 141; + public const int Integer = 142; + public const int Interface = 143; + public const int Into = 144; + public const int Is = 145; + public const int IsNot = 146; + public const int Join = 147; + public const int Key = 148; + public const int Let = 149; + public const int Lib = 150; + public const int Like = 151; + public const int Long = 152; + public const int Loop = 153; + public const int Me = 154; + public const int Mod = 155; + public const int Module = 156; + public const int MustInherit = 157; + public const int MustOverride = 158; + public const int MyBase = 159; + public const int MyClass = 160; + public const int Namespace = 161; + public const int Narrowing = 162; + public const int New = 163; + public const int Next = 164; + public const int Not = 165; + public const int Nothing = 166; + public const int NotInheritable = 167; + public const int NotOverridable = 168; + public const int Object = 169; + public const int Of = 170; + public const int Off = 171; + public const int On = 172; + public const int Operator = 173; + public const int Option = 174; + public const int Optional = 175; + public const int Or = 176; + public const int Order = 177; + public const int OrElse = 178; + public const int Overloads = 179; + public const int Overridable = 180; + public const int Overrides = 181; + public const int ParamArray = 182; + public const int Partial = 183; + public const int Preserve = 184; + public const int Private = 185; + public const int Property = 186; + public const int Protected = 187; + public const int Public = 188; + public const int RaiseEvent = 189; + public const int ReadOnly = 190; + public const int ReDim = 191; + public const int Rem = 192; + public const int RemoveHandler = 193; + public const int Resume = 194; + public const int Return = 195; + public const int SByte = 196; + public const int Select = 197; + public const int Set = 198; + public const int Shadows = 199; + public const int Shared = 200; + public const int Short = 201; + public const int Single = 202; + public const int Skip = 203; + public const int Static = 204; + public const int Step = 205; + public const int Stop = 206; + public const int Strict = 207; + public const int String = 208; + public const int Structure = 209; + public const int Sub = 210; + public const int SyncLock = 211; + public const int Take = 212; + public const int Text = 213; + public const int Then = 214; + public const int Throw = 215; + public const int To = 216; + public const int True = 217; + public const int Try = 218; + public const int TryCast = 219; + public const int TypeOf = 220; + public const int UInteger = 221; + public const int ULong = 222; + public const int Unicode = 223; + public const int Until = 224; + public const int UShort = 225; + public const int Using = 226; + public const int Variant = 227; + public const int Wend = 228; + public const int When = 229; + public const int Where = 230; + public const int While = 231; + public const int Widening = 232; + public const int With = 233; + public const int WithEvents = 234; + public const int WriteOnly = 235; + public const int Xor = 236; + public const int GetXmlNamespace = 237; - public const int MaxToken = 236; + public const int MaxToken = 238; static BitArray NewSet(params int[] values) { BitArray bitArray = new BitArray(MaxToken); @@ -297,6 +299,8 @@ namespace ICSharpCode.NRefactory.Parser.VB "/", "\\", ".", + "...", + ".@", "!", "-", "+", diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.atg b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.atg index ec4f73912a..b18a6154a7 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.atg +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.atg @@ -42,6 +42,8 @@ TOKENS "/" "\\" "." + "..." + ".@" "!" "-" "+" @@ -274,7 +276,7 @@ OptionStatement = . ImportsStatement = - "Imports" (. nextTokenIsPotentialStartOfXmlMode = true; .) { ANY } StatementTerminator + "Imports" (. nextTokenIsStartOfImportsOrAccessExpression = true; .) { ANY } StatementTerminator . AttributeBlock = @@ -282,8 +284,8 @@ AttributeBlock = . NamespaceMemberDeclaration = - NamespaceDeclaration | - TypeDeclaration + NamespaceDeclaration + | TypeDeclaration . NamespaceDeclaration = @@ -388,7 +390,12 @@ StatementTerminatorAndBlock = (. PopContext(); .) . -Expression = +Expression + (. + if (la != null) + CurrentBlock.lastExpressionStart = la.Location; + .) += SimpleExpressionWithSuffix { BinaryOperator SimpleExpressionWithSuffix } . @@ -467,7 +474,7 @@ CollectionInitializer = ExpressionSuffix = "(" ( "Of" TypeName { "," TypeName } ")" | ArgumentList ")" ) -| ( "." | "!" ) IdentifierOrKeyword +| ( "." | "!" | ".@" | "..." ) (. nextTokenIsStartOfImportsOrAccessExpression = true; .) [ XmlOpenTag ] IdentifierOrKeyword [ XmlCloseTag ] . CastExpression = @@ -621,12 +628,20 @@ XmlLiteral (.OnEachPossiblePath: nextTokenIsPotentialStartOfXmlMode = true; .) = (. PushContext(Context.Xml, t); .) - { XmlComment } XmlElement { XmlComment } + { XmlComment [ XmlContent ] | XmlProcessingInstruction [ XmlContent ] } XmlElement { XmlComment [ XmlContent ] } (. PopContext(); .) . XmlElement = - XmlOpenTag { ANY } ( XmlCloseTagEmptyElement | XmlCloseTag { ANY | XmlElement } XmlOpenEndTag { ANY } XmlCloseTag ) + XmlOpenTag { ANY | XmlEmbeddedExpression } ( XmlCloseTagEmptyElement | XmlCloseTag { ANY | XmlEmbeddedExpression | XmlElement } XmlOpenEndTag { ANY | XmlEmbeddedExpression } XmlCloseTag ) +. + +XmlProcessingInstruction = + XmlProcessingInstructionStart Identifier { Identifier [ "=" LiteralString ] } XmlProcessingInstructionEnd +. + +XmlEmbeddedExpression = + XmlStartInlineVB Expression XmlEndInlineVB . PrimitiveTypeName = @@ -652,7 +667,189 @@ TypeName = ( "Global" | Identifier | PrimitiveTypeName ) { TypeSuffix } { "." Id TypeSuffix = "(" ( "Of" [ TypeName ] { "," [ TypeName ] } | [ ArgumentList ] ) ")" . -IdentifierOrKeyword = ANY . +IdentifierOrKeyword = ident +| "AddHandler" +| "AddressOf" +| "Aggregate" +| "Alias" +| "And" +| "AndAlso" +| "Ansi" +| "As" +| "Ascending" +| "Assembly" +| "Auto" +| "Binary" +| "Boolean" +| "ByRef" +| "By" +| "Byte" +| "ByVal" +| "Call" +| "Case" +| "Catch" +| "CBool" +| "CByte" +| "CChar" +| "CDate" +| "CDbl" +| "CDec" +| "Char" +| "CInt" +| "Class" +| "CLng" +| "CObj" +| "Compare" +| "Const" +| "Continue" +| "CSByte" +| "CShort" +| "CSng" +| "CStr" +| "CType" +| "CUInt" +| "CULng" +| "CUShort" +| "Custom" +| "Date" +| "Decimal" +| "Declare" +| "Default" +| "Delegate" +| "Descending" +| "Dim" +| "DirectCast" +| "Distinct" +| "Do" +| "Double" +| "Each" +| "Else" +| "ElseIf" +| "End" +| "EndIf" +| "Enum" +| "Equals" +| "Erase" +| "Error" +| "Event" +| "Exit" +| "Explicit" +| "False" +| "Finally" +| "For" +| "Friend" +| "From" +| "Function" +| "Get" +| "GetType" +| "Global" +| "GoSub" +| "GoTo" +| "Group" +| "Handles" +| "If" +| "Implements" +| "Imports" +| "In" +| "Infer" +| "Inherits" +| "Integer" +| "Interface" +| "Into" +| "Is" +| "IsNot" +| "Join" +| "Key" +| "Let" +| "Lib" +| "Like" +| "Long" +| "Loop" +| "Me" +| "Mod" +| "Module" +| "MustInherit" +| "MustOverride" +| "MyBase" +| "MyClass" +| "Namespace" +| "Narrowing" +| "New" +| "Next" +| "Not" +| "Nothing" +| "NotInheritable" +| "NotOverridable" +| "Object" +| "Of" +| "Off" +| "On" +| "Operator" +| "Option" +| "Optional" +| "Or" +| "Order" +| "OrElse" +| "Overloads" +| "Overridable" +| "Overrides" +| "ParamArray" +| "Partial" +| "Preserve" +| "Private" +| "Property" +| "Protected" +| "Public" +| "RaiseEvent" +| "ReadOnly" +| "ReDim" +| "Rem" +| "RemoveHandler" +| "Resume" +| "Return" +| "SByte" +| "Select" +| "Set" +| "Shadows" +| "Shared" +| "Short" +| "Single" +| "Skip" +| "Static" +| "Step" +| "Stop" +| "Strict" +| "String" +| "Structure" +| "Sub" +| "SyncLock" +| "Take" +| "Text" +| "Then" +| "Throw" +| "To" +| "True" +| "Try" +| "TryCast" +| "TypeOf" +| "UInteger" +| "ULong" +| "Unicode" +| "Until" +| "UShort" +| "Using" +| "Variant" +| "Wend" +| "When" +| "Where" +| "While" +| "Widening" +| "With" +| "WithEvents" +| "WriteOnly" +| "Xor" +| "GetXmlNamespace" + . Literal = LiteralString | @@ -671,7 +868,12 @@ Literal = "MyClass" . -Statement = +Statement +(. + if (la != null) + CurrentBlock.lastExpressionStart = la.Location; +.) += VariableDeclarationStatement | WithOrLockStatement | AddOrRemoveHandlerStatement @@ -692,7 +894,13 @@ Statement = . VariableDeclarationStatement = - ( "Dim" | "Static" | "Const" ) (. PushContext(Context.IdentifierExpected, t); .) Identifier (. PopContext(); .) [ "?" ] [ ( "(" { "," } ")" ) ] { "," (. PushContext(Context.IdentifierExpected, t); .) Identifier (. PopContext(); .) [ "?" ] [ ( "(" { "," } ")" ) ] } [ "As" [ "New" ] TypeName ] [ "=" Expression ] + ( "Dim" | "Static" | "Const" ) + (. + PushContext(Context.IdentifierExpected, t); + if (la != null) + CurrentBlock.lastExpressionStart = la.Location; + .) + Identifier (. PopContext(); .) [ "?" ] [ ( "(" { "," } ")" ) ] { "," (. PushContext(Context.IdentifierExpected, t); .) Identifier (. PopContext(); .) [ "?" ] [ ( "(" { "," } ")" ) ] } [ "As" [ "New" ] TypeName ] [ "=" Expression ] . WithOrLockStatement = @@ -849,7 +1057,7 @@ Identifier = | "Custom" . - IdentifierForFieldDeclaration = +IdentifierForFieldDeclaration = IdentifierForExpressionStart | "Aggregate" | "From" diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.cs b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.cs index dcf84e4f9f..c03e661f26 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.cs +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.cs @@ -46,7 +46,7 @@ namespace ICSharpCode.NRefactory.Parser.VBNet.Experimental void ApplyToken(Token token) { - Console.WriteLine(token); + //Console.WriteLine(token); if (stack.Count == 0 || token == null) return; @@ -97,6 +97,11 @@ namespace ICSharpCode.NRefactory.Parser.VBNet.Experimental get { return readXmlIdentifier; } set { readXmlIdentifier = value; } } + + public bool NextTokenIsStartOfImportsOrAccessExpression { + get { return nextTokenIsStartOfImportsOrAccessExpression; } + set { nextTokenIsStartOfImportsOrAccessExpression = value; } + } } public enum Context diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Parser.cs b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Parser.cs index d364e49686..1ce4637471 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Parser.cs +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Parser.cs @@ -23,6 +23,7 @@ int currentState = 0; readonly Stack stateStack = new Stack(); bool nextTokenIsPotentialStartOfXmlMode = false; bool readXmlIdentifier = false; + bool nextTokenIsStartOfImportsOrAccessExpression = false; public ExpressionFinder() { @@ -46,6 +47,8 @@ int currentState = 0; public void InformToken(Token la) { nextTokenIsPotentialStartOfXmlMode = false; + readXmlIdentifier = false; + nextTokenIsStartOfImportsOrAccessExpression = false; const int endOfStatementTerminatorAndBlock = 38; switchlbl: switch (currentState) { case 0: { @@ -54,27 +57,27 @@ int currentState = 0; } case 1: { if (la == null) { currentState = 1; break; } - if (la.kind == 172) { + if (la.kind == 174) { stateStack.Push(1); - goto case 402; + goto case 417; } else { goto case 2; } } case 2: { if (la == null) { currentState = 2; break; } - if (la.kind == 136) { + if (la.kind == 138) { stateStack.Push(2); - goto case 399; + goto case 414; } else { goto case 3; } } case 3: { if (la == null) { currentState = 3; break; } - if (la.kind == 39) { + if (la.kind == 41) { stateStack.Push(3); - goto case 191; + goto case 196; } else { goto case 4; } @@ -92,8 +95,8 @@ int currentState = 0; } case 5: { if (la == null) { currentState = 5; break; } - if (la.kind == 159) { - goto case 395; + if (la.kind == 161) { + goto case 410; } else { if (set[1, la.kind]) { goto case 7; @@ -109,9 +112,9 @@ int currentState = 0; } case 7: { if (la == null) { currentState = 7; break; } - if (la.kind == 39) { + if (la.kind == 41) { stateStack.Push(7); - goto case 191; + goto case 196; } else { goto case 8; } @@ -122,7 +125,7 @@ int currentState = 0; currentState = 8; break; } else { - if (la.kind == 83 || la.kind == 154) { + if (la.kind == 85 || la.kind == 156) { currentState = 9; break; } else { @@ -165,14 +168,14 @@ int currentState = 0; PushContext(Context.Member, t); goto case 20; } else { - Expect(112, la); // "End" + Expect(114, la); // "End" currentState = 15; break; } } case 15: { if (la == null) { currentState = 15; break; } - if (la.kind == 83 || la.kind == 154) { + if (la.kind == 85 || la.kind == 156) { currentState = 16; break; } else { @@ -204,9 +207,9 @@ int currentState = 0; } case 20: { if (la == null) { currentState = 20; break; } - if (la.kind == 39) { + if (la.kind == 41) { stateStack.Push(20); - goto case 191; + goto case 196; } else { goto case 21; } @@ -219,25 +222,25 @@ int currentState = 0; } else { if (set[6, la.kind]) { stateStack.Push(22); - goto case 387; + goto case 402; } else { - if (la.kind == 126 || la.kind == 208) { + if (la.kind == 128 || la.kind == 210) { stateStack.Push(22); - goto case 375; + goto case 390; } else { - if (la.kind == 100) { + if (la.kind == 102) { stateStack.Push(22); - goto case 363; + goto case 378; } else { - if (la.kind == 118) { + if (la.kind == 120) { stateStack.Push(22); - goto case 352; + goto case 367; } else { - if (la.kind == 97) { + if (la.kind == 99) { stateStack.Push(22); - goto case 340; + goto case 355; } else { - if (la.kind == 171) { + if (la.kind == 173) { stateStack.Push(22); goto case 23; } else { @@ -258,7 +261,7 @@ int currentState = 0; } case 23: { if (la == null) { currentState = 23; break; } - Expect(171, la); // "Operator" + Expect(173, la); // "Operator" currentState = 24; break; } @@ -277,24 +280,24 @@ int currentState = 0; } case 27: { if (la == null) { currentState = 27; break; } - Expect(36, la); // "(" + Expect(38, la); // "(" currentState = 28; break; } case 28: { stateStack.Push(29); - goto case 182; + goto case 187; } case 29: { if (la == null) { currentState = 29; break; } - Expect(37, la); // ")" + Expect(39, la); // ")" currentState = 30; break; } case 30: { if (la == null) { currentState = 30; break; } - if (la.kind == 62) { - currentState = 339; + if (la.kind == 64) { + currentState = 354; break; } else { goto case 31; @@ -306,13 +309,13 @@ int currentState = 0; } case 32: { if (la == null) { currentState = 32; break; } - Expect(112, la); // "End" + Expect(114, la); // "End" currentState = 33; break; } case 33: { if (la == null) { currentState = 33; break; } - Expect(171, la); // "Operator" + Expect(173, la); // "Operator" currentState = 18; break; } @@ -339,7 +342,7 @@ int currentState = 0; goto case 35; } } else { - if (la.kind == 112) { + if (la.kind == 114) { currentState = 40; break; } else { @@ -381,89 +384,92 @@ int currentState = 0; break; } case 42: { + if (la != null) + CurrentBlock.lastExpressionStart = la.Location; + nextTokenIsPotentialStartOfXmlMode = true; goto case 43; } case 43: { if (la == null) { currentState = 43; break; } - if (la.kind == 87 || la.kind == 104 || la.kind == 202) { - currentState = 324; + if (la.kind == 89 || la.kind == 106 || la.kind == 204) { + currentState = 339; break; } else { - if (la.kind == 209 || la.kind == 231) { - currentState = 320; + if (la.kind == 211 || la.kind == 233) { + currentState = 335; break; } else { - if (la.kind == 55 || la.kind == 191) { - currentState = 318; + if (la.kind == 57 || la.kind == 193) { + currentState = 333; break; } else { - if (la.kind == 187) { - currentState = 316; + if (la.kind == 189) { + currentState = 331; break; } else { - if (la.kind == 134) { - currentState = 295; + if (la.kind == 136) { + currentState = 310; break; } else { - if (la.kind == 195) { - currentState = 280; + if (la.kind == 197) { + currentState = 295; break; } else { - if (la.kind == 229) { - currentState = 276; + if (la.kind == 231) { + currentState = 291; break; } else { - if (la.kind == 107) { - currentState = 270; + if (la.kind == 109) { + currentState = 285; break; } else { - if (la.kind == 123) { - currentState = 245; + if (la.kind == 125) { + currentState = 260; break; } else { - if (la.kind == 117 || la.kind == 170 || la.kind == 192) { - if (la.kind == 117 || la.kind == 170) { - if (la.kind == 170) { - currentState = 240; + if (la.kind == 119 || la.kind == 172 || la.kind == 194) { + if (la.kind == 119 || la.kind == 172) { + if (la.kind == 172) { + currentState = 255; break; } else { - goto case 240; + goto case 255; } } else { - if (la.kind == 192) { - currentState = 239; + if (la.kind == 194) { + currentState = 254; break; } else { goto case 6; } } } else { - if (la.kind == 213) { - goto case 222; + if (la.kind == 215) { + goto case 237; } else { - if (la.kind == 216) { - currentState = 228; + if (la.kind == 218) { + currentState = 243; break; } else { if (set[10, la.kind]) { - if (la.kind == 131) { - currentState = 227; + if (la.kind == 133) { + currentState = 242; break; } else { - if (la.kind == 119) { - currentState = 226; + if (la.kind == 121) { + currentState = 241; break; } else { - if (la.kind == 88) { - currentState = 225; + if (la.kind == 90) { + currentState = 240; break; } else { - if (la.kind == 204) { + if (la.kind == 206) { goto case 19; } else { - if (la.kind == 193) { - goto case 222; + if (la.kind == 195) { + goto case 237; } else { goto case 6; } @@ -472,20 +478,20 @@ int currentState = 0; } } } else { - if (la.kind == 189) { - currentState = 220; + if (la.kind == 191) { + currentState = 235; break; } else { - if (la.kind == 116) { - goto case 217; + if (la.kind == 118) { + goto case 232; } else { - if (la.kind == 224) { - currentState = 213; + if (la.kind == 226) { + currentState = 228; break; } else { if (set[11, la.kind]) { - if (la.kind == 72) { - goto case 46; + if (la.kind == 74) { + goto case 143; } else { goto case 44; } @@ -510,23 +516,25 @@ int currentState = 0; } } case 44: { - stateStack.Push(45); - goto case 47; + if (la != null) + CurrentBlock.lastExpressionStart = la.Location; + + goto case 45; } case 45: { - if (la == null) { currentState = 45; break; } + stateStack.Push(46); + goto case 47; + } + case 46: { + if (la == null) { currentState = 46; break; } if (set[12, la.kind]) { - goto case 46; + currentState = 45; + break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 46: { - if (la == null) { currentState = 46; break; } - currentState = 44; - break; - } case 47: { nextTokenIsPotentialStartOfXmlMode = true; goto case 48; @@ -538,14 +546,14 @@ int currentState = 0; break; } else { if (set[14, la.kind]) { - stateStack.Push(92); - goto case 100; + stateStack.Push(93); + goto case 104; } else { - if (la.kind == 218) { - currentState = 90; + if (la.kind == 220) { + currentState = 91; break; } else { - if (la.kind == 161) { + if (la.kind == 163) { currentState = 49; break; } else { @@ -558,15 +566,15 @@ int currentState = 0; case 49: { if (la == null) { currentState = 49; break; } if (set[15, la.kind]) { - stateStack.Push(59); - goto case 66; + stateStack.Push(60); + goto case 67; } else { goto case 50; } } case 50: { if (la == null) { currentState = 50; break; } - if (la.kind == 231) { + if (la.kind == 233) { currentState = 51; break; } else { @@ -575,13 +583,13 @@ int currentState = 0; } case 51: { if (la == null) { currentState = 51; break; } - Expect(34, la); // "{" + Expect(36, la); // "{" currentState = 52; break; } case 52: { if (la == null) { currentState = 52; break; } - if (la.kind == 146) { + if (la.kind == 148) { currentState = 53; break; } else { @@ -596,7 +604,7 @@ int currentState = 0; } case 54: { stateStack.Push(55); - goto case 19; + goto case 59; } case 55: { if (la == null) { currentState = 55; break; } @@ -619,15 +627,23 @@ int currentState = 0; } case 58: { if (la == null) { currentState = 58; break; } - Expect(35, la); // "}" + Expect(37, la); // "}" currentState = stateStack.Pop(); break; } case 59: { if (la == null) { currentState = 59; break; } - if (la.kind == 125 || la.kind == 231) { - if (la.kind == 125) { - currentState = 60; + if (set[16, la.kind]) { + goto case 19; + } else { + goto case 6; + } + } + case 60: { + if (la == null) { currentState = 60; break; } + if (la.kind == 127 || la.kind == 233) { + if (la.kind == 127) { + currentState = 61; break; } else { goto case 50; @@ -637,12 +653,12 @@ int currentState = 0; goto switchlbl; } } - case 60: { - if (la == null) { currentState = 60; break; } - if (la.kind == 34) { - goto case 61; + case 61: { + if (la == null) { currentState = 61; break; } + if (la.kind == 36) { + goto case 62; } else { - if (set[16, la.kind]) { + if (set[17, la.kind]) { currentState = endOfStatementTerminatorAndBlock; /* leave this block */ InformToken(t); /* process From again*/ /* for processing current token (la): go to the position after processing End */ @@ -653,363 +669,386 @@ int currentState = 0; } } } - case 61: { - if (la == null) { currentState = 61; break; } - currentState = 62; + case 62: { + if (la == null) { currentState = 62; break; } + currentState = 63; break; } - case 62: { + case 63: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 63; + goto case 64; } - case 63: { - if (la == null) { currentState = 63; break; } - if (set[17, la.kind]) { - stateStack.Push(64); + case 64: { + if (la == null) { currentState = 64; break; } + if (set[18, la.kind]) { + stateStack.Push(65); goto case 44; } else { - if (la.kind == 34) { - stateStack.Push(64); - goto case 65; + if (la.kind == 36) { + stateStack.Push(65); + goto case 66; } else { Error(la); - goto case 64; + goto case 65; } } } - case 64: { - if (la == null) { currentState = 64; break; } + case 65: { + if (la == null) { currentState = 65; break; } if (la.kind == 23) { - goto case 61; + goto case 62; } else { goto case 58; } } - case 65: { - if (la == null) { currentState = 65; break; } - Expect(34, la); // "{" - currentState = 62; - break; - } case 66: { if (la == null) { currentState = 66; break; } - if (set[15, la.kind]) { - currentState = 67; - break; - } else { - Error(la); - goto case 67; - } + Expect(36, la); // "{" + currentState = 63; + break; } case 67: { if (la == null) { currentState = 67; break; } - if (la.kind == 36) { - stateStack.Push(67); - goto case 71; + if (set[15, la.kind]) { + currentState = 68; + break; } else { + Error(la); goto case 68; } } case 68: { if (la == null) { currentState = 68; break; } + if (la.kind == 38) { + stateStack.Push(68); + goto case 72; + } else { + goto case 69; + } + } + case 69: { + if (la == null) { currentState = 69; break; } if (la.kind == 27) { - currentState = 69; + currentState = 70; break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 69: { - stateStack.Push(70); - goto case 19; - } case 70: { - if (la == null) { currentState = 70; break; } - if (la.kind == 36) { - stateStack.Push(70); - goto case 71; - } else { - goto case 68; - } + stateStack.Push(71); + goto case 59; } case 71: { if (la == null) { currentState = 71; break; } - Expect(36, la); // "(" - currentState = 72; - break; + if (la.kind == 38) { + stateStack.Push(71); + goto case 72; + } else { + goto case 69; + } } case 72: { - nextTokenIsPotentialStartOfXmlMode = true; - goto case 73; + if (la == null) { currentState = 72; break; } + Expect(38, la); // "(" + currentState = 73; + break; } case 73: { - if (la == null) { currentState = 73; break; } - if (la.kind == 168) { - goto case 87; + nextTokenIsPotentialStartOfXmlMode = true; + goto case 74; + } + case 74: { + if (la == null) { currentState = 74; break; } + if (la.kind == 170) { + goto case 88; } else { - if (set[18, la.kind]) { - goto case 75; + if (set[19, la.kind]) { + goto case 76; } else { Error(la); - goto case 74; + goto case 75; } } } - case 74: { - if (la == null) { currentState = 74; break; } - Expect(37, la); // ")" + case 75: { + if (la == null) { currentState = 75; break; } + Expect(39, la); // ")" currentState = stateStack.Pop(); break; } - case 75: { + case 76: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 76; + goto case 77; } - case 76: { - if (la == null) { currentState = 76; break; } - if (set[19, la.kind]) { - goto case 77; + case 77: { + if (la == null) { currentState = 77; break; } + if (set[20, la.kind]) { + goto case 78; } else { - goto case 74; + goto case 75; } } - case 77: { - stateStack.Push(74); + case 78: { + stateStack.Push(75); nextTokenIsPotentialStartOfXmlMode = true; - goto case 78; + goto case 79; } - case 78: { - if (la == null) { currentState = 78; break; } - if (set[17, la.kind]) { - goto case 83; + case 79: { + if (la == null) { currentState = 79; break; } + if (set[18, la.kind]) { + goto case 84; } else { if (la.kind == 23) { - goto case 79; + goto case 80; } else { goto case 6; } } } - case 79: { - if (la == null) { currentState = 79; break; } - currentState = 80; + case 80: { + if (la == null) { currentState = 80; break; } + currentState = 81; break; } - case 80: { + case 81: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 81; + goto case 82; } - case 81: { - if (la == null) { currentState = 81; break; } - if (set[17, la.kind]) { - stateStack.Push(82); + case 82: { + if (la == null) { currentState = 82; break; } + if (set[18, la.kind]) { + stateStack.Push(83); goto case 44; } else { - goto case 82; + goto case 83; } } - case 82: { - if (la == null) { currentState = 82; break; } + case 83: { + if (la == null) { currentState = 83; break; } if (la.kind == 23) { - goto case 79; + goto case 80; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 83: { - stateStack.Push(84); + case 84: { + stateStack.Push(85); goto case 44; } - case 84: { - if (la == null) { currentState = 84; break; } + case 85: { + if (la == null) { currentState = 85; break; } if (la.kind == 23) { - currentState = 85; + currentState = 86; break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 85: { - nextTokenIsPotentialStartOfXmlMode = true; - goto case 86; - } case 86: { - if (la == null) { currentState = 86; break; } - if (set[17, la.kind]) { - goto case 83; - } else { - goto case 84; - } + nextTokenIsPotentialStartOfXmlMode = true; + goto case 87; } case 87: { if (la == null) { currentState = 87; break; } - currentState = 88; - break; + if (set[18, la.kind]) { + goto case 84; + } else { + goto case 85; + } } case 88: { if (la == null) { currentState = 88; break; } - if (set[15, la.kind]) { - stateStack.Push(89); - goto case 66; - } else { - goto case 89; - } + currentState = 89; + break; } case 89: { if (la == null) { currentState = 89; break; } - if (la.kind == 23) { - goto case 87; + if (set[15, la.kind]) { + stateStack.Push(90); + goto case 67; } else { - goto case 74; + goto case 90; } } case 90: { - stateStack.Push(91); - goto case 47; + if (la == null) { currentState = 90; break; } + if (la.kind == 23) { + goto case 88; + } else { + goto case 75; + } } case 91: { - if (la == null) { currentState = 91; break; } - Expect(143, la); // "Is" - currentState = 66; - break; + stateStack.Push(92); + goto case 47; } case 92: { if (la == null) { currentState = 92; break; } - if (la.kind == 27 || la.kind == 28 || la.kind == 36) { - stateStack.Push(92); - goto case 93; + Expect(145, la); // "Is" + currentState = 67; + break; + } + case 93: { + if (la == null) { currentState = 93; break; } + if (set[21, la.kind]) { + stateStack.Push(93); + goto case 94; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 93: { - if (la == null) { currentState = 93; break; } - if (la.kind == 36) { - currentState = 95; + case 94: { + if (la == null) { currentState = 94; break; } + if (la.kind == 38) { + currentState = 99; break; } else { - if (la.kind == 27 || la.kind == 28) { - goto case 94; + if (set[22, la.kind]) { + currentState = 95; + break; } else { goto case 6; } } } - case 94: { - if (la == null) { currentState = 94; break; } - currentState = 19; - break; - } case 95: { - nextTokenIsPotentialStartOfXmlMode = true; + nextTokenIsStartOfImportsOrAccessExpression = true; goto case 96; } case 96: { if (la == null) { currentState = 96; break; } - if (la.kind == 168) { + if (la.kind == 10) { + currentState = 97; + break; + } else { goto case 97; + } + } + case 97: { + stateStack.Push(98); + goto case 59; + } + case 98: { + if (la == null) { currentState = 98; break; } + if (la.kind == 11) { + goto case 19; } else { - if (set[19, la.kind]) { - goto case 77; + currentState = stateStack.Pop(); + goto switchlbl; + } + } + case 99: { + nextTokenIsPotentialStartOfXmlMode = true; + goto case 100; + } + case 100: { + if (la == null) { currentState = 100; break; } + if (la.kind == 170) { + goto case 101; + } else { + if (set[20, la.kind]) { + goto case 78; } else { goto case 6; } } } - case 97: { - if (la == null) { currentState = 97; break; } - currentState = 98; + case 101: { + if (la == null) { currentState = 101; break; } + currentState = 102; break; } - case 98: { - stateStack.Push(99); - goto case 66; + case 102: { + stateStack.Push(103); + goto case 67; } - case 99: { - if (la == null) { currentState = 99; break; } + case 103: { + if (la == null) { currentState = 103; break; } if (la.kind == 23) { - goto case 97; + goto case 101; } else { - goto case 74; + goto case 75; } } - case 100: { + case 104: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 101; + goto case 105; } - case 101: { - if (la == null) { currentState = 101; break; } - if (set[20, la.kind]) { + case 105: { + if (la == null) { currentState = 105; break; } + if (set[23, la.kind]) { goto case 19; } else { - if (la.kind == 36) { - goto case 107; + if (la.kind == 38) { + goto case 111; } else { - if (set[21, la.kind]) { + if (set[24, la.kind]) { goto case 19; } else { - if (la.kind == 27 || la.kind == 28) { - goto case 94; + if (la.kind == 27 || la.kind == 30) { + currentState = 59; + break; } else { - if (la.kind == 128) { - currentState = 212; + if (la.kind == 130) { + currentState = 227; break; } else { - if (la.kind == 235) { - currentState = 210; + if (la.kind == 237) { + currentState = 225; break; } else { - if (la.kind == 10 || la.kind == 17) { + if (la.kind == 10 || la.kind == 17 || la.kind == 19) { nextTokenIsPotentialStartOfXmlMode = true; PushContext(Context.Xml, t); - goto case 203; + goto case 208; } else { - if (la.kind == 126 || la.kind == 208) { - if (la.kind == 208) { - currentState = 196; + if (la.kind == 128 || la.kind == 210) { + if (la.kind == 210) { + currentState = 201; break; } else { - if (la.kind == 126) { - currentState = 173; + if (la.kind == 128) { + currentState = 178; break; } else { goto case 6; } } } else { - if (la.kind == 57 || la.kind == 125) { - if (la.kind == 125) { - stateStack.Push(114); - goto case 172; + if (la.kind == 59 || la.kind == 127) { + if (la.kind == 127) { + stateStack.Push(118); + goto case 177; } else { - if (la.kind == 57) { - stateStack.Push(114); - goto case 171; + if (la.kind == 59) { + stateStack.Push(118); + goto case 176; } else { Error(la); - goto case 114; + goto case 118; } } } else { - if (set[22, la.kind]) { - if (set[23, la.kind]) { - currentState = 113; + if (set[25, la.kind]) { + if (set[26, la.kind]) { + currentState = 117; break; } else { - if (la.kind == 93 || la.kind == 105 || la.kind == 217) { - currentState = 109; + if (la.kind == 95 || la.kind == 107 || la.kind == 219) { + currentState = 113; break; } else { goto case 6; } } } else { - if (la.kind == 134) { - currentState = 102; + if (la.kind == 136) { + currentState = 106; break; } else { goto case 6; @@ -1025,114 +1064,114 @@ int currentState = 0; } } } - case 102: { - if (la == null) { currentState = 102; break; } - Expect(36, la); // "(" - currentState = 103; + case 106: { + if (la == null) { currentState = 106; break; } + Expect(38, la); // "(" + currentState = 107; break; } - case 103: { - stateStack.Push(104); + case 107: { + stateStack.Push(108); goto case 44; } - case 104: { - if (la == null) { currentState = 104; break; } + case 108: { + if (la == null) { currentState = 108; break; } Expect(23, la); // "," - currentState = 105; + currentState = 109; break; } - case 105: { - stateStack.Push(106); + case 109: { + stateStack.Push(110); goto case 44; } - case 106: { - if (la == null) { currentState = 106; break; } + case 110: { + if (la == null) { currentState = 110; break; } if (la.kind == 23) { - goto case 107; + goto case 111; } else { - goto case 74; + goto case 75; } } - case 107: { - if (la == null) { currentState = 107; break; } - currentState = 108; + case 111: { + if (la == null) { currentState = 111; break; } + currentState = 112; break; } - case 108: { - stateStack.Push(74); + case 112: { + stateStack.Push(75); goto case 44; } - case 109: { - if (la == null) { currentState = 109; break; } - Expect(36, la); // "(" - currentState = 110; + case 113: { + if (la == null) { currentState = 113; break; } + Expect(38, la); // "(" + currentState = 114; break; } - case 110: { - stateStack.Push(111); + case 114: { + stateStack.Push(115); goto case 44; } - case 111: { - if (la == null) { currentState = 111; break; } + case 115: { + if (la == null) { currentState = 115; break; } Expect(23, la); // "," - currentState = 112; + currentState = 116; break; } - case 112: { - stateStack.Push(74); - goto case 66; + case 116: { + stateStack.Push(75); + goto case 67; } - case 113: { - if (la == null) { currentState = 113; break; } - Expect(36, la); // "(" - currentState = 108; + case 117: { + if (la == null) { currentState = 117; break; } + Expect(38, la); // "(" + currentState = 112; break; } - case 114: { - if (la == null) { currentState = 114; break; } - if (set[24, la.kind]) { - stateStack.Push(114); - goto case 115; + case 118: { + if (la == null) { currentState = 118; break; } + if (set[27, la.kind]) { + stateStack.Push(118); + goto case 119; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 115: { - if (la == null) { currentState = 115; break; } - if (la.kind == 125) { - goto case 168; + case 119: { + if (la == null) { currentState = 119; break; } + if (la.kind == 127) { + goto case 173; } else { - if (la.kind == 57) { - currentState = 164; + if (la.kind == 59) { + currentState = 169; break; } else { - if (la.kind == 195) { - goto case 161; + if (la.kind == 197) { + goto case 166; } else { - if (la.kind == 106) { + if (la.kind == 108) { goto case 19; } else { - if (la.kind == 228) { - goto case 46; + if (la.kind == 230) { + goto case 143; } else { - if (la.kind == 175) { - currentState = 157; + if (la.kind == 177) { + currentState = 162; break; } else { - if (la.kind == 201 || la.kind == 210) { - currentState = 155; + if (la.kind == 203 || la.kind == 212) { + currentState = 160; break; } else { - if (la.kind == 147) { - goto case 152; + if (la.kind == 149) { + goto case 157; } else { - if (la.kind == 132) { - currentState = 128; + if (la.kind == 134) { + currentState = 132; break; } else { - if (la.kind == 145) { - currentState = 116; + if (la.kind == 147) { + currentState = 120; break; } else { goto case 6; @@ -1147,94 +1186,94 @@ int currentState = 0; } } } - case 116: { - stateStack.Push(117); - goto case 122; + case 120: { + stateStack.Push(121); + goto case 126; } - case 117: { - if (la == null) { currentState = 117; break; } - Expect(170, la); // "On" - currentState = 118; + case 121: { + if (la == null) { currentState = 121; break; } + Expect(172, la); // "On" + currentState = 122; break; } - case 118: { - stateStack.Push(119); + case 122: { + stateStack.Push(123); goto case 44; } - case 119: { - if (la == null) { currentState = 119; break; } - Expect(115, la); // "Equals" - currentState = 120; + case 123: { + if (la == null) { currentState = 123; break; } + Expect(117, la); // "Equals" + currentState = 124; break; } - case 120: { - stateStack.Push(121); + case 124: { + stateStack.Push(125); goto case 44; } - case 121: { - if (la == null) { currentState = 121; break; } + case 125: { + if (la == null) { currentState = 125; break; } if (la.kind == 23) { - currentState = 118; + currentState = 122; break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 122: { + case 126: { PushContext(Context.IdentifierExpected, t); - stateStack.Push(123); - goto case 127; + stateStack.Push(127); + goto case 131; } - case 123: { + case 127: { PopContext(); - goto case 124; + goto case 128; } - case 124: { - if (la == null) { currentState = 124; break; } - if (la.kind == 62) { - currentState = 126; + case 128: { + if (la == null) { currentState = 128; break; } + if (la.kind == 64) { + currentState = 130; break; } else { - goto case 125; + goto case 129; } } - case 125: { - if (la == null) { currentState = 125; break; } - Expect(137, la); // "In" + case 129: { + if (la == null) { currentState = 129; break; } + Expect(139, la); // "In" currentState = 44; break; } - case 126: { - stateStack.Push(125); - goto case 66; + case 130: { + stateStack.Push(129); + goto case 67; } - case 127: { - if (la == null) { currentState = 127; break; } - if (set[25, la.kind]) { + case 131: { + if (la == null) { currentState = 131; break; } + if (set[28, la.kind]) { goto case 19; } else { goto case 6; } } - case 128: { + case 132: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 129; + goto case 133; } - case 129: { - if (la == null) { currentState = 129; break; } - if (la.kind == 145) { - goto case 144; + case 133: { + if (la == null) { currentState = 133; break; } + if (la.kind == 147) { + goto case 149; } else { - if (set[26, la.kind]) { - if (la.kind == 69) { - goto case 141; + if (set[29, la.kind]) { + if (la.kind == 71) { + goto case 146; } else { - if (set[26, la.kind]) { - goto case 142; + if (set[29, la.kind]) { + goto case 147; } else { Error(la); - goto case 130; + goto case 134; } } } else { @@ -1242,68 +1281,68 @@ int currentState = 0; } } } - case 130: { - if (la == null) { currentState = 130; break; } - Expect(69, la); // "By" - currentState = 131; + case 134: { + if (la == null) { currentState = 134; break; } + Expect(71, la); // "By" + currentState = 135; break; } - case 131: { - stateStack.Push(132); - goto case 135; + case 135: { + stateStack.Push(136); + goto case 139; } - case 132: { - if (la == null) { currentState = 132; break; } + case 136: { + if (la == null) { currentState = 136; break; } if (la.kind == 23) { - goto case 141; + goto case 146; } else { - Expect(142, la); // "Into" - currentState = 133; + Expect(144, la); // "Into" + currentState = 137; break; } } - case 133: { - stateStack.Push(134); - goto case 135; + case 137: { + stateStack.Push(138); + goto case 139; } - case 134: { - if (la == null) { currentState = 134; break; } + case 138: { + if (la == null) { currentState = 138; break; } if (la.kind == 23) { - currentState = 133; + currentState = 137; break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 135: { + case 139: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 136; + goto case 140; } - case 136: { - if (la == null) { currentState = 136; break; } - if (set[25, la.kind]) { + case 140: { + if (la == null) { currentState = 140; break; } + if (set[28, la.kind]) { PushContext(Context.IdentifierExpected, t); - stateStack.Push(137); - goto case 127; + stateStack.Push(141); + goto case 131; } else { goto case 44; } } - case 137: { + case 141: { PopContext(); - goto case 138; + goto case 142; } - case 138: { - if (la == null) { currentState = 138; break; } - if (la.kind == 62) { - currentState = 139; + case 142: { + if (la == null) { currentState = 142; break; } + if (la.kind == 64) { + currentState = 144; break; } else { if (la.kind == 21) { - goto case 46; + goto case 143; } else { - if (set[27, la.kind]) { + if (set[30, la.kind]) { currentState = endOfStatementTerminatorAndBlock; /* leave this block */ InformToken(t); /* process Identifier again*/ /* for processing current token (la): go to the position after processing End */ @@ -1316,65 +1355,29 @@ int currentState = 0; } } } - case 139: { - stateStack.Push(140); - goto case 66; - } - case 140: { - if (la == null) { currentState = 140; break; } - Expect(21, la); // "=" - currentState = 44; - break; - } - case 141: { - if (la == null) { currentState = 141; break; } - currentState = 131; - break; - } - case 142: { - stateStack.Push(143); - goto case 135; - } case 143: { if (la == null) { currentState = 143; break; } - if (la.kind == 23) { - currentState = 142; - break; - } else { - goto case 130; - } + currentState = 44; + break; } case 144: { stateStack.Push(145); - goto case 151; + goto case 67; } case 145: { if (la == null) { currentState = 145; break; } - if (la.kind == 132 || la.kind == 145) { - if (la.kind == 132) { - currentState = 149; - break; - } else { - if (la.kind == 145) { - goto case 144; - } else { - Error(la); - goto case 145; - } - } - } else { - goto case 146; - } + Expect(21, la); // "=" + currentState = 44; + break; } case 146: { if (la == null) { currentState = 146; break; } - Expect(142, la); // "Into" - currentState = 147; + currentState = 135; break; } case 147: { stateStack.Push(148); - goto case 135; + goto case 139; } case 148: { if (la == null) { currentState = 148; break; } @@ -1382,314 +1385,355 @@ int currentState = 0; currentState = 147; break; } else { - currentState = stateStack.Pop(); - goto switchlbl; + goto case 134; } } case 149: { stateStack.Push(150); - goto case 151; + goto case 156; } case 150: { - stateStack.Push(145); - goto case 146; + if (la == null) { currentState = 150; break; } + if (la.kind == 134 || la.kind == 147) { + if (la.kind == 134) { + currentState = 154; + break; + } else { + if (la.kind == 147) { + goto case 149; + } else { + Error(la); + goto case 150; + } + } + } else { + goto case 151; + } } case 151: { if (la == null) { currentState = 151; break; } - Expect(145, la); // "Join" - currentState = 116; + Expect(144, la); // "Into" + currentState = 152; break; } case 152: { - if (la == null) { currentState = 152; break; } - currentState = 153; - break; + stateStack.Push(153); + goto case 139; } case 153: { - stateStack.Push(154); - goto case 135; - } - case 154: { - if (la == null) { currentState = 154; break; } + if (la == null) { currentState = 153; break; } if (la.kind == 23) { - goto case 152; + currentState = 152; + break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 155: { - nextTokenIsPotentialStartOfXmlMode = true; + case 154: { + stateStack.Push(155); goto case 156; } + case 155: { + stateStack.Push(150); + goto case 151; + } case 156: { if (la == null) { currentState = 156; break; } - if (la.kind == 229) { - goto case 46; - } else { - goto case 44; - } + Expect(147, la); // "Join" + currentState = 120; + break; } case 157: { if (la == null) { currentState = 157; break; } - Expect(69, la); // "By" currentState = 158; break; } case 158: { stateStack.Push(159); - goto case 44; + goto case 139; } case 159: { if (la == null) { currentState = 159; break; } - if (la.kind == 63 || la.kind == 103) { - currentState = 160; - break; - } else { - Error(la); - goto case 160; - } - } - case 160: { - if (la == null) { currentState = 160; break; } if (la.kind == 23) { - currentState = 158; - break; + goto case 157; } else { currentState = stateStack.Pop(); goto switchlbl; } } + case 160: { + nextTokenIsPotentialStartOfXmlMode = true; + goto case 161; + } case 161: { if (la == null) { currentState = 161; break; } - currentState = 162; - break; + if (la.kind == 231) { + goto case 143; + } else { + goto case 44; + } } case 162: { - stateStack.Push(163); - goto case 135; + if (la == null) { currentState = 162; break; } + Expect(71, la); // "By" + currentState = 163; + break; } case 163: { - if (la == null) { currentState = 163; break; } - if (la.kind == 23) { - goto case 161; - } else { - currentState = stateStack.Pop(); - goto switchlbl; - } + stateStack.Push(164); + goto case 44; } case 164: { - stateStack.Push(165); - goto case 122; + if (la == null) { currentState = 164; break; } + if (la.kind == 65 || la.kind == 105) { + currentState = 165; + break; + } else { + Error(la); + goto case 165; + } } case 165: { if (la == null) { currentState = 165; break; } - if (set[24, la.kind]) { - stateStack.Push(165); - goto case 115; - } else { - Expect(142, la); // "Into" - currentState = 166; + if (la.kind == 23) { + currentState = 163; break; + } else { + currentState = stateStack.Pop(); + goto switchlbl; } } case 166: { - stateStack.Push(167); - goto case 135; + if (la == null) { currentState = 166; break; } + currentState = 167; + break; } case 167: { - if (la == null) { currentState = 167; break; } + stateStack.Push(168); + goto case 139; + } + case 168: { + if (la == null) { currentState = 168; break; } if (la.kind == 23) { - currentState = 166; - break; + goto case 166; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 168: { - if (la == null) { currentState = 168; break; } - currentState = 169; - break; - } case 169: { stateStack.Push(170); - goto case 122; + goto case 126; } case 170: { if (la == null) { currentState = 170; break; } - if (la.kind == 23) { - goto case 168; + if (set[27, la.kind]) { + stateStack.Push(170); + goto case 119; } else { - currentState = stateStack.Pop(); - goto switchlbl; + Expect(144, la); // "Into" + currentState = 171; + break; } } case 171: { - if (la == null) { currentState = 171; break; } - Expect(57, la); // "Aggregate" - currentState = 164; - break; + stateStack.Push(172); + goto case 139; } case 172: { if (la == null) { currentState = 172; break; } - Expect(125, la); // "From" - currentState = 169; - break; + if (la.kind == 23) { + currentState = 171; + break; + } else { + currentState = stateStack.Pop(); + goto switchlbl; + } } case 173: { if (la == null) { currentState = 173; break; } - Expect(36, la); // "(" currentState = 174; break; } case 174: { - if (la == null) { currentState = 174; break; } - if (set[28, la.kind]) { - stateStack.Push(175); - goto case 182; - } else { - goto case 175; - } + stateStack.Push(175); + goto case 126; } case 175: { if (la == null) { currentState = 175; break; } - Expect(37, la); // ")" - currentState = 176; - break; + if (la.kind == 23) { + goto case 173; + } else { + currentState = stateStack.Pop(); + goto switchlbl; + } } case 176: { - nextTokenIsPotentialStartOfXmlMode = true; - goto case 177; + if (la == null) { currentState = 176; break; } + Expect(59, la); // "Aggregate" + currentState = 169; + break; } case 177: { if (la == null) { currentState = 177; break; } - if (set[17, la.kind]) { + Expect(127, la); // "From" + currentState = 174; + break; + } + case 178: { + if (la == null) { currentState = 178; break; } + Expect(38, la); // "(" + currentState = 179; + break; + } + case 179: { + if (la == null) { currentState = 179; break; } + if (set[31, la.kind]) { + stateStack.Push(180); + goto case 187; + } else { + goto case 180; + } + } + case 180: { + if (la == null) { currentState = 180; break; } + Expect(39, la); // ")" + currentState = 181; + break; + } + case 181: { + nextTokenIsPotentialStartOfXmlMode = true; + goto case 182; + } + case 182: { + if (la == null) { currentState = 182; break; } + if (set[18, la.kind]) { goto case 44; } else { - if (la.kind == 1 || la.kind == 22 || la.kind == 62) { - if (la.kind == 62) { - currentState = 181; + if (la.kind == 1 || la.kind == 22 || la.kind == 64) { + if (la.kind == 64) { + currentState = 186; break; } else { - goto case 178; + goto case 183; } } else { goto case 6; } } } - case 178: { - stateStack.Push(179); + case 183: { + stateStack.Push(184); goto case 34; } - case 179: { - if (la == null) { currentState = 179; break; } - Expect(112, la); // "End" - currentState = 180; + case 184: { + if (la == null) { currentState = 184; break; } + Expect(114, la); // "End" + currentState = 185; break; } - case 180: { - if (la == null) { currentState = 180; break; } - Expect(126, la); // "Function" + case 185: { + if (la == null) { currentState = 185; break; } + Expect(128, la); // "Function" currentState = stateStack.Pop(); break; } - case 181: { - stateStack.Push(178); - goto case 66; - } - case 182: { + case 186: { stateStack.Push(183); - goto case 184; + goto case 67; } - case 183: { - if (la == null) { currentState = 183; break; } + case 187: { + stateStack.Push(188); + goto case 189; + } + case 188: { + if (la == null) { currentState = 188; break; } if (la.kind == 23) { - currentState = 182; + currentState = 187; break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 184: { - if (la == null) { currentState = 184; break; } - if (la.kind == 39) { - stateStack.Push(184); - goto case 191; + case 189: { + if (la == null) { currentState = 189; break; } + if (la.kind == 41) { + stateStack.Push(189); + goto case 196; } else { - goto case 185; + goto case 190; } } - case 185: { - if (la == null) { currentState = 185; break; } - if (set[29, la.kind]) { - currentState = 185; + case 190: { + if (la == null) { currentState = 190; break; } + if (set[32, la.kind]) { + currentState = 190; break; } else { PushContext(Context.IdentifierExpected, t); - stateStack.Push(186); - goto case 127; + stateStack.Push(191); + goto case 131; } } - case 186: { + case 191: { PopContext(); - goto case 187; + goto case 192; } - case 187: { - if (la == null) { currentState = 187; break; } - if (la.kind == 62) { - goto case 189; + case 192: { + if (la == null) { currentState = 192; break; } + if (la.kind == 64) { + goto case 194; } else { - goto case 188; + goto case 193; } } - case 188: { - if (la == null) { currentState = 188; break; } + case 193: { + if (la == null) { currentState = 193; break; } if (la.kind == 21) { - goto case 46; + goto case 143; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 189: { - if (la == null) { currentState = 189; break; } - currentState = 190; + case 194: { + if (la == null) { currentState = 194; break; } + currentState = 195; break; } - case 190: { - stateStack.Push(188); - goto case 66; + case 195: { + stateStack.Push(193); + goto case 67; } - case 191: { - if (la == null) { currentState = 191; break; } - Expect(39, la); // "<" - currentState = 192; + case 196: { + if (la == null) { currentState = 196; break; } + Expect(41, la); // "<" + currentState = 197; break; } - case 192: { + case 197: { PushContext(Context.Attribute, t); - goto case 193; + goto case 198; } - case 193: { - if (la == null) { currentState = 193; break; } - if (set[30, la.kind]) { - currentState = 193; - break; + case 198: { + if (la == null) { currentState = 198; break; } + if (set[33, la.kind]) { + currentState = 198; + break; } else { - Expect(38, la); // ">" - currentState = 194; + Expect(40, la); // ">" + currentState = 199; break; } } - case 194: { + case 199: { PopContext(); - goto case 195; + goto case 200; } - case 195: { - if (la == null) { currentState = 195; break; } + case 200: { + if (la == null) { currentState = 200; break; } if (la.kind == 1) { goto case 19; } else { @@ -1697,70 +1741,80 @@ int currentState = 0; goto switchlbl; } } - case 196: { - if (la == null) { currentState = 196; break; } - Expect(36, la); // "(" - currentState = 197; + case 201: { + if (la == null) { currentState = 201; break; } + Expect(38, la); // "(" + currentState = 202; break; } - case 197: { - if (la == null) { currentState = 197; break; } - if (set[28, la.kind]) { - stateStack.Push(198); - goto case 182; + case 202: { + if (la == null) { currentState = 202; break; } + if (set[31, la.kind]) { + stateStack.Push(203); + goto case 187; } else { - goto case 198; + goto case 203; } } - case 198: { - if (la == null) { currentState = 198; break; } - Expect(37, la); // ")" - currentState = 199; + case 203: { + if (la == null) { currentState = 203; break; } + Expect(39, la); // ")" + currentState = 204; break; } - case 199: { + case 204: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 200; + goto case 205; } - case 200: { - if (la == null) { currentState = 200; break; } + case 205: { + if (la == null) { currentState = 205; break; } if (set[9, la.kind]) { goto case 42; } else { if (la.kind == 1 || la.kind == 22) { - stateStack.Push(201); + stateStack.Push(206); goto case 34; } else { goto case 6; } } } - case 201: { - if (la == null) { currentState = 201; break; } - Expect(112, la); // "End" - currentState = 202; + case 206: { + if (la == null) { currentState = 206; break; } + Expect(114, la); // "End" + currentState = 207; break; } - case 202: { - if (la == null) { currentState = 202; break; } - Expect(208, la); // "Sub" + case 207: { + if (la == null) { currentState = 207; break; } + Expect(210, la); // "Sub" currentState = stateStack.Pop(); break; } - case 203: { - if (la == null) { currentState = 203; break; } - if (la.kind == 17) { - currentState = 203; - break; + case 208: { + if (la == null) { currentState = 208; break; } + if (la.kind == 17 || la.kind == 19) { + if (la.kind == 17) { + currentState = 219; + break; + } else { + if (la.kind == 19) { + stateStack.Push(219); + goto case 220; + } else { + Error(la); + goto case 208; + } + } } else { - stateStack.Push(204); - goto case 205; + stateStack.Push(209); + goto case 211; } } - case 204: { - if (la == null) { currentState = 204; break; } + case 209: { + if (la == null) { currentState = 209; break; } if (la.kind == 17) { - currentState = 204; + currentState = 210; break; } else { PopContext(); @@ -1768,277 +1822,372 @@ int currentState = 0; goto switchlbl; } } - case 205: { - if (la == null) { currentState = 205; break; } + case 210: { + if (la == null) { currentState = 210; break; } + if (la.kind == 16) { + currentState = 209; + break; + } else { + goto case 209; + } + } + case 211: { + if (la == null) { currentState = 211; break; } Expect(10, la); // XmlOpenTag - currentState = 206; + currentState = 212; break; } - case 206: { - if (la == null) { currentState = 206; break; } - if (set[31, la.kind]) { - currentState = 206; - break; + case 212: { + if (la == null) { currentState = 212; break; } + if (set[34, la.kind]) { + if (set[35, la.kind]) { + currentState = 212; + break; + } else { + if (la.kind == 12) { + stateStack.Push(212); + goto case 216; + } else { + Error(la); + goto case 212; + } + } } else { if (la.kind == 14) { goto case 19; } else { if (la.kind == 11) { - goto case 207; + goto case 213; } else { goto case 6; } } } } - case 207: { - if (la == null) { currentState = 207; break; } - currentState = 208; + case 213: { + if (la == null) { currentState = 213; break; } + currentState = 214; break; } - case 208: { - if (la == null) { currentState = 208; break; } - if (set[32, la.kind]) { - if (set[33, la.kind]) { - goto case 207; + case 214: { + if (la == null) { currentState = 214; break; } + if (set[36, la.kind]) { + if (set[37, la.kind]) { + goto case 213; } else { - if (la.kind == 10) { - stateStack.Push(208); - goto case 205; + if (la.kind == 12) { + stateStack.Push(214); + goto case 216; } else { - Error(la); - goto case 208; + if (la.kind == 10) { + stateStack.Push(214); + goto case 211; + } else { + Error(la); + goto case 214; + } } } } else { Expect(15, la); // XmlOpenEndTag - currentState = 209; + currentState = 215; break; } } - case 209: { - if (la == null) { currentState = 209; break; } - if (set[34, la.kind]) { - currentState = 209; - break; + case 215: { + if (la == null) { currentState = 215; break; } + if (set[38, la.kind]) { + if (set[39, la.kind]) { + currentState = 215; + break; + } else { + if (la.kind == 12) { + stateStack.Push(215); + goto case 216; + } else { + Error(la); + goto case 215; + } + } } else { Expect(11, la); // XmlCloseTag currentState = stateStack.Pop(); break; } } - case 210: { - if (la == null) { currentState = 210; break; } - Expect(36, la); // "(" - currentState = 211; + case 216: { + if (la == null) { currentState = 216; break; } + Expect(12, la); // XmlStartInlineVB + currentState = 217; break; } - case 211: { + case 217: { + stateStack.Push(218); + goto case 44; + } + case 218: { + if (la == null) { currentState = 218; break; } + Expect(13, la); // XmlEndInlineVB + currentState = stateStack.Pop(); + break; + } + case 219: { + if (la == null) { currentState = 219; break; } + if (la.kind == 16) { + currentState = 208; + break; + } else { + goto case 208; + } + } + case 220: { + if (la == null) { currentState = 220; break; } + Expect(19, la); // XmlProcessingInstructionStart + currentState = 221; + break; + } + case 221: { + stateStack.Push(222); + goto case 131; + } + case 222: { + if (la == null) { currentState = 222; break; } + if (set[28, la.kind]) { + currentState = 223; + break; + } else { + Expect(20, la); // XmlProcessingInstructionEnd + currentState = stateStack.Pop(); + break; + } + } + case 223: { + if (la == null) { currentState = 223; break; } + if (la.kind == 21) { + currentState = 224; + break; + } else { + goto case 222; + } + } + case 224: { + if (la == null) { currentState = 224; break; } + Expect(3, la); // LiteralString + currentState = 222; + break; + } + case 225: { + if (la == null) { currentState = 225; break; } + Expect(38, la); // "(" + currentState = 226; + break; + } + case 226: { readXmlIdentifier = true; - stateStack.Push(74); - goto case 127; + stateStack.Push(75); + goto case 131; } - case 212: { - if (la == null) { currentState = 212; break; } - Expect(36, la); // "(" - currentState = 112; + case 227: { + if (la == null) { currentState = 227; break; } + Expect(38, la); // "(" + currentState = 116; break; } - case 213: { - stateStack.Push(214); + case 228: { + stateStack.Push(229); goto case 44; } - case 214: { - stateStack.Push(215); + case 229: { + stateStack.Push(230); goto case 34; } - case 215: { - if (la == null) { currentState = 215; break; } - Expect(112, la); // "End" - currentState = 216; + case 230: { + if (la == null) { currentState = 230; break; } + Expect(114, la); // "End" + currentState = 231; break; } - case 216: { - if (la == null) { currentState = 216; break; } - Expect(224, la); // "Using" + case 231: { + if (la == null) { currentState = 231; break; } + Expect(226, la); // "Using" currentState = stateStack.Pop(); break; } - case 217: { - if (la == null) { currentState = 217; break; } - currentState = 218; + case 232: { + if (la == null) { currentState = 232; break; } + currentState = 233; break; } - case 218: { - stateStack.Push(219); + case 233: { + stateStack.Push(234); goto case 44; } - case 219: { - if (la == null) { currentState = 219; break; } + case 234: { + if (la == null) { currentState = 234; break; } if (la.kind == 23) { - goto case 217; + goto case 232; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 220: { + case 235: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 221; + goto case 236; } - case 221: { - if (la == null) { currentState = 221; break; } - if (la.kind == 182) { - goto case 46; + case 236: { + if (la == null) { currentState = 236; break; } + if (la.kind == 184) { + goto case 143; } else { goto case 44; } } - case 222: { - if (la == null) { currentState = 222; break; } - currentState = 223; + case 237: { + if (la == null) { currentState = 237; break; } + currentState = 238; break; } - case 223: { + case 238: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 224; + goto case 239; } - case 224: { - if (la == null) { currentState = 224; break; } - if (set[17, la.kind]) { + case 239: { + if (la == null) { currentState = 239; break; } + if (set[18, la.kind]) { goto case 44; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 225: { - if (la == null) { currentState = 225; break; } - if (la.kind == 107 || la.kind == 123 || la.kind == 229) { + case 240: { + if (la == null) { currentState = 240; break; } + if (la.kind == 109 || la.kind == 125 || la.kind == 231) { goto case 19; } else { goto case 6; } } - case 226: { - if (la == null) { currentState = 226; break; } - if (set[35, la.kind]) { + case 241: { + if (la == null) { currentState = 241; break; } + if (set[40, la.kind]) { goto case 19; } else { goto case 6; } } - case 227: { - if (la == null) { currentState = 227; break; } - if (set[36, la.kind]) { + case 242: { + if (la == null) { currentState = 242; break; } + if (set[41, la.kind]) { goto case 19; } else { goto case 6; } } - case 228: { - stateStack.Push(229); + case 243: { + stateStack.Push(244); goto case 34; } - case 229: { - if (la == null) { currentState = 229; break; } - if (la.kind == 74) { - currentState = 233; + case 244: { + if (la == null) { currentState = 244; break; } + if (la.kind == 76) { + currentState = 248; break; } else { - if (la.kind == 122) { - currentState = 232; + if (la.kind == 124) { + currentState = 247; break; } else { - goto case 230; + goto case 245; } } } - case 230: { - if (la == null) { currentState = 230; break; } - Expect(112, la); // "End" - currentState = 231; + case 245: { + if (la == null) { currentState = 245; break; } + Expect(114, la); // "End" + currentState = 246; break; } - case 231: { - if (la == null) { currentState = 231; break; } - Expect(216, la); // "Try" + case 246: { + if (la == null) { currentState = 246; break; } + Expect(218, la); // "Try" currentState = stateStack.Pop(); break; } - case 232: { - stateStack.Push(230); + case 247: { + stateStack.Push(245); goto case 34; } - case 233: { - if (la == null) { currentState = 233; break; } - if (set[25, la.kind]) { + case 248: { + if (la == null) { currentState = 248; break; } + if (set[28, la.kind]) { PushContext(Context.IdentifierExpected, t); - stateStack.Push(236); - goto case 127; + stateStack.Push(251); + goto case 131; } else { - goto case 234; + goto case 249; } } - case 234: { - if (la == null) { currentState = 234; break; } - if (la.kind == 227) { - currentState = 235; + case 249: { + if (la == null) { currentState = 249; break; } + if (la.kind == 229) { + currentState = 250; break; } else { - goto case 228; + goto case 243; } } - case 235: { - stateStack.Push(228); + case 250: { + stateStack.Push(243); goto case 44; } - case 236: { + case 251: { PopContext(); - goto case 237; + goto case 252; } - case 237: { - if (la == null) { currentState = 237; break; } - if (la.kind == 62) { - currentState = 238; + case 252: { + if (la == null) { currentState = 252; break; } + if (la.kind == 64) { + currentState = 253; break; } else { - goto case 234; + goto case 249; } } - case 238: { - stateStack.Push(234); - goto case 66; + case 253: { + stateStack.Push(249); + goto case 67; } - case 239: { - if (la == null) { currentState = 239; break; } - if (set[37, la.kind]) { + case 254: { + if (la == null) { currentState = 254; break; } + if (set[42, la.kind]) { goto case 19; } else { goto case 6; } } - case 240: { - if (la == null) { currentState = 240; break; } - Expect(117, la); // "Error" - currentState = 241; + case 255: { + if (la == null) { currentState = 255; break; } + Expect(119, la); // "Error" + currentState = 256; break; } - case 241: { + case 256: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 242; + goto case 257; } - case 242: { - if (la == null) { currentState = 242; break; } - if (set[17, la.kind]) { + case 257: { + if (la == null) { currentState = 257; break; } + if (set[18, la.kind]) { goto case 44; } else { - if (la.kind == 131) { - currentState = 244; + if (la.kind == 133) { + currentState = 259; break; } else { - if (la.kind == 192) { - currentState = 243; + if (la.kind == 194) { + currentState = 258; break; } else { goto case 6; @@ -2046,115 +2195,115 @@ int currentState = 0; } } } - case 243: { - if (la == null) { currentState = 243; break; } - Expect(162, la); // "Next" + case 258: { + if (la == null) { currentState = 258; break; } + Expect(164, la); // "Next" currentState = stateStack.Pop(); break; } - case 244: { - if (la == null) { currentState = 244; break; } - if (set[36, la.kind]) { + case 259: { + if (la == null) { currentState = 259; break; } + if (set[41, la.kind]) { goto case 19; } else { goto case 6; } } - case 245: { + case 260: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 246; + goto case 261; } - case 246: { - if (la == null) { currentState = 246; break; } + case 261: { + if (la == null) { currentState = 261; break; } if (set[14, la.kind]) { - stateStack.Push(260); - goto case 256; + stateStack.Push(275); + goto case 271; } else { - if (la.kind == 109) { - currentState = 247; + if (la.kind == 111) { + currentState = 262; break; } else { goto case 6; } } } - case 247: { - stateStack.Push(248); - goto case 256; + case 262: { + stateStack.Push(263); + goto case 271; } - case 248: { - if (la == null) { currentState = 248; break; } - Expect(137, la); // "In" - currentState = 249; + case 263: { + if (la == null) { currentState = 263; break; } + Expect(139, la); // "In" + currentState = 264; break; } - case 249: { - stateStack.Push(250); + case 264: { + stateStack.Push(265); goto case 44; } - case 250: { - stateStack.Push(251); + case 265: { + stateStack.Push(266); goto case 34; } - case 251: { - if (la == null) { currentState = 251; break; } - Expect(162, la); // "Next" - currentState = 252; + case 266: { + if (la == null) { currentState = 266; break; } + Expect(164, la); // "Next" + currentState = 267; break; } - case 252: { + case 267: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 253; + goto case 268; } - case 253: { - if (la == null) { currentState = 253; break; } - if (set[17, la.kind]) { - goto case 254; + case 268: { + if (la == null) { currentState = 268; break; } + if (set[18, la.kind]) { + goto case 269; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 254: { - stateStack.Push(255); + case 269: { + stateStack.Push(270); goto case 44; } - case 255: { - if (la == null) { currentState = 255; break; } + case 270: { + if (la == null) { currentState = 270; break; } if (la.kind == 23) { - currentState = 254; + currentState = 269; break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 256: { + case 271: { PushContext(Context.IdentifierExpected, t); - stateStack.Push(257); - goto case 100; + stateStack.Push(272); + goto case 104; } - case 257: { + case 272: { PopContext(); - goto case 258; + goto case 273; } - case 258: { - if (la == null) { currentState = 258; break; } - if (la.kind == 32) { - currentState = 259; + case 273: { + if (la == null) { currentState = 273; break; } + if (la.kind == 34) { + currentState = 274; break; } else { - goto case 259; + goto case 274; } } - case 259: { - if (la == null) { currentState = 259; break; } - if (la.kind == 27 || la.kind == 28 || la.kind == 36) { - stateStack.Push(259); - goto case 93; + case 274: { + if (la == null) { currentState = 274; break; } + if (set[21, la.kind]) { + stateStack.Push(274); + goto case 94; } else { - if (la.kind == 62) { - currentState = 66; + if (la.kind == 64) { + currentState = 67; break; } else { currentState = stateStack.Pop(); @@ -2162,847 +2311,850 @@ int currentState = 0; } } } - case 260: { - if (la == null) { currentState = 260; break; } + case 275: { + if (la == null) { currentState = 275; break; } Expect(21, la); // "=" - currentState = 261; + currentState = 276; break; } - case 261: { - stateStack.Push(262); + case 276: { + stateStack.Push(277); goto case 44; } - case 262: { - if (la == null) { currentState = 262; break; } - if (la.kind == 203) { - currentState = 269; + case 277: { + if (la == null) { currentState = 277; break; } + if (la.kind == 205) { + currentState = 284; break; } else { - goto case 263; + goto case 278; } } - case 263: { - stateStack.Push(264); + case 278: { + stateStack.Push(279); goto case 34; } - case 264: { - if (la == null) { currentState = 264; break; } - Expect(162, la); // "Next" - currentState = 265; + case 279: { + if (la == null) { currentState = 279; break; } + Expect(164, la); // "Next" + currentState = 280; break; } - case 265: { + case 280: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 266; + goto case 281; } - case 266: { - if (la == null) { currentState = 266; break; } - if (set[17, la.kind]) { - goto case 267; + case 281: { + if (la == null) { currentState = 281; break; } + if (set[18, la.kind]) { + goto case 282; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 267: { - stateStack.Push(268); + case 282: { + stateStack.Push(283); goto case 44; } - case 268: { - if (la == null) { currentState = 268; break; } + case 283: { + if (la == null) { currentState = 283; break; } if (la.kind == 23) { - currentState = 267; + currentState = 282; break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 269: { - stateStack.Push(263); + case 284: { + stateStack.Push(278); goto case 44; } - case 270: { - if (la == null) { currentState = 270; break; } - if (la.kind == 222 || la.kind == 229) { - currentState = 273; + case 285: { + if (la == null) { currentState = 285; break; } + if (la.kind == 224 || la.kind == 231) { + currentState = 288; break; } else { if (la.kind == 1 || la.kind == 22) { - stateStack.Push(271); + stateStack.Push(286); goto case 34; } else { goto case 6; } } } - case 271: { - if (la == null) { currentState = 271; break; } - Expect(151, la); // "Loop" - currentState = 272; + case 286: { + if (la == null) { currentState = 286; break; } + Expect(153, la); // "Loop" + currentState = 287; break; } - case 272: { - if (la == null) { currentState = 272; break; } - if (la.kind == 222 || la.kind == 229) { - goto case 46; + case 287: { + if (la == null) { currentState = 287; break; } + if (la.kind == 224 || la.kind == 231) { + goto case 143; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 273: { - stateStack.Push(274); + case 288: { + stateStack.Push(289); goto case 44; } - case 274: { - stateStack.Push(275); + case 289: { + stateStack.Push(290); goto case 34; } - case 275: { - if (la == null) { currentState = 275; break; } - Expect(151, la); // "Loop" + case 290: { + if (la == null) { currentState = 290; break; } + Expect(153, la); // "Loop" currentState = stateStack.Pop(); break; } - case 276: { - stateStack.Push(277); + case 291: { + stateStack.Push(292); goto case 44; } - case 277: { - stateStack.Push(278); + case 292: { + stateStack.Push(293); goto case 34; } - case 278: { - if (la == null) { currentState = 278; break; } - Expect(112, la); // "End" - currentState = 279; + case 293: { + if (la == null) { currentState = 293; break; } + Expect(114, la); // "End" + currentState = 294; break; } - case 279: { - if (la == null) { currentState = 279; break; } - Expect(229, la); // "While" + case 294: { + if (la == null) { currentState = 294; break; } + Expect(231, la); // "While" currentState = stateStack.Pop(); break; } - case 280: { + case 295: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 281; + goto case 296; } - case 281: { - if (la == null) { currentState = 281; break; } - if (la.kind == 73) { - currentState = 282; + case 296: { + if (la == null) { currentState = 296; break; } + if (la.kind == 75) { + currentState = 297; break; } else { - goto case 282; + goto case 297; } } - case 282: { - stateStack.Push(283); + case 297: { + stateStack.Push(298); goto case 44; } - case 283: { - stateStack.Push(284); + case 298: { + stateStack.Push(299); goto case 18; } - case 284: { - if (la == null) { currentState = 284; break; } - if (la.kind == 73) { - currentState = 286; + case 299: { + if (la == null) { currentState = 299; break; } + if (la.kind == 75) { + currentState = 301; break; } else { - Expect(112, la); // "End" - currentState = 285; + Expect(114, la); // "End" + currentState = 300; break; } } - case 285: { - if (la == null) { currentState = 285; break; } - Expect(195, la); // "Select" + case 300: { + if (la == null) { currentState = 300; break; } + Expect(197, la); // "Select" currentState = stateStack.Pop(); break; } - case 286: { + case 301: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 287; + goto case 302; } - case 287: { - if (la == null) { currentState = 287; break; } - if (la.kind == 110) { - currentState = 288; + case 302: { + if (la == null) { currentState = 302; break; } + if (la.kind == 112) { + currentState = 303; break; } else { - if (set[38, la.kind]) { - goto case 289; + if (set[43, la.kind]) { + goto case 304; } else { Error(la); - goto case 288; + goto case 303; } } } - case 288: { - stateStack.Push(284); + case 303: { + stateStack.Push(299); goto case 34; } - case 289: { + case 304: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 290; + goto case 305; } - case 290: { - if (la == null) { currentState = 290; break; } - if (set[39, la.kind]) { - if (la.kind == 143) { - currentState = 292; + case 305: { + if (la == null) { currentState = 305; break; } + if (set[44, la.kind]) { + if (la.kind == 145) { + currentState = 307; break; } else { - goto case 292; + goto case 307; } } else { - if (set[17, la.kind]) { - stateStack.Push(291); + if (set[18, la.kind]) { + stateStack.Push(306); goto case 44; } else { Error(la); - goto case 291; + goto case 306; } } } - case 291: { - if (la == null) { currentState = 291; break; } + case 306: { + if (la == null) { currentState = 306; break; } if (la.kind == 23) { - currentState = 289; + currentState = 304; break; } else { - goto case 288; + goto case 303; } } - case 292: { - stateStack.Push(293); - goto case 294; + case 307: { + stateStack.Push(308); + goto case 309; } - case 293: { - stateStack.Push(291); + case 308: { + stateStack.Push(306); goto case 47; } - case 294: { - if (la == null) { currentState = 294; break; } - if (set[40, la.kind]) { + case 309: { + if (la == null) { currentState = 309; break; } + if (set[45, la.kind]) { goto case 19; } else { goto case 6; } } - case 295: { - stateStack.Push(296); + case 310: { + stateStack.Push(311); goto case 44; } - case 296: { - if (la == null) { currentState = 296; break; } - if (la.kind == 212) { - currentState = 305; + case 311: { + if (la == null) { currentState = 311; break; } + if (la.kind == 214) { + currentState = 320; break; } else { - goto case 297; + goto case 312; } } - case 297: { - if (la == null) { currentState = 297; break; } + case 312: { + if (la == null) { currentState = 312; break; } if (la.kind == 1 || la.kind == 22) { - goto case 298; + goto case 313; } else { goto case 6; } } - case 298: { - stateStack.Push(299); + case 313: { + stateStack.Push(314); goto case 34; } - case 299: { - if (la == null) { currentState = 299; break; } - if (la.kind == 110 || la.kind == 111) { - if (la.kind == 110) { - currentState = 304; + case 314: { + if (la == null) { currentState = 314; break; } + if (la.kind == 112 || la.kind == 113) { + if (la.kind == 112) { + currentState = 319; break; } else { - if (la.kind == 111) { - goto case 301; + if (la.kind == 113) { + goto case 316; } else { Error(la); - goto case 298; + goto case 313; } } } else { - Expect(112, la); // "End" - currentState = 300; + Expect(114, la); // "End" + currentState = 315; break; } } - case 300: { - if (la == null) { currentState = 300; break; } - Expect(134, la); // "If" + case 315: { + if (la == null) { currentState = 315; break; } + Expect(136, la); // "If" currentState = stateStack.Pop(); break; } - case 301: { - if (la == null) { currentState = 301; break; } - currentState = 302; + case 316: { + if (la == null) { currentState = 316; break; } + currentState = 317; break; } - case 302: { - stateStack.Push(303); + case 317: { + stateStack.Push(318); goto case 44; } - case 303: { - if (la == null) { currentState = 303; break; } - if (la.kind == 212) { - currentState = 298; + case 318: { + if (la == null) { currentState = 318; break; } + if (la.kind == 214) { + currentState = 313; break; } else { - goto case 298; + goto case 313; } } - case 304: { - if (la == null) { currentState = 304; break; } - if (la.kind == 134) { - goto case 301; + case 319: { + if (la == null) { currentState = 319; break; } + if (la.kind == 136) { + goto case 316; } else { - goto case 298; + goto case 313; } } - case 305: { + case 320: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 306; + goto case 321; } - case 306: { - if (la == null) { currentState = 306; break; } + case 321: { + if (la == null) { currentState = 321; break; } if (set[9, la.kind]) { - goto case 307; + goto case 322; } else { - goto case 297; + goto case 312; } } - case 307: { - stateStack.Push(308); + case 322: { + stateStack.Push(323); goto case 42; } - case 308: { - if (la == null) { currentState = 308; break; } + case 323: { + if (la == null) { currentState = 323; break; } if (la.kind == 22) { - currentState = 314; + currentState = 329; break; } else { - if (la.kind == 110) { - goto case 310; + if (la.kind == 112) { + goto case 325; } else { - goto case 309; + goto case 324; } } } - case 309: { - if (la == null) { currentState = 309; break; } + case 324: { + if (la == null) { currentState = 324; break; } Expect(1, la); // EOL currentState = stateStack.Pop(); break; } - case 310: { - if (la == null) { currentState = 310; break; } - currentState = 311; + case 325: { + if (la == null) { currentState = 325; break; } + currentState = 326; break; } - case 311: { + case 326: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 312; + goto case 327; } - case 312: { - if (la == null) { currentState = 312; break; } + case 327: { + if (la == null) { currentState = 327; break; } if (set[9, la.kind]) { - stateStack.Push(313); + stateStack.Push(328); goto case 42; } else { - goto case 313; + goto case 328; } } - case 313: { - if (la == null) { currentState = 313; break; } + case 328: { + if (la == null) { currentState = 328; break; } if (la.kind == 22) { - goto case 310; + goto case 325; } else { - goto case 309; + goto case 324; } } - case 314: { + case 329: { nextTokenIsPotentialStartOfXmlMode = true; - goto case 315; + goto case 330; } - case 315: { - if (la == null) { currentState = 315; break; } + case 330: { + if (la == null) { currentState = 330; break; } if (set[9, la.kind]) { - goto case 307; + goto case 322; } else { - goto case 308; + goto case 323; } } - case 316: { - stateStack.Push(317); - goto case 19; + case 331: { + stateStack.Push(332); + goto case 59; } - case 317: { - if (la == null) { currentState = 317; break; } - if (la.kind == 36) { - currentState = 75; + case 332: { + if (la == null) { currentState = 332; break; } + if (la.kind == 38) { + currentState = 76; break; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 318: { - stateStack.Push(319); + case 333: { + stateStack.Push(334); goto case 44; } - case 319: { - if (la == null) { currentState = 319; break; } + case 334: { + if (la == null) { currentState = 334; break; } Expect(23, la); // "," currentState = 44; break; } - case 320: { - stateStack.Push(321); + case 335: { + stateStack.Push(336); goto case 44; } - case 321: { - stateStack.Push(322); + case 336: { + stateStack.Push(337); goto case 34; } - case 322: { - if (la == null) { currentState = 322; break; } - Expect(112, la); // "End" - currentState = 323; + case 337: { + if (la == null) { currentState = 337; break; } + Expect(114, la); // "End" + currentState = 338; break; } - case 323: { - if (la == null) { currentState = 323; break; } - if (la.kind == 209 || la.kind == 231) { + case 338: { + if (la == null) { currentState = 338; break; } + if (la.kind == 211 || la.kind == 233) { goto case 19; } else { goto case 6; } } - case 324: { + case 339: { PushContext(Context.IdentifierExpected, t); - stateStack.Push(325); - goto case 127; + if (la != null) + CurrentBlock.lastExpressionStart = la.Location; + + stateStack.Push(340); + goto case 131; } - case 325: { + case 340: { PopContext(); - goto case 326; + goto case 341; } - case 326: { - if (la == null) { currentState = 326; break; } - if (la.kind == 32) { - currentState = 327; + case 341: { + if (la == null) { currentState = 341; break; } + if (la.kind == 34) { + currentState = 342; break; } else { - goto case 327; + goto case 342; } } - case 327: { - if (la == null) { currentState = 327; break; } - if (la.kind == 36) { - goto case 337; + case 342: { + if (la == null) { currentState = 342; break; } + if (la.kind == 38) { + goto case 352; } else { - goto case 328; + goto case 343; } } - case 328: { - if (la == null) { currentState = 328; break; } + case 343: { + if (la == null) { currentState = 343; break; } if (la.kind == 23) { - currentState = 330; + currentState = 345; break; } else { - if (la.kind == 62) { - currentState = 329; + if (la.kind == 64) { + currentState = 344; break; } else { - goto case 188; + goto case 193; } } } - case 329: { - if (la == null) { currentState = 329; break; } - if (la.kind == 161) { - goto case 189; + case 344: { + if (la == null) { currentState = 344; break; } + if (la.kind == 163) { + goto case 194; } else { - goto case 190; + goto case 195; } } - case 330: { + case 345: { PushContext(Context.IdentifierExpected, t); - stateStack.Push(331); - goto case 127; + stateStack.Push(346); + goto case 131; } - case 331: { + case 346: { PopContext(); - goto case 332; + goto case 347; } - case 332: { - if (la == null) { currentState = 332; break; } - if (la.kind == 32) { - currentState = 333; + case 347: { + if (la == null) { currentState = 347; break; } + if (la.kind == 34) { + currentState = 348; break; } else { - goto case 333; + goto case 348; } } - case 333: { - if (la == null) { currentState = 333; break; } - if (la.kind == 36) { - goto case 334; + case 348: { + if (la == null) { currentState = 348; break; } + if (la.kind == 38) { + goto case 349; } else { - goto case 328; + goto case 343; } } - case 334: { - if (la == null) { currentState = 334; break; } - currentState = 335; + case 349: { + if (la == null) { currentState = 349; break; } + currentState = 350; break; } - case 335: { - if (la == null) { currentState = 335; break; } + case 350: { + if (la == null) { currentState = 350; break; } if (la.kind == 23) { - goto case 334; + goto case 349; } else { - goto case 336; + goto case 351; } } - case 336: { - if (la == null) { currentState = 336; break; } - Expect(37, la); // ")" - currentState = 328; + case 351: { + if (la == null) { currentState = 351; break; } + Expect(39, la); // ")" + currentState = 343; break; } - case 337: { - if (la == null) { currentState = 337; break; } - currentState = 338; + case 352: { + if (la == null) { currentState = 352; break; } + currentState = 353; break; } - case 338: { - if (la == null) { currentState = 338; break; } + case 353: { + if (la == null) { currentState = 353; break; } if (la.kind == 23) { - goto case 337; + goto case 352; } else { - goto case 336; + goto case 351; } } - case 339: { - if (la == null) { currentState = 339; break; } - if (la.kind == 39) { - stateStack.Push(339); - goto case 191; + case 354: { + if (la == null) { currentState = 354; break; } + if (la.kind == 41) { + stateStack.Push(354); + goto case 196; } else { stateStack.Push(31); - goto case 66; + goto case 67; } } - case 340: { - if (la == null) { currentState = 340; break; } - Expect(97, la); // "Custom" - currentState = 341; + case 355: { + if (la == null) { currentState = 355; break; } + Expect(99, la); // "Custom" + currentState = 356; break; } - case 341: { - stateStack.Push(342); - goto case 352; + case 356: { + stateStack.Push(357); + goto case 367; } - case 342: { - if (la == null) { currentState = 342; break; } - if (set[41, la.kind]) { - goto case 344; + case 357: { + if (la == null) { currentState = 357; break; } + if (set[46, la.kind]) { + goto case 359; } else { - Expect(112, la); // "End" - currentState = 343; + Expect(114, la); // "End" + currentState = 358; break; } } - case 343: { - if (la == null) { currentState = 343; break; } - Expect(118, la); // "Event" + case 358: { + if (la == null) { currentState = 358; break; } + Expect(120, la); // "Event" currentState = 18; break; } - case 344: { - if (la == null) { currentState = 344; break; } - if (la.kind == 39) { - stateStack.Push(344); - goto case 191; + case 359: { + if (la == null) { currentState = 359; break; } + if (la.kind == 41) { + stateStack.Push(359); + goto case 196; } else { - if (la.kind == 55 || la.kind == 187 || la.kind == 191) { - currentState = 345; + if (la.kind == 57 || la.kind == 189 || la.kind == 193) { + currentState = 360; break; } else { Error(la); - goto case 345; + goto case 360; } } } - case 345: { - if (la == null) { currentState = 345; break; } - Expect(36, la); // "(" - currentState = 346; + case 360: { + if (la == null) { currentState = 360; break; } + Expect(38, la); // "(" + currentState = 361; break; } - case 346: { - stateStack.Push(347); - goto case 182; + case 361: { + stateStack.Push(362); + goto case 187; } - case 347: { - if (la == null) { currentState = 347; break; } - Expect(37, la); // ")" - currentState = 348; + case 362: { + if (la == null) { currentState = 362; break; } + Expect(39, la); // ")" + currentState = 363; break; } - case 348: { - stateStack.Push(349); + case 363: { + stateStack.Push(364); goto case 34; } - case 349: { - if (la == null) { currentState = 349; break; } - Expect(112, la); // "End" - currentState = 350; + case 364: { + if (la == null) { currentState = 364; break; } + Expect(114, la); // "End" + currentState = 365; break; } - case 350: { - if (la == null) { currentState = 350; break; } - if (la.kind == 55 || la.kind == 187 || la.kind == 191) { - currentState = 351; + case 365: { + if (la == null) { currentState = 365; break; } + if (la.kind == 57 || la.kind == 189 || la.kind == 193) { + currentState = 366; break; } else { Error(la); - goto case 351; + goto case 366; } } - case 351: { - stateStack.Push(342); + case 366: { + stateStack.Push(357); goto case 18; } - case 352: { - if (la == null) { currentState = 352; break; } - Expect(118, la); // "Event" - currentState = 353; + case 367: { + if (la == null) { currentState = 367; break; } + Expect(120, la); // "Event" + currentState = 368; break; } - case 353: { + case 368: { PushContext(Context.IdentifierExpected, t); - stateStack.Push(354); - goto case 127; + stateStack.Push(369); + goto case 131; } - case 354: { + case 369: { PopContext(); - goto case 355; + goto case 370; } - case 355: { - if (la == null) { currentState = 355; break; } - if (la.kind == 62) { - currentState = 362; + case 370: { + if (la == null) { currentState = 370; break; } + if (la.kind == 64) { + currentState = 377; break; } else { - if (set[42, la.kind]) { - if (la.kind == 36) { - currentState = 360; + if (set[47, la.kind]) { + if (la.kind == 38) { + currentState = 375; break; } else { - goto case 356; + goto case 371; } } else { Error(la); - goto case 356; + goto case 371; } } } - case 356: { - if (la == null) { currentState = 356; break; } - if (la.kind == 135) { - goto case 357; + case 371: { + if (la == null) { currentState = 371; break; } + if (la.kind == 137) { + goto case 372; } else { goto case 18; } } - case 357: { - if (la == null) { currentState = 357; break; } - currentState = 358; + case 372: { + if (la == null) { currentState = 372; break; } + currentState = 373; break; } - case 358: { - stateStack.Push(359); - goto case 66; + case 373: { + stateStack.Push(374); + goto case 67; } - case 359: { - if (la == null) { currentState = 359; break; } + case 374: { + if (la == null) { currentState = 374; break; } if (la.kind == 23) { - goto case 357; + goto case 372; } else { goto case 18; } } - case 360: { - if (la == null) { currentState = 360; break; } - if (set[28, la.kind]) { - stateStack.Push(361); - goto case 182; + case 375: { + if (la == null) { currentState = 375; break; } + if (set[31, la.kind]) { + stateStack.Push(376); + goto case 187; } else { - goto case 361; + goto case 376; } } - case 361: { - if (la == null) { currentState = 361; break; } - Expect(37, la); // ")" - currentState = 356; + case 376: { + if (la == null) { currentState = 376; break; } + Expect(39, la); // ")" + currentState = 371; break; } - case 362: { - stateStack.Push(356); - goto case 66; + case 377: { + stateStack.Push(371); + goto case 67; } - case 363: { - if (la == null) { currentState = 363; break; } - Expect(100, la); // "Declare" - currentState = 364; + case 378: { + if (la == null) { currentState = 378; break; } + Expect(102, la); // "Declare" + currentState = 379; break; } - case 364: { - if (la == null) { currentState = 364; break; } - if (la.kind == 61 || la.kind == 65 || la.kind == 221) { - currentState = 365; + case 379: { + if (la == null) { currentState = 379; break; } + if (la.kind == 63 || la.kind == 67 || la.kind == 223) { + currentState = 380; break; } else { - goto case 365; + goto case 380; } } - case 365: { - if (la == null) { currentState = 365; break; } - if (la.kind == 126 || la.kind == 208) { - currentState = 366; + case 380: { + if (la == null) { currentState = 380; break; } + if (la.kind == 128 || la.kind == 210) { + currentState = 381; break; } else { Error(la); - goto case 366; + goto case 381; } } - case 366: { + case 381: { PushContext(Context.IdentifierExpected, t); - stateStack.Push(367); - goto case 127; + stateStack.Push(382); + goto case 131; } - case 367: { + case 382: { PopContext(); - goto case 368; + goto case 383; } - case 368: { - if (la == null) { currentState = 368; break; } - Expect(148, la); // "Lib" - currentState = 369; + case 383: { + if (la == null) { currentState = 383; break; } + Expect(150, la); // "Lib" + currentState = 384; break; } - case 369: { - if (la == null) { currentState = 369; break; } + case 384: { + if (la == null) { currentState = 384; break; } Expect(3, la); // LiteralString - currentState = 370; + currentState = 385; break; } - case 370: { - if (la == null) { currentState = 370; break; } - if (la.kind == 58) { - currentState = 374; + case 385: { + if (la == null) { currentState = 385; break; } + if (la.kind == 60) { + currentState = 389; break; } else { - goto case 371; + goto case 386; } } - case 371: { - if (la == null) { currentState = 371; break; } - if (la.kind == 36) { - currentState = 372; + case 386: { + if (la == null) { currentState = 386; break; } + if (la.kind == 38) { + currentState = 387; break; } else { goto case 18; } } - case 372: { - if (la == null) { currentState = 372; break; } - if (set[28, la.kind]) { - stateStack.Push(373); - goto case 182; + case 387: { + if (la == null) { currentState = 387; break; } + if (set[31, la.kind]) { + stateStack.Push(388); + goto case 187; } else { - goto case 373; + goto case 388; } } - case 373: { - if (la == null) { currentState = 373; break; } - Expect(37, la); // ")" + case 388: { + if (la == null) { currentState = 388; break; } + Expect(39, la); // ")" currentState = 18; break; } - case 374: { - if (la == null) { currentState = 374; break; } + case 389: { + if (la == null) { currentState = 389; break; } Expect(3, la); // LiteralString - currentState = 371; + currentState = 386; break; } - case 375: { - if (la == null) { currentState = 375; break; } - if (la.kind == 126 || la.kind == 208) { - currentState = 376; + case 390: { + if (la == null) { currentState = 390; break; } + if (la.kind == 128 || la.kind == 210) { + currentState = 391; break; } else { Error(la); - goto case 376; + goto case 391; } } - case 376: { + case 391: { PushContext(Context.IdentifierExpected, t); - goto case 377; + goto case 392; } - case 377: { - if (la == null) { currentState = 377; break; } - currentState = 378; + case 392: { + if (la == null) { currentState = 392; break; } + currentState = 393; break; } - case 378: { + case 393: { PopContext(); - goto case 379; + goto case 394; } - case 379: { - if (la == null) { currentState = 379; break; } - if (la.kind == 36) { - currentState = 385; + case 394: { + if (la == null) { currentState = 394; break; } + if (la.kind == 38) { + currentState = 400; break; } else { - goto case 380; + goto case 395; } } - case 380: { - if (la == null) { currentState = 380; break; } - if (la.kind == 62) { - currentState = 384; + case 395: { + if (la == null) { currentState = 395; break; } + if (la.kind == 64) { + currentState = 399; break; } else { - goto case 381; + goto case 396; } } - case 381: { - stateStack.Push(382); + case 396: { + stateStack.Push(397); goto case 34; } - case 382: { - if (la == null) { currentState = 382; break; } - Expect(112, la); // "End" - currentState = 383; + case 397: { + if (la == null) { currentState = 397; break; } + Expect(114, la); // "End" + currentState = 398; break; } - case 383: { - if (la == null) { currentState = 383; break; } - if (la.kind == 126 || la.kind == 208) { + case 398: { + if (la == null) { currentState = 398; break; } + if (la.kind == 128 || la.kind == 210) { currentState = 18; break; } else { @@ -3010,137 +3162,137 @@ int currentState = 0; goto case 18; } } - case 384: { - stateStack.Push(381); - goto case 66; + case 399: { + stateStack.Push(396); + goto case 67; } - case 385: { - if (la == null) { currentState = 385; break; } - if (set[28, la.kind]) { - stateStack.Push(386); - goto case 182; + case 400: { + if (la == null) { currentState = 400; break; } + if (set[31, la.kind]) { + stateStack.Push(401); + goto case 187; } else { - goto case 386; + goto case 401; } } - case 386: { - if (la == null) { currentState = 386; break; } - Expect(37, la); // ")" - currentState = 380; + case 401: { + if (la == null) { currentState = 401; break; } + Expect(39, la); // ")" + currentState = 395; break; } - case 387: { - if (la == null) { currentState = 387; break; } - if (la.kind == 87) { - currentState = 388; + case 402: { + if (la == null) { currentState = 402; break; } + if (la.kind == 89) { + currentState = 403; break; } else { - goto case 388; + goto case 403; } } - case 388: { + case 403: { PushContext(Context.IdentifierExpected, t); - stateStack.Push(389); - goto case 394; + stateStack.Push(404); + goto case 409; } - case 389: { + case 404: { PopContext(); - goto case 390; + goto case 405; } - case 390: { - if (la == null) { currentState = 390; break; } - if (la.kind == 62) { - currentState = 393; + case 405: { + if (la == null) { currentState = 405; break; } + if (la.kind == 64) { + currentState = 408; break; } else { - goto case 391; + goto case 406; } } - case 391: { - if (la == null) { currentState = 391; break; } + case 406: { + if (la == null) { currentState = 406; break; } if (la.kind == 21) { - currentState = 392; + currentState = 407; break; } else { goto case 18; } } - case 392: { + case 407: { stateStack.Push(18); goto case 44; } - case 393: { - stateStack.Push(391); - goto case 66; + case 408: { + stateStack.Push(406); + goto case 67; } - case 394: { - if (la == null) { currentState = 394; break; } - if (set[43, la.kind]) { + case 409: { + if (la == null) { currentState = 409; break; } + if (set[48, la.kind]) { goto case 19; } else { goto case 6; } } - case 395: { - if (la == null) { currentState = 395; break; } - currentState = 396; + case 410: { + if (la == null) { currentState = 410; break; } + currentState = 411; break; } - case 396: { - if (la == null) { currentState = 396; break; } + case 411: { + if (la == null) { currentState = 411; break; } if (set[3, la.kind]) { - goto case 395; + goto case 410; } else { - stateStack.Push(397); + stateStack.Push(412); goto case 18; } } - case 397: { - if (la == null) { currentState = 397; break; } - if (set[44, la.kind]) { - stateStack.Push(397); + case 412: { + if (la == null) { currentState = 412; break; } + if (set[49, la.kind]) { + stateStack.Push(412); goto case 5; } else { - Expect(112, la); // "End" - currentState = 398; + Expect(114, la); // "End" + currentState = 413; break; } } - case 398: { - if (la == null) { currentState = 398; break; } - Expect(159, la); // "Namespace" + case 413: { + if (la == null) { currentState = 413; break; } + Expect(161, la); // "Namespace" currentState = 18; break; } - case 399: { - if (la == null) { currentState = 399; break; } - Expect(136, la); // "Imports" - currentState = 400; + case 414: { + if (la == null) { currentState = 414; break; } + Expect(138, la); // "Imports" + currentState = 415; break; } - case 400: { - nextTokenIsPotentialStartOfXmlMode = true; - goto case 401; + case 415: { + nextTokenIsStartOfImportsOrAccessExpression = true; + goto case 416; } - case 401: { - if (la == null) { currentState = 401; break; } + case 416: { + if (la == null) { currentState = 416; break; } if (set[3, la.kind]) { - currentState = 401; + currentState = 416; break; } else { goto case 18; } } - case 402: { - if (la == null) { currentState = 402; break; } - Expect(172, la); // "Option" - currentState = 403; + case 417: { + if (la == null) { currentState = 417; break; } + Expect(174, la); // "Option" + currentState = 418; break; } - case 403: { - if (la == null) { currentState = 403; break; } + case 418: { + if (la == null) { currentState = 418; break; } if (set[3, la.kind]) { - currentState = 403; + currentState = 418; break; } else { goto case 18; @@ -3159,51 +3311,56 @@ int currentState = 0; } static readonly bool[,] set = { - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,x,x, T,x,x,T, T,x,T,x, x,x,x,x, x,x,x,T, x,x,T,x, T,x,x,x, T,T,T,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, x,x,x,x, T,x,x,x, T,x,x,x, x,x,T,x, x,T,x,T, x,x,x,T, x,T,T,T, x,T,T,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,T,x, x,T,x,x, x,x,x,x, T,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,T,x, T,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,T,T, x,T,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, T,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,T,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, T,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, T,x,x,T, T,T,T,T, T,x,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,x,x,x, x,x,x,T, T,T,T,T, x,x,x,x, T,x,x,T, T,T,x,T, T,T,x,T, x,T,T,x, T,x,x,T, T,x,T,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,x, x,T,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,T, x,T,x,T, T,T,x,T, x,x,x,x, x,T,T,x, T,x,x,x, T,T,T,T, x,T,x,T, T,T,T,x, x,T,T,x, T,x,x,x, T,T,x,T, x,x,x,T, x,x}, - {x,T,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, T,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, T,x,x,T, T,T,T,T, T,x,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,x,x,x, x,x,x,T, T,T,T,T, x,x,x,x, x,x,x,T, T,T,x,T, T,T,x,T, x,T,T,x, T,x,x,T, T,x,T,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,x, x,T,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,T, x,T,x,T, T,T,x,T, x,x,x,x, x,T,T,x, T,x,x,x, T,T,T,T, x,T,x,T, T,T,T,x, x,T,T,x, T,x,x,x, T,T,x,T, x,x,x,T, x,x}, - {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,T, T,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, T,x,x,T, T,T,T,T, T,x,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,x,x,x, x,x,x,T, T,T,T,T, x,x,x,x, x,x,x,T, T,T,x,T, T,T,x,T, x,T,T,x, T,x,x,T, T,x,T,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,x, x,T,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,T, x,T,x,T, T,T,x,T, x,x,x,x, x,T,T,x, T,x,x,x, T,T,T,T, x,T,x,T, T,T,T,x, x,T,T,x, T,x,x,x, T,T,x,T, x,x,x,T, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,T, T,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, T,x,x,T, T,T,T,T, T,x,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,T,x, T,x,x,x, T,x,T,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,T,T, x,x,x,T, x,T,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,T, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,T,T,x, x,T,T,T, x,T,x,x, x,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,T,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,T, T,T,T,T, T,x,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,T,x, T,x,x,x, T,x,T,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,T,T, x,x,x,T, x,T,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,T, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,x,T,x, T,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,T,x,x, T,x,x,x, x,x,T,x, T,x,T,x, x,T,T,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,T,x,x, x,x,T,x, x,x,T,T, x,x,x,x, x,x,x,T, T,T,T,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x}, - {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,T, T,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,T, T,T,T,T, T,x,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,T,x, T,x,x,x, T,x,T,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,T,T, x,x,x,T, x,T,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,T, x,x}, - {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,T, T,T,T,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,T, T,T,T,T, T,x,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,T,x, T,x,x,x, T,x,T,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,T,T, x,x,x,T, x,T,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,T, x,x}, - {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,T, T,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,T, T,T,T,T, T,x,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,T,x, T,x,x,x, T,x,T,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,T,T, x,x,x,T, x,T,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,T, x,x}, - {x,x,x,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,T,T, T,x,T,x, T,T,x,x, x,T,T,T, T,T,T,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,T,T, T,x,T,x, T,T,x,x, x,T,T,T, T,x,T,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,T, T,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,T, T,T,T,T, T,x,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,T,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,T,x, T,x,x,x, T,x,T,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,T,T, x,x,x,T, x,T,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,T, x,x}, - {x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, T,T,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x}, - {x,T,T,T, T,T,T,T, T,T,T,x, T,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x}, - {x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x}, - {x,T,T,T, T,T,T,T, T,T,x,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x}, - {x,T,T,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,x, x,T,x,x, x,x,x,T, T,T,T,x, x,x,x,x, T,x,T,T, T,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,T, T,T,T,T, T,x,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,T,x, T,x,x,x, T,x,T,x, x,x,T,x, x,x,T,T, x,T,T,x, x,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,T,T, x,x,x,T, x,T,T,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,T, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, T,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, T,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x} + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, x,x,T,x, x,T,T,x, T,x,x,x, x,x,x,x, x,T,x,x, T,x,T,x, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,T,x, x,x,T,x, x,x,x,x, T,x,x,T, x,T,x,x, x,T,x,T, T,T,x,T, T,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, T,x,x,T, x,x,x,x, x,x,T,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, T,x,T,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, T,T,x,T, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,T,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,T,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,x,T,x, x,x,x,T, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,T,x, x,T,T,T, T,T,T,x, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,T,T, T,T,x,x, x,x,T,x, x,T,T,T, x,T,T,T, x,T,x,T, T,x,T,x, x,T,T,x, T,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,x,x,T, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,T,x,T, x,T,T,T, x,T,x,x, x,x,x,T, T,x,T,x, x,x,T,T, T,T,x,T, x,T,T,T, T,x,x,T, T,x,T,x, x,x,T,T, x,T,x,x, x,T,x,x}, + {x,T,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,x,T,x, x,x,x,T, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,T,x, x,T,T,T, T,T,T,x, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,T,T, T,T,x,x, x,x,x,x, x,T,T,T, x,T,T,T, x,T,x,T, T,x,T,x, x,T,T,x, T,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,x,x,T, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,T,x,T, x,T,T,T, x,T,x,x, x,x,x,T, T,x,T,x, x,x,T,T, T,T,x,T, x,T,T,T, T,x,x,T, T,x,T,x, x,x,T,T, x,T,x,x, x,T,x,x}, + {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,x,x,x, x,x,x,T, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,T,x, x,T,T,T, T,T,T,x, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,T,T, T,T,x,x, x,x,x,x, x,T,T,T, x,T,T,T, x,T,x,T, T,x,T,x, x,T,T,x, T,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,x,x,T, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,T,x,T, x,T,T,T, x,T,x,x, x,x,x,T, T,x,T,x, x,x,T,T, T,T,x,T, x,T,T,T, T,x,x,T, T,x,T,x, x,x,T,T, x,T,x,x, x,T,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,x,x,x, x,x,x,T, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,T,x, x,T,T,T, T,T,T,x, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, T,x,T,x, x,x,T,x, T,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,T,x,x, x,T,x,T, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,T,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,T,T,x, x,x,x,T, T,T,x,T, x,x,x,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,T, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,x,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,T,T,T, T,T,T,x, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, T,x,T,x, x,x,T,x, T,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,T,x,x, x,T,x,T, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,T,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,x, T,x,T,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,T, x,x,T,x, x,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,T, x,x,x,x, T,x,x,x, T,T,x,x, x,x,x,x, x,T,T,T, T,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,x}, + {x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,x,x,x, x,x,x,T, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,T,T,T, T,T,T,x, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, T,x,T,x, x,x,T,x, T,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,T,x,x, x,T,x,T, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,T,x,x}, + {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,x,x,T, x,x,x,T, x,x,T,T, T,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,T,T,T, T,T,T,x, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, T,x,T,x, x,x,T,x, T,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,T,x,x, x,T,x,T, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,T,x,x}, + {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,x,x,T, x,x,x,T, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,T,T,T, T,T,T,x, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, T,x,T,x, x,x,T,x, T,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,T,x,x, x,T,x,T, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,T,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,T,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, T,T,T,x, T,x,T,T, x,x,x,T, T,T,T,T, T,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, T,T,T,x, T,x,T,T, x,x,x,T, T,T,T,x, T,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,x,x,x, x,x,x,T, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,T,T,T, T,T,T,x, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,T, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, T,x,T,x, x,x,T,x, T,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,T,x,x, x,T,x,T, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,T,x,x}, + {x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,T,T, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,T,T,T, T,T,T,T, T,T,T,x, T,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,T,T,T, T,T,T,T, T,T,T,x, x,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,T,T,T, T,T,T,T, T,T,x,T, x,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,T,T,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,T,T,T, T,T,T,T, T,T,T,x, x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, x,T,x,x, x,x,x,T, x,x,T,T, T,x,x,x, x,x,T,x, T,T,T,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,T,T,T, T,T,T,x, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, T,x,T,x, x,x,T,x, T,x,x,x, T,x,x,x, T,T,x,T, T,x,x,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,T,x,x, x,T,x,T, T,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,T,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,T,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,T,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x} }; diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/PushParser.frame b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/PushParser.frame index 68ff99e4b2..208b714d2f 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/PushParser.frame +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/PushParser.frame @@ -36,6 +36,7 @@ partial class ExpressionFinder { readonly Stack stateStack = new Stack(); bool nextTokenIsPotentialStartOfXmlMode = false; bool readXmlIdentifier = false; + bool nextTokenIsStartOfImportsOrAccessExpression = false; public ExpressionFinder() { @@ -59,6 +60,8 @@ partial class ExpressionFinder { public void InformToken(Token la) { nextTokenIsPotentialStartOfXmlMode = false; + readXmlIdentifier = false; + nextTokenIsStartOfImportsOrAccessExpression = false; -->informToken ApplyToken(la); if (la != null) t = la; diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/XmlModeLexerTests.cs b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/XmlModeLexerTests.cs index 4639e3b706..15bf0494b1 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/XmlModeLexerTests.cs +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/XmlModeLexerTests.cs @@ -326,6 +326,87 @@ namespace DefaultNamespace CheckFoot(lexer); } + [Test] + public void InlineVB() + { + string code = @"Dim xml = + + + <%= From m In menu _ + Where m.Course = ""appetizer"" _ + Select <%= m.Food %> _ + %> + + + <%= From m In menu _ + Where m.Course = ""main"" _ + Select <%= m.Food %> _ + %> + + + <%= From m In menu _ + Where m.Course = ""dessert"" _ + Select <%= m.Food %> _ + %> + + "; + + ILexer lexer = GenerateLexer(new StringReader(TestStatement(code))); + + CheckHead(lexer); + + CheckTokens(lexer, Tokens.Dim, Tokens.Identifier, Tokens.Assign, Tokens.XmlProcessingInstructionStart, Tokens.Identifier, + Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.XmlProcessingInstructionEnd, Tokens.XmlContent, + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenTag, Tokens.Identifier, + Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlStartInlineVB, + Tokens.From, Tokens.Identifier, Tokens.In, Tokens.Identifier, Tokens.Where, Tokens.Identifier, Tokens.Dot, + Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.Select, Tokens.XmlOpenTag, Tokens.Identifier, + Tokens.XmlCloseTag, Tokens.XmlStartInlineVB, Tokens.Identifier, Tokens.Dot, Tokens.Identifier, Tokens.XmlEndInlineVB, + Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlEndInlineVB, Tokens.XmlContent, Tokens.XmlOpenEndTag, + Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenTag, Tokens.Identifier, + Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlStartInlineVB, + Tokens.From, Tokens.Identifier, Tokens.In, Tokens.Identifier, Tokens.Where, Tokens.Identifier, Tokens.Dot, + Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.Select, Tokens.XmlOpenTag, Tokens.Identifier, + Tokens.XmlCloseTag, Tokens.XmlStartInlineVB, Tokens.Identifier, Tokens.Dot, Tokens.Identifier, Tokens.XmlEndInlineVB, + Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlEndInlineVB, Tokens.XmlContent, Tokens.XmlOpenEndTag, + Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenTag, Tokens.Identifier, + Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlStartInlineVB, + Tokens.From, Tokens.Identifier, Tokens.In, Tokens.Identifier, Tokens.Where, Tokens.Identifier, Tokens.Dot, + Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.Select, Tokens.XmlOpenTag, Tokens.Identifier, + Tokens.XmlCloseTag, Tokens.XmlStartInlineVB, Tokens.Identifier, Tokens.Dot, Tokens.Identifier, Tokens.XmlEndInlineVB, + Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlEndInlineVB, Tokens.XmlContent, Tokens.XmlOpenEndTag, + Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag + ); + + CheckFoot(lexer); + } + + [Test] + public void XmlAccessOperators() + { + string code = @"Dim childAxis = xml.. +Dim course3 = xml...(2) +Dim childAxis = xml... +For Each item In childAxis + Console.WriteLine(item.@name) +Next"; + + ILexer lexer = GenerateLexer(new StringReader(TestStatement(code))); + + CheckHead(lexer); + + CheckTokens(lexer, Tokens.Dim, Tokens.Identifier, Tokens.Assign, Tokens.Identifier, Tokens.Dot, Tokens.XmlOpenTag, + Tokens.Identifier, Tokens.XmlCloseTag, Tokens.Dot, Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, + Tokens.EOL, Tokens.Dim, Tokens.Identifier, Tokens.Assign, Tokens.Identifier, Tokens.TripleDot, Tokens.XmlOpenTag, + Tokens.Identifier, Tokens.XmlCloseTag, Tokens.OpenParenthesis, Tokens.LiteralInteger, Tokens.CloseParenthesis, + Tokens.EOL, Tokens.Dim, Tokens.Identifier, Tokens.Assign, Tokens.Identifier, Tokens.TripleDot, Tokens.XmlOpenTag, + Tokens.Identifier, Tokens.XmlCloseTag, Tokens.EOL, Tokens.For, Tokens.Each, Tokens.Identifier, Tokens.In, Tokens.Identifier, Tokens.EOL, + Tokens.Identifier, Tokens.Dot, Tokens.Identifier, Tokens.OpenParenthesis, Tokens.Identifier, Tokens.DotAt, Tokens.Identifier, Tokens.CloseParenthesis, Tokens.EOL, + Tokens.Next); + + CheckFoot(lexer); + } + [Test] public void GetXmlNamespace() { @@ -336,7 +417,6 @@ namespace DefaultNamespace CheckTokens(lexer, Tokens.Dim, Tokens.Identifier, Tokens.Assign, Tokens.GetXmlNamespace, Tokens.OpenParenthesis, Tokens.Identifier, Tokens.CloseParenthesis); - CheckFoot(lexer); } @@ -354,6 +434,21 @@ namespace DefaultNamespace CheckFoot(lexer); } + [Test] + public void XmlInSelect() + { + ILexer lexer = GenerateLexer(new StringReader(TestStatement("Dim data = From x In list Select x"))); + + CheckHead(lexer); + + CheckTokens(lexer, Tokens.Dim, Tokens.Identifier, Tokens.Assign, + Tokens.From, Tokens.Identifier, Tokens.In, Tokens.Identifier, Tokens.Select, + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenEndTag, + Tokens.Identifier, Tokens.XmlCloseTag); + + CheckFoot(lexer); + } + [Test] public void IfExpressionTest() { diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Parser.cs b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Parser.cs index fa5b8b2ce6..f46996b5ad 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Parser.cs +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Parser.cs @@ -19,7 +19,7 @@ namespace ICSharpCode.NRefactory.Parser.VB { partial class Parser : AbstractParser { - const int maxT = 236; + const int maxT = 238; const bool T = true; const bool x = false; @@ -34,7 +34,7 @@ partial class Parser : AbstractParser void VBNET() { -#line 260 "VBNET.ATG" +#line 262 "VBNET.ATG" lexer.NextToken(); // get the first token compilationUnit = new CompilationUnit(); BlockStart(compilationUnit); @@ -42,20 +42,20 @@ partial class Parser : AbstractParser while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } - while (la.kind == 172) { + while (la.kind == 174) { OptionStmt(); while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - while (la.kind == 136) { + while (la.kind == 138) { ImportsStmt(); while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } while ( -#line 268 "VBNET.ATG" +#line 270 "VBNET.ATG" IsGlobalAttrTarget()) { GlobalAttributeSection(); while (la.kind == 1 || la.kind == 22) { @@ -76,64 +76,64 @@ IsGlobalAttrTarget()) { lexer.NextToken(); } else if (la.kind == 22) { lexer.NextToken(); - } else SynErr(237); + } else SynErr(239); } void OptionStmt() { -#line 273 "VBNET.ATG" +#line 275 "VBNET.ATG" INode node = null; bool val = true; - Expect(172); + Expect(174); -#line 274 "VBNET.ATG" +#line 276 "VBNET.ATG" Location startPos = t.Location; - if (la.kind == 120) { + if (la.kind == 122) { lexer.NextToken(); - if (la.kind == 169 || la.kind == 170) { + if (la.kind == 171 || la.kind == 172) { OptionValue( -#line 276 "VBNET.ATG" +#line 278 "VBNET.ATG" ref val); } -#line 277 "VBNET.ATG" +#line 279 "VBNET.ATG" node = new OptionDeclaration(OptionType.Explicit, val); - } else if (la.kind == 205) { + } else if (la.kind == 207) { lexer.NextToken(); - if (la.kind == 169 || la.kind == 170) { + if (la.kind == 171 || la.kind == 172) { OptionValue( -#line 279 "VBNET.ATG" +#line 281 "VBNET.ATG" ref val); } -#line 280 "VBNET.ATG" +#line 282 "VBNET.ATG" node = new OptionDeclaration(OptionType.Strict, val); - } else if (la.kind == 86) { + } else if (la.kind == 88) { lexer.NextToken(); - if (la.kind == 66) { + if (la.kind == 68) { lexer.NextToken(); -#line 282 "VBNET.ATG" +#line 284 "VBNET.ATG" node = new OptionDeclaration(OptionType.CompareBinary, val); - } else if (la.kind == 211) { + } else if (la.kind == 213) { lexer.NextToken(); -#line 283 "VBNET.ATG" +#line 285 "VBNET.ATG" node = new OptionDeclaration(OptionType.CompareText, val); - } else SynErr(238); - } else if (la.kind == 138) { + } else SynErr(240); + } else if (la.kind == 140) { lexer.NextToken(); - if (la.kind == 169 || la.kind == 170) { + if (la.kind == 171 || la.kind == 172) { OptionValue( -#line 286 "VBNET.ATG" +#line 288 "VBNET.ATG" ref val); } -#line 287 "VBNET.ATG" +#line 289 "VBNET.ATG" node = new OptionDeclaration(OptionType.Infer, val); - } else SynErr(239); + } else SynErr(241); EndOfStmt(); -#line 291 "VBNET.ATG" +#line 293 "VBNET.ATG" if (node != null) { node.StartLocation = startPos; node.EndLocation = t.Location; @@ -144,33 +144,33 @@ ref val); void ImportsStmt() { -#line 314 "VBNET.ATG" +#line 316 "VBNET.ATG" List usings = new List(); - Expect(136); + Expect(138); -#line 318 "VBNET.ATG" +#line 320 "VBNET.ATG" Location startPos = t.Location; Using u; ImportClause( -#line 321 "VBNET.ATG" +#line 323 "VBNET.ATG" out u); -#line 321 "VBNET.ATG" +#line 323 "VBNET.ATG" if (u != null) { usings.Add(u); } while (la.kind == 23) { lexer.NextToken(); ImportClause( -#line 323 "VBNET.ATG" +#line 325 "VBNET.ATG" out u); -#line 323 "VBNET.ATG" +#line 325 "VBNET.ATG" if (u != null) { usings.Add(u); } } EndOfStmt(); -#line 327 "VBNET.ATG" +#line 329 "VBNET.ATG" UsingDeclaration usingDeclaration = new UsingDeclaration(usings); usingDeclaration.StartLocation = startPos; usingDeclaration.EndLocation = t.Location; @@ -179,54 +179,54 @@ out u); } void GlobalAttributeSection() { - Expect(39); + Expect(41); -#line 2651 "VBNET.ATG" +#line 2653 "VBNET.ATG" Location startPos = t.Location; - if (la.kind == 64) { + if (la.kind == 66) { lexer.NextToken(); - } else if (la.kind == 154) { + } else if (la.kind == 156) { lexer.NextToken(); - } else SynErr(240); + } else SynErr(242); -#line 2653 "VBNET.ATG" +#line 2655 "VBNET.ATG" string attributeTarget = t.val != null ? t.val.ToLower(System.Globalization.CultureInfo.InvariantCulture) : null; List attributes = new List(); ASTAttribute attribute; Expect(22); Attribute( -#line 2657 "VBNET.ATG" +#line 2659 "VBNET.ATG" out attribute); -#line 2657 "VBNET.ATG" +#line 2659 "VBNET.ATG" attributes.Add(attribute); while ( -#line 2658 "VBNET.ATG" +#line 2660 "VBNET.ATG" NotFinalComma()) { if (la.kind == 23) { lexer.NextToken(); - if (la.kind == 64) { + if (la.kind == 66) { lexer.NextToken(); - } else if (la.kind == 154) { + } else if (la.kind == 156) { lexer.NextToken(); - } else SynErr(241); + } else SynErr(243); Expect(22); } Attribute( -#line 2658 "VBNET.ATG" +#line 2660 "VBNET.ATG" out attribute); -#line 2658 "VBNET.ATG" +#line 2660 "VBNET.ATG" attributes.Add(attribute); } if (la.kind == 23) { lexer.NextToken(); } - Expect(38); + Expect(40); EndOfStmt(); -#line 2663 "VBNET.ATG" +#line 2665 "VBNET.ATG" AttributeSection section = new AttributeSection { AttributeTarget = attributeTarget, Attributes = attributes, @@ -239,23 +239,23 @@ out attribute); void NamespaceMemberDecl() { -#line 360 "VBNET.ATG" +#line 362 "VBNET.ATG" ModifierList m = new ModifierList(); AttributeSection section; List attributes = new List(); string qualident; - if (la.kind == 159) { + if (la.kind == 161) { lexer.NextToken(); -#line 367 "VBNET.ATG" +#line 369 "VBNET.ATG" Location startPos = t.Location; Qualident( -#line 369 "VBNET.ATG" +#line 371 "VBNET.ATG" out qualident); -#line 371 "VBNET.ATG" +#line 373 "VBNET.ATG" INode node = new NamespaceDeclaration(qualident); node.StartLocation = startPos; AddChild(node); @@ -264,67 +264,67 @@ out qualident); EndOfStmt(); NamespaceBody(); -#line 379 "VBNET.ATG" +#line 381 "VBNET.ATG" node.EndLocation = t.Location; BlockEnd(); } else if (StartOf(2)) { - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 383 "VBNET.ATG" +#line 385 "VBNET.ATG" out section); -#line 383 "VBNET.ATG" +#line 385 "VBNET.ATG" attributes.Add(section); } while (StartOf(3)) { TypeModifier( -#line 384 "VBNET.ATG" +#line 386 "VBNET.ATG" m); } NonModuleDeclaration( -#line 384 "VBNET.ATG" +#line 386 "VBNET.ATG" m, attributes); - } else SynErr(242); + } else SynErr(244); } void OptionValue( -#line 299 "VBNET.ATG" +#line 301 "VBNET.ATG" ref bool val) { - if (la.kind == 170) { + if (la.kind == 172) { lexer.NextToken(); -#line 301 "VBNET.ATG" +#line 303 "VBNET.ATG" val = true; - } else if (la.kind == 169) { + } else if (la.kind == 171) { lexer.NextToken(); -#line 303 "VBNET.ATG" +#line 305 "VBNET.ATG" val = false; - } else SynErr(243); + } else SynErr(245); } void ImportClause( -#line 334 "VBNET.ATG" +#line 336 "VBNET.ATG" out Using u) { -#line 336 "VBNET.ATG" +#line 338 "VBNET.ATG" string qualident = null; TypeReference aliasedType = null; u = null; if (StartOf(4)) { Qualident( -#line 341 "VBNET.ATG" +#line 343 "VBNET.ATG" out qualident); if (la.kind == 21) { lexer.NextToken(); TypeName( -#line 342 "VBNET.ATG" +#line 344 "VBNET.ATG" out aliasedType); } -#line 344 "VBNET.ATG" +#line 346 "VBNET.ATG" if (qualident != null && qualident.Length > 0) { if (aliasedType != null) { u = new Using(qualident, aliasedType); @@ -335,64 +335,64 @@ out aliasedType); } else if (la.kind == 10) { -#line 352 "VBNET.ATG" +#line 354 "VBNET.ATG" string prefix = null; lexer.NextToken(); Identifier(); -#line 353 "VBNET.ATG" +#line 355 "VBNET.ATG" prefix = t.val; Expect(21); Expect(3); -#line 353 "VBNET.ATG" +#line 355 "VBNET.ATG" u = new Using(t.literalValue as string, prefix); Expect(11); - } else SynErr(244); + } else SynErr(246); } void Qualident( -#line 3407 "VBNET.ATG" +#line 3409 "VBNET.ATG" out string qualident) { -#line 3409 "VBNET.ATG" +#line 3411 "VBNET.ATG" string name; qualidentBuilder.Length = 0; Identifier(); -#line 3413 "VBNET.ATG" +#line 3415 "VBNET.ATG" qualidentBuilder.Append(t.val); while ( -#line 3414 "VBNET.ATG" +#line 3416 "VBNET.ATG" DotAndIdentOrKw()) { Expect(27); IdentifierOrKeyword( -#line 3414 "VBNET.ATG" +#line 3416 "VBNET.ATG" out name); -#line 3414 "VBNET.ATG" +#line 3416 "VBNET.ATG" qualidentBuilder.Append('.'); qualidentBuilder.Append(name); } -#line 3416 "VBNET.ATG" +#line 3418 "VBNET.ATG" qualident = qualidentBuilder.ToString(); } void TypeName( -#line 2524 "VBNET.ATG" +#line 2526 "VBNET.ATG" out TypeReference typeref) { -#line 2525 "VBNET.ATG" +#line 2527 "VBNET.ATG" ArrayList rank = null; NonArrayTypeName( -#line 2527 "VBNET.ATG" +#line 2529 "VBNET.ATG" out typeref, false); ArrayTypeModifiers( -#line 2531 "VBNET.ATG" +#line 2533 "VBNET.ATG" out rank); -#line 2532 "VBNET.ATG" +#line 2534 "VBNET.ATG" if (rank != null && typeref != null) { typeref.RankSpecifier = (int[])rank.ToArray(typeof(int)); } @@ -402,9 +402,9 @@ out rank); void Identifier() { if (StartOf(5)) { IdentifierForFieldDeclaration(); - } else if (la.kind == 97) { + } else if (la.kind == 99) { lexer.NextToken(); - } else SynErr(245); + } else SynErr(247); } void NamespaceBody() { @@ -417,41 +417,41 @@ out rank); EndOfStmt(); } } - Expect(112); - Expect(159); + Expect(114); + Expect(161); EndOfStmt(); } void AttributeSection( -#line 2726 "VBNET.ATG" +#line 2728 "VBNET.ATG" out AttributeSection section) { -#line 2728 "VBNET.ATG" +#line 2730 "VBNET.ATG" string attributeTarget = "";List attributes = new List(); ASTAttribute attribute; - Expect(39); + Expect(41); -#line 2732 "VBNET.ATG" +#line 2734 "VBNET.ATG" Location startPos = t.Location; if ( -#line 2733 "VBNET.ATG" +#line 2735 "VBNET.ATG" IsLocalAttrTarget()) { - if (la.kind == 118) { + if (la.kind == 120) { lexer.NextToken(); -#line 2734 "VBNET.ATG" +#line 2736 "VBNET.ATG" attributeTarget = "event"; - } else if (la.kind == 193) { + } else if (la.kind == 195) { lexer.NextToken(); -#line 2735 "VBNET.ATG" +#line 2737 "VBNET.ATG" attributeTarget = "return"; } else { Identifier(); -#line 2738 "VBNET.ATG" +#line 2740 "VBNET.ATG" string val = t.val.ToLower(System.Globalization.CultureInfo.InvariantCulture); if (val != "field" || val != "method" || val != "module" || val != "param" || @@ -464,28 +464,28 @@ IsLocalAttrTarget()) { Expect(22); } Attribute( -#line 2748 "VBNET.ATG" +#line 2750 "VBNET.ATG" out attribute); -#line 2748 "VBNET.ATG" +#line 2750 "VBNET.ATG" attributes.Add(attribute); while ( -#line 2749 "VBNET.ATG" +#line 2751 "VBNET.ATG" NotFinalComma()) { Expect(23); Attribute( -#line 2749 "VBNET.ATG" +#line 2751 "VBNET.ATG" out attribute); -#line 2749 "VBNET.ATG" +#line 2751 "VBNET.ATG" attributes.Add(attribute); } if (la.kind == 23) { lexer.NextToken(); } - Expect(38); + Expect(40); -#line 2753 "VBNET.ATG" +#line 2755 "VBNET.ATG" section = new AttributeSection { AttributeTarget = attributeTarget, Attributes = attributes, @@ -496,92 +496,92 @@ out attribute); } void TypeModifier( -#line 3490 "VBNET.ATG" +#line 3493 "VBNET.ATG" ModifierList m) { switch (la.kind) { - case 186: { + case 188: { lexer.NextToken(); -#line 3491 "VBNET.ATG" +#line 3494 "VBNET.ATG" m.Add(Modifiers.Public, t.Location); break; } - case 185: { + case 187: { lexer.NextToken(); -#line 3492 "VBNET.ATG" +#line 3495 "VBNET.ATG" m.Add(Modifiers.Protected, t.Location); break; } - case 124: { + case 126: { lexer.NextToken(); -#line 3493 "VBNET.ATG" +#line 3496 "VBNET.ATG" m.Add(Modifiers.Internal, t.Location); break; } - case 183: { + case 185: { lexer.NextToken(); -#line 3494 "VBNET.ATG" +#line 3497 "VBNET.ATG" m.Add(Modifiers.Private, t.Location); break; } - case 198: { + case 200: { lexer.NextToken(); -#line 3495 "VBNET.ATG" +#line 3498 "VBNET.ATG" m.Add(Modifiers.Static, t.Location); break; } - case 197: { + case 199: { lexer.NextToken(); -#line 3496 "VBNET.ATG" +#line 3499 "VBNET.ATG" m.Add(Modifiers.New, t.Location); break; } - case 155: { + case 157: { lexer.NextToken(); -#line 3497 "VBNET.ATG" +#line 3500 "VBNET.ATG" m.Add(Modifiers.Abstract, t.Location); break; } - case 165: { + case 167: { lexer.NextToken(); -#line 3498 "VBNET.ATG" +#line 3501 "VBNET.ATG" m.Add(Modifiers.Sealed, t.Location); break; } - case 181: { + case 183: { lexer.NextToken(); -#line 3499 "VBNET.ATG" +#line 3502 "VBNET.ATG" m.Add(Modifiers.Partial, t.Location); break; } - default: SynErr(246); break; + default: SynErr(248); break; } } void NonModuleDeclaration( -#line 444 "VBNET.ATG" +#line 446 "VBNET.ATG" ModifierList m, List attributes) { -#line 446 "VBNET.ATG" +#line 448 "VBNET.ATG" TypeReference typeRef = null; List baseInterfaces = null; switch (la.kind) { - case 83: { + case 85: { -#line 449 "VBNET.ATG" +#line 451 "VBNET.ATG" m.Check(Modifiers.Classes); lexer.NextToken(); -#line 452 "VBNET.ATG" +#line 454 "VBNET.ATG" TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); newType.StartLocation = t.Location; AddChild(newType); @@ -591,50 +591,50 @@ ModifierList m, List attributes) { Identifier(); -#line 459 "VBNET.ATG" +#line 461 "VBNET.ATG" newType.Name = t.val; TypeParameterList( -#line 460 "VBNET.ATG" +#line 462 "VBNET.ATG" newType.Templates); EndOfStmt(); -#line 462 "VBNET.ATG" +#line 464 "VBNET.ATG" newType.BodyStartLocation = t.Location; - if (la.kind == 139) { + if (la.kind == 141) { ClassBaseType( -#line 463 "VBNET.ATG" +#line 465 "VBNET.ATG" out typeRef); -#line 463 "VBNET.ATG" +#line 465 "VBNET.ATG" SafeAdd(newType, newType.BaseTypes, typeRef); } - while (la.kind == 135) { + while (la.kind == 137) { TypeImplementsClause( -#line 464 "VBNET.ATG" +#line 466 "VBNET.ATG" out baseInterfaces); -#line 464 "VBNET.ATG" +#line 466 "VBNET.ATG" newType.BaseTypes.AddRange(baseInterfaces); } ClassBody( -#line 465 "VBNET.ATG" +#line 467 "VBNET.ATG" newType); - Expect(112); - Expect(83); + Expect(114); + Expect(85); -#line 466 "VBNET.ATG" +#line 468 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); -#line 469 "VBNET.ATG" +#line 471 "VBNET.ATG" BlockEnd(); break; } - case 154: { + case 156: { lexer.NextToken(); -#line 473 "VBNET.ATG" +#line 475 "VBNET.ATG" m.Check(Modifiers.VBModules); TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); AddChild(newType); @@ -644,25 +644,25 @@ newType); Identifier(); -#line 480 "VBNET.ATG" +#line 482 "VBNET.ATG" newType.Name = t.val; EndOfStmt(); -#line 482 "VBNET.ATG" +#line 484 "VBNET.ATG" newType.BodyStartLocation = t.Location; ModuleBody( -#line 483 "VBNET.ATG" +#line 485 "VBNET.ATG" newType); -#line 485 "VBNET.ATG" +#line 487 "VBNET.ATG" BlockEnd(); break; } - case 207: { + case 209: { lexer.NextToken(); -#line 489 "VBNET.ATG" +#line 491 "VBNET.ATG" m.Check(Modifiers.VBStructures); TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); AddChild(newType); @@ -672,36 +672,36 @@ newType); Identifier(); -#line 496 "VBNET.ATG" +#line 498 "VBNET.ATG" newType.Name = t.val; TypeParameterList( -#line 497 "VBNET.ATG" +#line 499 "VBNET.ATG" newType.Templates); EndOfStmt(); -#line 499 "VBNET.ATG" +#line 501 "VBNET.ATG" newType.BodyStartLocation = t.Location; - while (la.kind == 135) { + while (la.kind == 137) { TypeImplementsClause( -#line 500 "VBNET.ATG" +#line 502 "VBNET.ATG" out baseInterfaces); -#line 500 "VBNET.ATG" +#line 502 "VBNET.ATG" newType.BaseTypes.AddRange(baseInterfaces); } StructureBody( -#line 501 "VBNET.ATG" +#line 503 "VBNET.ATG" newType); -#line 503 "VBNET.ATG" +#line 505 "VBNET.ATG" BlockEnd(); break; } - case 114: { + case 116: { lexer.NextToken(); -#line 508 "VBNET.ATG" +#line 510 "VBNET.ATG" m.Check(Modifiers.VBEnums); TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); newType.StartLocation = m.GetDeclarationLocation(t.Location); @@ -712,34 +712,34 @@ newType); Identifier(); -#line 516 "VBNET.ATG" +#line 518 "VBNET.ATG" newType.Name = t.val; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); NonArrayTypeName( -#line 517 "VBNET.ATG" +#line 519 "VBNET.ATG" out typeRef, false); -#line 517 "VBNET.ATG" +#line 519 "VBNET.ATG" SafeAdd(newType, newType.BaseTypes, typeRef); } EndOfStmt(); -#line 519 "VBNET.ATG" +#line 521 "VBNET.ATG" newType.BodyStartLocation = t.Location; EnumBody( -#line 520 "VBNET.ATG" +#line 522 "VBNET.ATG" newType); -#line 522 "VBNET.ATG" +#line 524 "VBNET.ATG" BlockEnd(); break; } - case 141: { + case 143: { lexer.NextToken(); -#line 527 "VBNET.ATG" +#line 529 "VBNET.ATG" m.Check(Modifiers.VBInterfacs); TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); newType.StartLocation = m.GetDeclarationLocation(t.Location); @@ -749,294 +749,294 @@ newType); Identifier(); -#line 534 "VBNET.ATG" +#line 536 "VBNET.ATG" newType.Name = t.val; TypeParameterList( -#line 535 "VBNET.ATG" +#line 537 "VBNET.ATG" newType.Templates); EndOfStmt(); -#line 537 "VBNET.ATG" +#line 539 "VBNET.ATG" newType.BodyStartLocation = t.Location; - while (la.kind == 139) { + while (la.kind == 141) { InterfaceBase( -#line 538 "VBNET.ATG" +#line 540 "VBNET.ATG" out baseInterfaces); -#line 538 "VBNET.ATG" +#line 540 "VBNET.ATG" newType.BaseTypes.AddRange(baseInterfaces); } InterfaceBody( -#line 539 "VBNET.ATG" +#line 541 "VBNET.ATG" newType); -#line 541 "VBNET.ATG" +#line 543 "VBNET.ATG" BlockEnd(); break; } - case 102: { + case 104: { lexer.NextToken(); -#line 546 "VBNET.ATG" +#line 548 "VBNET.ATG" m.Check(Modifiers.VBDelegates); DelegateDeclaration delegateDeclr = new DelegateDeclaration(m.Modifier, attributes); delegateDeclr.ReturnType = new TypeReference("System.Void", true); delegateDeclr.StartLocation = m.GetDeclarationLocation(t.Location); List p = new List(); - if (la.kind == 208) { + if (la.kind == 210) { lexer.NextToken(); Identifier(); -#line 553 "VBNET.ATG" +#line 555 "VBNET.ATG" delegateDeclr.Name = t.val; TypeParameterList( -#line 554 "VBNET.ATG" +#line 556 "VBNET.ATG" delegateDeclr.Templates); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 555 "VBNET.ATG" +#line 557 "VBNET.ATG" p); } - Expect(37); + Expect(39); -#line 555 "VBNET.ATG" +#line 557 "VBNET.ATG" delegateDeclr.Parameters = p; } - } else if (la.kind == 126) { + } else if (la.kind == 128) { lexer.NextToken(); Identifier(); -#line 557 "VBNET.ATG" +#line 559 "VBNET.ATG" delegateDeclr.Name = t.val; TypeParameterList( -#line 558 "VBNET.ATG" +#line 560 "VBNET.ATG" delegateDeclr.Templates); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 559 "VBNET.ATG" +#line 561 "VBNET.ATG" p); } - Expect(37); + Expect(39); -#line 559 "VBNET.ATG" +#line 561 "VBNET.ATG" delegateDeclr.Parameters = p; } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); -#line 560 "VBNET.ATG" +#line 562 "VBNET.ATG" TypeReference type; TypeName( -#line 560 "VBNET.ATG" +#line 562 "VBNET.ATG" out type); -#line 560 "VBNET.ATG" +#line 562 "VBNET.ATG" delegateDeclr.ReturnType = type; } - } else SynErr(247); + } else SynErr(249); -#line 562 "VBNET.ATG" +#line 564 "VBNET.ATG" delegateDeclr.EndLocation = t.EndLocation; EndOfStmt(); -#line 565 "VBNET.ATG" +#line 567 "VBNET.ATG" AddChild(delegateDeclr); break; } - default: SynErr(248); break; + default: SynErr(250); break; } } void TypeParameterList( -#line 388 "VBNET.ATG" +#line 390 "VBNET.ATG" List templates) { -#line 390 "VBNET.ATG" +#line 392 "VBNET.ATG" TemplateDefinition template; if ( -#line 394 "VBNET.ATG" +#line 396 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { lexer.NextToken(); - Expect(168); + Expect(170); TypeParameter( -#line 395 "VBNET.ATG" +#line 397 "VBNET.ATG" out template); -#line 397 "VBNET.ATG" +#line 399 "VBNET.ATG" if (template != null) templates.Add(template); while (la.kind == 23) { lexer.NextToken(); TypeParameter( -#line 400 "VBNET.ATG" +#line 402 "VBNET.ATG" out template); -#line 402 "VBNET.ATG" +#line 404 "VBNET.ATG" if (template != null) templates.Add(template); } - Expect(37); + Expect(39); } } void TypeParameter( -#line 410 "VBNET.ATG" +#line 412 "VBNET.ATG" out TemplateDefinition template) { Identifier(); -#line 412 "VBNET.ATG" +#line 414 "VBNET.ATG" template = new TemplateDefinition(t.val, null); - if (la.kind == 62) { + if (la.kind == 64) { TypeParameterConstraints( -#line 413 "VBNET.ATG" +#line 415 "VBNET.ATG" template); } } void TypeParameterConstraints( -#line 417 "VBNET.ATG" +#line 419 "VBNET.ATG" TemplateDefinition template) { -#line 419 "VBNET.ATG" +#line 421 "VBNET.ATG" TypeReference constraint; - Expect(62); - if (la.kind == 34) { + Expect(64); + if (la.kind == 36) { lexer.NextToken(); TypeParameterConstraint( -#line 425 "VBNET.ATG" +#line 427 "VBNET.ATG" out constraint); -#line 425 "VBNET.ATG" +#line 427 "VBNET.ATG" if (constraint != null) { template.Bases.Add(constraint); } while (la.kind == 23) { lexer.NextToken(); TypeParameterConstraint( -#line 428 "VBNET.ATG" +#line 430 "VBNET.ATG" out constraint); -#line 428 "VBNET.ATG" +#line 430 "VBNET.ATG" if (constraint != null) { template.Bases.Add(constraint); } } - Expect(35); + Expect(37); } else if (StartOf(7)) { TypeParameterConstraint( -#line 431 "VBNET.ATG" +#line 433 "VBNET.ATG" out constraint); -#line 431 "VBNET.ATG" +#line 433 "VBNET.ATG" if (constraint != null) { template.Bases.Add(constraint); } - } else SynErr(249); + } else SynErr(251); } void TypeParameterConstraint( -#line 435 "VBNET.ATG" +#line 437 "VBNET.ATG" out TypeReference constraint) { -#line 436 "VBNET.ATG" +#line 438 "VBNET.ATG" constraint = null; - if (la.kind == 83) { + if (la.kind == 85) { lexer.NextToken(); -#line 437 "VBNET.ATG" +#line 439 "VBNET.ATG" constraint = TypeReference.ClassConstraint; - } else if (la.kind == 207) { + } else if (la.kind == 209) { lexer.NextToken(); -#line 438 "VBNET.ATG" +#line 440 "VBNET.ATG" constraint = TypeReference.StructConstraint; - } else if (la.kind == 161) { + } else if (la.kind == 163) { lexer.NextToken(); -#line 439 "VBNET.ATG" +#line 441 "VBNET.ATG" constraint = TypeReference.NewConstraint; } else if (StartOf(8)) { TypeName( -#line 440 "VBNET.ATG" +#line 442 "VBNET.ATG" out constraint); - } else SynErr(250); + } else SynErr(252); } void ClassBaseType( -#line 785 "VBNET.ATG" +#line 787 "VBNET.ATG" out TypeReference typeRef) { -#line 787 "VBNET.ATG" +#line 789 "VBNET.ATG" typeRef = null; - Expect(139); + Expect(141); TypeName( -#line 790 "VBNET.ATG" +#line 792 "VBNET.ATG" out typeRef); EndOfStmt(); } void TypeImplementsClause( -#line 1602 "VBNET.ATG" +#line 1604 "VBNET.ATG" out List baseInterfaces) { -#line 1604 "VBNET.ATG" +#line 1606 "VBNET.ATG" baseInterfaces = new List(); TypeReference type = null; - Expect(135); + Expect(137); TypeName( -#line 1607 "VBNET.ATG" +#line 1609 "VBNET.ATG" out type); -#line 1609 "VBNET.ATG" +#line 1611 "VBNET.ATG" if (type != null) baseInterfaces.Add(type); while (la.kind == 23) { lexer.NextToken(); TypeName( -#line 1612 "VBNET.ATG" +#line 1614 "VBNET.ATG" out type); -#line 1613 "VBNET.ATG" +#line 1615 "VBNET.ATG" if (type != null) baseInterfaces.Add(type); } EndOfStmt(); } void ClassBody( -#line 579 "VBNET.ATG" +#line 581 "VBNET.ATG" TypeDeclaration newType) { -#line 580 "VBNET.ATG" +#line 582 "VBNET.ATG" AttributeSection section; while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(9)) { -#line 583 "VBNET.ATG" +#line 585 "VBNET.ATG" List attributes = new List(); ModifierList m = new ModifierList(); - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 586 "VBNET.ATG" +#line 588 "VBNET.ATG" out section); -#line 586 "VBNET.ATG" +#line 588 "VBNET.ATG" attributes.Add(section); } while (StartOf(10)) { MemberModifier( -#line 587 "VBNET.ATG" +#line 589 "VBNET.ATG" m); } ClassMemberDecl( -#line 588 "VBNET.ATG" +#line 590 "VBNET.ATG" m, attributes); while (la.kind == 1 || la.kind == 22) { EndOfStmt(); @@ -1045,135 +1045,135 @@ m, attributes); } void ModuleBody( -#line 610 "VBNET.ATG" +#line 612 "VBNET.ATG" TypeDeclaration newType) { -#line 611 "VBNET.ATG" +#line 613 "VBNET.ATG" AttributeSection section; while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(9)) { -#line 614 "VBNET.ATG" +#line 616 "VBNET.ATG" List attributes = new List(); ModifierList m = new ModifierList(); - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 617 "VBNET.ATG" +#line 619 "VBNET.ATG" out section); -#line 617 "VBNET.ATG" +#line 619 "VBNET.ATG" attributes.Add(section); } while (StartOf(10)) { MemberModifier( -#line 618 "VBNET.ATG" +#line 620 "VBNET.ATG" m); } ClassMemberDecl( -#line 619 "VBNET.ATG" +#line 621 "VBNET.ATG" m, attributes); while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - Expect(112); - Expect(154); + Expect(114); + Expect(156); -#line 622 "VBNET.ATG" +#line 624 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); } void StructureBody( -#line 593 "VBNET.ATG" +#line 595 "VBNET.ATG" TypeDeclaration newType) { -#line 594 "VBNET.ATG" +#line 596 "VBNET.ATG" AttributeSection section; while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(9)) { -#line 597 "VBNET.ATG" +#line 599 "VBNET.ATG" List attributes = new List(); ModifierList m = new ModifierList(); - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 600 "VBNET.ATG" +#line 602 "VBNET.ATG" out section); -#line 600 "VBNET.ATG" +#line 602 "VBNET.ATG" attributes.Add(section); } while (StartOf(10)) { MemberModifier( -#line 601 "VBNET.ATG" +#line 603 "VBNET.ATG" m); } StructureMemberDecl( -#line 602 "VBNET.ATG" +#line 604 "VBNET.ATG" m, attributes); while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - Expect(112); - Expect(207); + Expect(114); + Expect(209); -#line 605 "VBNET.ATG" +#line 607 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); } void NonArrayTypeName( -#line 2550 "VBNET.ATG" +#line 2552 "VBNET.ATG" out TypeReference typeref, bool canBeUnbound) { -#line 2552 "VBNET.ATG" +#line 2554 "VBNET.ATG" string name; typeref = null; bool isGlobal = false; if (StartOf(11)) { - if (la.kind == 129) { + if (la.kind == 131) { lexer.NextToken(); Expect(27); -#line 2557 "VBNET.ATG" +#line 2559 "VBNET.ATG" isGlobal = true; } QualIdentAndTypeArguments( -#line 2558 "VBNET.ATG" +#line 2560 "VBNET.ATG" out typeref, canBeUnbound); -#line 2559 "VBNET.ATG" +#line 2561 "VBNET.ATG" typeref.IsGlobal = isGlobal; while (la.kind == 27) { lexer.NextToken(); -#line 2560 "VBNET.ATG" +#line 2562 "VBNET.ATG" TypeReference nestedTypeRef; QualIdentAndTypeArguments( -#line 2561 "VBNET.ATG" +#line 2563 "VBNET.ATG" out nestedTypeRef, canBeUnbound); -#line 2562 "VBNET.ATG" +#line 2564 "VBNET.ATG" typeref = new InnerClassTypeReference(typeref, nestedTypeRef.Type, nestedTypeRef.GenericTypes); } - } else if (la.kind == 167) { + } else if (la.kind == 169) { lexer.NextToken(); -#line 2565 "VBNET.ATG" +#line 2567 "VBNET.ATG" typeref = new TypeReference("System.Object", true); - if (la.kind == 32) { + if (la.kind == 34) { lexer.NextToken(); -#line 2569 "VBNET.ATG" +#line 2571 "VBNET.ATG" List typeArguments = new List(1); if (typeref != null) typeArguments.Add(typeref); typeref = new TypeReference("System.Nullable", typeArguments) { IsKeyword = true }; @@ -1181,81 +1181,81 @@ out nestedTypeRef, canBeUnbound); } } else if (StartOf(12)) { PrimitiveTypeName( -#line 2575 "VBNET.ATG" +#line 2577 "VBNET.ATG" out name); -#line 2575 "VBNET.ATG" +#line 2577 "VBNET.ATG" typeref = new TypeReference(name, true); - if (la.kind == 32) { + if (la.kind == 34) { lexer.NextToken(); -#line 2579 "VBNET.ATG" +#line 2581 "VBNET.ATG" List typeArguments = new List(1); if (typeref != null) typeArguments.Add(typeref); typeref = new TypeReference("System.Nullable", typeArguments) { IsKeyword = true }; } - } else SynErr(251); + } else SynErr(253); } void EnumBody( -#line 626 "VBNET.ATG" +#line 628 "VBNET.ATG" TypeDeclaration newType) { -#line 627 "VBNET.ATG" +#line 629 "VBNET.ATG" FieldDeclaration f; while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(13)) { EnumMemberDecl( -#line 630 "VBNET.ATG" +#line 632 "VBNET.ATG" out f); -#line 632 "VBNET.ATG" +#line 634 "VBNET.ATG" AddChild(f); while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - Expect(112); Expect(114); + Expect(116); -#line 636 "VBNET.ATG" +#line 638 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); } void InterfaceBase( -#line 1587 "VBNET.ATG" +#line 1589 "VBNET.ATG" out List bases) { -#line 1589 "VBNET.ATG" +#line 1591 "VBNET.ATG" TypeReference type; bases = new List(); - Expect(139); + Expect(141); TypeName( -#line 1593 "VBNET.ATG" +#line 1595 "VBNET.ATG" out type); -#line 1593 "VBNET.ATG" +#line 1595 "VBNET.ATG" if (type != null) bases.Add(type); while (la.kind == 23) { lexer.NextToken(); TypeName( -#line 1596 "VBNET.ATG" +#line 1598 "VBNET.ATG" out type); -#line 1596 "VBNET.ATG" +#line 1598 "VBNET.ATG" if (type != null) bases.Add(type); } EndOfStmt(); } void InterfaceBody( -#line 640 "VBNET.ATG" +#line 642 "VBNET.ATG" TypeDeclaration newType) { while (la.kind == 1 || la.kind == 22) { EndOfStmt(); @@ -1266,191 +1266,191 @@ TypeDeclaration newType) { EndOfStmt(); } } - Expect(112); - Expect(141); + Expect(114); + Expect(143); -#line 646 "VBNET.ATG" +#line 648 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); } void FormalParameterList( -#line 2763 "VBNET.ATG" +#line 2765 "VBNET.ATG" List parameter) { -#line 2764 "VBNET.ATG" +#line 2766 "VBNET.ATG" ParameterDeclarationExpression p; FormalParameter( -#line 2766 "VBNET.ATG" +#line 2768 "VBNET.ATG" out p); -#line 2766 "VBNET.ATG" +#line 2768 "VBNET.ATG" if (p != null) parameter.Add(p); while (la.kind == 23) { lexer.NextToken(); FormalParameter( -#line 2768 "VBNET.ATG" +#line 2770 "VBNET.ATG" out p); -#line 2768 "VBNET.ATG" +#line 2770 "VBNET.ATG" if (p != null) parameter.Add(p); } } void MemberModifier( -#line 3502 "VBNET.ATG" +#line 3505 "VBNET.ATG" ModifierList m) { switch (la.kind) { - case 155: { + case 157: { lexer.NextToken(); -#line 3503 "VBNET.ATG" +#line 3506 "VBNET.ATG" m.Add(Modifiers.Abstract, t.Location); break; } - case 101: { + case 103: { lexer.NextToken(); -#line 3504 "VBNET.ATG" +#line 3507 "VBNET.ATG" m.Add(Modifiers.Default, t.Location); break; } - case 124: { + case 126: { lexer.NextToken(); -#line 3505 "VBNET.ATG" +#line 3508 "VBNET.ATG" m.Add(Modifiers.Internal, t.Location); break; } - case 197: { + case 199: { lexer.NextToken(); -#line 3506 "VBNET.ATG" +#line 3509 "VBNET.ATG" m.Add(Modifiers.New, t.Location); break; } - case 179: { + case 181: { lexer.NextToken(); -#line 3507 "VBNET.ATG" +#line 3510 "VBNET.ATG" m.Add(Modifiers.Override, t.Location); break; } - case 156: { + case 158: { lexer.NextToken(); -#line 3508 "VBNET.ATG" +#line 3511 "VBNET.ATG" m.Add(Modifiers.Abstract, t.Location); break; } - case 183: { + case 185: { lexer.NextToken(); -#line 3509 "VBNET.ATG" +#line 3512 "VBNET.ATG" m.Add(Modifiers.Private, t.Location); break; } - case 185: { + case 187: { lexer.NextToken(); -#line 3510 "VBNET.ATG" +#line 3513 "VBNET.ATG" m.Add(Modifiers.Protected, t.Location); break; } - case 186: { + case 188: { lexer.NextToken(); -#line 3511 "VBNET.ATG" +#line 3514 "VBNET.ATG" m.Add(Modifiers.Public, t.Location); break; } - case 165: { + case 167: { lexer.NextToken(); -#line 3512 "VBNET.ATG" +#line 3515 "VBNET.ATG" m.Add(Modifiers.Sealed, t.Location); break; } - case 166: { + case 168: { lexer.NextToken(); -#line 3513 "VBNET.ATG" +#line 3516 "VBNET.ATG" m.Add(Modifiers.Sealed, t.Location); break; } - case 198: { + case 200: { lexer.NextToken(); -#line 3514 "VBNET.ATG" +#line 3517 "VBNET.ATG" m.Add(Modifiers.Static, t.Location); break; } - case 178: { + case 180: { lexer.NextToken(); -#line 3515 "VBNET.ATG" +#line 3518 "VBNET.ATG" m.Add(Modifiers.Virtual, t.Location); break; } - case 177: { + case 179: { lexer.NextToken(); -#line 3516 "VBNET.ATG" +#line 3519 "VBNET.ATG" m.Add(Modifiers.Overloads, t.Location); break; } - case 188: { + case 190: { lexer.NextToken(); -#line 3517 "VBNET.ATG" +#line 3520 "VBNET.ATG" m.Add(Modifiers.ReadOnly, t.Location); break; } - case 233: { + case 235: { lexer.NextToken(); -#line 3518 "VBNET.ATG" +#line 3521 "VBNET.ATG" m.Add(Modifiers.WriteOnly, t.Location); break; } - case 232: { + case 234: { lexer.NextToken(); -#line 3519 "VBNET.ATG" +#line 3522 "VBNET.ATG" m.Add(Modifiers.WithEvents, t.Location); break; } - case 104: { + case 106: { lexer.NextToken(); -#line 3520 "VBNET.ATG" +#line 3523 "VBNET.ATG" m.Add(Modifiers.Dim, t.Location); break; } - case 181: { + case 183: { lexer.NextToken(); -#line 3521 "VBNET.ATG" +#line 3524 "VBNET.ATG" m.Add(Modifiers.Partial, t.Location); break; } - default: SynErr(252); break; + default: SynErr(254); break; } } void ClassMemberDecl( -#line 781 "VBNET.ATG" +#line 783 "VBNET.ATG" ModifierList m, List attributes) { StructureMemberDecl( -#line 782 "VBNET.ATG" +#line 784 "VBNET.ATG" m, attributes); } void StructureMemberDecl( -#line 795 "VBNET.ATG" +#line 797 "VBNET.ATG" ModifierList m, List attributes) { -#line 797 "VBNET.ATG" +#line 799 "VBNET.ATG" TypeReference type = null; List p = new List(); Statement stmt = null; @@ -1458,63 +1458,63 @@ ModifierList m, List attributes) { List templates = new List(); switch (la.kind) { - case 83: case 102: case 114: case 141: case 154: case 207: { + case 85: case 104: case 116: case 143: case 156: case 209: { NonModuleDeclaration( -#line 804 "VBNET.ATG" +#line 806 "VBNET.ATG" m, attributes); break; } - case 208: { + case 210: { lexer.NextToken(); -#line 808 "VBNET.ATG" +#line 810 "VBNET.ATG" Location startPos = t.Location; if (StartOf(4)) { -#line 812 "VBNET.ATG" +#line 814 "VBNET.ATG" string name = String.Empty; MethodDeclaration methodDeclaration; List handlesClause = null; List implementsClause = null; Identifier(); -#line 818 "VBNET.ATG" +#line 820 "VBNET.ATG" name = t.val; m.Check(Modifiers.VBMethods); TypeParameterList( -#line 821 "VBNET.ATG" +#line 823 "VBNET.ATG" templates); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 822 "VBNET.ATG" +#line 824 "VBNET.ATG" p); } - Expect(37); + Expect(39); } - if (la.kind == 133 || la.kind == 135) { - if (la.kind == 135) { + if (la.kind == 135 || la.kind == 137) { + if (la.kind == 137) { ImplementsClause( -#line 825 "VBNET.ATG" +#line 827 "VBNET.ATG" out implementsClause); } else { HandlesClause( -#line 827 "VBNET.ATG" +#line 829 "VBNET.ATG" out handlesClause); } } -#line 830 "VBNET.ATG" +#line 832 "VBNET.ATG" Location endLocation = t.EndLocation; if ( -#line 833 "VBNET.ATG" +#line 835 "VBNET.ATG" IsMustOverride(m)) { EndOfStmt(); -#line 836 "VBNET.ATG" +#line 838 "VBNET.ATG" methodDeclaration = new MethodDeclaration { Name = name, Modifier = m.Modifier, Parameters = p, Attributes = attributes, StartLocation = m.GetDeclarationLocation(startPos), EndLocation = endLocation, @@ -1528,7 +1528,7 @@ IsMustOverride(m)) { } else if (la.kind == 1) { lexer.NextToken(); -#line 849 "VBNET.ATG" +#line 851 "VBNET.ATG" methodDeclaration = new MethodDeclaration { Name = name, Modifier = m.Modifier, Parameters = p, Attributes = attributes, StartLocation = m.GetDeclarationLocation(startPos), EndLocation = endLocation, @@ -1540,67 +1540,67 @@ IsMustOverride(m)) { AddChild(methodDeclaration); -#line 860 "VBNET.ATG" +#line 862 "VBNET.ATG" if (ParseMethodBodies) { Block( -#line 861 "VBNET.ATG" +#line 863 "VBNET.ATG" out stmt); - Expect(112); - Expect(208); + Expect(114); + Expect(210); -#line 863 "VBNET.ATG" +#line 865 "VBNET.ATG" } else { // don't parse method body lexer.SkipCurrentBlock(Tokens.Sub); stmt = new BlockStatement(); } -#line 869 "VBNET.ATG" +#line 871 "VBNET.ATG" methodDeclaration.Body = (BlockStatement)stmt; -#line 870 "VBNET.ATG" +#line 872 "VBNET.ATG" methodDeclaration.Body.EndLocation = t.EndLocation; EndOfStmt(); - } else SynErr(253); - } else if (la.kind == 161) { + } else SynErr(255); + } else if (la.kind == 163) { lexer.NextToken(); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 874 "VBNET.ATG" +#line 876 "VBNET.ATG" p); } - Expect(37); + Expect(39); } -#line 875 "VBNET.ATG" +#line 877 "VBNET.ATG" m.Check(Modifiers.Constructors); -#line 876 "VBNET.ATG" +#line 878 "VBNET.ATG" Location constructorEndLocation = t.EndLocation; Expect(1); -#line 879 "VBNET.ATG" +#line 881 "VBNET.ATG" if (ParseMethodBodies) { Block( -#line 880 "VBNET.ATG" +#line 882 "VBNET.ATG" out stmt); - Expect(112); - Expect(208); + Expect(114); + Expect(210); -#line 882 "VBNET.ATG" +#line 884 "VBNET.ATG" } else { // don't parse method body lexer.SkipCurrentBlock(Tokens.Sub); stmt = new BlockStatement(); } -#line 888 "VBNET.ATG" +#line 890 "VBNET.ATG" Location endLocation = t.EndLocation; EndOfStmt(); -#line 891 "VBNET.ATG" +#line 893 "VBNET.ATG" ConstructorDeclaration cd = new ConstructorDeclaration("New", m.Modifier, p, attributes); cd.StartLocation = m.GetDeclarationLocation(startPos); cd.EndLocation = constructorEndLocation; @@ -1608,13 +1608,13 @@ out stmt); cd.Body.EndLocation = endLocation; AddChild(cd); - } else SynErr(254); + } else SynErr(256); break; } - case 126: { + case 128: { lexer.NextToken(); -#line 903 "VBNET.ATG" +#line 905 "VBNET.ATG" m.Check(Modifiers.VBMethods); string name = String.Empty; Location startPos = t.Location; @@ -1624,28 +1624,28 @@ out stmt); Identifier(); -#line 910 "VBNET.ATG" +#line 912 "VBNET.ATG" name = t.val; TypeParameterList( -#line 911 "VBNET.ATG" +#line 913 "VBNET.ATG" templates); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 912 "VBNET.ATG" +#line 914 "VBNET.ATG" p); } - Expect(37); + Expect(39); } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 914 "VBNET.ATG" +#line 916 "VBNET.ATG" out returnTypeAttributeSection); -#line 916 "VBNET.ATG" +#line 918 "VBNET.ATG" if (returnTypeAttributeSection != null) { returnTypeAttributeSection.AttributeTarget = "return"; attributes.Add(returnTypeAttributeSection); @@ -1653,35 +1653,35 @@ out returnTypeAttributeSection); } TypeName( -#line 922 "VBNET.ATG" +#line 924 "VBNET.ATG" out type); } -#line 924 "VBNET.ATG" +#line 926 "VBNET.ATG" if(type == null) { type = new TypeReference("System.Object", true); } - if (la.kind == 133 || la.kind == 135) { - if (la.kind == 135) { + if (la.kind == 135 || la.kind == 137) { + if (la.kind == 137) { ImplementsClause( -#line 930 "VBNET.ATG" +#line 932 "VBNET.ATG" out implementsClause); } else { HandlesClause( -#line 932 "VBNET.ATG" +#line 934 "VBNET.ATG" out handlesClause); } } -#line 935 "VBNET.ATG" +#line 937 "VBNET.ATG" Location endLocation = t.EndLocation; if ( -#line 938 "VBNET.ATG" +#line 940 "VBNET.ATG" IsMustOverride(m)) { EndOfStmt(); -#line 941 "VBNET.ATG" +#line 943 "VBNET.ATG" methodDeclaration = new MethodDeclaration { Name = name, Modifier = m.Modifier, TypeReference = type, Parameters = p, Attributes = attributes, @@ -1697,7 +1697,7 @@ IsMustOverride(m)) { } else if (la.kind == 1) { lexer.NextToken(); -#line 956 "VBNET.ATG" +#line 958 "VBNET.ATG" methodDeclaration = new MethodDeclaration { Name = name, Modifier = m.Modifier, TypeReference = type, Parameters = p, Attributes = attributes, @@ -1712,12 +1712,12 @@ IsMustOverride(m)) { if (ParseMethodBodies) { Block( -#line 969 "VBNET.ATG" +#line 971 "VBNET.ATG" out stmt); - Expect(112); - Expect(126); + Expect(114); + Expect(128); -#line 971 "VBNET.ATG" +#line 973 "VBNET.ATG" } else { // don't parse method body lexer.SkipCurrentBlock(Tokens.Function); stmt = new BlockStatement(); @@ -1727,13 +1727,13 @@ out stmt); methodDeclaration.Body.EndLocation = t.EndLocation; EndOfStmt(); - } else SynErr(255); + } else SynErr(257); break; } - case 100: { + case 102: { lexer.NextToken(); -#line 985 "VBNET.ATG" +#line 987 "VBNET.ATG" m.Check(Modifiers.VBExternalMethods); Location startPos = t.Location; CharsetModifier charsetModifer = CharsetModifier.None; @@ -1743,92 +1743,92 @@ out stmt); if (StartOf(15)) { Charset( -#line 992 "VBNET.ATG" +#line 994 "VBNET.ATG" out charsetModifer); } - if (la.kind == 208) { + if (la.kind == 210) { lexer.NextToken(); Identifier(); -#line 995 "VBNET.ATG" +#line 997 "VBNET.ATG" name = t.val; - Expect(148); + Expect(150); Expect(3); -#line 996 "VBNET.ATG" +#line 998 "VBNET.ATG" library = t.literalValue as string; - if (la.kind == 58) { + if (la.kind == 60) { lexer.NextToken(); Expect(3); -#line 997 "VBNET.ATG" +#line 999 "VBNET.ATG" alias = t.literalValue as string; } - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 998 "VBNET.ATG" +#line 1000 "VBNET.ATG" p); } - Expect(37); + Expect(39); } EndOfStmt(); -#line 1001 "VBNET.ATG" +#line 1003 "VBNET.ATG" DeclareDeclaration declareDeclaration = new DeclareDeclaration(name, m.Modifier, null, p, attributes, library, alias, charsetModifer); declareDeclaration.StartLocation = m.GetDeclarationLocation(startPos); declareDeclaration.EndLocation = t.EndLocation; AddChild(declareDeclaration); - } else if (la.kind == 126) { + } else if (la.kind == 128) { lexer.NextToken(); Identifier(); -#line 1008 "VBNET.ATG" +#line 1010 "VBNET.ATG" name = t.val; - Expect(148); + Expect(150); Expect(3); -#line 1009 "VBNET.ATG" +#line 1011 "VBNET.ATG" library = t.literalValue as string; - if (la.kind == 58) { + if (la.kind == 60) { lexer.NextToken(); Expect(3); -#line 1010 "VBNET.ATG" +#line 1012 "VBNET.ATG" alias = t.literalValue as string; } - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1011 "VBNET.ATG" +#line 1013 "VBNET.ATG" p); } - Expect(37); + Expect(39); } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 1012 "VBNET.ATG" +#line 1014 "VBNET.ATG" out type); } EndOfStmt(); -#line 1015 "VBNET.ATG" +#line 1017 "VBNET.ATG" DeclareDeclaration declareDeclaration = new DeclareDeclaration(name, m.Modifier, type, p, attributes, library, alias, charsetModifer); declareDeclaration.StartLocation = m.GetDeclarationLocation(startPos); declareDeclaration.EndLocation = t.EndLocation; AddChild(declareDeclaration); - } else SynErr(256); + } else SynErr(258); break; } - case 118: { + case 120: { lexer.NextToken(); -#line 1025 "VBNET.ATG" +#line 1027 "VBNET.ATG" m.Check(Modifiers.VBEvents); Location startPos = t.Location; EventDeclaration eventDeclaration; @@ -1837,31 +1837,31 @@ out type); Identifier(); -#line 1031 "VBNET.ATG" +#line 1033 "VBNET.ATG" name= t.val; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 1033 "VBNET.ATG" +#line 1035 "VBNET.ATG" out type); } else if (StartOf(16)) { - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1035 "VBNET.ATG" +#line 1037 "VBNET.ATG" p); } - Expect(37); + Expect(39); } - } else SynErr(257); - if (la.kind == 135) { + } else SynErr(259); + if (la.kind == 137) { ImplementsClause( -#line 1037 "VBNET.ATG" +#line 1039 "VBNET.ATG" out implementsClause); } -#line 1039 "VBNET.ATG" +#line 1041 "VBNET.ATG" eventDeclaration = new EventDeclaration { Name = name, TypeReference = type, Modifier = m.Modifier, Parameters = p, Attributes = attributes, InterfaceImplementations = implementsClause, @@ -1873,77 +1873,77 @@ out implementsClause); EndOfStmt(); break; } - case 2: case 57: case 61: case 63: case 64: case 65: case 66: case 69: case 86: case 103: case 106: case 115: case 120: case 125: case 132: case 138: case 142: case 145: case 169: case 175: case 182: case 201: case 210: case 211: case 221: case 222: case 228: { + case 2: case 59: case 63: case 65: case 66: case 67: case 68: case 71: case 88: case 105: case 108: case 117: case 122: case 127: case 134: case 140: case 144: case 147: case 148: case 171: case 177: case 184: case 203: case 212: case 213: case 223: case 224: case 230: { -#line 1050 "VBNET.ATG" +#line 1052 "VBNET.ATG" m.Check(Modifiers.Fields); FieldDeclaration fd = new FieldDeclaration(attributes, null, m.Modifier); IdentifierForFieldDeclaration(); -#line 1053 "VBNET.ATG" +#line 1055 "VBNET.ATG" string name = t.val; -#line 1054 "VBNET.ATG" +#line 1056 "VBNET.ATG" fd.StartLocation = m.GetDeclarationLocation(t.Location); VariableDeclaratorPartAfterIdentifier( -#line 1056 "VBNET.ATG" +#line 1058 "VBNET.ATG" variableDeclarators, name); while (la.kind == 23) { lexer.NextToken(); VariableDeclarator( -#line 1057 "VBNET.ATG" +#line 1059 "VBNET.ATG" variableDeclarators); } EndOfStmt(); -#line 1060 "VBNET.ATG" +#line 1062 "VBNET.ATG" fd.EndLocation = t.EndLocation; fd.Fields = variableDeclarators; AddChild(fd); break; } - case 87: { + case 89: { -#line 1065 "VBNET.ATG" +#line 1067 "VBNET.ATG" m.Check(Modifiers.Fields); lexer.NextToken(); -#line 1066 "VBNET.ATG" +#line 1068 "VBNET.ATG" m.Add(Modifiers.Const, t.Location); -#line 1068 "VBNET.ATG" +#line 1070 "VBNET.ATG" FieldDeclaration fd = new FieldDeclaration(attributes, type, m.Modifier); fd.StartLocation = m.GetDeclarationLocation(t.Location); List constantDeclarators = new List(); ConstantDeclarator( -#line 1072 "VBNET.ATG" +#line 1074 "VBNET.ATG" constantDeclarators); while (la.kind == 23) { lexer.NextToken(); ConstantDeclarator( -#line 1073 "VBNET.ATG" +#line 1075 "VBNET.ATG" constantDeclarators); } -#line 1075 "VBNET.ATG" +#line 1077 "VBNET.ATG" fd.Fields = constantDeclarators; fd.EndLocation = t.Location; EndOfStmt(); -#line 1080 "VBNET.ATG" +#line 1082 "VBNET.ATG" fd.EndLocation = t.EndLocation; AddChild(fd); break; } - case 184: { + case 186: { lexer.NextToken(); -#line 1086 "VBNET.ATG" +#line 1088 "VBNET.ATG" m.Check(Modifiers.VBProperties); Location startPos = t.Location; List implementsClause = null; @@ -1952,25 +1952,25 @@ constantDeclarators); Identifier(); -#line 1092 "VBNET.ATG" +#line 1094 "VBNET.ATG" string propertyName = t.val; - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1093 "VBNET.ATG" +#line 1095 "VBNET.ATG" p); } - Expect(37); + Expect(39); } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 1096 "VBNET.ATG" +#line 1098 "VBNET.ATG" out returnTypeAttributeSection); -#line 1098 "VBNET.ATG" +#line 1100 "VBNET.ATG" if (returnTypeAttributeSection != null) { returnTypeAttributeSection.AttributeTarget = "return"; attributes.Add(returnTypeAttributeSection); @@ -1978,13 +1978,13 @@ out returnTypeAttributeSection); } if ( -#line 1105 "VBNET.ATG" +#line 1107 "VBNET.ATG" IsNewExpression()) { ObjectCreateExpression( -#line 1105 "VBNET.ATG" +#line 1107 "VBNET.ATG" out initializer); -#line 1107 "VBNET.ATG" +#line 1109 "VBNET.ATG" if (initializer is ObjectCreateExpression) { type = ((ObjectCreateExpression)initializer).CreateType.Clone(); } else { @@ -1993,27 +1993,27 @@ out initializer); } else if (StartOf(8)) { TypeName( -#line 1114 "VBNET.ATG" +#line 1116 "VBNET.ATG" out type); - } else SynErr(258); + } else SynErr(260); } if (la.kind == 21) { lexer.NextToken(); Expr( -#line 1117 "VBNET.ATG" +#line 1119 "VBNET.ATG" out initializer); } - if (la.kind == 135) { + if (la.kind == 137) { ImplementsClause( -#line 1118 "VBNET.ATG" +#line 1120 "VBNET.ATG" out implementsClause); } EndOfStmt(); if ( -#line 1122 "VBNET.ATG" +#line 1124 "VBNET.ATG" IsMustOverride(m) || IsAutomaticProperty()) { -#line 1124 "VBNET.ATG" +#line 1126 "VBNET.ATG" PropertyDeclaration pDecl = new PropertyDeclaration(propertyName, type, m.Modifier, attributes); pDecl.StartLocation = m.GetDeclarationLocation(startPos); pDecl.EndLocation = t.Location; @@ -2026,7 +2026,7 @@ IsMustOverride(m) || IsAutomaticProperty()) { } else if (StartOf(17)) { -#line 1136 "VBNET.ATG" +#line 1138 "VBNET.ATG" PropertyDeclaration pDecl = new PropertyDeclaration(propertyName, type, m.Modifier, attributes); pDecl.StartLocation = m.GetDeclarationLocation(startPos); pDecl.EndLocation = t.Location; @@ -2038,29 +2038,29 @@ IsMustOverride(m) || IsAutomaticProperty()) { PropertySetRegion setRegion; AccessorDecls( -#line 1146 "VBNET.ATG" +#line 1148 "VBNET.ATG" out getRegion, out setRegion); - Expect(112); - Expect(184); + Expect(114); + Expect(186); EndOfStmt(); -#line 1150 "VBNET.ATG" +#line 1152 "VBNET.ATG" pDecl.GetRegion = getRegion; pDecl.SetRegion = setRegion; pDecl.BodyEnd = t.Location; // t = EndOfStmt; not "Property" AddChild(pDecl); - } else SynErr(259); + } else SynErr(261); break; } - case 97: { + case 99: { lexer.NextToken(); -#line 1157 "VBNET.ATG" +#line 1159 "VBNET.ATG" Location startPos = t.Location; - Expect(118); + Expect(120); -#line 1159 "VBNET.ATG" +#line 1161 "VBNET.ATG" m.Check(Modifiers.VBCustomEvents); EventAddRemoveRegion eventAccessorDeclaration; EventAddRegion addHandlerAccessorDeclaration = null; @@ -2070,24 +2070,24 @@ out getRegion, out setRegion); Identifier(); -#line 1166 "VBNET.ATG" +#line 1168 "VBNET.ATG" string customEventName = t.val; - Expect(62); + Expect(64); TypeName( -#line 1167 "VBNET.ATG" +#line 1169 "VBNET.ATG" out type); - if (la.kind == 135) { + if (la.kind == 137) { ImplementsClause( -#line 1168 "VBNET.ATG" +#line 1170 "VBNET.ATG" out implementsClause); } EndOfStmt(); while (StartOf(18)) { EventAccessorDeclaration( -#line 1171 "VBNET.ATG" +#line 1173 "VBNET.ATG" out eventAccessorDeclaration); -#line 1173 "VBNET.ATG" +#line 1175 "VBNET.ATG" if(eventAccessorDeclaration is EventAddRegion) { addHandlerAccessorDeclaration = (EventAddRegion)eventAccessorDeclaration; @@ -2102,11 +2102,11 @@ out eventAccessorDeclaration); } } - Expect(112); - Expect(118); + Expect(114); + Expect(120); EndOfStmt(); -#line 1189 "VBNET.ATG" +#line 1191 "VBNET.ATG" if(addHandlerAccessorDeclaration == null) { Error("Need to provide AddHandler accessor."); @@ -2135,26 +2135,26 @@ out eventAccessorDeclaration); break; } - case 160: case 171: case 230: { + case 162: case 173: case 232: { -#line 1215 "VBNET.ATG" +#line 1217 "VBNET.ATG" ConversionType opConversionType = ConversionType.None; - if (la.kind == 160 || la.kind == 230) { - if (la.kind == 230) { + if (la.kind == 162 || la.kind == 232) { + if (la.kind == 232) { lexer.NextToken(); -#line 1216 "VBNET.ATG" +#line 1218 "VBNET.ATG" opConversionType = ConversionType.Implicit; } else { lexer.NextToken(); -#line 1217 "VBNET.ATG" +#line 1219 "VBNET.ATG" opConversionType = ConversionType.Explicit; } } - Expect(171); + Expect(173); -#line 1220 "VBNET.ATG" +#line 1222 "VBNET.ATG" m.Check(Modifiers.VBOperators); Location startPos = t.Location; TypeReference returnType = NullTypeReference.Instance; @@ -2165,77 +2165,77 @@ out eventAccessorDeclaration); List parameters = new List(); OverloadableOperator( -#line 1229 "VBNET.ATG" +#line 1231 "VBNET.ATG" out operatorType); - Expect(36); - if (la.kind == 71) { + Expect(38); + if (la.kind == 73) { lexer.NextToken(); } Identifier(); -#line 1230 "VBNET.ATG" +#line 1232 "VBNET.ATG" operandName = t.val; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 1231 "VBNET.ATG" +#line 1233 "VBNET.ATG" out operandType); } -#line 1232 "VBNET.ATG" +#line 1234 "VBNET.ATG" parameters.Add(new ParameterDeclarationExpression(operandType, operandName, ParameterModifiers.In)); while (la.kind == 23) { lexer.NextToken(); - if (la.kind == 71) { + if (la.kind == 73) { lexer.NextToken(); } Identifier(); -#line 1236 "VBNET.ATG" +#line 1238 "VBNET.ATG" operandName = t.val; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 1237 "VBNET.ATG" +#line 1239 "VBNET.ATG" out operandType); } -#line 1238 "VBNET.ATG" +#line 1240 "VBNET.ATG" parameters.Add(new ParameterDeclarationExpression(operandType, operandName, ParameterModifiers.In)); } - Expect(37); + Expect(39); -#line 1241 "VBNET.ATG" +#line 1243 "VBNET.ATG" Location endPos = t.EndLocation; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 1242 "VBNET.ATG" +#line 1244 "VBNET.ATG" out section); -#line 1243 "VBNET.ATG" +#line 1245 "VBNET.ATG" if (section != null) { section.AttributeTarget = "return"; attributes.Add(section); } } TypeName( -#line 1247 "VBNET.ATG" +#line 1249 "VBNET.ATG" out returnType); -#line 1247 "VBNET.ATG" +#line 1249 "VBNET.ATG" endPos = t.EndLocation; } Expect(1); Block( -#line 1249 "VBNET.ATG" +#line 1251 "VBNET.ATG" out stmt); - Expect(112); - Expect(171); + Expect(114); + Expect(173); EndOfStmt(); -#line 1251 "VBNET.ATG" +#line 1253 "VBNET.ATG" OperatorDeclaration operatorDeclaration = new OperatorDeclaration { Modifier = m.Modifier, Attributes = attributes, @@ -2253,30 +2253,30 @@ out stmt); break; } - default: SynErr(260); break; + default: SynErr(262); break; } } void EnumMemberDecl( -#line 763 "VBNET.ATG" +#line 765 "VBNET.ATG" out FieldDeclaration f) { -#line 765 "VBNET.ATG" +#line 767 "VBNET.ATG" Expression expr = null;List attributes = new List(); AttributeSection section = null; VariableDeclaration varDecl = null; - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 769 "VBNET.ATG" +#line 771 "VBNET.ATG" out section); -#line 769 "VBNET.ATG" +#line 771 "VBNET.ATG" attributes.Add(section); } Identifier(); -#line 772 "VBNET.ATG" +#line 774 "VBNET.ATG" f = new FieldDeclaration(attributes); varDecl = new VariableDeclaration(t.val); f.Fields.Add(varDecl); @@ -2285,10 +2285,10 @@ out section); if (la.kind == 21) { lexer.NextToken(); Expr( -#line 777 "VBNET.ATG" +#line 779 "VBNET.ATG" out expr); -#line 777 "VBNET.ATG" +#line 779 "VBNET.ATG" varDecl.Initializer = expr; } EndOfStmt(); @@ -2296,7 +2296,7 @@ out expr); void InterfaceMemberDecl() { -#line 654 "VBNET.ATG" +#line 656 "VBNET.ATG" TypeReference type =null; List p = new List(); List templates = new List(); @@ -2306,48 +2306,48 @@ out expr); string name; if (StartOf(19)) { - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 662 "VBNET.ATG" +#line 664 "VBNET.ATG" out section); -#line 662 "VBNET.ATG" +#line 664 "VBNET.ATG" attributes.Add(section); } while (StartOf(10)) { MemberModifier( -#line 665 "VBNET.ATG" +#line 667 "VBNET.ATG" mod); } - if (la.kind == 118) { + if (la.kind == 120) { lexer.NextToken(); -#line 669 "VBNET.ATG" +#line 671 "VBNET.ATG" mod.Check(Modifiers.VBInterfaceEvents); Location startLocation = t.Location; Identifier(); -#line 672 "VBNET.ATG" +#line 674 "VBNET.ATG" name = t.val; - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 673 "VBNET.ATG" +#line 675 "VBNET.ATG" p); } - Expect(37); + Expect(39); } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 674 "VBNET.ATG" +#line 676 "VBNET.ATG" out type); } EndOfStmt(); -#line 677 "VBNET.ATG" +#line 679 "VBNET.ATG" EventDeclaration ed = new EventDeclaration { Name = name, TypeReference = type, Modifier = mod.Modifier, Parameters = p, Attributes = attributes, @@ -2355,32 +2355,32 @@ out type); }; AddChild(ed); - } else if (la.kind == 208) { + } else if (la.kind == 210) { lexer.NextToken(); -#line 687 "VBNET.ATG" +#line 689 "VBNET.ATG" Location startLocation = t.Location; mod.Check(Modifiers.VBInterfaceMethods); Identifier(); -#line 690 "VBNET.ATG" +#line 692 "VBNET.ATG" name = t.val; TypeParameterList( -#line 691 "VBNET.ATG" +#line 693 "VBNET.ATG" templates); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 692 "VBNET.ATG" +#line 694 "VBNET.ATG" p); } - Expect(37); + Expect(39); } EndOfStmt(); -#line 695 "VBNET.ATG" +#line 697 "VBNET.ATG" MethodDeclaration md = new MethodDeclaration { Name = name, Modifier = mod.Modifier, @@ -2393,42 +2393,42 @@ p); }; AddChild(md); - } else if (la.kind == 126) { + } else if (la.kind == 128) { lexer.NextToken(); -#line 710 "VBNET.ATG" +#line 712 "VBNET.ATG" mod.Check(Modifiers.VBInterfaceMethods); Location startLocation = t.Location; Identifier(); -#line 713 "VBNET.ATG" +#line 715 "VBNET.ATG" name = t.val; TypeParameterList( -#line 714 "VBNET.ATG" +#line 716 "VBNET.ATG" templates); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 715 "VBNET.ATG" +#line 717 "VBNET.ATG" p); } - Expect(37); + Expect(39); } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 716 "VBNET.ATG" +#line 718 "VBNET.ATG" out returnTypeAttributeSection); } TypeName( -#line 716 "VBNET.ATG" +#line 718 "VBNET.ATG" out type); } -#line 718 "VBNET.ATG" +#line 720 "VBNET.ATG" if(type == null) { type = new TypeReference("System.Object", true); } @@ -2446,157 +2446,157 @@ out type); AddChild(md); EndOfStmt(); - } else if (la.kind == 184) { + } else if (la.kind == 186) { lexer.NextToken(); -#line 738 "VBNET.ATG" +#line 740 "VBNET.ATG" Location startLocation = t.Location; mod.Check(Modifiers.VBInterfaceProperties); Identifier(); -#line 741 "VBNET.ATG" +#line 743 "VBNET.ATG" name = t.val; - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 742 "VBNET.ATG" +#line 744 "VBNET.ATG" p); } - Expect(37); + Expect(39); } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 743 "VBNET.ATG" +#line 745 "VBNET.ATG" out type); } -#line 745 "VBNET.ATG" +#line 747 "VBNET.ATG" if(type == null) { type = new TypeReference("System.Object", true); } EndOfStmt(); -#line 751 "VBNET.ATG" +#line 753 "VBNET.ATG" PropertyDeclaration pd = new PropertyDeclaration(name, type, mod.Modifier, attributes); pd.Parameters = p; pd.EndLocation = t.EndLocation; pd.StartLocation = startLocation; AddChild(pd); - } else SynErr(261); + } else SynErr(263); } else if (StartOf(20)) { NonModuleDeclaration( -#line 759 "VBNET.ATG" +#line 761 "VBNET.ATG" mod, attributes); - } else SynErr(262); + } else SynErr(264); } void Expr( -#line 1646 "VBNET.ATG" +#line 1648 "VBNET.ATG" out Expression expr) { -#line 1647 "VBNET.ATG" +#line 1649 "VBNET.ATG" expr = null; if ( -#line 1648 "VBNET.ATG" +#line 1650 "VBNET.ATG" IsQueryExpression() ) { QueryExpr( -#line 1649 "VBNET.ATG" +#line 1651 "VBNET.ATG" out expr); - } else if (la.kind == 126 || la.kind == 208) { + } else if (la.kind == 128 || la.kind == 210) { LambdaExpr( -#line 1650 "VBNET.ATG" +#line 1652 "VBNET.ATG" out expr); } else if (StartOf(21)) { DisjunctionExpr( -#line 1651 "VBNET.ATG" +#line 1653 "VBNET.ATG" out expr); - } else SynErr(263); + } else SynErr(265); } void ImplementsClause( -#line 1619 "VBNET.ATG" +#line 1621 "VBNET.ATG" out List baseInterfaces) { -#line 1621 "VBNET.ATG" +#line 1623 "VBNET.ATG" baseInterfaces = new List(); TypeReference type = null; string memberName = null; - Expect(135); + Expect(137); NonArrayTypeName( -#line 1626 "VBNET.ATG" +#line 1628 "VBNET.ATG" out type, false); -#line 1627 "VBNET.ATG" +#line 1629 "VBNET.ATG" if (type != null) memberName = TypeReference.StripLastIdentifierFromType(ref type); -#line 1628 "VBNET.ATG" +#line 1630 "VBNET.ATG" baseInterfaces.Add(new InterfaceImplementation(type, memberName)); while (la.kind == 23) { lexer.NextToken(); NonArrayTypeName( -#line 1630 "VBNET.ATG" +#line 1632 "VBNET.ATG" out type, false); -#line 1631 "VBNET.ATG" +#line 1633 "VBNET.ATG" if (type != null) memberName = TypeReference.StripLastIdentifierFromType(ref type); -#line 1632 "VBNET.ATG" +#line 1634 "VBNET.ATG" baseInterfaces.Add(new InterfaceImplementation(type, memberName)); } } void HandlesClause( -#line 1577 "VBNET.ATG" +#line 1579 "VBNET.ATG" out List handlesClause) { -#line 1579 "VBNET.ATG" +#line 1581 "VBNET.ATG" handlesClause = new List(); string name; - Expect(133); + Expect(135); EventMemberSpecifier( -#line 1582 "VBNET.ATG" +#line 1584 "VBNET.ATG" out name); -#line 1582 "VBNET.ATG" +#line 1584 "VBNET.ATG" if (name != null) handlesClause.Add(name); while (la.kind == 23) { lexer.NextToken(); EventMemberSpecifier( -#line 1583 "VBNET.ATG" +#line 1585 "VBNET.ATG" out name); -#line 1583 "VBNET.ATG" +#line 1585 "VBNET.ATG" if (name != null) handlesClause.Add(name); } } void Block( -#line 2808 "VBNET.ATG" +#line 2810 "VBNET.ATG" out Statement stmt) { -#line 2811 "VBNET.ATG" +#line 2813 "VBNET.ATG" BlockStatement blockStmt = new BlockStatement(); /* in snippet parsing mode, t might be null */ if (t != null) blockStmt.StartLocation = t.EndLocation; BlockStart(blockStmt); while (StartOf(22) || -#line 2817 "VBNET.ATG" +#line 2819 "VBNET.ATG" IsEndStmtAhead()) { if ( -#line 2817 "VBNET.ATG" +#line 2819 "VBNET.ATG" IsEndStmtAhead()) { - Expect(112); + Expect(114); EndOfStmt(); -#line 2817 "VBNET.ATG" +#line 2819 "VBNET.ATG" AddChild(new EndStatement()); } else { Statement(); @@ -2604,7 +2604,7 @@ IsEndStmtAhead()) { } } -#line 2822 "VBNET.ATG" +#line 2824 "VBNET.ATG" stmt = blockStmt; if (t != null) blockStmt.EndLocation = t.EndLocation; BlockEnd(); @@ -2612,28 +2612,28 @@ IsEndStmtAhead()) { } void Charset( -#line 1569 "VBNET.ATG" +#line 1571 "VBNET.ATG" out CharsetModifier charsetModifier) { -#line 1570 "VBNET.ATG" +#line 1572 "VBNET.ATG" charsetModifier = CharsetModifier.None; - if (la.kind == 126 || la.kind == 208) { - } else if (la.kind == 61) { + if (la.kind == 128 || la.kind == 210) { + } else if (la.kind == 63) { lexer.NextToken(); -#line 1571 "VBNET.ATG" +#line 1573 "VBNET.ATG" charsetModifier = CharsetModifier.Ansi; - } else if (la.kind == 65) { + } else if (la.kind == 67) { lexer.NextToken(); -#line 1572 "VBNET.ATG" +#line 1574 "VBNET.ATG" charsetModifier = CharsetModifier.Auto; - } else if (la.kind == 221) { + } else if (la.kind == 223) { lexer.NextToken(); -#line 1573 "VBNET.ATG" +#line 1575 "VBNET.ATG" charsetModifier = CharsetModifier.Unicode; - } else SynErr(264); + } else SynErr(266); } void IdentifierForFieldDeclaration() { @@ -2642,119 +2642,123 @@ out CharsetModifier charsetModifier) { lexer.NextToken(); break; } - case 57: { + case 59: { lexer.NextToken(); break; } - case 61: { + case 63: { lexer.NextToken(); break; } - case 63: { + case 65: { lexer.NextToken(); break; } - case 64: { + case 66: { lexer.NextToken(); break; } - case 65: { + case 67: { lexer.NextToken(); break; } - case 66: { + case 68: { lexer.NextToken(); break; } - case 69: { + case 71: { lexer.NextToken(); break; } - case 86: { + case 88: { lexer.NextToken(); break; } - case 103: { + case 105: { lexer.NextToken(); break; } - case 106: { + case 108: { lexer.NextToken(); break; } - case 115: { + case 117: { lexer.NextToken(); break; } - case 120: { + case 122: { lexer.NextToken(); break; } - case 125: { + case 127: { lexer.NextToken(); break; } - case 132: { + case 134: { lexer.NextToken(); break; } - case 138: { + case 140: { lexer.NextToken(); break; } - case 142: { + case 144: { lexer.NextToken(); break; } - case 145: { + case 147: { lexer.NextToken(); break; } - case 169: { + case 148: { lexer.NextToken(); break; } - case 175: { + case 171: { lexer.NextToken(); break; } - case 182: { + case 177: { lexer.NextToken(); break; } - case 201: { + case 184: { lexer.NextToken(); break; } - case 210: { + case 203: { lexer.NextToken(); break; } - case 211: { + case 212: { lexer.NextToken(); break; } - case 221: { + case 213: { lexer.NextToken(); break; } - case 222: { + case 223: { lexer.NextToken(); break; } - case 228: { + case 224: { lexer.NextToken(); break; } - default: SynErr(265); break; + case 230: { + lexer.NextToken(); + break; + } + default: SynErr(267); break; } } void VariableDeclaratorPartAfterIdentifier( -#line 1454 "VBNET.ATG" +#line 1456 "VBNET.ATG" List fieldDeclaration, string name) { -#line 1456 "VBNET.ATG" +#line 1458 "VBNET.ATG" Expression expr = null; TypeReference type = null; ArrayList rank = null; @@ -2762,28 +2766,28 @@ List fieldDeclaration, string name) { Location startLocation = t.Location; if ( -#line 1462 "VBNET.ATG" +#line 1464 "VBNET.ATG" IsSize() && !IsDims()) { ArrayInitializationModifier( -#line 1462 "VBNET.ATG" +#line 1464 "VBNET.ATG" out dimension); } if ( -#line 1463 "VBNET.ATG" +#line 1465 "VBNET.ATG" IsDims()) { ArrayNameModifier( -#line 1463 "VBNET.ATG" +#line 1465 "VBNET.ATG" out rank); } if ( -#line 1465 "VBNET.ATG" +#line 1467 "VBNET.ATG" IsObjectCreation()) { - Expect(62); + Expect(64); ObjectCreateExpression( -#line 1465 "VBNET.ATG" +#line 1467 "VBNET.ATG" out expr); -#line 1467 "VBNET.ATG" +#line 1469 "VBNET.ATG" if (expr is ObjectCreateExpression) { type = ((ObjectCreateExpression)expr).CreateType.Clone(); } else { @@ -2791,13 +2795,13 @@ out expr); } } else if (StartOf(23)) { - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 1474 "VBNET.ATG" +#line 1476 "VBNET.ATG" out type); -#line 1476 "VBNET.ATG" +#line 1478 "VBNET.ATG" if (type != null) { for (int i = fieldDeclaration.Count - 1; i >= 0; i--) { VariableDeclaration vd = fieldDeclaration[i]; @@ -2810,7 +2814,7 @@ out type); } -#line 1488 "VBNET.ATG" +#line 1490 "VBNET.ATG" if (type == null && (dimension != null || rank != null)) { type = new TypeReference(""); } @@ -2837,12 +2841,12 @@ out type); if (la.kind == 21) { lexer.NextToken(); Expr( -#line 1511 "VBNET.ATG" +#line 1513 "VBNET.ATG" out expr); } - } else SynErr(266); + } else SynErr(268); -#line 1514 "VBNET.ATG" +#line 1516 "VBNET.ATG" VariableDeclaration varDecl = new VariableDeclaration(name, expr, type); varDecl.StartLocation = startLocation; varDecl.EndLocation = t.Location; @@ -2851,22 +2855,22 @@ out expr); } void VariableDeclarator( -#line 1448 "VBNET.ATG" +#line 1450 "VBNET.ATG" List fieldDeclaration) { Identifier(); -#line 1450 "VBNET.ATG" +#line 1452 "VBNET.ATG" string name = t.val; VariableDeclaratorPartAfterIdentifier( -#line 1451 "VBNET.ATG" +#line 1453 "VBNET.ATG" fieldDeclaration, name); } void ConstantDeclarator( -#line 1429 "VBNET.ATG" +#line 1431 "VBNET.ATG" List constantDeclaration) { -#line 1431 "VBNET.ATG" +#line 1433 "VBNET.ATG" Expression expr = null; TypeReference type = null; string name = String.Empty; @@ -2874,20 +2878,20 @@ List constantDeclaration) { Identifier(); -#line 1436 "VBNET.ATG" +#line 1438 "VBNET.ATG" name = t.val; location = t.Location; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 1437 "VBNET.ATG" +#line 1439 "VBNET.ATG" out type); } Expect(21); Expr( -#line 1438 "VBNET.ATG" +#line 1440 "VBNET.ATG" out expr); -#line 1440 "VBNET.ATG" +#line 1442 "VBNET.ATG" VariableDeclaration f = new VariableDeclaration(name, expr); f.TypeReference = type; f.StartLocation = location; @@ -2896,10 +2900,10 @@ out expr); } void ObjectCreateExpression( -#line 1976 "VBNET.ATG" +#line 1978 "VBNET.ATG" out Expression oce) { -#line 1978 "VBNET.ATG" +#line 1980 "VBNET.ATG" TypeReference type = null; CollectionInitializerExpression initializer = null; List arguments = null; @@ -2907,42 +2911,42 @@ out Expression oce) { oce = null; bool canBeNormal; bool canBeReDim; - Expect(161); + Expect(163); if (StartOf(8)) { NonArrayTypeName( -#line 1986 "VBNET.ATG" +#line 1988 "VBNET.ATG" out type, false); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); NormalOrReDimArgumentList( -#line 1987 "VBNET.ATG" +#line 1989 "VBNET.ATG" out arguments, out canBeNormal, out canBeReDim); - Expect(37); - if (la.kind == 34 || -#line 1988 "VBNET.ATG" + Expect(39); + if (la.kind == 36 || +#line 1990 "VBNET.ATG" la.kind == Tokens.OpenParenthesis) { if ( -#line 1988 "VBNET.ATG" +#line 1990 "VBNET.ATG" la.kind == Tokens.OpenParenthesis) { ArrayTypeModifiers( -#line 1989 "VBNET.ATG" +#line 1991 "VBNET.ATG" out dimensions); CollectionInitializer( -#line 1990 "VBNET.ATG" +#line 1992 "VBNET.ATG" out initializer); } else { CollectionInitializer( -#line 1991 "VBNET.ATG" +#line 1993 "VBNET.ATG" out initializer); } } -#line 1993 "VBNET.ATG" +#line 1995 "VBNET.ATG" if (canBeReDim && !canBeNormal && initializer == null) initializer = new CollectionInitializerExpression(); } } -#line 1997 "VBNET.ATG" +#line 1999 "VBNET.ATG" if (initializer == null) { oce = new ObjectCreateExpression(type, arguments); } else { @@ -2954,37 +2958,37 @@ out initializer); oce = ace; } - if (la.kind == 125 || la.kind == 231) { - if (la.kind == 231) { + if (la.kind == 127 || la.kind == 233) { + if (la.kind == 233) { -#line 2012 "VBNET.ATG" +#line 2014 "VBNET.ATG" MemberInitializerExpression memberInitializer = null; lexer.NextToken(); -#line 2016 "VBNET.ATG" +#line 2018 "VBNET.ATG" CollectionInitializerExpression memberInitializers = new CollectionInitializerExpression(); memberInitializers.StartLocation = la.Location; - Expect(34); + Expect(36); MemberInitializer( -#line 2020 "VBNET.ATG" +#line 2022 "VBNET.ATG" out memberInitializer); -#line 2021 "VBNET.ATG" +#line 2023 "VBNET.ATG" memberInitializers.CreateExpressions.Add(memberInitializer); while (la.kind == 23) { lexer.NextToken(); MemberInitializer( -#line 2023 "VBNET.ATG" +#line 2025 "VBNET.ATG" out memberInitializer); -#line 2024 "VBNET.ATG" +#line 2026 "VBNET.ATG" memberInitializers.CreateExpressions.Add(memberInitializer); } - Expect(35); + Expect(37); -#line 2028 "VBNET.ATG" +#line 2030 "VBNET.ATG" memberInitializers.EndLocation = t.Location; if(oce is ObjectCreateExpression) { @@ -2994,10 +2998,10 @@ out memberInitializer); } else { lexer.NextToken(); CollectionInitializer( -#line 2038 "VBNET.ATG" +#line 2040 "VBNET.ATG" out initializer); -#line 2040 "VBNET.ATG" +#line 2042 "VBNET.ATG" if(oce is ObjectCreateExpression) ((ObjectCreateExpression)oce).ObjectInitializer = initializer; @@ -3006,318 +3010,318 @@ out initializer); } void AccessorDecls( -#line 1363 "VBNET.ATG" +#line 1365 "VBNET.ATG" out PropertyGetRegion getBlock, out PropertySetRegion setBlock) { -#line 1365 "VBNET.ATG" +#line 1367 "VBNET.ATG" List attributes = new List(); AttributeSection section; getBlock = null; setBlock = null; - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 1370 "VBNET.ATG" +#line 1372 "VBNET.ATG" out section); -#line 1370 "VBNET.ATG" +#line 1372 "VBNET.ATG" attributes.Add(section); } if (StartOf(24)) { GetAccessorDecl( -#line 1372 "VBNET.ATG" +#line 1374 "VBNET.ATG" out getBlock, attributes); if (StartOf(25)) { -#line 1374 "VBNET.ATG" +#line 1376 "VBNET.ATG" attributes = new List(); - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 1375 "VBNET.ATG" +#line 1377 "VBNET.ATG" out section); -#line 1375 "VBNET.ATG" +#line 1377 "VBNET.ATG" attributes.Add(section); } SetAccessorDecl( -#line 1376 "VBNET.ATG" +#line 1378 "VBNET.ATG" out setBlock, attributes); } } else if (StartOf(26)) { SetAccessorDecl( -#line 1379 "VBNET.ATG" +#line 1381 "VBNET.ATG" out setBlock, attributes); if (StartOf(27)) { -#line 1381 "VBNET.ATG" +#line 1383 "VBNET.ATG" attributes = new List(); - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 1382 "VBNET.ATG" +#line 1384 "VBNET.ATG" out section); -#line 1382 "VBNET.ATG" +#line 1384 "VBNET.ATG" attributes.Add(section); } GetAccessorDecl( -#line 1383 "VBNET.ATG" +#line 1385 "VBNET.ATG" out getBlock, attributes); } - } else SynErr(267); + } else SynErr(269); } void EventAccessorDeclaration( -#line 1326 "VBNET.ATG" +#line 1328 "VBNET.ATG" out EventAddRemoveRegion eventAccessorDeclaration) { -#line 1328 "VBNET.ATG" +#line 1330 "VBNET.ATG" Statement stmt = null; List p = new List(); AttributeSection section; List attributes = new List(); eventAccessorDeclaration = null; - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 1334 "VBNET.ATG" +#line 1336 "VBNET.ATG" out section); -#line 1334 "VBNET.ATG" +#line 1336 "VBNET.ATG" attributes.Add(section); } - if (la.kind == 55) { + if (la.kind == 57) { lexer.NextToken(); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1336 "VBNET.ATG" +#line 1338 "VBNET.ATG" p); } - Expect(37); + Expect(39); } Expect(1); Block( -#line 1337 "VBNET.ATG" +#line 1339 "VBNET.ATG" out stmt); - Expect(112); - Expect(55); + Expect(114); + Expect(57); EndOfStmt(); -#line 1339 "VBNET.ATG" +#line 1341 "VBNET.ATG" eventAccessorDeclaration = new EventAddRegion(attributes); eventAccessorDeclaration.Block = (BlockStatement)stmt; eventAccessorDeclaration.Parameters = p; - } else if (la.kind == 191) { + } else if (la.kind == 193) { lexer.NextToken(); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1344 "VBNET.ATG" +#line 1346 "VBNET.ATG" p); } - Expect(37); + Expect(39); } Expect(1); Block( -#line 1345 "VBNET.ATG" +#line 1347 "VBNET.ATG" out stmt); - Expect(112); - Expect(191); + Expect(114); + Expect(193); EndOfStmt(); -#line 1347 "VBNET.ATG" +#line 1349 "VBNET.ATG" eventAccessorDeclaration = new EventRemoveRegion(attributes); eventAccessorDeclaration.Block = (BlockStatement)stmt; eventAccessorDeclaration.Parameters = p; - } else if (la.kind == 187) { + } else if (la.kind == 189) { lexer.NextToken(); - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1352 "VBNET.ATG" +#line 1354 "VBNET.ATG" p); } - Expect(37); + Expect(39); } Expect(1); Block( -#line 1353 "VBNET.ATG" +#line 1355 "VBNET.ATG" out stmt); - Expect(112); - Expect(187); + Expect(114); + Expect(189); EndOfStmt(); -#line 1355 "VBNET.ATG" +#line 1357 "VBNET.ATG" eventAccessorDeclaration = new EventRaiseRegion(attributes); eventAccessorDeclaration.Block = (BlockStatement)stmt; eventAccessorDeclaration.Parameters = p; - } else SynErr(268); + } else SynErr(270); } void OverloadableOperator( -#line 1268 "VBNET.ATG" +#line 1270 "VBNET.ATG" out OverloadableOperatorType operatorType) { -#line 1269 "VBNET.ATG" +#line 1271 "VBNET.ATG" operatorType = OverloadableOperatorType.None; switch (la.kind) { - case 30: { + case 32: { lexer.NextToken(); -#line 1271 "VBNET.ATG" +#line 1273 "VBNET.ATG" operatorType = OverloadableOperatorType.Add; break; } - case 29: { + case 31: { lexer.NextToken(); -#line 1273 "VBNET.ATG" +#line 1275 "VBNET.ATG" operatorType = OverloadableOperatorType.Subtract; break; } - case 33: { + case 35: { lexer.NextToken(); -#line 1275 "VBNET.ATG" +#line 1277 "VBNET.ATG" operatorType = OverloadableOperatorType.Multiply; break; } case 25: { lexer.NextToken(); -#line 1277 "VBNET.ATG" +#line 1279 "VBNET.ATG" operatorType = OverloadableOperatorType.Divide; break; } case 26: { lexer.NextToken(); -#line 1279 "VBNET.ATG" +#line 1281 "VBNET.ATG" operatorType = OverloadableOperatorType.DivideInteger; break; } case 24: { lexer.NextToken(); -#line 1281 "VBNET.ATG" +#line 1283 "VBNET.ATG" operatorType = OverloadableOperatorType.Concat; break; } - case 149: { + case 151: { lexer.NextToken(); -#line 1283 "VBNET.ATG" +#line 1285 "VBNET.ATG" operatorType = OverloadableOperatorType.Like; break; } - case 153: { + case 155: { lexer.NextToken(); -#line 1285 "VBNET.ATG" +#line 1287 "VBNET.ATG" operatorType = OverloadableOperatorType.Modulus; break; } - case 59: { + case 61: { lexer.NextToken(); -#line 1287 "VBNET.ATG" +#line 1289 "VBNET.ATG" operatorType = OverloadableOperatorType.BitwiseAnd; break; } - case 174: { + case 176: { lexer.NextToken(); -#line 1289 "VBNET.ATG" +#line 1291 "VBNET.ATG" operatorType = OverloadableOperatorType.BitwiseOr; break; } - case 234: { + case 236: { lexer.NextToken(); -#line 1291 "VBNET.ATG" +#line 1293 "VBNET.ATG" operatorType = OverloadableOperatorType.ExclusiveOr; break; } - case 31: { + case 33: { lexer.NextToken(); -#line 1293 "VBNET.ATG" +#line 1295 "VBNET.ATG" operatorType = OverloadableOperatorType.Power; break; } - case 43: { + case 45: { lexer.NextToken(); -#line 1295 "VBNET.ATG" +#line 1297 "VBNET.ATG" operatorType = OverloadableOperatorType.ShiftLeft; break; } - case 44: { + case 46: { lexer.NextToken(); -#line 1297 "VBNET.ATG" +#line 1299 "VBNET.ATG" operatorType = OverloadableOperatorType.ShiftRight; break; } case 21: { lexer.NextToken(); -#line 1299 "VBNET.ATG" +#line 1301 "VBNET.ATG" operatorType = OverloadableOperatorType.Equality; break; } - case 40: { + case 42: { lexer.NextToken(); -#line 1301 "VBNET.ATG" +#line 1303 "VBNET.ATG" operatorType = OverloadableOperatorType.InEquality; break; } - case 39: { + case 41: { lexer.NextToken(); -#line 1303 "VBNET.ATG" +#line 1305 "VBNET.ATG" operatorType = OverloadableOperatorType.LessThan; break; } - case 42: { + case 44: { lexer.NextToken(); -#line 1305 "VBNET.ATG" +#line 1307 "VBNET.ATG" operatorType = OverloadableOperatorType.LessThanOrEqual; break; } - case 38: { + case 40: { lexer.NextToken(); -#line 1307 "VBNET.ATG" +#line 1309 "VBNET.ATG" operatorType = OverloadableOperatorType.GreaterThan; break; } - case 41: { + case 43: { lexer.NextToken(); -#line 1309 "VBNET.ATG" +#line 1311 "VBNET.ATG" operatorType = OverloadableOperatorType.GreaterThanOrEqual; break; } - case 93: { + case 95: { lexer.NextToken(); -#line 1311 "VBNET.ATG" +#line 1313 "VBNET.ATG" operatorType = OverloadableOperatorType.CType; break; } - case 2: case 57: case 61: case 63: case 64: case 65: case 66: case 69: case 86: case 97: case 103: case 106: case 115: case 120: case 125: case 132: case 138: case 142: case 145: case 169: case 175: case 182: case 201: case 210: case 211: case 221: case 222: case 228: { + case 2: case 59: case 63: case 65: case 66: case 67: case 68: case 71: case 88: case 99: case 105: case 108: case 117: case 122: case 127: case 134: case 140: case 144: case 147: case 148: case 171: case 177: case 184: case 203: case 212: case 213: case 223: case 224: case 230: { Identifier(); -#line 1315 "VBNET.ATG" +#line 1317 "VBNET.ATG" string opName = t.val; if (string.Equals(opName, "istrue", StringComparison.InvariantCultureIgnoreCase)) { operatorType = OverloadableOperatorType.IsTrue; @@ -3329,464 +3333,464 @@ out OverloadableOperatorType operatorType) { break; } - default: SynErr(269); break; + default: SynErr(271); break; } } void GetAccessorDecl( -#line 1389 "VBNET.ATG" +#line 1391 "VBNET.ATG" out PropertyGetRegion getBlock, List attributes) { -#line 1390 "VBNET.ATG" +#line 1392 "VBNET.ATG" Statement stmt = null; Modifiers m; PropertyAccessorAccessModifier( -#line 1392 "VBNET.ATG" +#line 1394 "VBNET.ATG" out m); - Expect(127); + Expect(129); -#line 1394 "VBNET.ATG" +#line 1396 "VBNET.ATG" Location startLocation = t.Location; Expect(1); Block( -#line 1396 "VBNET.ATG" +#line 1398 "VBNET.ATG" out stmt); -#line 1397 "VBNET.ATG" +#line 1399 "VBNET.ATG" getBlock = new PropertyGetRegion((BlockStatement)stmt, attributes); - Expect(112); - Expect(127); + Expect(114); + Expect(129); -#line 1399 "VBNET.ATG" +#line 1401 "VBNET.ATG" getBlock.Modifier = m; -#line 1400 "VBNET.ATG" +#line 1402 "VBNET.ATG" getBlock.StartLocation = startLocation; getBlock.EndLocation = t.EndLocation; EndOfStmt(); } void SetAccessorDecl( -#line 1405 "VBNET.ATG" +#line 1407 "VBNET.ATG" out PropertySetRegion setBlock, List attributes) { -#line 1407 "VBNET.ATG" +#line 1409 "VBNET.ATG" Statement stmt = null; List p = new List(); Modifiers m; PropertyAccessorAccessModifier( -#line 1412 "VBNET.ATG" +#line 1414 "VBNET.ATG" out m); - Expect(196); + Expect(198); -#line 1414 "VBNET.ATG" +#line 1416 "VBNET.ATG" Location startLocation = t.Location; - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1415 "VBNET.ATG" +#line 1417 "VBNET.ATG" p); } - Expect(37); + Expect(39); } Expect(1); Block( -#line 1417 "VBNET.ATG" +#line 1419 "VBNET.ATG" out stmt); -#line 1419 "VBNET.ATG" +#line 1421 "VBNET.ATG" setBlock = new PropertySetRegion((BlockStatement)stmt, attributes); setBlock.Modifier = m; setBlock.Parameters = p; - Expect(112); - Expect(196); + Expect(114); + Expect(198); -#line 1424 "VBNET.ATG" +#line 1426 "VBNET.ATG" setBlock.StartLocation = startLocation; setBlock.EndLocation = t.EndLocation; EndOfStmt(); } void PropertyAccessorAccessModifier( -#line 3524 "VBNET.ATG" +#line 3527 "VBNET.ATG" out Modifiers m) { -#line 3525 "VBNET.ATG" +#line 3528 "VBNET.ATG" m = Modifiers.None; while (StartOf(28)) { - if (la.kind == 186) { + if (la.kind == 188) { lexer.NextToken(); -#line 3527 "VBNET.ATG" +#line 3530 "VBNET.ATG" m |= Modifiers.Public; - } else if (la.kind == 185) { + } else if (la.kind == 187) { lexer.NextToken(); -#line 3528 "VBNET.ATG" +#line 3531 "VBNET.ATG" m |= Modifiers.Protected; - } else if (la.kind == 124) { + } else if (la.kind == 126) { lexer.NextToken(); -#line 3529 "VBNET.ATG" +#line 3532 "VBNET.ATG" m |= Modifiers.Internal; } else { lexer.NextToken(); -#line 3530 "VBNET.ATG" +#line 3533 "VBNET.ATG" m |= Modifiers.Private; } } } void ArrayInitializationModifier( -#line 1522 "VBNET.ATG" +#line 1524 "VBNET.ATG" out List arrayModifiers) { -#line 1524 "VBNET.ATG" +#line 1526 "VBNET.ATG" arrayModifiers = null; - Expect(36); + Expect(38); InitializationRankList( -#line 1526 "VBNET.ATG" +#line 1528 "VBNET.ATG" out arrayModifiers); - Expect(37); + Expect(39); } void ArrayNameModifier( -#line 2603 "VBNET.ATG" +#line 2605 "VBNET.ATG" out ArrayList arrayModifiers) { -#line 2605 "VBNET.ATG" +#line 2607 "VBNET.ATG" arrayModifiers = null; ArrayTypeModifiers( -#line 2607 "VBNET.ATG" +#line 2609 "VBNET.ATG" out arrayModifiers); } void InitializationRankList( -#line 1530 "VBNET.ATG" +#line 1532 "VBNET.ATG" out List rank) { -#line 1532 "VBNET.ATG" +#line 1534 "VBNET.ATG" rank = new List(); Expression expr = null; Expr( -#line 1535 "VBNET.ATG" +#line 1537 "VBNET.ATG" out expr); - if (la.kind == 214) { + if (la.kind == 216) { lexer.NextToken(); -#line 1536 "VBNET.ATG" +#line 1538 "VBNET.ATG" EnsureIsZero(expr); Expr( -#line 1537 "VBNET.ATG" +#line 1539 "VBNET.ATG" out expr); } -#line 1539 "VBNET.ATG" +#line 1541 "VBNET.ATG" if (expr != null) { rank.Add(expr); } while (la.kind == 23) { lexer.NextToken(); Expr( -#line 1541 "VBNET.ATG" +#line 1543 "VBNET.ATG" out expr); - if (la.kind == 214) { + if (la.kind == 216) { lexer.NextToken(); -#line 1542 "VBNET.ATG" +#line 1544 "VBNET.ATG" EnsureIsZero(expr); Expr( -#line 1543 "VBNET.ATG" +#line 1545 "VBNET.ATG" out expr); } -#line 1545 "VBNET.ATG" +#line 1547 "VBNET.ATG" if (expr != null) { rank.Add(expr); } } } void CollectionInitializer( -#line 1550 "VBNET.ATG" +#line 1552 "VBNET.ATG" out CollectionInitializerExpression outExpr) { -#line 1552 "VBNET.ATG" +#line 1554 "VBNET.ATG" Expression expr = null; CollectionInitializerExpression initializer = new CollectionInitializerExpression(); - Expect(34); + Expect(36); if (StartOf(29)) { Expr( -#line 1557 "VBNET.ATG" +#line 1559 "VBNET.ATG" out expr); -#line 1559 "VBNET.ATG" +#line 1561 "VBNET.ATG" if (expr != null) { initializer.CreateExpressions.Add(expr); } while ( -#line 1562 "VBNET.ATG" +#line 1564 "VBNET.ATG" NotFinalComma()) { Expect(23); Expr( -#line 1562 "VBNET.ATG" +#line 1564 "VBNET.ATG" out expr); -#line 1563 "VBNET.ATG" +#line 1565 "VBNET.ATG" if (expr != null) { initializer.CreateExpressions.Add(expr); } } } - Expect(35); + Expect(37); -#line 1566 "VBNET.ATG" +#line 1568 "VBNET.ATG" outExpr = initializer; } void EventMemberSpecifier( -#line 1636 "VBNET.ATG" +#line 1638 "VBNET.ATG" out string name) { -#line 1637 "VBNET.ATG" +#line 1639 "VBNET.ATG" string eventName; if (StartOf(4)) { Identifier(); - } else if (la.kind == 157) { + } else if (la.kind == 159) { lexer.NextToken(); - } else if (la.kind == 152) { + } else if (la.kind == 154) { lexer.NextToken(); - } else SynErr(270); + } else SynErr(272); -#line 1640 "VBNET.ATG" +#line 1642 "VBNET.ATG" name = t.val; Expect(27); IdentifierOrKeyword( -#line 1642 "VBNET.ATG" +#line 1644 "VBNET.ATG" out eventName); -#line 1643 "VBNET.ATG" +#line 1645 "VBNET.ATG" name = name + "." + eventName; } void IdentifierOrKeyword( -#line 3457 "VBNET.ATG" +#line 3460 "VBNET.ATG" out string name) { lexer.NextToken(); -#line 3459 "VBNET.ATG" +#line 3462 "VBNET.ATG" name = t.val; } void QueryExpr( -#line 2127 "VBNET.ATG" +#line 2129 "VBNET.ATG" out Expression expr) { -#line 2129 "VBNET.ATG" +#line 2131 "VBNET.ATG" QueryExpressionVB qexpr = new QueryExpressionVB(); qexpr.StartLocation = la.Location; expr = qexpr; FromOrAggregateQueryOperator( -#line 2133 "VBNET.ATG" +#line 2135 "VBNET.ATG" qexpr.Clauses); while (StartOf(30)) { QueryOperator( -#line 2134 "VBNET.ATG" +#line 2136 "VBNET.ATG" qexpr.Clauses); } -#line 2136 "VBNET.ATG" +#line 2138 "VBNET.ATG" qexpr.EndLocation = t.EndLocation; } void LambdaExpr( -#line 2047 "VBNET.ATG" +#line 2049 "VBNET.ATG" out Expression expr) { -#line 2049 "VBNET.ATG" +#line 2051 "VBNET.ATG" LambdaExpression lambda = null; - if (la.kind == 208) { + if (la.kind == 210) { SubLambdaExpression( -#line 2051 "VBNET.ATG" +#line 2053 "VBNET.ATG" out lambda); - } else if (la.kind == 126) { + } else if (la.kind == 128) { FunctionLambdaExpression( -#line 2052 "VBNET.ATG" +#line 2054 "VBNET.ATG" out lambda); - } else SynErr(271); + } else SynErr(273); -#line 2053 "VBNET.ATG" +#line 2055 "VBNET.ATG" expr = lambda; } void DisjunctionExpr( -#line 1820 "VBNET.ATG" +#line 1822 "VBNET.ATG" out Expression outExpr) { -#line 1822 "VBNET.ATG" +#line 1824 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; ConjunctionExpr( -#line 1825 "VBNET.ATG" +#line 1827 "VBNET.ATG" out outExpr); - while (la.kind == 174 || la.kind == 176 || la.kind == 234) { - if (la.kind == 174) { + while (la.kind == 176 || la.kind == 178 || la.kind == 236) { + if (la.kind == 176) { lexer.NextToken(); -#line 1828 "VBNET.ATG" +#line 1830 "VBNET.ATG" op = BinaryOperatorType.BitwiseOr; - } else if (la.kind == 176) { + } else if (la.kind == 178) { lexer.NextToken(); -#line 1829 "VBNET.ATG" +#line 1831 "VBNET.ATG" op = BinaryOperatorType.LogicalOr; } else { lexer.NextToken(); -#line 1830 "VBNET.ATG" +#line 1832 "VBNET.ATG" op = BinaryOperatorType.ExclusiveOr; } ConjunctionExpr( -#line 1832 "VBNET.ATG" +#line 1834 "VBNET.ATG" out expr); -#line 1832 "VBNET.ATG" +#line 1834 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void AssignmentOperator( -#line 1654 "VBNET.ATG" +#line 1656 "VBNET.ATG" out AssignmentOperatorType op) { -#line 1655 "VBNET.ATG" +#line 1657 "VBNET.ATG" op = AssignmentOperatorType.None; switch (la.kind) { case 21: { lexer.NextToken(); -#line 1656 "VBNET.ATG" +#line 1658 "VBNET.ATG" op = AssignmentOperatorType.Assign; break; } - case 53: { + case 55: { lexer.NextToken(); -#line 1657 "VBNET.ATG" +#line 1659 "VBNET.ATG" op = AssignmentOperatorType.ConcatString; break; } - case 45: { + case 47: { lexer.NextToken(); -#line 1658 "VBNET.ATG" +#line 1660 "VBNET.ATG" op = AssignmentOperatorType.Add; break; } - case 47: { + case 49: { lexer.NextToken(); -#line 1659 "VBNET.ATG" +#line 1661 "VBNET.ATG" op = AssignmentOperatorType.Subtract; break; } - case 48: { + case 50: { lexer.NextToken(); -#line 1660 "VBNET.ATG" +#line 1662 "VBNET.ATG" op = AssignmentOperatorType.Multiply; break; } - case 49: { + case 51: { lexer.NextToken(); -#line 1661 "VBNET.ATG" +#line 1663 "VBNET.ATG" op = AssignmentOperatorType.Divide; break; } - case 50: { + case 52: { lexer.NextToken(); -#line 1662 "VBNET.ATG" +#line 1664 "VBNET.ATG" op = AssignmentOperatorType.DivideInteger; break; } - case 46: { + case 48: { lexer.NextToken(); -#line 1663 "VBNET.ATG" +#line 1665 "VBNET.ATG" op = AssignmentOperatorType.Power; break; } - case 51: { + case 53: { lexer.NextToken(); -#line 1664 "VBNET.ATG" +#line 1666 "VBNET.ATG" op = AssignmentOperatorType.ShiftLeft; break; } - case 52: { + case 54: { lexer.NextToken(); -#line 1665 "VBNET.ATG" +#line 1667 "VBNET.ATG" op = AssignmentOperatorType.ShiftRight; break; } - default: SynErr(272); break; + default: SynErr(274); break; } } void SimpleExpr( -#line 1669 "VBNET.ATG" +#line 1671 "VBNET.ATG" out Expression pexpr) { -#line 1670 "VBNET.ATG" +#line 1672 "VBNET.ATG" string name; SimpleNonInvocationExpression( -#line 1672 "VBNET.ATG" +#line 1674 "VBNET.ATG" out pexpr); - while (la.kind == 27 || la.kind == 28 || la.kind == 36) { + while (la.kind == 27 || la.kind == 30 || la.kind == 38) { if (la.kind == 27) { lexer.NextToken(); IdentifierOrKeyword( -#line 1674 "VBNET.ATG" +#line 1676 "VBNET.ATG" out name); -#line 1675 "VBNET.ATG" +#line 1677 "VBNET.ATG" pexpr = new MemberReferenceExpression(pexpr, name); if ( -#line 1676 "VBNET.ATG" +#line 1678 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { lexer.NextToken(); - Expect(168); + Expect(170); TypeArgumentList( -#line 1677 "VBNET.ATG" +#line 1679 "VBNET.ATG" ((MemberReferenceExpression)pexpr).TypeArguments); - Expect(37); + Expect(39); } - } else if (la.kind == 28) { + } else if (la.kind == 30) { lexer.NextToken(); IdentifierOrKeyword( -#line 1679 "VBNET.ATG" +#line 1681 "VBNET.ATG" out name); -#line 1679 "VBNET.ATG" +#line 1681 "VBNET.ATG" pexpr = new BinaryOperatorExpression(pexpr, BinaryOperatorType.DictionaryAccess, new PrimitiveExpression(name, name)); } else { InvocationExpression( -#line 1680 "VBNET.ATG" +#line 1682 "VBNET.ATG" ref pexpr); } } } void SimpleNonInvocationExpression( -#line 1684 "VBNET.ATG" +#line 1686 "VBNET.ATG" out Expression pexpr) { -#line 1686 "VBNET.ATG" +#line 1688 "VBNET.ATG" Expression expr; CollectionInitializerExpression cie; TypeReference type = null; @@ -3798,270 +3802,270 @@ out Expression pexpr) { case 3: { lexer.NextToken(); -#line 1695 "VBNET.ATG" +#line 1697 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 4: { lexer.NextToken(); -#line 1696 "VBNET.ATG" +#line 1698 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 7: { lexer.NextToken(); -#line 1697 "VBNET.ATG" +#line 1699 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 6: { lexer.NextToken(); -#line 1698 "VBNET.ATG" +#line 1700 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 5: { lexer.NextToken(); -#line 1699 "VBNET.ATG" +#line 1701 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 9: { lexer.NextToken(); -#line 1700 "VBNET.ATG" +#line 1702 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 8: { lexer.NextToken(); -#line 1701 "VBNET.ATG" +#line 1703 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } - case 215: { + case 217: { lexer.NextToken(); -#line 1703 "VBNET.ATG" +#line 1705 "VBNET.ATG" pexpr = new PrimitiveExpression(true, "true"); break; } - case 121: { + case 123: { lexer.NextToken(); -#line 1704 "VBNET.ATG" +#line 1706 "VBNET.ATG" pexpr = new PrimitiveExpression(false, "false"); break; } - case 164: { + case 166: { lexer.NextToken(); -#line 1705 "VBNET.ATG" +#line 1707 "VBNET.ATG" pexpr = new PrimitiveExpression(null, "null"); break; } - case 36: { + case 38: { lexer.NextToken(); Expr( -#line 1706 "VBNET.ATG" +#line 1708 "VBNET.ATG" out expr); - Expect(37); + Expect(39); -#line 1706 "VBNET.ATG" +#line 1708 "VBNET.ATG" pexpr = new ParenthesizedExpression(expr); break; } - case 2: case 57: case 61: case 63: case 64: case 65: case 66: case 69: case 86: case 97: case 103: case 106: case 115: case 120: case 125: case 132: case 138: case 142: case 145: case 169: case 175: case 182: case 201: case 210: case 211: case 221: case 222: case 228: { + case 2: case 59: case 63: case 65: case 66: case 67: case 68: case 71: case 88: case 99: case 105: case 108: case 117: case 122: case 127: case 134: case 140: case 144: case 147: case 148: case 171: case 177: case 184: case 203: case 212: case 213: case 223: case 224: case 230: { Identifier(); -#line 1708 "VBNET.ATG" +#line 1710 "VBNET.ATG" pexpr = new IdentifierExpression(t.val); pexpr.StartLocation = t.Location; pexpr.EndLocation = t.EndLocation; if ( -#line 1711 "VBNET.ATG" +#line 1713 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { lexer.NextToken(); - Expect(168); + Expect(170); TypeArgumentList( -#line 1712 "VBNET.ATG" +#line 1714 "VBNET.ATG" ((IdentifierExpression)pexpr).TypeArguments); - Expect(37); + Expect(39); } break; } - case 67: case 70: case 81: case 98: case 99: case 108: case 140: case 150: case 167: case 194: case 199: case 200: case 206: case 219: case 220: case 223: { + case 69: case 72: case 83: case 100: case 101: case 110: case 142: case 152: case 169: case 196: case 201: case 202: case 208: case 221: case 222: case 225: { -#line 1714 "VBNET.ATG" +#line 1716 "VBNET.ATG" string val = String.Empty; if (StartOf(12)) { PrimitiveTypeName( -#line 1715 "VBNET.ATG" +#line 1717 "VBNET.ATG" out val); - } else if (la.kind == 167) { + } else if (la.kind == 169) { lexer.NextToken(); -#line 1715 "VBNET.ATG" +#line 1717 "VBNET.ATG" val = "System.Object"; - } else SynErr(273); + } else SynErr(275); -#line 1716 "VBNET.ATG" +#line 1718 "VBNET.ATG" pexpr = new TypeReferenceExpression(new TypeReference(val, true)); break; } - case 152: { + case 154: { lexer.NextToken(); -#line 1717 "VBNET.ATG" +#line 1719 "VBNET.ATG" pexpr = new ThisReferenceExpression(); break; } - case 157: case 158: { + case 159: case 160: { -#line 1718 "VBNET.ATG" +#line 1720 "VBNET.ATG" Expression retExpr = null; - if (la.kind == 157) { + if (la.kind == 159) { lexer.NextToken(); -#line 1719 "VBNET.ATG" +#line 1721 "VBNET.ATG" retExpr = new BaseReferenceExpression(); - } else if (la.kind == 158) { + } else if (la.kind == 160) { lexer.NextToken(); -#line 1720 "VBNET.ATG" +#line 1722 "VBNET.ATG" retExpr = new ClassReferenceExpression(); - } else SynErr(274); + } else SynErr(276); Expect(27); IdentifierOrKeyword( -#line 1722 "VBNET.ATG" +#line 1724 "VBNET.ATG" out name); -#line 1722 "VBNET.ATG" +#line 1724 "VBNET.ATG" pexpr = new MemberReferenceExpression(retExpr, name); break; } - case 129: { + case 131: { lexer.NextToken(); Expect(27); Identifier(); -#line 1724 "VBNET.ATG" +#line 1726 "VBNET.ATG" type = new TypeReference(t.val ?? ""); -#line 1726 "VBNET.ATG" +#line 1728 "VBNET.ATG" type.IsGlobal = true; -#line 1727 "VBNET.ATG" +#line 1729 "VBNET.ATG" pexpr = new TypeReferenceExpression(type); break; } - case 161: { + case 163: { ObjectCreateExpression( -#line 1728 "VBNET.ATG" +#line 1730 "VBNET.ATG" out expr); -#line 1728 "VBNET.ATG" +#line 1730 "VBNET.ATG" pexpr = expr; break; } - case 34: { + case 36: { CollectionInitializer( -#line 1729 "VBNET.ATG" +#line 1731 "VBNET.ATG" out cie); -#line 1729 "VBNET.ATG" +#line 1731 "VBNET.ATG" pexpr = cie; break; } - case 93: case 105: case 217: { + case 95: case 107: case 219: { -#line 1731 "VBNET.ATG" +#line 1733 "VBNET.ATG" CastType castType = CastType.Cast; - if (la.kind == 105) { + if (la.kind == 107) { lexer.NextToken(); - } else if (la.kind == 93) { + } else if (la.kind == 95) { lexer.NextToken(); -#line 1733 "VBNET.ATG" +#line 1735 "VBNET.ATG" castType = CastType.Conversion; - } else if (la.kind == 217) { + } else if (la.kind == 219) { lexer.NextToken(); -#line 1734 "VBNET.ATG" +#line 1736 "VBNET.ATG" castType = CastType.TryCast; - } else SynErr(275); - Expect(36); + } else SynErr(277); + Expect(38); Expr( -#line 1736 "VBNET.ATG" +#line 1738 "VBNET.ATG" out expr); Expect(23); TypeName( -#line 1736 "VBNET.ATG" +#line 1738 "VBNET.ATG" out type); - Expect(37); + Expect(39); -#line 1737 "VBNET.ATG" +#line 1739 "VBNET.ATG" pexpr = new CastExpression(type, expr, castType); break; } - case 75: case 76: case 77: case 78: case 79: case 80: case 82: case 84: case 85: case 89: case 90: case 91: case 92: case 94: case 95: case 96: { + case 77: case 78: case 79: case 80: case 81: case 82: case 84: case 86: case 87: case 91: case 92: case 93: case 94: case 96: case 97: case 98: { CastTarget( -#line 1738 "VBNET.ATG" +#line 1740 "VBNET.ATG" out type); - Expect(36); + Expect(38); Expr( -#line 1738 "VBNET.ATG" +#line 1740 "VBNET.ATG" out expr); - Expect(37); + Expect(39); -#line 1738 "VBNET.ATG" +#line 1740 "VBNET.ATG" pexpr = new CastExpression(type, expr, CastType.PrimitiveConversion); break; } - case 56: { + case 58: { lexer.NextToken(); Expr( -#line 1739 "VBNET.ATG" +#line 1741 "VBNET.ATG" out expr); -#line 1739 "VBNET.ATG" +#line 1741 "VBNET.ATG" pexpr = new AddressOfExpression(expr); break; } - case 128: { + case 130: { lexer.NextToken(); - Expect(36); + Expect(38); GetTypeTypeName( -#line 1740 "VBNET.ATG" +#line 1742 "VBNET.ATG" out type); - Expect(37); + Expect(39); -#line 1740 "VBNET.ATG" +#line 1742 "VBNET.ATG" pexpr = new TypeOfExpression(type); break; } - case 218: { + case 220: { lexer.NextToken(); SimpleExpr( -#line 1741 "VBNET.ATG" +#line 1743 "VBNET.ATG" out expr); - Expect(143); + Expect(145); TypeName( -#line 1741 "VBNET.ATG" +#line 1743 "VBNET.ATG" out type); -#line 1741 "VBNET.ATG" +#line 1743 "VBNET.ATG" pexpr = new TypeOfIsExpression(expr, type); break; } - case 134: { + case 136: { ConditionalExpression( -#line 1742 "VBNET.ATG" +#line 1744 "VBNET.ATG" out pexpr); break; } @@ -4069,315 +4073,315 @@ out pexpr); } else if (la.kind == 27) { lexer.NextToken(); IdentifierOrKeyword( -#line 1746 "VBNET.ATG" +#line 1748 "VBNET.ATG" out name); -#line 1746 "VBNET.ATG" +#line 1748 "VBNET.ATG" pexpr = new MemberReferenceExpression(null, name); - } else SynErr(276); + } else SynErr(278); } void TypeArgumentList( -#line 2639 "VBNET.ATG" +#line 2641 "VBNET.ATG" List typeArguments) { -#line 2641 "VBNET.ATG" +#line 2643 "VBNET.ATG" TypeReference typeref; TypeName( -#line 2643 "VBNET.ATG" +#line 2645 "VBNET.ATG" out typeref); -#line 2643 "VBNET.ATG" +#line 2645 "VBNET.ATG" if (typeref != null) typeArguments.Add(typeref); while (la.kind == 23) { lexer.NextToken(); TypeName( -#line 2646 "VBNET.ATG" +#line 2648 "VBNET.ATG" out typeref); -#line 2646 "VBNET.ATG" +#line 2648 "VBNET.ATG" if (typeref != null) typeArguments.Add(typeref); } } void InvocationExpression( -#line 1784 "VBNET.ATG" +#line 1786 "VBNET.ATG" ref Expression pexpr) { -#line 1785 "VBNET.ATG" +#line 1787 "VBNET.ATG" List parameters = null; - Expect(36); + Expect(38); -#line 1787 "VBNET.ATG" +#line 1789 "VBNET.ATG" Location start = t.Location; ArgumentList( -#line 1788 "VBNET.ATG" +#line 1790 "VBNET.ATG" out parameters); - Expect(37); + Expect(39); -#line 1791 "VBNET.ATG" +#line 1793 "VBNET.ATG" pexpr = new InvocationExpression(pexpr, parameters); -#line 1793 "VBNET.ATG" +#line 1795 "VBNET.ATG" pexpr.StartLocation = start; pexpr.EndLocation = t.Location; } void PrimitiveTypeName( -#line 3464 "VBNET.ATG" +#line 3467 "VBNET.ATG" out string type) { -#line 3465 "VBNET.ATG" +#line 3468 "VBNET.ATG" type = String.Empty; switch (la.kind) { - case 67: { + case 69: { lexer.NextToken(); -#line 3466 "VBNET.ATG" +#line 3469 "VBNET.ATG" type = "System.Boolean"; break; } - case 98: { + case 100: { lexer.NextToken(); -#line 3467 "VBNET.ATG" +#line 3470 "VBNET.ATG" type = "System.DateTime"; break; } - case 81: { + case 83: { lexer.NextToken(); -#line 3468 "VBNET.ATG" +#line 3471 "VBNET.ATG" type = "System.Char"; break; } - case 206: { + case 208: { lexer.NextToken(); -#line 3469 "VBNET.ATG" +#line 3472 "VBNET.ATG" type = "System.String"; break; } - case 99: { + case 101: { lexer.NextToken(); -#line 3470 "VBNET.ATG" +#line 3473 "VBNET.ATG" type = "System.Decimal"; break; } - case 70: { + case 72: { lexer.NextToken(); -#line 3471 "VBNET.ATG" +#line 3474 "VBNET.ATG" type = "System.Byte"; break; } - case 199: { + case 201: { lexer.NextToken(); -#line 3472 "VBNET.ATG" +#line 3475 "VBNET.ATG" type = "System.Int16"; break; } - case 140: { + case 142: { lexer.NextToken(); -#line 3473 "VBNET.ATG" +#line 3476 "VBNET.ATG" type = "System.Int32"; break; } - case 150: { + case 152: { lexer.NextToken(); -#line 3474 "VBNET.ATG" +#line 3477 "VBNET.ATG" type = "System.Int64"; break; } - case 200: { + case 202: { lexer.NextToken(); -#line 3475 "VBNET.ATG" +#line 3478 "VBNET.ATG" type = "System.Single"; break; } - case 108: { + case 110: { lexer.NextToken(); -#line 3476 "VBNET.ATG" +#line 3479 "VBNET.ATG" type = "System.Double"; break; } - case 219: { + case 221: { lexer.NextToken(); -#line 3477 "VBNET.ATG" +#line 3480 "VBNET.ATG" type = "System.UInt32"; break; } - case 220: { + case 222: { lexer.NextToken(); -#line 3478 "VBNET.ATG" +#line 3481 "VBNET.ATG" type = "System.UInt64"; break; } - case 223: { + case 225: { lexer.NextToken(); -#line 3479 "VBNET.ATG" +#line 3482 "VBNET.ATG" type = "System.UInt16"; break; } - case 194: { + case 196: { lexer.NextToken(); -#line 3480 "VBNET.ATG" +#line 3483 "VBNET.ATG" type = "System.SByte"; break; } - default: SynErr(277); break; + default: SynErr(279); break; } } void CastTarget( -#line 1798 "VBNET.ATG" +#line 1800 "VBNET.ATG" out TypeReference type) { -#line 1800 "VBNET.ATG" +#line 1802 "VBNET.ATG" type = null; switch (la.kind) { - case 75: { + case 77: { lexer.NextToken(); -#line 1802 "VBNET.ATG" +#line 1804 "VBNET.ATG" type = new TypeReference("System.Boolean", true); break; } - case 76: { + case 78: { lexer.NextToken(); -#line 1803 "VBNET.ATG" +#line 1805 "VBNET.ATG" type = new TypeReference("System.Byte", true); break; } - case 89: { + case 91: { lexer.NextToken(); -#line 1804 "VBNET.ATG" +#line 1806 "VBNET.ATG" type = new TypeReference("System.SByte", true); break; } - case 77: { + case 79: { lexer.NextToken(); -#line 1805 "VBNET.ATG" +#line 1807 "VBNET.ATG" type = new TypeReference("System.Char", true); break; } - case 78: { + case 80: { lexer.NextToken(); -#line 1806 "VBNET.ATG" +#line 1808 "VBNET.ATG" type = new TypeReference("System.DateTime", true); break; } - case 80: { + case 82: { lexer.NextToken(); -#line 1807 "VBNET.ATG" +#line 1809 "VBNET.ATG" type = new TypeReference("System.Decimal", true); break; } - case 79: { + case 81: { lexer.NextToken(); -#line 1808 "VBNET.ATG" +#line 1810 "VBNET.ATG" type = new TypeReference("System.Double", true); break; } - case 90: { + case 92: { lexer.NextToken(); -#line 1809 "VBNET.ATG" +#line 1811 "VBNET.ATG" type = new TypeReference("System.Int16", true); break; } - case 82: { + case 84: { lexer.NextToken(); -#line 1810 "VBNET.ATG" +#line 1812 "VBNET.ATG" type = new TypeReference("System.Int32", true); break; } - case 84: { + case 86: { lexer.NextToken(); -#line 1811 "VBNET.ATG" +#line 1813 "VBNET.ATG" type = new TypeReference("System.Int64", true); break; } - case 96: { + case 98: { lexer.NextToken(); -#line 1812 "VBNET.ATG" +#line 1814 "VBNET.ATG" type = new TypeReference("System.UInt16", true); break; } - case 94: { + case 96: { lexer.NextToken(); -#line 1813 "VBNET.ATG" +#line 1815 "VBNET.ATG" type = new TypeReference("System.UInt32", true); break; } - case 95: { + case 97: { lexer.NextToken(); -#line 1814 "VBNET.ATG" +#line 1816 "VBNET.ATG" type = new TypeReference("System.UInt64", true); break; } - case 85: { + case 87: { lexer.NextToken(); -#line 1815 "VBNET.ATG" +#line 1817 "VBNET.ATG" type = new TypeReference("System.Object", true); break; } - case 91: { + case 93: { lexer.NextToken(); -#line 1816 "VBNET.ATG" +#line 1818 "VBNET.ATG" type = new TypeReference("System.Single", true); break; } - case 92: { + case 94: { lexer.NextToken(); -#line 1817 "VBNET.ATG" +#line 1819 "VBNET.ATG" type = new TypeReference("System.String", true); break; } - default: SynErr(278); break; + default: SynErr(280); break; } } void GetTypeTypeName( -#line 2538 "VBNET.ATG" +#line 2540 "VBNET.ATG" out TypeReference typeref) { -#line 2539 "VBNET.ATG" +#line 2541 "VBNET.ATG" ArrayList rank = null; NonArrayTypeName( -#line 2541 "VBNET.ATG" +#line 2543 "VBNET.ATG" out typeref, true); ArrayTypeModifiers( -#line 2542 "VBNET.ATG" +#line 2544 "VBNET.ATG" out rank); -#line 2543 "VBNET.ATG" +#line 2545 "VBNET.ATG" if (rank != null && typeref != null) { typeref.RankSpecifier = (int[])rank.ToArray(typeof(int)); } @@ -4385,10 +4389,10 @@ out rank); } void ConditionalExpression( -#line 1750 "VBNET.ATG" +#line 1752 "VBNET.ATG" out Expression expr) { -#line 1752 "VBNET.ATG" +#line 1754 "VBNET.ATG" ConditionalExpression conditionalExpression = new ConditionalExpression(); BinaryOperatorExpression binaryOperatorExpression = new BinaryOperatorExpression(); conditionalExpression.StartLocation = binaryOperatorExpression.StartLocation = la.Location; @@ -4397,24 +4401,24 @@ out Expression expr) { Expression trueExpr = null; Expression falseExpr = null; - Expect(134); - Expect(36); + Expect(136); + Expect(38); Expr( -#line 1761 "VBNET.ATG" +#line 1763 "VBNET.ATG" out condition); Expect(23); Expr( -#line 1761 "VBNET.ATG" +#line 1763 "VBNET.ATG" out trueExpr); if (la.kind == 23) { lexer.NextToken(); Expr( -#line 1761 "VBNET.ATG" +#line 1763 "VBNET.ATG" out falseExpr); } - Expect(37); + Expect(39); -#line 1763 "VBNET.ATG" +#line 1765 "VBNET.ATG" if(falseExpr != null) { conditionalExpression.Condition = condition; @@ -4437,375 +4441,375 @@ out falseExpr); } void ArgumentList( -#line 2470 "VBNET.ATG" +#line 2472 "VBNET.ATG" out List arguments) { -#line 2472 "VBNET.ATG" +#line 2474 "VBNET.ATG" arguments = new List(); Expression expr = null; if (StartOf(29)) { Argument( -#line 2475 "VBNET.ATG" +#line 2477 "VBNET.ATG" out expr); } while (la.kind == 23) { lexer.NextToken(); -#line 2476 "VBNET.ATG" +#line 2478 "VBNET.ATG" arguments.Add(expr ?? Expression.Null); expr = null; if (StartOf(29)) { Argument( -#line 2477 "VBNET.ATG" +#line 2479 "VBNET.ATG" out expr); } -#line 2478 "VBNET.ATG" +#line 2480 "VBNET.ATG" if (expr == null) expr = Expression.Null; } -#line 2480 "VBNET.ATG" +#line 2482 "VBNET.ATG" if (expr != null) arguments.Add(expr); } void ConjunctionExpr( -#line 1836 "VBNET.ATG" +#line 1838 "VBNET.ATG" out Expression outExpr) { -#line 1838 "VBNET.ATG" +#line 1840 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; NotExpr( -#line 1841 "VBNET.ATG" +#line 1843 "VBNET.ATG" out outExpr); - while (la.kind == 59 || la.kind == 60) { - if (la.kind == 59) { + while (la.kind == 61 || la.kind == 62) { + if (la.kind == 61) { lexer.NextToken(); -#line 1844 "VBNET.ATG" +#line 1846 "VBNET.ATG" op = BinaryOperatorType.BitwiseAnd; } else { lexer.NextToken(); -#line 1845 "VBNET.ATG" +#line 1847 "VBNET.ATG" op = BinaryOperatorType.LogicalAnd; } NotExpr( -#line 1847 "VBNET.ATG" +#line 1849 "VBNET.ATG" out expr); -#line 1847 "VBNET.ATG" +#line 1849 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void NotExpr( -#line 1851 "VBNET.ATG" +#line 1853 "VBNET.ATG" out Expression outExpr) { -#line 1852 "VBNET.ATG" +#line 1854 "VBNET.ATG" UnaryOperatorType uop = UnaryOperatorType.None; - while (la.kind == 163) { + while (la.kind == 165) { lexer.NextToken(); -#line 1853 "VBNET.ATG" +#line 1855 "VBNET.ATG" uop = UnaryOperatorType.Not; } ComparisonExpr( -#line 1854 "VBNET.ATG" +#line 1856 "VBNET.ATG" out outExpr); -#line 1855 "VBNET.ATG" +#line 1857 "VBNET.ATG" if (uop != UnaryOperatorType.None) outExpr = new UnaryOperatorExpression(outExpr, uop); } void ComparisonExpr( -#line 1860 "VBNET.ATG" +#line 1862 "VBNET.ATG" out Expression outExpr) { -#line 1862 "VBNET.ATG" +#line 1864 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; ShiftExpr( -#line 1865 "VBNET.ATG" +#line 1867 "VBNET.ATG" out outExpr); while (StartOf(32)) { switch (la.kind) { - case 39: { + case 41: { lexer.NextToken(); -#line 1868 "VBNET.ATG" +#line 1870 "VBNET.ATG" op = BinaryOperatorType.LessThan; break; } - case 38: { + case 40: { lexer.NextToken(); -#line 1869 "VBNET.ATG" +#line 1871 "VBNET.ATG" op = BinaryOperatorType.GreaterThan; break; } - case 42: { + case 44: { lexer.NextToken(); -#line 1870 "VBNET.ATG" +#line 1872 "VBNET.ATG" op = BinaryOperatorType.LessThanOrEqual; break; } - case 41: { + case 43: { lexer.NextToken(); -#line 1871 "VBNET.ATG" +#line 1873 "VBNET.ATG" op = BinaryOperatorType.GreaterThanOrEqual; break; } - case 40: { + case 42: { lexer.NextToken(); -#line 1872 "VBNET.ATG" +#line 1874 "VBNET.ATG" op = BinaryOperatorType.InEquality; break; } case 21: { lexer.NextToken(); -#line 1873 "VBNET.ATG" +#line 1875 "VBNET.ATG" op = BinaryOperatorType.Equality; break; } - case 149: { + case 151: { lexer.NextToken(); -#line 1874 "VBNET.ATG" +#line 1876 "VBNET.ATG" op = BinaryOperatorType.Like; break; } - case 143: { + case 145: { lexer.NextToken(); -#line 1875 "VBNET.ATG" +#line 1877 "VBNET.ATG" op = BinaryOperatorType.ReferenceEquality; break; } - case 144: { + case 146: { lexer.NextToken(); -#line 1876 "VBNET.ATG" +#line 1878 "VBNET.ATG" op = BinaryOperatorType.ReferenceInequality; break; } } if (StartOf(33)) { ShiftExpr( -#line 1879 "VBNET.ATG" +#line 1881 "VBNET.ATG" out expr); -#line 1879 "VBNET.ATG" +#line 1881 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); - } else if (la.kind == 163) { + } else if (la.kind == 165) { lexer.NextToken(); ShiftExpr( -#line 1882 "VBNET.ATG" +#line 1884 "VBNET.ATG" out expr); -#line 1882 "VBNET.ATG" +#line 1884 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, new UnaryOperatorExpression(expr, UnaryOperatorType.Not)); - } else SynErr(279); + } else SynErr(281); } } void ShiftExpr( -#line 1887 "VBNET.ATG" +#line 1889 "VBNET.ATG" out Expression outExpr) { -#line 1889 "VBNET.ATG" +#line 1891 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; ConcatenationExpr( -#line 1892 "VBNET.ATG" +#line 1894 "VBNET.ATG" out outExpr); - while (la.kind == 43 || la.kind == 44) { - if (la.kind == 43) { + while (la.kind == 45 || la.kind == 46) { + if (la.kind == 45) { lexer.NextToken(); -#line 1895 "VBNET.ATG" +#line 1897 "VBNET.ATG" op = BinaryOperatorType.ShiftLeft; } else { lexer.NextToken(); -#line 1896 "VBNET.ATG" +#line 1898 "VBNET.ATG" op = BinaryOperatorType.ShiftRight; } ConcatenationExpr( -#line 1898 "VBNET.ATG" +#line 1900 "VBNET.ATG" out expr); -#line 1898 "VBNET.ATG" +#line 1900 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void ConcatenationExpr( -#line 1902 "VBNET.ATG" +#line 1904 "VBNET.ATG" out Expression outExpr) { -#line 1903 "VBNET.ATG" +#line 1905 "VBNET.ATG" Expression expr; AdditiveExpr( -#line 1905 "VBNET.ATG" +#line 1907 "VBNET.ATG" out outExpr); while (la.kind == 24) { lexer.NextToken(); AdditiveExpr( -#line 1905 "VBNET.ATG" +#line 1907 "VBNET.ATG" out expr); -#line 1905 "VBNET.ATG" +#line 1907 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, BinaryOperatorType.Concat, expr); } } void AdditiveExpr( -#line 1908 "VBNET.ATG" +#line 1910 "VBNET.ATG" out Expression outExpr) { -#line 1910 "VBNET.ATG" +#line 1912 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; ModuloExpr( -#line 1913 "VBNET.ATG" +#line 1915 "VBNET.ATG" out outExpr); - while (la.kind == 29 || la.kind == 30) { - if (la.kind == 30) { + while (la.kind == 31 || la.kind == 32) { + if (la.kind == 32) { lexer.NextToken(); -#line 1916 "VBNET.ATG" +#line 1918 "VBNET.ATG" op = BinaryOperatorType.Add; } else { lexer.NextToken(); -#line 1917 "VBNET.ATG" +#line 1919 "VBNET.ATG" op = BinaryOperatorType.Subtract; } ModuloExpr( -#line 1919 "VBNET.ATG" +#line 1921 "VBNET.ATG" out expr); -#line 1919 "VBNET.ATG" +#line 1921 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void ModuloExpr( -#line 1923 "VBNET.ATG" +#line 1925 "VBNET.ATG" out Expression outExpr) { -#line 1924 "VBNET.ATG" +#line 1926 "VBNET.ATG" Expression expr; IntegerDivisionExpr( -#line 1926 "VBNET.ATG" +#line 1928 "VBNET.ATG" out outExpr); - while (la.kind == 153) { + while (la.kind == 155) { lexer.NextToken(); IntegerDivisionExpr( -#line 1926 "VBNET.ATG" +#line 1928 "VBNET.ATG" out expr); -#line 1926 "VBNET.ATG" +#line 1928 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, BinaryOperatorType.Modulus, expr); } } void IntegerDivisionExpr( -#line 1929 "VBNET.ATG" +#line 1931 "VBNET.ATG" out Expression outExpr) { -#line 1930 "VBNET.ATG" +#line 1932 "VBNET.ATG" Expression expr; MultiplicativeExpr( -#line 1932 "VBNET.ATG" +#line 1934 "VBNET.ATG" out outExpr); while (la.kind == 26) { lexer.NextToken(); MultiplicativeExpr( -#line 1932 "VBNET.ATG" +#line 1934 "VBNET.ATG" out expr); -#line 1932 "VBNET.ATG" +#line 1934 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, BinaryOperatorType.DivideInteger, expr); } } void MultiplicativeExpr( -#line 1935 "VBNET.ATG" +#line 1937 "VBNET.ATG" out Expression outExpr) { -#line 1937 "VBNET.ATG" +#line 1939 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; UnaryExpr( -#line 1940 "VBNET.ATG" +#line 1942 "VBNET.ATG" out outExpr); - while (la.kind == 25 || la.kind == 33) { - if (la.kind == 33) { + while (la.kind == 25 || la.kind == 35) { + if (la.kind == 35) { lexer.NextToken(); -#line 1943 "VBNET.ATG" +#line 1945 "VBNET.ATG" op = BinaryOperatorType.Multiply; } else { lexer.NextToken(); -#line 1944 "VBNET.ATG" +#line 1946 "VBNET.ATG" op = BinaryOperatorType.Divide; } UnaryExpr( -#line 1946 "VBNET.ATG" +#line 1948 "VBNET.ATG" out expr); -#line 1946 "VBNET.ATG" +#line 1948 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void UnaryExpr( -#line 1950 "VBNET.ATG" +#line 1952 "VBNET.ATG" out Expression uExpr) { -#line 1952 "VBNET.ATG" +#line 1954 "VBNET.ATG" Expression expr; UnaryOperatorType uop = UnaryOperatorType.None; bool isUOp = false; - while (la.kind == 29 || la.kind == 30 || la.kind == 33) { - if (la.kind == 30) { + while (la.kind == 31 || la.kind == 32 || la.kind == 35) { + if (la.kind == 32) { lexer.NextToken(); -#line 1956 "VBNET.ATG" +#line 1958 "VBNET.ATG" uop = UnaryOperatorType.Plus; isUOp = true; - } else if (la.kind == 29) { + } else if (la.kind == 31) { lexer.NextToken(); -#line 1957 "VBNET.ATG" +#line 1959 "VBNET.ATG" uop = UnaryOperatorType.Minus; isUOp = true; } else { lexer.NextToken(); -#line 1958 "VBNET.ATG" +#line 1960 "VBNET.ATG" uop = UnaryOperatorType.Dereference; isUOp = true; } } ExponentiationExpr( -#line 1960 "VBNET.ATG" +#line 1962 "VBNET.ATG" out expr); -#line 1962 "VBNET.ATG" +#line 1964 "VBNET.ATG" if (isUOp) { uExpr = new UnaryOperatorExpression(expr, uop); } else { @@ -4815,107 +4819,107 @@ out expr); } void ExponentiationExpr( -#line 1970 "VBNET.ATG" +#line 1972 "VBNET.ATG" out Expression outExpr) { -#line 1971 "VBNET.ATG" +#line 1973 "VBNET.ATG" Expression expr; SimpleExpr( -#line 1973 "VBNET.ATG" +#line 1975 "VBNET.ATG" out outExpr); - while (la.kind == 31) { + while (la.kind == 33) { lexer.NextToken(); SimpleExpr( -#line 1973 "VBNET.ATG" +#line 1975 "VBNET.ATG" out expr); -#line 1973 "VBNET.ATG" +#line 1975 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, BinaryOperatorType.Power, expr); } } void NormalOrReDimArgumentList( -#line 2484 "VBNET.ATG" +#line 2486 "VBNET.ATG" out List arguments, out bool canBeNormal, out bool canBeRedim) { -#line 2486 "VBNET.ATG" +#line 2488 "VBNET.ATG" arguments = new List(); canBeNormal = true; canBeRedim = !IsNamedAssign(); Expression expr = null; if (StartOf(29)) { Argument( -#line 2491 "VBNET.ATG" +#line 2493 "VBNET.ATG" out expr); - if (la.kind == 214) { + if (la.kind == 216) { lexer.NextToken(); -#line 2492 "VBNET.ATG" +#line 2494 "VBNET.ATG" EnsureIsZero(expr); canBeNormal = false; Expr( -#line 2493 "VBNET.ATG" +#line 2495 "VBNET.ATG" out expr); } } while (la.kind == 23) { lexer.NextToken(); -#line 2496 "VBNET.ATG" +#line 2498 "VBNET.ATG" if (expr == null) canBeRedim = false; -#line 2497 "VBNET.ATG" +#line 2499 "VBNET.ATG" arguments.Add(expr ?? Expression.Null); expr = null; -#line 2498 "VBNET.ATG" +#line 2500 "VBNET.ATG" canBeRedim &= !IsNamedAssign(); if (StartOf(29)) { Argument( -#line 2499 "VBNET.ATG" +#line 2501 "VBNET.ATG" out expr); - if (la.kind == 214) { + if (la.kind == 216) { lexer.NextToken(); -#line 2500 "VBNET.ATG" +#line 2502 "VBNET.ATG" EnsureIsZero(expr); canBeNormal = false; Expr( -#line 2501 "VBNET.ATG" +#line 2503 "VBNET.ATG" out expr); } } -#line 2503 "VBNET.ATG" +#line 2505 "VBNET.ATG" if (expr == null) { canBeRedim = false; expr = Expression.Null; } } -#line 2505 "VBNET.ATG" +#line 2507 "VBNET.ATG" if (expr != null) arguments.Add(expr); else canBeRedim = false; } void ArrayTypeModifiers( -#line 2612 "VBNET.ATG" +#line 2614 "VBNET.ATG" out ArrayList arrayModifiers) { -#line 2614 "VBNET.ATG" +#line 2616 "VBNET.ATG" arrayModifiers = new ArrayList(); int i = 0; while ( -#line 2617 "VBNET.ATG" +#line 2619 "VBNET.ATG" IsDims()) { - Expect(36); - if (la.kind == 23 || la.kind == 37) { + Expect(38); + if (la.kind == 23 || la.kind == 39) { RankList( -#line 2619 "VBNET.ATG" +#line 2621 "VBNET.ATG" out i); } -#line 2621 "VBNET.ATG" +#line 2623 "VBNET.ATG" arrayModifiers.Add(i); - Expect(37); + Expect(39); } -#line 2626 "VBNET.ATG" +#line 2628 "VBNET.ATG" if(arrayModifiers.Count == 0) { arrayModifiers = null; } @@ -4923,26 +4927,32 @@ out i); } void MemberInitializer( -#line 2451 "VBNET.ATG" +#line 2453 "VBNET.ATG" out MemberInitializerExpression memberInitializer) { -#line 2453 "VBNET.ATG" +#line 2455 "VBNET.ATG" memberInitializer = new MemberInitializerExpression(); memberInitializer.StartLocation = la.Location; Expression initExpr = null; bool isKey = false; string name = null; + if (la.kind == 148) { + lexer.NextToken(); + +#line 2461 "VBNET.ATG" + isKey = true; + } Expect(27); IdentifierOrKeyword( -#line 2460 "VBNET.ATG" +#line 2462 "VBNET.ATG" out name); Expect(21); Expr( -#line 2460 "VBNET.ATG" +#line 2462 "VBNET.ATG" out initExpr); -#line 2462 "VBNET.ATG" +#line 2464 "VBNET.ATG" memberInitializer.Name = name; memberInitializer.Expression = initExpr; memberInitializer.IsKey = isKey; @@ -4951,42 +4961,42 @@ out initExpr); } void SubLambdaExpression( -#line 2056 "VBNET.ATG" +#line 2058 "VBNET.ATG" out LambdaExpression lambda) { -#line 2058 "VBNET.ATG" +#line 2060 "VBNET.ATG" lambda = new LambdaExpression(); lambda.ReturnType = new TypeReference("System.Void", true); Expression inner = null; Statement statement = null; lambda.StartLocation = la.Location; - Expect(208); - if (la.kind == 36) { + Expect(210); + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 2065 "VBNET.ATG" +#line 2067 "VBNET.ATG" lambda.Parameters); } - Expect(37); + Expect(39); } if (StartOf(34)) { if (StartOf(29)) { Expr( -#line 2068 "VBNET.ATG" +#line 2070 "VBNET.ATG" out inner); -#line 2070 "VBNET.ATG" +#line 2072 "VBNET.ATG" lambda.ExpressionBody = inner; lambda.EndLocation = t.EndLocation; // la.Location? } else { EmbeddedStatement( -#line 2074 "VBNET.ATG" +#line 2076 "VBNET.ATG" out statement); -#line 2076 "VBNET.ATG" +#line 2078 "VBNET.ATG" lambda.StatementBody = statement; lambda.EndLocation = t.EndLocation; @@ -4994,64 +5004,64 @@ out statement); } else if (la.kind == 1) { lexer.NextToken(); Block( -#line 2082 "VBNET.ATG" +#line 2084 "VBNET.ATG" out statement); - Expect(112); - Expect(208); + Expect(114); + Expect(210); -#line 2085 "VBNET.ATG" +#line 2087 "VBNET.ATG" lambda.StatementBody = statement; lambda.EndLocation = t.EndLocation; - } else SynErr(280); + } else SynErr(282); } void FunctionLambdaExpression( -#line 2091 "VBNET.ATG" +#line 2093 "VBNET.ATG" out LambdaExpression lambda) { -#line 2093 "VBNET.ATG" +#line 2095 "VBNET.ATG" lambda = new LambdaExpression(); TypeReference typeRef = null; Expression inner = null; Statement statement = null; lambda.StartLocation = la.Location; - Expect(126); - if (la.kind == 36) { + Expect(128); + if (la.kind == 38) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 2100 "VBNET.ATG" +#line 2102 "VBNET.ATG" lambda.Parameters); } - Expect(37); + Expect(39); } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 2101 "VBNET.ATG" +#line 2103 "VBNET.ATG" out typeRef); -#line 2101 "VBNET.ATG" +#line 2103 "VBNET.ATG" lambda.ReturnType = typeRef; } if (StartOf(34)) { if (StartOf(29)) { Expr( -#line 2104 "VBNET.ATG" +#line 2106 "VBNET.ATG" out inner); -#line 2106 "VBNET.ATG" +#line 2108 "VBNET.ATG" lambda.ExpressionBody = inner; lambda.EndLocation = t.EndLocation; // la.Location? } else { EmbeddedStatement( -#line 2110 "VBNET.ATG" +#line 2112 "VBNET.ATG" out statement); -#line 2112 "VBNET.ATG" +#line 2114 "VBNET.ATG" lambda.StatementBody = statement; lambda.EndLocation = t.EndLocation; @@ -5059,250 +5069,250 @@ out statement); } else if (la.kind == 1) { lexer.NextToken(); Block( -#line 2118 "VBNET.ATG" +#line 2120 "VBNET.ATG" out statement); - Expect(112); - Expect(126); + Expect(114); + Expect(128); -#line 2121 "VBNET.ATG" +#line 2123 "VBNET.ATG" lambda.StatementBody = statement; lambda.EndLocation = t.EndLocation; - } else SynErr(281); + } else SynErr(283); } void EmbeddedStatement( -#line 2883 "VBNET.ATG" +#line 2885 "VBNET.ATG" out Statement statement) { -#line 2885 "VBNET.ATG" +#line 2887 "VBNET.ATG" Statement embeddedStatement = null; statement = null; Expression expr = null; string name = String.Empty; List p = null; - if (la.kind == 119) { + if (la.kind == 121) { lexer.NextToken(); -#line 2891 "VBNET.ATG" +#line 2893 "VBNET.ATG" ExitType exitType = ExitType.None; switch (la.kind) { - case 208: { + case 210: { lexer.NextToken(); -#line 2893 "VBNET.ATG" +#line 2895 "VBNET.ATG" exitType = ExitType.Sub; break; } - case 126: { + case 128: { lexer.NextToken(); -#line 2895 "VBNET.ATG" +#line 2897 "VBNET.ATG" exitType = ExitType.Function; break; } - case 184: { + case 186: { lexer.NextToken(); -#line 2897 "VBNET.ATG" +#line 2899 "VBNET.ATG" exitType = ExitType.Property; break; } - case 107: { + case 109: { lexer.NextToken(); -#line 2899 "VBNET.ATG" +#line 2901 "VBNET.ATG" exitType = ExitType.Do; break; } - case 123: { + case 125: { lexer.NextToken(); -#line 2901 "VBNET.ATG" +#line 2903 "VBNET.ATG" exitType = ExitType.For; break; } - case 216: { + case 218: { lexer.NextToken(); -#line 2903 "VBNET.ATG" +#line 2905 "VBNET.ATG" exitType = ExitType.Try; break; } - case 229: { + case 231: { lexer.NextToken(); -#line 2905 "VBNET.ATG" +#line 2907 "VBNET.ATG" exitType = ExitType.While; break; } - case 195: { + case 197: { lexer.NextToken(); -#line 2907 "VBNET.ATG" +#line 2909 "VBNET.ATG" exitType = ExitType.Select; break; } - default: SynErr(282); break; + default: SynErr(284); break; } -#line 2909 "VBNET.ATG" +#line 2911 "VBNET.ATG" statement = new ExitStatement(exitType); - } else if (la.kind == 216) { + } else if (la.kind == 218) { TryStatement( -#line 2910 "VBNET.ATG" +#line 2912 "VBNET.ATG" out statement); - } else if (la.kind == 88) { + } else if (la.kind == 90) { lexer.NextToken(); -#line 2911 "VBNET.ATG" +#line 2913 "VBNET.ATG" ContinueType continueType = ContinueType.None; - if (la.kind == 107 || la.kind == 123 || la.kind == 229) { - if (la.kind == 107) { + if (la.kind == 109 || la.kind == 125 || la.kind == 231) { + if (la.kind == 109) { lexer.NextToken(); -#line 2911 "VBNET.ATG" +#line 2913 "VBNET.ATG" continueType = ContinueType.Do; - } else if (la.kind == 123) { + } else if (la.kind == 125) { lexer.NextToken(); -#line 2911 "VBNET.ATG" +#line 2913 "VBNET.ATG" continueType = ContinueType.For; } else { lexer.NextToken(); -#line 2911 "VBNET.ATG" +#line 2913 "VBNET.ATG" continueType = ContinueType.While; } } -#line 2911 "VBNET.ATG" +#line 2913 "VBNET.ATG" statement = new ContinueStatement(continueType); - } else if (la.kind == 213) { + } else if (la.kind == 215) { lexer.NextToken(); if (StartOf(29)) { Expr( -#line 2913 "VBNET.ATG" +#line 2915 "VBNET.ATG" out expr); } -#line 2913 "VBNET.ATG" +#line 2915 "VBNET.ATG" statement = new ThrowStatement(expr); - } else if (la.kind == 193) { + } else if (la.kind == 195) { lexer.NextToken(); if (StartOf(29)) { Expr( -#line 2915 "VBNET.ATG" +#line 2917 "VBNET.ATG" out expr); } -#line 2915 "VBNET.ATG" +#line 2917 "VBNET.ATG" statement = new ReturnStatement(expr); - } else if (la.kind == 209) { + } else if (la.kind == 211) { lexer.NextToken(); Expr( -#line 2917 "VBNET.ATG" +#line 2919 "VBNET.ATG" out expr); EndOfStmt(); Block( -#line 2917 "VBNET.ATG" +#line 2919 "VBNET.ATG" out embeddedStatement); - Expect(112); - Expect(209); + Expect(114); + Expect(211); -#line 2918 "VBNET.ATG" +#line 2920 "VBNET.ATG" statement = new LockStatement(expr, embeddedStatement); - } else if (la.kind == 187) { + } else if (la.kind == 189) { lexer.NextToken(); Identifier(); -#line 2920 "VBNET.ATG" +#line 2922 "VBNET.ATG" name = t.val; - if (la.kind == 36) { + if (la.kind == 38) { lexer.NextToken(); if (StartOf(35)) { ArgumentList( -#line 2921 "VBNET.ATG" +#line 2923 "VBNET.ATG" out p); } - Expect(37); + Expect(39); } -#line 2923 "VBNET.ATG" +#line 2925 "VBNET.ATG" statement = new RaiseEventStatement(name, p); - } else if (la.kind == 231) { + } else if (la.kind == 233) { WithStatement( -#line 2926 "VBNET.ATG" +#line 2928 "VBNET.ATG" out statement); - } else if (la.kind == 55) { + } else if (la.kind == 57) { lexer.NextToken(); -#line 2928 "VBNET.ATG" +#line 2930 "VBNET.ATG" Expression handlerExpr = null; Expr( -#line 2929 "VBNET.ATG" +#line 2931 "VBNET.ATG" out expr); Expect(23); Expr( -#line 2929 "VBNET.ATG" +#line 2931 "VBNET.ATG" out handlerExpr); -#line 2931 "VBNET.ATG" +#line 2933 "VBNET.ATG" statement = new AddHandlerStatement(expr, handlerExpr); - } else if (la.kind == 191) { + } else if (la.kind == 193) { lexer.NextToken(); -#line 2934 "VBNET.ATG" +#line 2936 "VBNET.ATG" Expression handlerExpr = null; Expr( -#line 2935 "VBNET.ATG" +#line 2937 "VBNET.ATG" out expr); Expect(23); Expr( -#line 2935 "VBNET.ATG" +#line 2937 "VBNET.ATG" out handlerExpr); -#line 2937 "VBNET.ATG" +#line 2939 "VBNET.ATG" statement = new RemoveHandlerStatement(expr, handlerExpr); - } else if (la.kind == 229) { + } else if (la.kind == 231) { lexer.NextToken(); Expr( -#line 2940 "VBNET.ATG" +#line 2942 "VBNET.ATG" out expr); EndOfStmt(); Block( -#line 2941 "VBNET.ATG" +#line 2943 "VBNET.ATG" out embeddedStatement); - Expect(112); - Expect(229); + Expect(114); + Expect(231); -#line 2943 "VBNET.ATG" +#line 2945 "VBNET.ATG" statement = new DoLoopStatement(expr, embeddedStatement, ConditionType.While, ConditionPosition.Start); - } else if (la.kind == 107) { + } else if (la.kind == 109) { lexer.NextToken(); -#line 2948 "VBNET.ATG" +#line 2950 "VBNET.ATG" ConditionType conditionType = ConditionType.None; - if (la.kind == 222 || la.kind == 229) { + if (la.kind == 224 || la.kind == 231) { WhileOrUntil( -#line 2951 "VBNET.ATG" +#line 2953 "VBNET.ATG" out conditionType); Expr( -#line 2951 "VBNET.ATG" +#line 2953 "VBNET.ATG" out expr); EndOfStmt(); Block( -#line 2952 "VBNET.ATG" +#line 2954 "VBNET.ATG" out embeddedStatement); - Expect(151); + Expect(153); -#line 2955 "VBNET.ATG" +#line 2957 "VBNET.ATG" statement = new DoLoopStatement(expr, embeddedStatement, conditionType == ConditionType.While ? ConditionType.DoWhile : conditionType, @@ -5311,52 +5321,52 @@ out embeddedStatement); } else if (la.kind == 1 || la.kind == 22) { EndOfStmt(); Block( -#line 2962 "VBNET.ATG" +#line 2964 "VBNET.ATG" out embeddedStatement); - Expect(151); - if (la.kind == 222 || la.kind == 229) { + Expect(153); + if (la.kind == 224 || la.kind == 231) { WhileOrUntil( -#line 2963 "VBNET.ATG" +#line 2965 "VBNET.ATG" out conditionType); Expr( -#line 2963 "VBNET.ATG" +#line 2965 "VBNET.ATG" out expr); } -#line 2965 "VBNET.ATG" +#line 2967 "VBNET.ATG" statement = new DoLoopStatement(expr, embeddedStatement, conditionType, ConditionPosition.End); - } else SynErr(283); - } else if (la.kind == 123) { + } else SynErr(285); + } else if (la.kind == 125) { lexer.NextToken(); -#line 2970 "VBNET.ATG" +#line 2972 "VBNET.ATG" Expression group = null; TypeReference typeReference; string typeName; Location startLocation = t.Location; - if (la.kind == 109) { + if (la.kind == 111) { lexer.NextToken(); LoopControlVariable( -#line 2977 "VBNET.ATG" +#line 2979 "VBNET.ATG" out typeReference, out typeName); - Expect(137); + Expect(139); Expr( -#line 2978 "VBNET.ATG" +#line 2980 "VBNET.ATG" out group); EndOfStmt(); Block( -#line 2979 "VBNET.ATG" +#line 2981 "VBNET.ATG" out embeddedStatement); - Expect(162); + Expect(164); if (StartOf(29)) { Expr( -#line 2980 "VBNET.ATG" +#line 2982 "VBNET.ATG" out expr); } -#line 2982 "VBNET.ATG" +#line 2984 "VBNET.ATG" statement = new ForeachStatement(typeReference, typeName, group, @@ -5368,7 +5378,7 @@ out expr); } else if (StartOf(36)) { -#line 2993 "VBNET.ATG" +#line 2995 "VBNET.ATG" Expression start = null; Expression end = null; Expression step = null; @@ -5377,59 +5387,59 @@ out expr); List nextExpressions = null; if ( -#line 3000 "VBNET.ATG" +#line 3002 "VBNET.ATG" IsLoopVariableDeclaration()) { LoopControlVariable( -#line 3001 "VBNET.ATG" +#line 3003 "VBNET.ATG" out typeReference, out typeName); } else { -#line 3003 "VBNET.ATG" +#line 3005 "VBNET.ATG" typeReference = null; typeName = null; SimpleExpr( -#line 3004 "VBNET.ATG" +#line 3006 "VBNET.ATG" out variableExpr); } Expect(21); Expr( -#line 3006 "VBNET.ATG" +#line 3008 "VBNET.ATG" out start); - Expect(214); + Expect(216); Expr( -#line 3006 "VBNET.ATG" +#line 3008 "VBNET.ATG" out end); - if (la.kind == 203) { + if (la.kind == 205) { lexer.NextToken(); Expr( -#line 3006 "VBNET.ATG" +#line 3008 "VBNET.ATG" out step); } EndOfStmt(); Block( -#line 3007 "VBNET.ATG" +#line 3009 "VBNET.ATG" out embeddedStatement); - Expect(162); + Expect(164); if (StartOf(29)) { Expr( -#line 3010 "VBNET.ATG" +#line 3012 "VBNET.ATG" out nextExpr); -#line 3012 "VBNET.ATG" +#line 3014 "VBNET.ATG" nextExpressions = new List(); nextExpressions.Add(nextExpr); while (la.kind == 23) { lexer.NextToken(); Expr( -#line 3015 "VBNET.ATG" +#line 3017 "VBNET.ATG" out nextExpr); -#line 3015 "VBNET.ATG" +#line 3017 "VBNET.ATG" nextExpressions.Add(nextExpr); } } -#line 3018 "VBNET.ATG" +#line 3020 "VBNET.ATG" statement = new ForNextStatement { TypeReference = typeReference, VariableName = typeName, @@ -5441,31 +5451,31 @@ out nextExpr); NextExpressions = nextExpressions }; - } else SynErr(284); - } else if (la.kind == 117) { + } else SynErr(286); + } else if (la.kind == 119) { lexer.NextToken(); Expr( -#line 3031 "VBNET.ATG" +#line 3033 "VBNET.ATG" out expr); -#line 3031 "VBNET.ATG" +#line 3033 "VBNET.ATG" statement = new ErrorStatement(expr); - } else if (la.kind == 189) { + } else if (la.kind == 191) { lexer.NextToken(); -#line 3033 "VBNET.ATG" +#line 3035 "VBNET.ATG" bool isPreserve = false; - if (la.kind == 182) { + if (la.kind == 184) { lexer.NextToken(); -#line 3033 "VBNET.ATG" +#line 3035 "VBNET.ATG" isPreserve = true; } ReDimClause( -#line 3034 "VBNET.ATG" +#line 3036 "VBNET.ATG" out expr); -#line 3036 "VBNET.ATG" +#line 3038 "VBNET.ATG" ReDimStatement reDimStatement = new ReDimStatement(isPreserve); statement = reDimStatement; SafeAdd(reDimStatement, reDimStatement.ReDimClauses, expr as InvocationExpression); @@ -5473,95 +5483,95 @@ out expr); while (la.kind == 23) { lexer.NextToken(); ReDimClause( -#line 3040 "VBNET.ATG" +#line 3042 "VBNET.ATG" out expr); -#line 3041 "VBNET.ATG" +#line 3043 "VBNET.ATG" SafeAdd(reDimStatement, reDimStatement.ReDimClauses, expr as InvocationExpression); } - } else if (la.kind == 116) { + } else if (la.kind == 118) { lexer.NextToken(); Expr( -#line 3045 "VBNET.ATG" +#line 3047 "VBNET.ATG" out expr); -#line 3047 "VBNET.ATG" +#line 3049 "VBNET.ATG" EraseStatement eraseStatement = new EraseStatement(); if (expr != null) { SafeAdd(eraseStatement, eraseStatement.Expressions, expr);} while (la.kind == 23) { lexer.NextToken(); Expr( -#line 3050 "VBNET.ATG" +#line 3052 "VBNET.ATG" out expr); -#line 3050 "VBNET.ATG" +#line 3052 "VBNET.ATG" if (expr != null) { SafeAdd(eraseStatement, eraseStatement.Expressions, expr); } } -#line 3051 "VBNET.ATG" +#line 3053 "VBNET.ATG" statement = eraseStatement; - } else if (la.kind == 204) { + } else if (la.kind == 206) { lexer.NextToken(); -#line 3053 "VBNET.ATG" +#line 3055 "VBNET.ATG" statement = new StopStatement(); } else if ( -#line 3055 "VBNET.ATG" +#line 3057 "VBNET.ATG" la.kind == Tokens.If) { - Expect(134); + Expect(136); -#line 3056 "VBNET.ATG" +#line 3058 "VBNET.ATG" Location ifStartLocation = t.Location; Expr( -#line 3056 "VBNET.ATG" +#line 3058 "VBNET.ATG" out expr); - if (la.kind == 212) { + if (la.kind == 214) { lexer.NextToken(); } if (la.kind == 1 || la.kind == 22) { EndOfStmt(); Block( -#line 3059 "VBNET.ATG" +#line 3061 "VBNET.ATG" out embeddedStatement); -#line 3061 "VBNET.ATG" +#line 3063 "VBNET.ATG" IfElseStatement ifStatement = new IfElseStatement(expr, embeddedStatement); ifStatement.StartLocation = ifStartLocation; Location elseIfStart; - while (la.kind == 111 || -#line 3067 "VBNET.ATG" + while (la.kind == 113 || +#line 3069 "VBNET.ATG" IsElseIf()) { if ( -#line 3067 "VBNET.ATG" +#line 3069 "VBNET.ATG" IsElseIf()) { - Expect(110); + Expect(112); -#line 3067 "VBNET.ATG" +#line 3069 "VBNET.ATG" elseIfStart = t.Location; - Expect(134); + Expect(136); } else { lexer.NextToken(); -#line 3068 "VBNET.ATG" +#line 3070 "VBNET.ATG" elseIfStart = t.Location; } -#line 3070 "VBNET.ATG" +#line 3072 "VBNET.ATG" Expression condition = null; Statement block = null; Expr( -#line 3071 "VBNET.ATG" +#line 3073 "VBNET.ATG" out condition); - if (la.kind == 212) { + if (la.kind == 214) { lexer.NextToken(); } EndOfStmt(); Block( -#line 3072 "VBNET.ATG" +#line 3074 "VBNET.ATG" out block); -#line 3074 "VBNET.ATG" +#line 3076 "VBNET.ATG" ElseIfSection elseIfSection = new ElseIfSection(condition, block); elseIfSection.StartLocation = elseIfStart; elseIfSection.EndLocation = t.Location; @@ -5569,129 +5579,129 @@ out block); ifStatement.ElseIfSections.Add(elseIfSection); } - if (la.kind == 110) { + if (la.kind == 112) { lexer.NextToken(); if (la.kind == 1 || la.kind == 22) { EndOfStmt(); } Block( -#line 3083 "VBNET.ATG" +#line 3085 "VBNET.ATG" out embeddedStatement); -#line 3085 "VBNET.ATG" +#line 3087 "VBNET.ATG" ifStatement.FalseStatement.Add(embeddedStatement); } - Expect(112); - Expect(134); + Expect(114); + Expect(136); -#line 3089 "VBNET.ATG" +#line 3091 "VBNET.ATG" ifStatement.EndLocation = t.Location; statement = ifStatement; } else if (StartOf(37)) { -#line 3094 "VBNET.ATG" +#line 3096 "VBNET.ATG" IfElseStatement ifStatement = new IfElseStatement(expr); ifStatement.StartLocation = ifStartLocation; SingleLineStatementList( -#line 3097 "VBNET.ATG" +#line 3099 "VBNET.ATG" ifStatement.TrueStatement); - if (la.kind == 110) { + if (la.kind == 112) { lexer.NextToken(); if (StartOf(37)) { SingleLineStatementList( -#line 3100 "VBNET.ATG" +#line 3102 "VBNET.ATG" ifStatement.FalseStatement); } } -#line 3102 "VBNET.ATG" +#line 3104 "VBNET.ATG" ifStatement.EndLocation = t.Location; statement = ifStatement; - } else SynErr(285); - } else if (la.kind == 195) { + } else SynErr(287); + } else if (la.kind == 197) { lexer.NextToken(); - if (la.kind == 73) { + if (la.kind == 75) { lexer.NextToken(); } Expr( -#line 3105 "VBNET.ATG" +#line 3107 "VBNET.ATG" out expr); EndOfStmt(); -#line 3106 "VBNET.ATG" +#line 3108 "VBNET.ATG" List selectSections = new List(); Statement block = null; - while (la.kind == 73) { + while (la.kind == 75) { -#line 3110 "VBNET.ATG" +#line 3112 "VBNET.ATG" List caseClauses = null; Location caseLocation = la.Location; lexer.NextToken(); CaseClauses( -#line 3111 "VBNET.ATG" +#line 3113 "VBNET.ATG" out caseClauses); if ( -#line 3111 "VBNET.ATG" +#line 3113 "VBNET.ATG" IsNotStatementSeparator()) { lexer.NextToken(); } EndOfStmt(); -#line 3113 "VBNET.ATG" +#line 3115 "VBNET.ATG" SwitchSection selectSection = new SwitchSection(caseClauses); selectSection.StartLocation = caseLocation; Block( -#line 3116 "VBNET.ATG" +#line 3118 "VBNET.ATG" out block); -#line 3118 "VBNET.ATG" +#line 3120 "VBNET.ATG" selectSection.Children = block.Children; selectSection.EndLocation = t.EndLocation; selectSections.Add(selectSection); } -#line 3124 "VBNET.ATG" +#line 3126 "VBNET.ATG" statement = new SwitchStatement(expr, selectSections); - Expect(112); - Expect(195); - } else if (la.kind == 170) { + Expect(114); + Expect(197); + } else if (la.kind == 172) { -#line 3127 "VBNET.ATG" +#line 3129 "VBNET.ATG" OnErrorStatement onErrorStatement = null; OnErrorStatement( -#line 3128 "VBNET.ATG" +#line 3130 "VBNET.ATG" out onErrorStatement); -#line 3128 "VBNET.ATG" +#line 3130 "VBNET.ATG" statement = onErrorStatement; - } else if (la.kind == 131) { + } else if (la.kind == 133) { -#line 3129 "VBNET.ATG" +#line 3131 "VBNET.ATG" GotoStatement goToStatement = null; GotoStatement( -#line 3130 "VBNET.ATG" +#line 3132 "VBNET.ATG" out goToStatement); -#line 3130 "VBNET.ATG" +#line 3132 "VBNET.ATG" statement = goToStatement; - } else if (la.kind == 192) { + } else if (la.kind == 194) { -#line 3131 "VBNET.ATG" +#line 3133 "VBNET.ATG" ResumeStatement resumeStatement = null; ResumeStatement( -#line 3132 "VBNET.ATG" +#line 3134 "VBNET.ATG" out resumeStatement); -#line 3132 "VBNET.ATG" +#line 3134 "VBNET.ATG" statement = resumeStatement; } else if (StartOf(36)) { -#line 3135 "VBNET.ATG" +#line 3137 "VBNET.ATG" Expression val = null; AssignmentOperatorType op; @@ -5699,25 +5709,25 @@ out resumeStatement); la.kind == Tokens.Not || la.kind == Tokens.Times; SimpleExpr( -#line 3141 "VBNET.ATG" +#line 3143 "VBNET.ATG" out expr); if (StartOf(38)) { AssignmentOperator( -#line 3143 "VBNET.ATG" +#line 3145 "VBNET.ATG" out op); Expr( -#line 3143 "VBNET.ATG" +#line 3145 "VBNET.ATG" out val); -#line 3143 "VBNET.ATG" +#line 3145 "VBNET.ATG" expr = new AssignmentExpression(expr, op, val); } else if (StartOf(39)) { -#line 3144 "VBNET.ATG" +#line 3146 "VBNET.ATG" if (mustBeAssignment) Error("error in assignment."); - } else SynErr(286); + } else SynErr(288); -#line 3147 "VBNET.ATG" +#line 3149 "VBNET.ATG" // a field reference expression that stands alone is a // invocation expression without parantheses and arguments if(expr is MemberReferenceExpression || expr is IdentifierExpression) { @@ -5725,91 +5735,91 @@ out val); } statement = new ExpressionStatement(expr); - } else if (la.kind == 72) { + } else if (la.kind == 74) { lexer.NextToken(); SimpleExpr( -#line 3154 "VBNET.ATG" +#line 3156 "VBNET.ATG" out expr); -#line 3154 "VBNET.ATG" +#line 3156 "VBNET.ATG" statement = new ExpressionStatement(expr); - } else if (la.kind == 224) { + } else if (la.kind == 226) { lexer.NextToken(); -#line 3156 "VBNET.ATG" +#line 3158 "VBNET.ATG" Statement block; if ( -#line 3157 "VBNET.ATG" +#line 3159 "VBNET.ATG" Peek(1).kind == Tokens.As) { -#line 3158 "VBNET.ATG" +#line 3160 "VBNET.ATG" LocalVariableDeclaration resourceAquisition = new LocalVariableDeclaration(Modifiers.None); VariableDeclarator( -#line 3159 "VBNET.ATG" +#line 3161 "VBNET.ATG" resourceAquisition.Variables); while (la.kind == 23) { lexer.NextToken(); VariableDeclarator( -#line 3161 "VBNET.ATG" +#line 3163 "VBNET.ATG" resourceAquisition.Variables); } Block( -#line 3163 "VBNET.ATG" +#line 3165 "VBNET.ATG" out block); -#line 3165 "VBNET.ATG" +#line 3167 "VBNET.ATG" statement = new UsingStatement(resourceAquisition, block); } else if (StartOf(29)) { Expr( -#line 3167 "VBNET.ATG" +#line 3169 "VBNET.ATG" out expr); Block( -#line 3168 "VBNET.ATG" +#line 3170 "VBNET.ATG" out block); -#line 3169 "VBNET.ATG" +#line 3171 "VBNET.ATG" statement = new UsingStatement(new ExpressionStatement(expr), block); - } else SynErr(287); - Expect(112); - Expect(224); + } else SynErr(289); + Expect(114); + Expect(226); } else if (StartOf(40)) { LocalDeclarationStatement( -#line 3172 "VBNET.ATG" +#line 3174 "VBNET.ATG" out statement); - } else SynErr(288); + } else SynErr(290); } void FromOrAggregateQueryOperator( -#line 2140 "VBNET.ATG" +#line 2142 "VBNET.ATG" List middleClauses) { -#line 2142 "VBNET.ATG" +#line 2144 "VBNET.ATG" QueryExpressionFromClause fromClause = null; QueryExpressionAggregateClause aggregateClause = null; - if (la.kind == 125) { + if (la.kind == 127) { FromQueryOperator( -#line 2145 "VBNET.ATG" +#line 2147 "VBNET.ATG" out fromClause); -#line 2146 "VBNET.ATG" +#line 2148 "VBNET.ATG" middleClauses.Add(fromClause); - } else if (la.kind == 57) { + } else if (la.kind == 59) { AggregateQueryOperator( -#line 2147 "VBNET.ATG" +#line 2149 "VBNET.ATG" out aggregateClause); -#line 2148 "VBNET.ATG" +#line 2150 "VBNET.ATG" middleClauses.Add(aggregateClause); - } else SynErr(289); + } else SynErr(291); } void QueryOperator( -#line 2151 "VBNET.ATG" +#line 2153 "VBNET.ATG" List middleClauses) { -#line 2153 "VBNET.ATG" +#line 2155 "VBNET.ATG" QueryExpressionJoinVBClause joinClause = null; QueryExpressionGroupVBClause groupByClause = null; QueryExpressionPartitionVBClause partitionClause = null; @@ -5817,174 +5827,174 @@ List middleClauses) { QueryExpressionFromClause fromClause = null; QueryExpressionAggregateClause aggregateClause = null; - if (la.kind == 125) { + if (la.kind == 127) { FromQueryOperator( -#line 2160 "VBNET.ATG" +#line 2162 "VBNET.ATG" out fromClause); -#line 2161 "VBNET.ATG" +#line 2163 "VBNET.ATG" middleClauses.Add(fromClause); - } else if (la.kind == 57) { + } else if (la.kind == 59) { AggregateQueryOperator( -#line 2162 "VBNET.ATG" +#line 2164 "VBNET.ATG" out aggregateClause); -#line 2163 "VBNET.ATG" +#line 2165 "VBNET.ATG" middleClauses.Add(aggregateClause); - } else if (la.kind == 195) { + } else if (la.kind == 197) { SelectQueryOperator( -#line 2164 "VBNET.ATG" +#line 2166 "VBNET.ATG" middleClauses); - } else if (la.kind == 106) { + } else if (la.kind == 108) { DistinctQueryOperator( -#line 2165 "VBNET.ATG" +#line 2167 "VBNET.ATG" middleClauses); - } else if (la.kind == 228) { + } else if (la.kind == 230) { WhereQueryOperator( -#line 2166 "VBNET.ATG" +#line 2168 "VBNET.ATG" middleClauses); - } else if (la.kind == 175) { + } else if (la.kind == 177) { OrderByQueryOperator( -#line 2167 "VBNET.ATG" +#line 2169 "VBNET.ATG" middleClauses); - } else if (la.kind == 201 || la.kind == 210) { + } else if (la.kind == 203 || la.kind == 212) { PartitionQueryOperator( -#line 2168 "VBNET.ATG" +#line 2170 "VBNET.ATG" out partitionClause); -#line 2169 "VBNET.ATG" +#line 2171 "VBNET.ATG" middleClauses.Add(partitionClause); - } else if (la.kind == 147) { + } else if (la.kind == 149) { LetQueryOperator( -#line 2170 "VBNET.ATG" +#line 2172 "VBNET.ATG" middleClauses); - } else if (la.kind == 145) { + } else if (la.kind == 147) { JoinQueryOperator( -#line 2171 "VBNET.ATG" +#line 2173 "VBNET.ATG" out joinClause); -#line 2172 "VBNET.ATG" +#line 2174 "VBNET.ATG" middleClauses.Add(joinClause); } else if ( -#line 2173 "VBNET.ATG" +#line 2175 "VBNET.ATG" la.kind == Tokens.Group && Peek(1).kind == Tokens.Join) { GroupJoinQueryOperator( -#line 2173 "VBNET.ATG" +#line 2175 "VBNET.ATG" out groupJoinClause); -#line 2174 "VBNET.ATG" +#line 2176 "VBNET.ATG" middleClauses.Add(groupJoinClause); - } else if (la.kind == 132) { + } else if (la.kind == 134) { GroupByQueryOperator( -#line 2175 "VBNET.ATG" +#line 2177 "VBNET.ATG" out groupByClause); -#line 2176 "VBNET.ATG" +#line 2178 "VBNET.ATG" middleClauses.Add(groupByClause); - } else SynErr(290); + } else SynErr(292); } void FromQueryOperator( -#line 2251 "VBNET.ATG" +#line 2253 "VBNET.ATG" out QueryExpressionFromClause fromClause) { -#line 2253 "VBNET.ATG" +#line 2255 "VBNET.ATG" fromClause = new QueryExpressionFromClause(); fromClause.StartLocation = la.Location; - Expect(125); + Expect(127); CollectionRangeVariableDeclarationList( -#line 2256 "VBNET.ATG" +#line 2258 "VBNET.ATG" fromClause.Sources); -#line 2258 "VBNET.ATG" +#line 2260 "VBNET.ATG" fromClause.EndLocation = t.EndLocation; } void AggregateQueryOperator( -#line 2320 "VBNET.ATG" +#line 2322 "VBNET.ATG" out QueryExpressionAggregateClause aggregateClause) { -#line 2322 "VBNET.ATG" +#line 2324 "VBNET.ATG" aggregateClause = new QueryExpressionAggregateClause(); aggregateClause.IntoVariables = new List(); aggregateClause.StartLocation = la.Location; CollectionRangeVariable source; - Expect(57); + Expect(59); CollectionRangeVariableDeclaration( -#line 2327 "VBNET.ATG" +#line 2329 "VBNET.ATG" out source); -#line 2329 "VBNET.ATG" +#line 2331 "VBNET.ATG" aggregateClause.Source = source; while (StartOf(30)) { QueryOperator( -#line 2332 "VBNET.ATG" +#line 2334 "VBNET.ATG" aggregateClause.MiddleClauses); } - Expect(142); + Expect(144); ExpressionRangeVariableDeclarationList( -#line 2334 "VBNET.ATG" +#line 2336 "VBNET.ATG" aggregateClause.IntoVariables); -#line 2336 "VBNET.ATG" +#line 2338 "VBNET.ATG" aggregateClause.EndLocation = t.EndLocation; } void SelectQueryOperator( -#line 2262 "VBNET.ATG" +#line 2264 "VBNET.ATG" List middleClauses) { -#line 2264 "VBNET.ATG" +#line 2266 "VBNET.ATG" QueryExpressionSelectVBClause selectClause = new QueryExpressionSelectVBClause(); selectClause.StartLocation = la.Location; - Expect(195); + Expect(197); ExpressionRangeVariableDeclarationList( -#line 2267 "VBNET.ATG" +#line 2269 "VBNET.ATG" selectClause.Variables); -#line 2269 "VBNET.ATG" +#line 2271 "VBNET.ATG" selectClause.EndLocation = t.Location; middleClauses.Add(selectClause); } void DistinctQueryOperator( -#line 2274 "VBNET.ATG" +#line 2276 "VBNET.ATG" List middleClauses) { -#line 2276 "VBNET.ATG" +#line 2278 "VBNET.ATG" QueryExpressionDistinctClause distinctClause = new QueryExpressionDistinctClause(); distinctClause.StartLocation = la.Location; - Expect(106); + Expect(108); -#line 2281 "VBNET.ATG" +#line 2283 "VBNET.ATG" distinctClause.EndLocation = t.EndLocation; middleClauses.Add(distinctClause); } void WhereQueryOperator( -#line 2286 "VBNET.ATG" +#line 2288 "VBNET.ATG" List middleClauses) { -#line 2288 "VBNET.ATG" +#line 2290 "VBNET.ATG" QueryExpressionWhereClause whereClause = new QueryExpressionWhereClause(); whereClause.StartLocation = la.Location; Expression operand = null; - Expect(228); + Expect(230); Expr( -#line 2292 "VBNET.ATG" +#line 2294 "VBNET.ATG" out operand); -#line 2294 "VBNET.ATG" +#line 2296 "VBNET.ATG" whereClause.Condition = operand; whereClause.EndLocation = t.EndLocation; @@ -5993,21 +6003,21 @@ out operand); } void OrderByQueryOperator( -#line 2179 "VBNET.ATG" +#line 2181 "VBNET.ATG" List middleClauses) { -#line 2181 "VBNET.ATG" +#line 2183 "VBNET.ATG" QueryExpressionOrderClause orderClause = new QueryExpressionOrderClause(); orderClause.StartLocation = la.Location; List orderings = null; - Expect(175); - Expect(69); + Expect(177); + Expect(71); OrderExpressionList( -#line 2185 "VBNET.ATG" +#line 2187 "VBNET.ATG" out orderings); -#line 2187 "VBNET.ATG" +#line 2189 "VBNET.ATG" orderClause.Orderings = orderings; orderClause.EndLocation = t.EndLocation; middleClauses.Add(orderClause); @@ -6015,71 +6025,71 @@ out orderings); } void PartitionQueryOperator( -#line 2301 "VBNET.ATG" +#line 2303 "VBNET.ATG" out QueryExpressionPartitionVBClause partitionClause) { -#line 2303 "VBNET.ATG" +#line 2305 "VBNET.ATG" partitionClause = new QueryExpressionPartitionVBClause(); partitionClause.StartLocation = la.Location; Expression expr = null; - if (la.kind == 210) { + if (la.kind == 212) { lexer.NextToken(); -#line 2308 "VBNET.ATG" +#line 2310 "VBNET.ATG" partitionClause.PartitionType = QueryExpressionPartitionType.Take; - if (la.kind == 229) { + if (la.kind == 231) { lexer.NextToken(); -#line 2309 "VBNET.ATG" +#line 2311 "VBNET.ATG" partitionClause.PartitionType = QueryExpressionPartitionType.TakeWhile; } - } else if (la.kind == 201) { + } else if (la.kind == 203) { lexer.NextToken(); -#line 2310 "VBNET.ATG" +#line 2312 "VBNET.ATG" partitionClause.PartitionType = QueryExpressionPartitionType.Skip; - if (la.kind == 229) { + if (la.kind == 231) { lexer.NextToken(); -#line 2311 "VBNET.ATG" +#line 2313 "VBNET.ATG" partitionClause.PartitionType = QueryExpressionPartitionType.SkipWhile; } - } else SynErr(291); + } else SynErr(293); Expr( -#line 2313 "VBNET.ATG" +#line 2315 "VBNET.ATG" out expr); -#line 2315 "VBNET.ATG" +#line 2317 "VBNET.ATG" partitionClause.Expression = expr; partitionClause.EndLocation = t.EndLocation; } void LetQueryOperator( -#line 2340 "VBNET.ATG" +#line 2342 "VBNET.ATG" List middleClauses) { -#line 2342 "VBNET.ATG" +#line 2344 "VBNET.ATG" QueryExpressionLetVBClause letClause = new QueryExpressionLetVBClause(); letClause.StartLocation = la.Location; - Expect(147); + Expect(149); ExpressionRangeVariableDeclarationList( -#line 2345 "VBNET.ATG" +#line 2347 "VBNET.ATG" letClause.Variables); -#line 2347 "VBNET.ATG" +#line 2349 "VBNET.ATG" letClause.EndLocation = t.EndLocation; middleClauses.Add(letClause); } void JoinQueryOperator( -#line 2384 "VBNET.ATG" +#line 2386 "VBNET.ATG" out QueryExpressionJoinVBClause joinClause) { -#line 2386 "VBNET.ATG" +#line 2388 "VBNET.ATG" joinClause = new QueryExpressionJoinVBClause(); joinClause.StartLocation = la.Location; CollectionRangeVariable joinVariable = null; @@ -6087,205 +6097,205 @@ out QueryExpressionJoinVBClause joinClause) { QueryExpressionJoinConditionVB condition = null; - Expect(145); + Expect(147); CollectionRangeVariableDeclaration( -#line 2393 "VBNET.ATG" +#line 2395 "VBNET.ATG" out joinVariable); -#line 2394 "VBNET.ATG" +#line 2396 "VBNET.ATG" joinClause.JoinVariable = joinVariable; - if (la.kind == 145) { + if (la.kind == 147) { JoinQueryOperator( -#line 2396 "VBNET.ATG" +#line 2398 "VBNET.ATG" out subJoin); -#line 2397 "VBNET.ATG" +#line 2399 "VBNET.ATG" joinClause.SubJoin = subJoin; } - Expect(170); + Expect(172); JoinCondition( -#line 2400 "VBNET.ATG" +#line 2402 "VBNET.ATG" out condition); -#line 2401 "VBNET.ATG" +#line 2403 "VBNET.ATG" SafeAdd(joinClause, joinClause.Conditions, condition); - while (la.kind == 59) { + while (la.kind == 61) { lexer.NextToken(); JoinCondition( -#line 2403 "VBNET.ATG" +#line 2405 "VBNET.ATG" out condition); -#line 2404 "VBNET.ATG" +#line 2406 "VBNET.ATG" SafeAdd(joinClause, joinClause.Conditions, condition); } -#line 2407 "VBNET.ATG" +#line 2409 "VBNET.ATG" joinClause.EndLocation = t.EndLocation; } void GroupJoinQueryOperator( -#line 2237 "VBNET.ATG" +#line 2239 "VBNET.ATG" out QueryExpressionGroupJoinVBClause groupJoinClause) { -#line 2239 "VBNET.ATG" +#line 2241 "VBNET.ATG" groupJoinClause = new QueryExpressionGroupJoinVBClause(); groupJoinClause.StartLocation = la.Location; QueryExpressionJoinVBClause joinClause = null; - Expect(132); + Expect(134); JoinQueryOperator( -#line 2243 "VBNET.ATG" +#line 2245 "VBNET.ATG" out joinClause); - Expect(142); + Expect(144); ExpressionRangeVariableDeclarationList( -#line 2244 "VBNET.ATG" +#line 2246 "VBNET.ATG" groupJoinClause.IntoVariables); -#line 2246 "VBNET.ATG" +#line 2248 "VBNET.ATG" groupJoinClause.JoinClause = joinClause; groupJoinClause.EndLocation = t.EndLocation; } void GroupByQueryOperator( -#line 2224 "VBNET.ATG" +#line 2226 "VBNET.ATG" out QueryExpressionGroupVBClause groupByClause) { -#line 2226 "VBNET.ATG" +#line 2228 "VBNET.ATG" groupByClause = new QueryExpressionGroupVBClause(); groupByClause.StartLocation = la.Location; - Expect(132); + Expect(134); ExpressionRangeVariableDeclarationList( -#line 2229 "VBNET.ATG" +#line 2231 "VBNET.ATG" groupByClause.GroupVariables); - Expect(69); + Expect(71); ExpressionRangeVariableDeclarationList( -#line 2230 "VBNET.ATG" +#line 2232 "VBNET.ATG" groupByClause.ByVariables); - Expect(142); + Expect(144); ExpressionRangeVariableDeclarationList( -#line 2231 "VBNET.ATG" +#line 2233 "VBNET.ATG" groupByClause.IntoVariables); -#line 2233 "VBNET.ATG" +#line 2235 "VBNET.ATG" groupByClause.EndLocation = t.EndLocation; } void OrderExpressionList( -#line 2193 "VBNET.ATG" +#line 2195 "VBNET.ATG" out List orderings) { -#line 2195 "VBNET.ATG" +#line 2197 "VBNET.ATG" orderings = new List(); QueryExpressionOrdering ordering = null; OrderExpression( -#line 2198 "VBNET.ATG" +#line 2200 "VBNET.ATG" out ordering); -#line 2199 "VBNET.ATG" +#line 2201 "VBNET.ATG" orderings.Add(ordering); while (la.kind == 23) { lexer.NextToken(); OrderExpression( -#line 2201 "VBNET.ATG" +#line 2203 "VBNET.ATG" out ordering); -#line 2202 "VBNET.ATG" +#line 2204 "VBNET.ATG" orderings.Add(ordering); } } void OrderExpression( -#line 2206 "VBNET.ATG" +#line 2208 "VBNET.ATG" out QueryExpressionOrdering ordering) { -#line 2208 "VBNET.ATG" +#line 2210 "VBNET.ATG" ordering = new QueryExpressionOrdering(); ordering.StartLocation = la.Location; ordering.Direction = QueryExpressionOrderingDirection.None; Expression orderExpr = null; Expr( -#line 2213 "VBNET.ATG" +#line 2215 "VBNET.ATG" out orderExpr); -#line 2215 "VBNET.ATG" +#line 2217 "VBNET.ATG" ordering.Criteria = orderExpr; - if (la.kind == 63 || la.kind == 103) { - if (la.kind == 63) { + if (la.kind == 65 || la.kind == 105) { + if (la.kind == 65) { lexer.NextToken(); -#line 2218 "VBNET.ATG" +#line 2220 "VBNET.ATG" ordering.Direction = QueryExpressionOrderingDirection.Ascending; } else { lexer.NextToken(); -#line 2219 "VBNET.ATG" +#line 2221 "VBNET.ATG" ordering.Direction = QueryExpressionOrderingDirection.Descending; } } -#line 2221 "VBNET.ATG" +#line 2223 "VBNET.ATG" ordering.EndLocation = t.EndLocation; } void ExpressionRangeVariableDeclarationList( -#line 2352 "VBNET.ATG" +#line 2354 "VBNET.ATG" List variables) { -#line 2354 "VBNET.ATG" +#line 2356 "VBNET.ATG" ExpressionRangeVariable variable = null; ExpressionRangeVariableDeclaration( -#line 2356 "VBNET.ATG" +#line 2358 "VBNET.ATG" out variable); -#line 2357 "VBNET.ATG" +#line 2359 "VBNET.ATG" variables.Add(variable); while (la.kind == 23) { lexer.NextToken(); ExpressionRangeVariableDeclaration( -#line 2358 "VBNET.ATG" +#line 2360 "VBNET.ATG" out variable); -#line 2358 "VBNET.ATG" +#line 2360 "VBNET.ATG" variables.Add(variable); } } void CollectionRangeVariableDeclarationList( -#line 2411 "VBNET.ATG" +#line 2413 "VBNET.ATG" List rangeVariables) { -#line 2412 "VBNET.ATG" +#line 2414 "VBNET.ATG" CollectionRangeVariable variableDeclaration; CollectionRangeVariableDeclaration( -#line 2414 "VBNET.ATG" +#line 2416 "VBNET.ATG" out variableDeclaration); -#line 2415 "VBNET.ATG" +#line 2417 "VBNET.ATG" rangeVariables.Add(variableDeclaration); while (la.kind == 23) { lexer.NextToken(); CollectionRangeVariableDeclaration( -#line 2416 "VBNET.ATG" +#line 2418 "VBNET.ATG" out variableDeclaration); -#line 2416 "VBNET.ATG" +#line 2418 "VBNET.ATG" rangeVariables.Add(variableDeclaration); } } void CollectionRangeVariableDeclaration( -#line 2419 "VBNET.ATG" +#line 2421 "VBNET.ATG" out CollectionRangeVariable rangeVariable) { -#line 2421 "VBNET.ATG" +#line 2423 "VBNET.ATG" rangeVariable = new CollectionRangeVariable(); rangeVariable.StartLocation = la.Location; TypeReference typeName = null; @@ -6293,71 +6303,71 @@ out CollectionRangeVariable rangeVariable) { Identifier(); -#line 2426 "VBNET.ATG" +#line 2428 "VBNET.ATG" rangeVariable.Identifier = t.val; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 2427 "VBNET.ATG" +#line 2429 "VBNET.ATG" out typeName); -#line 2427 "VBNET.ATG" +#line 2429 "VBNET.ATG" rangeVariable.Type = typeName; } - Expect(137); + Expect(139); Expr( -#line 2428 "VBNET.ATG" +#line 2430 "VBNET.ATG" out inExpr); -#line 2430 "VBNET.ATG" +#line 2432 "VBNET.ATG" rangeVariable.Expression = inExpr; rangeVariable.EndLocation = t.EndLocation; } void ExpressionRangeVariableDeclaration( -#line 2361 "VBNET.ATG" +#line 2363 "VBNET.ATG" out ExpressionRangeVariable variable) { -#line 2363 "VBNET.ATG" +#line 2365 "VBNET.ATG" variable = new ExpressionRangeVariable(); variable.StartLocation = la.Location; Expression rhs = null; TypeReference typeName = null; if ( -#line 2369 "VBNET.ATG" +#line 2371 "VBNET.ATG" IsIdentifiedExpressionRange()) { Identifier(); -#line 2370 "VBNET.ATG" +#line 2372 "VBNET.ATG" variable.Identifier = t.val; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 2372 "VBNET.ATG" +#line 2374 "VBNET.ATG" out typeName); -#line 2373 "VBNET.ATG" +#line 2375 "VBNET.ATG" variable.Type = typeName; } Expect(21); } Expr( -#line 2377 "VBNET.ATG" +#line 2379 "VBNET.ATG" out rhs); -#line 2379 "VBNET.ATG" +#line 2381 "VBNET.ATG" variable.Expression = rhs; variable.EndLocation = t.EndLocation; } void JoinCondition( -#line 2435 "VBNET.ATG" +#line 2437 "VBNET.ATG" out QueryExpressionJoinConditionVB condition) { -#line 2437 "VBNET.ATG" +#line 2439 "VBNET.ATG" condition = new QueryExpressionJoinConditionVB(); condition.StartLocation = la.Location; @@ -6365,14 +6375,14 @@ out QueryExpressionJoinConditionVB condition) { Expression rhs = null; Expr( -#line 2443 "VBNET.ATG" +#line 2445 "VBNET.ATG" out lhs); - Expect(115); + Expect(117); Expr( -#line 2443 "VBNET.ATG" +#line 2445 "VBNET.ATG" out rhs); -#line 2445 "VBNET.ATG" +#line 2447 "VBNET.ATG" condition.LeftSide = lhs; condition.RightSide = rhs; condition.EndLocation = t.EndLocation; @@ -6380,148 +6390,148 @@ out rhs); } void Argument( -#line 2509 "VBNET.ATG" +#line 2511 "VBNET.ATG" out Expression argumentexpr) { -#line 2511 "VBNET.ATG" +#line 2513 "VBNET.ATG" Expression expr; argumentexpr = null; string name; if ( -#line 2515 "VBNET.ATG" +#line 2517 "VBNET.ATG" IsNamedAssign()) { Identifier(); -#line 2515 "VBNET.ATG" +#line 2517 "VBNET.ATG" name = t.val; - Expect(54); + Expect(56); Expr( -#line 2515 "VBNET.ATG" +#line 2517 "VBNET.ATG" out expr); -#line 2517 "VBNET.ATG" +#line 2519 "VBNET.ATG" argumentexpr = new NamedArgumentExpression(name, expr); } else if (StartOf(29)) { Expr( -#line 2520 "VBNET.ATG" +#line 2522 "VBNET.ATG" out argumentexpr); - } else SynErr(292); + } else SynErr(294); } void QualIdentAndTypeArguments( -#line 2586 "VBNET.ATG" +#line 2588 "VBNET.ATG" out TypeReference typeref, bool canBeUnbound) { -#line 2587 "VBNET.ATG" +#line 2589 "VBNET.ATG" string name; typeref = null; Qualident( -#line 2589 "VBNET.ATG" +#line 2591 "VBNET.ATG" out name); -#line 2590 "VBNET.ATG" +#line 2592 "VBNET.ATG" typeref = new TypeReference(name); if ( -#line 2591 "VBNET.ATG" +#line 2593 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { lexer.NextToken(); - Expect(168); + Expect(170); if ( -#line 2593 "VBNET.ATG" +#line 2595 "VBNET.ATG" canBeUnbound && (la.kind == Tokens.CloseParenthesis || la.kind == Tokens.Comma)) { -#line 2594 "VBNET.ATG" +#line 2596 "VBNET.ATG" typeref.GenericTypes.Add(NullTypeReference.Instance); while (la.kind == 23) { lexer.NextToken(); -#line 2595 "VBNET.ATG" +#line 2597 "VBNET.ATG" typeref.GenericTypes.Add(NullTypeReference.Instance); } } else if (StartOf(8)) { TypeArgumentList( -#line 2596 "VBNET.ATG" +#line 2598 "VBNET.ATG" typeref.GenericTypes); - } else SynErr(293); - Expect(37); + } else SynErr(295); + Expect(39); } } void RankList( -#line 2633 "VBNET.ATG" +#line 2635 "VBNET.ATG" out int i) { -#line 2634 "VBNET.ATG" +#line 2636 "VBNET.ATG" i = 0; while (la.kind == 23) { lexer.NextToken(); -#line 2635 "VBNET.ATG" +#line 2637 "VBNET.ATG" ++i; } } void Attribute( -#line 2674 "VBNET.ATG" +#line 2676 "VBNET.ATG" out ASTAttribute attribute) { -#line 2675 "VBNET.ATG" +#line 2677 "VBNET.ATG" string name; List positional = new List(); List named = new List(); - if (la.kind == 129) { + if (la.kind == 131) { lexer.NextToken(); Expect(27); } Qualident( -#line 2680 "VBNET.ATG" +#line 2682 "VBNET.ATG" out name); - if (la.kind == 36) { + if (la.kind == 38) { AttributeArguments( -#line 2681 "VBNET.ATG" +#line 2683 "VBNET.ATG" positional, named); } -#line 2683 "VBNET.ATG" +#line 2685 "VBNET.ATG" attribute = new ASTAttribute(name, positional, named); } void AttributeArguments( -#line 2688 "VBNET.ATG" +#line 2690 "VBNET.ATG" List positional, List named) { -#line 2690 "VBNET.ATG" +#line 2692 "VBNET.ATG" bool nameFound = false; string name = ""; Expression expr; - Expect(36); + Expect(38); if ( -#line 2696 "VBNET.ATG" +#line 2698 "VBNET.ATG" IsNotClosingParenthesis()) { if ( -#line 2698 "VBNET.ATG" +#line 2700 "VBNET.ATG" IsNamedAssign()) { -#line 2698 "VBNET.ATG" +#line 2700 "VBNET.ATG" nameFound = true; IdentifierOrKeyword( -#line 2699 "VBNET.ATG" +#line 2701 "VBNET.ATG" out name); - if (la.kind == 54) { + if (la.kind == 56) { lexer.NextToken(); } else if (la.kind == 21) { lexer.NextToken(); - } else SynErr(294); + } else SynErr(296); } Expr( -#line 2701 "VBNET.ATG" +#line 2703 "VBNET.ATG" out expr); -#line 2703 "VBNET.ATG" +#line 2705 "VBNET.ATG" if (expr != null) { if (string.IsNullOrEmpty(name)) { positional.Add(expr); } else { named.Add(new NamedArgumentExpression(name, expr)); name = ""; } @@ -6530,43 +6540,43 @@ out expr); while (la.kind == 23) { lexer.NextToken(); if ( -#line 2711 "VBNET.ATG" +#line 2713 "VBNET.ATG" IsNamedAssign()) { -#line 2711 "VBNET.ATG" +#line 2713 "VBNET.ATG" nameFound = true; IdentifierOrKeyword( -#line 2712 "VBNET.ATG" +#line 2714 "VBNET.ATG" out name); - if (la.kind == 54) { + if (la.kind == 56) { lexer.NextToken(); } else if (la.kind == 21) { lexer.NextToken(); - } else SynErr(295); + } else SynErr(297); } else if (StartOf(29)) { -#line 2714 "VBNET.ATG" +#line 2716 "VBNET.ATG" if (nameFound) Error("no positional argument after named argument"); - } else SynErr(296); + } else SynErr(298); Expr( -#line 2715 "VBNET.ATG" +#line 2717 "VBNET.ATG" out expr); -#line 2715 "VBNET.ATG" +#line 2717 "VBNET.ATG" if (expr != null) { if(name == "") positional.Add(expr); else { named.Add(new NamedArgumentExpression(name, expr)); name = ""; } } } } - Expect(37); + Expect(39); } void FormalParameter( -#line 2772 "VBNET.ATG" +#line 2774 "VBNET.ATG" out ParameterDeclarationExpression p) { -#line 2774 "VBNET.ATG" +#line 2776 "VBNET.ATG" AttributeSection section; List attributes = new List(); TypeReference type = null; @@ -6575,38 +6585,38 @@ out ParameterDeclarationExpression p) { p = null; ArrayList arrayModifiers = null; - while (la.kind == 39) { + while (la.kind == 41) { AttributeSection( -#line 2783 "VBNET.ATG" +#line 2785 "VBNET.ATG" out section); -#line 2783 "VBNET.ATG" +#line 2785 "VBNET.ATG" attributes.Add(section); } while (StartOf(41)) { ParameterModifier( -#line 2784 "VBNET.ATG" +#line 2786 "VBNET.ATG" mod); } Identifier(); -#line 2785 "VBNET.ATG" +#line 2787 "VBNET.ATG" string parameterName = t.val; if ( -#line 2786 "VBNET.ATG" +#line 2788 "VBNET.ATG" IsDims()) { ArrayTypeModifiers( -#line 2786 "VBNET.ATG" +#line 2788 "VBNET.ATG" out arrayModifiers); } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 2787 "VBNET.ATG" +#line 2789 "VBNET.ATG" out type); } -#line 2789 "VBNET.ATG" +#line 2791 "VBNET.ATG" if(type != null) { if (arrayModifiers != null) { if (type.RankSpecifier != null) { @@ -6620,11 +6630,11 @@ out type); if (la.kind == 21) { lexer.NextToken(); Expr( -#line 2799 "VBNET.ATG" +#line 2801 "VBNET.ATG" out expr); } -#line 2801 "VBNET.ATG" +#line 2803 "VBNET.ATG" mod.Check(); p = new ParameterDeclarationExpression(type, parameterName, mod.Modifier, expr); p.Attributes = attributes; @@ -6632,34 +6642,34 @@ out expr); } void ParameterModifier( -#line 3483 "VBNET.ATG" +#line 3486 "VBNET.ATG" ParamModifierList m) { - if (la.kind == 71) { + if (la.kind == 73) { lexer.NextToken(); -#line 3484 "VBNET.ATG" +#line 3487 "VBNET.ATG" m.Add(ParameterModifiers.In); - } else if (la.kind == 68) { + } else if (la.kind == 70) { lexer.NextToken(); -#line 3485 "VBNET.ATG" +#line 3488 "VBNET.ATG" m.Add(ParameterModifiers.Ref); - } else if (la.kind == 173) { + } else if (la.kind == 175) { lexer.NextToken(); -#line 3486 "VBNET.ATG" +#line 3489 "VBNET.ATG" m.Add(ParameterModifiers.Optional); - } else if (la.kind == 180) { + } else if (la.kind == 182) { lexer.NextToken(); -#line 3487 "VBNET.ATG" +#line 3490 "VBNET.ATG" m.Add(ParameterModifiers.Params); - } else SynErr(297); + } else SynErr(299); } void Statement() { -#line 2830 "VBNET.ATG" +#line 2832 "VBNET.ATG" Statement stmt = null; Location startPos = la.Location; string label = String.Empty; @@ -6667,27 +6677,27 @@ ParamModifierList m) { if (la.kind == 1 || la.kind == 22) { } else if ( -#line 2836 "VBNET.ATG" +#line 2838 "VBNET.ATG" IsLabel()) { LabelName( -#line 2836 "VBNET.ATG" +#line 2838 "VBNET.ATG" out label); -#line 2838 "VBNET.ATG" +#line 2840 "VBNET.ATG" AddChild(new LabelStatement(t.val)); Expect(22); Statement(); } else if (StartOf(42)) { EmbeddedStatement( -#line 2841 "VBNET.ATG" +#line 2843 "VBNET.ATG" out stmt); -#line 2841 "VBNET.ATG" +#line 2843 "VBNET.ATG" AddChild(stmt); - } else SynErr(298); + } else SynErr(300); -#line 2844 "VBNET.ATG" +#line 2846 "VBNET.ATG" if (stmt != null) { stmt.StartLocation = startPos; stmt.EndLocation = t.Location; @@ -6696,54 +6706,54 @@ out stmt); } void LabelName( -#line 3259 "VBNET.ATG" +#line 3261 "VBNET.ATG" out string name) { -#line 3261 "VBNET.ATG" +#line 3263 "VBNET.ATG" name = String.Empty; if (StartOf(4)) { Identifier(); -#line 3263 "VBNET.ATG" +#line 3265 "VBNET.ATG" name = t.val; } else if (la.kind == 5) { lexer.NextToken(); -#line 3264 "VBNET.ATG" +#line 3266 "VBNET.ATG" name = t.val; - } else SynErr(299); + } else SynErr(301); } void LocalDeclarationStatement( -#line 2852 "VBNET.ATG" +#line 2854 "VBNET.ATG" out Statement statement) { -#line 2854 "VBNET.ATG" +#line 2856 "VBNET.ATG" ModifierList m = new ModifierList(); LocalVariableDeclaration localVariableDeclaration; bool dimfound = false; - while (la.kind == 87 || la.kind == 104 || la.kind == 202) { - if (la.kind == 87) { + while (la.kind == 89 || la.kind == 106 || la.kind == 204) { + if (la.kind == 89) { lexer.NextToken(); -#line 2860 "VBNET.ATG" +#line 2862 "VBNET.ATG" m.Add(Modifiers.Const, t.Location); - } else if (la.kind == 202) { + } else if (la.kind == 204) { lexer.NextToken(); -#line 2861 "VBNET.ATG" +#line 2863 "VBNET.ATG" m.Add(Modifiers.Static, t.Location); } else { lexer.NextToken(); -#line 2862 "VBNET.ATG" +#line 2864 "VBNET.ATG" dimfound = true; } } -#line 2865 "VBNET.ATG" +#line 2867 "VBNET.ATG" if(dimfound && (m.Modifier & Modifiers.Const) != 0) { Error("Dim is not allowed on constants."); } @@ -6756,135 +6766,135 @@ out Statement statement) { localVariableDeclaration.StartLocation = t.Location; VariableDeclarator( -#line 2876 "VBNET.ATG" +#line 2878 "VBNET.ATG" localVariableDeclaration.Variables); while (la.kind == 23) { lexer.NextToken(); VariableDeclarator( -#line 2877 "VBNET.ATG" +#line 2879 "VBNET.ATG" localVariableDeclaration.Variables); } -#line 2879 "VBNET.ATG" +#line 2881 "VBNET.ATG" statement = localVariableDeclaration; } void TryStatement( -#line 3373 "VBNET.ATG" +#line 3375 "VBNET.ATG" out Statement tryStatement) { -#line 3375 "VBNET.ATG" +#line 3377 "VBNET.ATG" Statement blockStmt = null, finallyStmt = null;List catchClauses = null; - Expect(216); + Expect(218); EndOfStmt(); Block( -#line 3378 "VBNET.ATG" +#line 3380 "VBNET.ATG" out blockStmt); - if (la.kind == 74 || la.kind == 112 || la.kind == 122) { + if (la.kind == 76 || la.kind == 114 || la.kind == 124) { CatchClauses( -#line 3379 "VBNET.ATG" +#line 3381 "VBNET.ATG" out catchClauses); } - if (la.kind == 122) { + if (la.kind == 124) { lexer.NextToken(); EndOfStmt(); Block( -#line 3380 "VBNET.ATG" +#line 3382 "VBNET.ATG" out finallyStmt); } - Expect(112); - Expect(216); + Expect(114); + Expect(218); -#line 3383 "VBNET.ATG" +#line 3385 "VBNET.ATG" tryStatement = new TryCatchStatement(blockStmt, catchClauses, finallyStmt); } void WithStatement( -#line 3353 "VBNET.ATG" +#line 3355 "VBNET.ATG" out Statement withStatement) { -#line 3355 "VBNET.ATG" +#line 3357 "VBNET.ATG" Statement blockStmt = null; Expression expr = null; - Expect(231); + Expect(233); -#line 3358 "VBNET.ATG" +#line 3360 "VBNET.ATG" Location start = t.Location; Expr( -#line 3359 "VBNET.ATG" +#line 3361 "VBNET.ATG" out expr); EndOfStmt(); -#line 3361 "VBNET.ATG" +#line 3363 "VBNET.ATG" withStatement = new WithStatement(expr); withStatement.StartLocation = start; Block( -#line 3364 "VBNET.ATG" +#line 3366 "VBNET.ATG" out blockStmt); -#line 3366 "VBNET.ATG" +#line 3368 "VBNET.ATG" ((WithStatement)withStatement).Body = (BlockStatement)blockStmt; - Expect(112); - Expect(231); + Expect(114); + Expect(233); -#line 3369 "VBNET.ATG" +#line 3371 "VBNET.ATG" withStatement.EndLocation = t.Location; } void WhileOrUntil( -#line 3346 "VBNET.ATG" +#line 3348 "VBNET.ATG" out ConditionType conditionType) { -#line 3347 "VBNET.ATG" +#line 3349 "VBNET.ATG" conditionType = ConditionType.None; - if (la.kind == 229) { + if (la.kind == 231) { lexer.NextToken(); -#line 3348 "VBNET.ATG" +#line 3350 "VBNET.ATG" conditionType = ConditionType.While; - } else if (la.kind == 222) { + } else if (la.kind == 224) { lexer.NextToken(); -#line 3349 "VBNET.ATG" +#line 3351 "VBNET.ATG" conditionType = ConditionType.Until; - } else SynErr(300); + } else SynErr(302); } void LoopControlVariable( -#line 3189 "VBNET.ATG" +#line 3191 "VBNET.ATG" out TypeReference type, out string name) { -#line 3190 "VBNET.ATG" +#line 3192 "VBNET.ATG" ArrayList arrayModifiers = null; type = null; Qualident( -#line 3194 "VBNET.ATG" +#line 3196 "VBNET.ATG" out name); if ( -#line 3195 "VBNET.ATG" +#line 3197 "VBNET.ATG" IsDims()) { ArrayTypeModifiers( -#line 3195 "VBNET.ATG" +#line 3197 "VBNET.ATG" out arrayModifiers); } - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 3196 "VBNET.ATG" +#line 3198 "VBNET.ATG" out type); -#line 3196 "VBNET.ATG" +#line 3198 "VBNET.ATG" if (name.IndexOf('.') > 0) { Error("No type def for 'for each' member indexer allowed."); } } -#line 3198 "VBNET.ATG" +#line 3200 "VBNET.ATG" if (type != null) { if(type.RankSpecifier != null && arrayModifiers != null) { Error("array rank only allowed one time"); @@ -6896,111 +6906,111 @@ out type); } void ReDimClause( -#line 3268 "VBNET.ATG" +#line 3270 "VBNET.ATG" out Expression expr) { SimpleNonInvocationExpression( -#line 3270 "VBNET.ATG" +#line 3272 "VBNET.ATG" out expr); ReDimClauseInternal( -#line 3271 "VBNET.ATG" +#line 3273 "VBNET.ATG" ref expr); } void SingleLineStatementList( -#line 3175 "VBNET.ATG" +#line 3177 "VBNET.ATG" List list) { -#line 3176 "VBNET.ATG" +#line 3178 "VBNET.ATG" Statement embeddedStatement = null; - if (la.kind == 112) { + if (la.kind == 114) { lexer.NextToken(); -#line 3178 "VBNET.ATG" +#line 3180 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(42)) { EmbeddedStatement( -#line 3179 "VBNET.ATG" +#line 3181 "VBNET.ATG" out embeddedStatement); - } else SynErr(301); + } else SynErr(303); -#line 3180 "VBNET.ATG" +#line 3182 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); while (la.kind == 22) { lexer.NextToken(); while (la.kind == 22) { lexer.NextToken(); } - if (la.kind == 112) { + if (la.kind == 114) { lexer.NextToken(); -#line 3182 "VBNET.ATG" +#line 3184 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(42)) { EmbeddedStatement( -#line 3183 "VBNET.ATG" +#line 3185 "VBNET.ATG" out embeddedStatement); - } else SynErr(302); + } else SynErr(304); -#line 3184 "VBNET.ATG" +#line 3186 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); } } void CaseClauses( -#line 3306 "VBNET.ATG" +#line 3308 "VBNET.ATG" out List caseClauses) { -#line 3308 "VBNET.ATG" +#line 3310 "VBNET.ATG" caseClauses = new List(); CaseLabel caseClause = null; CaseClause( -#line 3311 "VBNET.ATG" +#line 3313 "VBNET.ATG" out caseClause); -#line 3311 "VBNET.ATG" +#line 3313 "VBNET.ATG" if (caseClause != null) { caseClauses.Add(caseClause); } while (la.kind == 23) { lexer.NextToken(); CaseClause( -#line 3312 "VBNET.ATG" +#line 3314 "VBNET.ATG" out caseClause); -#line 3312 "VBNET.ATG" +#line 3314 "VBNET.ATG" if (caseClause != null) { caseClauses.Add(caseClause); } } } void OnErrorStatement( -#line 3209 "VBNET.ATG" +#line 3211 "VBNET.ATG" out OnErrorStatement stmt) { -#line 3211 "VBNET.ATG" +#line 3213 "VBNET.ATG" stmt = null; GotoStatement goToStatement = null; - Expect(170); - Expect(117); + Expect(172); + Expect(119); if ( -#line 3217 "VBNET.ATG" +#line 3219 "VBNET.ATG" IsNegativeLabelName()) { - Expect(131); - Expect(29); + Expect(133); + Expect(31); Expect(5); -#line 3219 "VBNET.ATG" +#line 3221 "VBNET.ATG" long intLabel = Int64.Parse(t.val); if(intLabel != 1) { Error("invalid label in on error statement."); } stmt = new OnErrorStatement(new GotoStatement((intLabel * -1).ToString())); - } else if (la.kind == 131) { + } else if (la.kind == 133) { GotoStatement( -#line 3225 "VBNET.ATG" +#line 3227 "VBNET.ATG" out goToStatement); -#line 3227 "VBNET.ATG" +#line 3229 "VBNET.ATG" string val = goToStatement.Label; // if value is numeric, make sure that is 0 @@ -7013,92 +7023,92 @@ out goToStatement); } stmt = new OnErrorStatement(goToStatement); - } else if (la.kind == 192) { + } else if (la.kind == 194) { lexer.NextToken(); - Expect(162); + Expect(164); -#line 3241 "VBNET.ATG" +#line 3243 "VBNET.ATG" stmt = new OnErrorStatement(new ResumeStatement(true)); - } else SynErr(303); + } else SynErr(305); } void GotoStatement( -#line 3247 "VBNET.ATG" +#line 3249 "VBNET.ATG" out GotoStatement goToStatement) { -#line 3249 "VBNET.ATG" +#line 3251 "VBNET.ATG" string label = String.Empty; - Expect(131); + Expect(133); LabelName( -#line 3252 "VBNET.ATG" +#line 3254 "VBNET.ATG" out label); -#line 3254 "VBNET.ATG" +#line 3256 "VBNET.ATG" goToStatement = new GotoStatement(label); } void ResumeStatement( -#line 3295 "VBNET.ATG" +#line 3297 "VBNET.ATG" out ResumeStatement resumeStatement) { -#line 3297 "VBNET.ATG" +#line 3299 "VBNET.ATG" resumeStatement = null; string label = String.Empty; if ( -#line 3300 "VBNET.ATG" +#line 3302 "VBNET.ATG" IsResumeNext()) { - Expect(192); - Expect(162); + Expect(194); + Expect(164); -#line 3301 "VBNET.ATG" +#line 3303 "VBNET.ATG" resumeStatement = new ResumeStatement(true); - } else if (la.kind == 192) { + } else if (la.kind == 194) { lexer.NextToken(); if (StartOf(43)) { LabelName( -#line 3302 "VBNET.ATG" +#line 3304 "VBNET.ATG" out label); } -#line 3302 "VBNET.ATG" +#line 3304 "VBNET.ATG" resumeStatement = new ResumeStatement(label); - } else SynErr(304); + } else SynErr(306); } void ReDimClauseInternal( -#line 3274 "VBNET.ATG" +#line 3276 "VBNET.ATG" ref Expression expr) { -#line 3275 "VBNET.ATG" +#line 3277 "VBNET.ATG" List arguments; bool canBeNormal; bool canBeRedim; string name; while (la.kind == 27 || -#line 3278 "VBNET.ATG" +#line 3280 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { if (la.kind == 27) { lexer.NextToken(); IdentifierOrKeyword( -#line 3277 "VBNET.ATG" +#line 3279 "VBNET.ATG" out name); -#line 3277 "VBNET.ATG" +#line 3279 "VBNET.ATG" expr = new MemberReferenceExpression(expr, name); } else { InvocationExpression( -#line 3279 "VBNET.ATG" +#line 3281 "VBNET.ATG" ref expr); } } - Expect(36); + Expect(38); NormalOrReDimArgumentList( -#line 3282 "VBNET.ATG" +#line 3284 "VBNET.ATG" out arguments, out canBeNormal, out canBeRedim); - Expect(37); + Expect(39); -#line 3284 "VBNET.ATG" +#line 3286 "VBNET.ATG" expr = new InvocationExpression(expr, arguments); if (canBeRedim == false || canBeNormal && (la.kind == Tokens.Dot || la.kind == Tokens.OpenParenthesis)) { if (this.Errors.Count == 0) { @@ -7110,130 +7120,130 @@ out arguments, out canBeNormal, out canBeRedim); } void CaseClause( -#line 3316 "VBNET.ATG" +#line 3318 "VBNET.ATG" out CaseLabel caseClause) { -#line 3318 "VBNET.ATG" +#line 3320 "VBNET.ATG" Expression expr = null; Expression sexpr = null; BinaryOperatorType op = BinaryOperatorType.None; caseClause = null; - if (la.kind == 110) { + if (la.kind == 112) { lexer.NextToken(); -#line 3324 "VBNET.ATG" +#line 3326 "VBNET.ATG" caseClause = new CaseLabel(); } else if (StartOf(44)) { - if (la.kind == 143) { + if (la.kind == 145) { lexer.NextToken(); } switch (la.kind) { - case 39: { + case 41: { lexer.NextToken(); -#line 3328 "VBNET.ATG" +#line 3330 "VBNET.ATG" op = BinaryOperatorType.LessThan; break; } - case 38: { + case 40: { lexer.NextToken(); -#line 3329 "VBNET.ATG" +#line 3331 "VBNET.ATG" op = BinaryOperatorType.GreaterThan; break; } - case 42: { + case 44: { lexer.NextToken(); -#line 3330 "VBNET.ATG" +#line 3332 "VBNET.ATG" op = BinaryOperatorType.LessThanOrEqual; break; } - case 41: { + case 43: { lexer.NextToken(); -#line 3331 "VBNET.ATG" +#line 3333 "VBNET.ATG" op = BinaryOperatorType.GreaterThanOrEqual; break; } case 21: { lexer.NextToken(); -#line 3332 "VBNET.ATG" +#line 3334 "VBNET.ATG" op = BinaryOperatorType.Equality; break; } - case 40: { + case 42: { lexer.NextToken(); -#line 3333 "VBNET.ATG" +#line 3335 "VBNET.ATG" op = BinaryOperatorType.InEquality; break; } - default: SynErr(305); break; + default: SynErr(307); break; } Expr( -#line 3335 "VBNET.ATG" +#line 3337 "VBNET.ATG" out expr); -#line 3337 "VBNET.ATG" +#line 3339 "VBNET.ATG" caseClause = new CaseLabel(op, expr); } else if (StartOf(29)) { Expr( -#line 3339 "VBNET.ATG" +#line 3341 "VBNET.ATG" out expr); - if (la.kind == 214) { + if (la.kind == 216) { lexer.NextToken(); Expr( -#line 3339 "VBNET.ATG" +#line 3341 "VBNET.ATG" out sexpr); } -#line 3341 "VBNET.ATG" +#line 3343 "VBNET.ATG" caseClause = new CaseLabel(expr, sexpr); - } else SynErr(306); + } else SynErr(308); } void CatchClauses( -#line 3388 "VBNET.ATG" +#line 3390 "VBNET.ATG" out List catchClauses) { -#line 3390 "VBNET.ATG" +#line 3392 "VBNET.ATG" catchClauses = new List(); TypeReference type = null; Statement blockStmt = null; Expression expr = null; string name = String.Empty; - while (la.kind == 74) { + while (la.kind == 76) { lexer.NextToken(); if (StartOf(4)) { Identifier(); -#line 3398 "VBNET.ATG" +#line 3400 "VBNET.ATG" name = t.val; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); TypeName( -#line 3398 "VBNET.ATG" +#line 3400 "VBNET.ATG" out type); } } - if (la.kind == 227) { + if (la.kind == 229) { lexer.NextToken(); Expr( -#line 3399 "VBNET.ATG" +#line 3401 "VBNET.ATG" out expr); } EndOfStmt(); Block( -#line 3401 "VBNET.ATG" +#line 3403 "VBNET.ATG" out blockStmt); -#line 3402 "VBNET.ATG" +#line 3404 "VBNET.ATG" catchClauses.Add(new CatchClause(type, name, blockStmt, expr)); } } @@ -7278,285 +7288,287 @@ out blockStmt); case 25: s = "\"/\" expected"; break; case 26: s = "\"\\\\\" expected"; break; case 27: s = "\".\" expected"; break; - case 28: s = "\"!\" expected"; break; - case 29: s = "\"-\" expected"; break; - case 30: s = "\"+\" expected"; break; - case 31: s = "\"^\" expected"; break; - case 32: s = "\"?\" expected"; break; - case 33: s = "\"*\" expected"; break; - case 34: s = "\"{\" expected"; break; - case 35: s = "\"}\" expected"; break; - case 36: s = "\"(\" expected"; break; - case 37: s = "\")\" expected"; break; - case 38: s = "\">\" expected"; break; - case 39: s = "\"<\" expected"; break; - case 40: s = "\"<>\" expected"; break; - case 41: s = "\">=\" expected"; break; - case 42: s = "\"<=\" expected"; break; - case 43: s = "\"<<\" expected"; break; - case 44: s = "\">>\" expected"; break; - case 45: s = "\"+=\" expected"; break; - case 46: s = "\"^=\" expected"; break; - case 47: s = "\"-=\" expected"; break; - case 48: s = "\"*=\" expected"; break; - case 49: s = "\"/=\" expected"; break; - case 50: s = "\"\\\\=\" expected"; break; - case 51: s = "\"<<=\" expected"; break; - case 52: s = "\">>=\" expected"; break; - case 53: s = "\"&=\" expected"; break; - case 54: s = "\":=\" expected"; break; - case 55: s = "\"AddHandler\" expected"; break; - case 56: s = "\"AddressOf\" expected"; break; - case 57: s = "\"Aggregate\" expected"; break; - case 58: s = "\"Alias\" expected"; break; - case 59: s = "\"And\" expected"; break; - case 60: s = "\"AndAlso\" expected"; break; - case 61: s = "\"Ansi\" expected"; break; - case 62: s = "\"As\" expected"; break; - case 63: s = "\"Ascending\" expected"; break; - case 64: s = "\"Assembly\" expected"; break; - case 65: s = "\"Auto\" expected"; break; - case 66: s = "\"Binary\" expected"; break; - case 67: s = "\"Boolean\" expected"; break; - case 68: s = "\"ByRef\" expected"; break; - case 69: s = "\"By\" expected"; break; - case 70: s = "\"Byte\" expected"; break; - case 71: s = "\"ByVal\" expected"; break; - case 72: s = "\"Call\" expected"; break; - case 73: s = "\"Case\" expected"; break; - case 74: s = "\"Catch\" expected"; break; - case 75: s = "\"CBool\" expected"; break; - case 76: s = "\"CByte\" expected"; break; - case 77: s = "\"CChar\" expected"; break; - case 78: s = "\"CDate\" expected"; break; - case 79: s = "\"CDbl\" expected"; break; - case 80: s = "\"CDec\" expected"; break; - case 81: s = "\"Char\" expected"; break; - case 82: s = "\"CInt\" expected"; break; - case 83: s = "\"Class\" expected"; break; - case 84: s = "\"CLng\" expected"; break; - case 85: s = "\"CObj\" expected"; break; - case 86: s = "\"Compare\" expected"; break; - case 87: s = "\"Const\" expected"; break; - case 88: s = "\"Continue\" expected"; break; - case 89: s = "\"CSByte\" expected"; break; - case 90: s = "\"CShort\" expected"; break; - case 91: s = "\"CSng\" expected"; break; - case 92: s = "\"CStr\" expected"; break; - case 93: s = "\"CType\" expected"; break; - case 94: s = "\"CUInt\" expected"; break; - case 95: s = "\"CULng\" expected"; break; - case 96: s = "\"CUShort\" expected"; break; - case 97: s = "\"Custom\" expected"; break; - case 98: s = "\"Date\" expected"; break; - case 99: s = "\"Decimal\" expected"; break; - case 100: s = "\"Declare\" expected"; break; - case 101: s = "\"Default\" expected"; break; - case 102: s = "\"Delegate\" expected"; break; - case 103: s = "\"Descending\" expected"; break; - case 104: s = "\"Dim\" expected"; break; - case 105: s = "\"DirectCast\" expected"; break; - case 106: s = "\"Distinct\" expected"; break; - case 107: s = "\"Do\" expected"; break; - case 108: s = "\"Double\" expected"; break; - case 109: s = "\"Each\" expected"; break; - case 110: s = "\"Else\" expected"; break; - case 111: s = "\"ElseIf\" expected"; break; - case 112: s = "\"End\" expected"; break; - case 113: s = "\"EndIf\" expected"; break; - case 114: s = "\"Enum\" expected"; break; - case 115: s = "\"Equals\" expected"; break; - case 116: s = "\"Erase\" expected"; break; - case 117: s = "\"Error\" expected"; break; - case 118: s = "\"Event\" expected"; break; - case 119: s = "\"Exit\" expected"; break; - case 120: s = "\"Explicit\" expected"; break; - case 121: s = "\"False\" expected"; break; - case 122: s = "\"Finally\" expected"; break; - case 123: s = "\"For\" expected"; break; - case 124: s = "\"Friend\" expected"; break; - case 125: s = "\"From\" expected"; break; - case 126: s = "\"Function\" expected"; break; - case 127: s = "\"Get\" expected"; break; - case 128: s = "\"GetType\" expected"; break; - case 129: s = "\"Global\" expected"; break; - case 130: s = "\"GoSub\" expected"; break; - case 131: s = "\"GoTo\" expected"; break; - case 132: s = "\"Group\" expected"; break; - case 133: s = "\"Handles\" expected"; break; - case 134: s = "\"If\" expected"; break; - case 135: s = "\"Implements\" expected"; break; - case 136: s = "\"Imports\" expected"; break; - case 137: s = "\"In\" expected"; break; - case 138: s = "\"Infer\" expected"; break; - case 139: s = "\"Inherits\" expected"; break; - case 140: s = "\"Integer\" expected"; break; - case 141: s = "\"Interface\" expected"; break; - case 142: s = "\"Into\" expected"; break; - case 143: s = "\"Is\" expected"; break; - case 144: s = "\"IsNot\" expected"; break; - case 145: s = "\"Join\" expected"; break; - case 146: s = "\"Key\" expected"; break; - case 147: s = "\"Let\" expected"; break; - case 148: s = "\"Lib\" expected"; break; - case 149: s = "\"Like\" expected"; break; - case 150: s = "\"Long\" expected"; break; - case 151: s = "\"Loop\" expected"; break; - case 152: s = "\"Me\" expected"; break; - case 153: s = "\"Mod\" expected"; break; - case 154: s = "\"Module\" expected"; break; - case 155: s = "\"MustInherit\" expected"; break; - case 156: s = "\"MustOverride\" expected"; break; - case 157: s = "\"MyBase\" expected"; break; - case 158: s = "\"MyClass\" expected"; break; - case 159: s = "\"Namespace\" expected"; break; - case 160: s = "\"Narrowing\" expected"; break; - case 161: s = "\"New\" expected"; break; - case 162: s = "\"Next\" expected"; break; - case 163: s = "\"Not\" expected"; break; - case 164: s = "\"Nothing\" expected"; break; - case 165: s = "\"NotInheritable\" expected"; break; - case 166: s = "\"NotOverridable\" expected"; break; - case 167: s = "\"Object\" expected"; break; - case 168: s = "\"Of\" expected"; break; - case 169: s = "\"Off\" expected"; break; - case 170: s = "\"On\" expected"; break; - case 171: s = "\"Operator\" expected"; break; - case 172: s = "\"Option\" expected"; break; - case 173: s = "\"Optional\" expected"; break; - case 174: s = "\"Or\" expected"; break; - case 175: s = "\"Order\" expected"; break; - case 176: s = "\"OrElse\" expected"; break; - case 177: s = "\"Overloads\" expected"; break; - case 178: s = "\"Overridable\" expected"; break; - case 179: s = "\"Overrides\" expected"; break; - case 180: s = "\"ParamArray\" expected"; break; - case 181: s = "\"Partial\" expected"; break; - case 182: s = "\"Preserve\" expected"; break; - case 183: s = "\"Private\" expected"; break; - case 184: s = "\"Property\" expected"; break; - case 185: s = "\"Protected\" expected"; break; - case 186: s = "\"Public\" expected"; break; - case 187: s = "\"RaiseEvent\" expected"; break; - case 188: s = "\"ReadOnly\" expected"; break; - case 189: s = "\"ReDim\" expected"; break; - case 190: s = "\"Rem\" expected"; break; - case 191: s = "\"RemoveHandler\" expected"; break; - case 192: s = "\"Resume\" expected"; break; - case 193: s = "\"Return\" expected"; break; - case 194: s = "\"SByte\" expected"; break; - case 195: s = "\"Select\" expected"; break; - case 196: s = "\"Set\" expected"; break; - case 197: s = "\"Shadows\" expected"; break; - case 198: s = "\"Shared\" expected"; break; - case 199: s = "\"Short\" expected"; break; - case 200: s = "\"Single\" expected"; break; - case 201: s = "\"Skip\" expected"; break; - case 202: s = "\"Static\" expected"; break; - case 203: s = "\"Step\" expected"; break; - case 204: s = "\"Stop\" expected"; break; - case 205: s = "\"Strict\" expected"; break; - case 206: s = "\"String\" expected"; break; - case 207: s = "\"Structure\" expected"; break; - case 208: s = "\"Sub\" expected"; break; - case 209: s = "\"SyncLock\" expected"; break; - case 210: s = "\"Take\" expected"; break; - case 211: s = "\"Text\" expected"; break; - case 212: s = "\"Then\" expected"; break; - case 213: s = "\"Throw\" expected"; break; - case 214: s = "\"To\" expected"; break; - case 215: s = "\"True\" expected"; break; - case 216: s = "\"Try\" expected"; break; - case 217: s = "\"TryCast\" expected"; break; - case 218: s = "\"TypeOf\" expected"; break; - case 219: s = "\"UInteger\" expected"; break; - case 220: s = "\"ULong\" expected"; break; - case 221: s = "\"Unicode\" expected"; break; - case 222: s = "\"Until\" expected"; break; - case 223: s = "\"UShort\" expected"; break; - case 224: s = "\"Using\" expected"; break; - case 225: s = "\"Variant\" expected"; break; - case 226: s = "\"Wend\" expected"; break; - case 227: s = "\"When\" expected"; break; - case 228: s = "\"Where\" expected"; break; - case 229: s = "\"While\" expected"; break; - case 230: s = "\"Widening\" expected"; break; - case 231: s = "\"With\" expected"; break; - case 232: s = "\"WithEvents\" expected"; break; - case 233: s = "\"WriteOnly\" expected"; break; - case 234: s = "\"Xor\" expected"; break; - case 235: s = "\"GetXmlNamespace\" expected"; break; - case 236: s = "??? expected"; break; - case 237: s = "invalid EndOfStmt"; break; - case 238: s = "invalid OptionStmt"; break; - case 239: s = "invalid OptionStmt"; break; - case 240: s = "invalid GlobalAttributeSection"; break; - case 241: s = "invalid GlobalAttributeSection"; break; - case 242: s = "invalid NamespaceMemberDecl"; break; - case 243: s = "invalid OptionValue"; break; - case 244: s = "invalid ImportClause"; break; - case 245: s = "invalid Identifier"; break; - case 246: s = "invalid TypeModifier"; break; - case 247: s = "invalid NonModuleDeclaration"; break; - case 248: s = "invalid NonModuleDeclaration"; break; - case 249: s = "invalid TypeParameterConstraints"; break; - case 250: s = "invalid TypeParameterConstraint"; break; - case 251: s = "invalid NonArrayTypeName"; break; - case 252: s = "invalid MemberModifier"; break; - case 253: s = "invalid StructureMemberDecl"; break; - case 254: s = "invalid StructureMemberDecl"; break; + case 28: s = "\"...\" expected"; break; + case 29: s = "\".@\" expected"; break; + case 30: s = "\"!\" expected"; break; + case 31: s = "\"-\" expected"; break; + case 32: s = "\"+\" expected"; break; + case 33: s = "\"^\" expected"; break; + case 34: s = "\"?\" expected"; break; + case 35: s = "\"*\" expected"; break; + case 36: s = "\"{\" expected"; break; + case 37: s = "\"}\" expected"; break; + case 38: s = "\"(\" expected"; break; + case 39: s = "\")\" expected"; break; + case 40: s = "\">\" expected"; break; + case 41: s = "\"<\" expected"; break; + case 42: s = "\"<>\" expected"; break; + case 43: s = "\">=\" expected"; break; + case 44: s = "\"<=\" expected"; break; + case 45: s = "\"<<\" expected"; break; + case 46: s = "\">>\" expected"; break; + case 47: s = "\"+=\" expected"; break; + case 48: s = "\"^=\" expected"; break; + case 49: s = "\"-=\" expected"; break; + case 50: s = "\"*=\" expected"; break; + case 51: s = "\"/=\" expected"; break; + case 52: s = "\"\\\\=\" expected"; break; + case 53: s = "\"<<=\" expected"; break; + case 54: s = "\">>=\" expected"; break; + case 55: s = "\"&=\" expected"; break; + case 56: s = "\":=\" expected"; break; + case 57: s = "\"AddHandler\" expected"; break; + case 58: s = "\"AddressOf\" expected"; break; + case 59: s = "\"Aggregate\" expected"; break; + case 60: s = "\"Alias\" expected"; break; + case 61: s = "\"And\" expected"; break; + case 62: s = "\"AndAlso\" expected"; break; + case 63: s = "\"Ansi\" expected"; break; + case 64: s = "\"As\" expected"; break; + case 65: s = "\"Ascending\" expected"; break; + case 66: s = "\"Assembly\" expected"; break; + case 67: s = "\"Auto\" expected"; break; + case 68: s = "\"Binary\" expected"; break; + case 69: s = "\"Boolean\" expected"; break; + case 70: s = "\"ByRef\" expected"; break; + case 71: s = "\"By\" expected"; break; + case 72: s = "\"Byte\" expected"; break; + case 73: s = "\"ByVal\" expected"; break; + case 74: s = "\"Call\" expected"; break; + case 75: s = "\"Case\" expected"; break; + case 76: s = "\"Catch\" expected"; break; + case 77: s = "\"CBool\" expected"; break; + case 78: s = "\"CByte\" expected"; break; + case 79: s = "\"CChar\" expected"; break; + case 80: s = "\"CDate\" expected"; break; + case 81: s = "\"CDbl\" expected"; break; + case 82: s = "\"CDec\" expected"; break; + case 83: s = "\"Char\" expected"; break; + case 84: s = "\"CInt\" expected"; break; + case 85: s = "\"Class\" expected"; break; + case 86: s = "\"CLng\" expected"; break; + case 87: s = "\"CObj\" expected"; break; + case 88: s = "\"Compare\" expected"; break; + case 89: s = "\"Const\" expected"; break; + case 90: s = "\"Continue\" expected"; break; + case 91: s = "\"CSByte\" expected"; break; + case 92: s = "\"CShort\" expected"; break; + case 93: s = "\"CSng\" expected"; break; + case 94: s = "\"CStr\" expected"; break; + case 95: s = "\"CType\" expected"; break; + case 96: s = "\"CUInt\" expected"; break; + case 97: s = "\"CULng\" expected"; break; + case 98: s = "\"CUShort\" expected"; break; + case 99: s = "\"Custom\" expected"; break; + case 100: s = "\"Date\" expected"; break; + case 101: s = "\"Decimal\" expected"; break; + case 102: s = "\"Declare\" expected"; break; + case 103: s = "\"Default\" expected"; break; + case 104: s = "\"Delegate\" expected"; break; + case 105: s = "\"Descending\" expected"; break; + case 106: s = "\"Dim\" expected"; break; + case 107: s = "\"DirectCast\" expected"; break; + case 108: s = "\"Distinct\" expected"; break; + case 109: s = "\"Do\" expected"; break; + case 110: s = "\"Double\" expected"; break; + case 111: s = "\"Each\" expected"; break; + case 112: s = "\"Else\" expected"; break; + case 113: s = "\"ElseIf\" expected"; break; + case 114: s = "\"End\" expected"; break; + case 115: s = "\"EndIf\" expected"; break; + case 116: s = "\"Enum\" expected"; break; + case 117: s = "\"Equals\" expected"; break; + case 118: s = "\"Erase\" expected"; break; + case 119: s = "\"Error\" expected"; break; + case 120: s = "\"Event\" expected"; break; + case 121: s = "\"Exit\" expected"; break; + case 122: s = "\"Explicit\" expected"; break; + case 123: s = "\"False\" expected"; break; + case 124: s = "\"Finally\" expected"; break; + case 125: s = "\"For\" expected"; break; + case 126: s = "\"Friend\" expected"; break; + case 127: s = "\"From\" expected"; break; + case 128: s = "\"Function\" expected"; break; + case 129: s = "\"Get\" expected"; break; + case 130: s = "\"GetType\" expected"; break; + case 131: s = "\"Global\" expected"; break; + case 132: s = "\"GoSub\" expected"; break; + case 133: s = "\"GoTo\" expected"; break; + case 134: s = "\"Group\" expected"; break; + case 135: s = "\"Handles\" expected"; break; + case 136: s = "\"If\" expected"; break; + case 137: s = "\"Implements\" expected"; break; + case 138: s = "\"Imports\" expected"; break; + case 139: s = "\"In\" expected"; break; + case 140: s = "\"Infer\" expected"; break; + case 141: s = "\"Inherits\" expected"; break; + case 142: s = "\"Integer\" expected"; break; + case 143: s = "\"Interface\" expected"; break; + case 144: s = "\"Into\" expected"; break; + case 145: s = "\"Is\" expected"; break; + case 146: s = "\"IsNot\" expected"; break; + case 147: s = "\"Join\" expected"; break; + case 148: s = "\"Key\" expected"; break; + case 149: s = "\"Let\" expected"; break; + case 150: s = "\"Lib\" expected"; break; + case 151: s = "\"Like\" expected"; break; + case 152: s = "\"Long\" expected"; break; + case 153: s = "\"Loop\" expected"; break; + case 154: s = "\"Me\" expected"; break; + case 155: s = "\"Mod\" expected"; break; + case 156: s = "\"Module\" expected"; break; + case 157: s = "\"MustInherit\" expected"; break; + case 158: s = "\"MustOverride\" expected"; break; + case 159: s = "\"MyBase\" expected"; break; + case 160: s = "\"MyClass\" expected"; break; + case 161: s = "\"Namespace\" expected"; break; + case 162: s = "\"Narrowing\" expected"; break; + case 163: s = "\"New\" expected"; break; + case 164: s = "\"Next\" expected"; break; + case 165: s = "\"Not\" expected"; break; + case 166: s = "\"Nothing\" expected"; break; + case 167: s = "\"NotInheritable\" expected"; break; + case 168: s = "\"NotOverridable\" expected"; break; + case 169: s = "\"Object\" expected"; break; + case 170: s = "\"Of\" expected"; break; + case 171: s = "\"Off\" expected"; break; + case 172: s = "\"On\" expected"; break; + case 173: s = "\"Operator\" expected"; break; + case 174: s = "\"Option\" expected"; break; + case 175: s = "\"Optional\" expected"; break; + case 176: s = "\"Or\" expected"; break; + case 177: s = "\"Order\" expected"; break; + case 178: s = "\"OrElse\" expected"; break; + case 179: s = "\"Overloads\" expected"; break; + case 180: s = "\"Overridable\" expected"; break; + case 181: s = "\"Overrides\" expected"; break; + case 182: s = "\"ParamArray\" expected"; break; + case 183: s = "\"Partial\" expected"; break; + case 184: s = "\"Preserve\" expected"; break; + case 185: s = "\"Private\" expected"; break; + case 186: s = "\"Property\" expected"; break; + case 187: s = "\"Protected\" expected"; break; + case 188: s = "\"Public\" expected"; break; + case 189: s = "\"RaiseEvent\" expected"; break; + case 190: s = "\"ReadOnly\" expected"; break; + case 191: s = "\"ReDim\" expected"; break; + case 192: s = "\"Rem\" expected"; break; + case 193: s = "\"RemoveHandler\" expected"; break; + case 194: s = "\"Resume\" expected"; break; + case 195: s = "\"Return\" expected"; break; + case 196: s = "\"SByte\" expected"; break; + case 197: s = "\"Select\" expected"; break; + case 198: s = "\"Set\" expected"; break; + case 199: s = "\"Shadows\" expected"; break; + case 200: s = "\"Shared\" expected"; break; + case 201: s = "\"Short\" expected"; break; + case 202: s = "\"Single\" expected"; break; + case 203: s = "\"Skip\" expected"; break; + case 204: s = "\"Static\" expected"; break; + case 205: s = "\"Step\" expected"; break; + case 206: s = "\"Stop\" expected"; break; + case 207: s = "\"Strict\" expected"; break; + case 208: s = "\"String\" expected"; break; + case 209: s = "\"Structure\" expected"; break; + case 210: s = "\"Sub\" expected"; break; + case 211: s = "\"SyncLock\" expected"; break; + case 212: s = "\"Take\" expected"; break; + case 213: s = "\"Text\" expected"; break; + case 214: s = "\"Then\" expected"; break; + case 215: s = "\"Throw\" expected"; break; + case 216: s = "\"To\" expected"; break; + case 217: s = "\"True\" expected"; break; + case 218: s = "\"Try\" expected"; break; + case 219: s = "\"TryCast\" expected"; break; + case 220: s = "\"TypeOf\" expected"; break; + case 221: s = "\"UInteger\" expected"; break; + case 222: s = "\"ULong\" expected"; break; + case 223: s = "\"Unicode\" expected"; break; + case 224: s = "\"Until\" expected"; break; + case 225: s = "\"UShort\" expected"; break; + case 226: s = "\"Using\" expected"; break; + case 227: s = "\"Variant\" expected"; break; + case 228: s = "\"Wend\" expected"; break; + case 229: s = "\"When\" expected"; break; + case 230: s = "\"Where\" expected"; break; + case 231: s = "\"While\" expected"; break; + case 232: s = "\"Widening\" expected"; break; + case 233: s = "\"With\" expected"; break; + case 234: s = "\"WithEvents\" expected"; break; + case 235: s = "\"WriteOnly\" expected"; break; + case 236: s = "\"Xor\" expected"; break; + case 237: s = "\"GetXmlNamespace\" expected"; break; + case 238: s = "??? expected"; break; + case 239: s = "invalid EndOfStmt"; break; + case 240: s = "invalid OptionStmt"; break; + case 241: s = "invalid OptionStmt"; break; + case 242: s = "invalid GlobalAttributeSection"; break; + case 243: s = "invalid GlobalAttributeSection"; break; + case 244: s = "invalid NamespaceMemberDecl"; break; + case 245: s = "invalid OptionValue"; break; + case 246: s = "invalid ImportClause"; break; + case 247: s = "invalid Identifier"; break; + case 248: s = "invalid TypeModifier"; break; + case 249: s = "invalid NonModuleDeclaration"; break; + case 250: s = "invalid NonModuleDeclaration"; break; + case 251: s = "invalid TypeParameterConstraints"; break; + case 252: s = "invalid TypeParameterConstraint"; break; + case 253: s = "invalid NonArrayTypeName"; break; + case 254: s = "invalid MemberModifier"; break; case 255: s = "invalid StructureMemberDecl"; break; case 256: s = "invalid StructureMemberDecl"; break; case 257: s = "invalid StructureMemberDecl"; break; case 258: s = "invalid StructureMemberDecl"; break; case 259: s = "invalid StructureMemberDecl"; break; case 260: s = "invalid StructureMemberDecl"; break; - case 261: s = "invalid InterfaceMemberDecl"; break; - case 262: s = "invalid InterfaceMemberDecl"; break; - case 263: s = "invalid Expr"; break; - case 264: s = "invalid Charset"; break; - case 265: s = "invalid IdentifierForFieldDeclaration"; break; - case 266: s = "invalid VariableDeclaratorPartAfterIdentifier"; break; - case 267: s = "invalid AccessorDecls"; break; - case 268: s = "invalid EventAccessorDeclaration"; break; - case 269: s = "invalid OverloadableOperator"; break; - case 270: s = "invalid EventMemberSpecifier"; break; - case 271: s = "invalid LambdaExpr"; break; - case 272: s = "invalid AssignmentOperator"; break; - case 273: s = "invalid SimpleNonInvocationExpression"; break; - case 274: s = "invalid SimpleNonInvocationExpression"; break; + case 261: s = "invalid StructureMemberDecl"; break; + case 262: s = "invalid StructureMemberDecl"; break; + case 263: s = "invalid InterfaceMemberDecl"; break; + case 264: s = "invalid InterfaceMemberDecl"; break; + case 265: s = "invalid Expr"; break; + case 266: s = "invalid Charset"; break; + case 267: s = "invalid IdentifierForFieldDeclaration"; break; + case 268: s = "invalid VariableDeclaratorPartAfterIdentifier"; break; + case 269: s = "invalid AccessorDecls"; break; + case 270: s = "invalid EventAccessorDeclaration"; break; + case 271: s = "invalid OverloadableOperator"; break; + case 272: s = "invalid EventMemberSpecifier"; break; + case 273: s = "invalid LambdaExpr"; break; + case 274: s = "invalid AssignmentOperator"; break; case 275: s = "invalid SimpleNonInvocationExpression"; break; case 276: s = "invalid SimpleNonInvocationExpression"; break; - case 277: s = "invalid PrimitiveTypeName"; break; - case 278: s = "invalid CastTarget"; break; - case 279: s = "invalid ComparisonExpr"; break; - case 280: s = "invalid SubLambdaExpression"; break; - case 281: s = "invalid FunctionLambdaExpression"; break; - case 282: s = "invalid EmbeddedStatement"; break; - case 283: s = "invalid EmbeddedStatement"; break; + case 277: s = "invalid SimpleNonInvocationExpression"; break; + case 278: s = "invalid SimpleNonInvocationExpression"; break; + case 279: s = "invalid PrimitiveTypeName"; break; + case 280: s = "invalid CastTarget"; break; + case 281: s = "invalid ComparisonExpr"; break; + case 282: s = "invalid SubLambdaExpression"; break; + case 283: s = "invalid FunctionLambdaExpression"; break; case 284: s = "invalid EmbeddedStatement"; break; case 285: s = "invalid EmbeddedStatement"; break; case 286: s = "invalid EmbeddedStatement"; break; case 287: s = "invalid EmbeddedStatement"; break; case 288: s = "invalid EmbeddedStatement"; break; - case 289: s = "invalid FromOrAggregateQueryOperator"; break; - case 290: s = "invalid QueryOperator"; break; - case 291: s = "invalid PartitionQueryOperator"; break; - case 292: s = "invalid Argument"; break; - case 293: s = "invalid QualIdentAndTypeArguments"; break; - case 294: s = "invalid AttributeArguments"; break; - case 295: s = "invalid AttributeArguments"; break; + case 289: s = "invalid EmbeddedStatement"; break; + case 290: s = "invalid EmbeddedStatement"; break; + case 291: s = "invalid FromOrAggregateQueryOperator"; break; + case 292: s = "invalid QueryOperator"; break; + case 293: s = "invalid PartitionQueryOperator"; break; + case 294: s = "invalid Argument"; break; + case 295: s = "invalid QualIdentAndTypeArguments"; break; case 296: s = "invalid AttributeArguments"; break; - case 297: s = "invalid ParameterModifier"; break; - case 298: s = "invalid Statement"; break; - case 299: s = "invalid LabelName"; break; - case 300: s = "invalid WhileOrUntil"; break; - case 301: s = "invalid SingleLineStatementList"; break; - case 302: s = "invalid SingleLineStatementList"; break; - case 303: s = "invalid OnErrorStatement"; break; - case 304: s = "invalid ResumeStatement"; break; - case 305: s = "invalid CaseClause"; break; - case 306: s = "invalid CaseClause"; break; + case 297: s = "invalid AttributeArguments"; break; + case 298: s = "invalid AttributeArguments"; break; + case 299: s = "invalid ParameterModifier"; break; + case 300: s = "invalid Statement"; break; + case 301: s = "invalid LabelName"; break; + case 302: s = "invalid WhileOrUntil"; break; + case 303: s = "invalid SingleLineStatementList"; break; + case 304: s = "invalid SingleLineStatementList"; break; + case 305: s = "invalid OnErrorStatement"; break; + case 306: s = "invalid ResumeStatement"; break; + case 307: s = "invalid CaseClause"; break; + case 308: s = "invalid CaseClause"; break; default: s = "error " + errorNumber; break; } @@ -7569,51 +7581,51 @@ out blockStmt); } static bool[,] set = { - {T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, T,T,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,x,T, x,x,T,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,x,T,x, T,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,T,x,x, T,x,x,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,T,x,x, x,x,T,T, x,x,T,T, x,x,x,x, x,x,x,T, T,T,T,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,x,T,x, T,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,T,x,x, T,x,x,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,T,x,x, x,x,T,x, x,x,T,T, x,x,x,x, x,x,x,T, T,T,T,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,T,T, x,x,x,x, x,x,x,x, x,T,x,x, T,T,T,T, T,x,T,x, x,x,x,x, x,x,T,T, x,x,T,x, T,x,x,x, T,T,T,x, x,x,x,x, T,x,x,x, x,x,T,x, x,T,T,x, x,T,x,x, x,x,x,x, x,x,T,T, T,x,x,x, T,x,x,x, x,T,T,x, x,T,x,T, x,x,x,T, x,T,T,T, x,T,T,T, T,T,T,x, T,x,x,x, x,x,x,x, x,T,T,x, x,T,x,x, x,x,x,T, T,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,T,x, T,T,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, x,T,T,T, x,T,x,T, x,T,T,x, T,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,T,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,x, T,x,x,x, x,x,x,x, x,x,T,x, x,x,T,x, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,T,T, T,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, x,T,T,T, x,T,x,T, T,T,T,x, T,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, x,T,T,T, x,T,x,T, T,T,T,x, T,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,T,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, x,x,x,T, T,T,T,T, T,T,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, x,T,T,x, T,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,x,x, T,T,x,x, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,T, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,T,x,x, x,x,T,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,T,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,T,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, T,x,x,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, T,T,T,T, T,x,x,x, x,x,x,T, T,T,x,T, T,T,x,T, x,T,x,x, T,T,x,T, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,x, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,T, x,T,x,T, T,T,T,T, x,x,x,T, T,T,T,x, T,x,T,x, x,T,T,T, x,T,x,T, T,T,T,T, T,T,T,T, T,x,x,x, T,T,x,T, x,x,x,x, x,x}, - {x,T,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,T,T,T, T,T,T,T, T,T,T,T, x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,T, T,T,x,T, T,T,T,T, T,T,T,T, x,T,T,x, T,x,x,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, T,T,T,T, T,x,T,x, T,x,x,T, T,T,x,T, T,T,x,T, x,T,x,x, T,T,x,T, T,x,T,T, x,x,T,x, T,x,T,T, T,T,x,T, x,T,T,x, T,T,x,x, x,T,T,x, x,T,x,x, T,x,x,T, x,T,T,x, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,T, x,T,x,T, T,T,T,T, x,x,x,T, T,T,T,T, T,x,T,x, x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x,x,x, T,T,x,T, x,x,T,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,T,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, x,x,x,T, T,T,T,T, T,T,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, x,T,T,x, T,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,T,x, T,T,x,x, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,T, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,T,x,x, x,x,T,x, T,x,T,T, x,x,x,T, x,T,T,T, T,T,T,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, x,x,x,T, T,T,T,T, T,T,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, x,T,T,x, T,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,x,x, T,T,x,x, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,x, T,x,x,T, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,T,x,x, x,x,T,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,T,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, T,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,T,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, x,x,x,T, T,T,T,T, T,T,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, x,T,T,x, T,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,x,x, T,T,x,x, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,x, T,x,x,T, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,T,x,x, x,x,T,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,T,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,T,x, x,T,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, T,x,x,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, T,T,T,T, T,x,x,x, x,x,x,T, T,T,x,T, T,T,x,T, x,T,T,x, T,T,x,T, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,T, x,T,x,T, T,T,T,T, x,x,x,T, T,T,T,x, T,x,T,x, T,T,T,T, x,T,x,T, T,T,T,T, T,T,T,T, T,x,x,x, T,T,x,T, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,x, x,T,T,x, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, x,x,x,T, T,T,T,T, T,T,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, x,T,T,x, T,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,T,x, T,T,x,x, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,T, T,x,x,T, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,T,x,x, x,x,T,x, T,x,T,T, x,x,x,T, x,T,T,T, T,T,T,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, x,x,x,T, T,T,T,T, T,T,T,x, T,T,T,x, x,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, x,T,T,x, T,x,x,x, x,x,x,T, x,x,x,x, T,T,x,x, x,T,x,x, T,T,x,x, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,x, T,x,x,T, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, T,T,x,x, x,x,T,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,T,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, T,x,x,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, T,T,T,T, T,x,x,x, T,x,x,T, T,T,x,T, T,T,x,T, x,T,x,x, T,T,x,T, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,x, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,T, x,T,x,T, T,T,T,T, x,x,x,T, T,T,T,x, T,x,T,x, x,T,T,T, x,T,x,T, T,T,T,T, T,T,T,T, T,x,x,x, T,T,x,T, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,T,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,T,T,T, T,T,T,T, T,T,T,T, x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,T, T,T,x,T, T,T,x,T, T,T,T,T, x,T,T,x, T,x,x,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, T,T,T,T, T,x,T,x, T,x,x,T, T,T,x,T, T,T,x,T, x,T,x,x, T,T,x,T, T,x,T,T, x,x,T,x, T,x,T,T, T,T,x,T, x,T,T,x, T,T,x,x, x,T,T,x, x,T,x,x, T,x,x,T, x,T,T,x, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,T, x,T,x,T, T,T,T,T, x,x,x,T, T,T,T,T, T,x,T,x, x,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,x,x,x, T,T,x,T, x,x,T,x, x,x}, - {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, T,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x}, - {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,T, T,T,T,T, x,T,T,x, T,x,x,T, T,T,T,T, T,T,T,x, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,x,x,T, T,T,T,T, T,x,x,x, x,x,x,T, T,T,x,T, T,T,x,T, x,T,x,x, T,T,x,T, T,x,T,x, x,x,T,x, T,x,T,x, x,T,x,x, x,x,T,x, T,x,x,x, x,T,T,x, x,T,x,x, T,x,x,T, x,T,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,T, x,T,x,T, T,T,T,T, x,x,x,T, T,T,T,x, T,x,T,x, x,T,T,T, x,T,x,T, T,T,T,T, T,T,T,T, T,x,x,x, T,T,x,T, x,x,x,x, x,x}, - {x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,T, T,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,T,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,T,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, T,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x} + {T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,T,T, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, x,T,x,x, T,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,x, T,x,T,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,T, x,x,T,x, x,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,T, x,x,x,x, T,T,x,x, T,T,x,x, x,x,x,x, x,T,T,T, T,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, T,T,x,x, x,T,x,x, T,x,T,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,T, x,x,T,x, x,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,T, x,x,x,x, T,x,x,x, T,T,x,x, x,x,x,x, x,T,T,T, T,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,T,x,x, x,x,x,x, x,x,x,T, x,x,T,T, T,T,T,x, T,x,x,x, x,x,x,x, T,T,x,x, T,x,T,x, x,x,T,T, T,x,x,x, x,x,T,x, x,x,x,x, T,x,x,T, T,x,x,T, T,x,x,x, x,x,x,x, T,T,T,x, x,x,T,x, x,x,x,T, T,x,x,T, x,T,x,x, x,T,x,T, T,T,x,T, T,T,T,T, T,x,T,x, x,x,x,x, x,x,x,T, T,x,x,T, x,x,x,x, x,T,T,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, T,x,T,T, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,x,T, T,T,x,T, x,T,x,T, T,x,T,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,T, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,T,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,x,T,x, x,x,x,x, x,x,x,x, T,x,x,x, T,x,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, T,T,T,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,x,T, T,T,x,T, x,T,T,T, T,x,T,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,T,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,x,T, T,T,x,T, x,T,T,T, T,x,T,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, T,x,x,T, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,x,x, x,T,T,T, T,T,T,T, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,x,T, T,x,T,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, x,x,T,T, x,x,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,T,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,T, x,x,x,x, T,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, T,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,T,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,T,x, x,T,T,T, T,T,T,T, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,T,T, T,T,T,x, x,x,x,x, x,T,T,T, x,T,T,T, x,T,x,T, x,x,T,T, x,T,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,x,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,T,x,T, x,T,T,T, T,T,x,x, x,T,T,T, T,x,T,x, T,x,x,T, T,T,x,T, x,T,T,T, T,T,T,T, T,T,T,x, x,x,T,T, x,T,x,x, x,x,x,x}, + {x,T,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,T,T,T, T,T,T,T, x,x,T,T, T,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,T,T,T, x,T,T,T, T,T,T,T, T,T,x,T, T,x,T,x, x,T,T,T, T,T,T,T, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,T,T, T,T,T,x, T,x,T,x, x,T,T,T, x,T,T,T, x,T,x,T, x,x,T,T, x,T,T,x, T,T,x,x, T,x,T,x, T,T,T,T, T,T,x,T, T,x,T,T, x,x,x,T, T,x,x,T, x,x,T,x, x,T,x,T, T,x,x,x, T,T,T,x, x,x,x,x, T,x,x,x, x,T,x,T, x,T,T,T, T,T,x,x, x,T,T,T, T,T,T,x, T,x,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x, x,x,T,T, x,T,x,x, T,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, T,x,x,T, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,x,x, x,T,T,T, T,T,T,T, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,x,T, T,x,T,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, T,x,T,T, x,x,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,T,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,T, x,x,x,x, T,x,T,x, T,T,x,x, x,T,x,T, T,T,T,T, T,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,T, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,x,x, x,T,T,T, T,T,T,T, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,x,T, T,x,T,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, x,x,T,T, x,x,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,x,T,x, x,T,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,T, x,x,x,x, T,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, T,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,T,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, T,x,x,T, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,x,x, x,T,T,T, T,T,T,T, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,x,T, T,x,T,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, x,x,T,T, x,x,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,x,T,x, x,T,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,T, x,x,x,x, T,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, T,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, T,x,x,T, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,T,x, x,T,T,T, T,T,T,T, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,T,T, T,T,T,x, x,x,x,x, x,T,T,T, x,T,T,T, x,T,x,T, T,x,T,T, x,T,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,T,x,T, x,T,T,T, T,T,x,x, x,T,T,T, T,x,T,x, T,x,T,T, T,T,x,T, x,T,T,T, T,T,T,T, T,T,T,x, x,x,T,T, x,T,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,x,x,T, T,x,x,T, T,x,T,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,x,x, x,T,T,T, T,T,T,T, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,x,T, T,x,T,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, T,x,T,T, x,x,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,T,T,x, x,T,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,T, x,x,x,x, T,x,T,x, T,T,x,x, x,T,x,T, T,T,T,T, T,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,x,x, x,T,T,T, T,T,T,T, T,x,T,T, T,x,x,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,x,T, T,x,T,x, x,x,x,x, x,T,x,x, x,x,T,T, x,x,x,T, x,x,T,T, x,x,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,x,T,x, x,T,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,T,T,T, x,x,x,x, T,x,x,x, T,T,x,x, x,T,x,T, T,T,T,T, T,T,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,T,x, x,T,T,T, T,T,T,T, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,T,T, T,T,T,x, x,x,T,x, x,T,T,T, x,T,T,T, x,T,x,T, x,x,T,T, x,T,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,x,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,T,x,T, x,T,T,T, T,T,x,x, x,T,T,T, T,x,T,x, T,x,x,T, T,T,x,T, x,T,T,T, T,T,T,T, T,T,T,x, x,x,T,T, x,T,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,T,T,T, T,T,T,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,T,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,T,T,T, T,T,T,T, x,x,T,T, T,T,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,T, x,T,T,T, x,T,T,T, x,T,T,T, T,T,x,T, T,x,T,x, x,T,T,T, T,T,T,T, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,T,T, T,T,T,x, T,x,T,x, x,T,T,T, x,T,T,T, x,T,x,T, x,x,T,T, x,T,T,x, T,T,x,x, T,x,T,x, T,T,T,T, T,T,x,T, T,x,T,T, x,x,x,T, T,x,x,T, x,x,T,x, x,T,x,T, T,x,x,x, T,T,T,x, x,x,x,x, T,x,x,x, x,T,x,T, x,T,T,T, T,T,x,x, x,T,T,T, T,T,T,x, T,x,x,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,T,x, x,x,T,T, x,T,x,x, T,x,x,x}, + {x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,T,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x}, + {x,x,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,x,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,T,T, x,x,x,T, x,T,T,T, T,T,x,T, T,x,T,x, x,T,T,T, T,T,T,T, T,x,T,T, T,T,T,T, T,T,T,T, T,T,T,T, T,T,x,x, x,T,T,T, T,T,T,x, x,x,x,x, x,T,T,T, x,T,T,T, x,T,x,T, x,x,T,T, x,T,T,x, T,x,x,x, T,x,T,x, T,x,x,T, T,x,x,x, T,x,T,x, x,x,x,T, T,x,x,T, x,x,T,x, x,T,x,T, T,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,T,x,T, x,T,T,T, T,T,x,x, x,T,T,T, T,x,T,x, T,x,x,T, T,T,x,T, x,T,T,T, T,T,T,T, T,T,T,x, x,x,T,T, x,T,x,x, x,x,x,x}, + {x,x,T,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,T, x,T,T,T, T,x,x,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, T,x,x,x, x,x,x,x, x,T,x,x, x,x,T,x, x,x,x,T, x,x,x,x, x,x,T,x, x,x,x,x, T,x,x,x, T,x,x,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,T,x,x, x,x,x,x, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,T, x,x,x,x, x,x,x,x, T,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,x,x,x, x,x,x,x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, T,T,T,T, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x} }; } // end Parser diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/VBNET.ATG b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/VBNET.ATG index e27a26d410..cfe20273df 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/VBNET.ATG +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/VBNET.ATG @@ -41,6 +41,8 @@ TOKENS "/" "\\" "." + "..." + ".@" "!" "-" "+" diff --git a/src/Libraries/NRefactory/Test/Lexer/VBNet/LexerTests.cs b/src/Libraries/NRefactory/Test/Lexer/VBNet/LexerTests.cs index 7180dd9ca3..a6caef99fd 100644 --- a/src/Libraries/NRefactory/Test/Lexer/VBNet/LexerTests.cs +++ b/src/Libraries/NRefactory/Test/Lexer/VBNet/LexerTests.cs @@ -65,6 +65,20 @@ namespace ICSharpCode.NRefactory.Tests.Lexer.VB Assert.AreEqual(Tokens.Dot, lexer.NextToken().Kind); } + [Test] + public void TestTripleDot() + { + ILexer lexer = GenerateLexer(new StringReader("...")); + Assert.AreEqual(Tokens.TripleDot, lexer.NextToken().Kind); + } + + [Test] + public void TestDotAt() + { + ILexer lexer = GenerateLexer(new StringReader(".@")); + Assert.AreEqual(Tokens.DotAt, lexer.NextToken().Kind); + } + [Test] public void TestExclamationMark() {