This commit is contained in:
Siegfried Pammer 2011-03-27 11:17:58 +02:00
Родитель 735cb8595e
Коммит 8c36dd80cb
132 изменённых файлов: 458 добавлений и 458 удалений

Просмотреть файл

@ -46,11 +46,11 @@
<Compile Include="VBEditDialog.Designer.cs">
<DependentUpon>VBEditDialog.cs</DependentUpon>
</Compile>
<Compile Include="VBDomView.cs">
<Compile Include="VBAstView.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="VBDomView.Designer.cs">
<DependentUpon>VBDomView.cs</DependentUpon>
<Compile Include="VBAstView.Designer.cs">
<DependentUpon>VBAstView.cs</DependentUpon>
</Compile>
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
@ -81,8 +81,8 @@
<EmbeddedResource Include="VBEditDialog.resx">
<DependentUpon>VBEditDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="VBDomView.resx">
<DependentUpon>VBDomView.cs</DependentUpon>
<EmbeddedResource Include="VBAstView.resx">
<DependentUpon>VBAstView.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>

Просмотреть файл

@ -3,7 +3,7 @@
namespace ICSharpCode.NRefactory.Demo
{
partial class VBDomView : System.Windows.Forms.UserControl
partial class VBAstView : System.Windows.Forms.UserControl
{
/// <summary>
/// Designer variable used to keep track of non-visual components.

Просмотреть файл

@ -6,12 +6,12 @@ using System.Collections;
using System.Windows.Forms;
using System.Reflection;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB;
namespace ICSharpCode.NRefactory.Demo
{
public partial class VBDomView
public partial class VBAstView
{
CompilationUnit unit;
@ -34,7 +34,7 @@ namespace ICSharpCode.NRefactory.Demo
tree.SelectedNode = tree.Nodes[0];
}
public VBDomView()
public VBAstView()
{
InitializeComponent();
}
@ -89,7 +89,7 @@ namespace ICSharpCode.NRefactory.Demo
((ElementNode)node).Update();
}
public void ApplyTransformation(IDomVisitor visitor)
public void ApplyTransformation(IAstVisitor visitor)
{
if (tree.SelectedNode == tree.Nodes[0]) {
unit.AcceptVisitor(visitor, null);

4
ICSharpCode.NRefactory.Demo/VBDemo.Designer.cs сгенерированный
Просмотреть файл

@ -35,7 +35,7 @@ namespace ICSharpCode.NRefactory.Demo
this.codeView = new System.Windows.Forms.TextBox();
this.editNodeButton = new System.Windows.Forms.Button();
this.clearSpecialsButton = new System.Windows.Forms.Button();
this.syntaxTree = new ICSharpCode.NRefactory.Demo.VBDomView();
this.syntaxTree = new ICSharpCode.NRefactory.Demo.VBAstView();
this.generateCodeButton = new System.Windows.Forms.Button();
this.parseButton = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@ -154,7 +154,7 @@ namespace ICSharpCode.NRefactory.Demo
}
private System.Windows.Forms.Button clearSpecialsButton;
private System.Windows.Forms.Button editNodeButton;
private ICSharpCode.NRefactory.Demo.VBDomView syntaxTree;
private ICSharpCode.NRefactory.Demo.VBAstView syntaxTree;
private System.Windows.Forms.TextBox codeView;
private System.Windows.Forms.Button generateCodeButton;
private System.Windows.Forms.Button parseButton;

Просмотреть файл

@ -4,7 +4,7 @@
using System;
using System.Reflection;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Visitors;
@ -58,10 +58,10 @@ namespace ICSharpCode.NRefactory.VB.Tests
// }
[Test]
public void TestIDomVisitor()
public void TestIAstVisitor()
{
Type[] allTypes = typeof(AbstractNode).Assembly.GetTypes();
Type visitor = typeof(IDomVisitor);
Type visitor = typeof(IAstVisitor);
foreach (Type type in allTypes) {
if (type.IsClass && !type.IsAbstract && !type.IsNested && type.GetInterface(typeof(INode).FullName) != null && !type.Name.StartsWith("Null")) {
@ -79,10 +79,10 @@ namespace ICSharpCode.NRefactory.VB.Tests
}
[Test]
public void TestAbstractDomVisitorVisitor()
public void TestAbstractAstVisitorVisitor()
{
Type[] allTypes = typeof(AbstractNode).Assembly.GetTypes();
Type visitor = typeof(AbstractDomVisitor);
Type visitor = typeof(AbstractAstVisitor);
foreach (Type type in allTypes) {
if (type.IsClass && !type.IsAbstract && !type.IsNested && type.GetInterface(typeof(INode).FullName) != null && !type.Name.StartsWith("Null")) {

Просмотреть файл

@ -3,7 +3,7 @@
using System;
using System.CodeDom;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Visitors;
using NUnit.Framework;

Просмотреть файл

@ -3,7 +3,7 @@
using System;
using System.CodeDom;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Visitors;
using NUnit.Framework;

Просмотреть файл

@ -5,7 +5,7 @@ using System;
using System.CodeDom;
using System.Collections.Generic;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Visitors;
using NUnit.Framework;

Просмотреть файл

@ -5,7 +5,7 @@ using System;
using System.CodeDom;
using System.Collections.Generic;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Visitors;
using NUnit.Framework;

Просмотреть файл

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.IO;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.PrettyPrinter;
using ICSharpCode.NRefactory.VB.Visitors;

Просмотреть файл

@ -3,7 +3,7 @@
using System;
using System.IO;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.PrettyPrinter;
using ICSharpCode.NRefactory.VB.Visitors;

Просмотреть файл

@ -4,15 +4,15 @@
using NUnit.Framework;
using System;
using System.Collections.Generic;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Visitors;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
/// <summary>
/// Ensures that all nodes have the Parent property correctly set.
/// </summary>
public class CheckParentVisitor : NodeTrackingDomVisitor
public class CheckParentVisitor : NodeTrackingAstVisitor
{
Stack<INode> nodeStack = new Stack<INode>();

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class AddressOfExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ArrayCreateExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class AssignmentExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class BaseReferenceExpressionTests

Просмотреть файл

@ -5,10 +5,10 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.PrettyPrinter;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class BinaryOperatorExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class CastExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ClassReferenceExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ConditionalExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class GlobalReferenceExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class IdentifierExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class InvocationExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class LambdaExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class MemberReferenceExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ObjectCreateExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ParenthesizedExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class PrimitiveExpressionTests

Просмотреть файл

@ -5,11 +5,11 @@ using System;
using System.IO;
using System.Linq;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Parser;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class QueryExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ThisReferenceExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class TypeOfExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class TypeOfIsExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class TypeReferenceExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class UnaryOperatorExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class XmlExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class XmlMemberAccessExpressionTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class AttributeSectionTests

Просмотреть файл

@ -2,10 +2,10 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class DelegateDeclarationTests

Просмотреть файл

@ -2,10 +2,10 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class NamespaceDeclarationTests

Просмотреть файл

@ -4,10 +4,10 @@
using System;
using System.IO;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class OptionDeclarationTests

Просмотреть файл

@ -2,10 +2,10 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class TypeDeclarationTests

Просмотреть файл

@ -4,10 +4,10 @@
using System;
using System.IO;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class UsingDeclarationTests

Просмотреть файл

@ -2,13 +2,13 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using ICSharpCode.NRefactory.VB.Visitors;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
public class LocationAssignmentCheckVisitor : NodeTrackingDomVisitor
public class LocationAssignmentCheckVisitor : NodeTrackingAstVisitor
{
protected override void BeginVisit(INode node)
{

Просмотреть файл

@ -4,10 +4,10 @@
using System;
using System.IO;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
public class ParseUtil
{

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using System;
using NUnit.Framework;

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class AddHandlerStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class BlockStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ContinueStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class DoLoopStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class EndStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class EraseStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ErrorStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ExpressionStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ForNextStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ForeachStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class GotoStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class IfElseStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class LabelStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class LocalVariableDeclarationTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class LockStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class OnErrorStatementTest

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class RaiseEventStatementTest

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ReDimStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class RemoveHandlerStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ResumeStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ReturnStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class StopStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class SwitchStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ThrowStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class TryCatchStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class UsingStatementTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class WithStatementTests

Просмотреть файл

@ -2,10 +2,10 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class ConstructorDeclarationTests

Просмотреть файл

@ -5,9 +5,9 @@ using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.VB.Parser;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class CustomEventTests

Просмотреть файл

@ -2,10 +2,10 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class DeclareDeclarationTests

Просмотреть файл

@ -2,10 +2,10 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class EventDeclarationTests

Просмотреть файл

@ -2,10 +2,10 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class FieldDeclarationTests

Просмотреть файл

@ -2,10 +2,10 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class MethodDeclarationTests

Просмотреть файл

@ -2,10 +2,10 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class OperatorDeclarationTests

Просмотреть файл

@ -3,10 +3,10 @@
using System;
using System.IO;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
using NUnit.Framework;
namespace ICSharpCode.NRefactory.VB.Tests.Dom
namespace ICSharpCode.NRefactory.VB.Tests.Ast
{
[TestFixture]
public class PropertyDeclarationTests

Просмотреть файл

@ -7,7 +7,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public abstract class AbstractNode : INode
{
@ -35,9 +35,9 @@ namespace ICSharpCode.NRefactory.VB.Dom
children.Add(childNode);
}
public abstract object AcceptVisitor(IDomVisitor visitor, object data);
public abstract object AcceptVisitor(IAstVisitor visitor, object data);
public virtual object AcceptChildren(IDomVisitor visitor, object data)
public virtual object AcceptChildren(IAstVisitor visitor, object data)
{
foreach (INode child in children) {
Debug.Assert(child != null);

Просмотреть файл

@ -3,7 +3,7 @@
using System;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
[Flags]
public enum Modifiers

Просмотреть файл

@ -3,7 +3,7 @@
using System;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public class BlockStatement : Statement
{
@ -15,7 +15,7 @@ namespace ICSharpCode.NRefactory.VB.Dom
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return visitor.VisitBlockStatement(this, data);
}
@ -37,11 +37,11 @@ namespace ICSharpCode.NRefactory.VB.Dom
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return data;
}
public override object AcceptChildren(IDomVisitor visitor, object data)
public override object AcceptChildren(IAstVisitor visitor, object data)
{
return data;
}

Просмотреть файл

@ -4,14 +4,14 @@
using System;
using System.Collections;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public class CompilationUnit : AbstractNode
{
// Children in C#: UsingAliasDeclaration, UsingDeclaration, AttributeSection, NamespaceDeclaration
// Children in VB: OptionStatements, ImportsStatement, AttributeSection, NamespaceDeclaration
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return visitor.VisitCompilationUnit(this, data);
}

Просмотреть файл

@ -3,7 +3,7 @@
using System;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public abstract class Expression : AbstractNode, INullable
{
@ -90,7 +90,7 @@ namespace ICSharpCode.NRefactory.VB.Dom
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return null;
}

Просмотреть файл

@ -4,7 +4,7 @@
using System;
using System.Collections.Generic;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public class LocalVariableDeclaration : Statement
{
@ -83,7 +83,7 @@ namespace ICSharpCode.NRefactory.VB.Dom
return null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return visitor.VisitLocalVariableDeclaration(this, data);
}

Просмотреть файл

@ -4,7 +4,7 @@
using ICSharpCode.NRefactory.VB.PrettyPrinter;
using System;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public class PrimitiveExpression : Expression
{
@ -36,7 +36,7 @@ namespace ICSharpCode.NRefactory.VB.Dom
this.StringValue = stringValue;
}
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return visitor.VisitPrimitiveExpression(this, data);
}

Просмотреть файл

@ -3,7 +3,7 @@
using System;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public abstract class Statement : AbstractNode, INullable
{
@ -49,7 +49,7 @@ namespace ICSharpCode.NRefactory.VB.Dom
get { return true; }
}
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return data;
}

Просмотреть файл

@ -8,7 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace ICSharpCode.NRefactory.VB.Dom {
namespace ICSharpCode.NRefactory.VB.Ast {
using System;
using System.Collections.Generic;
@ -44,7 +44,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
HandlerExpression = handlerExpression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitAddHandlerStatement(this, data);
}
@ -71,7 +71,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Expression = expression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitAddressOfExpression(this, data);
}
@ -141,7 +141,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitArrayCreateExpression(this, data);
}
@ -193,7 +193,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Right = right;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitAssignmentExpression(this, data);
}
@ -249,7 +249,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
NamedArguments = namedArguments;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitAttribute(this, data);
}
@ -300,7 +300,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
string attributeTarget;
List<ICSharpCode.NRefactory.VB.Dom.Attribute> attributes;
List<ICSharpCode.NRefactory.VB.Ast.Attribute> attributes;
public string AttributeTarget {
get {
@ -311,7 +311,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public List<ICSharpCode.NRefactory.VB.Dom.Attribute> Attributes {
public List<ICSharpCode.NRefactory.VB.Ast.Attribute> Attributes {
get {
return attributes;
}
@ -325,7 +325,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
attributes = new List<Attribute>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitAttributeSection(this, data);
}
@ -339,7 +339,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
public BaseReferenceExpression() {
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitBaseReferenceExpression(this, data);
}
@ -396,7 +396,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Right = right;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitBinaryOperatorExpression(this, data);
}
@ -469,7 +469,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitCaseLabel(this, data);
}
@ -526,7 +526,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
CastType = castType;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitCastExpression(this, data);
}
@ -605,7 +605,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
condition = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitCatchClause(this, data);
}
@ -620,7 +620,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
public ClassReferenceExpression() {
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitClassReferenceExpression(this, data);
}
@ -656,7 +656,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitCollectionInitializerExpression(this, data);
}
@ -675,7 +675,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -739,7 +739,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitCollectionRangeVariable(this, data);
}
@ -758,7 +758,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -817,7 +817,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
FalseExpression = falseExpression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitConditionalExpression(this, data);
}
@ -870,7 +870,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
body = BlockStatement.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitConstructorDeclaration(this, data);
}
@ -920,7 +920,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitConstructorInitializer(this, data);
}
@ -939,7 +939,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -968,7 +968,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
ContinueType = continueType;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitContinueStatement(this, data);
}
@ -1035,7 +1035,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Charset = charset;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitDeclareDeclaration(this, data);
}
@ -1063,7 +1063,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
TypeReference = typeReference;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitDefaultValueExpression(this, data);
}
@ -1128,7 +1128,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
templates = new List<TemplateDefinition>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitDelegateDeclaration(this, data);
}
@ -1168,7 +1168,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Expression = expression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitDirectionExpression(this, data);
}
@ -1220,7 +1220,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
ConditionPosition = conditionPosition;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitDoLoopStatement(this, data);
}
@ -1249,7 +1249,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
EmbeddedStatement = embeddedStatement;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitElseIfSection(this, data);
}
@ -1263,7 +1263,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
public EndStatement() {
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitEndStatement(this, data);
}
@ -1293,7 +1293,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Expressions = expressions;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitEraseStatement(this, data);
}
@ -1320,7 +1320,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Expression = expression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitErrorStatement(this, data);
}
@ -1341,7 +1341,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitEventAddRegion(this, data);
}
@ -1364,7 +1364,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -1510,7 +1510,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitEventDeclaration(this, data);
}
@ -1533,7 +1533,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitEventRaiseRegion(this, data);
}
@ -1556,7 +1556,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -1577,7 +1577,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitEventRemoveRegion(this, data);
}
@ -1600,7 +1600,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -1626,7 +1626,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
ExitType = exitType;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitExitStatement(this, data);
}
@ -1690,7 +1690,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitExpressionRangeVariable(this, data);
}
@ -1709,7 +1709,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -1736,7 +1736,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Expression = expression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitExpressionStatement(this, data);
}
@ -1762,7 +1762,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
name = "";
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitExternAliasDirective(this, data);
}
@ -1829,7 +1829,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
return null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitFieldDeclaration(this, data);
}
@ -1903,7 +1903,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
NextExpression = nextExpression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitForeachStatement(this, data);
}
@ -2007,7 +2007,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
loopVariableExpression = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitForNextStatement(this, data);
}
@ -2034,7 +2034,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Label = label;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitGotoStatement(this, data);
}
@ -2072,7 +2072,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
typeArguments = new List<TypeReference>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitIdentifierExpression(this, data);
}
@ -2163,7 +2163,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
if (falseStatement != null) falseStatement.Parent = this;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitIfElseStatement(this, data);
}
@ -2203,7 +2203,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
MemberName = memberName;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitInterfaceImplementation(this, data);
}
@ -2247,7 +2247,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Arguments = arguments;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitInvocationExpression(this, data);
}
@ -2273,7 +2273,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
Label = label;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitLabelStatement(this, data);
}
@ -2340,7 +2340,7 @@ namespace ICSharpCode.NRefactory.VB.Dom {
public Location ExtendedEndLocation { get; set; }
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitLambdaExpression(this, data);
}
@ -2369,7 +2369,7 @@ public Location ExtendedEndLocation { get; set; }
EmbeddedStatement = embeddedStatement;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitLockStatement(this, data);
}
@ -2424,7 +2424,7 @@ public Location ExtendedEndLocation { get; set; }
Expression = expression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitMemberInitializerExpression(this, data);
}
@ -2515,7 +2515,7 @@ public Location ExtendedEndLocation { get; set; }
typeArguments = new List<TypeReference>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitMemberReferenceExpression(this, data);
}
@ -2577,7 +2577,7 @@ public Location ExtendedEndLocation { get; set; }
templates = new List<TemplateDefinition>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitMethodDeclaration(this, data);
}
@ -2623,7 +2623,7 @@ public Location ExtendedEndLocation { get; set; }
Expression = expression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitNamedArgumentExpression(this, data);
}
@ -2649,7 +2649,7 @@ public Location ExtendedEndLocation { get; set; }
Name = name;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitNamespaceDeclaration(this, data);
}
@ -2707,7 +2707,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitObjectCreateExpression(this, data);
}
@ -2722,7 +2722,7 @@ public Location ExtendedEndLocation { get; set; }
EmbeddedStatement = embeddedStatement;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitOnErrorStatement(this, data);
}
@ -2764,7 +2764,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitOperatorDeclaration(this, data);
}
@ -2804,7 +2804,7 @@ public Location ExtendedEndLocation { get; set; }
OptionValue = optionValue;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitOptionDeclaration(this, data);
}
@ -2895,7 +2895,7 @@ public Location ExtendedEndLocation { get; set; }
attributes = new List<AttributeSection>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitParameterDeclarationExpression(this, data);
}
@ -2960,7 +2960,7 @@ public Location ExtendedEndLocation { get; set; }
Expression = expression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitParenthesizedExpression(this, data);
}
@ -3083,7 +3083,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitPropertyDeclaration(this, data);
}
@ -3106,7 +3106,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitPropertyGetRegion(this, data);
}
@ -3129,7 +3129,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -3188,7 +3188,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitPropertySetRegion(this, data);
}
@ -3211,7 +3211,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -3237,7 +3237,7 @@ public Location ExtendedEndLocation { get; set; }
clauses = new List<QueryExpressionClause>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpression(this, data);
}
@ -3288,7 +3288,7 @@ public Location ExtendedEndLocation { get; set; }
intoVariables = new List<ExpressionRangeVariable>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionAggregateClause(this, data);
}
@ -3325,7 +3325,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -3339,7 +3339,7 @@ public Location ExtendedEndLocation { get; set; }
public QueryExpressionDistinctClause() {
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionDistinctClause(this, data);
}
@ -3371,7 +3371,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionFromClause(this, data);
}
@ -3390,7 +3390,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -3430,7 +3430,7 @@ public Location ExtendedEndLocation { get; set; }
groupBy = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionGroupClause(this, data);
}
@ -3469,7 +3469,7 @@ public Location ExtendedEndLocation { get; set; }
intoVariables = new List<ExpressionRangeVariable>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionGroupJoinVBClause(this, data);
}
@ -3519,7 +3519,7 @@ public Location ExtendedEndLocation { get; set; }
intoVariables = new List<ExpressionRangeVariable>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionGroupVBClause(this, data);
}
@ -3585,7 +3585,7 @@ public Location ExtendedEndLocation { get; set; }
intoIdentifier = "";
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionJoinClause(this, data);
}
@ -3626,7 +3626,7 @@ public Location ExtendedEndLocation { get; set; }
rightSide = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionJoinConditionVB(this, data);
}
@ -3684,7 +3684,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionJoinVBClause(this, data);
}
@ -3703,7 +3703,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return null;
}
@ -3742,7 +3742,7 @@ public Location ExtendedEndLocation { get; set; }
expression = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionLetClause(this, data);
}
@ -3768,7 +3768,7 @@ public Location ExtendedEndLocation { get; set; }
variables = new List<ExpressionRangeVariable>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionLetVBClause(this, data);
}
@ -3794,7 +3794,7 @@ public Location ExtendedEndLocation { get; set; }
orderings = new List<QueryExpressionOrdering>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionOrderClause(this, data);
}
@ -3832,7 +3832,7 @@ public Location ExtendedEndLocation { get; set; }
criteria = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionOrdering(this, data);
}
@ -3870,7 +3870,7 @@ public Location ExtendedEndLocation { get; set; }
expression = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionPartitionVBClause(this, data);
}
@ -3897,7 +3897,7 @@ public Location ExtendedEndLocation { get; set; }
projection = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionSelectClause(this, data);
}
@ -3923,7 +3923,7 @@ public Location ExtendedEndLocation { get; set; }
variables = new List<ExpressionRangeVariable>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionSelectVBClause(this, data);
}
@ -3950,7 +3950,7 @@ public Location ExtendedEndLocation { get; set; }
condition = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitQueryExpressionWhereClause(this, data);
}
@ -3988,7 +3988,7 @@ public Location ExtendedEndLocation { get; set; }
Arguments = arguments;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitRaiseEventStatement(this, data);
}
@ -4026,7 +4026,7 @@ public Location ExtendedEndLocation { get; set; }
reDimClauses = new List<InvocationExpression>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitReDimStatement(this, data);
}
@ -4066,7 +4066,7 @@ public Location ExtendedEndLocation { get; set; }
HandlerExpression = handlerExpression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitRemoveHandlerStatement(this, data);
}
@ -4108,7 +4108,7 @@ public Location ExtendedEndLocation { get; set; }
LabelName = labelName;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitResumeStatement(this, data);
}
@ -4135,7 +4135,7 @@ public Location ExtendedEndLocation { get; set; }
Expression = expression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitReturnStatement(this, data);
}
@ -4149,7 +4149,7 @@ public Location ExtendedEndLocation { get; set; }
public StopStatement() {
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitStopStatement(this, data);
}
@ -4179,7 +4179,7 @@ public Location ExtendedEndLocation { get; set; }
SwitchLabels = switchLabels;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitSwitchSection(this, data);
}
@ -4218,7 +4218,7 @@ public Location ExtendedEndLocation { get; set; }
SwitchSections = switchSections;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitSwitchStatement(this, data);
}
@ -4273,7 +4273,7 @@ public Location ExtendedEndLocation { get; set; }
bases = new List<TypeReference>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitTemplateDefinition(this, data);
}
@ -4288,7 +4288,7 @@ public Location ExtendedEndLocation { get; set; }
public ThisReferenceExpression() {
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitThisReferenceExpression(this, data);
}
@ -4315,7 +4315,7 @@ public Location ExtendedEndLocation { get; set; }
Expression = expression;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitThrowStatement(this, data);
}
@ -4367,7 +4367,7 @@ public Location ExtendedEndLocation { get; set; }
FinallyBlock = finallyBlock;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitTryCatchStatement(this, data);
}
@ -4442,7 +4442,7 @@ public Location ExtendedEndLocation { get; set; }
bodyStartLocation = Location.Empty;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitTypeDeclaration(this, data);
}
@ -4470,7 +4470,7 @@ public Location ExtendedEndLocation { get; set; }
TypeReference = typeReference;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitTypeOfExpression(this, data);
}
@ -4510,7 +4510,7 @@ public Location ExtendedEndLocation { get; set; }
TypeReference = typeReference;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitTypeOfIsExpression(this, data);
}
@ -4537,7 +4537,7 @@ public Location ExtendedEndLocation { get; set; }
TypeReference = typeReference;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitTypeReferenceExpression(this, data);
}
@ -4581,7 +4581,7 @@ public Location ExtendedEndLocation { get; set; }
Op = op;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitUnaryOperatorExpression(this, data);
}
@ -4656,7 +4656,7 @@ public Location ExtendedEndLocation { get; set; }
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitUsing(this, data);
}
@ -4688,7 +4688,7 @@ public UsingDeclaration(string @namespace) : this(@namespace, TypeReference.Null
public UsingDeclaration(string @namespace, TypeReference alias) { usings = new List<Using>(1); usings.Add(new Using(@namespace, alias)); }
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitUsingDeclaration(this, data);
}
@ -4716,7 +4716,7 @@ public UsingDeclaration(string @namespace, TypeReference alias) { usings = new L
EmbeddedStatement = embeddedStatement;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitUsingStatement(this, data);
}
@ -4795,7 +4795,7 @@ public UsingDeclaration(string @namespace, TypeReference alias) { usings = new L
fixedArrayInitialization = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitVariableDeclaration(this, data);
}
@ -4836,7 +4836,7 @@ public UsingDeclaration(string @namespace, TypeReference alias) { usings = new L
body = BlockStatement.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitWithStatement(this, data);
}
@ -4904,7 +4904,7 @@ public UsingDeclaration(string @namespace, TypeReference alias) { usings = new L
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitXmlAttributeExpression(this, data);
}
@ -4943,7 +4943,7 @@ public UsingDeclaration(string @namespace, TypeReference alias) { usings = new L
Type = type;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitXmlContentExpression(this, data);
}
@ -4969,7 +4969,7 @@ public UsingDeclaration(string @namespace, TypeReference alias) { usings = new L
expressions = new List<XmlExpression>();
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitXmlDocumentExpression(this, data);
}
@ -5045,7 +5045,7 @@ public UsingDeclaration(string @namespace, TypeReference alias) { usings = new L
}
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitXmlElementExpression(this, data);
}
@ -5072,7 +5072,7 @@ public UsingDeclaration(string @namespace, TypeReference alias) { usings = new L
inlineVBExpression = Expression.Null;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitXmlEmbeddedExpression(this, data);
}
@ -5141,7 +5141,7 @@ public UsingDeclaration(string @namespace, TypeReference alias) { usings = new L
IsXmlIdentifier = isXmlIdentifier;
}
public override object AcceptVisitor(IDomVisitor visitor, object data) {
public override object AcceptVisitor(IAstVisitor visitor, object data) {
return visitor.VisitXmlMemberAccessExpression(this, data);
}

Просмотреть файл

@ -4,7 +4,7 @@
using System;
using System.Collections.Generic;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public interface INode
{
@ -38,7 +38,7 @@ namespace ICSharpCode.NRefactory.VB.Dom
/// <param name="visitor">The visitor to accept</param>
/// <param name="data">Additional data for the visitor</param>
/// <returns>The paremeter <paramref name="data"/></returns>
object AcceptChildren(IDomVisitor visitor, object data);
object AcceptChildren(IAstVisitor visitor, object data);
/// <summary>
/// Accept the visitor
@ -46,6 +46,6 @@ namespace ICSharpCode.NRefactory.VB.Dom
/// <param name="visitor">The visitor to accept</param>
/// <param name="data">Additional data for the visitor</param>
/// <returns>The value the visitor returns after the visit</returns>
object AcceptVisitor(IDomVisitor visitor, object data);
object AcceptVisitor(IAstVisitor visitor, object data);
}
}

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public interface INullable
{

Просмотреть файл

@ -8,7 +8,7 @@ using System.Globalization;
using System.Runtime.InteropServices;
using System.Text;
namespace ICSharpCode.NRefactory.VB.Dom
namespace ICSharpCode.NRefactory.VB.Ast
{
public class TypeReference : AbstractNode, INullable, ICloneable
{
@ -290,7 +290,7 @@ namespace ICSharpCode.NRefactory.VB.Dom
protected TypeReference()
{}
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return visitor.VisitTypeReference(this, data);
}
@ -360,7 +360,7 @@ namespace ICSharpCode.NRefactory.VB.Dom
{
return this;
}
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return null;
}
@ -399,7 +399,7 @@ namespace ICSharpCode.NRefactory.VB.Dom
this.baseType = outerClass;
}
public override object AcceptVisitor(IDomVisitor visitor, object data)
public override object AcceptVisitor(IAstVisitor visitor, object data)
{
return visitor.VisitInnerClassTypeReference(this, data);
}

Просмотреть файл

@ -3,9 +3,9 @@
using System;
using System.Collections.Generic;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.DomBuilder
namespace ICSharpCode.NRefactory.VB.AstBuilder
{
/// <summary>
/// Extension methods for NRefactory.Dom.Expression.

Просмотреть файл

@ -3,9 +3,9 @@
using System;
using System.Collections.Generic;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.DomBuilder
namespace ICSharpCode.NRefactory.VB.AstBuilder
{
/// <summary>
/// Extension methods for NRefactory.Dom.Expression.

Просмотреть файл

@ -10,10 +10,10 @@
namespace ICSharpCode.NRefactory.VB {
using System;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
public interface IDomVisitor {
public interface IAstVisitor {
object VisitAddHandlerStatement(AddHandlerStatement addHandlerStatement, object data);
@ -23,7 +23,7 @@ namespace ICSharpCode.NRefactory.VB {
object VisitAssignmentExpression(AssignmentExpression assignmentExpression, object data);
object VisitAttribute(ICSharpCode.NRefactory.VB.Dom.Attribute attribute, object data);
object VisitAttribute(ICSharpCode.NRefactory.VB.Ast.Attribute attribute, object data);
object VisitAttributeSection(AttributeSection attributeSection, object data);

Просмотреть файл

@ -41,22 +41,22 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="DomBuilder\ExpressionBuilder.cs" />
<Compile Include="DomBuilder\StatementBuilder.cs" />
<Compile Include="Dom\AbstractNode.cs" />
<Compile Include="Dom\Enums.cs" />
<Compile Include="Dom\General\BlockStatement.cs" />
<Compile Include="Dom\General\CompilationUnit.cs" />
<Compile Include="Dom\General\Expression.cs" />
<Compile Include="Dom\General\LocalVariableDeclaration.cs" />
<Compile Include="Dom\General\PrimitiveExpression.cs" />
<Compile Include="Dom\General\Statement.cs" />
<Compile Include="Dom\Generated.cs" />
<Compile Include="Dom\INode.cs" />
<Compile Include="Dom\INullable.cs" />
<Compile Include="Dom\TypeReference.cs" />
<Compile Include="AstBuilder\ExpressionBuilder.cs" />
<Compile Include="AstBuilder\StatementBuilder.cs" />
<Compile Include="Ast\AbstractNode.cs" />
<Compile Include="Ast\Enums.cs" />
<Compile Include="Ast\General\BlockStatement.cs" />
<Compile Include="Ast\General\CompilationUnit.cs" />
<Compile Include="Ast\General\Expression.cs" />
<Compile Include="Ast\General\LocalVariableDeclaration.cs" />
<Compile Include="Ast\General\PrimitiveExpression.cs" />
<Compile Include="Ast\General\Statement.cs" />
<Compile Include="Ast\Generated.cs" />
<Compile Include="Ast\INode.cs" />
<Compile Include="Ast\INullable.cs" />
<Compile Include="Ast\TypeReference.cs" />
<Compile Include="EnvironmentInformationProvider.cs" />
<Compile Include="IDomVisitor.cs" />
<Compile Include="IAstVisitor.cs" />
<Compile Include="Lexer\Block.cs" />
<Compile Include="Lexer\ExpressionFinder.cs" />
<Compile Include="Lexer\ExpressionFinderState.cs" />
@ -99,22 +99,22 @@
<Compile Include="PrettyPrinter\VBNet\VBNetPrettyPrintOptions.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SnippetParser.cs" />
<Compile Include="Visitors\AbstractDomTransformer.cs" />
<Compile Include="Visitors\AbstractDomVisitor.cs" />
<Compile Include="Visitors\AbstractAstTransformer.cs" />
<Compile Include="Visitors\AbstractAstVisitor.cs" />
<Compile Include="Visitors\CodeDOMOutputVisitor.cs" />
<Compile Include="Visitors\CodeDOMVerboseOutputGenerator.cs" />
<Compile Include="Visitors\LookupTableVisitor.cs" />
<Compile Include="Visitors\NodeTrackingDomVisitor.cs" />
<Compile Include="Visitors\NotImplementedDomVisitor.cs" />
<Compile Include="Visitors\NodeTrackingAstVisitor.cs" />
<Compile Include="Visitors\NotImplementedAstVisitor.cs" />
<Compile Include="Visitors\PrefixFieldsVisitor.cs" />
<Compile Include="Visitors\RenameIdentifierVisitor.cs" />
<Compile Include="Visitors\SetParentVisitor.cs" />
<Compile Include="Visitors\SetRegionInclusionVisitor.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Dom" />
<Folder Include="DomBuilder" />
<Folder Include="Dom\General" />
<Folder Include="Ast" />
<Folder Include="AstBuilder" />
<Folder Include="Ast\General" />
<Folder Include="Lexer" />
<Folder Include="Lexer\Special" />
<Folder Include="Parser" />

Просмотреть файл

@ -90,7 +90,7 @@ namespace ICSharpCode.NRefactory.VB
string cmd;
string arg;
VB.Dom.Expression expression = Dom.Expression.Null;
Ast.Expression expression = Ast.Expression.Null;
/// <summary>
/// Gets the directive name, including '#'.
@ -119,9 +119,9 @@ namespace ICSharpCode.NRefactory.VB
/// <summary>
/// Gets/sets the expression (for directives that take an expression, e.g. #if and #elif).
/// </summary>
public Dom.Expression Expression {
public Ast.Expression Expression {
get { return expression; }
set { expression = value ?? Dom.Expression.Null; }
set { expression = value ?? Ast.Expression.Null; }
}
/// <value>

Просмотреть файл

@ -3,7 +3,7 @@
using System;
using System.Collections.Generic;
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB
{

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using ICSharpCode.NRefactory.VB.Dom;
using ICSharpCode.NRefactory.VB.Ast;
namespace ICSharpCode.NRefactory.VB.Parser
{

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше