Browse Source

Started porting the debugger code to use new NRefactory

newNRvisualizers
Eusebiu Marcu 15 years ago
parent
commit
89af871c17
  1. 510
      ICSharpCode.NRefactory/CSharp/Ast/NotImplementedAstVisitor.cs
  2. 2
      ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj
  3. 12
      ICSharpCode.NRefactory/SupportedLanguage.cs

510
ICSharpCode.NRefactory/CSharp/Ast/NotImplementedAstVisitor.cs

@ -0,0 +1,510 @@ @@ -0,0 +1,510 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
using System;
namespace ICSharpCode.NRefactory.CSharp
{
public class NotImplementedAstVisitor<T, S> : AstVisitor<T, S>
{
public S VisitAnonymousMethodExpression(AnonymousMethodExpression anonymousMethodExpression, T data)
{
throw new NotImplementedException();
}
public S VisitArgListExpression(ArgListExpression argListExpression, T data)
{
throw new NotImplementedException();
}
public S VisitArrayCreateExpression(ArrayCreateExpression arrayCreateExpression, T data)
{
throw new NotImplementedException();
}
public S VisitArrayInitializerExpression(ArrayInitializerExpression arrayInitializerExpression, T data)
{
throw new NotImplementedException();
}
public S VisitAsExpression(AsExpression asExpression, T data)
{
throw new NotImplementedException();
}
public S VisitAssignmentExpression(AssignmentExpression assignmentExpression, T data)
{
throw new NotImplementedException();
}
public S VisitBaseReferenceExpression(BaseReferenceExpression baseReferenceExpression, T data)
{
throw new NotImplementedException();
}
public S VisitBinaryOperatorExpression(BinaryOperatorExpression binaryOperatorExpression, T data)
{
throw new NotImplementedException();
}
public S VisitCastExpression(CastExpression castExpression, T data)
{
throw new NotImplementedException();
}
public S VisitCheckedExpression(CheckedExpression checkedExpression, T data)
{
throw new NotImplementedException();
}
public S VisitConditionalExpression(ConditionalExpression conditionalExpression, T data)
{
throw new NotImplementedException();
}
public S VisitDefaultValueExpression(DefaultValueExpression defaultValueExpression, T data)
{
throw new NotImplementedException();
}
public S VisitDirectionExpression(DirectionExpression directionExpression, T data)
{
throw new NotImplementedException();
}
public S VisitIdentifierExpression(IdentifierExpression identifierExpression, T data)
{
throw new NotImplementedException();
}
public S VisitIndexerExpression(IndexerExpression indexerExpression, T data)
{
throw new NotImplementedException();
}
public S VisitInvocationExpression(InvocationExpression invocationExpression, T data)
{
throw new NotImplementedException();
}
public S VisitIsExpression(IsExpression isExpression, T data)
{
throw new NotImplementedException();
}
public S VisitLambdaExpression(LambdaExpression lambdaExpression, T data)
{
throw new NotImplementedException();
}
public S VisitMemberReferenceExpression(MemberReferenceExpression memberReferenceExpression, T data)
{
throw new NotImplementedException();
}
public S VisitNamedArgumentExpression(NamedArgumentExpression namedArgumentExpression, T data)
{
throw new NotImplementedException();
}
public S VisitNullReferenceExpression(NullReferenceExpression nullReferenceExpression, T data)
{
throw new NotImplementedException();
}
public S VisitObjectCreateExpression(ObjectCreateExpression objectCreateExpression, T data)
{
throw new NotImplementedException();
}
public S VisitParenthesizedExpression(ParenthesizedExpression parenthesizedExpression, T data)
{
throw new NotImplementedException();
}
public S VisitPointerReferenceExpression(PointerReferenceExpression pointerReferenceExpression, T data)
{
throw new NotImplementedException();
}
public S VisitPrimitiveExpression(PrimitiveExpression primitiveExpression, T data)
{
throw new NotImplementedException();
}
public S VisitSizeOfExpression(SizeOfExpression sizeOfExpression, T data)
{
throw new NotImplementedException();
}
public S VisitStackAllocExpression(StackAllocExpression stackAllocExpression, T data)
{
throw new NotImplementedException();
}
public S VisitThisReferenceExpression(ThisReferenceExpression thisReferenceExpression, T data)
{
throw new NotImplementedException();
}
public S VisitTypeOfExpression(TypeOfExpression typeOfExpression, T data)
{
throw new NotImplementedException();
}
public S VisitTypeReferenceExpression(TypeReferenceExpression typeReferenceExpression, T data)
{
throw new NotImplementedException();
}
public S VisitUnaryOperatorExpression(UnaryOperatorExpression unaryOperatorExpression, T data)
{
throw new NotImplementedException();
}
public S VisitUncheckedExpression(UncheckedExpression uncheckedExpression, T data)
{
throw new NotImplementedException();
}
public S VisitQueryExpression(QueryExpression queryExpression, T data)
{
throw new NotImplementedException();
}
public S VisitQueryContinuationClause(QueryContinuationClause queryContinuationClause, T data)
{
throw new NotImplementedException();
}
public S VisitQueryFromClause(QueryFromClause queryFromClause, T data)
{
throw new NotImplementedException();
}
public S VisitQueryLetClause(QueryLetClause queryLetClause, T data)
{
throw new NotImplementedException();
}
public S VisitQueryWhereClause(QueryWhereClause queryWhereClause, T data)
{
throw new NotImplementedException();
}
public S VisitQueryJoinClause(QueryJoinClause queryJoinClause, T data)
{
throw new NotImplementedException();
}
public S VisitQueryOrderClause(QueryOrderClause queryOrderClause, T data)
{
throw new NotImplementedException();
}
public S VisitQueryOrdering(QueryOrdering queryOrdering, T data)
{
throw new NotImplementedException();
}
public S VisitQuerySelectClause(QuerySelectClause querySelectClause, T data)
{
throw new NotImplementedException();
}
public S VisitQueryGroupClause(QueryGroupClause queryGroupClause, T data)
{
throw new NotImplementedException();
}
public S VisitAttribute(Attribute attribute, T data)
{
throw new NotImplementedException();
}
public S VisitAttributeSection(AttributeSection attributeSection, T data)
{
throw new NotImplementedException();
}
public S VisitDelegateDeclaration(DelegateDeclaration delegateDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitNamespaceDeclaration(NamespaceDeclaration namespaceDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitTypeDeclaration(TypeDeclaration typeDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitUsingAliasDeclaration(UsingAliasDeclaration usingAliasDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitUsingDeclaration(UsingDeclaration usingDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitBlockStatement(BlockStatement blockStatement, T data)
{
throw new NotImplementedException();
}
public S VisitBreakStatement(BreakStatement breakStatement, T data)
{
throw new NotImplementedException();
}
public S VisitCheckedStatement(CheckedStatement checkedStatement, T data)
{
throw new NotImplementedException();
}
public S VisitContinueStatement(ContinueStatement continueStatement, T data)
{
throw new NotImplementedException();
}
public S VisitEmptyStatement(EmptyStatement emptyStatement, T data)
{
throw new NotImplementedException();
}
public S VisitExpressionStatement(ExpressionStatement expressionStatement, T data)
{
throw new NotImplementedException();
}
public S VisitFixedStatement(FixedStatement fixedStatement, T data)
{
throw new NotImplementedException();
}
public S VisitForeachStatement(ForeachStatement foreachStatement, T data)
{
throw new NotImplementedException();
}
public S VisitForStatement(ForStatement forStatement, T data)
{
throw new NotImplementedException();
}
public S VisitGotoStatement(GotoStatement gotoStatement, T data)
{
throw new NotImplementedException();
}
public S VisitIfElseStatement(IfElseStatement ifElseStatement, T data)
{
throw new NotImplementedException();
}
public S VisitLabelStatement(LabelStatement labelStatement, T data)
{
throw new NotImplementedException();
}
public S VisitLockStatement(LockStatement lockStatement, T data)
{
throw new NotImplementedException();
}
public S VisitReturnStatement(ReturnStatement returnStatement, T data)
{
throw new NotImplementedException();
}
public S VisitSwitchStatement(SwitchStatement switchStatement, T data)
{
throw new NotImplementedException();
}
public S VisitSwitchSection(SwitchSection switchSection, T data)
{
throw new NotImplementedException();
}
public S VisitCaseLabel(CaseLabel caseLabel, T data)
{
throw new NotImplementedException();
}
public S VisitThrowStatement(ThrowStatement throwStatement, T data)
{
throw new NotImplementedException();
}
public S VisitTryCatchStatement(TryCatchStatement tryCatchStatement, T data)
{
throw new NotImplementedException();
}
public S VisitCatchClause(CatchClause catchClause, T data)
{
throw new NotImplementedException();
}
public S VisitUncheckedStatement(UncheckedStatement uncheckedStatement, T data)
{
throw new NotImplementedException();
}
public S VisitUnsafeStatement(UnsafeStatement unsafeStatement, T data)
{
throw new NotImplementedException();
}
public S VisitUsingStatement(UsingStatement usingStatement, T data)
{
throw new NotImplementedException();
}
public S VisitVariableDeclarationStatement(VariableDeclarationStatement variableDeclarationStatement, T data)
{
throw new NotImplementedException();
}
public S VisitWhileStatement(WhileStatement whileStatement, T data)
{
throw new NotImplementedException();
}
public S VisitYieldStatement(YieldStatement yieldStatement, T data)
{
throw new NotImplementedException();
}
public S VisitAccessor(Accessor accessor, T data)
{
throw new NotImplementedException();
}
public S VisitConstructorDeclaration(ConstructorDeclaration constructorDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitConstructorInitializer(ConstructorInitializer constructorInitializer, T data)
{
throw new NotImplementedException();
}
public S VisitDestructorDeclaration(DestructorDeclaration destructorDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitEnumMemberDeclaration(EnumMemberDeclaration enumMemberDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitEventDeclaration(EventDeclaration eventDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitCustomEventDeclaration(CustomEventDeclaration customEventDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitFieldDeclaration(FieldDeclaration fieldDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitIndexerDeclaration(IndexerDeclaration indexerDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitMethodDeclaration(MethodDeclaration methodDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitOperatorDeclaration(OperatorDeclaration operatorDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitParameterDeclaration(ParameterDeclaration parameterDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitPropertyDeclaration(PropertyDeclaration propertyDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitVariableInitializer(VariableInitializer variableInitializer, T data)
{
throw new NotImplementedException();
}
public S VisitCompilationUnit(CompilationUnit compilationUnit, T data)
{
throw new NotImplementedException();
}
public S VisitSimpleType(SimpleType simpleType, T data)
{
throw new NotImplementedException();
}
public S VisitMemberType(MemberType memberType, T data)
{
throw new NotImplementedException();
}
public S VisitComposedType(ComposedType composedType, T data)
{
throw new NotImplementedException();
}
public S VisitArraySpecifier(ArraySpecifier arraySpecifier, T data)
{
throw new NotImplementedException();
}
public S VisitPrimitiveType(PrimitiveType primitiveType, T data)
{
throw new NotImplementedException();
}
public S VisitComment(Comment comment, T data)
{
throw new NotImplementedException();
}
public S VisitTypeParameterDeclaration(TypeParameterDeclaration typeParameterDeclaration, T data)
{
throw new NotImplementedException();
}
public S VisitConstraint(Constraint constraint, T data)
{
throw new NotImplementedException();
}
public S VisitCSharpTokenNode(CSharpTokenNode cSharpTokenNode, T data)
{
throw new NotImplementedException();
}
public S VisitIdentifier(Identifier identifier, T data)
{
throw new NotImplementedException();
}
}
}

2
ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj

@ -95,6 +95,7 @@ @@ -95,6 +95,7 @@
<Compile Include="CSharp\Ast\Expressions\UncheckedExpression.cs" />
<Compile Include="CSharp\Ast\GeneralScope\TypeParameterDeclaration.cs" />
<Compile Include="CSharp\Ast\MemberType.cs" />
<Compile Include="CSharp\Ast\NotImplementedAstVisitor.cs" />
<Compile Include="CSharp\Ast\PrimitiveType.cs" />
<Compile Include="CSharp\Ast\GeneralScope\Attribute.cs" />
<Compile Include="CSharp\Ast\GeneralScope\AttributeSection.cs" />
@ -189,6 +190,7 @@ @@ -189,6 +190,7 @@
<Compile Include="Documentation\BinaryDocumentationProvider.cs" />
<Compile Include="Documentation\XmlDocumentationProvider.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SupportedLanguage.cs" />
<Compile Include="TypeSystem\Accessibility.cs" />
<Compile Include="TypeSystem\ArrayType.cs" />
<Compile Include="TypeSystem\ByReferenceType.cs" />

12
ICSharpCode.NRefactory/SupportedLanguage.cs

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
// Copyright (c) 2010 AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
using System;
namespace ICSharpCode.NRefactory
{
public enum SupportedLanguage {
CSharp,
//VBNet
}
}
Loading…
Cancel
Save