From d5ea71e4fa3fe49c7ea8b333e20587749a109cba Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sat, 5 Jun 2010 15:56:07 +0000 Subject: [PATCH] implemented handling of XML processing instructions git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5915 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- samples/NRefactoryDemo/NRefactoryDemo.csproj | 9 +- .../Project/Src/Lexer/VBNet/KeywordList.txt | 2 + .../Project/Src/Lexer/VBNet/Lexer.cs | 13 +- .../Project/Src/Lexer/VBNet/Tokens.cs | 434 +- .../VBNet/Experimental/ExpressionFinder.atg | 38 +- .../Src/Parser/VBNet/Experimental/Parser.cs | 3227 +++++++----- .../VBNet/Experimental/Test/ParserTests.cs | 4 +- .../Experimental/Test/VBNetParserTests.cs | 37 - .../Test/VBParserExperiment.csproj | 1 - .../Experimental/Test/XmlModeLexerTests.cs | 297 +- .../Project/Src/Parser/VBNet/Parser.cs | 4646 +++++++++-------- .../Project/Src/Parser/VBNet/VBNET.ATG | 2 + 12 files changed, 4654 insertions(+), 4056 deletions(-) delete mode 100644 src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/VBNetParserTests.cs diff --git a/samples/NRefactoryDemo/NRefactoryDemo.csproj b/samples/NRefactoryDemo/NRefactoryDemo.csproj index 36522a0077..d9a52b7274 100644 --- a/samples/NRefactoryDemo/NRefactoryDemo.csproj +++ b/samples/NRefactoryDemo/NRefactoryDemo.csproj @@ -31,9 +31,6 @@ False - - ..\..\bin\ICSharpCode.NRefactory.dll - 4.0 @@ -73,5 +70,11 @@ EditDialog.cs + + + {3A9AE6AA-BC07-4A2F-972C-581E3AE2F195} + NRefactory + + \ No newline at end of file diff --git a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt index fd13ffa45f..c6ef0a917b 100644 --- a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt +++ b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/KeywordList.txt @@ -30,6 +30,8 @@ XmlOpenEndTag XmlContent XmlComment XmlCData +XmlProcessingInstructionStart +XmlProcessingInstructionEnd # SPECIAL_CHARACTERS Assign = "=" diff --git a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Lexer.cs b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Lexer.cs index e685b46e8a..cfbbad0901 100644 --- a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Lexer.cs +++ b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Lexer.cs @@ -107,6 +107,10 @@ namespace ICSharpCode.NRefactory.Parser.VB ReaderRead(); return new Token(Tokens.XmlStartInlineVB, x, y); } + if (ReaderPeek() == '?') { + ReaderRead(); + return new Token(Tokens.XmlProcessingInstructionStart, x, y); + } if (ReaderPeek() == '!') { ReaderRead(); Token token = ReadXmlCommentOrCData(x, y); @@ -132,7 +136,14 @@ namespace ICSharpCode.NRefactory.Parser.VB return new Token(Tokens.XmlEndInlineVB, x, y); } break; - case '>': /* workaround for XML Imports */ + case '?': + if (ReaderPeek() == '>') { + ReaderRead(); + return new Token(Tokens.XmlProcessingInstructionEnd, x, y); + } + break; + case '>': + /* workaround for XML Imports */ if (inXmlCloseTag || (inXmlTag && ef.CurrentContext == Context.Global)) level--; wasComment = false; diff --git a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs index 98b0e72671..e5913b5339 100644 --- a/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs +++ b/src/Libraries/NRefactory/Project/Src/Lexer/VBNet/Tokens.cs @@ -26,226 +26,228 @@ namespace ICSharpCode.NRefactory.Parser.VB public const int XmlContent = 16; public const int XmlComment = 17; public const int XmlCData = 18; + public const int XmlProcessingInstructionStart = 19; + public const int XmlProcessingInstructionEnd = 20; // ----- special character ----- - public const int Assign = 19; - public const int Colon = 20; - public const int Comma = 21; - public const int ConcatString = 22; - public const int Div = 23; - public const int DivInteger = 24; - public const int Dot = 25; - public const int ExclamationMark = 26; - public const int Minus = 27; - public const int Plus = 28; - public const int Power = 29; - public const int QuestionMark = 30; - public const int Times = 31; - public const int OpenCurlyBrace = 32; - public const int CloseCurlyBrace = 33; - public const int OpenParenthesis = 34; - public const int CloseParenthesis = 35; - public const int GreaterThan = 36; - public const int LessThan = 37; - public const int NotEqual = 38; - public const int GreaterEqual = 39; - public const int LessEqual = 40; - public const int ShiftLeft = 41; - public const int ShiftRight = 42; - public const int PlusAssign = 43; - public const int PowerAssign = 44; - public const int MinusAssign = 45; - public const int TimesAssign = 46; - public const int DivAssign = 47; - public const int DivIntegerAssign = 48; - public const int ShiftLeftAssign = 49; - public const int ShiftRightAssign = 50; - public const int ConcatStringAssign = 51; - public const int ColonAssign = 52; + public const int Assign = 21; + public const int Colon = 22; + public const int Comma = 23; + public const int ConcatString = 24; + 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; // ----- keywords ----- - public const int AddHandler = 53; - public const int AddressOf = 54; - public const int Aggregate = 55; - public const int Alias = 56; - public const int And = 57; - public const int AndAlso = 58; - public const int Ansi = 59; - public const int As = 60; - public const int Ascending = 61; - public const int Assembly = 62; - public const int Auto = 63; - public const int Binary = 64; - public const int Boolean = 65; - public const int ByRef = 66; - public const int By = 67; - public const int Byte = 68; - public const int ByVal = 69; - public const int Call = 70; - public const int Case = 71; - public const int Catch = 72; - public const int CBool = 73; - public const int CByte = 74; - public const int CChar = 75; - public const int CDate = 76; - public const int CDbl = 77; - public const int CDec = 78; - public const int Char = 79; - public const int CInt = 80; - public const int Class = 81; - public const int CLng = 82; - public const int CObj = 83; - public const int Compare = 84; - public const int Const = 85; - public const int Continue = 86; - public const int CSByte = 87; - public const int CShort = 88; - public const int CSng = 89; - public const int CStr = 90; - public const int CType = 91; - public const int CUInt = 92; - public const int CULng = 93; - public const int CUShort = 94; - public const int Custom = 95; - public const int Date = 96; - public const int Decimal = 97; - public const int Declare = 98; - public const int Default = 99; - public const int Delegate = 100; - public const int Descending = 101; - public const int Dim = 102; - public const int DirectCast = 103; - public const int Distinct = 104; - public const int Do = 105; - public const int Double = 106; - public const int Each = 107; - public const int Else = 108; - public const int ElseIf = 109; - public const int End = 110; - public const int EndIf = 111; - public const int Enum = 112; - new public const int Equals = 113; - public const int Erase = 114; - public const int Error = 115; - public const int Event = 116; - public const int Exit = 117; - public const int Explicit = 118; - public const int False = 119; - public const int Finally = 120; - public const int For = 121; - public const int Friend = 122; - public const int From = 123; - public const int Function = 124; - public const int Get = 125; - new public const int GetType = 126; - public const int Global = 127; - public const int GoSub = 128; - public const int GoTo = 129; - public const int Group = 130; - public const int Handles = 131; - public const int If = 132; - public const int Implements = 133; - public const int Imports = 134; - public const int In = 135; - public const int Infer = 136; - public const int Inherits = 137; - public const int Integer = 138; - public const int Interface = 139; - public const int Into = 140; - public const int Is = 141; - public const int IsNot = 142; - public const int Join = 143; - public const int Key = 144; - public const int Let = 145; - public const int Lib = 146; - public const int Like = 147; - public const int Long = 148; - public const int Loop = 149; - public const int Me = 150; - public const int Mod = 151; - public const int Module = 152; - public const int MustInherit = 153; - public const int MustOverride = 154; - public const int MyBase = 155; - public const int MyClass = 156; - public const int Namespace = 157; - public const int Narrowing = 158; - public const int New = 159; - public const int Next = 160; - public const int Not = 161; - public const int Nothing = 162; - public const int NotInheritable = 163; - public const int NotOverridable = 164; - public const int Object = 165; - public const int Of = 166; - public const int Off = 167; - public const int On = 168; - public const int Operator = 169; - public const int Option = 170; - public const int Optional = 171; - public const int Or = 172; - public const int Order = 173; - public const int OrElse = 174; - public const int Overloads = 175; - public const int Overridable = 176; - public const int Overrides = 177; - public const int ParamArray = 178; - public const int Partial = 179; - public const int Preserve = 180; - public const int Private = 181; - public const int Property = 182; - public const int Protected = 183; - public const int Public = 184; - public const int RaiseEvent = 185; - public const int ReadOnly = 186; - public const int ReDim = 187; - public const int Rem = 188; - public const int RemoveHandler = 189; - public const int Resume = 190; - public const int Return = 191; - public const int SByte = 192; - public const int Select = 193; - public const int Set = 194; - public const int Shadows = 195; - public const int Shared = 196; - public const int Short = 197; - public const int Single = 198; - public const int Skip = 199; - public const int Static = 200; - public const int Step = 201; - public const int Stop = 202; - public const int Strict = 203; - public const int String = 204; - public const int Structure = 205; - public const int Sub = 206; - public const int SyncLock = 207; - public const int Take = 208; - public const int Text = 209; - public const int Then = 210; - public const int Throw = 211; - public const int To = 212; - public const int True = 213; - public const int Try = 214; - public const int TryCast = 215; - public const int TypeOf = 216; - public const int UInteger = 217; - public const int ULong = 218; - public const int Unicode = 219; - public const int Until = 220; - public const int UShort = 221; - public const int Using = 222; - public const int Variant = 223; - public const int Wend = 224; - public const int When = 225; - public const int Where = 226; - public const int While = 227; - public const int Widening = 228; - public const int With = 229; - public const int WithEvents = 230; - public const int WriteOnly = 231; - public const int Xor = 232; + 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 MaxToken = 233; + public const int MaxToken = 235; static BitArray NewSet(params int[] values) { BitArray bitArray = new BitArray(MaxToken); @@ -281,6 +283,8 @@ namespace ICSharpCode.NRefactory.Parser.VB "", "", "", + "", + "", // ----- special character ----- "=", ":", 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 55bb157593..8ab7c6f3c2 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.atg +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/ExpressionFinder.atg @@ -31,6 +31,8 @@ TOKENS XmlContent XmlComment XmlCData + XmlProcessingInstructionStart + XmlProcessingInstructionEnd /* ----- special character ----- */ "=" @@ -302,7 +304,10 @@ MemberDeclaration = { AttributeBlock } { MemberModifier } ( MemberVariableOrConstantDeclaration | - SubOrFunctionDeclaration + SubOrFunctionDeclaration | + ExternalMemberDeclaration | + EventMemberDeclaration | + OperatorDeclaration ) (. PopContext(); .) . @@ -315,6 +320,31 @@ SubOrFunctionDeclaration = "End" ("Sub" | "Function") StatementTerminator . +ExternalMemberDeclaration = + "Declare" [ "Ansi" | "Unicode" | "Auto" ] ( "Sub" | "Function" ) Identifier + "Lib" LiteralString [ "Alias" LiteralString ] [ "(" [ ParameterList ] ")" ] StatementTerminator +. + +EventMemberDeclaration = + [ "Custom" ] "Event" Identifier ( "As" TypeName | [ "(" [ ParameterList ] ")" ] ) + [ "Implements" TypeName "." IdentifierOrKeyword { "," TypeName "." IdentifierOrKeyword } ] + StatementTerminator + [ + { + { AttributeBlock } ( "AddHandler" | "RemoveHandler" | "RaiseEvent" ) "(" ParameterList ")" EOL + Block + "End" ( "AddHandler" | "RemoveHandler" | "RaiseEvent" ) StatementTerminator + } + "End" "Event" StatementTerminator + ] +. + +OperatorDeclaration = + "Operator" ANY "(" ParameterList ")" [ "As" { AttributeBlock } TypeName ] EOL + Block + "End" "Operator" StatementTerminator +. + MemberVariableOrConstantDeclaration = [ "Const" ] Identifier [ "As" TypeName ] [ "=" Expression ] StatementTerminator . @@ -344,7 +374,7 @@ Expression = ( Identifier [ "(" "Of" TypeName { "," TypeName } ")" ] ) | ( "AddressOf" Expression) | - ( XmlOpenTag (. PushContext(Context.Xml); .) ANY ">" (. PopContext(); .) ) + ( XmlOpenTag (. PushContext(Context.Xml); .) ANY XmlCloseTag (. PopContext(); .) ) ) . @@ -470,6 +500,9 @@ MemberModifier = "Overloads" | "Partial" | "WithEvents" | + "MustOverride" | + "Widening" | + "Narrowing" | "Dim" . @@ -480,6 +513,5 @@ ParameterModifier = "ParamArray" . - END ExpressionFinder. 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 76bbb8f4c8..3971716367 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Parser.cs +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Parser.cs @@ -56,7 +56,7 @@ int currentState = 1; } case 3: { if (t == null) break; - if (t.kind == 170) { + if (t.kind == 172) { goto case 2; } else { goto case 5; @@ -68,7 +68,7 @@ int currentState = 1; } case 5: { if (t == null) break; - if (t.kind == 134) { + if (t.kind == 136) { goto case 4; } else { goto case 7; @@ -80,7 +80,7 @@ int currentState = 1; } case 7: { if (t == null) break; - if (t.kind == 37) { + if (t.kind == 39) { goto case 6; } else { goto case 9; @@ -111,7 +111,7 @@ int currentState = 1; } case 12: { if (t == null) break; - Expect(20, t); // ":" + Expect(22, t); // ":" currentState = stateStack.Pop(); break; } @@ -125,7 +125,7 @@ int currentState = 1; } case 14: { if (t == null) break; - if (t.kind == 20) { + if (t.kind == 22) { goto case 12; } else { Error(t); @@ -135,7 +135,7 @@ int currentState = 1; } case 15: { // start of OptionStatement if (t == null) break; - Expect(170, t); // "Option" + Expect(172, t); // "Option" currentState = 17; break; } @@ -157,7 +157,7 @@ int currentState = 1; } case 19: { // start of ImportsStatement if (t == null) break; - Expect(134, t); // "Imports" + Expect(136, t); // "Imports" currentState = 20; break; } @@ -183,7 +183,7 @@ int currentState = 1; } case 24: { // start of AttributeBlock if (t == null) break; - Expect(37, t); // "<" + Expect(39, t); // "<" currentState = 25; break; } @@ -206,7 +206,7 @@ int currentState = 1; } case 28: { if (t == null) break; - Expect(36, t); // ">" + Expect(38, t); // ">" currentState = 29; break; } @@ -237,7 +237,7 @@ int currentState = 1; } case 34: { // start of NamespaceMemberDeclaration if (t == null) break; - if (t.kind == 157) { + if (t.kind == 159) { goto case 32; } else { goto case 35; @@ -255,7 +255,7 @@ int currentState = 1; } case 36: { // start of NamespaceDeclaration if (t == null) break; - Expect(157, t); // "Namespace" + Expect(159, t); // "Namespace" currentState = 38; break; } @@ -290,13 +290,13 @@ int currentState = 1; } case 42: { if (t == null) break; - Expect(110, t); // "End" + Expect(112, t); // "End" currentState = 43; break; } case 43: { if (t == null) break; - Expect(157, t); // "Namespace" + Expect(159, t); // "Namespace" currentState = 44; break; } @@ -309,7 +309,7 @@ int currentState = 1; } case 46: { // start of TypeDeclaration if (t == null) break; - if (t.kind == 37) { + if (t.kind == 39) { goto case 45; } else { goto case 48; @@ -317,7 +317,7 @@ int currentState = 1; } case 47: { stateStack.Push(48); - goto case 443; // TypeModifier + goto case 538; // TypeModifier } case 48: { if (t == null) break; @@ -329,19 +329,19 @@ int currentState = 1; } case 49: { if (t == null) break; - Expect(152, t); // "Module" + Expect(154, t); // "Module" currentState = 54; break; } case 50: { if (t == null) break; - Expect(81, t); // "Class" + Expect(83, t); // "Class" currentState = 54; break; } case 51: { if (t == null) break; - if (t.kind == 152) { + if (t.kind == 154) { goto case 49; } else { goto case 52; @@ -349,7 +349,7 @@ int currentState = 1; } case 52: { if (t == null) break; - if (t.kind == 81) { + if (t.kind == 83) { goto case 50; } else { Error(t); @@ -391,25 +391,25 @@ int currentState = 1; } case 59: { if (t == null) break; - Expect(110, t); // "End" + Expect(112, t); // "End" currentState = 62; break; } case 60: { if (t == null) break; - Expect(152, t); // "Module" + Expect(154, t); // "Module" currentState = 64; break; } case 61: { if (t == null) break; - Expect(81, t); // "Class" + Expect(83, t); // "Class" currentState = 64; break; } case 62: { if (t == null) break; - if (t.kind == 152) { + if (t.kind == 154) { goto case 60; } else { goto case 63; @@ -417,7 +417,7 @@ int currentState = 1; } case 63: { if (t == null) break; - if (t.kind == 81) { + if (t.kind == 83) { goto case 61; } else { Error(t); @@ -443,7 +443,7 @@ int currentState = 1; } case 68: { if (t == null) break; - if (t.kind == 37) { + if (t.kind == 39) { goto case 67; } else { goto case 70; @@ -451,7 +451,7 @@ int currentState = 1; } case 69: { stateStack.Push(70); - goto case 447; // MemberModifier + goto case 542; // MemberModifier } case 70: { if (t == null) break; @@ -462,12 +462,12 @@ int currentState = 1; } } case 71: { - stateStack.Push(75); - goto case 99; // MemberVariableOrConstantDeclaration + stateStack.Push(81); + goto case 194; // MemberVariableOrConstantDeclaration } case 72: { - stateStack.Push(75); - goto case 78; // SubOrFunctionDeclaration + stateStack.Push(81); + goto case 84; // SubOrFunctionDeclaration } case 73: { if (t == null) break; @@ -479,2619 +479,3245 @@ int currentState = 1; } case 74: { if (t == null) break; - if (t.kind == 124 || t.kind == 206) { + if (t.kind == 126 || t.kind == 208) { goto case 72; } else { - Error(t); - goto case 75; + goto case 76; } } case 75: { - PopContext(); - currentState = stateStack.Pop(); - goto switchlbl; + stateStack.Push(81); + goto case 104; // ExternalMemberDeclaration } case 76: { if (t == null) break; - Expect(206, t); // "Sub" - currentState = 80; - break; + if (t.kind == 100) { + goto case 75; + } else { + goto case 78; + } } case 77: { - if (t == null) break; - Expect(124, t); // "Function" - currentState = 80; - break; + stateStack.Push(81); + goto case 129; // EventMemberDeclaration } - case 78: { // start of SubOrFunctionDeclaration + case 78: { if (t == null) break; - if (t.kind == 206) { - goto case 76; + if (t.kind == 97 || t.kind == 118) { + goto case 77; } else { - goto case 79; + goto case 80; } } case 79: { + stateStack.Push(81); + goto case 178; // OperatorDeclaration + } + case 80: { if (t == null) break; - if (t.kind == 124) { - goto case 77; + if (t.kind == 171) { + goto case 79; } else { Error(t); - goto case 80; + goto case 81; } } - case 80: { - PushContext(Context.IdentifierExpected); - goto case 81; - } case 81: { - if (t == null) break; - currentState = 82; - break; + PopContext(); + currentState = stateStack.Pop(); + goto switchlbl; } case 82: { - PopContext(); - goto case 87; + if (t == null) break; + Expect(208, t); // "Sub" + currentState = 86; + break; } case 83: { if (t == null) break; - Expect(34, t); // "(" - currentState = 85; + Expect(126, t); // "Function" + currentState = 86; break; } - case 84: { - stateStack.Push(86); - goto case 108; // ParameterList + case 84: { // start of SubOrFunctionDeclaration + if (t == null) break; + if (t.kind == 208) { + goto case 82; + } else { + goto case 85; + } } case 85: { if (t == null) break; - if (set[9, t.kind]) { - goto case 84; + if (t.kind == 126) { + goto case 83; } else { + Error(t); goto case 86; } } case 86: { - if (t == null) break; - Expect(35, t); // ")" - currentState = 90; - break; + PushContext(Context.IdentifierExpected); + goto case 87; } case 87: { if (t == null) break; - if (t.kind == 34) { - goto case 83; - } else { - goto case 90; - } + currentState = 88; + break; } case 88: { - if (t == null) break; - Expect(60, t); // "As" - currentState = 89; - break; + PopContext(); + goto case 93; } case 89: { - stateStack.Push(91); - goto case 192; // TypeName + if (t == null) break; + Expect(36, t); // "(" + currentState = 91; + break; } case 90: { + stateStack.Push(92); + goto case 203; // ParameterList + } + case 91: { if (t == null) break; - if (t.kind == 60) { - goto case 88; + if (set[9, t.kind]) { + goto case 90; } else { - goto case 91; + goto case 92; } } - case 91: { - stateStack.Push(92); - goto case 123; // Block - } case 92: { if (t == null) break; - Expect(110, t); // "End" - currentState = 95; + Expect(37, t); // ")" + currentState = 96; break; } case 93: { if (t == null) break; - Expect(206, t); // "Sub" - currentState = 97; - break; + if (t.kind == 36) { + goto case 89; + } else { + goto case 96; + } } case 94: { if (t == null) break; - Expect(124, t); // "Function" - currentState = 97; + Expect(62, t); // "As" + currentState = 95; break; } case 95: { - if (t == null) break; - if (t.kind == 206) { - goto case 93; - } else { - goto case 96; - } + stateStack.Push(97); + goto case 287; // TypeName } case 96: { if (t == null) break; - if (t.kind == 124) { + if (t.kind == 62) { goto case 94; } else { - Error(t); goto case 97; } } case 97: { - goto case 13; // StatementTerminator + stateStack.Push(98); + goto case 218; // Block } case 98: { if (t == null) break; - Expect(85, t); // "Const" - currentState = 100; + Expect(112, t); // "End" + currentState = 101; break; } - case 99: { // start of MemberVariableOrConstantDeclaration + case 99: { if (t == null) break; - if (t.kind == 85) { - goto case 98; - } else { - goto case 100; - } + Expect(208, t); // "Sub" + currentState = 103; + break; } case 100: { - stateStack.Push(103); - goto case 371; // Identifier + if (t == null) break; + Expect(126, t); // "Function" + currentState = 103; + break; } case 101: { if (t == null) break; - Expect(60, t); // "As" - currentState = 102; - break; + if (t.kind == 208) { + goto case 99; + } else { + goto case 102; + } } case 102: { - stateStack.Push(106); - goto case 192; // TypeName - } - case 103: { if (t == null) break; - if (t.kind == 60) { - goto case 101; + if (t.kind == 126) { + goto case 100; } else { - goto case 106; + Error(t); + goto case 103; } } - case 104: { + case 103: { + goto case 13; // StatementTerminator + } + case 104: { // start of ExternalMemberDeclaration if (t == null) break; - Expect(19, t); // "=" - currentState = 105; + Expect(100, t); // "Declare" + currentState = 111; break; } case 105: { - stateStack.Push(107); - goto case 132; // Expression + if (t == null) break; + Expect(61, t); // "Ansi" + currentState = 114; + break; } case 106: { if (t == null) break; - if (t.kind == 19) { - goto case 104; - } else { - goto case 107; - } + Expect(221, t); // "Unicode" + currentState = 114; + break; } case 107: { - goto case 13; // StatementTerminator + if (t == null) break; + if (t.kind == 61) { + goto case 105; + } else { + goto case 108; + } } - case 108: { // start of ParameterList - stateStack.Push(111); - goto case 113; // Parameter + case 108: { + if (t == null) break; + if (t.kind == 221) { + goto case 106; + } else { + goto case 110; + } } case 109: { if (t == null) break; - Expect(21, t); // "," - currentState = 110; + Expect(65, t); // "Auto" + currentState = 114; break; } case 110: { - stateStack.Push(111); - goto case 113; // Parameter + if (t == null) break; + if (t.kind == 65) { + goto case 109; + } else { + Error(t); + goto case 114; + } } case 111: { if (t == null) break; - if (t.kind == 21) { - goto case 109; + if (t.kind == 61 || t.kind == 65 || t.kind == 221) { + goto case 107; } else { - currentState = stateStack.Pop(); - goto switchlbl; + goto case 114; } } case 112: { - stateStack.Push(113); - goto case 24; // AttributeBlock + if (t == null) break; + Expect(208, t); // "Sub" + currentState = 116; + break; + } + case 113: { + if (t == null) break; + Expect(126, t); // "Function" + currentState = 116; + break; } - case 113: { // start of Parameter + case 114: { if (t == null) break; - if (t.kind == 37) { + if (t.kind == 208) { goto case 112; } else { goto case 115; } } - case 114: { - stateStack.Push(115); - goto case 467; // ParameterModifier - } case 115: { if (t == null) break; - if (set[10, t.kind]) { - goto case 114; + if (t.kind == 126) { + goto case 113; } else { + Error(t); goto case 116; } } case 116: { - stateStack.Push(119); - goto case 371; // Identifier + stateStack.Push(117); + goto case 466; // Identifier } case 117: { if (t == null) break; - Expect(60, t); // "As" + Expect(148, t); // "Lib" currentState = 118; break; } case 118: { - stateStack.Push(122); - goto case 192; // TypeName + if (t == null) break; + Expect(3, t); // LiteralString + currentState = 121; + break; } case 119: { if (t == null) break; - if (t.kind == 60) { - goto case 117; - } else { - goto case 122; - } + Expect(58, t); // "Alias" + currentState = 120; + break; } case 120: { if (t == null) break; - Expect(19, t); // "=" - currentState = 121; + Expect(3, t); // LiteralString + currentState = 126; break; } case 121: { - goto case 132; // Expression - } - case 122: { if (t == null) break; - if (t.kind == 19) { - goto case 120; + if (t.kind == 58) { + goto case 119; } else { - currentState = stateStack.Pop(); - goto switchlbl; + goto case 126; } } - case 123: { // start of Block - PushContext(Context.Body); - goto case 124; + case 122: { + if (t == null) break; + Expect(36, t); // "(" + currentState = 124; + break; + } + case 123: { + stateStack.Push(125); + goto case 203; // ParameterList } case 124: { - stateStack.Push(126); - goto case 13; // StatementTerminator + if (t == null) break; + if (set[9, t.kind]) { + goto case 123; + } else { + goto case 125; + } } case 125: { - stateStack.Push(126); - goto case 13; // StatementTerminator + if (t == null) break; + Expect(37, t); // ")" + currentState = 127; + break; } case 126: { if (t == null) break; - if (t.kind == 1 || t.kind == 20) { - goto case 125; + if (t.kind == 36) { + goto case 122; } else { - goto case 128; + goto case 127; } } case 127: { - stateStack.Push(128); - goto case 281; // Statement + goto case 13; // StatementTerminator } case 128: { if (t == null) break; - if (set[11, t.kind]) { - goto case 127; + Expect(97, t); // "Custom" + currentState = 130; + break; + } + case 129: { // start of EventMemberDeclaration + if (t == null) break; + if (t.kind == 97) { + goto case 128; } else { goto case 130; } } - case 129: { - stateStack.Push(130); - goto case 13; // StatementTerminator - } case 130: { if (t == null) break; - if (t.kind == 1 || t.kind == 20) { - goto case 129; - } else { - goto case 131; - } + Expect(118, t); // "Event" + currentState = 131; + break; } case 131: { - PopContext(); - currentState = stateStack.Pop(); - goto switchlbl; + stateStack.Push(139); + goto case 466; // Identifier } - case 132: { // start of Expression - nextTokenIsPotentialStartOfXmlMode = true; - goto case 137; + case 132: { + if (t == null) break; + Expect(62, t); // "As" + currentState = 133; + break; } case 133: { - goto case 217; // Literal + stateStack.Push(150); + goto case 287; // TypeName } case 134: { if (t == null) break; - Expect(34, t); // "(" - currentState = 135; + Expect(36, t); // "(" + currentState = 136; break; } case 135: { - stateStack.Push(136); - goto case 132; // Expression + stateStack.Push(137); + goto case 203; // ParameterList } case 136: { if (t == null) break; - Expect(35, t); // ")" - currentState = stateStack.Pop(); - break; + if (set[9, t.kind]) { + goto case 135; + } else { + goto case 137; + } } case 137: { if (t == null) break; - if (set[12, t.kind]) { - goto case 133; - } else { - goto case 138; - } + Expect(37, t); // ")" + currentState = 150; + break; } case 138: { if (t == null) break; - if (t.kind == 34) { + if (t.kind == 36) { goto case 134; } else { - goto case 148; + goto case 150; } } case 139: { - stateStack.Push(147); - goto case 371; // Identifier + if (t == null) break; + if (t.kind == 62) { + goto case 132; + } else { + goto case 140; + } } case 140: { if (t == null) break; - Expect(34, t); // "(" - currentState = 141; - break; + if (set[10, t.kind]) { + goto case 138; + } else { + Error(t); + goto case 150; + } } case 141: { if (t == null) break; - Expect(166, t); // "Of" + Expect(135, t); // "Implements" currentState = 142; break; } case 142: { - stateStack.Push(145); - goto case 192; // TypeName + stateStack.Push(143); + goto case 287; // TypeName } case 143: { if (t == null) break; - Expect(21, t); // "," + Expect(27, t); // "." currentState = 144; break; } case 144: { - stateStack.Push(145); - goto case 192; // TypeName + stateStack.Push(149); + goto case 309; // IdentifierOrKeyword } case 145: { if (t == null) break; - if (t.kind == 21) { - goto case 143; - } else { - goto case 146; - } + Expect(23, t); // "," + currentState = 146; + break; } case 146: { + stateStack.Push(147); + goto case 287; // TypeName + } + case 147: { if (t == null) break; - Expect(35, t); // ")" - currentState = stateStack.Pop(); + Expect(27, t); // "." + currentState = 148; break; } - case 147: { + case 148: { + stateStack.Push(149); + goto case 309; // IdentifierOrKeyword + } + case 149: { if (t == null) break; - if (t.kind == 34) { - goto case 140; + if (t.kind == 23) { + goto case 145; } else { - currentState = stateStack.Pop(); - goto switchlbl; + goto case 151; } } - case 148: { + case 150: { if (t == null) break; - if (set[13, t.kind]) { - goto case 139; + if (t.kind == 135) { + goto case 141; } else { goto case 151; } } - case 149: { - if (t == null) break; - Expect(54, t); // "AddressOf" - currentState = 150; - break; + case 151: { + stateStack.Push(177); + goto case 13; // StatementTerminator } - case 150: { - goto case 132; // Expression + case 152: { + stateStack.Push(153); + goto case 24; // AttributeBlock } - case 151: { + case 153: { if (t == null) break; - if (t.kind == 54) { - goto case 149; + if (t.kind == 39) { + goto case 152; } else { - goto case 157; + goto case 156; } } - case 152: { + case 154: { if (t == null) break; - Expect(10, t); // XmlOpenTag - currentState = 153; - break; - } - case 153: { - PushContext(Context.Xml); - goto case 154; - } - case 154: { - if (t == null) break; - currentState = 155; + Expect(55, t); // "AddHandler" + currentState = 160; break; } case 155: { if (t == null) break; - Expect(36, t); // ">" - currentState = 156; + Expect(191, t); // "RemoveHandler" + currentState = 160; break; } case 156: { - PopContext(); - currentState = stateStack.Pop(); - goto switchlbl; + if (t == null) break; + if (t.kind == 55) { + goto case 154; + } else { + goto case 157; + } } case 157: { if (t == null) break; - if (t.kind == 10) { - goto case 152; + if (t.kind == 191) { + goto case 155; } else { - Error(t); - currentState = stateStack.Pop(); - goto switchlbl; + goto case 159; } } case 158: { if (t == null) break; - Expect(68, t); // "Byte" - currentState = stateStack.Pop(); + Expect(187, t); // "RaiseEvent" + currentState = 160; break; } case 159: { if (t == null) break; - Expect(192, t); // "SByte" - currentState = stateStack.Pop(); - break; - } - case 160: { // start of PrimitiveTypeName - if (t == null) break; - if (t.kind == 68) { + if (t.kind == 187) { goto case 158; } else { - goto case 161; + Error(t); + goto case 160; } } - case 161: { + case 160: { if (t == null) break; - if (t.kind == 192) { - goto case 159; - } else { - goto case 163; - } + Expect(36, t); // "(" + currentState = 161; + break; + } + case 161: { + stateStack.Push(162); + goto case 203; // ParameterList } case 162: { if (t == null) break; - Expect(221, t); // "UShort" - currentState = stateStack.Pop(); + Expect(37, t); // ")" + currentState = 163; break; } case 163: { if (t == null) break; - if (t.kind == 221) { - goto case 162; - } else { - goto case 165; - } + Expect(1, t); // EOL + currentState = 164; + break; } case 164: { - if (t == null) break; - Expect(197, t); // "Short" - currentState = stateStack.Pop(); - break; + stateStack.Push(165); + goto case 218; // Block } case 165: { if (t == null) break; - if (t.kind == 197) { - goto case 164; - } else { - goto case 167; - } + Expect(112, t); // "End" + currentState = 168; + break; } case 166: { if (t == null) break; - Expect(217, t); // "UInteger" - currentState = stateStack.Pop(); + Expect(55, t); // "AddHandler" + currentState = 172; break; } case 167: { if (t == null) break; - if (t.kind == 217) { + Expect(191, t); // "RemoveHandler" + currentState = 172; + break; + } + case 168: { + if (t == null) break; + if (t.kind == 55) { goto case 166; } else { goto case 169; } } - case 168: { - if (t == null) break; - Expect(138, t); // "Integer" - currentState = stateStack.Pop(); - break; - } case 169: { if (t == null) break; - if (t.kind == 138) { - goto case 168; + if (t.kind == 191) { + goto case 167; } else { goto case 171; } } case 170: { if (t == null) break; - Expect(218, t); // "ULong" - currentState = stateStack.Pop(); + Expect(187, t); // "RaiseEvent" + currentState = 172; break; } case 171: { if (t == null) break; - if (t.kind == 218) { + if (t.kind == 187) { goto case 170; } else { - goto case 173; + Error(t); + goto case 172; } } case 172: { - if (t == null) break; - Expect(148, t); // "Long" - currentState = stateStack.Pop(); - break; + stateStack.Push(173); + goto case 13; // StatementTerminator } case 173: { if (t == null) break; - if (t.kind == 148) { - goto case 172; + if (set[11, t.kind]) { + goto case 153; } else { - goto case 175; + goto case 174; } } case 174: { if (t == null) break; - Expect(198, t); // "Single" - currentState = stateStack.Pop(); + Expect(112, t); // "End" + currentState = 175; break; } case 175: { if (t == null) break; - if (t.kind == 198) { - goto case 174; - } else { - goto case 177; - } + Expect(118, t); // "Event" + currentState = 176; + break; } case 176: { - if (t == null) break; - Expect(106, t); // "Double" - currentState = stateStack.Pop(); - break; + goto case 13; // StatementTerminator } case 177: { if (t == null) break; - if (t.kind == 106) { - goto case 176; + if (set[12, t.kind]) { + goto case 173; } else { - goto case 179; + currentState = stateStack.Pop(); + goto switchlbl; } } - case 178: { + case 178: { // start of OperatorDeclaration if (t == null) break; - Expect(97, t); // "Decimal" - currentState = stateStack.Pop(); + Expect(171, t); // "Operator" + currentState = 179; break; } case 179: { if (t == null) break; - if (t.kind == 97) { - goto case 178; - } else { - goto case 181; - } + currentState = 180; + break; } case 180: { if (t == null) break; - Expect(65, t); // "Boolean" - currentState = stateStack.Pop(); + Expect(36, t); // "(" + currentState = 181; break; } case 181: { - if (t == null) break; - if (t.kind == 65) { - goto case 180; - } else { - goto case 183; - } + stateStack.Push(182); + goto case 203; // ParameterList } case 182: { if (t == null) break; - Expect(96, t); // "Date" - currentState = stateStack.Pop(); + Expect(37, t); // ")" + currentState = 187; break; } case 183: { if (t == null) break; - if (t.kind == 96) { - goto case 182; - } else { - goto case 185; - } + Expect(62, t); // "As" + currentState = 185; + break; } case 184: { - if (t == null) break; - Expect(79, t); // "Char" - currentState = stateStack.Pop(); - break; + stateStack.Push(185); + goto case 24; // AttributeBlock } case 185: { if (t == null) break; - if (t.kind == 79) { + if (t.kind == 39) { goto case 184; } else { - goto case 187; + goto case 186; } } case 186: { - if (t == null) break; - Expect(204, t); // "String" - currentState = stateStack.Pop(); - break; + stateStack.Push(188); + goto case 287; // TypeName } case 187: { if (t == null) break; - if (t.kind == 204) { - goto case 186; + if (t.kind == 62) { + goto case 183; } else { - goto case 189; + goto case 188; } } case 188: { if (t == null) break; - Expect(165, t); // "Object" - currentState = stateStack.Pop(); + Expect(1, t); // EOL + currentState = 189; break; } case 189: { - if (t == null) break; - if (t.kind == 165) { - goto case 188; - } else { - Error(t); - currentState = stateStack.Pop(); - goto switchlbl; - } + stateStack.Push(190); + goto case 218; // Block } case 190: { if (t == null) break; - Expect(127, t); // "Global" - currentState = 197; + Expect(112, t); // "End" + currentState = 191; break; } case 191: { - stateStack.Push(197); - goto case 371; // Identifier - } - case 192: { // start of TypeName if (t == null) break; - if (t.kind == 127) { - goto case 190; - } else { - goto case 193; - } + Expect(171, t); // "Operator" + currentState = 192; + break; + } + case 192: { + goto case 13; // StatementTerminator } case 193: { if (t == null) break; - if (set[13, t.kind]) { - goto case 191; + Expect(87, t); // "Const" + currentState = 195; + break; + } + case 194: { // start of MemberVariableOrConstantDeclaration + if (t == null) break; + if (t.kind == 87) { + goto case 193; } else { goto case 195; } } - case 194: { - stateStack.Push(197); - goto case 160; // PrimitiveTypeName - } case 195: { - if (t == null) break; - if (set[14, t.kind]) { - goto case 194; - } else { - Error(t); - goto case 197; - } + stateStack.Push(198); + goto case 466; // Identifier } case 196: { - stateStack.Push(197); - goto case 203; // TypeSuffix + if (t == null) break; + Expect(62, t); // "As" + currentState = 197; + break; } case 197: { + stateStack.Push(201); + goto case 287; // TypeName + } + case 198: { if (t == null) break; - if (t.kind == 34) { + if (t.kind == 62) { goto case 196; } else { - goto case 202; + goto case 201; } } - case 198: { + case 199: { if (t == null) break; - Expect(25, t); // "." - currentState = 199; + Expect(21, t); // "=" + currentState = 200; break; } - case 199: { - stateStack.Push(201); - goto case 214; // IdentifierOrKeyword - } case 200: { - stateStack.Push(201); - goto case 203; // TypeSuffix + stateStack.Push(202); + goto case 227; // Expression } case 201: { if (t == null) break; - if (t.kind == 34) { - goto case 200; + if (t.kind == 21) { + goto case 199; } else { goto case 202; } } case 202: { - if (t == null) break; - if (t.kind == 25) { - goto case 198; - } else { - currentState = stateStack.Pop(); - goto switchlbl; - } + goto case 13; // StatementTerminator } - case 203: { // start of TypeSuffix - if (t == null) break; - Expect(34, t); // "(" - currentState = 211; - break; + case 203: { // start of ParameterList + stateStack.Push(206); + goto case 208; // Parameter } case 204: { if (t == null) break; - Expect(166, t); // "Of" + Expect(23, t); // "," currentState = 205; break; } case 205: { - stateStack.Push(208); - goto case 192; // TypeName + stateStack.Push(206); + goto case 208; // Parameter } case 206: { if (t == null) break; - Expect(21, t); // "," - currentState = 207; - break; + if (t.kind == 23) { + goto case 204; + } else { + currentState = stateStack.Pop(); + goto switchlbl; + } } case 207: { stateStack.Push(208); - goto case 192; // TypeName + goto case 24; // AttributeBlock } - case 208: { + case 208: { // start of Parameter if (t == null) break; - if (t.kind == 21) { - goto case 206; + if (t.kind == 39) { + goto case 207; } else { - goto case 213; + goto case 210; } } case 209: { - if (t == null) break; - Expect(21, t); // "," - currentState = 210; - break; + stateStack.Push(210); + goto case 568; // ParameterModifier } case 210: { if (t == null) break; - if (t.kind == 21) { + if (set[13, t.kind]) { goto case 209; } else { - goto case 213; + goto case 211; } } case 211: { - if (t == null) break; - if (t.kind == 166) { - goto case 204; - } else { - goto case 212; - } + stateStack.Push(214); + goto case 466; // Identifier } case 212: { if (t == null) break; - if (t.kind == 21 || t.kind == 35) { - goto case 210; - } else { - Error(t); - goto case 213; - } + Expect(62, t); // "As" + currentState = 213; + break; } case 213: { - if (t == null) break; - Expect(35, t); // ")" - currentState = stateStack.Pop(); - break; + stateStack.Push(217); + goto case 287; // TypeName } - case 214: { // start of IdentifierOrKeyword + case 214: { if (t == null) break; - currentState = stateStack.Pop(); - break; + if (t.kind == 62) { + goto case 212; + } else { + goto case 217; + } } case 215: { if (t == null) break; - Expect(3, t); // LiteralString - currentState = stateStack.Pop(); + Expect(21, t); // "=" + currentState = 216; break; } case 216: { - if (t == null) break; - Expect(4, t); // LiteralCharacter - currentState = stateStack.Pop(); - break; + goto case 227; // Expression } - case 217: { // start of Literal + case 217: { if (t == null) break; - if (t.kind == 3) { + if (t.kind == 21) { goto case 215; } else { - goto case 218; + currentState = stateStack.Pop(); + goto switchlbl; } } - case 218: { - if (t == null) break; - if (t.kind == 4) { - goto case 216; - } else { - goto case 220; - } + case 218: { // start of Block + PushContext(Context.Body); + goto case 219; } case 219: { - if (t == null) break; - Expect(5, t); // LiteralInteger - currentState = stateStack.Pop(); - break; + stateStack.Push(221); + goto case 13; // StatementTerminator } case 220: { - if (t == null) break; - if (t.kind == 5) { - goto case 219; - } else { - goto case 222; - } + stateStack.Push(221); + goto case 13; // StatementTerminator } case 221: { if (t == null) break; - Expect(6, t); // LiteralDouble - currentState = stateStack.Pop(); - break; - } - case 222: { - if (t == null) break; - if (t.kind == 6) { - goto case 221; + if (t.kind == 1 || t.kind == 22) { + goto case 220; } else { - goto case 224; + goto case 223; } } + case 222: { + stateStack.Push(223); + goto case 376; // Statement + } case 223: { if (t == null) break; - Expect(7, t); // LiteralSingle - currentState = stateStack.Pop(); - break; + if (set[14, t.kind]) { + goto case 222; + } else { + goto case 225; + } } case 224: { + stateStack.Push(225); + goto case 13; // StatementTerminator + } + case 225: { if (t == null) break; - if (t.kind == 7) { - goto case 223; + if (t.kind == 1 || t.kind == 22) { + goto case 224; } else { goto case 226; } } - case 225: { - if (t == null) break; + case 226: { + PopContext(); + currentState = stateStack.Pop(); + goto switchlbl; + } + case 227: { // start of Expression + nextTokenIsPotentialStartOfXmlMode = true; + goto case 232; + } + case 228: { + goto case 312; // Literal + } + case 229: { + if (t == null) break; + Expect(36, t); // "(" + currentState = 230; + break; + } + case 230: { + stateStack.Push(231); + goto case 227; // Expression + } + case 231: { + if (t == null) break; + Expect(37, t); // ")" + currentState = stateStack.Pop(); + break; + } + case 232: { + if (t == null) break; + if (set[15, t.kind]) { + goto case 228; + } else { + goto case 233; + } + } + case 233: { + if (t == null) break; + if (t.kind == 36) { + goto case 229; + } else { + goto case 243; + } + } + case 234: { + stateStack.Push(242); + goto case 466; // Identifier + } + case 235: { + if (t == null) break; + Expect(36, t); // "(" + currentState = 236; + break; + } + case 236: { + if (t == null) break; + Expect(168, t); // "Of" + currentState = 237; + break; + } + case 237: { + stateStack.Push(240); + goto case 287; // TypeName + } + case 238: { + if (t == null) break; + Expect(23, t); // "," + currentState = 239; + break; + } + case 239: { + stateStack.Push(240); + goto case 287; // TypeName + } + case 240: { + if (t == null) break; + if (t.kind == 23) { + goto case 238; + } else { + goto case 241; + } + } + case 241: { + if (t == null) break; + Expect(37, t); // ")" + currentState = stateStack.Pop(); + break; + } + case 242: { + if (t == null) break; + if (t.kind == 36) { + goto case 235; + } else { + currentState = stateStack.Pop(); + goto switchlbl; + } + } + case 243: { + if (t == null) break; + if (set[16, t.kind]) { + goto case 234; + } else { + goto case 246; + } + } + case 244: { + if (t == null) break; + Expect(56, t); // "AddressOf" + currentState = 245; + break; + } + case 245: { + goto case 227; // Expression + } + case 246: { + if (t == null) break; + if (t.kind == 56) { + goto case 244; + } else { + goto case 252; + } + } + case 247: { + if (t == null) break; + Expect(10, t); // XmlOpenTag + currentState = 248; + break; + } + case 248: { + PushContext(Context.Xml); + goto case 249; + } + case 249: { + if (t == null) break; + currentState = 250; + break; + } + case 250: { + if (t == null) break; + Expect(11, t); // XmlCloseTag + currentState = 251; + break; + } + case 251: { + PopContext(); + currentState = stateStack.Pop(); + goto switchlbl; + } + case 252: { + if (t == null) break; + if (t.kind == 10) { + goto case 247; + } else { + Error(t); + currentState = stateStack.Pop(); + goto switchlbl; + } + } + case 253: { + if (t == null) break; + Expect(70, t); // "Byte" + currentState = stateStack.Pop(); + break; + } + case 254: { + if (t == null) break; + Expect(194, t); // "SByte" + currentState = stateStack.Pop(); + break; + } + case 255: { // start of PrimitiveTypeName + if (t == null) break; + if (t.kind == 70) { + goto case 253; + } else { + goto case 256; + } + } + case 256: { + if (t == null) break; + if (t.kind == 194) { + goto case 254; + } else { + goto case 258; + } + } + case 257: { + if (t == null) break; + Expect(223, t); // "UShort" + currentState = stateStack.Pop(); + break; + } + case 258: { + if (t == null) break; + if (t.kind == 223) { + goto case 257; + } else { + goto case 260; + } + } + case 259: { + if (t == null) break; + Expect(199, t); // "Short" + currentState = stateStack.Pop(); + break; + } + case 260: { + if (t == null) break; + if (t.kind == 199) { + goto case 259; + } else { + goto case 262; + } + } + case 261: { + if (t == null) break; + Expect(219, t); // "UInteger" + currentState = stateStack.Pop(); + break; + } + case 262: { + if (t == null) break; + if (t.kind == 219) { + goto case 261; + } else { + goto case 264; + } + } + case 263: { + if (t == null) break; + Expect(140, t); // "Integer" + currentState = stateStack.Pop(); + break; + } + case 264: { + if (t == null) break; + if (t.kind == 140) { + goto case 263; + } else { + goto case 266; + } + } + case 265: { + if (t == null) break; + Expect(220, t); // "ULong" + currentState = stateStack.Pop(); + break; + } + case 266: { + if (t == null) break; + if (t.kind == 220) { + goto case 265; + } else { + goto case 268; + } + } + case 267: { + if (t == null) break; + Expect(150, t); // "Long" + currentState = stateStack.Pop(); + break; + } + case 268: { + if (t == null) break; + if (t.kind == 150) { + goto case 267; + } else { + goto case 270; + } + } + case 269: { + if (t == null) break; + Expect(200, t); // "Single" + currentState = stateStack.Pop(); + break; + } + case 270: { + if (t == null) break; + if (t.kind == 200) { + goto case 269; + } else { + goto case 272; + } + } + case 271: { + if (t == null) break; + Expect(108, t); // "Double" + currentState = stateStack.Pop(); + break; + } + case 272: { + if (t == null) break; + if (t.kind == 108) { + goto case 271; + } else { + goto case 274; + } + } + case 273: { + if (t == null) break; + Expect(99, t); // "Decimal" + currentState = stateStack.Pop(); + break; + } + case 274: { + if (t == null) break; + if (t.kind == 99) { + goto case 273; + } else { + goto case 276; + } + } + case 275: { + if (t == null) break; + Expect(67, t); // "Boolean" + currentState = stateStack.Pop(); + break; + } + case 276: { + if (t == null) break; + if (t.kind == 67) { + goto case 275; + } else { + goto case 278; + } + } + case 277: { + if (t == null) break; + Expect(98, t); // "Date" + currentState = stateStack.Pop(); + break; + } + case 278: { + if (t == null) break; + if (t.kind == 98) { + goto case 277; + } else { + goto case 280; + } + } + case 279: { + if (t == null) break; + Expect(81, t); // "Char" + currentState = stateStack.Pop(); + break; + } + case 280: { + if (t == null) break; + if (t.kind == 81) { + goto case 279; + } else { + goto case 282; + } + } + case 281: { + if (t == null) break; + Expect(206, t); // "String" + currentState = stateStack.Pop(); + break; + } + case 282: { + if (t == null) break; + if (t.kind == 206) { + goto case 281; + } else { + goto case 284; + } + } + case 283: { + if (t == null) break; + Expect(167, t); // "Object" + currentState = stateStack.Pop(); + break; + } + case 284: { + if (t == null) break; + if (t.kind == 167) { + goto case 283; + } else { + Error(t); + currentState = stateStack.Pop(); + goto switchlbl; + } + } + case 285: { + if (t == null) break; + Expect(129, t); // "Global" + currentState = 292; + break; + } + case 286: { + stateStack.Push(292); + goto case 466; // Identifier + } + case 287: { // start of TypeName + if (t == null) break; + if (t.kind == 129) { + goto case 285; + } else { + goto case 288; + } + } + case 288: { + if (t == null) break; + if (set[16, t.kind]) { + goto case 286; + } else { + goto case 290; + } + } + case 289: { + stateStack.Push(292); + goto case 255; // PrimitiveTypeName + } + case 290: { + if (t == null) break; + if (set[17, t.kind]) { + goto case 289; + } else { + Error(t); + goto case 292; + } + } + case 291: { + stateStack.Push(292); + goto case 298; // TypeSuffix + } + case 292: { + if (t == null) break; + if (t.kind == 36) { + goto case 291; + } else { + goto case 297; + } + } + case 293: { + if (t == null) break; + Expect(27, t); // "." + currentState = 294; + break; + } + case 294: { + stateStack.Push(296); + goto case 309; // IdentifierOrKeyword + } + case 295: { + stateStack.Push(296); + goto case 298; // TypeSuffix + } + case 296: { + if (t == null) break; + if (t.kind == 36) { + goto case 295; + } else { + goto case 297; + } + } + case 297: { + if (t == null) break; + if (t.kind == 27) { + goto case 293; + } else { + currentState = stateStack.Pop(); + goto switchlbl; + } + } + case 298: { // start of TypeSuffix + if (t == null) break; + Expect(36, t); // "(" + currentState = 306; + break; + } + case 299: { + if (t == null) break; + Expect(168, t); // "Of" + currentState = 300; + break; + } + case 300: { + stateStack.Push(303); + goto case 287; // TypeName + } + case 301: { + if (t == null) break; + Expect(23, t); // "," + currentState = 302; + break; + } + case 302: { + stateStack.Push(303); + goto case 287; // TypeName + } + case 303: { + if (t == null) break; + if (t.kind == 23) { + goto case 301; + } else { + goto case 308; + } + } + case 304: { + if (t == null) break; + Expect(23, t); // "," + currentState = 305; + break; + } + case 305: { + if (t == null) break; + if (t.kind == 23) { + goto case 304; + } else { + goto case 308; + } + } + case 306: { + if (t == null) break; + if (t.kind == 168) { + goto case 299; + } else { + goto case 307; + } + } + case 307: { + if (t == null) break; + if (t.kind == 23 || t.kind == 37) { + goto case 305; + } else { + Error(t); + goto case 308; + } + } + case 308: { + if (t == null) break; + Expect(37, t); // ")" + currentState = stateStack.Pop(); + break; + } + case 309: { // start of IdentifierOrKeyword + if (t == null) break; + currentState = stateStack.Pop(); + break; + } + case 310: { + if (t == null) break; + Expect(3, t); // LiteralString + currentState = stateStack.Pop(); + break; + } + case 311: { + if (t == null) break; + Expect(4, t); // LiteralCharacter + currentState = stateStack.Pop(); + break; + } + case 312: { // start of Literal + if (t == null) break; + if (t.kind == 3) { + goto case 310; + } else { + goto case 313; + } + } + case 313: { + if (t == null) break; + if (t.kind == 4) { + goto case 311; + } else { + goto case 315; + } + } + case 314: { + if (t == null) break; + Expect(5, t); // LiteralInteger + currentState = stateStack.Pop(); + break; + } + case 315: { + if (t == null) break; + if (t.kind == 5) { + goto case 314; + } else { + goto case 317; + } + } + case 316: { + if (t == null) break; + Expect(6, t); // LiteralDouble + currentState = stateStack.Pop(); + break; + } + case 317: { + if (t == null) break; + if (t.kind == 6) { + goto case 316; + } else { + goto case 319; + } + } + case 318: { + if (t == null) break; + Expect(7, t); // LiteralSingle + currentState = stateStack.Pop(); + break; + } + case 319: { + if (t == null) break; + if (t.kind == 7) { + goto case 318; + } else { + goto case 321; + } + } + case 320: { + if (t == null) break; Expect(8, t); // LiteralDecimal currentState = stateStack.Pop(); break; } - case 226: { + case 321: { if (t == null) break; if (t.kind == 8) { - goto case 225; + goto case 320; } else { - goto case 228; + goto case 323; } } - case 227: { + case 322: { if (t == null) break; Expect(9, t); // LiteralDate currentState = stateStack.Pop(); break; } - case 228: { + case 323: { if (t == null) break; if (t.kind == 9) { - goto case 227; + goto case 322; } else { - goto case 230; + goto case 325; } } - case 229: { + case 324: { if (t == null) break; - Expect(213, t); // "True" + Expect(215, t); // "True" currentState = stateStack.Pop(); break; } - case 230: { + case 325: { if (t == null) break; - if (t.kind == 213) { - goto case 229; + if (t.kind == 215) { + goto case 324; } else { - goto case 232; + goto case 327; } } - case 231: { + case 326: { if (t == null) break; - Expect(119, t); // "False" + Expect(121, t); // "False" currentState = stateStack.Pop(); break; } - case 232: { + case 327: { if (t == null) break; - if (t.kind == 119) { - goto case 231; + if (t.kind == 121) { + goto case 326; } else { - goto case 234; + goto case 329; } } - case 233: { + case 328: { if (t == null) break; - Expect(162, t); // "Nothing" + Expect(164, t); // "Nothing" currentState = stateStack.Pop(); break; } - case 234: { + case 329: { if (t == null) break; - if (t.kind == 162) { - goto case 233; + if (t.kind == 164) { + goto case 328; } else { - goto case 236; + goto case 331; } } - case 235: { + case 330: { if (t == null) break; - Expect(150, t); // "Me" + Expect(152, t); // "Me" currentState = stateStack.Pop(); break; } - case 236: { + case 331: { if (t == null) break; - if (t.kind == 150) { - goto case 235; + if (t.kind == 152) { + goto case 330; } else { - goto case 238; + goto case 333; } } - case 237: { + case 332: { if (t == null) break; - Expect(155, t); // "MyBase" + Expect(157, t); // "MyBase" currentState = stateStack.Pop(); break; } - case 238: { + case 333: { if (t == null) break; - if (t.kind == 155) { - goto case 237; + if (t.kind == 157) { + goto case 332; } else { - goto case 240; + goto case 335; } } - case 239: { + case 334: { if (t == null) break; - Expect(156, t); // "MyClass" + Expect(158, t); // "MyClass" currentState = stateStack.Pop(); break; } - case 240: { + case 335: { if (t == null) break; - if (t.kind == 156) { - goto case 239; + if (t.kind == 158) { + goto case 334; } else { Error(t); currentState = stateStack.Pop(); goto switchlbl; } } - case 241: { - stateStack.Push(245); - goto case 371; // Identifier + case 336: { + stateStack.Push(340); + goto case 466; // Identifier } - case 242: { + case 337: { if (t == null) break; Expect(5, t); // LiteralInteger - currentState = 245; + currentState = 340; break; } - case 243: { + case 338: { if (t == null) break; - if (set[13, t.kind]) { - goto case 241; + if (set[16, t.kind]) { + goto case 336; } else { - goto case 244; + goto case 339; } } - case 244: { + case 339: { if (t == null) break; if (t.kind == 5) { - goto case 242; + goto case 337; } else { Error(t); - goto case 245; + goto case 340; } } - case 245: { + case 340: { if (t == null) break; - Expect(20, t); // ":" + Expect(22, t); // ":" currentState = stateStack.Pop(); break; } - case 246: { + case 341: { if (t == null) break; - Expect(102, t); // "Dim" - currentState = 252; + Expect(104, t); // "Dim" + currentState = 347; break; } - case 247: { + case 342: { if (t == null) break; - Expect(200, t); // "Static" - currentState = 252; + Expect(202, t); // "Static" + currentState = 347; break; } - case 248: { + case 343: { if (t == null) break; - if (t.kind == 102) { - goto case 246; + if (t.kind == 104) { + goto case 341; } else { - goto case 249; + goto case 344; } } - case 249: { + case 344: { if (t == null) break; - if (t.kind == 200) { - goto case 247; + if (t.kind == 202) { + goto case 342; } else { - goto case 251; + goto case 346; } } - case 250: { + case 345: { if (t == null) break; - Expect(85, t); // "Const" - currentState = 252; + Expect(87, t); // "Const" + currentState = 347; break; } - case 251: { + case 346: { if (t == null) break; - if (t.kind == 85) { - goto case 250; + if (t.kind == 87) { + goto case 345; } else { Error(t); - goto case 252; + goto case 347; } } - case 252: { - stateStack.Push(254); - goto case 371; // Identifier + case 347: { + stateStack.Push(349); + goto case 466; // Identifier } - case 253: { + case 348: { if (t == null) break; - Expect(30, t); // "?" - currentState = 259; + Expect(32, t); // "?" + currentState = 354; break; } - case 254: { + case 349: { if (t == null) break; - if (t.kind == 30) { - goto case 253; + if (t.kind == 32) { + goto case 348; } else { - goto case 259; + goto case 354; } } - case 255: { + case 350: { if (t == null) break; - Expect(34, t); // "(" - currentState = 257; + Expect(36, t); // "(" + currentState = 352; break; } - case 256: { + case 351: { if (t == null) break; - Expect(21, t); // "," - currentState = 257; + Expect(23, t); // "," + currentState = 352; break; } - case 257: { + case 352: { if (t == null) break; - if (t.kind == 21) { - goto case 256; + if (t.kind == 23) { + goto case 351; } else { - goto case 258; + goto case 353; } } - case 258: { + case 353: { if (t == null) break; - Expect(35, t); // ")" - currentState = 269; + Expect(37, t); // ")" + currentState = 364; break; } - case 259: { + case 354: { if (t == null) break; - if (t.kind == 34) { - goto case 255; + if (t.kind == 36) { + goto case 350; } else { - goto case 269; + goto case 364; } } - case 260: { + case 355: { if (t == null) break; - Expect(21, t); // "," - currentState = 261; + Expect(23, t); // "," + currentState = 356; break; } - case 261: { - stateStack.Push(263); - goto case 371; // Identifier + case 356: { + stateStack.Push(358); + goto case 466; // Identifier } - case 262: { + case 357: { if (t == null) break; - Expect(30, t); // "?" - currentState = 268; + Expect(32, t); // "?" + currentState = 363; break; } - case 263: { + case 358: { if (t == null) break; - if (t.kind == 30) { - goto case 262; + if (t.kind == 32) { + goto case 357; } else { - goto case 268; + goto case 363; } } - case 264: { + case 359: { if (t == null) break; - Expect(34, t); // "(" - currentState = 266; + Expect(36, t); // "(" + currentState = 361; break; } - case 265: { + case 360: { if (t == null) break; - Expect(21, t); // "," - currentState = 266; + Expect(23, t); // "," + currentState = 361; break; } - case 266: { + case 361: { if (t == null) break; - if (t.kind == 21) { - goto case 265; + if (t.kind == 23) { + goto case 360; } else { - goto case 267; + goto case 362; } } - case 267: { + case 362: { if (t == null) break; - Expect(35, t); // ")" - currentState = 269; + Expect(37, t); // ")" + currentState = 364; break; } - case 268: { + case 363: { if (t == null) break; - if (t.kind == 34) { - goto case 264; + if (t.kind == 36) { + goto case 359; } else { - goto case 269; + goto case 364; } } - case 269: { + case 364: { if (t == null) break; - if (t.kind == 21) { - goto case 260; + if (t.kind == 23) { + goto case 355; } else { - goto case 277; + goto case 372; } } - case 270: { + case 365: { if (t == null) break; - Expect(60, t); // "As" - currentState = 272; + Expect(62, t); // "As" + currentState = 367; break; } - case 271: { + case 366: { if (t == null) break; - Expect(159, t); // "New" - currentState = 273; + Expect(161, t); // "New" + currentState = 368; break; } - case 272: { + case 367: { if (t == null) break; - if (t.kind == 159) { - goto case 271; + if (t.kind == 161) { + goto case 366; } else { - goto case 273; + goto case 368; } } - case 273: { - stateStack.Push(276); - goto case 192; // TypeName + case 368: { + stateStack.Push(371); + goto case 287; // TypeName } - case 274: { + case 369: { if (t == null) break; - Expect(34, t); // "(" - currentState = 275; + Expect(36, t); // "(" + currentState = 370; break; } - case 275: { + case 370: { if (t == null) break; - Expect(35, t); // ")" - currentState = 280; + Expect(37, t); // ")" + currentState = 375; break; } - case 276: { + case 371: { if (t == null) break; - if (t.kind == 34) { - goto case 274; + if (t.kind == 36) { + goto case 369; } else { - goto case 280; + goto case 375; } } - case 277: { + case 372: { if (t == null) break; - if (t.kind == 60) { - goto case 270; + if (t.kind == 62) { + goto case 365; } else { - goto case 280; + goto case 375; } } - case 278: { + case 373: { if (t == null) break; - Expect(19, t); // "=" - currentState = 279; + Expect(21, t); // "=" + currentState = 374; break; } - case 279: { - goto case 132; // Expression + case 374: { + goto case 227; // Expression } - case 280: { + case 375: { if (t == null) break; - if (t.kind == 19) { - goto case 278; + if (t.kind == 21) { + goto case 373; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 281: { // start of Statement + case 376: { // start of Statement if (t == null) break; - if (set[15, t.kind]) { - goto case 243; + if (set[18, t.kind]) { + goto case 338; } else { - goto case 282; + goto case 377; } } - case 282: { + case 377: { if (t == null) break; - if (t.kind == 85 || t.kind == 102 || t.kind == 200) { - goto case 248; + if (t.kind == 87 || t.kind == 104 || t.kind == 202) { + goto case 343; } else { - goto case 295; + goto case 390; } } - case 283: { + case 378: { if (t == null) break; - Expect(229, t); // "With" - currentState = 287; + Expect(231, t); // "With" + currentState = 382; break; } - case 284: { + case 379: { if (t == null) break; - Expect(207, t); // "SyncLock" - currentState = 287; + Expect(209, t); // "SyncLock" + currentState = 382; break; } - case 285: { + case 380: { if (t == null) break; - if (t.kind == 229) { - goto case 283; + if (t.kind == 231) { + goto case 378; } else { - goto case 286; + goto case 381; } } - case 286: { + case 381: { if (t == null) break; - if (t.kind == 207) { - goto case 284; + if (t.kind == 209) { + goto case 379; } else { Error(t); - goto case 287; + goto case 382; } } - case 287: { - stateStack.Push(288); - goto case 132; // Expression + case 382: { + stateStack.Push(383); + goto case 227; // Expression } - case 288: { - stateStack.Push(289); + case 383: { + stateStack.Push(384); goto case 13; // StatementTerminator } - case 289: { - stateStack.Push(290); - goto case 123; // Block + case 384: { + stateStack.Push(385); + goto case 218; // Block } - case 290: { + case 385: { if (t == null) break; - Expect(110, t); // "End" - currentState = 293; + Expect(112, t); // "End" + currentState = 388; break; } - case 291: { + case 386: { if (t == null) break; - Expect(229, t); // "With" + Expect(231, t); // "With" currentState = stateStack.Pop(); break; } - case 292: { + case 387: { if (t == null) break; - Expect(207, t); // "SyncLock" + Expect(209, t); // "SyncLock" currentState = stateStack.Pop(); break; } - case 293: { + case 388: { if (t == null) break; - if (t.kind == 229) { - goto case 291; + if (t.kind == 231) { + goto case 386; } else { - goto case 294; + goto case 389; } } - case 294: { + case 389: { if (t == null) break; - if (t.kind == 207) { - goto case 292; + if (t.kind == 209) { + goto case 387; } else { Error(t); currentState = stateStack.Pop(); goto switchlbl; } } - case 295: { + case 390: { if (t == null) break; - if (t.kind == 207 || t.kind == 229) { - goto case 285; + if (t.kind == 209 || t.kind == 231) { + goto case 380; } else { - goto case 303; + goto case 398; } } - case 296: { + case 391: { if (t == null) break; - Expect(53, t); // "AddHandler" - currentState = 300; + Expect(55, t); // "AddHandler" + currentState = 395; break; } - case 297: { + case 392: { if (t == null) break; - Expect(189, t); // "RemoveHandler" - currentState = 300; + Expect(191, t); // "RemoveHandler" + currentState = 395; break; } - case 298: { + case 393: { if (t == null) break; - if (t.kind == 53) { - goto case 296; + if (t.kind == 55) { + goto case 391; } else { - goto case 299; + goto case 394; } } - case 299: { + case 394: { if (t == null) break; - if (t.kind == 189) { - goto case 297; + if (t.kind == 191) { + goto case 392; } else { Error(t); - goto case 300; + goto case 395; } } - case 300: { - stateStack.Push(301); - goto case 132; // Expression + case 395: { + stateStack.Push(396); + goto case 227; // Expression } - case 301: { + case 396: { if (t == null) break; - Expect(21, t); // "," - currentState = 302; + Expect(23, t); // "," + currentState = 397; break; } - case 302: { - goto case 132; // Expression + case 397: { + goto case 227; // Expression } - case 303: { + case 398: { if (t == null) break; - if (t.kind == 53 || t.kind == 189) { - goto case 298; + if (t.kind == 55 || t.kind == 191) { + goto case 393; } else { - goto case 311; + goto case 406; } } - case 304: { + case 399: { if (t == null) break; - Expect(185, t); // "RaiseEvent" - currentState = 305; + Expect(187, t); // "RaiseEvent" + currentState = 400; break; } - case 305: { - stateStack.Push(310); - goto case 214; // IdentifierOrKeyword + case 400: { + stateStack.Push(405); + goto case 309; // IdentifierOrKeyword } - case 306: { + case 401: { if (t == null) break; - Expect(34, t); // "(" - currentState = 308; + Expect(36, t); // "(" + currentState = 403; break; } - case 307: { - stateStack.Push(309); - goto case 357; // ArgumentList + case 402: { + stateStack.Push(404); + goto case 452; // ArgumentList } - case 308: { + case 403: { if (t == null) break; - if (set[16, t.kind]) { - goto case 307; + if (set[19, t.kind]) { + goto case 402; } else { - goto case 309; + goto case 404; } } - case 309: { + case 404: { if (t == null) break; - Expect(35, t); // ")" + Expect(37, t); // ")" currentState = stateStack.Pop(); break; } - case 310: { + case 405: { if (t == null) break; - if (t.kind == 34) { - goto case 306; + if (t.kind == 36) { + goto case 401; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 311: { + case 406: { if (t == null) break; - if (t.kind == 185) { - goto case 304; + if (t.kind == 187) { + goto case 399; } else { - goto case 336; + goto case 431; } } - case 312: { - stateStack.Push(315); - goto case 132; // Expression + case 407: { + stateStack.Push(410); + goto case 227; // Expression } - case 313: { + case 408: { if (t == null) break; - Expect(19, t); // "=" - currentState = 334; + Expect(21, t); // "=" + currentState = 429; break; } - case 314: { + case 409: { if (t == null) break; - Expect(44, t); // "^=" - currentState = 334; + Expect(46, t); // "^=" + currentState = 429; break; } - case 315: { + case 410: { if (t == null) break; - if (t.kind == 19) { - goto case 313; + if (t.kind == 21) { + goto case 408; } else { - goto case 316; + goto case 411; } } - case 316: { + case 411: { if (t == null) break; - if (t.kind == 44) { - goto case 314; + if (t.kind == 46) { + goto case 409; } else { - goto case 318; + goto case 413; } } - case 317: { + case 412: { if (t == null) break; - Expect(46, t); // "*=" - currentState = 334; + Expect(48, t); // "*=" + currentState = 429; break; } - case 318: { + case 413: { if (t == null) break; - if (t.kind == 46) { - goto case 317; + if (t.kind == 48) { + goto case 412; } else { - goto case 320; + goto case 415; } } - case 319: { + case 414: { if (t == null) break; - Expect(47, t); // "/=" - currentState = 334; + Expect(49, t); // "/=" + currentState = 429; break; } - case 320: { + case 415: { if (t == null) break; - if (t.kind == 47) { - goto case 319; + if (t.kind == 49) { + goto case 414; } else { - goto case 322; + goto case 417; } } - case 321: { + case 416: { if (t == null) break; - Expect(48, t); // "\\=" - currentState = 334; + Expect(50, t); // "\\=" + currentState = 429; break; } - case 322: { + case 417: { if (t == null) break; - if (t.kind == 48) { - goto case 321; + if (t.kind == 50) { + goto case 416; } else { - goto case 324; + goto case 419; } } - case 323: { + case 418: { if (t == null) break; - Expect(43, t); // "+=" - currentState = 334; + Expect(45, t); // "+=" + currentState = 429; break; } - case 324: { + case 419: { if (t == null) break; - if (t.kind == 43) { - goto case 323; + if (t.kind == 45) { + goto case 418; } else { - goto case 326; + goto case 421; } } - case 325: { + case 420: { if (t == null) break; - Expect(45, t); // "-=" - currentState = 334; + Expect(47, t); // "-=" + currentState = 429; break; } - case 326: { + case 421: { if (t == null) break; - if (t.kind == 45) { - goto case 325; + if (t.kind == 47) { + goto case 420; } else { - goto case 328; + goto case 423; } } - case 327: { + case 422: { if (t == null) break; - Expect(51, t); // "&=" - currentState = 334; + Expect(53, t); // "&=" + currentState = 429; break; } - case 328: { + case 423: { if (t == null) break; - if (t.kind == 51) { - goto case 327; + if (t.kind == 53) { + goto case 422; } else { - goto case 330; + goto case 425; } } - case 329: { + case 424: { if (t == null) break; - Expect(49, t); // "<<=" - currentState = 334; + Expect(51, t); // "<<=" + currentState = 429; break; } - case 330: { + case 425: { if (t == null) break; - if (t.kind == 49) { - goto case 329; + if (t.kind == 51) { + goto case 424; } else { - goto case 332; + goto case 427; } } - case 331: { + case 426: { if (t == null) break; - Expect(50, t); // ">>=" - currentState = 334; + Expect(52, t); // ">>=" + currentState = 429; break; } - case 332: { + case 427: { if (t == null) break; - if (t.kind == 50) { - goto case 331; + if (t.kind == 52) { + goto case 426; } else { Error(t); - goto case 334; + goto case 429; } } - case 333: { + case 428: { if (t == null) break; Expect(1, t); // EOL - currentState = 335; + currentState = 430; break; } - case 334: { + case 429: { if (t == null) break; if (t.kind == 1) { - goto case 333; + goto case 428; } else { - goto case 335; + goto case 430; } } - case 335: { - goto case 132; // Expression + case 430: { + goto case 227; // Expression } - case 336: { + case 431: { if (t == null) break; - if (set[16, t.kind]) { - goto case 312; + if (set[19, t.kind]) { + goto case 407; } else { - goto case 345; + goto case 440; } } - case 337: { + case 432: { if (t == null) break; - Expect(70, t); // "Call" - currentState = 339; + Expect(72, t); // "Call" + currentState = 434; break; } - case 338: { + case 433: { if (t == null) break; - if (t.kind == 70) { - goto case 337; + if (t.kind == 72) { + goto case 432; } else { - goto case 339; + goto case 434; } } - case 339: { - stateStack.Push(344); - goto case 132; // Expression + case 434: { + stateStack.Push(439); + goto case 227; // Expression } - case 340: { + case 435: { if (t == null) break; - Expect(34, t); // "(" - currentState = 342; + Expect(36, t); // "(" + currentState = 437; break; } - case 341: { - stateStack.Push(343); - goto case 357; // ArgumentList + case 436: { + stateStack.Push(438); + goto case 452; // ArgumentList } - case 342: { + case 437: { if (t == null) break; - if (set[16, t.kind]) { - goto case 341; + if (set[19, t.kind]) { + goto case 436; } else { - goto case 343; + goto case 438; } } - case 343: { + case 438: { if (t == null) break; - Expect(35, t); // ")" + Expect(37, t); // ")" currentState = stateStack.Pop(); break; } - case 344: { + case 439: { if (t == null) break; - if (t.kind == 34) { - goto case 340; + if (t.kind == 36) { + goto case 435; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 345: { + case 440: { if (t == null) break; - if (set[17, t.kind]) { - goto case 338; + if (set[20, t.kind]) { + goto case 433; } else { - goto case 356; + goto case 451; } } - case 346: { + case 441: { if (t == null) break; - Expect(132, t); // "If" - currentState = 347; + Expect(134, t); // "If" + currentState = 442; break; } - case 347: { - stateStack.Push(349); - goto case 132; // Expression + case 442: { + stateStack.Push(444); + goto case 227; // Expression } - case 348: { + case 443: { if (t == null) break; - Expect(210, t); // "Then" - currentState = 350; + Expect(212, t); // "Then" + currentState = 445; break; } - case 349: { + case 444: { if (t == null) break; - if (t.kind == 210) { - goto case 348; + if (t.kind == 212) { + goto case 443; } else { - goto case 350; + goto case 445; } } - case 350: { - stateStack.Push(354); + case 445: { + stateStack.Push(449); goto case 13; // StatementTerminator } - case 351: { - goto case 123; // Block + case 446: { + goto case 218; // Block } - case 352: { - stateStack.Push(353); - goto case 281; // Statement + case 447: { + stateStack.Push(448); + goto case 376; // Statement } - case 353: { + case 448: { if (t == null) break; - if (set[11, t.kind]) { - goto case 352; + if (set[14, t.kind]) { + goto case 447; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 354: { + case 449: { if (t == null) break; - if (t.kind == 1 || t.kind == 20) { - goto case 351; + if (t.kind == 1 || t.kind == 22) { + goto case 446; } else { - goto case 355; + goto case 450; } } - case 355: { + case 450: { if (t == null) break; - if (set[11, t.kind]) { - goto case 353; + if (set[14, t.kind]) { + goto case 448; } else { Error(t); currentState = stateStack.Pop(); goto switchlbl; } } - case 356: { + case 451: { if (t == null) break; - if (t.kind == 132) { - goto case 346; + if (t.kind == 134) { + goto case 441; } else { Error(t); currentState = stateStack.Pop(); goto switchlbl; } } - case 357: { // start of ArgumentList - stateStack.Push(360); - goto case 132; // Expression + case 452: { // start of ArgumentList + stateStack.Push(455); + goto case 227; // Expression } - case 358: { + case 453: { if (t == null) break; - Expect(21, t); // "," - currentState = 359; + Expect(23, t); // "," + currentState = 454; break; } - case 359: { - stateStack.Push(360); - goto case 132; // Expression + case 454: { + stateStack.Push(455); + goto case 227; // Expression } - case 360: { + case 455: { if (t == null) break; - if (t.kind == 21) { - goto case 358; + if (t.kind == 23) { + goto case 453; } else { - goto case 370; + goto case 465; } } - case 361: { + case 456: { if (t == null) break; - Expect(21, t); // "," - currentState = 362; + Expect(23, t); // "," + currentState = 457; break; } - case 362: { - stateStack.Push(363); - goto case 214; // IdentifierOrKeyword + case 457: { + stateStack.Push(458); + goto case 309; // IdentifierOrKeyword } - case 363: { + case 458: { if (t == null) break; - Expect(52, t); // ":=" - currentState = 364; + Expect(54, t); // ":=" + currentState = 459; break; } - case 364: { - stateStack.Push(369); - goto case 132; // Expression + case 459: { + stateStack.Push(464); + goto case 227; // Expression } - case 365: { + case 460: { if (t == null) break; - Expect(21, t); // "," - currentState = 366; + Expect(23, t); // "," + currentState = 461; break; } - case 366: { - stateStack.Push(367); - goto case 214; // IdentifierOrKeyword + case 461: { + stateStack.Push(462); + goto case 309; // IdentifierOrKeyword } - case 367: { + case 462: { if (t == null) break; - Expect(52, t); // ":=" - currentState = 368; + Expect(54, t); // ":=" + currentState = 463; break; } - case 368: { - stateStack.Push(369); - goto case 132; // Expression + case 463: { + stateStack.Push(464); + goto case 227; // Expression } - case 369: { - if (t == null) break; - if (t.kind == 21) { - goto case 365; + case 464: { + if (t == null) break; + if (t.kind == 23) { + goto case 460; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 370: { + case 465: { if (t == null) break; - if (t.kind == 21) { - goto case 361; + if (t.kind == 23) { + goto case 456; } else { currentState = stateStack.Pop(); goto switchlbl; } } - case 371: { // start of Identifier + case 466: { // start of Identifier PushContext(Context.IdentifierExpected); - goto case 374; + goto case 469; } - case 372: { - stateStack.Push(376); - goto case 379; // IdentifierForFieldDeclaration + case 467: { + stateStack.Push(471); + goto case 474; // IdentifierForFieldDeclaration } - case 373: { + case 468: { if (t == null) break; - Expect(95, t); // "Custom" - currentState = 376; + Expect(97, t); // "Custom" + currentState = 471; break; } - case 374: { + case 469: { if (t == null) break; - if (set[18, t.kind]) { - goto case 372; + if (set[21, t.kind]) { + goto case 467; } else { - goto case 375; + goto case 470; } } - case 375: { + case 470: { if (t == null) break; - if (t.kind == 95) { - goto case 373; + if (t.kind == 97) { + goto case 468; } else { Error(t); - goto case 376; + goto case 471; } } - case 376: { + case 471: { PopContext(); currentState = stateStack.Pop(); goto switchlbl; } - case 377: { + case 472: { if (t == null) break; Expect(2, t); // ident currentState = stateStack.Pop(); break; } - case 378: { + case 473: { if (t == null) break; - Expect(55, t); // "Aggregate" + Expect(57, t); // "Aggregate" currentState = stateStack.Pop(); break; } - case 379: { // start of IdentifierForFieldDeclaration + case 474: { // start of IdentifierForFieldDeclaration if (t == null) break; if (t.kind == 2) { - goto case 377; + goto case 472; } else { - goto case 380; + goto case 475; } } - case 380: { + case 475: { if (t == null) break; - if (t.kind == 55) { - goto case 378; + if (t.kind == 57) { + goto case 473; } else { - goto case 382; + goto case 477; } } - case 381: { + case 476: { if (t == null) break; - Expect(59, t); // "Ansi" + Expect(61, t); // "Ansi" currentState = stateStack.Pop(); break; } - case 382: { + case 477: { if (t == null) break; - if (t.kind == 59) { - goto case 381; + if (t.kind == 61) { + goto case 476; } else { - goto case 384; + goto case 479; } } - case 383: { + case 478: { if (t == null) break; - Expect(61, t); // "Ascending" + Expect(63, t); // "Ascending" currentState = stateStack.Pop(); break; } - case 384: { + case 479: { if (t == null) break; - if (t.kind == 61) { - goto case 383; + if (t.kind == 63) { + goto case 478; } else { - goto case 386; + goto case 481; } } - case 385: { + case 480: { if (t == null) break; - Expect(62, t); // "Assembly" + Expect(64, t); // "Assembly" currentState = stateStack.Pop(); break; } - case 386: { + case 481: { if (t == null) break; - if (t.kind == 62) { - goto case 385; + if (t.kind == 64) { + goto case 480; } else { - goto case 388; + goto case 483; } } - case 387: { + case 482: { if (t == null) break; - Expect(63, t); // "Auto" + Expect(65, t); // "Auto" currentState = stateStack.Pop(); break; } - case 388: { + case 483: { if (t == null) break; - if (t.kind == 63) { - goto case 387; + if (t.kind == 65) { + goto case 482; } else { - goto case 390; + goto case 485; } } - case 389: { + case 484: { if (t == null) break; - Expect(64, t); // "Binary" + Expect(66, t); // "Binary" currentState = stateStack.Pop(); break; } - case 390: { + case 485: { if (t == null) break; - if (t.kind == 64) { - goto case 389; + if (t.kind == 66) { + goto case 484; } else { - goto case 392; + goto case 487; } } - case 391: { + case 486: { if (t == null) break; - Expect(67, t); // "By" + Expect(69, t); // "By" currentState = stateStack.Pop(); break; } - case 392: { + case 487: { if (t == null) break; - if (t.kind == 67) { - goto case 391; + if (t.kind == 69) { + goto case 486; } else { - goto case 394; + goto case 489; } } - case 393: { + case 488: { if (t == null) break; - Expect(84, t); // "Compare" + Expect(86, t); // "Compare" currentState = stateStack.Pop(); break; } - case 394: { + case 489: { if (t == null) break; - if (t.kind == 84) { - goto case 393; + if (t.kind == 86) { + goto case 488; } else { - goto case 396; + goto case 491; } } - case 395: { + case 490: { if (t == null) break; - Expect(101, t); // "Descending" + Expect(103, t); // "Descending" currentState = stateStack.Pop(); break; } - case 396: { + case 491: { if (t == null) break; - if (t.kind == 101) { - goto case 395; + if (t.kind == 103) { + goto case 490; } else { - goto case 398; + goto case 493; } } - case 397: { + case 492: { if (t == null) break; - Expect(104, t); // "Distinct" + Expect(106, t); // "Distinct" currentState = stateStack.Pop(); break; } - case 398: { + case 493: { if (t == null) break; - if (t.kind == 104) { - goto case 397; + if (t.kind == 106) { + goto case 492; } else { - goto case 400; + goto case 495; } } - case 399: { + case 494: { if (t == null) break; - Expect(113, t); // "Equals" + Expect(115, t); // "Equals" currentState = stateStack.Pop(); break; } - case 400: { + case 495: { if (t == null) break; - if (t.kind == 113) { - goto case 399; + if (t.kind == 115) { + goto case 494; } else { - goto case 402; + goto case 497; } } - case 401: { + case 496: { if (t == null) break; - Expect(118, t); // "Explicit" + Expect(120, t); // "Explicit" currentState = stateStack.Pop(); break; } - case 402: { + case 497: { if (t == null) break; - if (t.kind == 118) { - goto case 401; + if (t.kind == 120) { + goto case 496; } else { - goto case 404; + goto case 499; } } - case 403: { + case 498: { if (t == null) break; - Expect(123, t); // "From" + Expect(125, t); // "From" currentState = stateStack.Pop(); break; } - case 404: { + case 499: { if (t == null) break; - if (t.kind == 123) { - goto case 403; + if (t.kind == 125) { + goto case 498; } else { - goto case 406; + goto case 501; } } - case 405: { + case 500: { if (t == null) break; - Expect(130, t); // "Group" + Expect(132, t); // "Group" currentState = stateStack.Pop(); break; } - case 406: { + case 501: { if (t == null) break; - if (t.kind == 130) { - goto case 405; + if (t.kind == 132) { + goto case 500; } else { - goto case 408; + goto case 503; } } - case 407: { + case 502: { if (t == null) break; - Expect(136, t); // "Infer" + Expect(138, t); // "Infer" currentState = stateStack.Pop(); break; } - case 408: { + case 503: { if (t == null) break; - if (t.kind == 136) { - goto case 407; + if (t.kind == 138) { + goto case 502; } else { - goto case 410; + goto case 505; } } - case 409: { + case 504: { if (t == null) break; - Expect(140, t); // "Into" + Expect(142, t); // "Into" currentState = stateStack.Pop(); break; } - case 410: { + case 505: { if (t == null) break; - if (t.kind == 140) { - goto case 409; + if (t.kind == 142) { + goto case 504; } else { - goto case 412; + goto case 507; } } - case 411: { + case 506: { if (t == null) break; - Expect(143, t); // "Join" + Expect(145, t); // "Join" currentState = stateStack.Pop(); break; } - case 412: { + case 507: { if (t == null) break; - if (t.kind == 143) { - goto case 411; + if (t.kind == 145) { + goto case 506; } else { - goto case 414; + goto case 509; } } - case 413: { + case 508: { if (t == null) break; - Expect(144, t); // "Key" + Expect(146, t); // "Key" currentState = stateStack.Pop(); break; } - case 414: { + case 509: { if (t == null) break; - if (t.kind == 144) { - goto case 413; + if (t.kind == 146) { + goto case 508; } else { - goto case 416; + goto case 511; } } - case 415: { + case 510: { if (t == null) break; - Expect(167, t); // "Off" + Expect(169, t); // "Off" currentState = stateStack.Pop(); break; } - case 416: { + case 511: { if (t == null) break; - if (t.kind == 167) { - goto case 415; + if (t.kind == 169) { + goto case 510; } else { - goto case 418; + goto case 513; } } - case 417: { + case 512: { if (t == null) break; - Expect(173, t); // "Order" + Expect(175, t); // "Order" currentState = stateStack.Pop(); break; } - case 418: { + case 513: { if (t == null) break; - if (t.kind == 173) { - goto case 417; + if (t.kind == 175) { + goto case 512; } else { - goto case 420; + goto case 515; } } - case 419: { + case 514: { if (t == null) break; - Expect(180, t); // "Preserve" + Expect(182, t); // "Preserve" currentState = stateStack.Pop(); break; } - case 420: { + case 515: { if (t == null) break; - if (t.kind == 180) { - goto case 419; + if (t.kind == 182) { + goto case 514; } else { - goto case 422; + goto case 517; } } - case 421: { + case 516: { if (t == null) break; - Expect(199, t); // "Skip" + Expect(201, t); // "Skip" currentState = stateStack.Pop(); break; } - case 422: { + case 517: { if (t == null) break; - if (t.kind == 199) { - goto case 421; + if (t.kind == 201) { + goto case 516; } else { - goto case 424; + goto case 519; } } - case 423: { + case 518: { if (t == null) break; - Expect(208, t); // "Take" + Expect(210, t); // "Take" currentState = stateStack.Pop(); break; } - case 424: { + case 519: { if (t == null) break; - if (t.kind == 208) { - goto case 423; + if (t.kind == 210) { + goto case 518; } else { - goto case 426; + goto case 521; } } - case 425: { + case 520: { if (t == null) break; - Expect(209, t); // "Text" + Expect(211, t); // "Text" currentState = stateStack.Pop(); break; } - case 426: { + case 521: { if (t == null) break; - if (t.kind == 209) { - goto case 425; + if (t.kind == 211) { + goto case 520; } else { - goto case 428; + goto case 523; } } - case 427: { + case 522: { if (t == null) break; - Expect(219, t); // "Unicode" + Expect(221, t); // "Unicode" currentState = stateStack.Pop(); break; } - case 428: { + case 523: { if (t == null) break; - if (t.kind == 219) { - goto case 427; + if (t.kind == 221) { + goto case 522; } else { - goto case 430; + goto case 525; } } - case 429: { + case 524: { if (t == null) break; - Expect(220, t); // "Until" + Expect(222, t); // "Until" currentState = stateStack.Pop(); break; } - case 430: { + case 525: { if (t == null) break; - if (t.kind == 220) { - goto case 429; + if (t.kind == 222) { + goto case 524; } else { - goto case 432; + goto case 527; } } - case 431: { + case 526: { if (t == null) break; - Expect(226, t); // "Where" + Expect(228, t); // "Where" currentState = stateStack.Pop(); break; } - case 432: { + case 527: { if (t == null) break; - if (t.kind == 226) { - goto case 431; + if (t.kind == 228) { + goto case 526; } else { Error(t); currentState = stateStack.Pop(); goto switchlbl; } } - case 433: { + case 528: { if (t == null) break; - Expect(184, t); // "Public" + Expect(186, t); // "Public" currentState = stateStack.Pop(); break; } - case 434: { + case 529: { if (t == null) break; - Expect(122, t); // "Friend" + Expect(124, t); // "Friend" currentState = stateStack.Pop(); break; } - case 435: { // start of AccessModifier + case 530: { // start of AccessModifier if (t == null) break; - if (t.kind == 184) { - goto case 433; + if (t.kind == 186) { + goto case 528; } else { - goto case 436; + goto case 531; } } - case 436: { + case 531: { if (t == null) break; - if (t.kind == 122) { - goto case 434; + if (t.kind == 124) { + goto case 529; } else { - goto case 438; + goto case 533; } } - case 437: { + case 532: { if (t == null) break; - Expect(183, t); // "Protected" + Expect(185, t); // "Protected" currentState = stateStack.Pop(); break; } - case 438: { + case 533: { if (t == null) break; - if (t.kind == 183) { - goto case 437; + if (t.kind == 185) { + goto case 532; } else { - goto case 440; + goto case 535; } } - case 439: { + case 534: { if (t == null) break; - Expect(181, t); // "Private" + Expect(183, t); // "Private" currentState = stateStack.Pop(); break; } - case 440: { + case 535: { if (t == null) break; - if (t.kind == 181) { - goto case 439; + if (t.kind == 183) { + goto case 534; } else { Error(t); currentState = stateStack.Pop(); goto switchlbl; } } - case 441: { - goto case 435; // AccessModifier + case 536: { + goto case 530; // AccessModifier } - case 442: { + case 537: { if (t == null) break; - Expect(195, t); // "Shadows" + Expect(197, t); // "Shadows" currentState = stateStack.Pop(); break; } - case 443: { // start of TypeModifier + case 538: { // start of TypeModifier if (t == null) break; - if (set[19, t.kind]) { - goto case 441; + if (set[22, t.kind]) { + goto case 536; } else { - goto case 444; + goto case 539; } } - case 444: { + case 539: { if (t == null) break; - if (t.kind == 195) { - goto case 442; + if (t.kind == 197) { + goto case 537; } else { Error(t); currentState = stateStack.Pop(); goto switchlbl; } } - case 445: { - goto case 435; // AccessModifier + case 540: { + goto case 530; // AccessModifier } - case 446: { + case 541: { if (t == null) break; - Expect(195, t); // "Shadows" + Expect(197, t); // "Shadows" currentState = stateStack.Pop(); break; } - case 447: { // start of MemberModifier + case 542: { // start of MemberModifier if (t == null) break; - if (set[19, t.kind]) { - goto case 445; + if (set[22, t.kind]) { + goto case 540; } else { - goto case 448; + goto case 543; } } - case 448: { + case 543: { if (t == null) break; - if (t.kind == 195) { - goto case 446; + if (t.kind == 197) { + goto case 541; } else { - goto case 450; + goto case 545; } } - case 449: { + case 544: { if (t == null) break; - Expect(196, t); // "Shared" + Expect(198, t); // "Shared" currentState = stateStack.Pop(); break; } - case 450: { + case 545: { if (t == null) break; - if (t.kind == 196) { - goto case 449; + if (t.kind == 198) { + goto case 544; } else { - goto case 452; + goto case 547; } } - case 451: { + case 546: { if (t == null) break; - Expect(176, t); // "Overridable" + Expect(178, t); // "Overridable" currentState = stateStack.Pop(); break; } - case 452: { + case 547: { if (t == null) break; - if (t.kind == 176) { - goto case 451; + if (t.kind == 178) { + goto case 546; } else { - goto case 454; + goto case 549; } } - case 453: { + case 548: { if (t == null) break; - Expect(164, t); // "NotOverridable" + Expect(166, t); // "NotOverridable" currentState = stateStack.Pop(); break; } - case 454: { + case 549: { if (t == null) break; - if (t.kind == 164) { - goto case 453; + if (t.kind == 166) { + goto case 548; } else { - goto case 456; + goto case 551; } } - case 455: { + case 550: { if (t == null) break; - Expect(177, t); // "Overrides" + Expect(179, t); // "Overrides" currentState = stateStack.Pop(); break; } - case 456: { + case 551: { + if (t == null) break; + if (t.kind == 179) { + goto case 550; + } else { + goto case 553; + } + } + case 552: { + if (t == null) break; + Expect(177, t); // "Overloads" + currentState = stateStack.Pop(); + break; + } + case 553: { if (t == null) break; if (t.kind == 177) { - goto case 455; + goto case 552; } else { - goto case 458; + goto case 555; } } - case 457: { + case 554: { if (t == null) break; - Expect(175, t); // "Overloads" + Expect(181, t); // "Partial" currentState = stateStack.Pop(); break; } - case 458: { + case 555: { if (t == null) break; - if (t.kind == 175) { - goto case 457; + if (t.kind == 181) { + goto case 554; } else { - goto case 460; + goto case 557; } } - case 459: { + case 556: { if (t == null) break; - Expect(179, t); // "Partial" + Expect(232, t); // "WithEvents" currentState = stateStack.Pop(); break; } - case 460: { + case 557: { if (t == null) break; - if (t.kind == 179) { - goto case 459; + if (t.kind == 232) { + goto case 556; } else { - goto case 462; + goto case 559; } } - case 461: { + case 558: { if (t == null) break; - Expect(230, t); // "WithEvents" + Expect(156, t); // "MustOverride" currentState = stateStack.Pop(); break; } - case 462: { + case 559: { + if (t == null) break; + if (t.kind == 156) { + goto case 558; + } else { + goto case 561; + } + } + case 560: { + if (t == null) break; + Expect(230, t); // "Widening" + currentState = stateStack.Pop(); + break; + } + case 561: { if (t == null) break; if (t.kind == 230) { - goto case 461; + goto case 560; } else { - goto case 464; + goto case 563; } } - case 463: { + case 562: { if (t == null) break; - Expect(102, t); // "Dim" + Expect(160, t); // "Narrowing" currentState = stateStack.Pop(); break; } - case 464: { + case 563: { + if (t == null) break; + if (t.kind == 160) { + goto case 562; + } else { + goto case 565; + } + } + case 564: { + if (t == null) break; + Expect(104, t); // "Dim" + currentState = stateStack.Pop(); + break; + } + case 565: { if (t == null) break; - if (t.kind == 102) { - goto case 463; + if (t.kind == 104) { + goto case 564; } else { Error(t); currentState = stateStack.Pop(); goto switchlbl; } } - case 465: { + case 566: { if (t == null) break; - Expect(69, t); // "ByVal" + Expect(71, t); // "ByVal" currentState = stateStack.Pop(); break; } - case 466: { + case 567: { if (t == null) break; - Expect(66, t); // "ByRef" + Expect(68, t); // "ByRef" currentState = stateStack.Pop(); break; } - case 467: { // start of ParameterModifier + case 568: { // start of ParameterModifier if (t == null) break; - if (t.kind == 69) { - goto case 465; + if (t.kind == 71) { + goto case 566; } else { - goto case 468; + goto case 569; } } - case 468: { + case 569: { if (t == null) break; - if (t.kind == 66) { - goto case 466; + if (t.kind == 68) { + goto case 567; } else { - goto case 470; + goto case 571; } } - case 469: { + case 570: { if (t == null) break; - Expect(171, t); // "Optional" + Expect(173, t); // "Optional" currentState = stateStack.Pop(); break; } - case 470: { + case 571: { if (t == null) break; - if (t.kind == 171) { - goto case 469; + if (t.kind == 173) { + goto case 570; } else { - goto case 472; + goto case 573; } } - case 471: { + case 572: { if (t == null) break; - Expect(178, t); // "ParamArray" + Expect(180, t); // "ParamArray" currentState = stateStack.Pop(); break; } - case 472: { + case 573: { if (t == null) break; - if (t.kind == 178) { - goto case 471; + if (t.kind == 180) { + goto case 572; } else { Error(t); currentState = stateStack.Pop(); @@ -3108,26 +3734,29 @@ int currentState = 1; } 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,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,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,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,x}, - {x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,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,x,x, x,T,T,x, T,x,x,x, x,x,x,x, x,T,x,x, x,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,x,x, x,x,x,x, x,x,x,x, T,x,x,T, x,x,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, 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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,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, 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, 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,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,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,x, x,x,x,x, x,x,x,x, x,x,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,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,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, x,x,x,T, x,T,T,T, T,x,x,T, x,x,T,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,T, x,x,x,T, x,x,x,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,T,x,x, x,T,x,x, x,x,x,x, x,x,x,T, T,x,x,x, x,x,x,T, T,T,x,x, x,T,x,x, x,x,x,T, T,x,x,x, x,x,T,x, x,T,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,T, x,x,x,x, x,x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,x,x, x,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,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,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,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,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,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,T, 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,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,x,x, T,T,x,x, x,T,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,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,T, x,x,x,T, x,T,T,T, T,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,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,T, 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,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,x,x, T,T,x,x, x,T,x,x, x,x,x,T, T,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,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,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,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,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,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, 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, x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, 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, 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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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, 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,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,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,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,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, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,x,x, x,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,x, x,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,x,x, x,T,x,T, T,T,T,x, x,T,x,x, T,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,T,x,x, x,T,x,x, x,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,T, x,x,x,T, x,x,x,x, x,x,x,x, x,T,T,x, x,x,x,x, x,T,T,T, x,x,x,T, x,x,x,x, x,T,T,x, x,x,x,x, T,x,x,T, 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,T,x,x, x,x,x,x, x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T, x,x,x,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,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,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, 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,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,T,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, 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, x,x,T,T, x,x,x,T, 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,x, x,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,T,x,x, x,T,x,T, T,T,T,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, 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,T,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, 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, x,x,T,T, x,x,x,T, x,x,x,x, x,T,T,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,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,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,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} }; diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/ParserTests.cs b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/ParserTests.cs index 0388404545..f8e7f992af 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/ParserTests.cs +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/ParserTests.cs @@ -30,7 +30,7 @@ exit Global ); } - [Test] + [Test, Ignore] public void VariableWithXmlLiteral() { RunTest( @@ -58,7 +58,7 @@ exit Global ); } - [Test] + [Test, Ignore] public void MemberWithXmlLiteral() { RunTest( diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/VBNetParserTests.cs b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/VBNetParserTests.cs deleted file mode 100644 index 4d5bf6b58d..0000000000 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/VBNetParserTests.cs +++ /dev/null @@ -1,37 +0,0 @@ -// -// -// -// -// $Revision$ -// - - -using System; -using NUnit.Framework; - -namespace VBParserExperiment -{ - [TestFixture] - public class VBNetParserTests - { - [Test] - [Ignore] - // TODO : check results - public void CommentAfterEnd() - { - RunTest( - @"Class Test - Sub A() - Dim a = a - End Sub -End Class", - @"" - ); - } - - void RunTest(string code, string result) - { - throw new NotImplementedException(); - } - } -} diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/VBParserExperiment.csproj b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/VBParserExperiment.csproj index 434a23061c..b6290b4607 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/VBParserExperiment.csproj +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Experimental/Test/VBParserExperiment.csproj @@ -51,7 +51,6 @@ - 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 5a072a9b8f..0430518620 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 @@ -18,20 +18,7 @@ namespace VBParserExperiment [TestFixture] public class XmlModeLexerTests { - ILexer GenerateLexer(StringReader sr) - { - return ParserFactory.CreateLexer(SupportedLanguage.VBNet, sr); - } - - string TestStatement(string stmt) - { - return "Class Test\n" + - "Sub A()\n" + - stmt + "\n" + - "End Sub\n" + - "End Class"; - } - + #region Xml Tests [Test] public void TagWithContent() { @@ -132,159 +119,62 @@ namespace VBParserExperiment CheckHead(lexer); - Assert.AreEqual(Tokens.Dim, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Assign, lexer.NextToken().Kind); - - #region - // - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - #region - // - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Assign, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.LiteralString, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // Shrimp Cocktail - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // Escargot - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - #endregion - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - #region - // - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Assign, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.LiteralString, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // Filet Mignon - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // Garlic Potatoes - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // Broccoli - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - #endregion - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - #region - // - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Assign, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.LiteralString, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // Chocolate Cheesecake - Assert.AreEqual(Tokens.XmlOpenTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - #endregion - - // whitespaces - Assert.AreEqual(Tokens.XmlContent, lexer.NextToken().Kind); - - // - Assert.AreEqual(Tokens.XmlOpenEndTag, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.Identifier, lexer.NextToken().Kind); - Assert.AreEqual(Tokens.XmlCloseTag, lexer.NextToken().Kind); - #endregion + CheckTokens(lexer, Tokens.Dim, Tokens.Identifier, Tokens.Assign, + // + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // Shrimp Cocktail + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // Escargot + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // + Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // Filet Mignon + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // Garlic Potatoes + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // Broccoli + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // + Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.Identifier, Tokens.Assign, Tokens.LiteralString, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // Chocolate Cheesecake + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // + Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag, + // whitespaces + Tokens.XmlContent, + // + Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag + ); CheckFoot(lexer); } @@ -435,26 +325,87 @@ namespace DefaultNamespace CheckFoot(lexer); } - + #endregion + + #region Context Tests + [Test] + public void MethodInvocation() + { + ILexer lexer = GenerateLexer(new StringReader(TestStatement("DoSomething(, True)"))); + + CheckHead(lexer); + + CheckTokens(lexer, Tokens.Identifier, Tokens.OpenParenthesis, Tokens.XmlOpenTag, + Tokens.Identifier, Tokens.XmlCloseTagEmptyElement, Tokens.Comma, Tokens.True, + Tokens.CloseParenthesis); + + CheckFoot(lexer); + } + + [Test] + public void AddHandlerStatement() + { + ILexer lexer = GenerateLexer(new StringReader(TestStatement("AddHandler , True"))); + + CheckHead(lexer); + + CheckTokens(lexer, Tokens.AddHandler, Tokens.XmlOpenTag, + Tokens.Identifier, Tokens.XmlCloseTagEmptyElement, Tokens.Comma, Tokens.True); + + CheckFoot(lexer); + } + + [Test] + public void RemoveHandlerStatement() + { + ILexer lexer = GenerateLexer(new StringReader(TestStatement("RemoveHandler , 5"))); + + CheckHead(lexer); + + CheckTokens(lexer, Tokens.RemoveHandler, Tokens.XmlOpenTag, + Tokens.Identifier, Tokens.XmlCloseTagEmptyElement, Tokens.Comma, + Tokens.XmlOpenTag, Tokens.Identifier, Tokens.XmlCloseTag, Tokens.XmlContent, Tokens.XmlOpenEndTag, Tokens.Identifier, Tokens.XmlCloseTag + ); + + CheckFoot(lexer); + } + #endregion + + #region Helpers + ILexer GenerateLexer(StringReader sr) + { + return ParserFactory.CreateLexer(SupportedLanguage.VBNet, sr); + } + + string TestStatement(string stmt) + { + return "Class Test\n" + + "Sub A\n" + + stmt + "\n" + + "End Sub\n" + + "End Class"; + } + void CheckFoot(ILexer lexer) { CheckTokens(lexer, Tokens.EOL, Tokens.End, Tokens.Sub, Tokens.EOL, Tokens.End, Tokens.Class); } - + void CheckHead(ILexer lexer) { CheckTokens(lexer, Tokens.Class, Tokens.Identifier, Tokens.EOL, - Tokens.Sub, Tokens.Identifier, Tokens.OpenParenthesis, - Tokens.CloseParenthesis, Tokens.EOL); + Tokens.Sub, Tokens.Identifier, Tokens.EOL); } void CheckTokens(ILexer lexer, params int[] tokens) { for (int i = 0; i < tokens.Length; i++) { int token = tokens[i]; - int next = lexer.NextToken().Kind; - Assert.AreEqual(token, next, "{2} {0} != {1}", Tokens.GetTokenString(token), Tokens.GetTokenString(next), i); + Token t = lexer.NextToken(); + int next = t.Kind; + Assert.AreEqual(token, next, "{2} of {3}: {0} != {1}; at {4}", Tokens.GetTokenString(token), Tokens.GetTokenString(next), i + 1, tokens.Length, t.Location); } } + #endregion } } diff --git a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Parser.cs b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/Parser.cs index 9e37541cfc..88b8abc9a5 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 = 233; + const int maxT = 235; const bool T = true; const bool x = false; @@ -34,36 +34,36 @@ partial class Parser : AbstractParser void VBNET() { -#line 257 "VBNET.ATG" +#line 259 "VBNET.ATG" lexer.NextToken(); // get the first token compilationUnit = new CompilationUnit(); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } - while (la.kind == 170) { + while (la.kind == 172) { OptionStmt(); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - while (la.kind == 134) { + while (la.kind == 136) { ImportsStmt(); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } while ( -#line 264 "VBNET.ATG" +#line 266 "VBNET.ATG" IsGlobalAttrTarget()) { GlobalAttributeSection(); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } while (StartOf(1)) { NamespaceMemberDecl(); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } @@ -73,66 +73,66 @@ IsGlobalAttrTarget()) { void EndOfStmt() { if (la.kind == 1) { lexer.NextToken(); - } else if (la.kind == 20) { + } else if (la.kind == 22) { lexer.NextToken(); - } else SynErr(234); + } else SynErr(236); } void OptionStmt() { -#line 269 "VBNET.ATG" +#line 271 "VBNET.ATG" INode node = null; bool val = true; - Expect(170); + Expect(172); -#line 270 "VBNET.ATG" +#line 272 "VBNET.ATG" Location startPos = t.Location; - if (la.kind == 118) { + if (la.kind == 120) { lexer.NextToken(); - if (la.kind == 167 || la.kind == 168) { + if (la.kind == 169 || la.kind == 170) { OptionValue( -#line 272 "VBNET.ATG" +#line 274 "VBNET.ATG" ref val); } -#line 273 "VBNET.ATG" +#line 275 "VBNET.ATG" node = new OptionDeclaration(OptionType.Explicit, val); - } else if (la.kind == 203) { + } else if (la.kind == 205) { lexer.NextToken(); - if (la.kind == 167 || la.kind == 168) { + if (la.kind == 169 || la.kind == 170) { OptionValue( -#line 275 "VBNET.ATG" +#line 277 "VBNET.ATG" ref val); } -#line 276 "VBNET.ATG" +#line 278 "VBNET.ATG" node = new OptionDeclaration(OptionType.Strict, val); - } else if (la.kind == 84) { + } else if (la.kind == 86) { lexer.NextToken(); - if (la.kind == 64) { + if (la.kind == 66) { lexer.NextToken(); -#line 278 "VBNET.ATG" +#line 280 "VBNET.ATG" node = new OptionDeclaration(OptionType.CompareBinary, val); - } else if (la.kind == 209) { + } else if (la.kind == 211) { lexer.NextToken(); -#line 279 "VBNET.ATG" +#line 281 "VBNET.ATG" node = new OptionDeclaration(OptionType.CompareText, val); - } else SynErr(235); - } else if (la.kind == 136) { + } else SynErr(237); + } else if (la.kind == 138) { lexer.NextToken(); - if (la.kind == 167 || la.kind == 168) { + if (la.kind == 169 || la.kind == 170) { OptionValue( -#line 282 "VBNET.ATG" +#line 284 "VBNET.ATG" ref val); } -#line 283 "VBNET.ATG" +#line 285 "VBNET.ATG" node = new OptionDeclaration(OptionType.Infer, val); - } else SynErr(236); + } else SynErr(238); EndOfStmt(); -#line 287 "VBNET.ATG" +#line 289 "VBNET.ATG" if (node != null) { node.StartLocation = startPos; node.EndLocation = t.Location; @@ -143,33 +143,33 @@ ref val); void ImportsStmt() { -#line 310 "VBNET.ATG" +#line 312 "VBNET.ATG" List usings = new List(); - Expect(134); + Expect(136); -#line 314 "VBNET.ATG" +#line 316 "VBNET.ATG" Location startPos = t.Location; Using u; ImportClause( -#line 317 "VBNET.ATG" +#line 319 "VBNET.ATG" out u); -#line 317 "VBNET.ATG" +#line 319 "VBNET.ATG" if (u != null) { usings.Add(u); } - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); ImportClause( -#line 319 "VBNET.ATG" +#line 321 "VBNET.ATG" out u); -#line 319 "VBNET.ATG" +#line 321 "VBNET.ATG" if (u != null) { usings.Add(u); } } EndOfStmt(); -#line 323 "VBNET.ATG" +#line 325 "VBNET.ATG" UsingDeclaration usingDeclaration = new UsingDeclaration(usings); usingDeclaration.StartLocation = startPos; usingDeclaration.EndLocation = t.Location; @@ -178,54 +178,54 @@ out u); } void GlobalAttributeSection() { - Expect(37); + Expect(39); -#line 2585 "VBNET.ATG" +#line 2587 "VBNET.ATG" Location startPos = t.Location; - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); - } else if (la.kind == 152) { + } else if (la.kind == 154) { lexer.NextToken(); - } else SynErr(237); + } else SynErr(239); -#line 2587 "VBNET.ATG" +#line 2589 "VBNET.ATG" string attributeTarget = t.val != null ? t.val.ToLower(System.Globalization.CultureInfo.InvariantCulture) : null; List attributes = new List(); ASTAttribute attribute; - Expect(20); + Expect(22); Attribute( -#line 2591 "VBNET.ATG" +#line 2593 "VBNET.ATG" out attribute); -#line 2591 "VBNET.ATG" +#line 2593 "VBNET.ATG" attributes.Add(attribute); while ( -#line 2592 "VBNET.ATG" +#line 2594 "VBNET.ATG" NotFinalComma()) { - if (la.kind == 21) { + if (la.kind == 23) { lexer.NextToken(); - if (la.kind == 62) { + if (la.kind == 64) { lexer.NextToken(); - } else if (la.kind == 152) { + } else if (la.kind == 154) { lexer.NextToken(); - } else SynErr(238); - Expect(20); + } else SynErr(240); + Expect(22); } Attribute( -#line 2592 "VBNET.ATG" +#line 2594 "VBNET.ATG" out attribute); -#line 2592 "VBNET.ATG" +#line 2594 "VBNET.ATG" attributes.Add(attribute); } - if (la.kind == 21) { + if (la.kind == 23) { lexer.NextToken(); } - Expect(36); + Expect(38); EndOfStmt(); -#line 2597 "VBNET.ATG" +#line 2599 "VBNET.ATG" AttributeSection section = new AttributeSection { AttributeTarget = attributeTarget, Attributes = attributes, @@ -238,23 +238,23 @@ out attribute); void NamespaceMemberDecl() { -#line 356 "VBNET.ATG" +#line 358 "VBNET.ATG" ModifierList m = new ModifierList(); AttributeSection section; List attributes = new List(); string qualident; - if (la.kind == 157) { + if (la.kind == 159) { lexer.NextToken(); -#line 363 "VBNET.ATG" +#line 365 "VBNET.ATG" Location startPos = t.Location; Qualident( -#line 365 "VBNET.ATG" +#line 367 "VBNET.ATG" out qualident); -#line 367 "VBNET.ATG" +#line 369 "VBNET.ATG" INode node = new NamespaceDeclaration(qualident); node.StartLocation = startPos; compilationUnit.AddChild(node); @@ -263,67 +263,67 @@ out qualident); EndOfStmt(); NamespaceBody(); -#line 375 "VBNET.ATG" +#line 377 "VBNET.ATG" node.EndLocation = t.Location; compilationUnit.BlockEnd(); } else if (StartOf(2)) { - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 379 "VBNET.ATG" +#line 381 "VBNET.ATG" out section); -#line 379 "VBNET.ATG" +#line 381 "VBNET.ATG" attributes.Add(section); } while (StartOf(3)) { TypeModifier( -#line 380 "VBNET.ATG" +#line 382 "VBNET.ATG" m); } NonModuleDeclaration( -#line 380 "VBNET.ATG" +#line 382 "VBNET.ATG" m, attributes); - } else SynErr(239); + } else SynErr(241); } void OptionValue( -#line 295 "VBNET.ATG" +#line 297 "VBNET.ATG" ref bool val) { - if (la.kind == 168) { + if (la.kind == 170) { lexer.NextToken(); -#line 297 "VBNET.ATG" +#line 299 "VBNET.ATG" val = true; - } else if (la.kind == 167) { + } else if (la.kind == 169) { lexer.NextToken(); -#line 299 "VBNET.ATG" +#line 301 "VBNET.ATG" val = false; - } else SynErr(240); + } else SynErr(242); } void ImportClause( -#line 330 "VBNET.ATG" +#line 332 "VBNET.ATG" out Using u) { -#line 332 "VBNET.ATG" +#line 334 "VBNET.ATG" string qualident = null; TypeReference aliasedType = null; u = null; if (StartOf(4)) { Qualident( -#line 337 "VBNET.ATG" +#line 339 "VBNET.ATG" out qualident); - if (la.kind == 19) { + if (la.kind == 21) { lexer.NextToken(); TypeName( -#line 338 "VBNET.ATG" +#line 340 "VBNET.ATG" out aliasedType); } -#line 340 "VBNET.ATG" +#line 342 "VBNET.ATG" if (qualident != null && qualident.Length > 0) { if (aliasedType != null) { u = new Using(qualident, aliasedType); @@ -334,64 +334,64 @@ out aliasedType); } else if (la.kind == 10) { -#line 348 "VBNET.ATG" +#line 350 "VBNET.ATG" string prefix = null; lexer.NextToken(); Identifier(); -#line 349 "VBNET.ATG" +#line 351 "VBNET.ATG" prefix = t.val; - Expect(19); + Expect(21); Expect(3); -#line 349 "VBNET.ATG" +#line 351 "VBNET.ATG" u = new Using(t.literalValue as string, prefix); Expect(11); - } else SynErr(241); + } else SynErr(243); } void Qualident( -#line 3343 "VBNET.ATG" +#line 3345 "VBNET.ATG" out string qualident) { -#line 3345 "VBNET.ATG" +#line 3347 "VBNET.ATG" string name; qualidentBuilder.Length = 0; Identifier(); -#line 3349 "VBNET.ATG" +#line 3351 "VBNET.ATG" qualidentBuilder.Append(t.val); while ( -#line 3350 "VBNET.ATG" +#line 3352 "VBNET.ATG" DotAndIdentOrKw()) { - Expect(25); + Expect(27); IdentifierOrKeyword( -#line 3350 "VBNET.ATG" +#line 3352 "VBNET.ATG" out name); -#line 3350 "VBNET.ATG" +#line 3352 "VBNET.ATG" qualidentBuilder.Append('.'); qualidentBuilder.Append(name); } -#line 3352 "VBNET.ATG" +#line 3354 "VBNET.ATG" qualident = qualidentBuilder.ToString(); } void TypeName( -#line 2458 "VBNET.ATG" +#line 2460 "VBNET.ATG" out TypeReference typeref) { -#line 2459 "VBNET.ATG" +#line 2461 "VBNET.ATG" ArrayList rank = null; NonArrayTypeName( -#line 2461 "VBNET.ATG" +#line 2463 "VBNET.ATG" out typeref, false); ArrayTypeModifiers( -#line 2465 "VBNET.ATG" +#line 2467 "VBNET.ATG" out rank); -#line 2466 "VBNET.ATG" +#line 2468 "VBNET.ATG" if (rank != null && typeref != null) { typeref.RankSpecifier = (int[])rank.ToArray(typeof(int)); } @@ -401,56 +401,56 @@ out rank); void Identifier() { if (StartOf(5)) { IdentifierForFieldDeclaration(); - } else if (la.kind == 95) { + } else if (la.kind == 97) { lexer.NextToken(); - } else SynErr(242); + } else SynErr(244); } void NamespaceBody() { - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(1)) { NamespaceMemberDecl(); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - Expect(110); - Expect(157); + Expect(112); + Expect(159); EndOfStmt(); } void AttributeSection( -#line 2660 "VBNET.ATG" +#line 2662 "VBNET.ATG" out AttributeSection section) { -#line 2662 "VBNET.ATG" +#line 2664 "VBNET.ATG" string attributeTarget = "";List attributes = new List(); ASTAttribute attribute; - Expect(37); + Expect(39); -#line 2666 "VBNET.ATG" +#line 2668 "VBNET.ATG" Location startPos = t.Location; if ( -#line 2667 "VBNET.ATG" +#line 2669 "VBNET.ATG" IsLocalAttrTarget()) { - if (la.kind == 116) { + if (la.kind == 118) { lexer.NextToken(); -#line 2668 "VBNET.ATG" +#line 2670 "VBNET.ATG" attributeTarget = "event"; - } else if (la.kind == 191) { + } else if (la.kind == 193) { lexer.NextToken(); -#line 2669 "VBNET.ATG" +#line 2671 "VBNET.ATG" attributeTarget = "return"; } else { Identifier(); -#line 2672 "VBNET.ATG" +#line 2674 "VBNET.ATG" string val = t.val.ToLower(System.Globalization.CultureInfo.InvariantCulture); if (val != "field" || val != "method" || val != "module" || val != "param" || @@ -460,31 +460,31 @@ IsLocalAttrTarget()) { attributeTarget = t.val; } - Expect(20); + Expect(22); } Attribute( -#line 2682 "VBNET.ATG" +#line 2684 "VBNET.ATG" out attribute); -#line 2682 "VBNET.ATG" +#line 2684 "VBNET.ATG" attributes.Add(attribute); while ( -#line 2683 "VBNET.ATG" +#line 2685 "VBNET.ATG" NotFinalComma()) { - Expect(21); + Expect(23); Attribute( -#line 2683 "VBNET.ATG" +#line 2685 "VBNET.ATG" out attribute); -#line 2683 "VBNET.ATG" +#line 2685 "VBNET.ATG" attributes.Add(attribute); } - if (la.kind == 21) { + if (la.kind == 23) { lexer.NextToken(); } - Expect(36); + Expect(38); -#line 2687 "VBNET.ATG" +#line 2689 "VBNET.ATG" section = new AttributeSection { AttributeTarget = attributeTarget, Attributes = attributes, @@ -495,92 +495,92 @@ out attribute); } void TypeModifier( -#line 3426 "VBNET.ATG" +#line 3428 "VBNET.ATG" ModifierList m) { switch (la.kind) { - case 184: { + case 186: { lexer.NextToken(); -#line 3427 "VBNET.ATG" +#line 3429 "VBNET.ATG" m.Add(Modifiers.Public, t.Location); break; } - case 183: { + case 185: { lexer.NextToken(); -#line 3428 "VBNET.ATG" +#line 3430 "VBNET.ATG" m.Add(Modifiers.Protected, t.Location); break; } - case 122: { + case 124: { lexer.NextToken(); -#line 3429 "VBNET.ATG" +#line 3431 "VBNET.ATG" m.Add(Modifiers.Internal, t.Location); break; } - case 181: { + case 183: { lexer.NextToken(); -#line 3430 "VBNET.ATG" +#line 3432 "VBNET.ATG" m.Add(Modifiers.Private, t.Location); break; } - case 196: { + case 198: { lexer.NextToken(); -#line 3431 "VBNET.ATG" +#line 3433 "VBNET.ATG" m.Add(Modifiers.Static, t.Location); break; } - case 195: { + case 197: { lexer.NextToken(); -#line 3432 "VBNET.ATG" +#line 3434 "VBNET.ATG" m.Add(Modifiers.New, t.Location); break; } - case 153: { + case 155: { lexer.NextToken(); -#line 3433 "VBNET.ATG" +#line 3435 "VBNET.ATG" m.Add(Modifiers.Abstract, t.Location); break; } - case 163: { + case 165: { lexer.NextToken(); -#line 3434 "VBNET.ATG" +#line 3436 "VBNET.ATG" m.Add(Modifiers.Sealed, t.Location); break; } - case 179: { + case 181: { lexer.NextToken(); -#line 3435 "VBNET.ATG" +#line 3437 "VBNET.ATG" m.Add(Modifiers.Partial, t.Location); break; } - default: SynErr(243); break; + default: SynErr(245); break; } } void NonModuleDeclaration( -#line 440 "VBNET.ATG" +#line 442 "VBNET.ATG" ModifierList m, List attributes) { -#line 442 "VBNET.ATG" +#line 444 "VBNET.ATG" TypeReference typeRef = null; List baseInterfaces = null; switch (la.kind) { - case 81: { + case 83: { -#line 445 "VBNET.ATG" +#line 447 "VBNET.ATG" m.Check(Modifiers.Classes); lexer.NextToken(); -#line 448 "VBNET.ATG" +#line 450 "VBNET.ATG" TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); newType.StartLocation = t.Location; compilationUnit.AddChild(newType); @@ -590,50 +590,50 @@ ModifierList m, List attributes) { Identifier(); -#line 455 "VBNET.ATG" +#line 457 "VBNET.ATG" newType.Name = t.val; TypeParameterList( -#line 456 "VBNET.ATG" +#line 458 "VBNET.ATG" newType.Templates); EndOfStmt(); -#line 458 "VBNET.ATG" +#line 460 "VBNET.ATG" newType.BodyStartLocation = t.Location; - if (la.kind == 137) { + if (la.kind == 139) { ClassBaseType( -#line 459 "VBNET.ATG" +#line 461 "VBNET.ATG" out typeRef); -#line 459 "VBNET.ATG" +#line 461 "VBNET.ATG" SafeAdd(newType, newType.BaseTypes, typeRef); } - while (la.kind == 133) { + while (la.kind == 135) { TypeImplementsClause( -#line 460 "VBNET.ATG" +#line 462 "VBNET.ATG" out baseInterfaces); -#line 460 "VBNET.ATG" +#line 462 "VBNET.ATG" newType.BaseTypes.AddRange(baseInterfaces); } ClassBody( -#line 461 "VBNET.ATG" +#line 463 "VBNET.ATG" newType); - Expect(110); - Expect(81); + Expect(112); + Expect(83); -#line 462 "VBNET.ATG" +#line 464 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); -#line 465 "VBNET.ATG" +#line 467 "VBNET.ATG" compilationUnit.BlockEnd(); break; } - case 152: { + case 154: { lexer.NextToken(); -#line 469 "VBNET.ATG" +#line 471 "VBNET.ATG" m.Check(Modifiers.VBModules); TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); compilationUnit.AddChild(newType); @@ -643,25 +643,25 @@ newType); Identifier(); -#line 476 "VBNET.ATG" +#line 478 "VBNET.ATG" newType.Name = t.val; EndOfStmt(); -#line 478 "VBNET.ATG" +#line 480 "VBNET.ATG" newType.BodyStartLocation = t.Location; ModuleBody( -#line 479 "VBNET.ATG" +#line 481 "VBNET.ATG" newType); -#line 481 "VBNET.ATG" +#line 483 "VBNET.ATG" compilationUnit.BlockEnd(); break; } - case 205: { + case 207: { lexer.NextToken(); -#line 485 "VBNET.ATG" +#line 487 "VBNET.ATG" m.Check(Modifiers.VBStructures); TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); compilationUnit.AddChild(newType); @@ -671,36 +671,36 @@ newType); Identifier(); -#line 492 "VBNET.ATG" +#line 494 "VBNET.ATG" newType.Name = t.val; TypeParameterList( -#line 493 "VBNET.ATG" +#line 495 "VBNET.ATG" newType.Templates); EndOfStmt(); -#line 495 "VBNET.ATG" +#line 497 "VBNET.ATG" newType.BodyStartLocation = t.Location; - while (la.kind == 133) { + while (la.kind == 135) { TypeImplementsClause( -#line 496 "VBNET.ATG" +#line 498 "VBNET.ATG" out baseInterfaces); -#line 496 "VBNET.ATG" +#line 498 "VBNET.ATG" newType.BaseTypes.AddRange(baseInterfaces); } StructureBody( -#line 497 "VBNET.ATG" +#line 499 "VBNET.ATG" newType); -#line 499 "VBNET.ATG" +#line 501 "VBNET.ATG" compilationUnit.BlockEnd(); break; } - case 112: { + case 114: { lexer.NextToken(); -#line 504 "VBNET.ATG" +#line 506 "VBNET.ATG" m.Check(Modifiers.VBEnums); TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); newType.StartLocation = m.GetDeclarationLocation(t.Location); @@ -711,34 +711,34 @@ newType); Identifier(); -#line 512 "VBNET.ATG" +#line 514 "VBNET.ATG" newType.Name = t.val; - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); NonArrayTypeName( -#line 513 "VBNET.ATG" +#line 515 "VBNET.ATG" out typeRef, false); -#line 513 "VBNET.ATG" +#line 515 "VBNET.ATG" SafeAdd(newType, newType.BaseTypes, typeRef); } EndOfStmt(); -#line 515 "VBNET.ATG" +#line 517 "VBNET.ATG" newType.BodyStartLocation = t.Location; EnumBody( -#line 516 "VBNET.ATG" +#line 518 "VBNET.ATG" newType); -#line 518 "VBNET.ATG" +#line 520 "VBNET.ATG" compilationUnit.BlockEnd(); break; } - case 139: { + case 141: { lexer.NextToken(); -#line 523 "VBNET.ATG" +#line 525 "VBNET.ATG" m.Check(Modifiers.VBInterfacs); TypeDeclaration newType = new TypeDeclaration(m.Modifier, attributes); newType.StartLocation = m.GetDeclarationLocation(t.Location); @@ -748,431 +748,431 @@ newType); Identifier(); -#line 530 "VBNET.ATG" +#line 532 "VBNET.ATG" newType.Name = t.val; TypeParameterList( -#line 531 "VBNET.ATG" +#line 533 "VBNET.ATG" newType.Templates); EndOfStmt(); -#line 533 "VBNET.ATG" +#line 535 "VBNET.ATG" newType.BodyStartLocation = t.Location; - while (la.kind == 137) { + while (la.kind == 139) { InterfaceBase( -#line 534 "VBNET.ATG" +#line 536 "VBNET.ATG" out baseInterfaces); -#line 534 "VBNET.ATG" +#line 536 "VBNET.ATG" newType.BaseTypes.AddRange(baseInterfaces); } InterfaceBody( -#line 535 "VBNET.ATG" +#line 537 "VBNET.ATG" newType); -#line 537 "VBNET.ATG" +#line 539 "VBNET.ATG" compilationUnit.BlockEnd(); break; } - case 100: { + case 102: { lexer.NextToken(); -#line 542 "VBNET.ATG" +#line 544 "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 == 206) { + if (la.kind == 208) { lexer.NextToken(); Identifier(); -#line 549 "VBNET.ATG" +#line 551 "VBNET.ATG" delegateDeclr.Name = t.val; TypeParameterList( -#line 550 "VBNET.ATG" +#line 552 "VBNET.ATG" delegateDeclr.Templates); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 551 "VBNET.ATG" +#line 553 "VBNET.ATG" p); } - Expect(35); + Expect(37); -#line 551 "VBNET.ATG" +#line 553 "VBNET.ATG" delegateDeclr.Parameters = p; } - } else if (la.kind == 124) { + } else if (la.kind == 126) { 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 == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 555 "VBNET.ATG" +#line 557 "VBNET.ATG" p); } - Expect(35); + Expect(37); -#line 555 "VBNET.ATG" +#line 557 "VBNET.ATG" delegateDeclr.Parameters = p; } - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); -#line 556 "VBNET.ATG" +#line 558 "VBNET.ATG" TypeReference type; TypeName( -#line 556 "VBNET.ATG" +#line 558 "VBNET.ATG" out type); -#line 556 "VBNET.ATG" +#line 558 "VBNET.ATG" delegateDeclr.ReturnType = type; } - } else SynErr(244); + } else SynErr(246); -#line 558 "VBNET.ATG" +#line 560 "VBNET.ATG" delegateDeclr.EndLocation = t.EndLocation; EndOfStmt(); -#line 561 "VBNET.ATG" +#line 563 "VBNET.ATG" compilationUnit.AddChild(delegateDeclr); break; } - default: SynErr(245); break; + default: SynErr(247); break; } } void TypeParameterList( -#line 384 "VBNET.ATG" +#line 386 "VBNET.ATG" List templates) { -#line 386 "VBNET.ATG" +#line 388 "VBNET.ATG" TemplateDefinition template; if ( -#line 390 "VBNET.ATG" +#line 392 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { lexer.NextToken(); - Expect(166); + Expect(168); TypeParameter( -#line 391 "VBNET.ATG" +#line 393 "VBNET.ATG" out template); -#line 393 "VBNET.ATG" +#line 395 "VBNET.ATG" if (template != null) templates.Add(template); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); TypeParameter( -#line 396 "VBNET.ATG" +#line 398 "VBNET.ATG" out template); -#line 398 "VBNET.ATG" +#line 400 "VBNET.ATG" if (template != null) templates.Add(template); } - Expect(35); + Expect(37); } } void TypeParameter( -#line 406 "VBNET.ATG" +#line 408 "VBNET.ATG" out TemplateDefinition template) { Identifier(); -#line 408 "VBNET.ATG" +#line 410 "VBNET.ATG" template = new TemplateDefinition(t.val, null); - if (la.kind == 60) { + if (la.kind == 62) { TypeParameterConstraints( -#line 409 "VBNET.ATG" +#line 411 "VBNET.ATG" template); } } void TypeParameterConstraints( -#line 413 "VBNET.ATG" +#line 415 "VBNET.ATG" TemplateDefinition template) { -#line 415 "VBNET.ATG" +#line 417 "VBNET.ATG" TypeReference constraint; - Expect(60); - if (la.kind == 32) { + Expect(62); + if (la.kind == 34) { lexer.NextToken(); TypeParameterConstraint( -#line 421 "VBNET.ATG" +#line 423 "VBNET.ATG" out constraint); -#line 421 "VBNET.ATG" +#line 423 "VBNET.ATG" if (constraint != null) { template.Bases.Add(constraint); } - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); TypeParameterConstraint( -#line 424 "VBNET.ATG" +#line 426 "VBNET.ATG" out constraint); -#line 424 "VBNET.ATG" +#line 426 "VBNET.ATG" if (constraint != null) { template.Bases.Add(constraint); } } - Expect(33); + Expect(35); } else if (StartOf(7)) { TypeParameterConstraint( -#line 427 "VBNET.ATG" +#line 429 "VBNET.ATG" out constraint); -#line 427 "VBNET.ATG" +#line 429 "VBNET.ATG" if (constraint != null) { template.Bases.Add(constraint); } - } else SynErr(246); + } else SynErr(248); } void TypeParameterConstraint( -#line 431 "VBNET.ATG" +#line 433 "VBNET.ATG" out TypeReference constraint) { -#line 432 "VBNET.ATG" +#line 434 "VBNET.ATG" constraint = null; - if (la.kind == 81) { + if (la.kind == 83) { lexer.NextToken(); -#line 433 "VBNET.ATG" +#line 435 "VBNET.ATG" constraint = TypeReference.ClassConstraint; - } else if (la.kind == 205) { + } else if (la.kind == 207) { lexer.NextToken(); -#line 434 "VBNET.ATG" +#line 436 "VBNET.ATG" constraint = TypeReference.StructConstraint; - } else if (la.kind == 159) { + } else if (la.kind == 161) { lexer.NextToken(); -#line 435 "VBNET.ATG" +#line 437 "VBNET.ATG" constraint = TypeReference.NewConstraint; } else if (StartOf(8)) { TypeName( -#line 436 "VBNET.ATG" +#line 438 "VBNET.ATG" out constraint); - } else SynErr(247); + } else SynErr(249); } void ClassBaseType( -#line 781 "VBNET.ATG" +#line 783 "VBNET.ATG" out TypeReference typeRef) { -#line 783 "VBNET.ATG" +#line 785 "VBNET.ATG" typeRef = null; - Expect(137); + Expect(139); TypeName( -#line 786 "VBNET.ATG" +#line 788 "VBNET.ATG" out typeRef); EndOfStmt(); } void TypeImplementsClause( -#line 1598 "VBNET.ATG" +#line 1600 "VBNET.ATG" out List baseInterfaces) { -#line 1600 "VBNET.ATG" +#line 1602 "VBNET.ATG" baseInterfaces = new List(); TypeReference type = null; - Expect(133); + Expect(135); TypeName( -#line 1603 "VBNET.ATG" +#line 1605 "VBNET.ATG" out type); -#line 1605 "VBNET.ATG" +#line 1607 "VBNET.ATG" if (type != null) baseInterfaces.Add(type); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); TypeName( -#line 1608 "VBNET.ATG" +#line 1610 "VBNET.ATG" out type); -#line 1609 "VBNET.ATG" +#line 1611 "VBNET.ATG" if (type != null) baseInterfaces.Add(type); } EndOfStmt(); } void ClassBody( -#line 575 "VBNET.ATG" +#line 577 "VBNET.ATG" TypeDeclaration newType) { -#line 576 "VBNET.ATG" +#line 578 "VBNET.ATG" AttributeSection section; - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(9)) { -#line 579 "VBNET.ATG" +#line 581 "VBNET.ATG" List attributes = new List(); ModifierList m = new ModifierList(); - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 582 "VBNET.ATG" +#line 584 "VBNET.ATG" out section); -#line 582 "VBNET.ATG" +#line 584 "VBNET.ATG" attributes.Add(section); } while (StartOf(10)) { MemberModifier( -#line 583 "VBNET.ATG" +#line 585 "VBNET.ATG" m); } ClassMemberDecl( -#line 584 "VBNET.ATG" +#line 586 "VBNET.ATG" m, attributes); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } } void ModuleBody( -#line 606 "VBNET.ATG" +#line 608 "VBNET.ATG" TypeDeclaration newType) { -#line 607 "VBNET.ATG" +#line 609 "VBNET.ATG" AttributeSection section; - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(9)) { -#line 610 "VBNET.ATG" +#line 612 "VBNET.ATG" List attributes = new List(); ModifierList m = new ModifierList(); - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 613 "VBNET.ATG" +#line 615 "VBNET.ATG" out section); -#line 613 "VBNET.ATG" +#line 615 "VBNET.ATG" attributes.Add(section); } while (StartOf(10)) { MemberModifier( -#line 614 "VBNET.ATG" +#line 616 "VBNET.ATG" m); } ClassMemberDecl( -#line 615 "VBNET.ATG" +#line 617 "VBNET.ATG" m, attributes); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - Expect(110); - Expect(152); + Expect(112); + Expect(154); -#line 618 "VBNET.ATG" +#line 620 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); } void StructureBody( -#line 589 "VBNET.ATG" +#line 591 "VBNET.ATG" TypeDeclaration newType) { -#line 590 "VBNET.ATG" +#line 592 "VBNET.ATG" AttributeSection section; - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(9)) { -#line 593 "VBNET.ATG" +#line 595 "VBNET.ATG" List attributes = new List(); ModifierList m = new ModifierList(); - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 596 "VBNET.ATG" +#line 598 "VBNET.ATG" out section); -#line 596 "VBNET.ATG" +#line 598 "VBNET.ATG" attributes.Add(section); } while (StartOf(10)) { MemberModifier( -#line 597 "VBNET.ATG" +#line 599 "VBNET.ATG" m); } StructureMemberDecl( -#line 598 "VBNET.ATG" +#line 600 "VBNET.ATG" m, attributes); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - Expect(110); - Expect(205); + Expect(112); + Expect(207); -#line 601 "VBNET.ATG" +#line 603 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); } void NonArrayTypeName( -#line 2484 "VBNET.ATG" +#line 2486 "VBNET.ATG" out TypeReference typeref, bool canBeUnbound) { -#line 2486 "VBNET.ATG" +#line 2488 "VBNET.ATG" string name; typeref = null; bool isGlobal = false; if (StartOf(11)) { - if (la.kind == 127) { + if (la.kind == 129) { lexer.NextToken(); - Expect(25); + Expect(27); -#line 2491 "VBNET.ATG" +#line 2493 "VBNET.ATG" isGlobal = true; } QualIdentAndTypeArguments( -#line 2492 "VBNET.ATG" +#line 2494 "VBNET.ATG" out typeref, canBeUnbound); -#line 2493 "VBNET.ATG" +#line 2495 "VBNET.ATG" typeref.IsGlobal = isGlobal; - while (la.kind == 25) { + while (la.kind == 27) { lexer.NextToken(); -#line 2494 "VBNET.ATG" +#line 2496 "VBNET.ATG" TypeReference nestedTypeRef; QualIdentAndTypeArguments( -#line 2495 "VBNET.ATG" +#line 2497 "VBNET.ATG" out nestedTypeRef, canBeUnbound); -#line 2496 "VBNET.ATG" +#line 2498 "VBNET.ATG" typeref = new InnerClassTypeReference(typeref, nestedTypeRef.Type, nestedTypeRef.GenericTypes); } - } else if (la.kind == 165) { + } else if (la.kind == 167) { lexer.NextToken(); -#line 2499 "VBNET.ATG" +#line 2501 "VBNET.ATG" typeref = new TypeReference("System.Object", true); - if (la.kind == 30) { + if (la.kind == 32) { lexer.NextToken(); -#line 2503 "VBNET.ATG" +#line 2505 "VBNET.ATG" List typeArguments = new List(1); if (typeref != null) typeArguments.Add(typeref); typeref = new TypeReference("System.Nullable", typeArguments) { IsKeyword = true }; @@ -1180,276 +1180,276 @@ out nestedTypeRef, canBeUnbound); } } else if (StartOf(12)) { PrimitiveTypeName( -#line 2509 "VBNET.ATG" +#line 2511 "VBNET.ATG" out name); -#line 2509 "VBNET.ATG" +#line 2511 "VBNET.ATG" typeref = new TypeReference(name, true); - if (la.kind == 30) { + if (la.kind == 32) { lexer.NextToken(); -#line 2513 "VBNET.ATG" +#line 2515 "VBNET.ATG" List typeArguments = new List(1); if (typeref != null) typeArguments.Add(typeref); typeref = new TypeReference("System.Nullable", typeArguments) { IsKeyword = true }; } - } else SynErr(248); + } else SynErr(250); } void EnumBody( -#line 622 "VBNET.ATG" +#line 624 "VBNET.ATG" TypeDeclaration newType) { -#line 623 "VBNET.ATG" +#line 625 "VBNET.ATG" FieldDeclaration f; - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(13)) { EnumMemberDecl( -#line 626 "VBNET.ATG" +#line 628 "VBNET.ATG" out f); -#line 628 "VBNET.ATG" +#line 630 "VBNET.ATG" compilationUnit.AddChild(f); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - Expect(110); Expect(112); + Expect(114); -#line 632 "VBNET.ATG" +#line 634 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); } void InterfaceBase( -#line 1583 "VBNET.ATG" +#line 1585 "VBNET.ATG" out List bases) { -#line 1585 "VBNET.ATG" +#line 1587 "VBNET.ATG" TypeReference type; bases = new List(); - Expect(137); + Expect(139); TypeName( -#line 1589 "VBNET.ATG" +#line 1591 "VBNET.ATG" out type); -#line 1589 "VBNET.ATG" +#line 1591 "VBNET.ATG" if (type != null) bases.Add(type); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); TypeName( -#line 1592 "VBNET.ATG" +#line 1594 "VBNET.ATG" out type); -#line 1592 "VBNET.ATG" +#line 1594 "VBNET.ATG" if (type != null) bases.Add(type); } EndOfStmt(); } void InterfaceBody( -#line 636 "VBNET.ATG" +#line 638 "VBNET.ATG" TypeDeclaration newType) { - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } while (StartOf(14)) { InterfaceMemberDecl(); - while (la.kind == 1 || la.kind == 20) { + while (la.kind == 1 || la.kind == 22) { EndOfStmt(); } } - Expect(110); - Expect(139); + Expect(112); + Expect(141); -#line 642 "VBNET.ATG" +#line 644 "VBNET.ATG" newType.EndLocation = t.EndLocation; EndOfStmt(); } void FormalParameterList( -#line 2697 "VBNET.ATG" +#line 2699 "VBNET.ATG" List parameter) { -#line 2698 "VBNET.ATG" +#line 2700 "VBNET.ATG" ParameterDeclarationExpression p; FormalParameter( -#line 2700 "VBNET.ATG" +#line 2702 "VBNET.ATG" out p); -#line 2700 "VBNET.ATG" +#line 2702 "VBNET.ATG" if (p != null) parameter.Add(p); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); FormalParameter( -#line 2702 "VBNET.ATG" +#line 2704 "VBNET.ATG" out p); -#line 2702 "VBNET.ATG" +#line 2704 "VBNET.ATG" if (p != null) parameter.Add(p); } } void MemberModifier( -#line 3438 "VBNET.ATG" +#line 3440 "VBNET.ATG" ModifierList m) { switch (la.kind) { - case 153: { + case 155: { lexer.NextToken(); -#line 3439 "VBNET.ATG" +#line 3441 "VBNET.ATG" m.Add(Modifiers.Abstract, t.Location); break; } - case 99: { + case 101: { lexer.NextToken(); -#line 3440 "VBNET.ATG" +#line 3442 "VBNET.ATG" m.Add(Modifiers.Default, t.Location); break; } - case 122: { + case 124: { lexer.NextToken(); -#line 3441 "VBNET.ATG" +#line 3443 "VBNET.ATG" m.Add(Modifiers.Internal, t.Location); break; } - case 195: { + case 197: { lexer.NextToken(); -#line 3442 "VBNET.ATG" +#line 3444 "VBNET.ATG" m.Add(Modifiers.New, t.Location); break; } - case 177: { + case 179: { lexer.NextToken(); -#line 3443 "VBNET.ATG" +#line 3445 "VBNET.ATG" m.Add(Modifiers.Override, t.Location); break; } - case 154: { + case 156: { lexer.NextToken(); -#line 3444 "VBNET.ATG" +#line 3446 "VBNET.ATG" m.Add(Modifiers.Abstract, t.Location); break; } - case 181: { + case 183: { lexer.NextToken(); -#line 3445 "VBNET.ATG" +#line 3447 "VBNET.ATG" m.Add(Modifiers.Private, t.Location); break; } - case 183: { + case 185: { lexer.NextToken(); -#line 3446 "VBNET.ATG" +#line 3448 "VBNET.ATG" m.Add(Modifiers.Protected, t.Location); break; } - case 184: { + case 186: { lexer.NextToken(); -#line 3447 "VBNET.ATG" +#line 3449 "VBNET.ATG" m.Add(Modifiers.Public, t.Location); break; } - case 163: { + case 165: { lexer.NextToken(); -#line 3448 "VBNET.ATG" +#line 3450 "VBNET.ATG" m.Add(Modifiers.Sealed, t.Location); break; } - case 164: { + case 166: { lexer.NextToken(); -#line 3449 "VBNET.ATG" +#line 3451 "VBNET.ATG" m.Add(Modifiers.Sealed, t.Location); break; } - case 196: { + case 198: { lexer.NextToken(); -#line 3450 "VBNET.ATG" +#line 3452 "VBNET.ATG" m.Add(Modifiers.Static, t.Location); break; } - case 176: { + case 178: { lexer.NextToken(); -#line 3451 "VBNET.ATG" +#line 3453 "VBNET.ATG" m.Add(Modifiers.Virtual, t.Location); break; } - case 175: { + case 177: { lexer.NextToken(); -#line 3452 "VBNET.ATG" +#line 3454 "VBNET.ATG" m.Add(Modifiers.Overloads, t.Location); break; } - case 186: { + case 188: { lexer.NextToken(); -#line 3453 "VBNET.ATG" +#line 3455 "VBNET.ATG" m.Add(Modifiers.ReadOnly, t.Location); break; } - case 231: { + case 233: { lexer.NextToken(); -#line 3454 "VBNET.ATG" +#line 3456 "VBNET.ATG" m.Add(Modifiers.WriteOnly, t.Location); break; } - case 230: { + case 232: { lexer.NextToken(); -#line 3455 "VBNET.ATG" +#line 3457 "VBNET.ATG" m.Add(Modifiers.WithEvents, t.Location); break; } - case 102: { + case 104: { lexer.NextToken(); -#line 3456 "VBNET.ATG" +#line 3458 "VBNET.ATG" m.Add(Modifiers.Dim, t.Location); break; } - case 179: { + case 181: { lexer.NextToken(); -#line 3457 "VBNET.ATG" +#line 3459 "VBNET.ATG" m.Add(Modifiers.Partial, t.Location); break; } - default: SynErr(249); break; + default: SynErr(251); break; } } void ClassMemberDecl( -#line 777 "VBNET.ATG" +#line 779 "VBNET.ATG" ModifierList m, List attributes) { StructureMemberDecl( -#line 778 "VBNET.ATG" +#line 780 "VBNET.ATG" m, attributes); } void StructureMemberDecl( -#line 791 "VBNET.ATG" +#line 793 "VBNET.ATG" ModifierList m, List attributes) { -#line 793 "VBNET.ATG" +#line 795 "VBNET.ATG" TypeReference type = null; List p = new List(); Statement stmt = null; @@ -1457,63 +1457,63 @@ ModifierList m, List attributes) { List templates = new List(); switch (la.kind) { - case 81: case 100: case 112: case 139: case 152: case 205: { + case 83: case 102: case 114: case 141: case 154: case 207: { NonModuleDeclaration( -#line 800 "VBNET.ATG" +#line 802 "VBNET.ATG" m, attributes); break; } - case 206: { + case 208: { lexer.NextToken(); -#line 804 "VBNET.ATG" +#line 806 "VBNET.ATG" Location startPos = t.Location; if (StartOf(4)) { -#line 808 "VBNET.ATG" +#line 810 "VBNET.ATG" string name = String.Empty; MethodDeclaration methodDeclaration; List handlesClause = null; List implementsClause = null; Identifier(); -#line 814 "VBNET.ATG" +#line 816 "VBNET.ATG" name = t.val; m.Check(Modifiers.VBMethods); TypeParameterList( -#line 817 "VBNET.ATG" +#line 819 "VBNET.ATG" templates); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 818 "VBNET.ATG" +#line 820 "VBNET.ATG" p); } - Expect(35); + Expect(37); } - if (la.kind == 131 || la.kind == 133) { - if (la.kind == 133) { + if (la.kind == 133 || la.kind == 135) { + if (la.kind == 135) { ImplementsClause( -#line 821 "VBNET.ATG" +#line 823 "VBNET.ATG" out implementsClause); } else { HandlesClause( -#line 823 "VBNET.ATG" +#line 825 "VBNET.ATG" out handlesClause); } } -#line 826 "VBNET.ATG" +#line 828 "VBNET.ATG" Location endLocation = t.EndLocation; if ( -#line 829 "VBNET.ATG" +#line 831 "VBNET.ATG" IsMustOverride(m)) { EndOfStmt(); -#line 832 "VBNET.ATG" +#line 834 "VBNET.ATG" methodDeclaration = new MethodDeclaration { Name = name, Modifier = m.Modifier, Parameters = p, Attributes = attributes, StartLocation = m.GetDeclarationLocation(startPos), EndLocation = endLocation, @@ -1527,7 +1527,7 @@ IsMustOverride(m)) { } else if (la.kind == 1) { lexer.NextToken(); -#line 845 "VBNET.ATG" +#line 847 "VBNET.ATG" methodDeclaration = new MethodDeclaration { Name = name, Modifier = m.Modifier, Parameters = p, Attributes = attributes, StartLocation = m.GetDeclarationLocation(startPos), EndLocation = endLocation, @@ -1539,67 +1539,67 @@ IsMustOverride(m)) { compilationUnit.AddChild(methodDeclaration); -#line 856 "VBNET.ATG" +#line 858 "VBNET.ATG" if (ParseMethodBodies) { Block( -#line 857 "VBNET.ATG" +#line 859 "VBNET.ATG" out stmt); - Expect(110); - Expect(206); + Expect(112); + Expect(208); -#line 859 "VBNET.ATG" +#line 861 "VBNET.ATG" } else { // don't parse method body lexer.SkipCurrentBlock(Tokens.Sub); stmt = new BlockStatement(); } -#line 865 "VBNET.ATG" +#line 867 "VBNET.ATG" methodDeclaration.Body = (BlockStatement)stmt; -#line 866 "VBNET.ATG" +#line 868 "VBNET.ATG" methodDeclaration.Body.EndLocation = t.EndLocation; EndOfStmt(); - } else SynErr(250); - } else if (la.kind == 159) { + } else SynErr(252); + } else if (la.kind == 161) { lexer.NextToken(); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 870 "VBNET.ATG" +#line 872 "VBNET.ATG" p); } - Expect(35); + Expect(37); } -#line 871 "VBNET.ATG" +#line 873 "VBNET.ATG" m.Check(Modifiers.Constructors); -#line 872 "VBNET.ATG" +#line 874 "VBNET.ATG" Location constructorEndLocation = t.EndLocation; Expect(1); -#line 875 "VBNET.ATG" +#line 877 "VBNET.ATG" if (ParseMethodBodies) { Block( -#line 876 "VBNET.ATG" +#line 878 "VBNET.ATG" out stmt); - Expect(110); - Expect(206); + Expect(112); + Expect(208); -#line 878 "VBNET.ATG" +#line 880 "VBNET.ATG" } else { // don't parse method body lexer.SkipCurrentBlock(Tokens.Sub); stmt = new BlockStatement(); } -#line 884 "VBNET.ATG" +#line 886 "VBNET.ATG" Location endLocation = t.EndLocation; EndOfStmt(); -#line 887 "VBNET.ATG" +#line 889 "VBNET.ATG" ConstructorDeclaration cd = new ConstructorDeclaration("New", m.Modifier, p, attributes); cd.StartLocation = m.GetDeclarationLocation(startPos); cd.EndLocation = constructorEndLocation; @@ -1607,13 +1607,13 @@ out stmt); cd.Body.EndLocation = endLocation; compilationUnit.AddChild(cd); - } else SynErr(251); + } else SynErr(253); break; } - case 124: { + case 126: { lexer.NextToken(); -#line 899 "VBNET.ATG" +#line 901 "VBNET.ATG" m.Check(Modifiers.VBMethods); string name = String.Empty; Location startPos = t.Location; @@ -1623,28 +1623,28 @@ out stmt); Identifier(); -#line 906 "VBNET.ATG" +#line 908 "VBNET.ATG" name = t.val; TypeParameterList( -#line 907 "VBNET.ATG" +#line 909 "VBNET.ATG" templates); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 908 "VBNET.ATG" +#line 910 "VBNET.ATG" p); } - Expect(35); + Expect(37); } - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 910 "VBNET.ATG" +#line 912 "VBNET.ATG" out returnTypeAttributeSection); -#line 912 "VBNET.ATG" +#line 914 "VBNET.ATG" if (returnTypeAttributeSection != null) { returnTypeAttributeSection.AttributeTarget = "return"; attributes.Add(returnTypeAttributeSection); @@ -1652,35 +1652,35 @@ out returnTypeAttributeSection); } TypeName( -#line 918 "VBNET.ATG" +#line 920 "VBNET.ATG" out type); } -#line 920 "VBNET.ATG" +#line 922 "VBNET.ATG" if(type == null) { type = new TypeReference("System.Object", true); } - if (la.kind == 131 || la.kind == 133) { - if (la.kind == 133) { + if (la.kind == 133 || la.kind == 135) { + if (la.kind == 135) { ImplementsClause( -#line 926 "VBNET.ATG" +#line 928 "VBNET.ATG" out implementsClause); } else { HandlesClause( -#line 928 "VBNET.ATG" +#line 930 "VBNET.ATG" out handlesClause); } } -#line 931 "VBNET.ATG" +#line 933 "VBNET.ATG" Location endLocation = t.EndLocation; if ( -#line 934 "VBNET.ATG" +#line 936 "VBNET.ATG" IsMustOverride(m)) { EndOfStmt(); -#line 937 "VBNET.ATG" +#line 939 "VBNET.ATG" methodDeclaration = new MethodDeclaration { Name = name, Modifier = m.Modifier, TypeReference = type, Parameters = p, Attributes = attributes, @@ -1696,7 +1696,7 @@ IsMustOverride(m)) { } else if (la.kind == 1) { lexer.NextToken(); -#line 952 "VBNET.ATG" +#line 954 "VBNET.ATG" methodDeclaration = new MethodDeclaration { Name = name, Modifier = m.Modifier, TypeReference = type, Parameters = p, Attributes = attributes, @@ -1711,12 +1711,12 @@ IsMustOverride(m)) { if (ParseMethodBodies) { Block( -#line 965 "VBNET.ATG" +#line 967 "VBNET.ATG" out stmt); - Expect(110); - Expect(124); + Expect(112); + Expect(126); -#line 967 "VBNET.ATG" +#line 969 "VBNET.ATG" } else { // don't parse method body lexer.SkipCurrentBlock(Tokens.Function); stmt = new BlockStatement(); @@ -1726,13 +1726,13 @@ out stmt); methodDeclaration.Body.EndLocation = t.EndLocation; EndOfStmt(); - } else SynErr(252); + } else SynErr(254); break; } - case 98: { + case 100: { lexer.NextToken(); -#line 981 "VBNET.ATG" +#line 983 "VBNET.ATG" m.Check(Modifiers.VBExternalMethods); Location startPos = t.Location; CharsetModifier charsetModifer = CharsetModifier.None; @@ -1742,92 +1742,92 @@ out stmt); if (StartOf(15)) { Charset( -#line 988 "VBNET.ATG" +#line 990 "VBNET.ATG" out charsetModifer); } - if (la.kind == 206) { + if (la.kind == 208) { lexer.NextToken(); Identifier(); -#line 991 "VBNET.ATG" +#line 993 "VBNET.ATG" name = t.val; - Expect(146); + Expect(148); Expect(3); -#line 992 "VBNET.ATG" +#line 994 "VBNET.ATG" library = t.literalValue as string; - if (la.kind == 56) { + if (la.kind == 58) { lexer.NextToken(); Expect(3); -#line 993 "VBNET.ATG" +#line 995 "VBNET.ATG" alias = t.literalValue as string; } - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 994 "VBNET.ATG" +#line 996 "VBNET.ATG" p); } - Expect(35); + Expect(37); } EndOfStmt(); -#line 997 "VBNET.ATG" +#line 999 "VBNET.ATG" DeclareDeclaration declareDeclaration = new DeclareDeclaration(name, m.Modifier, null, p, attributes, library, alias, charsetModifer); declareDeclaration.StartLocation = m.GetDeclarationLocation(startPos); declareDeclaration.EndLocation = t.EndLocation; compilationUnit.AddChild(declareDeclaration); - } else if (la.kind == 124) { + } else if (la.kind == 126) { lexer.NextToken(); Identifier(); -#line 1004 "VBNET.ATG" +#line 1006 "VBNET.ATG" name = t.val; - Expect(146); + Expect(148); Expect(3); -#line 1005 "VBNET.ATG" +#line 1007 "VBNET.ATG" library = t.literalValue as string; - if (la.kind == 56) { + if (la.kind == 58) { lexer.NextToken(); Expect(3); -#line 1006 "VBNET.ATG" +#line 1008 "VBNET.ATG" alias = t.literalValue as string; } - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1007 "VBNET.ATG" +#line 1009 "VBNET.ATG" p); } - Expect(35); + Expect(37); } - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 1008 "VBNET.ATG" +#line 1010 "VBNET.ATG" out type); } EndOfStmt(); -#line 1011 "VBNET.ATG" +#line 1013 "VBNET.ATG" DeclareDeclaration declareDeclaration = new DeclareDeclaration(name, m.Modifier, type, p, attributes, library, alias, charsetModifer); declareDeclaration.StartLocation = m.GetDeclarationLocation(startPos); declareDeclaration.EndLocation = t.EndLocation; compilationUnit.AddChild(declareDeclaration); - } else SynErr(253); + } else SynErr(255); break; } - case 116: { + case 118: { lexer.NextToken(); -#line 1021 "VBNET.ATG" +#line 1023 "VBNET.ATG" m.Check(Modifiers.VBEvents); Location startPos = t.Location; EventDeclaration eventDeclaration; @@ -1836,31 +1836,31 @@ out type); Identifier(); -#line 1027 "VBNET.ATG" +#line 1029 "VBNET.ATG" name= t.val; - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 1029 "VBNET.ATG" +#line 1031 "VBNET.ATG" out type); } else if (StartOf(16)) { - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1031 "VBNET.ATG" +#line 1033 "VBNET.ATG" p); } - Expect(35); + Expect(37); } - } else SynErr(254); - if (la.kind == 133) { + } else SynErr(256); + if (la.kind == 135) { ImplementsClause( -#line 1033 "VBNET.ATG" +#line 1035 "VBNET.ATG" out implementsClause); } -#line 1035 "VBNET.ATG" +#line 1037 "VBNET.ATG" eventDeclaration = new EventDeclaration { Name = name, TypeReference = type, Modifier = m.Modifier, Parameters = p, Attributes = attributes, InterfaceImplementations = implementsClause, @@ -1872,77 +1872,77 @@ out implementsClause); EndOfStmt(); break; } - case 2: case 55: case 59: case 61: case 62: case 63: case 64: case 67: case 84: case 101: case 104: case 113: case 118: case 123: case 130: case 136: case 140: case 143: case 167: case 173: case 180: case 199: case 208: case 209: case 219: case 220: case 226: { + 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: { -#line 1046 "VBNET.ATG" +#line 1048 "VBNET.ATG" m.Check(Modifiers.Fields); FieldDeclaration fd = new FieldDeclaration(attributes, null, m.Modifier); IdentifierForFieldDeclaration(); -#line 1049 "VBNET.ATG" +#line 1051 "VBNET.ATG" string name = t.val; -#line 1050 "VBNET.ATG" +#line 1052 "VBNET.ATG" fd.StartLocation = m.GetDeclarationLocation(t.Location); VariableDeclaratorPartAfterIdentifier( -#line 1052 "VBNET.ATG" +#line 1054 "VBNET.ATG" variableDeclarators, name); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); VariableDeclarator( -#line 1053 "VBNET.ATG" +#line 1055 "VBNET.ATG" variableDeclarators); } EndOfStmt(); -#line 1056 "VBNET.ATG" +#line 1058 "VBNET.ATG" fd.EndLocation = t.EndLocation; fd.Fields = variableDeclarators; compilationUnit.AddChild(fd); break; } - case 85: { + case 87: { -#line 1061 "VBNET.ATG" +#line 1063 "VBNET.ATG" m.Check(Modifiers.Fields); lexer.NextToken(); -#line 1062 "VBNET.ATG" +#line 1064 "VBNET.ATG" m.Add(Modifiers.Const, t.Location); -#line 1064 "VBNET.ATG" +#line 1066 "VBNET.ATG" FieldDeclaration fd = new FieldDeclaration(attributes, type, m.Modifier); fd.StartLocation = m.GetDeclarationLocation(t.Location); List constantDeclarators = new List(); ConstantDeclarator( -#line 1068 "VBNET.ATG" +#line 1070 "VBNET.ATG" constantDeclarators); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); ConstantDeclarator( -#line 1069 "VBNET.ATG" +#line 1071 "VBNET.ATG" constantDeclarators); } -#line 1071 "VBNET.ATG" +#line 1073 "VBNET.ATG" fd.Fields = constantDeclarators; fd.EndLocation = t.Location; EndOfStmt(); -#line 1076 "VBNET.ATG" +#line 1078 "VBNET.ATG" fd.EndLocation = t.EndLocation; compilationUnit.AddChild(fd); break; } - case 182: { + case 184: { lexer.NextToken(); -#line 1082 "VBNET.ATG" +#line 1084 "VBNET.ATG" m.Check(Modifiers.VBProperties); Location startPos = t.Location; List implementsClause = null; @@ -1951,25 +1951,25 @@ constantDeclarators); Identifier(); -#line 1088 "VBNET.ATG" +#line 1090 "VBNET.ATG" string propertyName = t.val; - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1089 "VBNET.ATG" +#line 1091 "VBNET.ATG" p); } - Expect(35); + Expect(37); } - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 1092 "VBNET.ATG" +#line 1094 "VBNET.ATG" out returnTypeAttributeSection); -#line 1094 "VBNET.ATG" +#line 1096 "VBNET.ATG" if (returnTypeAttributeSection != null) { returnTypeAttributeSection.AttributeTarget = "return"; attributes.Add(returnTypeAttributeSection); @@ -1977,13 +1977,13 @@ out returnTypeAttributeSection); } if ( -#line 1101 "VBNET.ATG" +#line 1103 "VBNET.ATG" IsNewExpression()) { ObjectCreateExpression( -#line 1101 "VBNET.ATG" +#line 1103 "VBNET.ATG" out initializer); -#line 1103 "VBNET.ATG" +#line 1105 "VBNET.ATG" if (initializer is ObjectCreateExpression) { type = ((ObjectCreateExpression)initializer).CreateType.Clone(); } else { @@ -1992,27 +1992,27 @@ out initializer); } else if (StartOf(8)) { TypeName( -#line 1110 "VBNET.ATG" +#line 1112 "VBNET.ATG" out type); - } else SynErr(255); + } else SynErr(257); } - if (la.kind == 19) { + if (la.kind == 21) { lexer.NextToken(); Expr( -#line 1113 "VBNET.ATG" +#line 1115 "VBNET.ATG" out initializer); } - if (la.kind == 133) { + if (la.kind == 135) { ImplementsClause( -#line 1114 "VBNET.ATG" +#line 1116 "VBNET.ATG" out implementsClause); } EndOfStmt(); if ( -#line 1118 "VBNET.ATG" +#line 1120 "VBNET.ATG" IsMustOverride(m) || IsAutomaticProperty()) { -#line 1120 "VBNET.ATG" +#line 1122 "VBNET.ATG" PropertyDeclaration pDecl = new PropertyDeclaration(propertyName, type, m.Modifier, attributes); pDecl.StartLocation = m.GetDeclarationLocation(startPos); pDecl.EndLocation = t.Location; @@ -2025,7 +2025,7 @@ IsMustOverride(m) || IsAutomaticProperty()) { } else if (StartOf(17)) { -#line 1132 "VBNET.ATG" +#line 1134 "VBNET.ATG" PropertyDeclaration pDecl = new PropertyDeclaration(propertyName, type, m.Modifier, attributes); pDecl.StartLocation = m.GetDeclarationLocation(startPos); pDecl.EndLocation = t.Location; @@ -2037,29 +2037,29 @@ IsMustOverride(m) || IsAutomaticProperty()) { PropertySetRegion setRegion; AccessorDecls( -#line 1142 "VBNET.ATG" +#line 1144 "VBNET.ATG" out getRegion, out setRegion); - Expect(110); - Expect(182); + Expect(112); + Expect(184); EndOfStmt(); -#line 1146 "VBNET.ATG" +#line 1148 "VBNET.ATG" pDecl.GetRegion = getRegion; pDecl.SetRegion = setRegion; pDecl.BodyEnd = t.Location; // t = EndOfStmt; not "Property" compilationUnit.AddChild(pDecl); - } else SynErr(256); + } else SynErr(258); break; } - case 95: { + case 97: { lexer.NextToken(); -#line 1153 "VBNET.ATG" +#line 1155 "VBNET.ATG" Location startPos = t.Location; - Expect(116); + Expect(118); -#line 1155 "VBNET.ATG" +#line 1157 "VBNET.ATG" m.Check(Modifiers.VBCustomEvents); EventAddRemoveRegion eventAccessorDeclaration; EventAddRegion addHandlerAccessorDeclaration = null; @@ -2069,24 +2069,24 @@ out getRegion, out setRegion); Identifier(); -#line 1162 "VBNET.ATG" +#line 1164 "VBNET.ATG" string customEventName = t.val; - Expect(60); + Expect(62); TypeName( -#line 1163 "VBNET.ATG" +#line 1165 "VBNET.ATG" out type); - if (la.kind == 133) { + if (la.kind == 135) { ImplementsClause( -#line 1164 "VBNET.ATG" +#line 1166 "VBNET.ATG" out implementsClause); } EndOfStmt(); while (StartOf(18)) { EventAccessorDeclaration( -#line 1167 "VBNET.ATG" +#line 1169 "VBNET.ATG" out eventAccessorDeclaration); -#line 1169 "VBNET.ATG" +#line 1171 "VBNET.ATG" if(eventAccessorDeclaration is EventAddRegion) { addHandlerAccessorDeclaration = (EventAddRegion)eventAccessorDeclaration; @@ -2101,11 +2101,11 @@ out eventAccessorDeclaration); } } - Expect(110); - Expect(116); + Expect(112); + Expect(118); EndOfStmt(); -#line 1185 "VBNET.ATG" +#line 1187 "VBNET.ATG" if(addHandlerAccessorDeclaration == null) { Error("Need to provide AddHandler accessor."); @@ -2134,26 +2134,26 @@ out eventAccessorDeclaration); break; } - case 158: case 169: case 228: { + case 160: case 171: case 230: { -#line 1211 "VBNET.ATG" +#line 1213 "VBNET.ATG" ConversionType opConversionType = ConversionType.None; - if (la.kind == 158 || la.kind == 228) { - if (la.kind == 228) { + if (la.kind == 160 || la.kind == 230) { + if (la.kind == 230) { lexer.NextToken(); -#line 1212 "VBNET.ATG" +#line 1214 "VBNET.ATG" opConversionType = ConversionType.Implicit; } else { lexer.NextToken(); -#line 1213 "VBNET.ATG" +#line 1215 "VBNET.ATG" opConversionType = ConversionType.Explicit; } } - Expect(169); + Expect(171); -#line 1216 "VBNET.ATG" +#line 1218 "VBNET.ATG" m.Check(Modifiers.VBOperators); Location startPos = t.Location; TypeReference returnType = NullTypeReference.Instance; @@ -2164,77 +2164,77 @@ out eventAccessorDeclaration); List parameters = new List(); OverloadableOperator( -#line 1225 "VBNET.ATG" +#line 1227 "VBNET.ATG" out operatorType); - Expect(34); - if (la.kind == 69) { + Expect(36); + if (la.kind == 71) { lexer.NextToken(); } Identifier(); -#line 1226 "VBNET.ATG" +#line 1228 "VBNET.ATG" operandName = t.val; - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 1227 "VBNET.ATG" +#line 1229 "VBNET.ATG" out operandType); } -#line 1228 "VBNET.ATG" +#line 1230 "VBNET.ATG" parameters.Add(new ParameterDeclarationExpression(operandType, operandName, ParameterModifiers.In)); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); - if (la.kind == 69) { + if (la.kind == 71) { lexer.NextToken(); } Identifier(); -#line 1232 "VBNET.ATG" +#line 1234 "VBNET.ATG" operandName = t.val; - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 1233 "VBNET.ATG" +#line 1235 "VBNET.ATG" out operandType); } -#line 1234 "VBNET.ATG" +#line 1236 "VBNET.ATG" parameters.Add(new ParameterDeclarationExpression(operandType, operandName, ParameterModifiers.In)); } - Expect(35); + Expect(37); -#line 1237 "VBNET.ATG" +#line 1239 "VBNET.ATG" Location endPos = t.EndLocation; - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 1238 "VBNET.ATG" +#line 1240 "VBNET.ATG" out section); -#line 1239 "VBNET.ATG" +#line 1241 "VBNET.ATG" if (section != null) { section.AttributeTarget = "return"; attributes.Add(section); } } TypeName( -#line 1243 "VBNET.ATG" +#line 1245 "VBNET.ATG" out returnType); -#line 1243 "VBNET.ATG" +#line 1245 "VBNET.ATG" endPos = t.EndLocation; } Expect(1); Block( -#line 1245 "VBNET.ATG" +#line 1247 "VBNET.ATG" out stmt); - Expect(110); - Expect(169); + Expect(112); + Expect(171); EndOfStmt(); -#line 1247 "VBNET.ATG" +#line 1249 "VBNET.ATG" OperatorDeclaration operatorDeclaration = new OperatorDeclaration { Modifier = m.Modifier, Attributes = attributes, @@ -2252,42 +2252,42 @@ out stmt); break; } - default: SynErr(257); break; + default: SynErr(259); break; } } void EnumMemberDecl( -#line 759 "VBNET.ATG" +#line 761 "VBNET.ATG" out FieldDeclaration f) { -#line 761 "VBNET.ATG" +#line 763 "VBNET.ATG" Expression expr = null;List attributes = new List(); AttributeSection section = null; VariableDeclaration varDecl = null; - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 765 "VBNET.ATG" +#line 767 "VBNET.ATG" out section); -#line 765 "VBNET.ATG" +#line 767 "VBNET.ATG" attributes.Add(section); } Identifier(); -#line 768 "VBNET.ATG" +#line 770 "VBNET.ATG" f = new FieldDeclaration(attributes); varDecl = new VariableDeclaration(t.val); f.Fields.Add(varDecl); f.StartLocation = varDecl.StartLocation = t.Location; - if (la.kind == 19) { + if (la.kind == 21) { lexer.NextToken(); Expr( -#line 773 "VBNET.ATG" +#line 775 "VBNET.ATG" out expr); -#line 773 "VBNET.ATG" +#line 775 "VBNET.ATG" varDecl.Initializer = expr; } EndOfStmt(); @@ -2295,7 +2295,7 @@ out expr); void InterfaceMemberDecl() { -#line 650 "VBNET.ATG" +#line 652 "VBNET.ATG" TypeReference type =null; List p = new List(); List templates = new List(); @@ -2305,48 +2305,48 @@ out expr); string name; if (StartOf(19)) { - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 658 "VBNET.ATG" +#line 660 "VBNET.ATG" out section); -#line 658 "VBNET.ATG" +#line 660 "VBNET.ATG" attributes.Add(section); } while (StartOf(10)) { MemberModifier( -#line 661 "VBNET.ATG" +#line 663 "VBNET.ATG" mod); } - if (la.kind == 116) { + if (la.kind == 118) { lexer.NextToken(); -#line 665 "VBNET.ATG" +#line 667 "VBNET.ATG" mod.Check(Modifiers.VBInterfaceEvents); Location startLocation = t.Location; Identifier(); -#line 668 "VBNET.ATG" +#line 670 "VBNET.ATG" name = t.val; - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 669 "VBNET.ATG" +#line 671 "VBNET.ATG" p); } - Expect(35); + Expect(37); } - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 670 "VBNET.ATG" +#line 672 "VBNET.ATG" out type); } EndOfStmt(); -#line 673 "VBNET.ATG" +#line 675 "VBNET.ATG" EventDeclaration ed = new EventDeclaration { Name = name, TypeReference = type, Modifier = mod.Modifier, Parameters = p, Attributes = attributes, @@ -2354,32 +2354,32 @@ out type); }; compilationUnit.AddChild(ed); - } else if (la.kind == 206) { + } else if (la.kind == 208) { lexer.NextToken(); -#line 683 "VBNET.ATG" +#line 685 "VBNET.ATG" Location startLocation = t.Location; mod.Check(Modifiers.VBInterfaceMethods); Identifier(); -#line 686 "VBNET.ATG" +#line 688 "VBNET.ATG" name = t.val; TypeParameterList( -#line 687 "VBNET.ATG" +#line 689 "VBNET.ATG" templates); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 688 "VBNET.ATG" +#line 690 "VBNET.ATG" p); } - Expect(35); + Expect(37); } EndOfStmt(); -#line 691 "VBNET.ATG" +#line 693 "VBNET.ATG" MethodDeclaration md = new MethodDeclaration { Name = name, Modifier = mod.Modifier, @@ -2392,42 +2392,42 @@ p); }; compilationUnit.AddChild(md); - } else if (la.kind == 124) { + } else if (la.kind == 126) { lexer.NextToken(); -#line 706 "VBNET.ATG" +#line 708 "VBNET.ATG" mod.Check(Modifiers.VBInterfaceMethods); Location startLocation = t.Location; Identifier(); -#line 709 "VBNET.ATG" +#line 711 "VBNET.ATG" name = t.val; TypeParameterList( -#line 710 "VBNET.ATG" +#line 712 "VBNET.ATG" templates); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 711 "VBNET.ATG" +#line 713 "VBNET.ATG" p); } - Expect(35); + Expect(37); } - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 712 "VBNET.ATG" +#line 714 "VBNET.ATG" out returnTypeAttributeSection); } TypeName( -#line 712 "VBNET.ATG" +#line 714 "VBNET.ATG" out type); } -#line 714 "VBNET.ATG" +#line 716 "VBNET.ATG" if(type == null) { type = new TypeReference("System.Object", true); } @@ -2445,157 +2445,157 @@ out type); compilationUnit.AddChild(md); EndOfStmt(); - } else if (la.kind == 182) { + } else if (la.kind == 184) { lexer.NextToken(); -#line 734 "VBNET.ATG" +#line 736 "VBNET.ATG" Location startLocation = t.Location; mod.Check(Modifiers.VBInterfaceProperties); Identifier(); -#line 737 "VBNET.ATG" +#line 739 "VBNET.ATG" name = t.val; - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 738 "VBNET.ATG" +#line 740 "VBNET.ATG" p); } - Expect(35); + Expect(37); } - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 739 "VBNET.ATG" +#line 741 "VBNET.ATG" out type); } -#line 741 "VBNET.ATG" +#line 743 "VBNET.ATG" if(type == null) { type = new TypeReference("System.Object", true); } EndOfStmt(); -#line 747 "VBNET.ATG" +#line 749 "VBNET.ATG" PropertyDeclaration pd = new PropertyDeclaration(name, type, mod.Modifier, attributes); pd.Parameters = p; pd.EndLocation = t.EndLocation; pd.StartLocation = startLocation; compilationUnit.AddChild(pd); - } else SynErr(258); + } else SynErr(260); } else if (StartOf(20)) { NonModuleDeclaration( -#line 755 "VBNET.ATG" +#line 757 "VBNET.ATG" mod, attributes); - } else SynErr(259); + } else SynErr(261); } void Expr( -#line 1642 "VBNET.ATG" +#line 1644 "VBNET.ATG" out Expression expr) { -#line 1643 "VBNET.ATG" +#line 1645 "VBNET.ATG" expr = null; if ( -#line 1644 "VBNET.ATG" +#line 1646 "VBNET.ATG" IsQueryExpression() ) { QueryExpr( -#line 1645 "VBNET.ATG" +#line 1647 "VBNET.ATG" out expr); - } else if (la.kind == 124) { + } else if (la.kind == 126) { LambdaExpr( -#line 1646 "VBNET.ATG" +#line 1648 "VBNET.ATG" out expr); } else if (StartOf(21)) { DisjunctionExpr( -#line 1647 "VBNET.ATG" +#line 1649 "VBNET.ATG" out expr); - } else SynErr(260); + } else SynErr(262); } void ImplementsClause( -#line 1615 "VBNET.ATG" +#line 1617 "VBNET.ATG" out List baseInterfaces) { -#line 1617 "VBNET.ATG" +#line 1619 "VBNET.ATG" baseInterfaces = new List(); TypeReference type = null; string memberName = null; - Expect(133); + Expect(135); NonArrayTypeName( -#line 1622 "VBNET.ATG" +#line 1624 "VBNET.ATG" out type, false); -#line 1623 "VBNET.ATG" +#line 1625 "VBNET.ATG" if (type != null) memberName = TypeReference.StripLastIdentifierFromType(ref type); -#line 1624 "VBNET.ATG" +#line 1626 "VBNET.ATG" baseInterfaces.Add(new InterfaceImplementation(type, memberName)); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); 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)); } } void HandlesClause( -#line 1573 "VBNET.ATG" +#line 1575 "VBNET.ATG" out List handlesClause) { -#line 1575 "VBNET.ATG" +#line 1577 "VBNET.ATG" handlesClause = new List(); string name; - Expect(131); + Expect(133); EventMemberSpecifier( -#line 1578 "VBNET.ATG" +#line 1580 "VBNET.ATG" out name); -#line 1578 "VBNET.ATG" +#line 1580 "VBNET.ATG" if (name != null) handlesClause.Add(name); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); EventMemberSpecifier( -#line 1579 "VBNET.ATG" +#line 1581 "VBNET.ATG" out name); -#line 1579 "VBNET.ATG" +#line 1581 "VBNET.ATG" if (name != null) handlesClause.Add(name); } } void Block( -#line 2744 "VBNET.ATG" +#line 2746 "VBNET.ATG" out Statement stmt) { -#line 2747 "VBNET.ATG" +#line 2749 "VBNET.ATG" BlockStatement blockStmt = new BlockStatement(); /* in snippet parsing mode, t might be null */ if (t != null) blockStmt.StartLocation = t.EndLocation; compilationUnit.BlockStart(blockStmt); while (StartOf(22) || -#line 2753 "VBNET.ATG" +#line 2755 "VBNET.ATG" IsEndStmtAhead()) { if ( -#line 2753 "VBNET.ATG" +#line 2755 "VBNET.ATG" IsEndStmtAhead()) { - Expect(110); + Expect(112); EndOfStmt(); -#line 2753 "VBNET.ATG" +#line 2755 "VBNET.ATG" compilationUnit.AddChild(new EndStatement()); } else { Statement(); @@ -2603,7 +2603,7 @@ IsEndStmtAhead()) { } } -#line 2758 "VBNET.ATG" +#line 2760 "VBNET.ATG" stmt = blockStmt; if (t != null) blockStmt.EndLocation = t.EndLocation; compilationUnit.BlockEnd(); @@ -2611,28 +2611,28 @@ IsEndStmtAhead()) { } void Charset( -#line 1565 "VBNET.ATG" +#line 1567 "VBNET.ATG" out CharsetModifier charsetModifier) { -#line 1566 "VBNET.ATG" +#line 1568 "VBNET.ATG" charsetModifier = CharsetModifier.None; - if (la.kind == 124 || la.kind == 206) { - } else if (la.kind == 59) { + if (la.kind == 126 || la.kind == 208) { + } else if (la.kind == 61) { lexer.NextToken(); -#line 1567 "VBNET.ATG" +#line 1569 "VBNET.ATG" charsetModifier = CharsetModifier.Ansi; - } else if (la.kind == 63) { + } else if (la.kind == 65) { lexer.NextToken(); -#line 1568 "VBNET.ATG" +#line 1570 "VBNET.ATG" charsetModifier = CharsetModifier.Auto; - } else if (la.kind == 219) { + } else if (la.kind == 221) { lexer.NextToken(); -#line 1569 "VBNET.ATG" +#line 1571 "VBNET.ATG" charsetModifier = CharsetModifier.Unicode; - } else SynErr(261); + } else SynErr(263); } void IdentifierForFieldDeclaration() { @@ -2641,119 +2641,119 @@ out CharsetModifier charsetModifier) { lexer.NextToken(); break; } - case 55: { + case 57: { lexer.NextToken(); break; } - case 59: { + case 61: { lexer.NextToken(); break; } - case 61: { + case 63: { lexer.NextToken(); break; } - case 62: { + case 64: { lexer.NextToken(); break; } - case 63: { + case 65: { lexer.NextToken(); break; } - case 64: { + case 66: { lexer.NextToken(); break; } - case 67: { + case 69: { lexer.NextToken(); break; } - case 84: { + case 86: { lexer.NextToken(); break; } - case 101: { + case 103: { lexer.NextToken(); break; } - case 104: { + case 106: { lexer.NextToken(); break; } - case 113: { + case 115: { lexer.NextToken(); break; } - case 118: { + case 120: { lexer.NextToken(); break; } - case 123: { + case 125: { lexer.NextToken(); break; } - case 130: { + case 132: { lexer.NextToken(); break; } - case 136: { + case 138: { lexer.NextToken(); break; } - case 140: { + case 142: { lexer.NextToken(); break; } - case 143: { + case 145: { lexer.NextToken(); break; } - case 167: { + case 169: { lexer.NextToken(); break; } - case 173: { + case 175: { lexer.NextToken(); break; } - case 180: { + case 182: { lexer.NextToken(); break; } - case 199: { + case 201: { lexer.NextToken(); break; } - case 208: { + case 210: { lexer.NextToken(); break; } - case 209: { + case 211: { lexer.NextToken(); break; } - case 219: { + case 221: { lexer.NextToken(); break; } - case 220: { + case 222: { lexer.NextToken(); break; } - case 226: { + case 228: { lexer.NextToken(); break; } - default: SynErr(262); break; + default: SynErr(264); break; } } void VariableDeclaratorPartAfterIdentifier( -#line 1450 "VBNET.ATG" +#line 1452 "VBNET.ATG" List fieldDeclaration, string name) { -#line 1452 "VBNET.ATG" +#line 1454 "VBNET.ATG" Expression expr = null; TypeReference type = null; ArrayList rank = null; @@ -2761,28 +2761,28 @@ List fieldDeclaration, string name) { Location startLocation = t.Location; if ( -#line 1458 "VBNET.ATG" +#line 1460 "VBNET.ATG" IsSize() && !IsDims()) { ArrayInitializationModifier( -#line 1458 "VBNET.ATG" +#line 1460 "VBNET.ATG" out dimension); } if ( -#line 1459 "VBNET.ATG" +#line 1461 "VBNET.ATG" IsDims()) { ArrayNameModifier( -#line 1459 "VBNET.ATG" +#line 1461 "VBNET.ATG" out rank); } if ( -#line 1461 "VBNET.ATG" +#line 1463 "VBNET.ATG" IsObjectCreation()) { - Expect(60); + Expect(62); ObjectCreateExpression( -#line 1461 "VBNET.ATG" +#line 1463 "VBNET.ATG" out expr); -#line 1463 "VBNET.ATG" +#line 1465 "VBNET.ATG" if (expr is ObjectCreateExpression) { type = ((ObjectCreateExpression)expr).CreateType.Clone(); } else { @@ -2790,13 +2790,13 @@ out expr); } } else if (StartOf(23)) { - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 1470 "VBNET.ATG" +#line 1472 "VBNET.ATG" out type); -#line 1472 "VBNET.ATG" +#line 1474 "VBNET.ATG" if (type != null) { for (int i = fieldDeclaration.Count - 1; i >= 0; i--) { VariableDeclaration vd = fieldDeclaration[i]; @@ -2809,7 +2809,7 @@ out type); } -#line 1484 "VBNET.ATG" +#line 1486 "VBNET.ATG" if (type == null && (dimension != null || rank != null)) { type = new TypeReference(""); } @@ -2833,15 +2833,15 @@ out type); } } - if (la.kind == 19) { + if (la.kind == 21) { lexer.NextToken(); Expr( -#line 1507 "VBNET.ATG" +#line 1509 "VBNET.ATG" out expr); } - } else SynErr(263); + } else SynErr(265); -#line 1510 "VBNET.ATG" +#line 1512 "VBNET.ATG" VariableDeclaration varDecl = new VariableDeclaration(name, expr, type); varDecl.StartLocation = startLocation; varDecl.EndLocation = t.Location; @@ -2850,22 +2850,22 @@ out expr); } void VariableDeclarator( -#line 1444 "VBNET.ATG" +#line 1446 "VBNET.ATG" List fieldDeclaration) { Identifier(); -#line 1446 "VBNET.ATG" +#line 1448 "VBNET.ATG" string name = t.val; VariableDeclaratorPartAfterIdentifier( -#line 1447 "VBNET.ATG" +#line 1449 "VBNET.ATG" fieldDeclaration, name); } void ConstantDeclarator( -#line 1425 "VBNET.ATG" +#line 1427 "VBNET.ATG" List constantDeclaration) { -#line 1427 "VBNET.ATG" +#line 1429 "VBNET.ATG" Expression expr = null; TypeReference type = null; string name = String.Empty; @@ -2873,20 +2873,20 @@ List constantDeclaration) { Identifier(); -#line 1432 "VBNET.ATG" +#line 1434 "VBNET.ATG" name = t.val; location = t.Location; - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 1433 "VBNET.ATG" +#line 1435 "VBNET.ATG" out type); } - Expect(19); + Expect(21); Expr( -#line 1434 "VBNET.ATG" +#line 1436 "VBNET.ATG" out expr); -#line 1436 "VBNET.ATG" +#line 1438 "VBNET.ATG" VariableDeclaration f = new VariableDeclaration(name, expr); f.TypeReference = type; f.StartLocation = location; @@ -2895,10 +2895,10 @@ out expr); } void ObjectCreateExpression( -#line 1972 "VBNET.ATG" +#line 1974 "VBNET.ATG" out Expression oce) { -#line 1974 "VBNET.ATG" +#line 1976 "VBNET.ATG" TypeReference type = null; CollectionInitializerExpression initializer = null; List arguments = null; @@ -2906,42 +2906,42 @@ out Expression oce) { oce = null; bool canBeNormal; bool canBeReDim; - Expect(159); + Expect(161); if (StartOf(8)) { NonArrayTypeName( -#line 1982 "VBNET.ATG" +#line 1984 "VBNET.ATG" out type, false); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); NormalOrReDimArgumentList( -#line 1983 "VBNET.ATG" +#line 1985 "VBNET.ATG" out arguments, out canBeNormal, out canBeReDim); - Expect(35); - if (la.kind == 32 || -#line 1984 "VBNET.ATG" + Expect(37); + if (la.kind == 34 || +#line 1986 "VBNET.ATG" la.kind == Tokens.OpenParenthesis) { if ( -#line 1984 "VBNET.ATG" +#line 1986 "VBNET.ATG" la.kind == Tokens.OpenParenthesis) { ArrayTypeModifiers( -#line 1985 "VBNET.ATG" +#line 1987 "VBNET.ATG" out dimensions); CollectionInitializer( -#line 1986 "VBNET.ATG" +#line 1988 "VBNET.ATG" out initializer); } else { CollectionInitializer( -#line 1987 "VBNET.ATG" +#line 1989 "VBNET.ATG" out initializer); } } -#line 1989 "VBNET.ATG" +#line 1991 "VBNET.ATG" if (canBeReDim && !canBeNormal && initializer == null) initializer = new CollectionInitializerExpression(); } } -#line 1993 "VBNET.ATG" +#line 1995 "VBNET.ATG" if (initializer == null) { oce = new ObjectCreateExpression(type, arguments); } else { @@ -2953,37 +2953,37 @@ out initializer); oce = ace; } - if (la.kind == 123 || la.kind == 229) { - if (la.kind == 229) { + if (la.kind == 125 || la.kind == 231) { + if (la.kind == 231) { -#line 2008 "VBNET.ATG" +#line 2010 "VBNET.ATG" MemberInitializerExpression memberInitializer = null; lexer.NextToken(); -#line 2012 "VBNET.ATG" +#line 2014 "VBNET.ATG" CollectionInitializerExpression memberInitializers = new CollectionInitializerExpression(); memberInitializers.StartLocation = la.Location; - Expect(32); + Expect(34); MemberInitializer( -#line 2016 "VBNET.ATG" +#line 2018 "VBNET.ATG" out memberInitializer); -#line 2017 "VBNET.ATG" +#line 2019 "VBNET.ATG" memberInitializers.CreateExpressions.Add(memberInitializer); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); MemberInitializer( -#line 2019 "VBNET.ATG" +#line 2021 "VBNET.ATG" out memberInitializer); -#line 2020 "VBNET.ATG" +#line 2022 "VBNET.ATG" memberInitializers.CreateExpressions.Add(memberInitializer); } - Expect(33); + Expect(35); -#line 2024 "VBNET.ATG" +#line 2026 "VBNET.ATG" memberInitializers.EndLocation = t.Location; if(oce is ObjectCreateExpression) { @@ -2993,10 +2993,10 @@ out memberInitializer); } else { lexer.NextToken(); CollectionInitializer( -#line 2034 "VBNET.ATG" +#line 2036 "VBNET.ATG" out initializer); -#line 2036 "VBNET.ATG" +#line 2038 "VBNET.ATG" if(oce is ObjectCreateExpression) ((ObjectCreateExpression)oce).ObjectInitializer = initializer; @@ -3005,318 +3005,318 @@ out initializer); } void AccessorDecls( -#line 1359 "VBNET.ATG" +#line 1361 "VBNET.ATG" out PropertyGetRegion getBlock, out PropertySetRegion setBlock) { -#line 1361 "VBNET.ATG" +#line 1363 "VBNET.ATG" List attributes = new List(); AttributeSection section; getBlock = null; setBlock = null; - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 1366 "VBNET.ATG" +#line 1368 "VBNET.ATG" out section); -#line 1366 "VBNET.ATG" +#line 1368 "VBNET.ATG" attributes.Add(section); } if (StartOf(24)) { GetAccessorDecl( -#line 1368 "VBNET.ATG" +#line 1370 "VBNET.ATG" out getBlock, attributes); if (StartOf(25)) { -#line 1370 "VBNET.ATG" +#line 1372 "VBNET.ATG" attributes = new List(); - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 1371 "VBNET.ATG" +#line 1373 "VBNET.ATG" out section); -#line 1371 "VBNET.ATG" +#line 1373 "VBNET.ATG" attributes.Add(section); } SetAccessorDecl( -#line 1372 "VBNET.ATG" +#line 1374 "VBNET.ATG" out setBlock, attributes); } } else if (StartOf(26)) { SetAccessorDecl( -#line 1375 "VBNET.ATG" +#line 1377 "VBNET.ATG" out setBlock, attributes); if (StartOf(27)) { -#line 1377 "VBNET.ATG" +#line 1379 "VBNET.ATG" attributes = new List(); - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 1378 "VBNET.ATG" +#line 1380 "VBNET.ATG" out section); -#line 1378 "VBNET.ATG" +#line 1380 "VBNET.ATG" attributes.Add(section); } GetAccessorDecl( -#line 1379 "VBNET.ATG" +#line 1381 "VBNET.ATG" out getBlock, attributes); } - } else SynErr(264); + } else SynErr(266); } void EventAccessorDeclaration( -#line 1322 "VBNET.ATG" +#line 1324 "VBNET.ATG" out EventAddRemoveRegion eventAccessorDeclaration) { -#line 1324 "VBNET.ATG" +#line 1326 "VBNET.ATG" Statement stmt = null; List p = new List(); AttributeSection section; List attributes = new List(); eventAccessorDeclaration = null; - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 1330 "VBNET.ATG" +#line 1332 "VBNET.ATG" out section); -#line 1330 "VBNET.ATG" +#line 1332 "VBNET.ATG" attributes.Add(section); } - if (la.kind == 53) { + if (la.kind == 55) { lexer.NextToken(); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1332 "VBNET.ATG" +#line 1334 "VBNET.ATG" p); } - Expect(35); + Expect(37); } Expect(1); Block( -#line 1333 "VBNET.ATG" +#line 1335 "VBNET.ATG" out stmt); - Expect(110); - Expect(53); + Expect(112); + Expect(55); EndOfStmt(); -#line 1335 "VBNET.ATG" +#line 1337 "VBNET.ATG" eventAccessorDeclaration = new EventAddRegion(attributes); eventAccessorDeclaration.Block = (BlockStatement)stmt; eventAccessorDeclaration.Parameters = p; - } else if (la.kind == 189) { + } else if (la.kind == 191) { lexer.NextToken(); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1340 "VBNET.ATG" +#line 1342 "VBNET.ATG" p); } - Expect(35); + Expect(37); } Expect(1); Block( -#line 1341 "VBNET.ATG" +#line 1343 "VBNET.ATG" out stmt); - Expect(110); - Expect(189); + Expect(112); + Expect(191); EndOfStmt(); -#line 1343 "VBNET.ATG" +#line 1345 "VBNET.ATG" eventAccessorDeclaration = new EventRemoveRegion(attributes); eventAccessorDeclaration.Block = (BlockStatement)stmt; eventAccessorDeclaration.Parameters = p; - } else if (la.kind == 185) { + } else if (la.kind == 187) { lexer.NextToken(); - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1348 "VBNET.ATG" +#line 1350 "VBNET.ATG" p); } - Expect(35); + Expect(37); } Expect(1); Block( -#line 1349 "VBNET.ATG" +#line 1351 "VBNET.ATG" out stmt); - Expect(110); - Expect(185); + Expect(112); + Expect(187); EndOfStmt(); -#line 1351 "VBNET.ATG" +#line 1353 "VBNET.ATG" eventAccessorDeclaration = new EventRaiseRegion(attributes); eventAccessorDeclaration.Block = (BlockStatement)stmt; eventAccessorDeclaration.Parameters = p; - } else SynErr(265); + } else SynErr(267); } void OverloadableOperator( -#line 1264 "VBNET.ATG" +#line 1266 "VBNET.ATG" out OverloadableOperatorType operatorType) { -#line 1265 "VBNET.ATG" +#line 1267 "VBNET.ATG" operatorType = OverloadableOperatorType.None; switch (la.kind) { - case 28: { + case 30: { lexer.NextToken(); -#line 1267 "VBNET.ATG" +#line 1269 "VBNET.ATG" operatorType = OverloadableOperatorType.Add; break; } - case 27: { + case 29: { lexer.NextToken(); -#line 1269 "VBNET.ATG" +#line 1271 "VBNET.ATG" operatorType = OverloadableOperatorType.Subtract; break; } - case 31: { + case 33: { lexer.NextToken(); -#line 1271 "VBNET.ATG" +#line 1273 "VBNET.ATG" operatorType = OverloadableOperatorType.Multiply; break; } - case 23: { + case 25: { lexer.NextToken(); -#line 1273 "VBNET.ATG" +#line 1275 "VBNET.ATG" operatorType = OverloadableOperatorType.Divide; break; } - case 24: { + case 26: { lexer.NextToken(); -#line 1275 "VBNET.ATG" +#line 1277 "VBNET.ATG" operatorType = OverloadableOperatorType.DivideInteger; break; } - case 22: { + case 24: { lexer.NextToken(); -#line 1277 "VBNET.ATG" +#line 1279 "VBNET.ATG" operatorType = OverloadableOperatorType.Concat; break; } - case 147: { + case 149: { lexer.NextToken(); -#line 1279 "VBNET.ATG" +#line 1281 "VBNET.ATG" operatorType = OverloadableOperatorType.Like; break; } - case 151: { + case 153: { lexer.NextToken(); -#line 1281 "VBNET.ATG" +#line 1283 "VBNET.ATG" operatorType = OverloadableOperatorType.Modulus; break; } - case 57: { + case 59: { lexer.NextToken(); -#line 1283 "VBNET.ATG" +#line 1285 "VBNET.ATG" operatorType = OverloadableOperatorType.BitwiseAnd; break; } - case 172: { + case 174: { lexer.NextToken(); -#line 1285 "VBNET.ATG" +#line 1287 "VBNET.ATG" operatorType = OverloadableOperatorType.BitwiseOr; break; } - case 232: { + case 234: { lexer.NextToken(); -#line 1287 "VBNET.ATG" +#line 1289 "VBNET.ATG" operatorType = OverloadableOperatorType.ExclusiveOr; break; } - case 29: { + case 31: { lexer.NextToken(); -#line 1289 "VBNET.ATG" +#line 1291 "VBNET.ATG" operatorType = OverloadableOperatorType.Power; break; } - case 41: { + case 43: { lexer.NextToken(); -#line 1291 "VBNET.ATG" +#line 1293 "VBNET.ATG" operatorType = OverloadableOperatorType.ShiftLeft; break; } - case 42: { + case 44: { lexer.NextToken(); -#line 1293 "VBNET.ATG" +#line 1295 "VBNET.ATG" operatorType = OverloadableOperatorType.ShiftRight; break; } - case 19: { + case 21: { lexer.NextToken(); -#line 1295 "VBNET.ATG" +#line 1297 "VBNET.ATG" operatorType = OverloadableOperatorType.Equality; break; } - case 38: { + case 40: { lexer.NextToken(); -#line 1297 "VBNET.ATG" +#line 1299 "VBNET.ATG" operatorType = OverloadableOperatorType.InEquality; break; } - case 37: { + case 39: { lexer.NextToken(); -#line 1299 "VBNET.ATG" +#line 1301 "VBNET.ATG" operatorType = OverloadableOperatorType.LessThan; break; } - case 40: { + case 42: { lexer.NextToken(); -#line 1301 "VBNET.ATG" +#line 1303 "VBNET.ATG" operatorType = OverloadableOperatorType.LessThanOrEqual; break; } - case 36: { + case 38: { lexer.NextToken(); -#line 1303 "VBNET.ATG" +#line 1305 "VBNET.ATG" operatorType = OverloadableOperatorType.GreaterThan; break; } - case 39: { + case 41: { lexer.NextToken(); -#line 1305 "VBNET.ATG" +#line 1307 "VBNET.ATG" operatorType = OverloadableOperatorType.GreaterThanOrEqual; break; } - case 91: { + case 93: { lexer.NextToken(); -#line 1307 "VBNET.ATG" +#line 1309 "VBNET.ATG" operatorType = OverloadableOperatorType.CType; break; } - case 2: case 55: case 59: case 61: case 62: case 63: case 64: case 67: case 84: case 95: case 101: case 104: case 113: case 118: case 123: case 130: case 136: case 140: case 143: case 167: case 173: case 180: case 199: case 208: case 209: case 219: case 220: case 226: { + 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: { Identifier(); -#line 1311 "VBNET.ATG" +#line 1313 "VBNET.ATG" string opName = t.val; if (string.Equals(opName, "istrue", StringComparison.InvariantCultureIgnoreCase)) { operatorType = OverloadableOperatorType.IsTrue; @@ -3328,300 +3328,300 @@ out OverloadableOperatorType operatorType) { break; } - default: SynErr(266); break; + default: SynErr(268); break; } } void GetAccessorDecl( -#line 1385 "VBNET.ATG" +#line 1387 "VBNET.ATG" out PropertyGetRegion getBlock, List attributes) { -#line 1386 "VBNET.ATG" +#line 1388 "VBNET.ATG" Statement stmt = null; Modifiers m; PropertyAccessorAccessModifier( -#line 1388 "VBNET.ATG" +#line 1390 "VBNET.ATG" out m); - Expect(125); + Expect(127); -#line 1390 "VBNET.ATG" +#line 1392 "VBNET.ATG" Location startLocation = t.Location; Expect(1); Block( -#line 1392 "VBNET.ATG" +#line 1394 "VBNET.ATG" out stmt); -#line 1393 "VBNET.ATG" +#line 1395 "VBNET.ATG" getBlock = new PropertyGetRegion((BlockStatement)stmt, attributes); - Expect(110); - Expect(125); + Expect(112); + Expect(127); -#line 1395 "VBNET.ATG" +#line 1397 "VBNET.ATG" getBlock.Modifier = m; -#line 1396 "VBNET.ATG" +#line 1398 "VBNET.ATG" getBlock.StartLocation = startLocation; getBlock.EndLocation = t.EndLocation; EndOfStmt(); } void SetAccessorDecl( -#line 1401 "VBNET.ATG" +#line 1403 "VBNET.ATG" out PropertySetRegion setBlock, List attributes) { -#line 1403 "VBNET.ATG" +#line 1405 "VBNET.ATG" Statement stmt = null; List p = new List(); Modifiers m; PropertyAccessorAccessModifier( -#line 1408 "VBNET.ATG" +#line 1410 "VBNET.ATG" out m); - Expect(194); + Expect(196); -#line 1410 "VBNET.ATG" +#line 1412 "VBNET.ATG" Location startLocation = t.Location; - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 1411 "VBNET.ATG" +#line 1413 "VBNET.ATG" p); } - Expect(35); + Expect(37); } Expect(1); Block( -#line 1413 "VBNET.ATG" +#line 1415 "VBNET.ATG" out stmt); -#line 1415 "VBNET.ATG" +#line 1417 "VBNET.ATG" setBlock = new PropertySetRegion((BlockStatement)stmt, attributes); setBlock.Modifier = m; setBlock.Parameters = p; - Expect(110); - Expect(194); + Expect(112); + Expect(196); -#line 1420 "VBNET.ATG" +#line 1422 "VBNET.ATG" setBlock.StartLocation = startLocation; setBlock.EndLocation = t.EndLocation; EndOfStmt(); } void PropertyAccessorAccessModifier( -#line 3460 "VBNET.ATG" +#line 3462 "VBNET.ATG" out Modifiers m) { -#line 3461 "VBNET.ATG" +#line 3463 "VBNET.ATG" m = Modifiers.None; while (StartOf(28)) { - if (la.kind == 184) { + if (la.kind == 186) { lexer.NextToken(); -#line 3463 "VBNET.ATG" +#line 3465 "VBNET.ATG" m |= Modifiers.Public; - } else if (la.kind == 183) { + } else if (la.kind == 185) { lexer.NextToken(); -#line 3464 "VBNET.ATG" +#line 3466 "VBNET.ATG" m |= Modifiers.Protected; - } else if (la.kind == 122) { + } else if (la.kind == 124) { lexer.NextToken(); -#line 3465 "VBNET.ATG" +#line 3467 "VBNET.ATG" m |= Modifiers.Internal; } else { lexer.NextToken(); -#line 3466 "VBNET.ATG" +#line 3468 "VBNET.ATG" m |= Modifiers.Private; } } } void ArrayInitializationModifier( -#line 1518 "VBNET.ATG" +#line 1520 "VBNET.ATG" out List arrayModifiers) { -#line 1520 "VBNET.ATG" +#line 1522 "VBNET.ATG" arrayModifiers = null; - Expect(34); + Expect(36); InitializationRankList( -#line 1522 "VBNET.ATG" +#line 1524 "VBNET.ATG" out arrayModifiers); - Expect(35); + Expect(37); } void ArrayNameModifier( -#line 2537 "VBNET.ATG" +#line 2539 "VBNET.ATG" out ArrayList arrayModifiers) { -#line 2539 "VBNET.ATG" +#line 2541 "VBNET.ATG" arrayModifiers = null; ArrayTypeModifiers( -#line 2541 "VBNET.ATG" +#line 2543 "VBNET.ATG" out arrayModifiers); } void InitializationRankList( -#line 1526 "VBNET.ATG" +#line 1528 "VBNET.ATG" out List rank) { -#line 1528 "VBNET.ATG" +#line 1530 "VBNET.ATG" rank = new List(); Expression expr = null; Expr( -#line 1531 "VBNET.ATG" +#line 1533 "VBNET.ATG" out expr); - if (la.kind == 212) { + if (la.kind == 214) { lexer.NextToken(); -#line 1532 "VBNET.ATG" +#line 1534 "VBNET.ATG" EnsureIsZero(expr); Expr( -#line 1533 "VBNET.ATG" +#line 1535 "VBNET.ATG" out expr); } -#line 1535 "VBNET.ATG" +#line 1537 "VBNET.ATG" if (expr != null) { rank.Add(expr); } - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); Expr( -#line 1537 "VBNET.ATG" +#line 1539 "VBNET.ATG" out expr); - if (la.kind == 212) { + if (la.kind == 214) { lexer.NextToken(); -#line 1538 "VBNET.ATG" +#line 1540 "VBNET.ATG" EnsureIsZero(expr); Expr( -#line 1539 "VBNET.ATG" +#line 1541 "VBNET.ATG" out expr); } -#line 1541 "VBNET.ATG" +#line 1543 "VBNET.ATG" if (expr != null) { rank.Add(expr); } } } void CollectionInitializer( -#line 1546 "VBNET.ATG" +#line 1548 "VBNET.ATG" out CollectionInitializerExpression outExpr) { -#line 1548 "VBNET.ATG" +#line 1550 "VBNET.ATG" Expression expr = null; CollectionInitializerExpression initializer = new CollectionInitializerExpression(); - Expect(32); + Expect(34); if (StartOf(29)) { Expr( -#line 1553 "VBNET.ATG" +#line 1555 "VBNET.ATG" out expr); -#line 1555 "VBNET.ATG" +#line 1557 "VBNET.ATG" if (expr != null) { initializer.CreateExpressions.Add(expr); } while ( -#line 1558 "VBNET.ATG" +#line 1560 "VBNET.ATG" NotFinalComma()) { - Expect(21); + Expect(23); Expr( -#line 1558 "VBNET.ATG" +#line 1560 "VBNET.ATG" out expr); -#line 1559 "VBNET.ATG" +#line 1561 "VBNET.ATG" if (expr != null) { initializer.CreateExpressions.Add(expr); } } } - Expect(33); + Expect(35); -#line 1562 "VBNET.ATG" +#line 1564 "VBNET.ATG" outExpr = initializer; } void EventMemberSpecifier( -#line 1632 "VBNET.ATG" +#line 1634 "VBNET.ATG" out string name) { -#line 1633 "VBNET.ATG" +#line 1635 "VBNET.ATG" string eventName; if (StartOf(4)) { Identifier(); - } else if (la.kind == 155) { + } else if (la.kind == 157) { lexer.NextToken(); - } else if (la.kind == 150) { + } else if (la.kind == 152) { lexer.NextToken(); - } else SynErr(267); + } else SynErr(269); -#line 1636 "VBNET.ATG" +#line 1638 "VBNET.ATG" name = t.val; - Expect(25); + Expect(27); IdentifierOrKeyword( -#line 1638 "VBNET.ATG" +#line 1640 "VBNET.ATG" out eventName); -#line 1639 "VBNET.ATG" +#line 1641 "VBNET.ATG" name = name + "." + eventName; } void IdentifierOrKeyword( -#line 3393 "VBNET.ATG" +#line 3395 "VBNET.ATG" out string name) { lexer.NextToken(); -#line 3395 "VBNET.ATG" +#line 3397 "VBNET.ATG" name = t.val; } void QueryExpr( -#line 2061 "VBNET.ATG" +#line 2063 "VBNET.ATG" out Expression expr) { -#line 2063 "VBNET.ATG" +#line 2065 "VBNET.ATG" QueryExpressionVB qexpr = new QueryExpressionVB(); qexpr.StartLocation = la.Location; expr = qexpr; FromOrAggregateQueryOperator( -#line 2067 "VBNET.ATG" +#line 2069 "VBNET.ATG" qexpr.Clauses); while (StartOf(30)) { QueryOperator( -#line 2068 "VBNET.ATG" +#line 2070 "VBNET.ATG" qexpr.Clauses); } -#line 2070 "VBNET.ATG" +#line 2072 "VBNET.ATG" qexpr.EndLocation = t.EndLocation; } void LambdaExpr( -#line 2043 "VBNET.ATG" +#line 2045 "VBNET.ATG" out Expression expr) { -#line 2045 "VBNET.ATG" +#line 2047 "VBNET.ATG" Expression inner = null; LambdaExpression lambda = new LambdaExpression(); lambda.StartLocation = la.Location; - Expect(124); - if (la.kind == 34) { + Expect(126); + if (la.kind == 36) { lexer.NextToken(); if (StartOf(6)) { FormalParameterList( -#line 2051 "VBNET.ATG" +#line 2053 "VBNET.ATG" lambda.Parameters); } - Expect(35); + Expect(37); } Expr( -#line 2052 "VBNET.ATG" +#line 2054 "VBNET.ATG" out inner); -#line 2054 "VBNET.ATG" +#line 2056 "VBNET.ATG" lambda.ExpressionBody = inner; lambda.EndLocation = t.EndLocation; // la.Location? @@ -3630,172 +3630,172 @@ out inner); } void DisjunctionExpr( -#line 1816 "VBNET.ATG" +#line 1818 "VBNET.ATG" out Expression outExpr) { -#line 1818 "VBNET.ATG" +#line 1820 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; ConjunctionExpr( -#line 1821 "VBNET.ATG" +#line 1823 "VBNET.ATG" out outExpr); - while (la.kind == 172 || la.kind == 174 || la.kind == 232) { - if (la.kind == 172) { + while (la.kind == 174 || la.kind == 176 || la.kind == 234) { + if (la.kind == 174) { lexer.NextToken(); -#line 1824 "VBNET.ATG" +#line 1826 "VBNET.ATG" op = BinaryOperatorType.BitwiseOr; - } else if (la.kind == 174) { + } else if (la.kind == 176) { lexer.NextToken(); -#line 1825 "VBNET.ATG" +#line 1827 "VBNET.ATG" op = BinaryOperatorType.LogicalOr; } else { lexer.NextToken(); -#line 1826 "VBNET.ATG" +#line 1828 "VBNET.ATG" op = BinaryOperatorType.ExclusiveOr; } ConjunctionExpr( -#line 1828 "VBNET.ATG" +#line 1830 "VBNET.ATG" out expr); -#line 1828 "VBNET.ATG" +#line 1830 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void AssignmentOperator( -#line 1650 "VBNET.ATG" +#line 1652 "VBNET.ATG" out AssignmentOperatorType op) { -#line 1651 "VBNET.ATG" +#line 1653 "VBNET.ATG" op = AssignmentOperatorType.None; switch (la.kind) { - case 19: { + case 21: { lexer.NextToken(); -#line 1652 "VBNET.ATG" +#line 1654 "VBNET.ATG" op = AssignmentOperatorType.Assign; break; } - case 51: { + case 53: { lexer.NextToken(); -#line 1653 "VBNET.ATG" +#line 1655 "VBNET.ATG" op = AssignmentOperatorType.ConcatString; break; } - case 43: { + case 45: { lexer.NextToken(); -#line 1654 "VBNET.ATG" +#line 1656 "VBNET.ATG" op = AssignmentOperatorType.Add; break; } - case 45: { + case 47: { lexer.NextToken(); -#line 1655 "VBNET.ATG" +#line 1657 "VBNET.ATG" op = AssignmentOperatorType.Subtract; break; } - case 46: { + case 48: { lexer.NextToken(); -#line 1656 "VBNET.ATG" +#line 1658 "VBNET.ATG" op = AssignmentOperatorType.Multiply; break; } - case 47: { + case 49: { lexer.NextToken(); -#line 1657 "VBNET.ATG" +#line 1659 "VBNET.ATG" op = AssignmentOperatorType.Divide; break; } - case 48: { + case 50: { lexer.NextToken(); -#line 1658 "VBNET.ATG" +#line 1660 "VBNET.ATG" op = AssignmentOperatorType.DivideInteger; break; } - case 44: { + case 46: { lexer.NextToken(); -#line 1659 "VBNET.ATG" +#line 1661 "VBNET.ATG" op = AssignmentOperatorType.Power; break; } - case 49: { + case 51: { lexer.NextToken(); -#line 1660 "VBNET.ATG" +#line 1662 "VBNET.ATG" op = AssignmentOperatorType.ShiftLeft; break; } - case 50: { + case 52: { lexer.NextToken(); -#line 1661 "VBNET.ATG" +#line 1663 "VBNET.ATG" op = AssignmentOperatorType.ShiftRight; break; } - default: SynErr(268); break; + default: SynErr(270); break; } } void SimpleExpr( -#line 1665 "VBNET.ATG" +#line 1667 "VBNET.ATG" out Expression pexpr) { -#line 1666 "VBNET.ATG" +#line 1668 "VBNET.ATG" string name; SimpleNonInvocationExpression( -#line 1668 "VBNET.ATG" +#line 1670 "VBNET.ATG" out pexpr); - while (la.kind == 25 || la.kind == 26 || la.kind == 34) { - if (la.kind == 25) { + while (la.kind == 27 || la.kind == 28 || la.kind == 36) { + if (la.kind == 27) { lexer.NextToken(); IdentifierOrKeyword( -#line 1670 "VBNET.ATG" +#line 1672 "VBNET.ATG" out name); -#line 1671 "VBNET.ATG" +#line 1673 "VBNET.ATG" pexpr = new MemberReferenceExpression(pexpr, name); if ( -#line 1672 "VBNET.ATG" +#line 1674 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { lexer.NextToken(); - Expect(166); + Expect(168); TypeArgumentList( -#line 1673 "VBNET.ATG" +#line 1675 "VBNET.ATG" ((MemberReferenceExpression)pexpr).TypeArguments); - Expect(35); + Expect(37); } - } else if (la.kind == 26) { + } else if (la.kind == 28) { lexer.NextToken(); IdentifierOrKeyword( -#line 1675 "VBNET.ATG" +#line 1677 "VBNET.ATG" out name); -#line 1675 "VBNET.ATG" +#line 1677 "VBNET.ATG" pexpr = new BinaryOperatorExpression(pexpr, BinaryOperatorType.DictionaryAccess, new PrimitiveExpression(name, name)); } else { InvocationExpression( -#line 1676 "VBNET.ATG" +#line 1678 "VBNET.ATG" ref pexpr); } } } void SimpleNonInvocationExpression( -#line 1680 "VBNET.ATG" +#line 1682 "VBNET.ATG" out Expression pexpr) { -#line 1682 "VBNET.ATG" +#line 1684 "VBNET.ATG" Expression expr; CollectionInitializerExpression cie; TypeReference type = null; @@ -3807,586 +3807,586 @@ out Expression pexpr) { case 3: { lexer.NextToken(); -#line 1691 "VBNET.ATG" +#line 1693 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 4: { lexer.NextToken(); -#line 1692 "VBNET.ATG" +#line 1694 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 7: { lexer.NextToken(); -#line 1693 "VBNET.ATG" +#line 1695 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 6: { lexer.NextToken(); -#line 1694 "VBNET.ATG" +#line 1696 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 5: { lexer.NextToken(); -#line 1695 "VBNET.ATG" +#line 1697 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 9: { lexer.NextToken(); -#line 1696 "VBNET.ATG" +#line 1698 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } case 8: { lexer.NextToken(); -#line 1697 "VBNET.ATG" +#line 1699 "VBNET.ATG" pexpr = new PrimitiveExpression(t.literalValue, t.val) { LiteralFormat = t.literalFormat }; break; } - case 213: { + case 215: { lexer.NextToken(); -#line 1699 "VBNET.ATG" +#line 1701 "VBNET.ATG" pexpr = new PrimitiveExpression(true, "true"); break; } - case 119: { + case 121: { lexer.NextToken(); -#line 1700 "VBNET.ATG" +#line 1702 "VBNET.ATG" pexpr = new PrimitiveExpression(false, "false"); break; } - case 162: { + case 164: { lexer.NextToken(); -#line 1701 "VBNET.ATG" +#line 1703 "VBNET.ATG" pexpr = new PrimitiveExpression(null, "null"); break; } - case 34: { + case 36: { lexer.NextToken(); Expr( -#line 1702 "VBNET.ATG" +#line 1704 "VBNET.ATG" out expr); - Expect(35); + Expect(37); -#line 1702 "VBNET.ATG" +#line 1704 "VBNET.ATG" pexpr = new ParenthesizedExpression(expr); break; } - case 2: case 55: case 59: case 61: case 62: case 63: case 64: case 67: case 84: case 95: case 101: case 104: case 113: case 118: case 123: case 130: case 136: case 140: case 143: case 167: case 173: case 180: case 199: case 208: case 209: case 219: case 220: case 226: { + 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: { Identifier(); -#line 1704 "VBNET.ATG" +#line 1706 "VBNET.ATG" pexpr = new IdentifierExpression(t.val); pexpr.StartLocation = t.Location; pexpr.EndLocation = t.EndLocation; if ( -#line 1707 "VBNET.ATG" +#line 1709 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { lexer.NextToken(); - Expect(166); + Expect(168); TypeArgumentList( -#line 1708 "VBNET.ATG" +#line 1710 "VBNET.ATG" ((IdentifierExpression)pexpr).TypeArguments); - Expect(35); + Expect(37); } break; } - case 65: case 68: case 79: case 96: case 97: case 106: case 138: case 148: case 165: case 192: case 197: case 198: case 204: case 217: case 218: case 221: { + 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: { -#line 1710 "VBNET.ATG" +#line 1712 "VBNET.ATG" string val = String.Empty; if (StartOf(12)) { PrimitiveTypeName( -#line 1711 "VBNET.ATG" +#line 1713 "VBNET.ATG" out val); - } else if (la.kind == 165) { + } else if (la.kind == 167) { lexer.NextToken(); -#line 1711 "VBNET.ATG" +#line 1713 "VBNET.ATG" val = "System.Object"; - } else SynErr(269); + } else SynErr(271); -#line 1712 "VBNET.ATG" +#line 1714 "VBNET.ATG" pexpr = new TypeReferenceExpression(new TypeReference(val, true)); break; } - case 150: { + case 152: { lexer.NextToken(); -#line 1713 "VBNET.ATG" +#line 1715 "VBNET.ATG" pexpr = new ThisReferenceExpression(); break; } - case 155: case 156: { + case 157: case 158: { -#line 1714 "VBNET.ATG" +#line 1716 "VBNET.ATG" Expression retExpr = null; - if (la.kind == 155) { + if (la.kind == 157) { lexer.NextToken(); -#line 1715 "VBNET.ATG" +#line 1717 "VBNET.ATG" retExpr = new BaseReferenceExpression(); - } else if (la.kind == 156) { + } else if (la.kind == 158) { lexer.NextToken(); -#line 1716 "VBNET.ATG" +#line 1718 "VBNET.ATG" retExpr = new ClassReferenceExpression(); - } else SynErr(270); - Expect(25); + } else SynErr(272); + Expect(27); IdentifierOrKeyword( -#line 1718 "VBNET.ATG" +#line 1720 "VBNET.ATG" out name); -#line 1718 "VBNET.ATG" +#line 1720 "VBNET.ATG" pexpr = new MemberReferenceExpression(retExpr, name); break; } - case 127: { + case 129: { lexer.NextToken(); - Expect(25); + Expect(27); Identifier(); -#line 1720 "VBNET.ATG" +#line 1722 "VBNET.ATG" type = new TypeReference(t.val ?? ""); -#line 1722 "VBNET.ATG" +#line 1724 "VBNET.ATG" type.IsGlobal = true; -#line 1723 "VBNET.ATG" +#line 1725 "VBNET.ATG" pexpr = new TypeReferenceExpression(type); break; } - case 159: { + case 161: { ObjectCreateExpression( -#line 1724 "VBNET.ATG" +#line 1726 "VBNET.ATG" out expr); -#line 1724 "VBNET.ATG" +#line 1726 "VBNET.ATG" pexpr = expr; break; } - case 32: { + case 34: { CollectionInitializer( -#line 1725 "VBNET.ATG" +#line 1727 "VBNET.ATG" out cie); -#line 1725 "VBNET.ATG" +#line 1727 "VBNET.ATG" pexpr = cie; break; } - case 91: case 103: case 215: { + case 93: case 105: case 217: { -#line 1727 "VBNET.ATG" +#line 1729 "VBNET.ATG" CastType castType = CastType.Cast; - if (la.kind == 103) { + if (la.kind == 105) { lexer.NextToken(); - } else if (la.kind == 91) { + } else if (la.kind == 93) { lexer.NextToken(); -#line 1729 "VBNET.ATG" +#line 1731 "VBNET.ATG" castType = CastType.Conversion; - } else if (la.kind == 215) { + } else if (la.kind == 217) { lexer.NextToken(); -#line 1730 "VBNET.ATG" +#line 1732 "VBNET.ATG" castType = CastType.TryCast; - } else SynErr(271); - Expect(34); + } else SynErr(273); + Expect(36); Expr( -#line 1732 "VBNET.ATG" +#line 1734 "VBNET.ATG" out expr); - Expect(21); + Expect(23); TypeName( -#line 1732 "VBNET.ATG" +#line 1734 "VBNET.ATG" out type); - Expect(35); + Expect(37); -#line 1733 "VBNET.ATG" +#line 1735 "VBNET.ATG" pexpr = new CastExpression(type, expr, castType); break; } - case 73: case 74: case 75: case 76: case 77: case 78: case 80: case 82: case 83: case 87: case 88: case 89: case 90: case 92: case 93: case 94: { + 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: { CastTarget( -#line 1734 "VBNET.ATG" +#line 1736 "VBNET.ATG" out type); - Expect(34); + Expect(36); Expr( -#line 1734 "VBNET.ATG" +#line 1736 "VBNET.ATG" out expr); - Expect(35); + Expect(37); -#line 1734 "VBNET.ATG" +#line 1736 "VBNET.ATG" pexpr = new CastExpression(type, expr, CastType.PrimitiveConversion); break; } - case 54: { + case 56: { lexer.NextToken(); Expr( -#line 1735 "VBNET.ATG" +#line 1737 "VBNET.ATG" out expr); -#line 1735 "VBNET.ATG" +#line 1737 "VBNET.ATG" pexpr = new AddressOfExpression(expr); break; } - case 126: { + case 128: { lexer.NextToken(); - Expect(34); + Expect(36); GetTypeTypeName( -#line 1736 "VBNET.ATG" +#line 1738 "VBNET.ATG" out type); - Expect(35); + Expect(37); -#line 1736 "VBNET.ATG" +#line 1738 "VBNET.ATG" pexpr = new TypeOfExpression(type); break; } - case 216: { + case 218: { lexer.NextToken(); SimpleExpr( -#line 1737 "VBNET.ATG" +#line 1739 "VBNET.ATG" out expr); - Expect(141); + Expect(143); TypeName( -#line 1737 "VBNET.ATG" +#line 1739 "VBNET.ATG" out type); -#line 1737 "VBNET.ATG" +#line 1739 "VBNET.ATG" pexpr = new TypeOfIsExpression(expr, type); break; } - case 132: { + case 134: { ConditionalExpression( -#line 1738 "VBNET.ATG" +#line 1740 "VBNET.ATG" out pexpr); break; } } - } else if (la.kind == 25) { + } else if (la.kind == 27) { lexer.NextToken(); IdentifierOrKeyword( -#line 1742 "VBNET.ATG" +#line 1744 "VBNET.ATG" out name); -#line 1742 "VBNET.ATG" +#line 1744 "VBNET.ATG" pexpr = new MemberReferenceExpression(null, name); - } else SynErr(272); + } else SynErr(274); } void TypeArgumentList( -#line 2573 "VBNET.ATG" +#line 2575 "VBNET.ATG" List typeArguments) { -#line 2575 "VBNET.ATG" +#line 2577 "VBNET.ATG" TypeReference typeref; TypeName( -#line 2577 "VBNET.ATG" +#line 2579 "VBNET.ATG" out typeref); -#line 2577 "VBNET.ATG" +#line 2579 "VBNET.ATG" if (typeref != null) typeArguments.Add(typeref); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); TypeName( -#line 2580 "VBNET.ATG" +#line 2582 "VBNET.ATG" out typeref); -#line 2580 "VBNET.ATG" +#line 2582 "VBNET.ATG" if (typeref != null) typeArguments.Add(typeref); } } void InvocationExpression( -#line 1780 "VBNET.ATG" +#line 1782 "VBNET.ATG" ref Expression pexpr) { -#line 1781 "VBNET.ATG" +#line 1783 "VBNET.ATG" List parameters = null; - Expect(34); + Expect(36); -#line 1783 "VBNET.ATG" +#line 1785 "VBNET.ATG" Location start = t.Location; ArgumentList( -#line 1784 "VBNET.ATG" +#line 1786 "VBNET.ATG" out parameters); - Expect(35); + Expect(37); -#line 1787 "VBNET.ATG" +#line 1789 "VBNET.ATG" pexpr = new InvocationExpression(pexpr, parameters); -#line 1789 "VBNET.ATG" +#line 1791 "VBNET.ATG" pexpr.StartLocation = start; pexpr.EndLocation = t.Location; } void PrimitiveTypeName( -#line 3400 "VBNET.ATG" +#line 3402 "VBNET.ATG" out string type) { -#line 3401 "VBNET.ATG" +#line 3403 "VBNET.ATG" type = String.Empty; switch (la.kind) { - case 65: { + case 67: { lexer.NextToken(); -#line 3402 "VBNET.ATG" +#line 3404 "VBNET.ATG" type = "System.Boolean"; break; } - case 96: { + case 98: { lexer.NextToken(); -#line 3403 "VBNET.ATG" +#line 3405 "VBNET.ATG" type = "System.DateTime"; break; } - case 79: { + case 81: { lexer.NextToken(); -#line 3404 "VBNET.ATG" +#line 3406 "VBNET.ATG" type = "System.Char"; break; } - case 204: { + case 206: { lexer.NextToken(); -#line 3405 "VBNET.ATG" +#line 3407 "VBNET.ATG" type = "System.String"; break; } - case 97: { + case 99: { lexer.NextToken(); -#line 3406 "VBNET.ATG" +#line 3408 "VBNET.ATG" type = "System.Decimal"; break; } - case 68: { + case 70: { lexer.NextToken(); -#line 3407 "VBNET.ATG" +#line 3409 "VBNET.ATG" type = "System.Byte"; break; } - case 197: { + case 199: { lexer.NextToken(); -#line 3408 "VBNET.ATG" +#line 3410 "VBNET.ATG" type = "System.Int16"; break; } - case 138: { + case 140: { lexer.NextToken(); -#line 3409 "VBNET.ATG" +#line 3411 "VBNET.ATG" type = "System.Int32"; break; } - case 148: { + case 150: { lexer.NextToken(); -#line 3410 "VBNET.ATG" +#line 3412 "VBNET.ATG" type = "System.Int64"; break; } - case 198: { + case 200: { lexer.NextToken(); -#line 3411 "VBNET.ATG" +#line 3413 "VBNET.ATG" type = "System.Single"; break; } - case 106: { + case 108: { lexer.NextToken(); -#line 3412 "VBNET.ATG" +#line 3414 "VBNET.ATG" type = "System.Double"; break; } - case 217: { + case 219: { lexer.NextToken(); -#line 3413 "VBNET.ATG" +#line 3415 "VBNET.ATG" type = "System.UInt32"; break; } - case 218: { + case 220: { lexer.NextToken(); -#line 3414 "VBNET.ATG" +#line 3416 "VBNET.ATG" type = "System.UInt64"; break; } - case 221: { + case 223: { lexer.NextToken(); -#line 3415 "VBNET.ATG" +#line 3417 "VBNET.ATG" type = "System.UInt16"; break; } - case 192: { + case 194: { lexer.NextToken(); -#line 3416 "VBNET.ATG" +#line 3418 "VBNET.ATG" type = "System.SByte"; break; } - default: SynErr(273); break; + default: SynErr(275); break; } } void CastTarget( -#line 1794 "VBNET.ATG" +#line 1796 "VBNET.ATG" out TypeReference type) { -#line 1796 "VBNET.ATG" +#line 1798 "VBNET.ATG" type = null; switch (la.kind) { - case 73: { + case 75: { lexer.NextToken(); -#line 1798 "VBNET.ATG" +#line 1800 "VBNET.ATG" type = new TypeReference("System.Boolean", true); break; } - case 74: { + case 76: { lexer.NextToken(); -#line 1799 "VBNET.ATG" +#line 1801 "VBNET.ATG" type = new TypeReference("System.Byte", true); break; } - case 87: { + case 89: { lexer.NextToken(); -#line 1800 "VBNET.ATG" +#line 1802 "VBNET.ATG" type = new TypeReference("System.SByte", true); break; } - case 75: { + case 77: { lexer.NextToken(); -#line 1801 "VBNET.ATG" +#line 1803 "VBNET.ATG" type = new TypeReference("System.Char", true); break; } - case 76: { + case 78: { lexer.NextToken(); -#line 1802 "VBNET.ATG" +#line 1804 "VBNET.ATG" type = new TypeReference("System.DateTime", true); break; } - case 78: { + case 80: { lexer.NextToken(); -#line 1803 "VBNET.ATG" +#line 1805 "VBNET.ATG" type = new TypeReference("System.Decimal", true); break; } - case 77: { + case 79: { lexer.NextToken(); -#line 1804 "VBNET.ATG" +#line 1806 "VBNET.ATG" type = new TypeReference("System.Double", true); break; } - case 88: { + case 90: { lexer.NextToken(); -#line 1805 "VBNET.ATG" +#line 1807 "VBNET.ATG" type = new TypeReference("System.Int16", true); break; } - case 80: { + case 82: { lexer.NextToken(); -#line 1806 "VBNET.ATG" +#line 1808 "VBNET.ATG" type = new TypeReference("System.Int32", true); break; } - case 82: { + case 84: { lexer.NextToken(); -#line 1807 "VBNET.ATG" +#line 1809 "VBNET.ATG" type = new TypeReference("System.Int64", true); break; } - case 94: { + case 96: { lexer.NextToken(); -#line 1808 "VBNET.ATG" +#line 1810 "VBNET.ATG" type = new TypeReference("System.UInt16", true); break; } - case 92: { + case 94: { lexer.NextToken(); -#line 1809 "VBNET.ATG" +#line 1811 "VBNET.ATG" type = new TypeReference("System.UInt32", true); break; } - case 93: { + case 95: { lexer.NextToken(); -#line 1810 "VBNET.ATG" +#line 1812 "VBNET.ATG" type = new TypeReference("System.UInt64", true); break; } - case 83: { + case 85: { lexer.NextToken(); -#line 1811 "VBNET.ATG" +#line 1813 "VBNET.ATG" type = new TypeReference("System.Object", true); break; } - case 89: { + case 91: { lexer.NextToken(); -#line 1812 "VBNET.ATG" +#line 1814 "VBNET.ATG" type = new TypeReference("System.Single", true); break; } - case 90: { + case 92: { lexer.NextToken(); -#line 1813 "VBNET.ATG" +#line 1815 "VBNET.ATG" type = new TypeReference("System.String", true); break; } - default: SynErr(274); break; + default: SynErr(276); break; } } void GetTypeTypeName( -#line 2472 "VBNET.ATG" +#line 2474 "VBNET.ATG" out TypeReference typeref) { -#line 2473 "VBNET.ATG" +#line 2475 "VBNET.ATG" ArrayList rank = null; NonArrayTypeName( -#line 2475 "VBNET.ATG" +#line 2477 "VBNET.ATG" out typeref, true); ArrayTypeModifiers( -#line 2476 "VBNET.ATG" +#line 2478 "VBNET.ATG" out rank); -#line 2477 "VBNET.ATG" +#line 2479 "VBNET.ATG" if (rank != null && typeref != null) { typeref.RankSpecifier = (int[])rank.ToArray(typeof(int)); } @@ -4394,10 +4394,10 @@ out rank); } void ConditionalExpression( -#line 1746 "VBNET.ATG" +#line 1748 "VBNET.ATG" out Expression expr) { -#line 1748 "VBNET.ATG" +#line 1750 "VBNET.ATG" ConditionalExpression conditionalExpression = new ConditionalExpression(); BinaryOperatorExpression binaryOperatorExpression = new BinaryOperatorExpression(); conditionalExpression.StartLocation = binaryOperatorExpression.StartLocation = la.Location; @@ -4406,24 +4406,24 @@ out Expression expr) { Expression trueExpr = null; Expression falseExpr = null; - Expect(132); - Expect(34); + Expect(134); + Expect(36); Expr( -#line 1757 "VBNET.ATG" +#line 1759 "VBNET.ATG" out condition); - Expect(21); + Expect(23); Expr( -#line 1757 "VBNET.ATG" +#line 1759 "VBNET.ATG" out trueExpr); - if (la.kind == 21) { + if (la.kind == 23) { lexer.NextToken(); Expr( -#line 1757 "VBNET.ATG" +#line 1759 "VBNET.ATG" out falseExpr); } - Expect(35); + Expect(37); -#line 1759 "VBNET.ATG" +#line 1761 "VBNET.ATG" if(falseExpr != null) { conditionalExpression.Condition = condition; @@ -4446,375 +4446,375 @@ out falseExpr); } void ArgumentList( -#line 2404 "VBNET.ATG" +#line 2406 "VBNET.ATG" out List arguments) { -#line 2406 "VBNET.ATG" +#line 2408 "VBNET.ATG" arguments = new List(); Expression expr = null; if (StartOf(29)) { Argument( -#line 2409 "VBNET.ATG" +#line 2411 "VBNET.ATG" out expr); } - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); -#line 2410 "VBNET.ATG" +#line 2412 "VBNET.ATG" arguments.Add(expr ?? Expression.Null); expr = null; if (StartOf(29)) { Argument( -#line 2411 "VBNET.ATG" +#line 2413 "VBNET.ATG" out expr); } -#line 2412 "VBNET.ATG" +#line 2414 "VBNET.ATG" if (expr == null) expr = Expression.Null; } -#line 2414 "VBNET.ATG" +#line 2416 "VBNET.ATG" if (expr != null) arguments.Add(expr); } void ConjunctionExpr( -#line 1832 "VBNET.ATG" +#line 1834 "VBNET.ATG" out Expression outExpr) { -#line 1834 "VBNET.ATG" +#line 1836 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; NotExpr( -#line 1837 "VBNET.ATG" +#line 1839 "VBNET.ATG" out outExpr); - while (la.kind == 57 || la.kind == 58) { - if (la.kind == 57) { + while (la.kind == 59 || la.kind == 60) { + if (la.kind == 59) { lexer.NextToken(); -#line 1840 "VBNET.ATG" +#line 1842 "VBNET.ATG" op = BinaryOperatorType.BitwiseAnd; } else { lexer.NextToken(); -#line 1841 "VBNET.ATG" +#line 1843 "VBNET.ATG" op = BinaryOperatorType.LogicalAnd; } NotExpr( -#line 1843 "VBNET.ATG" +#line 1845 "VBNET.ATG" out expr); -#line 1843 "VBNET.ATG" +#line 1845 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void NotExpr( -#line 1847 "VBNET.ATG" +#line 1849 "VBNET.ATG" out Expression outExpr) { -#line 1848 "VBNET.ATG" +#line 1850 "VBNET.ATG" UnaryOperatorType uop = UnaryOperatorType.None; - while (la.kind == 161) { + while (la.kind == 163) { lexer.NextToken(); -#line 1849 "VBNET.ATG" +#line 1851 "VBNET.ATG" uop = UnaryOperatorType.Not; } ComparisonExpr( -#line 1850 "VBNET.ATG" +#line 1852 "VBNET.ATG" out outExpr); -#line 1851 "VBNET.ATG" +#line 1853 "VBNET.ATG" if (uop != UnaryOperatorType.None) outExpr = new UnaryOperatorExpression(outExpr, uop); } void ComparisonExpr( -#line 1856 "VBNET.ATG" +#line 1858 "VBNET.ATG" out Expression outExpr) { -#line 1858 "VBNET.ATG" +#line 1860 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; ShiftExpr( -#line 1861 "VBNET.ATG" +#line 1863 "VBNET.ATG" out outExpr); while (StartOf(32)) { switch (la.kind) { - case 37: { + case 39: { lexer.NextToken(); -#line 1864 "VBNET.ATG" +#line 1866 "VBNET.ATG" op = BinaryOperatorType.LessThan; break; } - case 36: { + case 38: { lexer.NextToken(); -#line 1865 "VBNET.ATG" +#line 1867 "VBNET.ATG" op = BinaryOperatorType.GreaterThan; break; } - case 40: { + case 42: { lexer.NextToken(); -#line 1866 "VBNET.ATG" +#line 1868 "VBNET.ATG" op = BinaryOperatorType.LessThanOrEqual; break; } - case 39: { + case 41: { lexer.NextToken(); -#line 1867 "VBNET.ATG" +#line 1869 "VBNET.ATG" op = BinaryOperatorType.GreaterThanOrEqual; break; } - case 38: { + case 40: { lexer.NextToken(); -#line 1868 "VBNET.ATG" +#line 1870 "VBNET.ATG" op = BinaryOperatorType.InEquality; break; } - case 19: { + case 21: { lexer.NextToken(); -#line 1869 "VBNET.ATG" +#line 1871 "VBNET.ATG" op = BinaryOperatorType.Equality; break; } - case 147: { + case 149: { lexer.NextToken(); -#line 1870 "VBNET.ATG" +#line 1872 "VBNET.ATG" op = BinaryOperatorType.Like; break; } - case 141: { + case 143: { lexer.NextToken(); -#line 1871 "VBNET.ATG" +#line 1873 "VBNET.ATG" op = BinaryOperatorType.ReferenceEquality; break; } - case 142: { + case 144: { lexer.NextToken(); -#line 1872 "VBNET.ATG" +#line 1874 "VBNET.ATG" op = BinaryOperatorType.ReferenceInequality; break; } } if (StartOf(33)) { ShiftExpr( -#line 1875 "VBNET.ATG" +#line 1877 "VBNET.ATG" out expr); -#line 1875 "VBNET.ATG" +#line 1877 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); - } else if (la.kind == 161) { + } else if (la.kind == 163) { lexer.NextToken(); ShiftExpr( -#line 1878 "VBNET.ATG" +#line 1880 "VBNET.ATG" out expr); -#line 1878 "VBNET.ATG" +#line 1880 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, new UnaryOperatorExpression(expr, UnaryOperatorType.Not)); - } else SynErr(275); + } else SynErr(277); } } void ShiftExpr( -#line 1883 "VBNET.ATG" +#line 1885 "VBNET.ATG" out Expression outExpr) { -#line 1885 "VBNET.ATG" +#line 1887 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; ConcatenationExpr( -#line 1888 "VBNET.ATG" +#line 1890 "VBNET.ATG" out outExpr); - while (la.kind == 41 || la.kind == 42) { - if (la.kind == 41) { + while (la.kind == 43 || la.kind == 44) { + if (la.kind == 43) { lexer.NextToken(); -#line 1891 "VBNET.ATG" +#line 1893 "VBNET.ATG" op = BinaryOperatorType.ShiftLeft; } else { lexer.NextToken(); -#line 1892 "VBNET.ATG" +#line 1894 "VBNET.ATG" op = BinaryOperatorType.ShiftRight; } ConcatenationExpr( -#line 1894 "VBNET.ATG" +#line 1896 "VBNET.ATG" out expr); -#line 1894 "VBNET.ATG" +#line 1896 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void ConcatenationExpr( -#line 1898 "VBNET.ATG" +#line 1900 "VBNET.ATG" out Expression outExpr) { -#line 1899 "VBNET.ATG" +#line 1901 "VBNET.ATG" Expression expr; AdditiveExpr( -#line 1901 "VBNET.ATG" +#line 1903 "VBNET.ATG" out outExpr); - while (la.kind == 22) { + while (la.kind == 24) { lexer.NextToken(); AdditiveExpr( -#line 1901 "VBNET.ATG" +#line 1903 "VBNET.ATG" out expr); -#line 1901 "VBNET.ATG" +#line 1903 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, BinaryOperatorType.Concat, expr); } } void AdditiveExpr( -#line 1904 "VBNET.ATG" +#line 1906 "VBNET.ATG" out Expression outExpr) { -#line 1906 "VBNET.ATG" +#line 1908 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; ModuloExpr( -#line 1909 "VBNET.ATG" +#line 1911 "VBNET.ATG" out outExpr); - while (la.kind == 27 || la.kind == 28) { - if (la.kind == 28) { + while (la.kind == 29 || la.kind == 30) { + if (la.kind == 30) { lexer.NextToken(); -#line 1912 "VBNET.ATG" +#line 1914 "VBNET.ATG" op = BinaryOperatorType.Add; } else { lexer.NextToken(); -#line 1913 "VBNET.ATG" +#line 1915 "VBNET.ATG" op = BinaryOperatorType.Subtract; } ModuloExpr( -#line 1915 "VBNET.ATG" +#line 1917 "VBNET.ATG" out expr); -#line 1915 "VBNET.ATG" +#line 1917 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void ModuloExpr( -#line 1919 "VBNET.ATG" +#line 1921 "VBNET.ATG" out Expression outExpr) { -#line 1920 "VBNET.ATG" +#line 1922 "VBNET.ATG" Expression expr; IntegerDivisionExpr( -#line 1922 "VBNET.ATG" +#line 1924 "VBNET.ATG" out outExpr); - while (la.kind == 151) { + while (la.kind == 153) { lexer.NextToken(); IntegerDivisionExpr( -#line 1922 "VBNET.ATG" +#line 1924 "VBNET.ATG" out expr); -#line 1922 "VBNET.ATG" +#line 1924 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, BinaryOperatorType.Modulus, expr); } } void IntegerDivisionExpr( -#line 1925 "VBNET.ATG" +#line 1927 "VBNET.ATG" out Expression outExpr) { -#line 1926 "VBNET.ATG" +#line 1928 "VBNET.ATG" Expression expr; MultiplicativeExpr( -#line 1928 "VBNET.ATG" +#line 1930 "VBNET.ATG" out outExpr); - while (la.kind == 24) { + while (la.kind == 26) { lexer.NextToken(); MultiplicativeExpr( -#line 1928 "VBNET.ATG" +#line 1930 "VBNET.ATG" out expr); -#line 1928 "VBNET.ATG" +#line 1930 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, BinaryOperatorType.DivideInteger, expr); } } void MultiplicativeExpr( -#line 1931 "VBNET.ATG" +#line 1933 "VBNET.ATG" out Expression outExpr) { -#line 1933 "VBNET.ATG" +#line 1935 "VBNET.ATG" Expression expr; BinaryOperatorType op = BinaryOperatorType.None; UnaryExpr( -#line 1936 "VBNET.ATG" +#line 1938 "VBNET.ATG" out outExpr); - while (la.kind == 23 || la.kind == 31) { - if (la.kind == 31) { + while (la.kind == 25 || la.kind == 33) { + if (la.kind == 33) { lexer.NextToken(); -#line 1939 "VBNET.ATG" +#line 1941 "VBNET.ATG" op = BinaryOperatorType.Multiply; } else { lexer.NextToken(); -#line 1940 "VBNET.ATG" +#line 1942 "VBNET.ATG" op = BinaryOperatorType.Divide; } UnaryExpr( -#line 1942 "VBNET.ATG" +#line 1944 "VBNET.ATG" out expr); -#line 1942 "VBNET.ATG" +#line 1944 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, op, expr); } } void UnaryExpr( -#line 1946 "VBNET.ATG" +#line 1948 "VBNET.ATG" out Expression uExpr) { -#line 1948 "VBNET.ATG" +#line 1950 "VBNET.ATG" Expression expr; UnaryOperatorType uop = UnaryOperatorType.None; bool isUOp = false; - while (la.kind == 27 || la.kind == 28 || la.kind == 31) { - if (la.kind == 28) { + while (la.kind == 29 || la.kind == 30 || la.kind == 33) { + if (la.kind == 30) { lexer.NextToken(); -#line 1952 "VBNET.ATG" +#line 1954 "VBNET.ATG" uop = UnaryOperatorType.Plus; isUOp = true; - } else if (la.kind == 27) { + } else if (la.kind == 29) { lexer.NextToken(); -#line 1953 "VBNET.ATG" +#line 1955 "VBNET.ATG" uop = UnaryOperatorType.Minus; isUOp = true; } else { lexer.NextToken(); -#line 1954 "VBNET.ATG" +#line 1956 "VBNET.ATG" uop = UnaryOperatorType.Dereference; isUOp = true; } } ExponentiationExpr( -#line 1956 "VBNET.ATG" +#line 1958 "VBNET.ATG" out expr); -#line 1958 "VBNET.ATG" +#line 1960 "VBNET.ATG" if (isUOp) { uExpr = new UnaryOperatorExpression(expr, uop); } else { @@ -4824,107 +4824,107 @@ out expr); } void ExponentiationExpr( -#line 1966 "VBNET.ATG" +#line 1968 "VBNET.ATG" out Expression outExpr) { -#line 1967 "VBNET.ATG" +#line 1969 "VBNET.ATG" Expression expr; SimpleExpr( -#line 1969 "VBNET.ATG" +#line 1971 "VBNET.ATG" out outExpr); - while (la.kind == 29) { + while (la.kind == 31) { lexer.NextToken(); SimpleExpr( -#line 1969 "VBNET.ATG" +#line 1971 "VBNET.ATG" out expr); -#line 1969 "VBNET.ATG" +#line 1971 "VBNET.ATG" outExpr = new BinaryOperatorExpression(outExpr, BinaryOperatorType.Power, expr); } } void NormalOrReDimArgumentList( -#line 2418 "VBNET.ATG" +#line 2420 "VBNET.ATG" out List arguments, out bool canBeNormal, out bool canBeRedim) { -#line 2420 "VBNET.ATG" +#line 2422 "VBNET.ATG" arguments = new List(); canBeNormal = true; canBeRedim = !IsNamedAssign(); Expression expr = null; if (StartOf(29)) { Argument( -#line 2425 "VBNET.ATG" +#line 2427 "VBNET.ATG" out expr); - if (la.kind == 212) { + if (la.kind == 214) { lexer.NextToken(); -#line 2426 "VBNET.ATG" +#line 2428 "VBNET.ATG" EnsureIsZero(expr); canBeNormal = false; Expr( -#line 2427 "VBNET.ATG" +#line 2429 "VBNET.ATG" out expr); } } - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); -#line 2430 "VBNET.ATG" +#line 2432 "VBNET.ATG" if (expr == null) canBeRedim = false; -#line 2431 "VBNET.ATG" +#line 2433 "VBNET.ATG" arguments.Add(expr ?? Expression.Null); expr = null; -#line 2432 "VBNET.ATG" +#line 2434 "VBNET.ATG" canBeRedim &= !IsNamedAssign(); if (StartOf(29)) { Argument( -#line 2433 "VBNET.ATG" +#line 2435 "VBNET.ATG" out expr); - if (la.kind == 212) { + if (la.kind == 214) { lexer.NextToken(); -#line 2434 "VBNET.ATG" +#line 2436 "VBNET.ATG" EnsureIsZero(expr); canBeNormal = false; Expr( -#line 2435 "VBNET.ATG" +#line 2437 "VBNET.ATG" out expr); } } -#line 2437 "VBNET.ATG" +#line 2439 "VBNET.ATG" if (expr == null) { canBeRedim = false; expr = Expression.Null; } } -#line 2439 "VBNET.ATG" +#line 2441 "VBNET.ATG" if (expr != null) arguments.Add(expr); else canBeRedim = false; } void ArrayTypeModifiers( -#line 2546 "VBNET.ATG" +#line 2548 "VBNET.ATG" out ArrayList arrayModifiers) { -#line 2548 "VBNET.ATG" +#line 2550 "VBNET.ATG" arrayModifiers = new ArrayList(); int i = 0; while ( -#line 2551 "VBNET.ATG" +#line 2553 "VBNET.ATG" IsDims()) { - Expect(34); - if (la.kind == 21 || la.kind == 35) { + Expect(36); + if (la.kind == 23 || la.kind == 37) { RankList( -#line 2553 "VBNET.ATG" +#line 2555 "VBNET.ATG" out i); } -#line 2555 "VBNET.ATG" +#line 2557 "VBNET.ATG" arrayModifiers.Add(i); - Expect(35); + Expect(37); } -#line 2560 "VBNET.ATG" +#line 2562 "VBNET.ATG" if(arrayModifiers.Count == 0) { arrayModifiers = null; } @@ -4932,26 +4932,26 @@ out i); } void MemberInitializer( -#line 2385 "VBNET.ATG" +#line 2387 "VBNET.ATG" out MemberInitializerExpression memberInitializer) { -#line 2387 "VBNET.ATG" +#line 2389 "VBNET.ATG" memberInitializer = new MemberInitializerExpression(); memberInitializer.StartLocation = la.Location; Expression initExpr = null; bool isKey = false; string name = null; - Expect(25); + Expect(27); IdentifierOrKeyword( -#line 2394 "VBNET.ATG" +#line 2396 "VBNET.ATG" out name); - Expect(19); + Expect(21); Expr( -#line 2394 "VBNET.ATG" +#line 2396 "VBNET.ATG" out initExpr); -#line 2396 "VBNET.ATG" +#line 2398 "VBNET.ATG" memberInitializer.Name = name; memberInitializer.Expression = initExpr; memberInitializer.IsKey = isKey; @@ -4960,35 +4960,35 @@ out initExpr); } void FromOrAggregateQueryOperator( -#line 2074 "VBNET.ATG" +#line 2076 "VBNET.ATG" List middleClauses) { -#line 2076 "VBNET.ATG" +#line 2078 "VBNET.ATG" QueryExpressionFromClause fromClause = null; QueryExpressionAggregateClause aggregateClause = null; - if (la.kind == 123) { + if (la.kind == 125) { FromQueryOperator( -#line 2079 "VBNET.ATG" +#line 2081 "VBNET.ATG" out fromClause); -#line 2080 "VBNET.ATG" +#line 2082 "VBNET.ATG" middleClauses.Add(fromClause); - } else if (la.kind == 55) { + } else if (la.kind == 57) { AggregateQueryOperator( -#line 2081 "VBNET.ATG" +#line 2083 "VBNET.ATG" out aggregateClause); -#line 2082 "VBNET.ATG" +#line 2084 "VBNET.ATG" middleClauses.Add(aggregateClause); - } else SynErr(276); + } else SynErr(278); } void QueryOperator( -#line 2085 "VBNET.ATG" +#line 2087 "VBNET.ATG" List middleClauses) { -#line 2087 "VBNET.ATG" +#line 2089 "VBNET.ATG" QueryExpressionJoinVBClause joinClause = null; QueryExpressionGroupVBClause groupByClause = null; QueryExpressionPartitionVBClause partitionClause = null; @@ -4996,174 +4996,174 @@ List middleClauses) { QueryExpressionFromClause fromClause = null; QueryExpressionAggregateClause aggregateClause = null; - if (la.kind == 123) { + if (la.kind == 125) { FromQueryOperator( -#line 2094 "VBNET.ATG" +#line 2096 "VBNET.ATG" out fromClause); -#line 2095 "VBNET.ATG" +#line 2097 "VBNET.ATG" middleClauses.Add(fromClause); - } else if (la.kind == 55) { + } else if (la.kind == 57) { AggregateQueryOperator( -#line 2096 "VBNET.ATG" +#line 2098 "VBNET.ATG" out aggregateClause); -#line 2097 "VBNET.ATG" +#line 2099 "VBNET.ATG" middleClauses.Add(aggregateClause); - } else if (la.kind == 193) { + } else if (la.kind == 195) { SelectQueryOperator( -#line 2098 "VBNET.ATG" +#line 2100 "VBNET.ATG" middleClauses); - } else if (la.kind == 104) { + } else if (la.kind == 106) { DistinctQueryOperator( -#line 2099 "VBNET.ATG" +#line 2101 "VBNET.ATG" middleClauses); - } else if (la.kind == 226) { + } else if (la.kind == 228) { WhereQueryOperator( -#line 2100 "VBNET.ATG" +#line 2102 "VBNET.ATG" middleClauses); - } else if (la.kind == 173) { + } else if (la.kind == 175) { OrderByQueryOperator( -#line 2101 "VBNET.ATG" +#line 2103 "VBNET.ATG" middleClauses); - } else if (la.kind == 199 || la.kind == 208) { + } else if (la.kind == 201 || la.kind == 210) { PartitionQueryOperator( -#line 2102 "VBNET.ATG" +#line 2104 "VBNET.ATG" out partitionClause); -#line 2103 "VBNET.ATG" +#line 2105 "VBNET.ATG" middleClauses.Add(partitionClause); - } else if (la.kind == 145) { + } else if (la.kind == 147) { LetQueryOperator( -#line 2104 "VBNET.ATG" +#line 2106 "VBNET.ATG" middleClauses); - } else if (la.kind == 143) { + } else if (la.kind == 145) { JoinQueryOperator( -#line 2105 "VBNET.ATG" +#line 2107 "VBNET.ATG" out joinClause); -#line 2106 "VBNET.ATG" +#line 2108 "VBNET.ATG" middleClauses.Add(joinClause); } else if ( -#line 2107 "VBNET.ATG" +#line 2109 "VBNET.ATG" la.kind == Tokens.Group && Peek(1).kind == Tokens.Join) { GroupJoinQueryOperator( -#line 2107 "VBNET.ATG" +#line 2109 "VBNET.ATG" out groupJoinClause); -#line 2108 "VBNET.ATG" +#line 2110 "VBNET.ATG" middleClauses.Add(groupJoinClause); - } else if (la.kind == 130) { + } else if (la.kind == 132) { GroupByQueryOperator( -#line 2109 "VBNET.ATG" +#line 2111 "VBNET.ATG" out groupByClause); -#line 2110 "VBNET.ATG" +#line 2112 "VBNET.ATG" middleClauses.Add(groupByClause); - } else SynErr(277); + } else SynErr(279); } void FromQueryOperator( -#line 2185 "VBNET.ATG" +#line 2187 "VBNET.ATG" out QueryExpressionFromClause fromClause) { -#line 2187 "VBNET.ATG" +#line 2189 "VBNET.ATG" fromClause = new QueryExpressionFromClause(); fromClause.StartLocation = la.Location; - Expect(123); + Expect(125); CollectionRangeVariableDeclarationList( -#line 2190 "VBNET.ATG" +#line 2192 "VBNET.ATG" fromClause.Sources); -#line 2192 "VBNET.ATG" +#line 2194 "VBNET.ATG" fromClause.EndLocation = t.EndLocation; } void AggregateQueryOperator( -#line 2254 "VBNET.ATG" +#line 2256 "VBNET.ATG" out QueryExpressionAggregateClause aggregateClause) { -#line 2256 "VBNET.ATG" +#line 2258 "VBNET.ATG" aggregateClause = new QueryExpressionAggregateClause(); aggregateClause.IntoVariables = new List(); aggregateClause.StartLocation = la.Location; CollectionRangeVariable source; - Expect(55); + Expect(57); CollectionRangeVariableDeclaration( -#line 2261 "VBNET.ATG" +#line 2263 "VBNET.ATG" out source); -#line 2263 "VBNET.ATG" +#line 2265 "VBNET.ATG" aggregateClause.Source = source; while (StartOf(30)) { QueryOperator( -#line 2266 "VBNET.ATG" +#line 2268 "VBNET.ATG" aggregateClause.MiddleClauses); } - Expect(140); + Expect(142); ExpressionRangeVariableDeclarationList( -#line 2268 "VBNET.ATG" +#line 2270 "VBNET.ATG" aggregateClause.IntoVariables); -#line 2270 "VBNET.ATG" +#line 2272 "VBNET.ATG" aggregateClause.EndLocation = t.EndLocation; } void SelectQueryOperator( -#line 2196 "VBNET.ATG" +#line 2198 "VBNET.ATG" List middleClauses) { -#line 2198 "VBNET.ATG" +#line 2200 "VBNET.ATG" QueryExpressionSelectVBClause selectClause = new QueryExpressionSelectVBClause(); selectClause.StartLocation = la.Location; - Expect(193); + Expect(195); ExpressionRangeVariableDeclarationList( -#line 2201 "VBNET.ATG" +#line 2203 "VBNET.ATG" selectClause.Variables); -#line 2203 "VBNET.ATG" +#line 2205 "VBNET.ATG" selectClause.EndLocation = t.Location; middleClauses.Add(selectClause); } void DistinctQueryOperator( -#line 2208 "VBNET.ATG" +#line 2210 "VBNET.ATG" List middleClauses) { -#line 2210 "VBNET.ATG" +#line 2212 "VBNET.ATG" QueryExpressionDistinctClause distinctClause = new QueryExpressionDistinctClause(); distinctClause.StartLocation = la.Location; - Expect(104); + Expect(106); -#line 2215 "VBNET.ATG" +#line 2217 "VBNET.ATG" distinctClause.EndLocation = t.EndLocation; middleClauses.Add(distinctClause); } void WhereQueryOperator( -#line 2220 "VBNET.ATG" +#line 2222 "VBNET.ATG" List middleClauses) { -#line 2222 "VBNET.ATG" +#line 2224 "VBNET.ATG" QueryExpressionWhereClause whereClause = new QueryExpressionWhereClause(); whereClause.StartLocation = la.Location; Expression operand = null; - Expect(226); + Expect(228); Expr( -#line 2226 "VBNET.ATG" +#line 2228 "VBNET.ATG" out operand); -#line 2228 "VBNET.ATG" +#line 2230 "VBNET.ATG" whereClause.Condition = operand; whereClause.EndLocation = t.EndLocation; @@ -5172,21 +5172,21 @@ out operand); } void OrderByQueryOperator( -#line 2113 "VBNET.ATG" +#line 2115 "VBNET.ATG" List middleClauses) { -#line 2115 "VBNET.ATG" +#line 2117 "VBNET.ATG" QueryExpressionOrderClause orderClause = new QueryExpressionOrderClause(); orderClause.StartLocation = la.Location; List orderings = null; - Expect(173); - Expect(67); + Expect(175); + Expect(69); OrderExpressionList( -#line 2119 "VBNET.ATG" +#line 2121 "VBNET.ATG" out orderings); -#line 2121 "VBNET.ATG" +#line 2123 "VBNET.ATG" orderClause.Orderings = orderings; orderClause.EndLocation = t.EndLocation; middleClauses.Add(orderClause); @@ -5194,71 +5194,71 @@ out orderings); } void PartitionQueryOperator( -#line 2235 "VBNET.ATG" +#line 2237 "VBNET.ATG" out QueryExpressionPartitionVBClause partitionClause) { -#line 2237 "VBNET.ATG" +#line 2239 "VBNET.ATG" partitionClause = new QueryExpressionPartitionVBClause(); partitionClause.StartLocation = la.Location; Expression expr = null; - if (la.kind == 208) { + if (la.kind == 210) { lexer.NextToken(); -#line 2242 "VBNET.ATG" +#line 2244 "VBNET.ATG" partitionClause.PartitionType = QueryExpressionPartitionType.Take; - if (la.kind == 227) { + if (la.kind == 229) { lexer.NextToken(); -#line 2243 "VBNET.ATG" +#line 2245 "VBNET.ATG" partitionClause.PartitionType = QueryExpressionPartitionType.TakeWhile; } - } else if (la.kind == 199) { + } else if (la.kind == 201) { lexer.NextToken(); -#line 2244 "VBNET.ATG" +#line 2246 "VBNET.ATG" partitionClause.PartitionType = QueryExpressionPartitionType.Skip; - if (la.kind == 227) { + if (la.kind == 229) { lexer.NextToken(); -#line 2245 "VBNET.ATG" +#line 2247 "VBNET.ATG" partitionClause.PartitionType = QueryExpressionPartitionType.SkipWhile; } - } else SynErr(278); + } else SynErr(280); Expr( -#line 2247 "VBNET.ATG" +#line 2249 "VBNET.ATG" out expr); -#line 2249 "VBNET.ATG" +#line 2251 "VBNET.ATG" partitionClause.Expression = expr; partitionClause.EndLocation = t.EndLocation; } void LetQueryOperator( -#line 2274 "VBNET.ATG" +#line 2276 "VBNET.ATG" List middleClauses) { -#line 2276 "VBNET.ATG" +#line 2278 "VBNET.ATG" QueryExpressionLetVBClause letClause = new QueryExpressionLetVBClause(); letClause.StartLocation = la.Location; - Expect(145); + Expect(147); ExpressionRangeVariableDeclarationList( -#line 2279 "VBNET.ATG" +#line 2281 "VBNET.ATG" letClause.Variables); -#line 2281 "VBNET.ATG" +#line 2283 "VBNET.ATG" letClause.EndLocation = t.EndLocation; middleClauses.Add(letClause); } void JoinQueryOperator( -#line 2318 "VBNET.ATG" +#line 2320 "VBNET.ATG" out QueryExpressionJoinVBClause joinClause) { -#line 2320 "VBNET.ATG" +#line 2322 "VBNET.ATG" joinClause = new QueryExpressionJoinVBClause(); joinClause.StartLocation = la.Location; CollectionRangeVariable joinVariable = null; @@ -5266,205 +5266,205 @@ out QueryExpressionJoinVBClause joinClause) { QueryExpressionJoinConditionVB condition = null; - Expect(143); + Expect(145); CollectionRangeVariableDeclaration( -#line 2327 "VBNET.ATG" +#line 2329 "VBNET.ATG" out joinVariable); -#line 2328 "VBNET.ATG" +#line 2330 "VBNET.ATG" joinClause.JoinVariable = joinVariable; - if (la.kind == 143) { + if (la.kind == 145) { JoinQueryOperator( -#line 2330 "VBNET.ATG" +#line 2332 "VBNET.ATG" out subJoin); -#line 2331 "VBNET.ATG" +#line 2333 "VBNET.ATG" joinClause.SubJoin = subJoin; } - Expect(168); + Expect(170); JoinCondition( -#line 2334 "VBNET.ATG" +#line 2336 "VBNET.ATG" out condition); -#line 2335 "VBNET.ATG" +#line 2337 "VBNET.ATG" SafeAdd(joinClause, joinClause.Conditions, condition); - while (la.kind == 57) { + while (la.kind == 59) { lexer.NextToken(); JoinCondition( -#line 2337 "VBNET.ATG" +#line 2339 "VBNET.ATG" out condition); -#line 2338 "VBNET.ATG" +#line 2340 "VBNET.ATG" SafeAdd(joinClause, joinClause.Conditions, condition); } -#line 2341 "VBNET.ATG" +#line 2343 "VBNET.ATG" joinClause.EndLocation = t.EndLocation; } void GroupJoinQueryOperator( -#line 2171 "VBNET.ATG" +#line 2173 "VBNET.ATG" out QueryExpressionGroupJoinVBClause groupJoinClause) { -#line 2173 "VBNET.ATG" +#line 2175 "VBNET.ATG" groupJoinClause = new QueryExpressionGroupJoinVBClause(); groupJoinClause.StartLocation = la.Location; QueryExpressionJoinVBClause joinClause = null; - Expect(130); + Expect(132); JoinQueryOperator( -#line 2177 "VBNET.ATG" +#line 2179 "VBNET.ATG" out joinClause); - Expect(140); + Expect(142); ExpressionRangeVariableDeclarationList( -#line 2178 "VBNET.ATG" +#line 2180 "VBNET.ATG" groupJoinClause.IntoVariables); -#line 2180 "VBNET.ATG" +#line 2182 "VBNET.ATG" groupJoinClause.JoinClause = joinClause; groupJoinClause.EndLocation = t.EndLocation; } void GroupByQueryOperator( -#line 2158 "VBNET.ATG" +#line 2160 "VBNET.ATG" out QueryExpressionGroupVBClause groupByClause) { -#line 2160 "VBNET.ATG" +#line 2162 "VBNET.ATG" groupByClause = new QueryExpressionGroupVBClause(); groupByClause.StartLocation = la.Location; - Expect(130); + Expect(132); ExpressionRangeVariableDeclarationList( -#line 2163 "VBNET.ATG" +#line 2165 "VBNET.ATG" groupByClause.GroupVariables); - Expect(67); + Expect(69); ExpressionRangeVariableDeclarationList( -#line 2164 "VBNET.ATG" +#line 2166 "VBNET.ATG" groupByClause.ByVariables); - Expect(140); + Expect(142); ExpressionRangeVariableDeclarationList( -#line 2165 "VBNET.ATG" +#line 2167 "VBNET.ATG" groupByClause.IntoVariables); -#line 2167 "VBNET.ATG" +#line 2169 "VBNET.ATG" groupByClause.EndLocation = t.EndLocation; } void OrderExpressionList( -#line 2127 "VBNET.ATG" +#line 2129 "VBNET.ATG" out List orderings) { -#line 2129 "VBNET.ATG" +#line 2131 "VBNET.ATG" orderings = new List(); QueryExpressionOrdering ordering = null; OrderExpression( -#line 2132 "VBNET.ATG" +#line 2134 "VBNET.ATG" out ordering); -#line 2133 "VBNET.ATG" +#line 2135 "VBNET.ATG" orderings.Add(ordering); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); OrderExpression( -#line 2135 "VBNET.ATG" +#line 2137 "VBNET.ATG" out ordering); -#line 2136 "VBNET.ATG" +#line 2138 "VBNET.ATG" orderings.Add(ordering); } } void OrderExpression( -#line 2140 "VBNET.ATG" +#line 2142 "VBNET.ATG" out QueryExpressionOrdering ordering) { -#line 2142 "VBNET.ATG" +#line 2144 "VBNET.ATG" ordering = new QueryExpressionOrdering(); ordering.StartLocation = la.Location; ordering.Direction = QueryExpressionOrderingDirection.None; Expression orderExpr = null; Expr( -#line 2147 "VBNET.ATG" +#line 2149 "VBNET.ATG" out orderExpr); -#line 2149 "VBNET.ATG" +#line 2151 "VBNET.ATG" ordering.Criteria = orderExpr; - if (la.kind == 61 || la.kind == 101) { - if (la.kind == 61) { + if (la.kind == 63 || la.kind == 103) { + if (la.kind == 63) { lexer.NextToken(); -#line 2152 "VBNET.ATG" +#line 2154 "VBNET.ATG" ordering.Direction = QueryExpressionOrderingDirection.Ascending; } else { lexer.NextToken(); -#line 2153 "VBNET.ATG" +#line 2155 "VBNET.ATG" ordering.Direction = QueryExpressionOrderingDirection.Descending; } } -#line 2155 "VBNET.ATG" +#line 2157 "VBNET.ATG" ordering.EndLocation = t.EndLocation; } void ExpressionRangeVariableDeclarationList( -#line 2286 "VBNET.ATG" +#line 2288 "VBNET.ATG" List variables) { -#line 2288 "VBNET.ATG" +#line 2290 "VBNET.ATG" ExpressionRangeVariable variable = null; ExpressionRangeVariableDeclaration( -#line 2290 "VBNET.ATG" +#line 2292 "VBNET.ATG" out variable); -#line 2291 "VBNET.ATG" +#line 2293 "VBNET.ATG" variables.Add(variable); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); ExpressionRangeVariableDeclaration( -#line 2292 "VBNET.ATG" +#line 2294 "VBNET.ATG" out variable); -#line 2292 "VBNET.ATG" +#line 2294 "VBNET.ATG" variables.Add(variable); } } void CollectionRangeVariableDeclarationList( -#line 2345 "VBNET.ATG" +#line 2347 "VBNET.ATG" List rangeVariables) { -#line 2346 "VBNET.ATG" +#line 2348 "VBNET.ATG" CollectionRangeVariable variableDeclaration; CollectionRangeVariableDeclaration( -#line 2348 "VBNET.ATG" +#line 2350 "VBNET.ATG" out variableDeclaration); -#line 2349 "VBNET.ATG" +#line 2351 "VBNET.ATG" rangeVariables.Add(variableDeclaration); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); CollectionRangeVariableDeclaration( -#line 2350 "VBNET.ATG" +#line 2352 "VBNET.ATG" out variableDeclaration); -#line 2350 "VBNET.ATG" +#line 2352 "VBNET.ATG" rangeVariables.Add(variableDeclaration); } } void CollectionRangeVariableDeclaration( -#line 2353 "VBNET.ATG" +#line 2355 "VBNET.ATG" out CollectionRangeVariable rangeVariable) { -#line 2355 "VBNET.ATG" +#line 2357 "VBNET.ATG" rangeVariable = new CollectionRangeVariable(); rangeVariable.StartLocation = la.Location; TypeReference typeName = null; @@ -5472,71 +5472,71 @@ out CollectionRangeVariable rangeVariable) { Identifier(); -#line 2360 "VBNET.ATG" +#line 2362 "VBNET.ATG" rangeVariable.Identifier = t.val; - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 2361 "VBNET.ATG" +#line 2363 "VBNET.ATG" out typeName); -#line 2361 "VBNET.ATG" +#line 2363 "VBNET.ATG" rangeVariable.Type = typeName; } - Expect(135); + Expect(137); Expr( -#line 2362 "VBNET.ATG" +#line 2364 "VBNET.ATG" out inExpr); -#line 2364 "VBNET.ATG" +#line 2366 "VBNET.ATG" rangeVariable.Expression = inExpr; rangeVariable.EndLocation = t.EndLocation; } void ExpressionRangeVariableDeclaration( -#line 2295 "VBNET.ATG" +#line 2297 "VBNET.ATG" out ExpressionRangeVariable variable) { -#line 2297 "VBNET.ATG" +#line 2299 "VBNET.ATG" variable = new ExpressionRangeVariable(); variable.StartLocation = la.Location; Expression rhs = null; TypeReference typeName = null; if ( -#line 2303 "VBNET.ATG" +#line 2305 "VBNET.ATG" IsIdentifiedExpressionRange()) { Identifier(); -#line 2304 "VBNET.ATG" +#line 2306 "VBNET.ATG" variable.Identifier = t.val; - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 2306 "VBNET.ATG" +#line 2308 "VBNET.ATG" out typeName); -#line 2307 "VBNET.ATG" +#line 2309 "VBNET.ATG" variable.Type = typeName; } - Expect(19); + Expect(21); } Expr( -#line 2311 "VBNET.ATG" +#line 2313 "VBNET.ATG" out rhs); -#line 2313 "VBNET.ATG" +#line 2315 "VBNET.ATG" variable.Expression = rhs; variable.EndLocation = t.EndLocation; } void JoinCondition( -#line 2369 "VBNET.ATG" +#line 2371 "VBNET.ATG" out QueryExpressionJoinConditionVB condition) { -#line 2371 "VBNET.ATG" +#line 2373 "VBNET.ATG" condition = new QueryExpressionJoinConditionVB(); condition.StartLocation = la.Location; @@ -5544,14 +5544,14 @@ out QueryExpressionJoinConditionVB condition) { Expression rhs = null; Expr( -#line 2377 "VBNET.ATG" +#line 2379 "VBNET.ATG" out lhs); - Expect(113); + Expect(115); Expr( -#line 2377 "VBNET.ATG" +#line 2379 "VBNET.ATG" out rhs); -#line 2379 "VBNET.ATG" +#line 2381 "VBNET.ATG" condition.LeftSide = lhs; condition.RightSide = rhs; condition.EndLocation = t.EndLocation; @@ -5559,193 +5559,193 @@ out rhs); } void Argument( -#line 2443 "VBNET.ATG" +#line 2445 "VBNET.ATG" out Expression argumentexpr) { -#line 2445 "VBNET.ATG" +#line 2447 "VBNET.ATG" Expression expr; argumentexpr = null; string name; if ( -#line 2449 "VBNET.ATG" +#line 2451 "VBNET.ATG" IsNamedAssign()) { Identifier(); -#line 2449 "VBNET.ATG" +#line 2451 "VBNET.ATG" name = t.val; - Expect(52); + Expect(54); Expr( -#line 2449 "VBNET.ATG" +#line 2451 "VBNET.ATG" out expr); -#line 2451 "VBNET.ATG" +#line 2453 "VBNET.ATG" argumentexpr = new NamedArgumentExpression(name, expr); } else if (StartOf(29)) { Expr( -#line 2454 "VBNET.ATG" +#line 2456 "VBNET.ATG" out argumentexpr); - } else SynErr(279); + } else SynErr(281); } void QualIdentAndTypeArguments( -#line 2520 "VBNET.ATG" +#line 2522 "VBNET.ATG" out TypeReference typeref, bool canBeUnbound) { -#line 2521 "VBNET.ATG" +#line 2523 "VBNET.ATG" string name; typeref = null; Qualident( -#line 2523 "VBNET.ATG" +#line 2525 "VBNET.ATG" out name); -#line 2524 "VBNET.ATG" +#line 2526 "VBNET.ATG" typeref = new TypeReference(name); if ( -#line 2525 "VBNET.ATG" +#line 2527 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { lexer.NextToken(); - Expect(166); + Expect(168); if ( -#line 2527 "VBNET.ATG" +#line 2529 "VBNET.ATG" canBeUnbound && (la.kind == Tokens.CloseParenthesis || la.kind == Tokens.Comma)) { -#line 2528 "VBNET.ATG" +#line 2530 "VBNET.ATG" typeref.GenericTypes.Add(NullTypeReference.Instance); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); -#line 2529 "VBNET.ATG" +#line 2531 "VBNET.ATG" typeref.GenericTypes.Add(NullTypeReference.Instance); } } else if (StartOf(8)) { TypeArgumentList( -#line 2530 "VBNET.ATG" +#line 2532 "VBNET.ATG" typeref.GenericTypes); - } else SynErr(280); - Expect(35); + } else SynErr(282); + Expect(37); } } void RankList( -#line 2567 "VBNET.ATG" +#line 2569 "VBNET.ATG" out int i) { -#line 2568 "VBNET.ATG" +#line 2570 "VBNET.ATG" i = 0; - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); -#line 2569 "VBNET.ATG" +#line 2571 "VBNET.ATG" ++i; } } void Attribute( -#line 2608 "VBNET.ATG" +#line 2610 "VBNET.ATG" out ASTAttribute attribute) { -#line 2609 "VBNET.ATG" +#line 2611 "VBNET.ATG" string name; List positional = new List(); List named = new List(); - if (la.kind == 127) { + if (la.kind == 129) { lexer.NextToken(); - Expect(25); + Expect(27); } Qualident( -#line 2614 "VBNET.ATG" +#line 2616 "VBNET.ATG" out name); - if (la.kind == 34) { + if (la.kind == 36) { AttributeArguments( -#line 2615 "VBNET.ATG" +#line 2617 "VBNET.ATG" positional, named); } -#line 2617 "VBNET.ATG" +#line 2619 "VBNET.ATG" attribute = new ASTAttribute(name, positional, named); } void AttributeArguments( -#line 2622 "VBNET.ATG" +#line 2624 "VBNET.ATG" List positional, List named) { -#line 2624 "VBNET.ATG" +#line 2626 "VBNET.ATG" bool nameFound = false; string name = ""; Expression expr; - Expect(34); + Expect(36); if ( -#line 2630 "VBNET.ATG" +#line 2632 "VBNET.ATG" IsNotClosingParenthesis()) { if ( -#line 2632 "VBNET.ATG" +#line 2634 "VBNET.ATG" IsNamedAssign()) { -#line 2632 "VBNET.ATG" +#line 2634 "VBNET.ATG" nameFound = true; IdentifierOrKeyword( -#line 2633 "VBNET.ATG" +#line 2635 "VBNET.ATG" out name); - if (la.kind == 52) { + if (la.kind == 54) { lexer.NextToken(); - } else if (la.kind == 19) { + } else if (la.kind == 21) { lexer.NextToken(); - } else SynErr(281); + } else SynErr(283); } Expr( -#line 2635 "VBNET.ATG" +#line 2637 "VBNET.ATG" out expr); -#line 2637 "VBNET.ATG" +#line 2639 "VBNET.ATG" if (expr != null) { if (string.IsNullOrEmpty(name)) { positional.Add(expr); } else { named.Add(new NamedArgumentExpression(name, expr)); name = ""; } } - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); if ( -#line 2645 "VBNET.ATG" +#line 2647 "VBNET.ATG" IsNamedAssign()) { -#line 2645 "VBNET.ATG" +#line 2647 "VBNET.ATG" nameFound = true; IdentifierOrKeyword( -#line 2646 "VBNET.ATG" +#line 2648 "VBNET.ATG" out name); - if (la.kind == 52) { + if (la.kind == 54) { lexer.NextToken(); - } else if (la.kind == 19) { + } else if (la.kind == 21) { lexer.NextToken(); - } else SynErr(282); + } else SynErr(284); } else if (StartOf(29)) { -#line 2648 "VBNET.ATG" +#line 2650 "VBNET.ATG" if (nameFound) Error("no positional argument after named argument"); - } else SynErr(283); + } else SynErr(285); Expr( -#line 2649 "VBNET.ATG" +#line 2651 "VBNET.ATG" out expr); -#line 2649 "VBNET.ATG" +#line 2651 "VBNET.ATG" if (expr != null) { if(name == "") positional.Add(expr); else { named.Add(new NamedArgumentExpression(name, expr)); name = ""; } } } } - Expect(35); + Expect(37); } void FormalParameter( -#line 2706 "VBNET.ATG" +#line 2708 "VBNET.ATG" out ParameterDeclarationExpression p) { -#line 2708 "VBNET.ATG" +#line 2710 "VBNET.ATG" AttributeSection section; List attributes = new List(); TypeReference type = null; @@ -5754,38 +5754,38 @@ out ParameterDeclarationExpression p) { p = null; ArrayList arrayModifiers = null; - while (la.kind == 37) { + while (la.kind == 39) { AttributeSection( -#line 2717 "VBNET.ATG" +#line 2719 "VBNET.ATG" out section); -#line 2717 "VBNET.ATG" +#line 2719 "VBNET.ATG" attributes.Add(section); } while (StartOf(34)) { ParameterModifier( -#line 2718 "VBNET.ATG" +#line 2720 "VBNET.ATG" mod); } Identifier(); -#line 2719 "VBNET.ATG" +#line 2721 "VBNET.ATG" string parameterName = t.val; if ( -#line 2720 "VBNET.ATG" +#line 2722 "VBNET.ATG" IsDims()) { ArrayTypeModifiers( -#line 2720 "VBNET.ATG" +#line 2722 "VBNET.ATG" out arrayModifiers); } - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 2721 "VBNET.ATG" +#line 2723 "VBNET.ATG" out type); } -#line 2723 "VBNET.ATG" +#line 2725 "VBNET.ATG" if(type != null) { if (arrayModifiers != null) { if (type.RankSpecifier != null) { @@ -5798,14 +5798,14 @@ out type); type = new TypeReference("System.Object", arrayModifiers == null ? null : (int[])arrayModifiers.ToArray(typeof(int))); } - if (la.kind == 19) { + if (la.kind == 21) { lexer.NextToken(); Expr( -#line 2735 "VBNET.ATG" +#line 2737 "VBNET.ATG" out expr); } -#line 2737 "VBNET.ATG" +#line 2739 "VBNET.ATG" mod.Check(); p = new ParameterDeclarationExpression(type, parameterName, mod.Modifier, expr); p.Attributes = attributes; @@ -5813,62 +5813,62 @@ out expr); } void ParameterModifier( -#line 3419 "VBNET.ATG" +#line 3421 "VBNET.ATG" ParamModifierList m) { - if (la.kind == 69) { + if (la.kind == 71) { lexer.NextToken(); -#line 3420 "VBNET.ATG" +#line 3422 "VBNET.ATG" m.Add(ParameterModifiers.In); - } else if (la.kind == 66) { + } else if (la.kind == 68) { lexer.NextToken(); -#line 3421 "VBNET.ATG" +#line 3423 "VBNET.ATG" m.Add(ParameterModifiers.Ref); - } else if (la.kind == 171) { + } else if (la.kind == 173) { lexer.NextToken(); -#line 3422 "VBNET.ATG" +#line 3424 "VBNET.ATG" m.Add(ParameterModifiers.Optional); - } else if (la.kind == 178) { + } else if (la.kind == 180) { lexer.NextToken(); -#line 3423 "VBNET.ATG" +#line 3425 "VBNET.ATG" m.Add(ParameterModifiers.Params); - } else SynErr(284); + } else SynErr(286); } void Statement() { -#line 2766 "VBNET.ATG" +#line 2768 "VBNET.ATG" Statement stmt = null; Location startPos = la.Location; string label = String.Empty; - if (la.kind == 1 || la.kind == 20) { + if (la.kind == 1 || la.kind == 22) { } else if ( -#line 2772 "VBNET.ATG" +#line 2774 "VBNET.ATG" IsLabel()) { LabelName( -#line 2772 "VBNET.ATG" +#line 2774 "VBNET.ATG" out label); -#line 2774 "VBNET.ATG" +#line 2776 "VBNET.ATG" compilationUnit.AddChild(new LabelStatement(t.val)); - Expect(20); + Expect(22); Statement(); } else if (StartOf(35)) { EmbeddedStatement( -#line 2777 "VBNET.ATG" +#line 2779 "VBNET.ATG" out stmt); -#line 2777 "VBNET.ATG" +#line 2779 "VBNET.ATG" compilationUnit.AddChild(stmt); - } else SynErr(285); + } else SynErr(287); -#line 2780 "VBNET.ATG" +#line 2782 "VBNET.ATG" if (stmt != null) { stmt.StartLocation = startPos; stmt.EndLocation = t.Location; @@ -5877,311 +5877,311 @@ out stmt); } void LabelName( -#line 3195 "VBNET.ATG" +#line 3197 "VBNET.ATG" out string name) { -#line 3197 "VBNET.ATG" +#line 3199 "VBNET.ATG" name = String.Empty; if (StartOf(4)) { Identifier(); -#line 3199 "VBNET.ATG" +#line 3201 "VBNET.ATG" name = t.val; } else if (la.kind == 5) { lexer.NextToken(); -#line 3200 "VBNET.ATG" +#line 3202 "VBNET.ATG" name = t.val; - } else SynErr(286); + } else SynErr(288); } void EmbeddedStatement( -#line 2819 "VBNET.ATG" +#line 2821 "VBNET.ATG" out Statement statement) { -#line 2821 "VBNET.ATG" +#line 2823 "VBNET.ATG" Statement embeddedStatement = null; statement = null; Expression expr = null; string name = String.Empty; List p = null; - if (la.kind == 117) { + if (la.kind == 119) { lexer.NextToken(); -#line 2827 "VBNET.ATG" +#line 2829 "VBNET.ATG" ExitType exitType = ExitType.None; switch (la.kind) { - case 206: { + case 208: { lexer.NextToken(); -#line 2829 "VBNET.ATG" +#line 2831 "VBNET.ATG" exitType = ExitType.Sub; break; } - case 124: { + case 126: { lexer.NextToken(); -#line 2831 "VBNET.ATG" +#line 2833 "VBNET.ATG" exitType = ExitType.Function; break; } - case 182: { + case 184: { lexer.NextToken(); -#line 2833 "VBNET.ATG" +#line 2835 "VBNET.ATG" exitType = ExitType.Property; break; } - case 105: { + case 107: { lexer.NextToken(); -#line 2835 "VBNET.ATG" +#line 2837 "VBNET.ATG" exitType = ExitType.Do; break; } - case 121: { + case 123: { lexer.NextToken(); -#line 2837 "VBNET.ATG" +#line 2839 "VBNET.ATG" exitType = ExitType.For; break; } - case 214: { + case 216: { lexer.NextToken(); -#line 2839 "VBNET.ATG" +#line 2841 "VBNET.ATG" exitType = ExitType.Try; break; } - case 227: { + case 229: { lexer.NextToken(); -#line 2841 "VBNET.ATG" +#line 2843 "VBNET.ATG" exitType = ExitType.While; break; } - case 193: { + case 195: { lexer.NextToken(); -#line 2843 "VBNET.ATG" +#line 2845 "VBNET.ATG" exitType = ExitType.Select; break; } - default: SynErr(287); break; + default: SynErr(289); break; } -#line 2845 "VBNET.ATG" +#line 2847 "VBNET.ATG" statement = new ExitStatement(exitType); - } else if (la.kind == 214) { + } else if (la.kind == 216) { TryStatement( -#line 2846 "VBNET.ATG" +#line 2848 "VBNET.ATG" out statement); - } else if (la.kind == 86) { + } else if (la.kind == 88) { lexer.NextToken(); -#line 2847 "VBNET.ATG" +#line 2849 "VBNET.ATG" ContinueType continueType = ContinueType.None; - if (la.kind == 105 || la.kind == 121 || la.kind == 227) { - if (la.kind == 105) { + if (la.kind == 107 || la.kind == 123 || la.kind == 229) { + if (la.kind == 107) { lexer.NextToken(); -#line 2847 "VBNET.ATG" +#line 2849 "VBNET.ATG" continueType = ContinueType.Do; - } else if (la.kind == 121) { + } else if (la.kind == 123) { lexer.NextToken(); -#line 2847 "VBNET.ATG" +#line 2849 "VBNET.ATG" continueType = ContinueType.For; } else { lexer.NextToken(); -#line 2847 "VBNET.ATG" +#line 2849 "VBNET.ATG" continueType = ContinueType.While; } } -#line 2847 "VBNET.ATG" +#line 2849 "VBNET.ATG" statement = new ContinueStatement(continueType); - } else if (la.kind == 211) { + } else if (la.kind == 213) { lexer.NextToken(); if (StartOf(29)) { Expr( -#line 2849 "VBNET.ATG" +#line 2851 "VBNET.ATG" out expr); } -#line 2849 "VBNET.ATG" +#line 2851 "VBNET.ATG" statement = new ThrowStatement(expr); - } else if (la.kind == 191) { + } else if (la.kind == 193) { lexer.NextToken(); if (StartOf(29)) { Expr( -#line 2851 "VBNET.ATG" +#line 2853 "VBNET.ATG" out expr); } -#line 2851 "VBNET.ATG" +#line 2853 "VBNET.ATG" statement = new ReturnStatement(expr); - } else if (la.kind == 207) { + } else if (la.kind == 209) { lexer.NextToken(); Expr( -#line 2853 "VBNET.ATG" +#line 2855 "VBNET.ATG" out expr); EndOfStmt(); Block( -#line 2853 "VBNET.ATG" +#line 2855 "VBNET.ATG" out embeddedStatement); - Expect(110); - Expect(207); + Expect(112); + Expect(209); -#line 2854 "VBNET.ATG" +#line 2856 "VBNET.ATG" statement = new LockStatement(expr, embeddedStatement); - } else if (la.kind == 185) { + } else if (la.kind == 187) { lexer.NextToken(); Identifier(); -#line 2856 "VBNET.ATG" +#line 2858 "VBNET.ATG" name = t.val; - if (la.kind == 34) { + if (la.kind == 36) { lexer.NextToken(); if (StartOf(36)) { ArgumentList( -#line 2857 "VBNET.ATG" +#line 2859 "VBNET.ATG" out p); } - Expect(35); + Expect(37); } -#line 2859 "VBNET.ATG" +#line 2861 "VBNET.ATG" statement = new RaiseEventStatement(name, p); - } else if (la.kind == 229) { + } else if (la.kind == 231) { WithStatement( -#line 2862 "VBNET.ATG" +#line 2864 "VBNET.ATG" out statement); - } else if (la.kind == 53) { + } else if (la.kind == 55) { lexer.NextToken(); -#line 2864 "VBNET.ATG" +#line 2866 "VBNET.ATG" Expression handlerExpr = null; Expr( -#line 2865 "VBNET.ATG" +#line 2867 "VBNET.ATG" out expr); - Expect(21); + Expect(23); Expr( -#line 2865 "VBNET.ATG" +#line 2867 "VBNET.ATG" out handlerExpr); -#line 2867 "VBNET.ATG" +#line 2869 "VBNET.ATG" statement = new AddHandlerStatement(expr, handlerExpr); - } else if (la.kind == 189) { + } else if (la.kind == 191) { lexer.NextToken(); -#line 2870 "VBNET.ATG" +#line 2872 "VBNET.ATG" Expression handlerExpr = null; Expr( -#line 2871 "VBNET.ATG" +#line 2873 "VBNET.ATG" out expr); - Expect(21); + Expect(23); Expr( -#line 2871 "VBNET.ATG" +#line 2873 "VBNET.ATG" out handlerExpr); -#line 2873 "VBNET.ATG" +#line 2875 "VBNET.ATG" statement = new RemoveHandlerStatement(expr, handlerExpr); - } else if (la.kind == 227) { + } else if (la.kind == 229) { lexer.NextToken(); Expr( -#line 2876 "VBNET.ATG" +#line 2878 "VBNET.ATG" out expr); EndOfStmt(); Block( -#line 2877 "VBNET.ATG" +#line 2879 "VBNET.ATG" out embeddedStatement); - Expect(110); - Expect(227); + Expect(112); + Expect(229); -#line 2879 "VBNET.ATG" +#line 2881 "VBNET.ATG" statement = new DoLoopStatement(expr, embeddedStatement, ConditionType.While, ConditionPosition.Start); - } else if (la.kind == 105) { + } else if (la.kind == 107) { lexer.NextToken(); -#line 2884 "VBNET.ATG" +#line 2886 "VBNET.ATG" ConditionType conditionType = ConditionType.None; - if (la.kind == 220 || la.kind == 227) { + if (la.kind == 222 || la.kind == 229) { WhileOrUntil( -#line 2887 "VBNET.ATG" +#line 2889 "VBNET.ATG" out conditionType); Expr( -#line 2887 "VBNET.ATG" +#line 2889 "VBNET.ATG" out expr); EndOfStmt(); Block( -#line 2888 "VBNET.ATG" +#line 2890 "VBNET.ATG" out embeddedStatement); - Expect(149); + Expect(151); -#line 2891 "VBNET.ATG" +#line 2893 "VBNET.ATG" statement = new DoLoopStatement(expr, embeddedStatement, conditionType == ConditionType.While ? ConditionType.DoWhile : conditionType, ConditionPosition.Start); - } else if (la.kind == 1 || la.kind == 20) { + } else if (la.kind == 1 || la.kind == 22) { EndOfStmt(); Block( -#line 2898 "VBNET.ATG" +#line 2900 "VBNET.ATG" out embeddedStatement); - Expect(149); - if (la.kind == 220 || la.kind == 227) { + Expect(151); + if (la.kind == 222 || la.kind == 229) { WhileOrUntil( -#line 2899 "VBNET.ATG" +#line 2901 "VBNET.ATG" out conditionType); Expr( -#line 2899 "VBNET.ATG" +#line 2901 "VBNET.ATG" out expr); } -#line 2901 "VBNET.ATG" +#line 2903 "VBNET.ATG" statement = new DoLoopStatement(expr, embeddedStatement, conditionType, ConditionPosition.End); - } else SynErr(288); - } else if (la.kind == 121) { + } else SynErr(290); + } else if (la.kind == 123) { lexer.NextToken(); -#line 2906 "VBNET.ATG" +#line 2908 "VBNET.ATG" Expression group = null; TypeReference typeReference; string typeName; Location startLocation = t.Location; - if (la.kind == 107) { + if (la.kind == 109) { lexer.NextToken(); LoopControlVariable( -#line 2913 "VBNET.ATG" +#line 2915 "VBNET.ATG" out typeReference, out typeName); - Expect(135); + Expect(137); Expr( -#line 2914 "VBNET.ATG" +#line 2916 "VBNET.ATG" out group); EndOfStmt(); Block( -#line 2915 "VBNET.ATG" +#line 2917 "VBNET.ATG" out embeddedStatement); - Expect(160); + Expect(162); if (StartOf(29)) { Expr( -#line 2916 "VBNET.ATG" +#line 2918 "VBNET.ATG" out expr); } -#line 2918 "VBNET.ATG" +#line 2920 "VBNET.ATG" statement = new ForeachStatement(typeReference, typeName, group, @@ -6193,7 +6193,7 @@ out expr); } else if (StartOf(37)) { -#line 2929 "VBNET.ATG" +#line 2931 "VBNET.ATG" Expression start = null; Expression end = null; Expression step = null; @@ -6202,59 +6202,59 @@ out expr); List nextExpressions = null; if ( -#line 2936 "VBNET.ATG" +#line 2938 "VBNET.ATG" IsLoopVariableDeclaration()) { LoopControlVariable( -#line 2937 "VBNET.ATG" +#line 2939 "VBNET.ATG" out typeReference, out typeName); } else { -#line 2939 "VBNET.ATG" +#line 2941 "VBNET.ATG" typeReference = null; typeName = null; SimpleExpr( -#line 2940 "VBNET.ATG" +#line 2942 "VBNET.ATG" out variableExpr); } - Expect(19); + Expect(21); Expr( -#line 2942 "VBNET.ATG" +#line 2944 "VBNET.ATG" out start); - Expect(212); + Expect(214); Expr( -#line 2942 "VBNET.ATG" +#line 2944 "VBNET.ATG" out end); - if (la.kind == 201) { + if (la.kind == 203) { lexer.NextToken(); Expr( -#line 2942 "VBNET.ATG" +#line 2944 "VBNET.ATG" out step); } EndOfStmt(); Block( -#line 2943 "VBNET.ATG" +#line 2945 "VBNET.ATG" out embeddedStatement); - Expect(160); + Expect(162); if (StartOf(29)) { Expr( -#line 2946 "VBNET.ATG" +#line 2948 "VBNET.ATG" out nextExpr); -#line 2948 "VBNET.ATG" +#line 2950 "VBNET.ATG" nextExpressions = new List(); nextExpressions.Add(nextExpr); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); Expr( -#line 2951 "VBNET.ATG" +#line 2953 "VBNET.ATG" out nextExpr); -#line 2951 "VBNET.ATG" +#line 2953 "VBNET.ATG" nextExpressions.Add(nextExpr); } } -#line 2954 "VBNET.ATG" +#line 2956 "VBNET.ATG" statement = new ForNextStatement { TypeReference = typeReference, VariableName = typeName, @@ -6266,127 +6266,127 @@ out nextExpr); NextExpressions = nextExpressions }; - } else SynErr(289); - } else if (la.kind == 115) { + } else SynErr(291); + } else if (la.kind == 117) { lexer.NextToken(); Expr( -#line 2967 "VBNET.ATG" +#line 2969 "VBNET.ATG" out expr); -#line 2967 "VBNET.ATG" +#line 2969 "VBNET.ATG" statement = new ErrorStatement(expr); - } else if (la.kind == 187) { + } else if (la.kind == 189) { lexer.NextToken(); -#line 2969 "VBNET.ATG" +#line 2971 "VBNET.ATG" bool isPreserve = false; - if (la.kind == 180) { + if (la.kind == 182) { lexer.NextToken(); -#line 2969 "VBNET.ATG" +#line 2971 "VBNET.ATG" isPreserve = true; } ReDimClause( -#line 2970 "VBNET.ATG" +#line 2972 "VBNET.ATG" out expr); -#line 2972 "VBNET.ATG" +#line 2974 "VBNET.ATG" ReDimStatement reDimStatement = new ReDimStatement(isPreserve); statement = reDimStatement; SafeAdd(reDimStatement, reDimStatement.ReDimClauses, expr as InvocationExpression); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); ReDimClause( -#line 2976 "VBNET.ATG" +#line 2978 "VBNET.ATG" out expr); -#line 2977 "VBNET.ATG" +#line 2979 "VBNET.ATG" SafeAdd(reDimStatement, reDimStatement.ReDimClauses, expr as InvocationExpression); } - } else if (la.kind == 114) { + } else if (la.kind == 116) { lexer.NextToken(); Expr( -#line 2981 "VBNET.ATG" +#line 2983 "VBNET.ATG" out expr); -#line 2983 "VBNET.ATG" +#line 2985 "VBNET.ATG" EraseStatement eraseStatement = new EraseStatement(); if (expr != null) { SafeAdd(eraseStatement, eraseStatement.Expressions, expr);} - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); Expr( -#line 2986 "VBNET.ATG" +#line 2988 "VBNET.ATG" out expr); -#line 2986 "VBNET.ATG" +#line 2988 "VBNET.ATG" if (expr != null) { SafeAdd(eraseStatement, eraseStatement.Expressions, expr); } } -#line 2987 "VBNET.ATG" +#line 2989 "VBNET.ATG" statement = eraseStatement; - } else if (la.kind == 202) { + } else if (la.kind == 204) { lexer.NextToken(); -#line 2989 "VBNET.ATG" +#line 2991 "VBNET.ATG" statement = new StopStatement(); } else if ( -#line 2991 "VBNET.ATG" +#line 2993 "VBNET.ATG" la.kind == Tokens.If) { - Expect(132); + Expect(134); -#line 2992 "VBNET.ATG" +#line 2994 "VBNET.ATG" Location ifStartLocation = t.Location; Expr( -#line 2992 "VBNET.ATG" +#line 2994 "VBNET.ATG" out expr); - if (la.kind == 210) { + if (la.kind == 212) { lexer.NextToken(); } - if (la.kind == 1 || la.kind == 20) { + if (la.kind == 1 || la.kind == 22) { EndOfStmt(); Block( -#line 2995 "VBNET.ATG" +#line 2997 "VBNET.ATG" out embeddedStatement); -#line 2997 "VBNET.ATG" +#line 2999 "VBNET.ATG" IfElseStatement ifStatement = new IfElseStatement(expr, embeddedStatement); ifStatement.StartLocation = ifStartLocation; Location elseIfStart; - while (la.kind == 109 || -#line 3003 "VBNET.ATG" + while (la.kind == 111 || +#line 3005 "VBNET.ATG" IsElseIf()) { if ( -#line 3003 "VBNET.ATG" +#line 3005 "VBNET.ATG" IsElseIf()) { - Expect(108); + Expect(110); -#line 3003 "VBNET.ATG" +#line 3005 "VBNET.ATG" elseIfStart = t.Location; - Expect(132); + Expect(134); } else { lexer.NextToken(); -#line 3004 "VBNET.ATG" +#line 3006 "VBNET.ATG" elseIfStart = t.Location; } -#line 3006 "VBNET.ATG" +#line 3008 "VBNET.ATG" Expression condition = null; Statement block = null; Expr( -#line 3007 "VBNET.ATG" +#line 3009 "VBNET.ATG" out condition); - if (la.kind == 210) { + if (la.kind == 212) { lexer.NextToken(); } EndOfStmt(); Block( -#line 3008 "VBNET.ATG" +#line 3010 "VBNET.ATG" out block); -#line 3010 "VBNET.ATG" +#line 3012 "VBNET.ATG" ElseIfSection elseIfSection = new ElseIfSection(condition, block); elseIfSection.StartLocation = elseIfStart; elseIfSection.EndLocation = t.Location; @@ -6394,129 +6394,129 @@ out block); ifStatement.ElseIfSections.Add(elseIfSection); } - if (la.kind == 108) { + if (la.kind == 110) { lexer.NextToken(); - if (la.kind == 1 || la.kind == 20) { + if (la.kind == 1 || la.kind == 22) { EndOfStmt(); } Block( -#line 3019 "VBNET.ATG" +#line 3021 "VBNET.ATG" out embeddedStatement); -#line 3021 "VBNET.ATG" +#line 3023 "VBNET.ATG" ifStatement.FalseStatement.Add(embeddedStatement); } - Expect(110); - Expect(132); + Expect(112); + Expect(134); -#line 3025 "VBNET.ATG" +#line 3027 "VBNET.ATG" ifStatement.EndLocation = t.Location; statement = ifStatement; } else if (StartOf(38)) { -#line 3030 "VBNET.ATG" +#line 3032 "VBNET.ATG" IfElseStatement ifStatement = new IfElseStatement(expr); ifStatement.StartLocation = ifStartLocation; SingleLineStatementList( -#line 3033 "VBNET.ATG" +#line 3035 "VBNET.ATG" ifStatement.TrueStatement); - if (la.kind == 108) { + if (la.kind == 110) { lexer.NextToken(); if (StartOf(38)) { SingleLineStatementList( -#line 3036 "VBNET.ATG" +#line 3038 "VBNET.ATG" ifStatement.FalseStatement); } } -#line 3038 "VBNET.ATG" +#line 3040 "VBNET.ATG" ifStatement.EndLocation = t.Location; statement = ifStatement; - } else SynErr(290); - } else if (la.kind == 193) { + } else SynErr(292); + } else if (la.kind == 195) { lexer.NextToken(); - if (la.kind == 71) { + if (la.kind == 73) { lexer.NextToken(); } Expr( -#line 3041 "VBNET.ATG" +#line 3043 "VBNET.ATG" out expr); EndOfStmt(); -#line 3042 "VBNET.ATG" +#line 3044 "VBNET.ATG" List selectSections = new List(); Statement block = null; - while (la.kind == 71) { + while (la.kind == 73) { -#line 3046 "VBNET.ATG" +#line 3048 "VBNET.ATG" List caseClauses = null; Location caseLocation = la.Location; lexer.NextToken(); CaseClauses( -#line 3047 "VBNET.ATG" +#line 3049 "VBNET.ATG" out caseClauses); if ( -#line 3047 "VBNET.ATG" +#line 3049 "VBNET.ATG" IsNotStatementSeparator()) { lexer.NextToken(); } EndOfStmt(); -#line 3049 "VBNET.ATG" +#line 3051 "VBNET.ATG" SwitchSection selectSection = new SwitchSection(caseClauses); selectSection.StartLocation = caseLocation; Block( -#line 3052 "VBNET.ATG" +#line 3054 "VBNET.ATG" out block); -#line 3054 "VBNET.ATG" +#line 3056 "VBNET.ATG" selectSection.Children = block.Children; selectSection.EndLocation = t.EndLocation; selectSections.Add(selectSection); } -#line 3060 "VBNET.ATG" +#line 3062 "VBNET.ATG" statement = new SwitchStatement(expr, selectSections); - Expect(110); - Expect(193); - } else if (la.kind == 168) { + Expect(112); + Expect(195); + } else if (la.kind == 170) { -#line 3063 "VBNET.ATG" +#line 3065 "VBNET.ATG" OnErrorStatement onErrorStatement = null; OnErrorStatement( -#line 3064 "VBNET.ATG" +#line 3066 "VBNET.ATG" out onErrorStatement); -#line 3064 "VBNET.ATG" +#line 3066 "VBNET.ATG" statement = onErrorStatement; - } else if (la.kind == 129) { + } else if (la.kind == 131) { -#line 3065 "VBNET.ATG" +#line 3067 "VBNET.ATG" GotoStatement goToStatement = null; GotoStatement( -#line 3066 "VBNET.ATG" +#line 3068 "VBNET.ATG" out goToStatement); -#line 3066 "VBNET.ATG" +#line 3068 "VBNET.ATG" statement = goToStatement; - } else if (la.kind == 190) { + } else if (la.kind == 192) { -#line 3067 "VBNET.ATG" +#line 3069 "VBNET.ATG" ResumeStatement resumeStatement = null; ResumeStatement( -#line 3068 "VBNET.ATG" +#line 3070 "VBNET.ATG" out resumeStatement); -#line 3068 "VBNET.ATG" +#line 3070 "VBNET.ATG" statement = resumeStatement; } else if (StartOf(37)) { -#line 3071 "VBNET.ATG" +#line 3073 "VBNET.ATG" Expression val = null; AssignmentOperatorType op; @@ -6524,25 +6524,25 @@ out resumeStatement); la.kind == Tokens.Not || la.kind == Tokens.Times; SimpleExpr( -#line 3077 "VBNET.ATG" +#line 3079 "VBNET.ATG" out expr); if (StartOf(39)) { AssignmentOperator( -#line 3079 "VBNET.ATG" +#line 3081 "VBNET.ATG" out op); Expr( -#line 3079 "VBNET.ATG" +#line 3081 "VBNET.ATG" out val); -#line 3079 "VBNET.ATG" +#line 3081 "VBNET.ATG" expr = new AssignmentExpression(expr, op, val); - } else if (la.kind == 1 || la.kind == 20 || la.kind == 108) { + } else if (la.kind == 1 || la.kind == 22 || la.kind == 110) { -#line 3080 "VBNET.ATG" +#line 3082 "VBNET.ATG" if (mustBeAssignment) Error("error in assignment."); - } else SynErr(291); + } else SynErr(293); -#line 3083 "VBNET.ATG" +#line 3085 "VBNET.ATG" // a field reference expression that stands alone is a // invocation expression without parantheses and arguments if(expr is MemberReferenceExpression || expr is IdentifierExpression) { @@ -6550,90 +6550,90 @@ out val); } statement = new ExpressionStatement(expr); - } else if (la.kind == 70) { + } else if (la.kind == 72) { lexer.NextToken(); SimpleExpr( -#line 3090 "VBNET.ATG" +#line 3092 "VBNET.ATG" out expr); -#line 3090 "VBNET.ATG" +#line 3092 "VBNET.ATG" statement = new ExpressionStatement(expr); - } else if (la.kind == 222) { + } else if (la.kind == 224) { lexer.NextToken(); -#line 3092 "VBNET.ATG" +#line 3094 "VBNET.ATG" Statement block; if ( -#line 3093 "VBNET.ATG" +#line 3095 "VBNET.ATG" Peek(1).kind == Tokens.As) { -#line 3094 "VBNET.ATG" +#line 3096 "VBNET.ATG" LocalVariableDeclaration resourceAquisition = new LocalVariableDeclaration(Modifiers.None); VariableDeclarator( -#line 3095 "VBNET.ATG" +#line 3097 "VBNET.ATG" resourceAquisition.Variables); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); VariableDeclarator( -#line 3097 "VBNET.ATG" +#line 3099 "VBNET.ATG" resourceAquisition.Variables); } Block( -#line 3099 "VBNET.ATG" +#line 3101 "VBNET.ATG" out block); -#line 3101 "VBNET.ATG" +#line 3103 "VBNET.ATG" statement = new UsingStatement(resourceAquisition, block); } else if (StartOf(29)) { Expr( -#line 3103 "VBNET.ATG" +#line 3105 "VBNET.ATG" out expr); Block( -#line 3104 "VBNET.ATG" +#line 3106 "VBNET.ATG" out block); -#line 3105 "VBNET.ATG" +#line 3107 "VBNET.ATG" statement = new UsingStatement(new ExpressionStatement(expr), block); - } else SynErr(292); - Expect(110); - Expect(222); + } else SynErr(294); + Expect(112); + Expect(224); } else if (StartOf(40)) { LocalDeclarationStatement( -#line 3108 "VBNET.ATG" +#line 3110 "VBNET.ATG" out statement); - } else SynErr(293); + } else SynErr(295); } void LocalDeclarationStatement( -#line 2788 "VBNET.ATG" +#line 2790 "VBNET.ATG" out Statement statement) { -#line 2790 "VBNET.ATG" +#line 2792 "VBNET.ATG" ModifierList m = new ModifierList(); LocalVariableDeclaration localVariableDeclaration; bool dimfound = false; - while (la.kind == 85 || la.kind == 102 || la.kind == 200) { - if (la.kind == 85) { + while (la.kind == 87 || la.kind == 104 || la.kind == 202) { + if (la.kind == 87) { lexer.NextToken(); -#line 2796 "VBNET.ATG" +#line 2798 "VBNET.ATG" m.Add(Modifiers.Const, t.Location); - } else if (la.kind == 200) { + } else if (la.kind == 202) { lexer.NextToken(); -#line 2797 "VBNET.ATG" +#line 2799 "VBNET.ATG" m.Add(Modifiers.Static, t.Location); } else { lexer.NextToken(); -#line 2798 "VBNET.ATG" +#line 2800 "VBNET.ATG" dimfound = true; } } -#line 2801 "VBNET.ATG" +#line 2803 "VBNET.ATG" if(dimfound && (m.Modifier & Modifiers.Const) != 0) { Error("Dim is not allowed on constants."); } @@ -6646,135 +6646,135 @@ out Statement statement) { localVariableDeclaration.StartLocation = t.Location; VariableDeclarator( -#line 2812 "VBNET.ATG" +#line 2814 "VBNET.ATG" localVariableDeclaration.Variables); - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); VariableDeclarator( -#line 2813 "VBNET.ATG" +#line 2815 "VBNET.ATG" localVariableDeclaration.Variables); } -#line 2815 "VBNET.ATG" +#line 2817 "VBNET.ATG" statement = localVariableDeclaration; } void TryStatement( -#line 3309 "VBNET.ATG" +#line 3311 "VBNET.ATG" out Statement tryStatement) { -#line 3311 "VBNET.ATG" +#line 3313 "VBNET.ATG" Statement blockStmt = null, finallyStmt = null;List catchClauses = null; - Expect(214); + Expect(216); EndOfStmt(); Block( -#line 3314 "VBNET.ATG" +#line 3316 "VBNET.ATG" out blockStmt); - if (la.kind == 72 || la.kind == 110 || la.kind == 120) { + if (la.kind == 74 || la.kind == 112 || la.kind == 122) { CatchClauses( -#line 3315 "VBNET.ATG" +#line 3317 "VBNET.ATG" out catchClauses); } - if (la.kind == 120) { + if (la.kind == 122) { lexer.NextToken(); EndOfStmt(); Block( -#line 3316 "VBNET.ATG" +#line 3318 "VBNET.ATG" out finallyStmt); } - Expect(110); - Expect(214); + Expect(112); + Expect(216); -#line 3319 "VBNET.ATG" +#line 3321 "VBNET.ATG" tryStatement = new TryCatchStatement(blockStmt, catchClauses, finallyStmt); } void WithStatement( -#line 3289 "VBNET.ATG" +#line 3291 "VBNET.ATG" out Statement withStatement) { -#line 3291 "VBNET.ATG" +#line 3293 "VBNET.ATG" Statement blockStmt = null; Expression expr = null; - Expect(229); + Expect(231); -#line 3294 "VBNET.ATG" +#line 3296 "VBNET.ATG" Location start = t.Location; Expr( -#line 3295 "VBNET.ATG" +#line 3297 "VBNET.ATG" out expr); EndOfStmt(); -#line 3297 "VBNET.ATG" +#line 3299 "VBNET.ATG" withStatement = new WithStatement(expr); withStatement.StartLocation = start; Block( -#line 3300 "VBNET.ATG" +#line 3302 "VBNET.ATG" out blockStmt); -#line 3302 "VBNET.ATG" +#line 3304 "VBNET.ATG" ((WithStatement)withStatement).Body = (BlockStatement)blockStmt; - Expect(110); - Expect(229); + Expect(112); + Expect(231); -#line 3305 "VBNET.ATG" +#line 3307 "VBNET.ATG" withStatement.EndLocation = t.Location; } void WhileOrUntil( -#line 3282 "VBNET.ATG" +#line 3284 "VBNET.ATG" out ConditionType conditionType) { -#line 3283 "VBNET.ATG" +#line 3285 "VBNET.ATG" conditionType = ConditionType.None; - if (la.kind == 227) { + if (la.kind == 229) { lexer.NextToken(); -#line 3284 "VBNET.ATG" +#line 3286 "VBNET.ATG" conditionType = ConditionType.While; - } else if (la.kind == 220) { + } else if (la.kind == 222) { lexer.NextToken(); -#line 3285 "VBNET.ATG" +#line 3287 "VBNET.ATG" conditionType = ConditionType.Until; - } else SynErr(294); + } else SynErr(296); } void LoopControlVariable( -#line 3125 "VBNET.ATG" +#line 3127 "VBNET.ATG" out TypeReference type, out string name) { -#line 3126 "VBNET.ATG" +#line 3128 "VBNET.ATG" ArrayList arrayModifiers = null; type = null; Qualident( -#line 3130 "VBNET.ATG" +#line 3132 "VBNET.ATG" out name); if ( -#line 3131 "VBNET.ATG" +#line 3133 "VBNET.ATG" IsDims()) { ArrayTypeModifiers( -#line 3131 "VBNET.ATG" +#line 3133 "VBNET.ATG" out arrayModifiers); } - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 3132 "VBNET.ATG" +#line 3134 "VBNET.ATG" out type); -#line 3132 "VBNET.ATG" +#line 3134 "VBNET.ATG" if (name.IndexOf('.') > 0) { Error("No type def for 'for each' member indexer allowed."); } } -#line 3134 "VBNET.ATG" +#line 3136 "VBNET.ATG" if (type != null) { if(type.RankSpecifier != null && arrayModifiers != null) { Error("array rank only allowed one time"); @@ -6786,111 +6786,111 @@ out type); } void ReDimClause( -#line 3204 "VBNET.ATG" +#line 3206 "VBNET.ATG" out Expression expr) { SimpleNonInvocationExpression( -#line 3206 "VBNET.ATG" +#line 3208 "VBNET.ATG" out expr); ReDimClauseInternal( -#line 3207 "VBNET.ATG" +#line 3209 "VBNET.ATG" ref expr); } void SingleLineStatementList( -#line 3111 "VBNET.ATG" +#line 3113 "VBNET.ATG" List list) { -#line 3112 "VBNET.ATG" +#line 3114 "VBNET.ATG" Statement embeddedStatement = null; - if (la.kind == 110) { + if (la.kind == 112) { lexer.NextToken(); -#line 3114 "VBNET.ATG" +#line 3116 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(35)) { EmbeddedStatement( -#line 3115 "VBNET.ATG" +#line 3117 "VBNET.ATG" out embeddedStatement); - } else SynErr(295); + } else SynErr(297); -#line 3116 "VBNET.ATG" +#line 3118 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); - while (la.kind == 20) { + while (la.kind == 22) { lexer.NextToken(); - while (la.kind == 20) { + while (la.kind == 22) { lexer.NextToken(); } - if (la.kind == 110) { + if (la.kind == 112) { lexer.NextToken(); -#line 3118 "VBNET.ATG" +#line 3120 "VBNET.ATG" embeddedStatement = new EndStatement(); } else if (StartOf(35)) { EmbeddedStatement( -#line 3119 "VBNET.ATG" +#line 3121 "VBNET.ATG" out embeddedStatement); - } else SynErr(296); + } else SynErr(298); -#line 3120 "VBNET.ATG" +#line 3122 "VBNET.ATG" if (embeddedStatement != null) list.Add(embeddedStatement); } } void CaseClauses( -#line 3242 "VBNET.ATG" +#line 3244 "VBNET.ATG" out List caseClauses) { -#line 3244 "VBNET.ATG" +#line 3246 "VBNET.ATG" caseClauses = new List(); CaseLabel caseClause = null; CaseClause( -#line 3247 "VBNET.ATG" +#line 3249 "VBNET.ATG" out caseClause); -#line 3247 "VBNET.ATG" +#line 3249 "VBNET.ATG" if (caseClause != null) { caseClauses.Add(caseClause); } - while (la.kind == 21) { + while (la.kind == 23) { lexer.NextToken(); CaseClause( -#line 3248 "VBNET.ATG" +#line 3250 "VBNET.ATG" out caseClause); -#line 3248 "VBNET.ATG" +#line 3250 "VBNET.ATG" if (caseClause != null) { caseClauses.Add(caseClause); } } } void OnErrorStatement( -#line 3145 "VBNET.ATG" +#line 3147 "VBNET.ATG" out OnErrorStatement stmt) { -#line 3147 "VBNET.ATG" +#line 3149 "VBNET.ATG" stmt = null; GotoStatement goToStatement = null; - Expect(168); - Expect(115); + Expect(170); + Expect(117); if ( -#line 3153 "VBNET.ATG" +#line 3155 "VBNET.ATG" IsNegativeLabelName()) { - Expect(129); - Expect(27); + Expect(131); + Expect(29); Expect(5); -#line 3155 "VBNET.ATG" +#line 3157 "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 == 129) { + } else if (la.kind == 131) { GotoStatement( -#line 3161 "VBNET.ATG" +#line 3163 "VBNET.ATG" out goToStatement); -#line 3163 "VBNET.ATG" +#line 3165 "VBNET.ATG" string val = goToStatement.Label; // if value is numeric, make sure that is 0 @@ -6903,92 +6903,92 @@ out goToStatement); } stmt = new OnErrorStatement(goToStatement); - } else if (la.kind == 190) { + } else if (la.kind == 192) { lexer.NextToken(); - Expect(160); + Expect(162); -#line 3177 "VBNET.ATG" +#line 3179 "VBNET.ATG" stmt = new OnErrorStatement(new ResumeStatement(true)); - } else SynErr(297); + } else SynErr(299); } void GotoStatement( -#line 3183 "VBNET.ATG" +#line 3185 "VBNET.ATG" out GotoStatement goToStatement) { -#line 3185 "VBNET.ATG" +#line 3187 "VBNET.ATG" string label = String.Empty; - Expect(129); + Expect(131); LabelName( -#line 3188 "VBNET.ATG" +#line 3190 "VBNET.ATG" out label); -#line 3190 "VBNET.ATG" +#line 3192 "VBNET.ATG" goToStatement = new GotoStatement(label); } void ResumeStatement( -#line 3231 "VBNET.ATG" +#line 3233 "VBNET.ATG" out ResumeStatement resumeStatement) { -#line 3233 "VBNET.ATG" +#line 3235 "VBNET.ATG" resumeStatement = null; string label = String.Empty; if ( -#line 3236 "VBNET.ATG" +#line 3238 "VBNET.ATG" IsResumeNext()) { - Expect(190); - Expect(160); + Expect(192); + Expect(162); -#line 3237 "VBNET.ATG" +#line 3239 "VBNET.ATG" resumeStatement = new ResumeStatement(true); - } else if (la.kind == 190) { + } else if (la.kind == 192) { lexer.NextToken(); if (StartOf(41)) { LabelName( -#line 3238 "VBNET.ATG" +#line 3240 "VBNET.ATG" out label); } -#line 3238 "VBNET.ATG" +#line 3240 "VBNET.ATG" resumeStatement = new ResumeStatement(label); - } else SynErr(298); + } else SynErr(300); } void ReDimClauseInternal( -#line 3210 "VBNET.ATG" +#line 3212 "VBNET.ATG" ref Expression expr) { -#line 3211 "VBNET.ATG" +#line 3213 "VBNET.ATG" List arguments; bool canBeNormal; bool canBeRedim; string name; - while (la.kind == 25 || -#line 3214 "VBNET.ATG" + while (la.kind == 27 || +#line 3216 "VBNET.ATG" la.kind == Tokens.OpenParenthesis && Peek(1).kind == Tokens.Of) { - if (la.kind == 25) { + if (la.kind == 27) { lexer.NextToken(); IdentifierOrKeyword( -#line 3213 "VBNET.ATG" +#line 3215 "VBNET.ATG" out name); -#line 3213 "VBNET.ATG" +#line 3215 "VBNET.ATG" expr = new MemberReferenceExpression(expr, name); } else { InvocationExpression( -#line 3215 "VBNET.ATG" +#line 3217 "VBNET.ATG" ref expr); } } - Expect(34); + Expect(36); NormalOrReDimArgumentList( -#line 3218 "VBNET.ATG" +#line 3220 "VBNET.ATG" out arguments, out canBeNormal, out canBeRedim); - Expect(35); + Expect(37); -#line 3220 "VBNET.ATG" +#line 3222 "VBNET.ATG" expr = new InvocationExpression(expr, arguments); if (canBeRedim == false || canBeNormal && (la.kind == Tokens.Dot || la.kind == Tokens.OpenParenthesis)) { if (this.Errors.Count == 0) { @@ -7000,130 +7000,130 @@ out arguments, out canBeNormal, out canBeRedim); } void CaseClause( -#line 3252 "VBNET.ATG" +#line 3254 "VBNET.ATG" out CaseLabel caseClause) { -#line 3254 "VBNET.ATG" +#line 3256 "VBNET.ATG" Expression expr = null; Expression sexpr = null; BinaryOperatorType op = BinaryOperatorType.None; caseClause = null; - if (la.kind == 108) { + if (la.kind == 110) { lexer.NextToken(); -#line 3260 "VBNET.ATG" +#line 3262 "VBNET.ATG" caseClause = new CaseLabel(); } else if (StartOf(42)) { - if (la.kind == 141) { + if (la.kind == 143) { lexer.NextToken(); } switch (la.kind) { - case 37: { + case 39: { lexer.NextToken(); -#line 3264 "VBNET.ATG" +#line 3266 "VBNET.ATG" op = BinaryOperatorType.LessThan; break; } - case 36: { + case 38: { lexer.NextToken(); -#line 3265 "VBNET.ATG" +#line 3267 "VBNET.ATG" op = BinaryOperatorType.GreaterThan; break; } - case 40: { + case 42: { lexer.NextToken(); -#line 3266 "VBNET.ATG" +#line 3268 "VBNET.ATG" op = BinaryOperatorType.LessThanOrEqual; break; } - case 39: { + case 41: { lexer.NextToken(); -#line 3267 "VBNET.ATG" +#line 3269 "VBNET.ATG" op = BinaryOperatorType.GreaterThanOrEqual; break; } - case 19: { + case 21: { lexer.NextToken(); -#line 3268 "VBNET.ATG" +#line 3270 "VBNET.ATG" op = BinaryOperatorType.Equality; break; } - case 38: { + case 40: { lexer.NextToken(); -#line 3269 "VBNET.ATG" +#line 3271 "VBNET.ATG" op = BinaryOperatorType.InEquality; break; } - default: SynErr(299); break; + default: SynErr(301); break; } Expr( -#line 3271 "VBNET.ATG" +#line 3273 "VBNET.ATG" out expr); -#line 3273 "VBNET.ATG" +#line 3275 "VBNET.ATG" caseClause = new CaseLabel(op, expr); } else if (StartOf(29)) { Expr( -#line 3275 "VBNET.ATG" +#line 3277 "VBNET.ATG" out expr); - if (la.kind == 212) { + if (la.kind == 214) { lexer.NextToken(); Expr( -#line 3275 "VBNET.ATG" +#line 3277 "VBNET.ATG" out sexpr); } -#line 3277 "VBNET.ATG" +#line 3279 "VBNET.ATG" caseClause = new CaseLabel(expr, sexpr); - } else SynErr(300); + } else SynErr(302); } void CatchClauses( -#line 3324 "VBNET.ATG" +#line 3326 "VBNET.ATG" out List catchClauses) { -#line 3326 "VBNET.ATG" +#line 3328 "VBNET.ATG" catchClauses = new List(); TypeReference type = null; Statement blockStmt = null; Expression expr = null; string name = String.Empty; - while (la.kind == 72) { + while (la.kind == 74) { lexer.NextToken(); if (StartOf(4)) { Identifier(); -#line 3334 "VBNET.ATG" +#line 3336 "VBNET.ATG" name = t.val; - if (la.kind == 60) { + if (la.kind == 62) { lexer.NextToken(); TypeName( -#line 3334 "VBNET.ATG" +#line 3336 "VBNET.ATG" out type); } } - if (la.kind == 225) { + if (la.kind == 227) { lexer.NextToken(); Expr( -#line 3335 "VBNET.ATG" +#line 3337 "VBNET.ATG" out expr); } EndOfStmt(); Block( -#line 3337 "VBNET.ATG" +#line 3339 "VBNET.ATG" out blockStmt); -#line 3338 "VBNET.ATG" +#line 3340 "VBNET.ATG" catchClauses.Add(new CatchClause(type, name, blockStmt, expr)); } } @@ -7159,288 +7159,290 @@ out blockStmt); case 16: s = "XmlContent expected"; break; case 17: s = "XmlComment expected"; break; case 18: s = "XmlCData expected"; break; - case 19: s = "\"=\" expected"; break; - case 20: s = "\":\" expected"; break; - case 21: s = "\",\" expected"; break; - case 22: s = "\"&\" expected"; break; - case 23: s = "\"/\" expected"; break; - case 24: s = "\"\\\\\" expected"; break; - 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 = "\"AddHandler\" expected"; break; - case 54: s = "\"AddressOf\" expected"; break; - case 55: s = "\"Aggregate\" expected"; break; - case 56: s = "\"Alias\" expected"; break; - case 57: s = "\"And\" expected"; break; - case 58: s = "\"AndAlso\" expected"; break; - case 59: s = "\"Ansi\" expected"; break; - case 60: s = "\"As\" expected"; break; - case 61: s = "\"Ascending\" expected"; break; - case 62: s = "\"Assembly\" expected"; break; - case 63: s = "\"Auto\" expected"; break; - case 64: s = "\"Binary\" expected"; break; - case 65: s = "\"Boolean\" expected"; break; - case 66: s = "\"ByRef\" expected"; break; - case 67: s = "\"By\" expected"; break; - case 68: s = "\"Byte\" expected"; break; - case 69: s = "\"ByVal\" expected"; break; - case 70: s = "\"Call\" expected"; break; - case 71: s = "\"Case\" expected"; break; - case 72: s = "\"Catch\" expected"; break; - case 73: s = "\"CBool\" expected"; break; - case 74: s = "\"CByte\" expected"; break; - case 75: s = "\"CChar\" expected"; break; - case 76: s = "\"CDate\" expected"; break; - case 77: s = "\"CDbl\" expected"; break; - case 78: s = "\"CDec\" expected"; break; - case 79: s = "\"Char\" expected"; break; - case 80: s = "\"CInt\" expected"; break; - case 81: s = "\"Class\" expected"; break; - case 82: s = "\"CLng\" expected"; break; - case 83: s = "\"CObj\" expected"; break; - case 84: s = "\"Compare\" expected"; break; - case 85: s = "\"Const\" expected"; break; - case 86: s = "\"Continue\" expected"; break; - case 87: s = "\"CSByte\" expected"; break; - case 88: s = "\"CShort\" expected"; break; - case 89: s = "\"CSng\" expected"; break; - case 90: s = "\"CStr\" expected"; break; - case 91: s = "\"CType\" expected"; break; - case 92: s = "\"CUInt\" expected"; break; - case 93: s = "\"CULng\" expected"; break; - case 94: s = "\"CUShort\" expected"; break; - case 95: s = "\"Custom\" expected"; break; - case 96: s = "\"Date\" expected"; break; - case 97: s = "\"Decimal\" expected"; break; - case 98: s = "\"Declare\" expected"; break; - case 99: s = "\"Default\" expected"; break; - case 100: s = "\"Delegate\" expected"; break; - case 101: s = "\"Descending\" expected"; break; - case 102: s = "\"Dim\" expected"; break; - case 103: s = "\"DirectCast\" expected"; break; - case 104: s = "\"Distinct\" expected"; break; - case 105: s = "\"Do\" expected"; break; - case 106: s = "\"Double\" expected"; break; - case 107: s = "\"Each\" expected"; break; - case 108: s = "\"Else\" expected"; break; - case 109: s = "\"ElseIf\" expected"; break; - case 110: s = "\"End\" expected"; break; - case 111: s = "\"EndIf\" expected"; break; - case 112: s = "\"Enum\" expected"; break; - case 113: s = "\"Equals\" expected"; break; - case 114: s = "\"Erase\" expected"; break; - case 115: s = "\"Error\" expected"; break; - case 116: s = "\"Event\" expected"; break; - case 117: s = "\"Exit\" expected"; break; - case 118: s = "\"Explicit\" expected"; break; - case 119: s = "\"False\" expected"; break; - case 120: s = "\"Finally\" expected"; break; - case 121: s = "\"For\" expected"; break; - case 122: s = "\"Friend\" expected"; break; - case 123: s = "\"From\" expected"; break; - case 124: s = "\"Function\" expected"; break; - case 125: s = "\"Get\" expected"; break; - case 126: s = "\"GetType\" expected"; break; - case 127: s = "\"Global\" expected"; break; - case 128: s = "\"GoSub\" expected"; break; - case 129: s = "\"GoTo\" expected"; break; - case 130: s = "\"Group\" expected"; break; - case 131: s = "\"Handles\" expected"; break; - case 132: s = "\"If\" expected"; break; - case 133: s = "\"Implements\" expected"; break; - case 134: s = "\"Imports\" expected"; break; - case 135: s = "\"In\" expected"; break; - case 136: s = "\"Infer\" expected"; break; - case 137: s = "\"Inherits\" expected"; break; - case 138: s = "\"Integer\" expected"; break; - case 139: s = "\"Interface\" expected"; break; - case 140: s = "\"Into\" expected"; break; - case 141: s = "\"Is\" expected"; break; - case 142: s = "\"IsNot\" expected"; break; - case 143: s = "\"Join\" expected"; break; - case 144: s = "\"Key\" expected"; break; - case 145: s = "\"Let\" expected"; break; - case 146: s = "\"Lib\" expected"; break; - case 147: s = "\"Like\" expected"; break; - case 148: s = "\"Long\" expected"; break; - case 149: s = "\"Loop\" expected"; break; - case 150: s = "\"Me\" expected"; break; - case 151: s = "\"Mod\" expected"; break; - case 152: s = "\"Module\" expected"; break; - case 153: s = "\"MustInherit\" expected"; break; - case 154: s = "\"MustOverride\" expected"; break; - case 155: s = "\"MyBase\" expected"; break; - case 156: s = "\"MyClass\" expected"; break; - case 157: s = "\"Namespace\" expected"; break; - case 158: s = "\"Narrowing\" expected"; break; - case 159: s = "\"New\" expected"; break; - case 160: s = "\"Next\" expected"; break; - case 161: s = "\"Not\" expected"; break; - case 162: s = "\"Nothing\" expected"; break; - case 163: s = "\"NotInheritable\" expected"; break; - case 164: s = "\"NotOverridable\" expected"; break; - case 165: s = "\"Object\" expected"; break; - case 166: s = "\"Of\" expected"; break; - case 167: s = "\"Off\" expected"; break; - case 168: s = "\"On\" expected"; break; - case 169: s = "\"Operator\" expected"; break; - case 170: s = "\"Option\" expected"; break; - case 171: s = "\"Optional\" expected"; break; - case 172: s = "\"Or\" expected"; break; - case 173: s = "\"Order\" expected"; break; - case 174: s = "\"OrElse\" expected"; break; - case 175: s = "\"Overloads\" expected"; break; - case 176: s = "\"Overridable\" expected"; break; - case 177: s = "\"Overrides\" expected"; break; - case 178: s = "\"ParamArray\" expected"; break; - case 179: s = "\"Partial\" expected"; break; - case 180: s = "\"Preserve\" expected"; break; - case 181: s = "\"Private\" expected"; break; - case 182: s = "\"Property\" expected"; break; - case 183: s = "\"Protected\" expected"; break; - case 184: s = "\"Public\" expected"; break; - case 185: s = "\"RaiseEvent\" expected"; break; - case 186: s = "\"ReadOnly\" expected"; break; - case 187: s = "\"ReDim\" expected"; break; - case 188: s = "\"Rem\" expected"; break; - case 189: s = "\"RemoveHandler\" expected"; break; - case 190: s = "\"Resume\" expected"; break; - case 191: s = "\"Return\" expected"; break; - case 192: s = "\"SByte\" expected"; break; - case 193: s = "\"Select\" expected"; break; - case 194: s = "\"Set\" expected"; break; - case 195: s = "\"Shadows\" expected"; break; - case 196: s = "\"Shared\" expected"; break; - case 197: s = "\"Short\" expected"; break; - case 198: s = "\"Single\" expected"; break; - case 199: s = "\"Skip\" expected"; break; - case 200: s = "\"Static\" expected"; break; - case 201: s = "\"Step\" expected"; break; - case 202: s = "\"Stop\" expected"; break; - case 203: s = "\"Strict\" expected"; break; - case 204: s = "\"String\" expected"; break; - case 205: s = "\"Structure\" expected"; break; - case 206: s = "\"Sub\" expected"; break; - case 207: s = "\"SyncLock\" expected"; break; - case 208: s = "\"Take\" expected"; break; - case 209: s = "\"Text\" expected"; break; - case 210: s = "\"Then\" expected"; break; - case 211: s = "\"Throw\" expected"; break; - case 212: s = "\"To\" expected"; break; - case 213: s = "\"True\" expected"; break; - case 214: s = "\"Try\" expected"; break; - case 215: s = "\"TryCast\" expected"; break; - case 216: s = "\"TypeOf\" expected"; break; - case 217: s = "\"UInteger\" expected"; break; - case 218: s = "\"ULong\" expected"; break; - case 219: s = "\"Unicode\" expected"; break; - case 220: s = "\"Until\" expected"; break; - case 221: s = "\"UShort\" expected"; break; - case 222: s = "\"Using\" expected"; break; - case 223: s = "\"Variant\" expected"; break; - case 224: s = "\"Wend\" expected"; break; - case 225: s = "\"When\" expected"; break; - case 226: s = "\"Where\" expected"; break; - case 227: s = "\"While\" expected"; break; - case 228: s = "\"Widening\" expected"; break; - case 229: s = "\"With\" expected"; break; - case 230: s = "\"WithEvents\" expected"; break; - case 231: s = "\"WriteOnly\" expected"; break; - case 232: s = "\"Xor\" expected"; break; - case 233: s = "??? expected"; break; - case 234: s = "invalid EndOfStmt"; break; - case 235: s = "invalid OptionStmt"; break; - case 236: s = "invalid OptionStmt"; break; - case 237: s = "invalid GlobalAttributeSection"; break; - case 238: s = "invalid GlobalAttributeSection"; break; - case 239: s = "invalid NamespaceMemberDecl"; break; - case 240: s = "invalid OptionValue"; break; - case 241: s = "invalid ImportClause"; break; - case 242: s = "invalid Identifier"; break; - case 243: s = "invalid TypeModifier"; break; - case 244: s = "invalid NonModuleDeclaration"; break; - case 245: s = "invalid NonModuleDeclaration"; break; - case 246: s = "invalid TypeParameterConstraints"; break; - case 247: s = "invalid TypeParameterConstraint"; break; - case 248: s = "invalid NonArrayTypeName"; break; - case 249: s = "invalid MemberModifier"; break; - case 250: s = "invalid StructureMemberDecl"; break; - case 251: s = "invalid StructureMemberDecl"; break; + case 19: s = "XmlProcessingInstructionStart expected"; break; + case 20: s = "XmlProcessingInstructionEnd expected"; break; + case 21: s = "\"=\" expected"; break; + case 22: s = "\":\" expected"; break; + case 23: s = "\",\" expected"; break; + case 24: s = "\"&\" expected"; break; + 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 = "??? expected"; break; + case 236: s = "invalid EndOfStmt"; break; + case 237: s = "invalid OptionStmt"; break; + case 238: s = "invalid OptionStmt"; break; + case 239: s = "invalid GlobalAttributeSection"; break; + case 240: s = "invalid GlobalAttributeSection"; break; + case 241: s = "invalid NamespaceMemberDecl"; break; + case 242: s = "invalid OptionValue"; break; + case 243: s = "invalid ImportClause"; break; + case 244: s = "invalid Identifier"; break; + case 245: s = "invalid TypeModifier"; break; + case 246: s = "invalid NonModuleDeclaration"; break; + case 247: s = "invalid NonModuleDeclaration"; break; + case 248: s = "invalid TypeParameterConstraints"; break; + case 249: s = "invalid TypeParameterConstraint"; break; + case 250: s = "invalid NonArrayTypeName"; break; + case 251: s = "invalid MemberModifier"; break; case 252: s = "invalid StructureMemberDecl"; break; case 253: s = "invalid StructureMemberDecl"; break; case 254: s = "invalid StructureMemberDecl"; break; case 255: s = "invalid StructureMemberDecl"; break; case 256: s = "invalid StructureMemberDecl"; break; case 257: s = "invalid StructureMemberDecl"; break; - case 258: s = "invalid InterfaceMemberDecl"; break; - case 259: s = "invalid InterfaceMemberDecl"; break; - case 260: s = "invalid Expr"; break; - case 261: s = "invalid Charset"; break; - case 262: s = "invalid IdentifierForFieldDeclaration"; break; - case 263: s = "invalid VariableDeclaratorPartAfterIdentifier"; break; - case 264: s = "invalid AccessorDecls"; break; - case 265: s = "invalid EventAccessorDeclaration"; break; - case 266: s = "invalid OverloadableOperator"; break; - case 267: s = "invalid EventMemberSpecifier"; break; - case 268: s = "invalid AssignmentOperator"; break; - case 269: s = "invalid SimpleNonInvocationExpression"; break; - case 270: s = "invalid SimpleNonInvocationExpression"; break; + case 258: s = "invalid StructureMemberDecl"; break; + case 259: s = "invalid StructureMemberDecl"; break; + case 260: s = "invalid InterfaceMemberDecl"; break; + case 261: s = "invalid InterfaceMemberDecl"; break; + case 262: s = "invalid Expr"; break; + case 263: s = "invalid Charset"; break; + case 264: s = "invalid IdentifierForFieldDeclaration"; break; + case 265: s = "invalid VariableDeclaratorPartAfterIdentifier"; break; + case 266: s = "invalid AccessorDecls"; break; + case 267: s = "invalid EventAccessorDeclaration"; break; + case 268: s = "invalid OverloadableOperator"; break; + case 269: s = "invalid EventMemberSpecifier"; break; + case 270: s = "invalid AssignmentOperator"; break; case 271: s = "invalid SimpleNonInvocationExpression"; break; case 272: s = "invalid SimpleNonInvocationExpression"; break; - case 273: s = "invalid PrimitiveTypeName"; break; - case 274: s = "invalid CastTarget"; break; - case 275: s = "invalid ComparisonExpr"; break; - case 276: s = "invalid FromOrAggregateQueryOperator"; break; - case 277: s = "invalid QueryOperator"; break; - case 278: s = "invalid PartitionQueryOperator"; break; - case 279: s = "invalid Argument"; break; - case 280: s = "invalid QualIdentAndTypeArguments"; break; - case 281: s = "invalid AttributeArguments"; break; - case 282: s = "invalid AttributeArguments"; break; + case 273: s = "invalid SimpleNonInvocationExpression"; break; + case 274: s = "invalid SimpleNonInvocationExpression"; break; + case 275: s = "invalid PrimitiveTypeName"; break; + case 276: s = "invalid CastTarget"; break; + case 277: s = "invalid ComparisonExpr"; break; + case 278: s = "invalid FromOrAggregateQueryOperator"; break; + case 279: s = "invalid QueryOperator"; break; + case 280: s = "invalid PartitionQueryOperator"; break; + case 281: s = "invalid Argument"; break; + case 282: s = "invalid QualIdentAndTypeArguments"; break; case 283: s = "invalid AttributeArguments"; break; - case 284: s = "invalid ParameterModifier"; break; - case 285: s = "invalid Statement"; break; - case 286: s = "invalid LabelName"; break; - case 287: s = "invalid EmbeddedStatement"; break; - case 288: s = "invalid EmbeddedStatement"; break; + case 284: s = "invalid AttributeArguments"; break; + case 285: s = "invalid AttributeArguments"; break; + case 286: s = "invalid ParameterModifier"; break; + case 287: s = "invalid Statement"; break; + case 288: s = "invalid LabelName"; break; case 289: s = "invalid EmbeddedStatement"; break; case 290: s = "invalid EmbeddedStatement"; break; case 291: s = "invalid EmbeddedStatement"; break; case 292: s = "invalid EmbeddedStatement"; break; case 293: s = "invalid EmbeddedStatement"; break; - case 294: s = "invalid WhileOrUntil"; break; - case 295: s = "invalid SingleLineStatementList"; break; - case 296: s = "invalid SingleLineStatementList"; break; - case 297: s = "invalid OnErrorStatement"; break; - case 298: s = "invalid ResumeStatement"; break; - case 299: s = "invalid CaseClause"; break; - case 300: s = "invalid CaseClause"; break; + case 294: s = "invalid EmbeddedStatement"; break; + case 295: s = "invalid EmbeddedStatement"; break; + case 296: s = "invalid WhileOrUntil"; break; + case 297: s = "invalid SingleLineStatementList"; break; + case 298: s = "invalid SingleLineStatementList"; break; + case 299: s = "invalid OnErrorStatement"; break; + case 300: s = "invalid ResumeStatement"; break; + case 301: s = "invalid CaseClause"; break; + case 302: s = "invalid CaseClause"; break; default: s = "error " + errorNumber; break; } @@ -7453,49 +7455,49 @@ 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,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,x, x,x,x,x, x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T,x, x,x,x,x, x,x,x,x, x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T,x, x,x,x,x, x,x,x,x, x,x,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,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,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,T,x, x,x,x,x, x,x,x,x, x,x,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,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,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,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, 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,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,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,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,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,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,T,T, T,T,T,T, T,T,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,T,T,T, T,T,T,T, T,T,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,T,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,T, T,T,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, 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,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,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,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,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,T, T,T,T,T, T,T,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,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,x,x, x,x,x,x, x,x,x,x, 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,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, 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,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,T,T, T,T,T,T, T,T,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,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,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,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,T,T, T,T,T,T, T,T,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,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,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,T,T, T,T,T,T, 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,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,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,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,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,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,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} + {T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x}, + {x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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, T,x,x,x, x,x,x,x, 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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,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,T,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,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,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,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,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,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,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,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,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,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,T,T,T, T,T,T,T, T,T,x,x, x,x,x,x, x,x,x,x, x,T,T,T, 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,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,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,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,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,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,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, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,T, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,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, T,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, 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,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, 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,x,x, x,x,x,x, x,x,x,x, x,x,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,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,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,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,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,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,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,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, 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,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,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,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,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,x,x, x,x,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,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,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} }; } // 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 dec6f8f51f..1f31ff8854 100644 --- a/src/Libraries/NRefactory/Project/Src/Parser/VBNet/VBNET.ATG +++ b/src/Libraries/NRefactory/Project/Src/Parser/VBNet/VBNET.ATG @@ -30,6 +30,8 @@ TOKENS XmlContent XmlComment XmlCData + XmlProcessingInstructionStart + XmlProcessingInstructionEnd /* ----- special character ----- */ "="