diff --git a/aspclassiccompiler/ASPClassicCompiler.sln b/aspclassiccompiler/ASPClassicCompiler.sln index 2df9d61..3ace6db 100644 --- a/aspclassiccompiler/ASPClassicCompiler.sln +++ b/aspclassiccompiler/ASPClassicCompiler.sln @@ -17,6 +17,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NerdDinnerAsp", "NerdDinner EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBScriptTest", "VBScriptTest\VBScriptTest.csproj", "{3153B5A6-B372-46D0-A10B-0CC4C4FBAE9D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBSC", "VBSC\VBSC.csproj", "{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -47,6 +49,10 @@ Global {3153B5A6-B372-46D0-A10B-0CC4C4FBAE9D}.Debug|Any CPU.Build.0 = Debug|Any CPU {3153B5A6-B372-46D0-A10B-0CC4C4FBAE9D}.Release|Any CPU.ActiveCfg = Release|Any CPU {3153B5A6-B372-46D0-A10B-0CC4C4FBAE9D}.Release|Any CPU.Build.0 = Release|Any CPU + {556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.Build.0 = Debug|Any CPU + {556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.ActiveCfg = Release|Any CPU + {556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/aspclassiccompiler/VBSC/Program.cs b/aspclassiccompiler/VBSC/Program.cs new file mode 100644 index 0000000..e3f28ab --- /dev/null +++ b/aspclassiccompiler/VBSC/Program.cs @@ -0,0 +1,46 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Dynamic; +#if USE35 +using Microsoft.Scripting.Hosting; +using Microsoft.Scripting.Ast; +#else +using System.Linq.Expressions; +#endif + +using Dlrsoft.VBScript.Hosting; +namespace Dlrsoft.VBScript +{ + class Program + { + static void Main(string[] args) + { + // Setup DLR ScriptRuntime with our languages. We hardcode them here + // but a .NET app looking for general language scripting would use + // an app.config file and ScriptRuntime.CreateFromConfiguration. + var setup = new ScriptRuntimeSetup(); + string qualifiedname = typeof(VBScriptContext).AssemblyQualifiedName; + setup.LanguageSetups.Add(new LanguageSetup( + qualifiedname, "vbscript", new[] { "vbscript" }, new[] { ".vbs" })); + var dlrRuntime = new ScriptRuntime(setup); + // Don't need to tell the DLR about the assemblies we want to be + // available, which the SymplLangContext constructor passes to the + // Sympl constructor, because the DLR loads mscorlib and System by + // default. + //dlrRuntime.LoadAssembly(typeof(object).Assembly); + dlrRuntime.LoadAssembly(typeof(global::Dlrsoft.VBScript.Runtime.BuiltInFunctions).Assembly); + + // Get a Sympl engine and run stuff ... + var engine = dlrRuntime.GetEngine("vbscript"); + //string filename = @"..\..\test\test.vbs"; + string filename = args[0]; + var scriptSource = engine.CreateScriptSourceFromFile(filename); + var compiledCode = scriptSource.Compile(); + var feo = engine.CreateScope(); //File Level Expando Object + //feo = engine.ExecuteFile(filename, feo); + feo.SetVariable("response", System.Console.Out); + compiledCode.Execute(feo); + } + } +} diff --git a/aspclassiccompiler/VBSC/Properties/AssemblyInfo.cs b/aspclassiccompiler/VBSC/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..17a3148 --- /dev/null +++ b/aspclassiccompiler/VBSC/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("VBSC")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("DLRSoft")] +[assembly: AssemblyProduct("VBScript.NET")] +[assembly: AssemblyCopyright("Copyright © DLRSoft 2009")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("568c9d7b-8dfc-4462-b0f4-768c2d6cfa39")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("0.5.7.34834")] diff --git a/aspclassiccompiler/VBSC/VBSC.csproj b/aspclassiccompiler/VBSC/VBSC.csproj new file mode 100644 index 0000000..b3a0934 --- /dev/null +++ b/aspclassiccompiler/VBSC/VBSC.csproj @@ -0,0 +1,88 @@ + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {556BAE6E-AA67-48C7-ACD6-1AB0AA930197} + Exe + Properties + Dlrsoft.VBScript + VBSC + v3.5 + 512 + + + true + full + false + bin\Debug\ + TRACE;DEBUG;USE35 + prompt + 4 + + + pdbonly + true + ..\bin\Release\ + TRACE;USE35 + prompt + 4 + + + + False + ..\library\35\Microsoft.Dynamic.dll + + + False + ..\library\35\Microsoft.Scripting.dll + + + False + ..\library\35\Microsoft.Scripting.Core.dll + + + False + ..\library\35\Microsoft.Scripting.ExtensionAttribute.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + {0846368D-EA96-4AC4-81AF-E4F9B78CE60B} + VBScript + + + + + \ No newline at end of file diff --git a/aspclassiccompiler/VBSC/test/array.vbs b/aspclassiccompiler/VBSC/test/array.vbs new file mode 100644 index 0000000..30b8937 --- /dev/null +++ b/aspclassiccompiler/VBSC/test/array.vbs @@ -0,0 +1,3 @@ +dim a(1) +a(0) = 3 +Response.WriteLine(a(0)) diff --git a/aspclassiccompiler/VBSC/test/builtin.vbs b/aspclassiccompiler/VBSC/test/builtin.vbs new file mode 100644 index 0000000..8ad11df --- /dev/null +++ b/aspclassiccompiler/VBSC/test/builtin.vbs @@ -0,0 +1,3 @@ +dim i +i = -1 +response.write Abs(i) \ No newline at end of file diff --git a/aspclassiccompiler/VBSC/test/dotnet.vbs b/aspclassiccompiler/VBSC/test/dotnet.vbs new file mode 100644 index 0000000..e3a1369 --- /dev/null +++ b/aspclassiccompiler/VBSC/test/dotnet.vbs @@ -0,0 +1,6 @@ +imports system +imports BuiltIn = VBScript.Runtime.BuiltInFunctions +System.Console.WriteLine "Hello from vbs" +'System.Console.WriteLine System.Math.Abs(-1) +'System.Console.WriteLine VBScript.BuiltInFunctions.Abs(-1) +System.Console.WriteLine BuiltIn.Abs(-1) \ No newline at end of file diff --git a/aspclassiccompiler/VBSC/test/dountil.vbs b/aspclassiccompiler/VBSC/test/dountil.vbs new file mode 100644 index 0000000..bf74e48 --- /dev/null +++ b/aspclassiccompiler/VBSC/test/dountil.vbs @@ -0,0 +1,8 @@ +dim i +i = 5 +f = 1 +do + f = f * i + i = i - 1 +loop until i = 0 +response.write f \ No newline at end of file diff --git a/aspclassiccompiler/VBSC/test/dowhile.vbs b/aspclassiccompiler/VBSC/test/dowhile.vbs new file mode 100644 index 0000000..0de702f --- /dev/null +++ b/aspclassiccompiler/VBSC/test/dowhile.vbs @@ -0,0 +1,8 @@ +dim i +i = 5 +f = 1 +do while i > 0 + f = f * i + i = i - 1 +loop +response.write f \ No newline at end of file diff --git a/aspclassiccompiler/VBSC/test/for.vbs b/aspclassiccompiler/VBSC/test/for.vbs new file mode 100644 index 0000000..efa08df --- /dev/null +++ b/aspclassiccompiler/VBSC/test/for.vbs @@ -0,0 +1,6 @@ + dim i + for i = 1 to 8 + response.write i + next + + response.write i \ No newline at end of file diff --git a/aspclassiccompiler/VBSC/test/foreach.vbs b/aspclassiccompiler/VBSC/test/foreach.vbs new file mode 100644 index 0000000..0c99864 --- /dev/null +++ b/aspclassiccompiler/VBSC/test/foreach.vbs @@ -0,0 +1,9 @@ +dim a(2) +dim i + +a(0) = 2 +a(1) = 5 + +for each i in a + Response.WriteLine(i) +next diff --git a/aspclassiccompiler/VBSC/test/function.vbs b/aspclassiccompiler/VBSC/test/function.vbs new file mode 100644 index 0000000..88c9312 --- /dev/null +++ b/aspclassiccompiler/VBSC/test/function.vbs @@ -0,0 +1,5 @@ +response.write c2f(37) + +function c2f(c) + c2f = c * 9 / 5 + 32 +end function \ No newline at end of file diff --git a/aspclassiccompiler/VBSC/test/hello.vbs b/aspclassiccompiler/VBSC/test/hello.vbs new file mode 100644 index 0000000..3f5cedd --- /dev/null +++ b/aspclassiccompiler/VBSC/test/hello.vbs @@ -0,0 +1 @@ +Response.WriteLine("hello world") diff --git a/aspclassiccompiler/VBSC/test/if.vbs b/aspclassiccompiler/VBSC/test/if.vbs new file mode 100644 index 0000000..1173f01 --- /dev/null +++ b/aspclassiccompiler/VBSC/test/if.vbs @@ -0,0 +1,13 @@ + dim i, color + + i = 0 + if i = 1 then + color = "red" + elseif i = 2 then + color = "green" + elseif i = 3 then + color = "blue" + else + color = "black" + end if + response.write color \ No newline at end of file diff --git a/aspclassiccompiler/VBSC/test/new.vbs b/aspclassiccompiler/VBSC/test/new.vbs new file mode 100644 index 0000000..3b028ba --- /dev/null +++ b/aspclassiccompiler/VBSC/test/new.vbs @@ -0,0 +1,9 @@ +imports system + +dim sb + +sb = new System.Text.StringBuilder() +sb.append("this") +sb.append(" is ") +sb.append(" stringbuilder!") +response.write sb.toString() diff --git a/aspclassiccompiler/VBSC/test/sub.vbs b/aspclassiccompiler/VBSC/test/sub.vbs new file mode 100644 index 0000000..a1b9b5c --- /dev/null +++ b/aspclassiccompiler/VBSC/test/sub.vbs @@ -0,0 +1,8 @@ +printnum 5 + +sub printnum(n) + for i = 1 to n + response.write i + next +end sub + diff --git a/aspclassiccompiler/VBSC/test/variables.vbs b/aspclassiccompiler/VBSC/test/variables.vbs new file mode 100644 index 0000000..b05e524 --- /dev/null +++ b/aspclassiccompiler/VBSC/test/variables.vbs @@ -0,0 +1,3 @@ +dim a +a = 3 +Response.Writeline(a) diff --git a/aspclassiccompiler/VBSC/test/while.vbs b/aspclassiccompiler/VBSC/test/while.vbs new file mode 100644 index 0000000..6af3d91 --- /dev/null +++ b/aspclassiccompiler/VBSC/test/while.vbs @@ -0,0 +1,7 @@ +i = 5 +f = 1 +while i > 0 + f = f * i + i = i - 1 +wend +response.write f \ No newline at end of file diff --git a/aspclassiccompiler/VBScriptTest/VBScriptTest.csproj b/aspclassiccompiler/VBScriptTest/VBScriptTest.csproj index fe1be3d..3ffb794 100644 --- a/aspclassiccompiler/VBScriptTest/VBScriptTest.csproj +++ b/aspclassiccompiler/VBScriptTest/VBScriptTest.csproj @@ -25,7 +25,7 @@ pdbonly true bin\Release\ - TRACE + TRACE;USE35 prompt 4 diff --git a/aspclassiccompiler/asp/Asp.csproj b/aspclassiccompiler/asp/Asp.csproj index 7e5c82c..ab95d18 100644 --- a/aspclassiccompiler/asp/Asp.csproj +++ b/aspclassiccompiler/asp/Asp.csproj @@ -26,7 +26,7 @@ pdbonly true ..\bin\Release\ - TRACE + TRACE;USE35 prompt 4 diff --git a/aspclassiccompiler/bin/Release/Dlrsoft.Asp.dll b/aspclassiccompiler/bin/Release/Dlrsoft.Asp.dll index 1966273..25d27dd 100644 Binary files a/aspclassiccompiler/bin/Release/Dlrsoft.Asp.dll and b/aspclassiccompiler/bin/Release/Dlrsoft.Asp.dll differ diff --git a/aspclassiccompiler/bin/Release/Dlrsoft.Asp.pdb b/aspclassiccompiler/bin/Release/Dlrsoft.Asp.pdb index 8565cc8..b57d455 100644 Binary files a/aspclassiccompiler/bin/Release/Dlrsoft.Asp.pdb and b/aspclassiccompiler/bin/Release/Dlrsoft.Asp.pdb differ diff --git a/aspclassiccompiler/bin/Release/Dlrsoft.VBParser.dll b/aspclassiccompiler/bin/Release/Dlrsoft.VBParser.dll index a247a88..a91a52c 100644 Binary files a/aspclassiccompiler/bin/Release/Dlrsoft.VBParser.dll and b/aspclassiccompiler/bin/Release/Dlrsoft.VBParser.dll differ diff --git a/aspclassiccompiler/bin/Release/Dlrsoft.VBParser.xml b/aspclassiccompiler/bin/Release/Dlrsoft.VBParser.xml index 0c752c2..abb42e9 100644 --- a/aspclassiccompiler/bin/Release/Dlrsoft.VBParser.xml +++ b/aspclassiccompiler/bin/Release/Dlrsoft.VBParser.xml @@ -6,19 +6,274 @@ Dlrsoft.VBParser - + - Constructs a new parse tree for a TryCast expression. + The location of the keyword. + + + + The name of the declaration. + + + + The declarations in the block. + + + + The End statement for the block. + + + + A parse tree for a block declaration. + + + + The base expression. + + + + The qualifying type arguments. + + + + Constructs a new parse tree for a generic qualified expression. + + The base expression. + The qualifying type arguments. + The location of the parse tree. + + + A parse tree for a qualified name expression. + + + + Creates a new parse tree for a constructor declaration. + + The attributes for the parse tree. + The modifiers for the parse tree. + The location of the keyword. + The name of the declaration. + The parameters of the declaration. + The statements in the declaration. + The end block declaration, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a constructor declaration. + + + + The type of block the declaration ends. + + + + The location of the end block argument. + + + + Creates a new parse tree for an End block declaration. + + The type of the block the statement ends. + The location of the end block argument. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an End declaration. + + + + The list of implemented members. + + + + The events that the declaration handles. + + + + The statements in the declaration. + + + + The end block declaration, if any. + + + + A parse tree for a Sub, Function or constructor declaration. + + + + The expression qualifying the name. + + + + The location of the '.'. + + + + The qualified name. + + + + Constructs a new parse tree for a qualified name expression. + + The expression qualifying the name. + The location of the '.'. + The qualified name. + The location of the parse tree. + + + A parse tree for a qualified name expression. + + + + The location of the '('. + + + + The target type of the GetType expression. + + + + The location of the ')'. + + + + Constructs a new parse tree for a GetType expression. The location of the '('. - The expression to be converted. - The location of the ','. - The target type of the conversion. + The target type of the GetType expression. The location of the ')'. The location of the parse tree. - + - A parse tree for a CType expression. + A parse tree for a GetType expression. + + + + The name. + + + + The array modifier, if any. + + + + Constructs a new variable name parse tree. + + The name. + The array modifier, if any. + The location of the parse tree. + + + A parse tree to represent a variable name. + + + A variable name can have an array modifier after it (e.g. 'x(10) As Integer'). + + + + The statements in the block. + + + + A parse tree for a block statement. + + + + The statement modifiers. + + + + The variable declarators. + + + + Constructs a new parse tree for a local declaration statement. + + The statement modifiers. + The variable declarators. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a local declaration statement. + + + + The loop control variables. + + + + Constructs a parse tree for a Next statement. + + The loop control variables. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Next statement. + + + + The type of a Resume statement. + + + + The variable names being declared. + + + + The location of the 'As', if any. + + + + The location of the 'New', if any. + + + + The type of the variables being declared, if any. + + + + The arguments to the constructor, if any. + + + + The location of the '=', if any. + + + + The variable initializer, if any. + + + + Constructs a new parse tree for a variable declarator. + + The names of the variables being declared. + The location of the 'As', if any. + The location of the 'New', if any. + The type of the variables being declared, if any. + The arguments of the constructor, if any. + The location of the '=', if any. + The variable initializer, if any. + The location of the parse tree. + + + A parse tree for a variable declarator (e.g. "x As Integer") + + + + The type of a syntax error. + + + + The location of the commas in the list. + + + + A collection of trees that are delimited by commas. @@ -41,6 +296,291 @@ Dlrsoft.VBParser A parse tree for a Class declaration. + + + Constructs a parse tree for a Declare Function statement. + + The attributes for the parse tree. + The modifiers for the parse tree. + The location of the keyword. + The location of the 'Ansi', 'Auto' or 'Unicode', if any. + The charset. + The location of 'Function'. + The name of the declaration. + The location of 'Lib', if any. + The library, if any. + The location of 'Alias', if any. + The alias, if any. + The parameters of the declaration. + The location of the 'As', if any. + The attributes on the result type, if any. + The result type, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Declare Function statement. + + + + The variables being declared. + + + + Constructs a parse tree for variable declarations. + + The attributes on the declaration. + The modifiers on the declaration. + The variables being declared. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for variable declarations. + + + + The type of a unary operator expression. + + + + The alias name. + + + + The location of the '='. + + + + The name being aliased. + + + + Constructs a new aliased import parse tree. + + The name of the alias. + The location of the '='. + The name being aliased. + The location of the parse tree. + + + A parse tree for an Imports statement that aliases a type or namespace. + + + + The location of the ')'. + + + + Constructs a new collection of parameters. + + The parameters in the collection + The locations of the commas. + The location of the right parenthesis. + The location of the parse tree. + + + A collection of parameters. + + + + The Else or Else If statement. + + + + Constructs a new parse tree for an Else block statement. + + The Else statement. + The statements in the block. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Else block statement. + + + No type character + + The String symbol '$'. + + The Integer symbol '%'. + + The Long symbol '&'. + + The Short character 'S'. + + The Integer character 'I'. + + The Long character 'L'. + + The Single symbol '!'. + + The Double symbol '#'. + + The Decimal symbol '@'. + + The Single character 'F'. + + The Double character 'R'. + + The Decimal character 'D'. + + The unsigned Short characters 'US'. + New for Visual Basic 8.0. + + The unsigned Integer characters 'UI'. + New for Visual Basic 8.0. + + The unsigned Long characters 'UL'. + New for Visual Basic 8.0. + + All type characters. + + + A character that denotes the type of something. + + + + The location of the ')'. + + + + Constructs a new argument collection. + + The arguments in the collection. + The location of the commas in the collection. + The location of the ')'. + The location of the parse tree. + + + A read-only collection of arguments. + + + + The location of the '}'. + + + + Constructs a new collection of attributes. + + The attributes in the collection. + The location of the commas in the list. + The location of the right bracket. + The location of the parse tree. + + + A read-only collection of attributes. + + + + A parse tree for a case clause in a Select statement. + + + + Constructs a new collection of attribute blocks. + + The attribute blockss in the collection. + The location of the parse tree. + + + A read-only collection of attributes. + + + + The location of the 'RemoveHandler'. + + + + The accessor's parameters. + + + + The statements in the accessor. + + + + The End declaration for the accessor. + + + + Constructs a new parse tree for a property accessor. + + The attributes for the parse tree. + The location of the 'RemoveHandler'. + The parameters of the declaration. + The statements in the declaration. + The end block declaration, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a RemoveHandler property accessor. + + + + Constructs a new parse tree for a CType expression. + + The location of the '('. + The expression to be converted. + The location of the ','. + The target type of the conversion. + The location of the ')'. + The location of the parse tree. + + + A parse tree for a CType expression. + + + + The type of the modifier. + + + + Constructs a new modifier parse tree. + + The type of the modifier. + The location of the parse tree. + + + A parse tree for a declaration modifier. + + + + The Finally statement. + + + + Constructs a new parse tree for a Finally block statement. + + The Finally statement. + The statements in the block. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Finally block statement. + + + + The location of the 'Of'. + + + + The location of the ')'. + + + + Constructs a new collection of type parameters. + + The location of the 'Of'. + The type parameters in the collection + The locations of the commas. + The location of the right parenthesis. + The location of the parse tree. + + + A collection of type parameters. + Constructs a parse tree for a Declare Sub statement. @@ -63,6 +603,74 @@ Dlrsoft.VBParser A parse tree for a Declare Sub statement. + + + The type of Option statement. + + + + The location of the Option type (e.g. "Strict"), if any. + + + + The location of the Option argument (e.g. "On"), if any. + + + + Constructs a new parse tree for an Option declaration. + + The type of the Option declaration. + The location of the Option type, if any. + The location of the Option argument, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Option declaration. + + + + The dictionary expression. + + + + The location of the '!'. + + + + The name to look up. + + + + Constructs a new parse tree for a dictionary lookup expression. + + The dictionary expression. + The location of the '!'. + The name to look up.. + The location of the parse tree. + + + A parse tree for a dictionary lookup expression. + + + + The literal value. + + + + The type character on the literal value. + + + + Constructs a new parse tree for a floating point literal. + + The literal value. + The type character on the literal. + The location of the parse tree. + + + A parse tree for a floating point literal. + The type of the instance expression. @@ -77,6 +685,183 @@ Dlrsoft.VBParser A parse tree for Me, MyBase or MyClass. + + + The target array type to create. + + + + The initializer for the array. + + + + The constructor for a New array expression parse tree. + + The target array type to create. + The initializer for the array. + The location of the parse tree. + + + A parse tree for a New array expression. + + + + The qualifier on the left-hand side of the dot. + + + + The location of the dot. + + + + The name on the right-hand side of the dot. + + + + Constructs a new parse tree for a qualified name. + + The qualifier on the left-hand side of the dot. + The location of the dot. + The name on the right-hand side of the dot. + The location of the parse tree. + + + A parse tree for a qualified name (e.g. 'foo.bar'). + + + + The location of the 'Else'. + + + + Constructs a new parse tree for a Case Else statement. + + The location of the 'Else'. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Case Else statement. + + + + Constructs a new parse tree for a With statement block. + + The expression. + The statements in the block. + The End statement for the block, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a With block statement. + + + + The name of the type parameter. + + + + The location of the 'As', if any. + + + + The constraints, if any. + + + + Constructs a new parameter parse tree. + + The name of the type parameter. + The location of the 'As'. + The constraints on the type parameter. Can be Nothing. + The location of the parse tree. + + + A parse tree for a type parameter. + + + + The location of the '}', if any. + + + + Constructs a new collection of type constraints. + + The type constraints in the collection + The locations of the commas. + The location of the right bracket, if any. + The location of the parse tree. + + + A collection of type constraints. + + + + Constructs a new collection of case clauses. + + The case clauses in the collection. + The locations of the commas in the list. + The location of the parse tree. + + + A collection of case clauses. + + + + The location of the 'RaiseEvent'. + + + + The accessor's parameters. + + + + The statements in the accessor. + + + + The End declaration for the accessor. + + + + Constructs a new parse tree for a property accessor. + + The attributes for the parse tree. + The location of the 'RaiseEvent'. + The parameters of the declaration. + The statements in the declaration. + The end block declaration, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a RaiseEvent property accessor. + + + + The literal value. + + + + The type character on the literal. + + + + The integer base of the literal. + + + + Constructs a new parse tree for an integer literal. + + The literal value. + The integer base of the literal. + The type character on the literal. + The location of the parse tree. + + + A parse tree for an integer literal. + The operator. @@ -92,6 +877,216 @@ Dlrsoft.VBParser A parse tree for an unary operator expression. + + + The location of the '}'. + + + + Constructs a new initializer collection. + + The initializers in the collection. + The locations of the commas in the collection. + The location of the '}'. + The location of the parse tree. + + + A read-only collection of initializers. + + + + Constructs a new special name parse tree. + + The location of the parse tree. + + + A parse tree for a special name (i.e. 'Global'). + + + + Constructs a new parse tree for an Error statement. + + The expression. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Error statement. + + + + The type of an On Error statement. + + + + Constructs a new parse tree for a Stop statement. + + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Stop statement. + + + + The Catch statements. + + + + The Finally statement, if any. + + + + The End Try statement, if any. + + + + Constructs a new parse tree for a Try statement. + + The statements in the Try block. + The Catch statements. + The Finally statement, if any. + The End Try statement, if any. + The location of the parse tree. + The comments of the parse tree. + + + A parse tree for a Try statement. + + + Visual Basic 7.1 + Shipped in Visual Basic 2003 + + Visual Basic 8.0 + Shipped in Visual Basic 2005 + + + The version of the language you want. + + + + The filename that the checksum is for. + + + + The guid of the file. + + + + The checksum for the file. + + + + Constructs a new external checksum. + + The filename that the checksum is for. + The guid of the file. + The checksum for the file. + + + An external checksum for a file. + + + + The start location of the mapping in the source. + + + + The end location of the mapping in the source. + + + + The external file the source maps to. + + + + The external line number the source maps to. + + + + Constructs a new external line mapping. + + The start location in the source. + The end location in the source. + The name of the external file. + The line number in the external file. + + + A line mapping from a source span to an external file and line. + + + Base 10. + + Base 8. + + Base 16. + + + The numeric base of an integer literal. + + + + A collection of a particular type of trees + + The type of tree the collection contains. + + + The list of types. + + + + Constructs a parse tree for an Implements declaration. + + The types inherited or implemented. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Implements declaration. + + + + The list of types. + + + + Constructs a parse tree for an Inherits declaration. + + The types inherited or implemented. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Inherits declaration. + + + + Constructs a new parse tree for a DirectCast expression. + + The location of the '('. + The expression to be converted. + The location of the ','. + The target type of the conversion. + The location of the ')'. + The location of the parse tree. + + + A parse tree for a DirectCast expression. + + + + All the modifiers in the collection. + + + + Constructs a collection of modifiers. + + The modifiers in the collection. + The location of the parse tree. + + + A read-only collection of modifiers. + The attributes on the parameter. @@ -136,623 +1131,6 @@ Dlrsoft.VBParser A parse tree for a parameter. - - - The Case Else statement that started the block. - - - - Constructs a new parse tree for the block of a Case Else statement. - - The Case Else statement that started the block. - The statements in the block. - The location of the parse tree. - The comments of the tree. - - - A parse tree for the block of a Case Else statement. - - - - The target of the assignment. - - - - The compound operator. - - - - The location of the operator. - - - - The source of the assignment. - - - - Constructs a new parse tree for a compound assignment statement. - - The compound operator. - The target of the assignment. - The location of the operator. - The source of the assignment. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a compound assignment statement. - - - - The conditional expression. - - - - The location of the 'Then', if any. - - - - Constructs a new parse tree for an Else If statement. - - The conditional expression. - The location of the 'Then', if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an Else If statement. - - - - Constructs a new parse tree for an End statement. - - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an End statement. - - - - The location of the 'Case', if any. - - - - The location of the select expression. - - - - The Case statements. - - - - The Case Else statement, if any. - - - - The End Select statement, if any. - - - - Constructs a new parse tree for a Select statement. - - The location of the 'Case', if any. - The select expression. - The Case statements. - The Case Else statement, if any. - The End Select statement, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Select statement. - - - - Constructs a new parse tree for a SyncLock statement block. - - The expression. - The statements in the block. - The End statement for the block, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a SyncLock block statement. - - - - Constructs a new parse tree for a With statement block. - - The expression. - The statements in the block. - The End statement for the block, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a With block statement. - - - - The start location of the region. - - - - The end location of the region. - - - - The description of the region. - - - - Constructs a new source region. - - The start location of the region. - The end location of the region. - The description of the region. - - - A region marked in the source code. - - - - The literal value. - - - - Constructs a new date literal instance. - - The literal value. - The location of the literal. - - - A date/time literal. - - - - Determines if a token type is a keyword. - - The token type to check. - True if the token type is a keyword, False otherwise. - - - The identifier name. - - - - Whether the identifier is escaped. - - - - The type character of the identifier. - - - - Constructs a new identifier token. - - The token type of the identifier. - The unreserved token type of the identifier. - The text of the identifier - Whether the identifier is escaped. - The type character of the identifier. - The location of the identifier. - - - An identifier. - - - - A parse tree for a case clause in a Select statement. - - - - Constructs a new collection of case clauses. - - The case clauses in the collection. - The locations of the commas in the list. - The location of the parse tree. - - - A collection of case clauses. - - - - Disposes the parser. - - - - Parse an entire file. - - The scanner to use to fetch the tokens. - The list of errors produced during parsing. - A file-level parse tree. - - - Parse an entire file. - - The scanner to use to fetch the tokens. - The list of errors produced during parsing. - Pre-defined conditional compilation constants. - Source regions defined in the file. - External line mappings defined in the file. - A file-level parse tree. - - - Parse a declaration. - - The scanner to use to fetch the tokens. - The list of errors produced during parsing. - A declaration-level parse tree. - - - Parse a statement. - - The scanner to use to fetch the tokens. - The list of errors produced during parsing. - A statement-level parse tree. - - - Parse an expression. - - The scanner to use to fetch the tokens. - The list of errors produced during parsing. - An expression-level parse tree. - - - Parse a type name. - - The scanner to use to fetch the tokens. - The list of errors produced during parsing. - A typename-level parse tree. - - - A parser for the Visual Basic .NET language based on the grammar - documented in the Language Specification. - - - - The attributes. - - - - Constructs a new parse tree for assembly-level or module-level attribute declarations. - - The attributes. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an assembly-level or module-level attribute declaration. - - - - The location of the keyword. - - - - The name of the declaration. - - - - The declarations in the block. - - - - The End statement for the block. - - - - A parse tree for a block declaration. - - - - Constructs a new collection of declarations. - - The declarations in the collection. - The locations of the colons in the collection. - The location of the parse tree. - - - A read-only collection of declarations. - - - - Constructs a new parse tree for a delegate declaration. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The location of the 'Function'. - The name of the declaration. - The type parameters of the declaration, if any. - The parameters of the declaration. - The location of the 'As', if any. - The attributes on the result type, if any. - The result type, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a delegate Function declaration. - - - - Creates a new parse tree for a Function declaration. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The name of the declaration. - The type parameters on the declaration, if any. - The parameters of the declaration. - The location of the 'As', if any. - The attributes on the result type, if any. - The result type, if any. - The list of implemented members. - The list of handled events. - The statements in the declaration. - The end block declaration, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Function declaration. - - - - The list of implemented members. - - - - The property accessors. - - - - The End Property declaration, if any. - - - - Constructs a new parse tree for a property declaration. - - The attributes on the declaration. - The modifiers on the declaration. - The location of the keyword. - The name of the property. - The parameters of the property. - The location of the 'As', if any. - The attributes on the result type. - The result type, if any. - The implements list. - The property accessors. - The End Property declaration, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a property declaration. - - - - The location of the '('. - - - - The target type of the GetType expression. - - - - The location of the ')'. - - - - Constructs a new parse tree for a GetType expression. - - The location of the '('. - The target type of the GetType expression. - The location of the ')'. - The location of the parse tree. - - - A parse tree for a GetType expression. - - - - The name of the type being referred to. - - - - Constructs a new parse tree for a type reference. - - The name of the type being referred to. - The location of the parse tree. - - - A parse tree for an expression that refers to a type. - - - - The alias name. - - - - The location of the '='. - - - - The name being aliased. - - - - Constructs a new aliased import parse tree. - - The name of the alias. - The location of the '='. - The name being aliased. - The location of the parse tree. - - - A parse tree for an Imports statement that aliases a type or namespace. - - - - Whether the Do is followed by a While or Until, if any. - - - - The location of the While or Until, if any. - - - - The While or Until expression, if any. - - - - The ending Loop statement. - - - - Constructs a new parse tree for a Do statement. - - The While or Until expression, if any. - Whether the Do is followed by a While or Until, if any. - The location of the While or Until, if any. - The statements in the block. - The ending Loop statement. - The location of the parse tree. - The comments on the parse tree. - - - A parse tree for a Do statement. - - - - Constructs a new parse tree for a Finally statement. - - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Finally statement. - - - - Constructs a new parse tree for a Stop statement. - - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Stop statement. - - - - The location of the '}', if any. - - - - Constructs a new collection of type constraints. - - The type constraints in the collection - The locations of the commas. - The location of the right bracket, if any. - The location of the parse tree. - - - A collection of type constraints. - - - - The range expression. - - - - Constructs a new range case clause parse tree. - - The range expression. - The location of the parse tree. - - - A parse tree for a case clause that compares against a range of values. - - - - Constructs a new parse tree for a DirectCast expression. - - The location of the '('. - The expression to be converted. - The location of the ','. - The target type of the conversion. - The location of the ')'. - The location of the parse tree. - - - A parse tree for a DirectCast expression. - - - - The Else or Else If statement. - - - - Constructs a new parse tree for an Else block statement. - - The Else statement. - The statements in the block. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an Else block statement. - - - - The type of block the statement ends. - - - - The location of the end block argument. - - - - Creates a new parse tree for an End block statement. - - The type of the block the statement ends. - The location of the end block argument. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an End statement of a block. - - - - Constructs a new parse tree for an Error statement. - - The expression. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an Error statement. - - - - The expression. - - - - Constructs a new parse tree for an expression statement. - - The type of the parse tree. - The expression. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an expression statement. - Whether the Loop has a While or Until. @@ -778,400 +1156,142 @@ Dlrsoft.VBParser A parse tree for a Loop statement. - + - Whether the Mid identifier had a type character. - - - - The location of the left parenthesis. - - - - The target of the assignment. - - - - The location of the comma before the start expression. - - - - The expression representing the start of the string to replace. - - - - The location of the comma before the length expression, if any. - - - - The expression representing the length of the string to replace, if any. - - - - The right parenthesis location. - - - - The location of the operator. - - - - The source of the assignment. - - - - Constructs a new parse tree for an assignment statement. - - Whether the Mid identifier has a type character. - The location of the left parenthesis. - The target of the assignment. - The location of the comma before the start expression. - The expression representing the start of the string to replace. - The location of the comma before the length expression, if any. - The expression representing the length of the string to replace, if any. - The location of the operator. - The source of the assignment. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Mid assignment statement. - - - - Create a new line terminator token. - - The location of the line terminator. - - - A line terminator. - - - - The type of a token. - - - - The start location of the mapping in the source. - - - - The end location of the mapping in the source. - - - - The external file the source maps to. - - - - The external line number the source maps to. - - - - Constructs a new external line mapping. - - The start location in the source. - The end location in the source. - The name of the external file. - The line number in the external file. - - - A line mapping from a source span to an external file and line. - - - - The character set of a Declare statement. - - - - Constructs a new parse tree for a delegate Sub declaration. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The location of the 'Sub'. - The name of the declaration. - The type parameters of the declaration, if any. - The parameters of the declaration. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a delegate Sub declaration. - - - - The list of types. - - - - Constructs a parse tree for an Inherits declaration. - - The types inherited or implemented. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an Inherits declaration. - - - - The location of 'Namespace'. - - - - The name of the namespace. - - - - The declarations in the namespace. - - - - The End Namespace declaration, if any. - - - - Constructs a parse tree for a namespace declaration. - - The attributes on the declaration. - The modifiers on the declaration. - The location of 'Namespace'. - The name of the namespace. - The declarations in the namespace. - The End Namespace statement, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a namespace declaration. - - - - Constructs a new parse tree for a Structure declaration. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The name of the declaration. - The type parameters on the declaration, if any. - The declarations in the block. - The end block declaration, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Structure declaration. - - - - The intrinsic type conversion. - - - - The location of the '('. - - - - The location of the ')'. - - - - Constructs a new parse tree for an intrinsic conversion expression. - - The intrinsic type conversion. - The location of the '('. - The expression to convert. - The location of the ')'. - The location of the parse tree. - - - A parse tree for an intrinsic conversion expression. - - - - The literal value. - - - - Constructs a new string literal expression parse tree. - - The literal value. - The location of the parse tree. - - - A parse tree for a string literal expression. - - - - The qualifier on the left-hand side of the dot. - - - - The location of the dot. - - - - The name on the right-hand side of the dot. - - - - Constructs a new parse tree for a qualified name. - - The qualifier on the left-hand side of the dot. - The location of the dot. - The name on the right-hand side of the dot. - The location of the parse tree. - - - A parse tree for a qualified name (e.g. 'foo.bar'). - - - - Constructs a new variable name collection. - - The variable names in the collection. - The locations of the commas in the collection. - The location of the parse tree. - - - A read-only collection of variable names. - - - - The type of an On Error statement. - - - - Constructs a new parse tree for a Return statement. - - The expression. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an expression statement. - - - - Constructs a new collection of statements. - - The statements in the collection. - The locations of the colons in the collection. - The location of the parse tree. - - - A read-only collection of statements. - - - - The value of the literal. - - - - The type character of the literal. - - - - The integer base of the literal. - - - - Constructs a new integer literal. - - The literal value. - The integer base of the literal. - The type character of the literal. - The location of the literal. - - - An integer literal. - - - - The left operand expression. - - - - The operator. - - - - The location of the operator. - - - - The right operand expression. - - - - Constructs a new parse tree for a binary operation. - - The left operand expression. - The operator. - The location of the operator. - The right operand expression. - The location of the parse tree. - - - A parse tree for a binary operator expression. - - - - The expression qualifying the name. - - - - The location of the '.'. - - - - The qualified name. - - - - Constructs a new parse tree for a qualified name expression. - - The expression qualifying the name. - The location of the '.'. - The qualified name. - The location of the parse tree. - - - A parse tree for a qualified name expression. - - - - Constructs a new parse tree for an AddHandler statement. + Constructs a new parse tree for a RemoveHandler statement. The name of the event. The location of the ','. The delegate expression. The location of the parse tree. The comments for the parse tree. - + - A parse tree for an AddHandler statement. + A parse tree for a RemoveHandler statement. - + - The type of tree this statement exits. + The type of the Resume statement. - + - The location of the exit statement type. + The location of the 'Next', if any. - + - Constructs a parse tree for an Exit statement. + Constructs a parse tree for a Resume statement. - The type of tree this statement exits. - The location of the exit statement type. + The type of the Resume statement. + The location of the 'Next', if any. + The label name, if any. + Whether the label is a line number. + The location of the parse tree. + The comments of the parse tree. + + + A parse tree for a Resume statement. + + + + The start location of the region. + + + + The end location of the region. + + + + The description of the region. + + + + Constructs a new source region. + + The start location of the region. + The end location of the region. + The description of the region. + + + A region marked in the source code. + + + + The location of the 'AddHandler'. + + + + The accessor's parameters. + + + + The statements in the accessor. + + + + The End declaration for the accessor. + + + + Constructs a new parse tree for a property accessor. + + The attributes for the parse tree. + The location of the 'AddHandler'. + The parameters of the declaration. + The statements in the declaration. + The end block declaration, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for an Exit statement. + A parse tree for a AddHandler property accessor. + + + + The type of an Option declaration. + + + + Creates a bad expression. + + The location of the parse tree. + A bad expression. + + + Whether the expression is constant or not. + + + + A parse tree for an expression. + + + + The name of the type being referred to. + + + + Constructs a new parse tree for a type reference. + + The name of the type being referred to. + The location of the parse tree. + + + A parse tree for an expression that refers to a type. + + + + The expression. + + + + Constructs a new parse tree for an expression statement. + + The type of the parse tree. + The expression. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an expression statement. @@ -1210,55 +1330,575 @@ Dlrsoft.VBParser A parse tree for a While block statement. - + - The base expression. + The type name for the element type of the array. - + - The qualifying type arguments. + The rank of the array type name. - + - Constructs a new parse tree for a generic qualified expression. + The arguments of the array type name, if any. - The base expression. - The qualifying type arguments. + + + Constructs a new parse tree for an array type name. + + The type name for the array element type. + The rank of the array type name. + The arguments of the array type name, if any. The location of the parse tree. - + - A parse tree for a qualified name expression. + A parse tree for an array type name. - + + This tree may contain size arguments as well. + + - The location of the 'RaiseEvent'. + The start location of the span. - + - The accessor's parameters. + The end location of the span. - + - The statements in the accessor. + Whether the locations in the span are valid. - + - The End declaration for the accessor. + Constructs a new span with a specific start and end location. - + The beginning of the span. + The end of the span. + - Constructs a new parse tree for a property accessor. + Compares two specified Span values to see if they are equal. + + One span to compare. + The other span to compare. + True if the spans are the same, False otherwise. + + + Compares two specified Span values to see if they are not equal. + + One span to compare. + The other span to compare. + True if the spans are not the same, False otherwise. + + + Stores the location of a span of text. + + The end location is exclusive. + + + The type of the syntax error. + + + + The location of the syntax error. + + + + Constructs a new syntax error. + + The type of the syntax error. + The location of the syntax error. + + + A syntax error. + + + + Constructs a new punctuator token. + + The punctuator token type. + The location of the punctuator. + + + A punctuation token. + + + + The type a block declaration. + + + + The locations of the colons in the collection. + + + + A collection of trees that are colon delimited. + + + + The value of the literal. + + + + The type character of the literal. + + + + The integer base of the literal. + + + + Constructs a new unsigned integer literal. + + The literal value. + The integer base of the literal. + The type character of the literal. + The location of the literal. + + + An integer literal. + + + + Constructs a new parse tree for Global. + + The location of the parse tree. + + + A parse tree for Nothing. + + + + Constructs a new parse tree for an empty declaration. - The attributes for the parse tree. - The location of the 'RaiseEvent'. - The parameters of the declaration. - The statements in the declaration. - The end block declaration, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for a RaiseEvent property accessor. + A parse tree for an empty declaration. + + + + The location of the declaration's keyword. + + + + The name of the declaration. + + + + The type parameters on the declaration, if any. + + + + The parameters of the declaration. + + + + The location of the 'As', if any. + + + + The result type attributes, if any. + + + + The result type, if any. + + + + A parse tree for a declaration with a signature. + + + + The declarations in the file. + + + + Constructs a new file parse tree. + + The declarations in the file. + The location of the tree. + + + A parse tree for an entire file. + + + + The imported name. + + + + Constructs a new name import parse tree. + + The name to import. + The location of the parse tree. + + + A parse tree for an Imports statement for a name. + + + + The name, if any. + + + + The type character. + + + + Whether the name is escaped. + + + + Creates a bad simple name. + + The location of the parse tree. + A bad simple name. + + + Constructs a new simple name parse tree. + + The name, if any. + The type character. + Whether the name is escaped. + The location of the parse tree. + + + A parse tree for a simple name (e.g. 'foo'). + + + + The name of the catch variable, if any. + + + + The location of the 'As', if any. + + + + The type of the catch variable, if any. + + + + The location of the 'When', if any. + + + + The filter expression, if any. + + + + Constructs a new parse tree for a Catch statement. + + The name of the catch variable, if any. + The location of the 'As', if any. + The type of the catch variable, if any. + The location of the 'When', if any. + The filter expression, if any. + The location of the parse tree, if any. + The comments for the parse tree, if any. + + + A parse tree for a Catch statement. + + + + The event name. + + + + The location of the ','. + + + + The delegate expression. + + + + A parse tree for an AddHandler or RemoveHandler statement. + + + + Constructs a new collection of statements. + + The statements in the collection. + The locations of the colons in the collection. + The location of the parse tree. + + + A read-only collection of statements. + + + + Creates a new end-of-stream token. + + The location of the end of the stream. + + + A token representing the end of the file. + + + + Create a new line terminator token. + + The location of the line terminator. + + + A line terminator. + + + + The value of the literal. + + + + Constructs a new string literal token. + + The value of the literal. + The location of the literal. + + + A string literal. + + + + The name of the argument, if any. + + + + The location of the ':=', if any. + + + + The argument, if any. + + + + Constructs a new parse tree for an argument. + + The name of the argument, if any. + The location of the ':=', if any. + The expression, if any. + The location of the parse tree. + + + A parse tree for an argument to a call or index. + + + + The type of an intrinsic type name. + + + + The type of the tree. + + + + The location of the tree. + + + The span ends at the first character beyond the tree + + + + The parent of the tree. Nothing if the root tree. + + + + The children of the tree. + + + + Whether the tree is 'bad'. + + + + The root class of all trees. + + + + The target of the call or index. + + + + The arguments to the call or index. + + + + Constructs a new parse tree for a call or index expression. + + The target of the call or index. + The arguments to the call or index. + The location of the parse tree. + + + A parse tree for a call or index expression. + + + + The location of the '('. + + + + The location of the ','. + + + + The target type for the operand. + + + + The location of the ')'. + + + + A parse tree for a CType or DirectCast expression. + + + + The intrinsic type conversion. + + + + The location of the '('. + + + + The location of the ')'. + + + + Constructs a new parse tree for an intrinsic conversion expression. + + The intrinsic type conversion. + The location of the '('. + The expression to convert. + The location of the ')'. + The location of the parse tree. + + + A parse tree for an intrinsic conversion expression. + + + + Constructs a new parse tree for Nothing. + + The location of the parse tree. + + + A parse tree for Nothing. + + + + The literal value. + + + + Constructs a new string literal expression parse tree. + + The literal value. + The location of the parse tree. + + + A parse tree for a string literal expression. + + + + A parse tree for an initializer. + + + + A parse tree for a name. + + + + Constructs a new parse tree for an AddHandler statement. + + The name of the event. + The location of the ','. + The delegate expression. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an AddHandler statement. + + + + The type of tree this statement exits. + + + + The location of the exit statement type. + + + + Constructs a parse tree for an Exit statement. + + The type of tree this statement exits. + The location of the exit statement type. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Exit statement. + + + + The intrinsic type. + + + + Constructs a new intrinsic type parse tree. + + The intrinsic type. + The location of the parse tree. + + + A parse tree for an intrinsic type name. + + + + The name of the type. + + + + Creates a new bad named type. + + The location of the bad named type. + A bad named type. + + + Constructs a new named type parse tree. + + The name of the type. + The location of the parse tree. + + + A parse tree for a named type. + + + + The literal value. + + + + Constructs a new date literal instance. + + The literal value. + The location of the literal. + + + A date/time literal. + + + + The type of a tree. + + + + The character set of a Declare statement. @@ -1322,360 +1962,111 @@ Dlrsoft.VBParser A parse tree for an Enum declaration. - + - The name of the enumerated value. - - - - The location of the '=', if any. - - - - The enumerated value, if any. - - - - Constructs a new parse tree for an enumerated value. - - The attributes on the declaration. - The name of the declaration. - The location of the '=', if any. - The enumerated value, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an enumerated value declaration. - - - - The variables being declared. - - - - Constructs a parse tree for variable declarations. - - The attributes on the declaration. - The modifiers on the declaration. - The variables being declared. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for variable declarations. - - - - The literal value. - - - - Constructs a new parse tree for a Boolean literal expression. - - The literal value. - The location of the parse tree. - - - A parse tree for a Boolean literal expression. - - - - The location of the '('. - - - - The location of the ','. - - - - The target type for the operand. - - - - The location of the ')'. - - - - A parse tree for a CType or DirectCast expression. - - - - Constructs a new parse tree for a CType expression. - - The location of the '('. - The expression to be converted. - The location of the ','. - The target type of the conversion. - The location of the ')'. - The location of the parse tree. - - - A parse tree for a CType expression. - - - - Creates a bad expression. - - The location of the parse tree. - A bad expression. - - - Whether the expression is constant or not. - - - - A parse tree for an expression. - - - - A parse tree for an initializer. - - - - The name of the catch variable, if any. - - - - The location of the 'As', if any. - - - - The type of the catch variable, if any. - - - - The location of the 'When', if any. - - - - The filter expression, if any. - - - - Constructs a new parse tree for a Catch statement. - - The name of the catch variable, if any. - The location of the 'As', if any. - The type of the catch variable, if any. - The location of the 'When', if any. - The filter expression, if any. - The location of the parse tree, if any. - The comments for the parse tree, if any. - - - A parse tree for a Catch statement. - - - - The variable names being declared. - - - - The location of the 'As', if any. - - - - The location of the 'New', if any. - - - - The type of the variables being declared, if any. - - - - The arguments to the constructor, if any. - - - - The location of the '=', if any. - - - - The variable initializer, if any. - - - - Constructs a new parse tree for a variable declarator. - - The names of the variables being declared. - The location of the 'As', if any. - The location of the 'New', if any. - The type of the variables being declared, if any. - The arguments of the constructor, if any. - The location of the '=', if any. - The variable initializer, if any. - The location of the parse tree. - - - A parse tree for a variable declarator (e.g. "x As Integer") - - - - The value of the literal. - - - - The type character after the literal. - - - - Constructs a new floating point literal token. - - The literal value. - The type character of the literal. - The location of the literal. - - - A floating point literal. - - - - The literal value. - - - - The type character on the literal value. - - - - Constructs a new parse tree for a floating point literal. - - The literal value. - The type character on the literal value. - The location of the parse tree. - - - A parse tree for a decimal literal expression. - - - - The target array type to create. - - - - The initializer for the array. - - - - The constructor for a New array expression parse tree. - - The target array type to create. - The initializer for the array. - The location of the parse tree. - - - A parse tree for a New array expression. - - - - The location of the 'Of'. - - - - The location of the ')'. - - - - Constructs a new collection of type parameters. - - The location of the 'Of'. - The type parameters in the collection - The locations of the commas. - The location of the right parenthesis. - The location of the parse tree. - - - A collection of type parameters. - - - - The type of a syntax error. - - - - The type of an intrinsic type name. - - - - The declarations in the file. - - - - Constructs a new file parse tree. - - The statements in the file. - The location of the tree. - - - The location of the 'AddHandler'. - - - - The accessor's parameters. - - - - The statements in the accessor. - - - - The End declaration for the accessor. - - - - Constructs a new parse tree for a property accessor. + Constructs a new parse tree for a Interface declaration. The attributes for the parse tree. - The location of the 'AddHandler'. - The parameters of the declaration. - The statements in the declaration. + The modifiers for the parse tree. + The location of the keyword. + The name of the declaration. + The type parameters on the declaration, if any. + The declarations in the block. The end block declaration, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for a AddHandler property accessor. + A parse tree for a Interface declaration. - + - The list of types. + Constructs a new parse tree for a Module declaration. - - - Constructs a parse tree for an Implements declaration. - - The types inherited or implemented. + The attributes for the parse tree. + The modifiers for the parse tree. + The location of the keyword. + The name of the declaration. + The declarations in the block. + The end block declaration, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for an Implements declaration. + A parse tree for a Module declaration. - + - The type of Option statement. + Constructs a new AddressOf expression parse tree. - + The operand of AddressOf. + The location of the parse tree. + - The location of the Option type (e.g. "Strict"), if any. + A parse tree for an AddressOf expression. - + - The location of the Option argument (e.g. "On"), if any. + The target type to create. - + - Constructs a new parse tree for an Option declaration. + The arguments to the constructor. - The type of the Option declaration. - The location of the Option type, if any. - The location of the Option argument, if any. + + + Constructs a new parse tree for a New expression. + + The target type to create. + The arguments to the constructor. + The location of the parse tree. + + + A parse tree for a New expression. + + + + The value of the literal. + + + + The type character of the literal. + + + + The integer base of the literal. + + + + Constructs a new integer literal. + + The literal value. + The integer base of the literal. + The type character of the literal. + The location of the literal. + + + An integer literal. + + + + The type of tree this statement continues. + + + + The location of the Continue statement type. + + + + Constructs a parse tree for an Continue statement. + + The type of tree this statement continues. + The location of the Continue statement type. The location of the parse tree. The comments for the parse tree. - + - A parse tree for an Option declaration. + A parse tree for an Continue statement. @@ -1709,24 +2100,387 @@ Dlrsoft.VBParser A parse tree for a Set property accessor. - + - The target type to create. + The literal value. - + - The arguments to the constructor. + Constructs a new parse tree for a character literal expression. - - - Constructs a new parse tree for a New expression. - - The target type to create. - The arguments to the constructor. + The literal value. The location of the parse tree. - + - A parse tree for a New expression. + A parse tree for a character literal expression. + + + + The location of the 'Is'. + + + + The target type for the operand. + + + + Constructs a new parse tree for a TypeOf ... Is expression. + + The target value. + The location of the 'Is'. + The target type to check against. + The location of the parse tree. + + + A parse tree for a TypeOf ... Is expression. + + + + The operand of the expression. + + + + A parse tree for an expression that has an operand. + + + + The type of a parse tree modifier. + + + + The Catch statement. + + + + Constructs a new parse tree for a Catch block statement. + + The Catch statement. + The statements in the block. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Catch block statement. + + + + The control expression for the loop. + + + + The control variable declarator, if any. + + + + The location of the '='. + + + + The lower bound of the loop. + + + + The location of the 'To'. + + + + The upper bound of the loop. + + + + The location of the 'Step', if any. + + + + The step of the loop, if any. + + + + The Next statement, if any. + + + + Constructs a new parse tree for a For statement. + + The control expression for the loop. + The control variable declarator, if any. + The location of the '='. + The lower bound of the loop. + The location of the 'To'. + The upper bound of the loop. + The location of the 'Step', if any. + The step of the loop, if any. + The statements in the For loop. + The Next statement, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a For statement. + + + + Constructs a parse tree for a GoTo statement. + + The label to branch to, if any. + Whether the label is a line number. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a GoTo statement. + + + + The conditional expression. + + + + The location of the 'Then'. + + + + The If statements. + + + + The location of the 'Else', if any. + + + + The Else statements. + + + + Constructs a new parse tree for a line If statement. + + The conditional expression. + The location of the 'Then'. + The If statements. + The location of the 'Else', if any. + The Else statements. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a line If statement. + + + + Constructs a new type name collection. + + The type names in the collection. + The locations of the commas in the collection. + The location of the parse tree. + + + A read-only collection of type names. + + + + Constructs a new collection of variable declarators. + + The variable declarators in the collection. + The locations of the commas in the list. + The location of the parse tree. + + + A read-only collection of variable declarators. + + + + The syntax error that represents the lexical error. + + + + Creates a new lexical error token. + + The type of the error. + The location of the error. + + + A lexical error. + + + + The location of the 'Is', if any. + + + + The comparison operator used in the case clause. + + + + The location of the comparison operator. + + + + The operand of the case clause. + + + + Constructs a new parse tree for a comparison case clause. + + The location of the 'Is', if any. + The comparison operator used. + The location of the comparison operator. + The operand of the comparison. + The location of the parse tree. + + + A parse tree for a case clause that compares values. + + + + The text of the comment. + + + + Whether the comment is a REM comment. + + + + Constructs a new comment parse tree. + + The text of the comment. + Whether the comment is a REM comment. + The location of the parse tree. + + + A parse tree for a comment. + + + + Disposes the parser. + + + + Parse an entire file. + + The scanner to use to fetch the tokens. + The list of errors produced during parsing. + A file-level parse tree. + + + Parse an entire file. + + The scanner to use to fetch the tokens. + The list of errors produced during parsing. + Pre-defined conditional compilation constants. + Source regions defined in the file. + External line mappings defined in the file. + A file-level parse tree. + + + Parse a declaration. + + The scanner to use to fetch the tokens. + The list of errors produced during parsing. + A declaration-level parse tree. + + + Parse a statement. + + The scanner to use to fetch the tokens. + The list of errors produced during parsing. + A statement-level parse tree. + + + Parse an expression. + + The scanner to use to fetch the tokens. + The list of errors produced during parsing. + An expression-level parse tree. + + + Parse a type name. + + The scanner to use to fetch the tokens. + The list of errors produced during parsing. + A typename-level parse tree. + + + A parser for the Visual Basic .NET language based on the grammar + documented in the Language Specification. + + + + The operator being overloaded. + + + + Creates a new parse tree for an overloaded operator declaration. + + The attributes for the parse tree. + The modifiers for the parse tree. + The location of the keyword. + The operator being overloaded. + The parameters of the declaration. + The location of the 'As', if any. + The attributes on the result type, if any. + The result type, if any. + The statements in the declaration. + The end block declaration, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an overloaded operator declaration. + + + + The type parameters of the type, if any. + + + + A parse tree for a possibly generic block declaration. + + + + The location of 'Auto', 'Ansi' or 'Unicode', if any. + + + + The charset. + + + + The location of 'Sub' or 'Function'. + + + + The location of 'Lib', if any. + + + + The library, if any. + + + + The location of 'Alias', if any. + + + + The alias, if any. + + + + A parse tree for a Declare statement. + + + + Constructs a new collection of expressions. + + The expressions in the collection. + The locations of the commas in the collection. + The location of the parse tree. + + + A read-only collection of expressions. + + + + A parse tree for a literal expression. @@ -1763,48 +2517,292 @@ Dlrsoft.VBParser A parse tree for an assignment statement. - + - The Catch statement. + The conditional expression. - + - Constructs a new parse tree for a Catch block statement. + The location of the 'Then', if any. - The Catch statement. + + + Constructs a new parse tree for an Else If statement. + + The conditional expression. + The location of the 'Then', if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Else If statement. + + + + The name of the label being referred to. + + + + Whether the label is a line number. + + + + A parse tree for a statement that refers to a label. + + + + Whether the comment was preceded by REM. + + + + The text of the comment. + + + + Constructs a new comment token. + + The comment value. + Whether the comment was preceded by REM. + The location of the comment. + + + A comment token. + + + + The type of a token. + + + Regular application. + + Applied to the netmodule. + + Applied to the assembly. + + + The type of an attribute usage. + + + + The location of 'Sub' or 'Function'. + + + + A parse tree for a delegate declaration. + + + + The members imported. + + + + Constructs a parse tree for an Imports declaration. + + The members imported. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Imports declaration. + + + + The attributes on the declaration. + + + + The modifiers on the declaration. + + + + A parse tree for a declaration with modifiers. + + + + Creates a new parse tree for a Sub declaration. + + The attributes for the parse tree. + The modifiers for the parse tree. + The location of the keyword. + The name of the declaration. + The type parameters on the declaration, if any. + The parameters of the declaration. + The list of implemented members. + The list of handled events. + The statements in the declaration. + The end block declaration, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Sub declaration. + + + + The literal value. + + + + Constructs a new parse tree for a date literal. + + The literal value. + The location of the parse tree. + + + A parse tree for a date literal expression. + + + + Constructs a collection of imports. + + The imports in the collection. + The location of the commas. + The location of the parse tree. + + + A read-only collection of imports. + + + + The target of the assignment. + + + + The compound operator. + + + + The location of the operator. + + + + The source of the assignment. + + + + Constructs a new parse tree for a compound assignment statement. + + The compound operator. + The target of the assignment. + The location of the operator. + The source of the assignment. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a compound assignment statement. + + + + The type of block the statement ends. + + + + The location of the end block argument. + + + + Creates a new parse tree for an End block statement. + + The type of the block the statement ends. + The location of the end block argument. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an End statement of a block. + + + + The location of the 'Each'. + + + + The control expression. + + + + The control variable declarator, if any. + + + + The location of the 'In'. + + + + The collection expression. + + + + The Next statement, if any. + + + + Constructs a new parse tree for a For Each statement. + + The location of the 'Each'. + The control expression. + The control variable declarator, if any. + The location of the 'In'. + The collection expression. The statements in the block. + The Next statement, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for a Catch block statement. + A parse tree for a For Each statement. - + - Constructs a parse tree for a GoTo statement. + The conditional expression. - The label to branch to, if any. - Whether the label is a line number. + + + The location of the 'Then', if any. + + + + The Else If statements. + + + + The Else statement, if any. + + + + The End If statement, if any. + + + + Constructs a new parse tree for a If statement. + + The conditional expression. + The location of the 'Then', if any. + The statements in the If block. + The Else If statements. + The Else statement, if any. + The End If statement, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for a GoTo statement. + A parse tree for an If block. - + - A parse tree for a type name. + The type arguments. - + - Constructs a new collection of variable declarators. + Constructs a new parse tree for a generic constructed type name. - The variable declarators in the collection. - The locations of the commas in the list. + The generic type being constructed. + The type arguments. The location of the parse tree. - + - A read-only collection of variable declarators. + A parse tree for a constructed generic type name. @@ -1908,6 +2906,20 @@ Dlrsoft.VBParser A lexical analyzer for Visual Basic .NET. It produces a stream of lexical tokens. + + + The literal value. + + + + Constructs a new character literal token. + + The literal value. + The location of the literal. + + + A character literal. + The literal value. @@ -1927,390 +2939,530 @@ Dlrsoft.VBParser A decimal literal token. - + - The value of the literal. + Determines if a token type is a keyword. - + The token type to check. + True if the token type is a keyword, False otherwise. + - Constructs a new string literal token. + The identifier name. - The value of the literal. - The location of the literal. - + - A string literal. + Whether the identifier is escaped. - + + + The type character of the identifier. + + + + Constructs a new identifier token. + + The token type of the identifier. + The unreserved token type of the identifier. + The text of the identifier + Whether the identifier is escaped. + The type character of the identifier. + The location of the identifier. + + + An identifier. + + + + The location of the 'Get'. + + + + The statements in the accessor. + + + + The End declaration for the accessor. + + + + Constructs a new parse tree for a Get property accessor. + + The attributes for the parse tree. + The modifiers for the parse tree. + The location of the 'Get'. + The statements in the declaration. + The end block declaration, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Get property accessor. + + + + The left operand expression. + + + + The operator. + + + + The location of the operator. + + + + The right operand expression. + + + + Constructs a new parse tree for a binary operation. + + The left operand expression. + The operator. + The location of the operator. + The right operand expression. + The location of the parse tree. + + + A parse tree for a binary operator expression. + + + + The literal value. + + + + Constructs a new parse tree for a Boolean literal expression. + + The literal value. + The location of the parse tree. + + + A parse tree for a Boolean literal expression. + + + + A parse tree for an Imports statement. + + + + The elements of the aggregate initializer. + + + + Constructs a new aggregate initializer parse tree. + + The elements of the aggregate initializer. + The location of the parse tree. + + + A parse tree for an aggregate initializer. + + + + The expression. + + + + Constructs a new expression initializer parse tree. + + The expression. + The location of the parse tree. + + + A parse tree for an expression initializer. + + + + The location of the 'Call', if any. + + + + The target of the call. + + + + The arguments to the call. + + + + Constructs a new parse tree for a method call statement. + + The location of the 'Call', if any. + The target of the call. + The arguments to the call. + The location of the parse tree. + The comments of the parse tree. + + + A parse tree for a method call statement. + + + + The Case statement that started the block. + + + + Constructs a new parse tree for the block of a Case statement. + + The Case statement that started the block. + The statements in the block. + The location of the parse tree. + The comments of the tree. + + + A parse tree for the block of a Case statement. + + + + The clauses in the Case statement. + + + + Constructs a new parse tree for a Case statement. + + The clauses in the Case statement. + The location of the parse tree. + The comments on the parse tree. + + + A parse tree for a Case statement. + + + + The Else If statement. + + + + Constructs a new parse tree for an Else If block statement. + + The Else If statement. + The statements in the block. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Else If block statement. + + + + Constructs a new parse tree for an End statement. + + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an End statement. + + + + The variables to erase. + + + + Constructs a new parse tree for an Erase statement. + + The variables to erase. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Erase statement. + + + + The type of On Error statement. + + + + The location of the 'Error'. + + + + The location of the 'Resume' or 'GoTo'. + + + + The location of the 'Next', '0' or '-', if any. + + + + The location of the '1', if any. + + + + Constructs a parse tree for an On Error statement. + + The type of the On Error statement. + The location of the 'Error'. + The location of the 'Resume' or 'GoTo'. + The location of the 'Next', '0' or '-', if any. + The location of the '1', if any. + The label to branch to, if any. + Whether the label is a line number. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an On Error statement. + + + + The location of the 'Case', if any. + + + + The location of the select expression. + + + + The Case statements. + + + + The Case Else statement, if any. + + + + The End Select statement, if any. + + + + Constructs a new parse tree for a Select statement. + + The location of the 'Case', if any. + The select expression. + The Case statements. + The Case Else statement, if any. + The End Select statement, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Select statement. + + + + Constructs a new parse tree for a Throw statement. + + The expression. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Throw statement. + + + + The attributes. + + + + Constructs a new parse tree for assembly-level or module-level attribute declarations. + + The attributes. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an assembly-level or module-level attribute declaration. + + + + Constructs a new parse tree for a delegate Sub declaration. + + The attributes for the parse tree. + The modifiers for the parse tree. + The location of the keyword. + The location of the 'Sub'. + The name of the declaration. + The type parameters of the declaration, if any. + The parameters of the declaration. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a delegate Sub declaration. + + + + The location of 'Namespace'. + + + + The name of the namespace. + + + + The declarations in the namespace. + + + + The End Namespace declaration, if any. + + + + Constructs a parse tree for a namespace declaration. + + The attributes on the declaration. + The modifiers on the declaration. + The location of 'Namespace'. + The name of the namespace. + The declarations in the namespace. + The End Namespace statement, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a namespace declaration. + + + + Constructs a new parse tree for a Structure declaration. + + The attributes for the parse tree. + The modifiers for the parse tree. + The location of the keyword. + The name of the declaration. + The type parameters on the declaration, if any. + The declarations in the block. + The end block declaration, if any. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Structure declaration. + + + + The type of an instance expression. + + The location of the ')'. - + - Constructs a new argument collection. + Constructs a new parenthesized expression parse tree. - The arguments in the collection. - The location of the commas in the collection. + The operand of the expression. The location of the ')'. The location of the parse tree. - + - A read-only collection of arguments. + A parse tree for a parenthesized expression. - - - The location of the 'Is', if any. - - - - The comparison operator used in the case clause. - - - - The location of the comparison operator. - - - - The operand of the case clause. - - - - Constructs a new parse tree for a comparison case clause. - - The location of the 'Is', if any. - The comparison operator used. - The location of the comparison operator. - The operand of the comparison. - The location of the parse tree. - - - A parse tree for a case clause that compares values. - - - - Constructs a new parse tree for an empty declaration. - - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an empty declaration. - - - - The dictionary expression. - - - - The location of the '!'. - - - - The name to look up. - - - - Constructs a new parse tree for a dictionary lookup expression. - - The dictionary expression. - The location of the '!'. - The name to look up.. - The location of the parse tree. - - - A parse tree for a dictionary lookup expression. - - - - Constructs a new collection of expressions. - - The expressions in the collection. - The locations of the commas in the collection. - The location of the parse tree. - - - A read-only collection of expressions. - - - - The location of the '}'. - - - - Constructs a new initializer collection. - - The initializers in the collection. - The locations of the commas in the collection. - The location of the '}'. - The location of the parse tree. - - - A read-only collection of initializers. - - - - The statement modifiers. - - - - The variable declarators. - - - - Constructs a new parse tree for a local declaration statement. - - The statement modifiers. - The variable declarators. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a local declaration statement. - - - - Constructs a new parse tree for a RemoveHandler statement. - - The name of the event. - The location of the ','. - The delegate expression. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a RemoveHandler statement. - - - - The location of the commas in the list. - - - - A collection of trees that are delimited by commas. - - - - The members imported. - - - - Constructs a parse tree for an Imports declaration. - - The members imported. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an Imports declaration. - - - - The attributes on the declaration. - - - - The modifiers on the declaration. - - - - A parse tree for a declaration with modifiers. - - - - Constructs a new parse tree for Nothing. - - The location of the parse tree. - - - A parse tree for Nothing. - - - - Constructs a collection of imports. - - The imports in the collection. - The location of the commas. - The location of the parse tree. - - - A read-only collection of imports. - - - - Constructs a new name collection. - - The names in the collection. - The locations of the commas in the collection. - The location of the parse tree. - - - A read-only collection of names. - - + The name. - + - The array modifier, if any. - - - - Constructs a new variable name parse tree. + Constructs a new parse tree for a simple name expression. The name. - The array modifier, if any. The location of the parse tree. - + - A parse tree to represent a variable name. + A parse tree for a simple name expression. - - A variable name can have an array modifier after it (e.g. 'x(10) As Integer'). - - + - The location of the 'Else'. + Constructs a new variable name collection. - - - Constructs a new parse tree for a Case Else statement. - - The location of the 'Else'. + The variable names in the collection. + The locations of the commas in the collection. The location of the parse tree. - The comments for the parse tree. - + - A parse tree for a Case Else statement. + A read-only collection of variable names. - + - The location of the 'Each'. + The Case Else statement that started the block. - + - The control expression. + Constructs a new parse tree for the block of a Case Else statement. - - - The control variable declarator, if any. - - - - The location of the 'In'. - - - - The collection expression. - - - - The Next statement, if any. - - - - Constructs a new parse tree for a For Each statement. - - The location of the 'Each'. - The control expression. - The control variable declarator, if any. - The location of the 'In'. - The collection expression. + The Case Else statement that started the block. The statements in the block. - The Next statement, if any. + The location of the parse tree. + The comments of the tree. + + + A parse tree for the block of a Case Else statement. + + + + Constructs a new parse tree for an empty statement. + The location of the parse tree. The comments for the parse tree. - + - A parse tree for a For Each statement. + A parse tree for an empty statement. - + - The comments for the tree. + Constructs a parse tree for a label declaration statement. - - - A parse tree for a statement. - - - - The name of the type parameter. - - - - The location of the 'As', if any. - - - - The constraints, if any. - - - - Constructs a new parameter parse tree. - - The name of the type parameter. - The location of the 'As'. - The constraints on the type parameter. Can be Nothing. + The label to branch to, if any. + Whether the label is a line number. The location of the parse tree. - + The comments for the parse tree. + - A parse tree for a type parameter. + A parse tree for a label declaration statement. - + - Whether the comment was preceded by REM. + The name of the event to raise. - + - The text of the comment. + The arguments to the event. - + - Constructs a new comment token. + Constructs a new parse tree for a RaiseEvents statement. - The comment value. - Whether the comment was preceded by REM. - The location of the comment. - + The name of the event to raise. + The arguments to the event. + The location of the parse tree. + The comments for the parse tree. + - A comment token. + A parse tree for a RaiseEvent statement. - + - The type of the token. + Constructs a new parse tree for a Return statement. - + The expression. + The location of the parse tree. + The comments for the parse tree. + - The span of the token in the source text. + A parse tree for an expression statement. - + - Returns the unreserved keyword type of an identifier. + Constructs a new parse tree for a SyncLock statement block. - The unreserved keyword type of an identifier, the token's type otherwise. - + The expression. + The statements in the block. + The End statement for the block, if any. + The location of the parse tree. + The comments for the parse tree. + - The base class for all tokens. Contains line and column information as well as token type. + A parse tree for a SyncLock block statement. - - Regular application. - - Applied to the netmodule. - - Applied to the assembly. - + - The type of an attribute usage. - - - Base 10. - - Base 8. - - Base 16. - - - The numeric base of an integer literal. + A parse tree for a type name. @@ -2388,242 +3540,76 @@ Dlrsoft.VBParser Stores source code line and column information. - + - The location of the 'RemoveHandler'. + The declarations in the file. - + - The accessor's parameters. + Constructs a new file parse tree. - + The statements in the file. + The location of the tree. + - The statements in the accessor. + The variable declarators, if no expression. - + - The End declaration for the accessor. + Constructs a new parse tree for a Using statement block with an expression. - - - Constructs a new parse tree for a property accessor. - - The attributes for the parse tree. - The location of the 'RemoveHandler'. - The parameters of the declaration. - The statements in the declaration. - The end block declaration, if any. + The expression. + The statements in the block. + The End statement for the block, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for a RemoveHandler property accessor. + Constructs a new parse tree for a Using statement block with variable declarators. - + The variable declarators. + The statements in the block. + The End statement for the block, if any. + The location of the parse tree. + The comments for the parse tree. + - The location of the 'Get'. + A parse tree for a Using block statement. - + - The statements in the accessor. + Constructs a new collection of declarations. - + The declarations in the collection. + The locations of the colons in the collection. + The location of the parse tree. + - The End declaration for the accessor. + A read-only collection of declarations. - + - Constructs a new parse tree for a Get property accessor. + Constructs a new parse tree for a delegate declaration. The attributes for the parse tree. The modifiers for the parse tree. - The location of the 'Get'. - The statements in the declaration. - The end block declaration, if any. + The location of the keyword. + The location of the 'Function'. + The name of the declaration. + The type parameters of the declaration, if any. + The parameters of the declaration. + The location of the 'As', if any. + The attributes on the result type, if any. + The result type, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for a Get property accessor. + A parse tree for a delegate Function declaration. - + - The location of the ')'. - - - - Constructs a new parenthesized expression parse tree. - - The operand of the expression. - The location of the ')'. - The location of the parse tree. - - - A parse tree for a parenthesized expression. - - - - The location of the 'Call', if any. - - - - The target of the call. - - - - The arguments to the call. - - - - Constructs a new parse tree for a method call statement. - - The location of the 'Call', if any. - The target of the call. - The arguments to the call. - The location of the parse tree. - The comments of the parse tree. - - - A parse tree for a method call statement. - - - - The clauses in the Case statement. - - - - Constructs a new parse tree for a Case statement. - - The clauses in the Case statement. - The location of the parse tree. - The comments on the parse tree. - - - A parse tree for a Case statement. - - - - The event name. - - - - The location of the ','. - - - - The delegate expression. - - - - A parse tree for an AddHandler or RemoveHandler statement. - - - - The name of the event to raise. - - - - The arguments to the event. - - - - Constructs a new parse tree for a RaiseEvents statement. - - The name of the event to raise. - The arguments to the event. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a RaiseEvent statement. - - - - The Catch statements. - - - - The Finally statement, if any. - - - - The End Try statement, if any. - - - - Constructs a new parse tree for a Try statement. - - The statements in the Try block. - The Catch statements. - The Finally statement, if any. - The End Try statement, if any. - The location of the parse tree. - The comments of the parse tree. - - - A parse tree for a Try statement. - - - - The type name for the element type of the array. - - - - The rank of the array type name. - - - - The arguments of the array type name, if any. - - - - Constructs a new parse tree for an array type name. - - The type name for the array element type. - The rank of the array type name. - The arguments of the array type name, if any. - The location of the parse tree. - - - A parse tree for an array type name. - - - This tree may contain size arguments as well. - - - - The type of the syntax error. - - - - The location of the syntax error. - - - - Constructs a new syntax error. - - The type of the syntax error. - The location of the syntax error. - - - A syntax error. - - - - A collection of a particular type of trees - - The type of tree the collection contains. - - - The location of 'Sub' or 'Function'. - - - - A parse tree for a delegate declaration. - - - - Creates a new parse tree for a Sub declaration. + Creates a new parse tree for a Function declaration. The attributes for the parse tree. The modifiers for the parse tree. @@ -2631,85 +3617,112 @@ Dlrsoft.VBParser The name of the declaration. The type parameters on the declaration, if any. The parameters of the declaration. + The location of the 'As', if any. + The attributes on the result type, if any. + The result type, if any. The list of implemented members. The list of handled events. The statements in the declaration. The end block declaration, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for a Sub declaration. + A parse tree for a Function declaration. - + - The target of the call or index. + The list of implemented members. - + - The arguments to the call or index. + The property accessors. - + - Constructs a new parse tree for a call or index expression. + The End Property declaration, if any. - The target of the call or index. - The arguments to the call or index. - The location of the parse tree. - + - A parse tree for a call or index expression. + Constructs a new parse tree for a property declaration. - - - The type of an instance expression. - - - - The name. - - - - Constructs a new parse tree for a simple name expression. - - The name. - The location of the parse tree. - - - A parse tree for a simple name expression. - - - - A parse tree for an Imports statement. - - - - All the modifiers in the collection. - - - - Constructs a collection of modifiers. - - The modifiers in the collection. - The location of the parse tree. - - - A read-only collection of modifiers. - - - - The variables to erase. - - - - Constructs a new parse tree for an Erase statement. - - The variables to erase. + The attributes on the declaration. + The modifiers on the declaration. + The location of the keyword. + The name of the property. + The parameters of the property. + The location of the 'As', if any. + The attributes on the result type. + The result type, if any. + The implements list. + The property accessors. + The End Property declaration, if any. The location of the parse tree. The comments for the parse tree. - + - A parse tree for an Erase statement. + A parse tree for a property declaration. + + + + The literal value. + + + + The type character on the literal value. + + + + Constructs a new parse tree for a floating point literal. + + The literal value. + The type character on the literal value. + The location of the parse tree. + + + A parse tree for a decimal literal expression. + + + + Constructs a new name collection. + + The names in the collection. + The locations of the commas in the collection. + The location of the parse tree. + + + A read-only collection of names. + + + + Whether the Do is followed by a While or Until, if any. + + + + The location of the While or Until, if any. + + + + The While or Until expression, if any. + + + + The ending Loop statement. + + + + Constructs a new parse tree for a Do statement. + + The While or Until expression, if any. + Whether the Do is followed by a While or Until, if any. + The location of the While or Until, if any. + The statements in the block. + The ending Loop statement. + The location of the parse tree. + The comments on the parse tree. + + + A parse tree for a Do statement. @@ -2723,52 +3736,237 @@ Dlrsoft.VBParser A parse tree for an expression block statement. - + - The type of the Resume statement. + The comments for the tree. - + - The location of the 'Next', if any. + A parse tree for a statement. - + - Constructs a parse tree for a Resume statement. + The type of the token. - The type of the Resume statement. - The location of the 'Next', if any. - The label name, if any. - Whether the label is a line number. + + + The span of the token in the source text. + + + + Returns the unreserved keyword type of an identifier. + + The unreserved keyword type of an identifier, the token's type otherwise. + + + The base class for all tokens. Contains line and column information as well as token type. + + + + The range expression. + + + + Constructs a new range case clause parse tree. + + The range expression. The location of the parse tree. - The comments of the parse tree. - + - A parse tree for a Resume statement. + A parse tree for a case clause that compares against a range of values. - + - Constructs a new parse tree for a Throw statement. + Constructs a new parse tree for a TryCast expression. + + The location of the '('. + The expression to be converted. + The location of the ','. + The target type of the conversion. + The location of the ')'. + The location of the parse tree. + + + A parse tree for a CType expression. + + + + Creates a bad declaration. - The expression. The location of the parse tree. The comments for the parse tree. - + A bad declaration. + - A parse tree for a Throw statement. + A parse tree for a declaration. - + - The intrinsic type. + The name of the enumerated value. - + - Constructs a new intrinsic type parse tree. + The location of the '=', if any. - The intrinsic type. + + + The enumerated value, if any. + + + + Constructs a new parse tree for an enumerated value. + + The attributes on the declaration. + The name of the declaration. + The location of the '=', if any. + The enumerated value, if any. The location of the parse tree. - + The comments for the parse tree. + - A parse tree for an intrinsic type name. + A parse tree for an enumerated value declaration. + + + + The list of implemented members. + + + + Constructs a parse tree for an event declaration. + + The attributes for the parse tree. + The modifiers for the parse tree. + The location of the keyword. + The name of the declaration. + The parameters of the declaration. + The location of the 'As', if any. + The attributes on the result type, if any. + The result type, if any. + The list of implemented members. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an event declaration. + + + + Constructs a new parse tree for an Else statement. + + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for an Else statement. + + + + Constructs a new parse tree for a Finally statement. + + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Finally statement. + + + + Whether the Mid identifier had a type character. + + + + The location of the left parenthesis. + + + + The target of the assignment. + + + + The location of the comma before the start expression. + + + + The expression representing the start of the string to replace. + + + + The location of the comma before the length expression, if any. + + + + The expression representing the length of the string to replace, if any. + + + + The right parenthesis location. + + + + The location of the operator. + + + + The source of the assignment. + + + + Constructs a new parse tree for an assignment statement. + + Whether the Mid identifier has a type character. + The location of the left parenthesis. + The target of the assignment. + The location of the comma before the start expression. + The expression representing the start of the string to replace. + The location of the comma before the length expression, if any. + The expression representing the length of the string to replace, if any. + The location of the operator. + The source of the assignment. + The location of the parse tree. + The comments for the parse tree. + + + A parse tree for a Mid assignment statement. + + + + The location of the 'Of'. + + + + The location of the ')'. + + + + Constructs a new collection of type arguments. + + The location of the 'Of'. + The type arguments in the collection + The locations of the commas. + The location of the right parenthesis. + The location of the parse tree. + + + A collection of type arguments. + + + + The value of the literal. + + + + The type character after the literal. + + + + Constructs a new floating point literal token. + + The literal value. + The type character of the literal. + The location of the literal. + + + A floating point literal. @@ -2804,1204 +4002,6 @@ Dlrsoft.VBParser A parse tree for an attribute usage. - - - The type of the tree. - - - - The location of the tree. - - - The span ends at the first character beyond the tree - - - - The parent of the tree. Nothing if the root tree. - - - - The children of the tree. - - - - Whether the tree is 'bad'. - - - - The root class of all trees. - - - - The type of a tree. - - - Visual Basic 7.1 - Shipped in Visual Basic 2003 - - Visual Basic 8.0 - Shipped in Visual Basic 2005 - - - The version of the language you want. - - - - The variable declarators, if no expression. - - - - Constructs a new parse tree for a Using statement block with an expression. - - The expression. - The statements in the block. - The End statement for the block, if any. - The location of the parse tree. - The comments for the parse tree. - - - Constructs a new parse tree for a Using statement block with variable declarators. - - The variable declarators. - The statements in the block. - The End statement for the block, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Using block statement. - - - - The type parameters of the type, if any. - - - - A parse tree for a possibly generic block declaration. - - - - The type of an Option declaration. - - - - The literal value. - - - - The type character on the literal value. - - - - Constructs a new parse tree for a floating point literal. - - The literal value. - The type character on the literal. - The location of the parse tree. - - - A parse tree for a floating point literal. - - - - The literal value. - - - - The type character on the literal. - - - - The integer base of the literal. - - - - Constructs a new parse tree for an integer literal. - - The literal value. - The integer base of the literal. - The type character on the literal. - The location of the parse tree. - - - A parse tree for an integer literal. - - - - A parse tree for a literal expression. - - - - The type of the modifier. - - - - Constructs a new modifier parse tree. - - The type of the modifier. - The location of the parse tree. - - - A parse tree for a declaration modifier. - - - - The name, if any. - - - - The type character. - - - - Whether the name is escaped. - - - - Creates a bad simple name. - - The location of the parse tree. - A bad simple name. - - - Constructs a new simple name parse tree. - - The name, if any. - The type character. - Whether the name is escaped. - The location of the parse tree. - - - A parse tree for a simple name (e.g. 'foo'). - - - - Constructs a new parse tree for an Else statement. - - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an Else statement. - - - - Constructs a new parse tree for an empty statement. - - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an empty statement. - - - - Constructs a parse tree for a label declaration statement. - - The label to branch to, if any. - Whether the label is a line number. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a label declaration statement. - - - - The literal value. - - - - Constructs a new character literal token. - - The literal value. - The location of the literal. - - - A character literal. - - - - Constructs a new punctuator token. - - The punctuator token type. - The location of the punctuator. - - - A punctuation token. - - - - The filename that the checksum is for. - - - - The guid of the file. - - - - The checksum for the file. - - - - Constructs a new external checksum. - - The filename that the checksum is for. - The guid of the file. - The checksum for the file. - - - An external checksum for a file. - - - - The value of the literal. - - - - The type character of the literal. - - - - The integer base of the literal. - - - - Constructs a new unsigned integer literal. - - The literal value. - The integer base of the literal. - The type character of the literal. - The location of the literal. - - - An integer literal. - - - - Constructs a new parse tree for Global. - - The location of the parse tree. - - - A parse tree for Nothing. - - - - Creates a bad declaration. - - The location of the parse tree. - The comments for the parse tree. - A bad declaration. - - - A parse tree for a declaration. - - - - The list of implemented members. - - - - Constructs a parse tree for an event declaration. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The name of the declaration. - The parameters of the declaration. - The location of the 'As', if any. - The attributes on the result type, if any. - The result type, if any. - The list of implemented members. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an event declaration. - - - - The location of the declaration's keyword. - - - - The name of the declaration. - - - - The type parameters on the declaration, if any. - - - - The parameters of the declaration. - - - - The location of the 'As', if any. - - - - The result type attributes, if any. - - - - The result type, if any. - - - - A parse tree for a declaration with a signature. - - - - Constructs a new AddressOf expression parse tree. - - The operand of AddressOf. - The location of the parse tree. - - - A parse tree for an AddressOf expression. - - - - The operand of the expression. - - - - A parse tree for an expression that has an operand. - - - - Constructs a new special name parse tree. - - The location of the parse tree. - - - A parse tree for a special name (i.e. 'Global'). - - - - The type of a Resume statement. - - - - The type arguments. - - - - Constructs a new parse tree for a generic constructed type name. - - The generic type being constructed. - The type arguments. - The location of the parse tree. - - - A parse tree for a constructed generic type name. - - - - The name of the type. - - - - Creates a new bad named type. - - The location of the bad named type. - A bad named type. - - - Constructs a new named type parse tree. - - The name of the type. - The location of the parse tree. - - - A parse tree for a named type. - - - - The location of the 'Of'. - - - - The location of the ')'. - - - - Constructs a new collection of type arguments. - - The location of the 'Of'. - The type arguments in the collection - The locations of the commas. - The location of the right parenthesis. - The location of the parse tree. - - - A collection of type arguments. - - - - The type a block declaration. - - - - Constructs a new collection of attribute blocks. - - The attribute blockss in the collection. - The location of the parse tree. - - - A read-only collection of attributes. - - - - The operator being overloaded. - - - - Creates a new parse tree for an overloaded operator declaration. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The operator being overloaded. - The parameters of the declaration. - The location of the 'As', if any. - The attributes on the result type, if any. - The result type, if any. - The statements in the declaration. - The end block declaration, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an overloaded operator declaration. - - - - Creates a new parse tree for a constructor declaration. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The name of the declaration. - The parameters of the declaration. - The statements in the declaration. - The end block declaration, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a constructor declaration. - - - - The type of block the declaration ends. - - - - The location of the end block argument. - - - - Creates a new parse tree for an End block declaration. - - The type of the block the statement ends. - The location of the end block argument. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an End declaration. - - - - The location of 'Auto', 'Ansi' or 'Unicode', if any. - - - - The charset. - - - - The location of 'Sub' or 'Function'. - - - - The location of 'Lib', if any. - - - - The library, if any. - - - - The location of 'Alias', if any. - - - - The alias, if any. - - - - A parse tree for a Declare statement. - - - - Constructs a parse tree for a Declare Function statement. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The location of the 'Ansi', 'Auto' or 'Unicode', if any. - The charset. - The location of 'Function'. - The name of the declaration. - The location of 'Lib', if any. - The library, if any. - The location of 'Alias', if any. - The alias, if any. - The parameters of the declaration. - The location of the 'As', if any. - The attributes on the result type, if any. - The result type, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Declare Function statement. - - - - Constructs a new parse tree for a Interface declaration. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The name of the declaration. - The type parameters on the declaration, if any. - The declarations in the block. - The end block declaration, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Interface declaration. - - - - Constructs a new parse tree for a Module declaration. - - The attributes for the parse tree. - The modifiers for the parse tree. - The location of the keyword. - The name of the declaration. - The declarations in the block. - The end block declaration, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Module declaration. - - - - The literal value. - - - - Constructs a new parse tree for a character literal expression. - - The literal value. - The location of the parse tree. - - - A parse tree for a character literal expression. - - - - The type of a parse tree modifier. - - - - The location of the ')'. - - - - Constructs a new collection of parameters. - - The parameters in the collection - The locations of the commas. - The location of the right parenthesis. - The location of the parse tree. - - - A collection of parameters. - - - - The Case statement that started the block. - - - - Constructs a new parse tree for the block of a Case statement. - - The Case statement that started the block. - The statements in the block. - The location of the parse tree. - The comments of the tree. - - - A parse tree for the block of a Case statement. - - - - The name of the label being referred to. - - - - Whether the label is a line number. - - - - A parse tree for a statement that refers to a label. - - - - The loop control variables. - - - - Constructs a parse tree for a Next statement. - - The loop control variables. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Next statement. - - - No type character - - The String symbol '$'. - - The Integer symbol '%'. - - The Long symbol '&'. - - The Short character 'S'. - - The Integer character 'I'. - - The Long character 'L'. - - The Single symbol '!'. - - The Double symbol '#'. - - The Decimal symbol '@'. - - The Single character 'F'. - - The Double character 'R'. - - The Decimal character 'D'. - - The unsigned Short characters 'US'. - New for Visual Basic 8.0. - - The unsigned Integer characters 'UI'. - New for Visual Basic 8.0. - - The unsigned Long characters 'UL'. - New for Visual Basic 8.0. - - All type characters. - - - A character that denotes the type of something. - - - - The syntax error that represents the lexical error. - - - - Creates a new lexical error token. - - The type of the error. - The location of the error. - - - A lexical error. - - - - The location of the '}'. - - - - Constructs a new collection of attributes. - - The attributes in the collection. - The location of the commas in the list. - The location of the right bracket. - The location of the parse tree. - - - A read-only collection of attributes. - - - - The locations of the colons in the collection. - - - - A collection of trees that are colon delimited. - - - - The list of implemented members. - - - - The events that the declaration handles. - - - - The statements in the declaration. - - - - The end block declaration, if any. - - - - A parse tree for a Sub, Function or constructor declaration. - - - - The literal value. - - - - Constructs a new parse tree for a date literal. - - The literal value. - The location of the parse tree. - - - A parse tree for a date literal expression. - - - - The type of a unary operator expression. - - - - The declarations in the file. - - - - Constructs a new file parse tree. - - The declarations in the file. - The location of the tree. - - - A parse tree for an entire file. - - - - A parse tree for a name. - - - - The statements in the block. - - - - A parse tree for a block statement. - - - - The conditional expression. - - - - The location of the 'Then', if any. - - - - The Else If statements. - - - - The Else statement, if any. - - - - The End If statement, if any. - - - - Constructs a new parse tree for a If statement. - - The conditional expression. - The location of the 'Then', if any. - The statements in the If block. - The Else If statements. - The Else statement, if any. - The End If statement, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an If block. - - - - The type of On Error statement. - - - - The location of the 'Error'. - - - - The location of the 'Resume' or 'GoTo'. - - - - The location of the 'Next', '0' or '-', if any. - - - - The location of the '1', if any. - - - - Constructs a parse tree for an On Error statement. - - The type of the On Error statement. - The location of the 'Error'. - The location of the 'Resume' or 'GoTo'. - The location of the 'Next', '0' or '-', if any. - The location of the '1', if any. - The label to branch to, if any. - Whether the label is a line number. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an On Error statement. - - - - The start location of the span. - - - - The end location of the span. - - - - Whether the locations in the span are valid. - - - - Constructs a new span with a specific start and end location. - - The beginning of the span. - The end of the span. - - - Compares two specified Span values to see if they are equal. - - One span to compare. - The other span to compare. - True if the spans are the same, False otherwise. - - - Compares two specified Span values to see if they are not equal. - - One span to compare. - The other span to compare. - True if the spans are not the same, False otherwise. - - - Stores the location of a span of text. - - The end location is exclusive. - - - The type of tree this statement continues. - - - - The location of the Continue statement type. - - - - Constructs a parse tree for an Continue statement. - - The type of tree this statement continues. - The location of the Continue statement type. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an Continue statement. - - - - The location of the 'Is'. - - - - The target type for the operand. - - - - Constructs a new parse tree for a TypeOf ... Is expression. - - The target value. - The location of the 'Is'. - The target type to check against. - The location of the parse tree. - - - A parse tree for a TypeOf ... Is expression. - - - - The imported name. - - - - Constructs a new name import parse tree. - - The name to import. - The location of the parse tree. - - - A parse tree for an Imports statement for a name. - - - - The elements of the aggregate initializer. - - - - Constructs a new aggregate initializer parse tree. - - The elements of the aggregate initializer. - The location of the parse tree. - - - A parse tree for an aggregate initializer. - - - - The expression. - - - - Constructs a new expression initializer parse tree. - - The expression. - The location of the parse tree. - - - A parse tree for an expression initializer. - - - - The Else If statement. - - - - Constructs a new parse tree for an Else If block statement. - - The Else If statement. - The statements in the block. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for an Else If block statement. - - - - The Finally statement. - - - - Constructs a new parse tree for a Finally block statement. - - The Finally statement. - The statements in the block. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a Finally block statement. - - - - The control expression for the loop. - - - - The control variable declarator, if any. - - - - The location of the '='. - - - - The lower bound of the loop. - - - - The location of the 'To'. - - - - The upper bound of the loop. - - - - The location of the 'Step', if any. - - - - The step of the loop, if any. - - - - The Next statement, if any. - - - - Constructs a new parse tree for a For statement. - - The control expression for the loop. - The control variable declarator, if any. - The location of the '='. - The lower bound of the loop. - The location of the 'To'. - The upper bound of the loop. - The location of the 'Step', if any. - The step of the loop, if any. - The statements in the For loop. - The Next statement, if any. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a For statement. - - - - The conditional expression. - - - - The location of the 'Then'. - - - - The If statements. - - - - The location of the 'Else', if any. - - - - The Else statements. - - - - Constructs a new parse tree for a line If statement. - - The conditional expression. - The location of the 'Then'. - The If statements. - The location of the 'Else', if any. - The Else statements. - The location of the parse tree. - The comments for the parse tree. - - - A parse tree for a line If statement. - - - - Constructs a new type name collection. - - The type names in the collection. - The locations of the commas in the collection. - The location of the parse tree. - - - A read-only collection of type names. - - - - Creates a new end-of-stream token. - - The location of the end of the stream. - - - A token representing the end of the file. - - - - The name of the argument, if any. - - - - The location of the ':=', if any. - - - - The argument, if any. - - - - Constructs a new parse tree for an argument. - - The name of the argument, if any. - The location of the ':=', if any. - The expression, if any. - The location of the parse tree. - - - A parse tree for an argument to a call or index. - - - - The text of the comment. - - - - Whether the comment is a REM comment. - - - - Constructs a new comment parse tree. - - The text of the comment. - Whether the comment is a REM comment. - The location of the parse tree. - - - A parse tree for a comment. - \ No newline at end of file diff --git a/aspclassiccompiler/bin/Release/Dlrsoft.VBScript.dll b/aspclassiccompiler/bin/Release/Dlrsoft.VBScript.dll index 6c96943..174ac73 100644 Binary files a/aspclassiccompiler/bin/Release/Dlrsoft.VBScript.dll and b/aspclassiccompiler/bin/Release/Dlrsoft.VBScript.dll differ diff --git a/aspclassiccompiler/bin/Release/Dlrsoft.VBScript.pdb b/aspclassiccompiler/bin/Release/Dlrsoft.VBScript.pdb index ae395cb..e86677d 100644 Binary files a/aspclassiccompiler/bin/Release/Dlrsoft.VBScript.pdb and b/aspclassiccompiler/bin/Release/Dlrsoft.VBScript.pdb differ diff --git a/aspclassiccompiler/bin/Release/Interop.ASPTypeLibrary.dll b/aspclassiccompiler/bin/Release/Interop.ASPTypeLibrary.dll index 7a4509e..72470cd 100644 Binary files a/aspclassiccompiler/bin/Release/Interop.ASPTypeLibrary.dll and b/aspclassiccompiler/bin/Release/Interop.ASPTypeLibrary.dll differ diff --git a/aspclassiccompiler/bin/Release/Microsoft.Dynamic.dll b/aspclassiccompiler/bin/Release/Microsoft.Dynamic.dll index e0d83f3..556c059 100644 Binary files a/aspclassiccompiler/bin/Release/Microsoft.Dynamic.dll and b/aspclassiccompiler/bin/Release/Microsoft.Dynamic.dll differ diff --git a/aspclassiccompiler/bin/Release/Microsoft.Scripting.Core.dll b/aspclassiccompiler/bin/Release/Microsoft.Scripting.Core.dll index 107609f..8418067 100644 Binary files a/aspclassiccompiler/bin/Release/Microsoft.Scripting.Core.dll and b/aspclassiccompiler/bin/Release/Microsoft.Scripting.Core.dll differ diff --git a/aspclassiccompiler/bin/Release/Microsoft.Scripting.ExtensionAttribute.dll b/aspclassiccompiler/bin/Release/Microsoft.Scripting.ExtensionAttribute.dll index 8fa2a86..761780e 100644 Binary files a/aspclassiccompiler/bin/Release/Microsoft.Scripting.ExtensionAttribute.dll and b/aspclassiccompiler/bin/Release/Microsoft.Scripting.ExtensionAttribute.dll differ diff --git a/aspclassiccompiler/bin/Release/Microsoft.Scripting.dll b/aspclassiccompiler/bin/Release/Microsoft.Scripting.dll index d23a935..ccc176f 100644 Binary files a/aspclassiccompiler/bin/Release/Microsoft.Scripting.dll and b/aspclassiccompiler/bin/Release/Microsoft.Scripting.dll differ diff --git a/aspclassiccompiler/bin/Release/VBSC.exe b/aspclassiccompiler/bin/Release/VBSC.exe index c7d544e..7ca4ff6 100644 Binary files a/aspclassiccompiler/bin/Release/VBSC.exe and b/aspclassiccompiler/bin/Release/VBSC.exe differ diff --git a/aspclassiccompiler/bin/Release/VBSC.pdb b/aspclassiccompiler/bin/Release/VBSC.pdb index 1afd0d9..5f1d938 100644 Binary files a/aspclassiccompiler/bin/Release/VBSC.pdb and b/aspclassiccompiler/bin/Release/VBSC.pdb differ