From 89af871c172502443197f67c386e3da3e1a4739d Mon Sep 17 00:00:00 2001 From: Eusebiu Marcu Date: Mon, 14 Feb 2011 18:23:15 +0200 Subject: [PATCH] Started porting the debugger code to use new NRefactory --- .../CSharp/Ast/NotImplementedAstVisitor.cs | 510 ++++++++++++++++++ .../ICSharpCode.NRefactory.csproj | 2 + ICSharpCode.NRefactory/SupportedLanguage.cs | 12 + 3 files changed, 524 insertions(+) create mode 100644 ICSharpCode.NRefactory/CSharp/Ast/NotImplementedAstVisitor.cs create mode 100644 ICSharpCode.NRefactory/SupportedLanguage.cs diff --git a/ICSharpCode.NRefactory/CSharp/Ast/NotImplementedAstVisitor.cs b/ICSharpCode.NRefactory/CSharp/Ast/NotImplementedAstVisitor.cs new file mode 100644 index 0000000000..9cde42259e --- /dev/null +++ b/ICSharpCode.NRefactory/CSharp/Ast/NotImplementedAstVisitor.cs @@ -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 : AstVisitor + { + 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(); + } + } +} diff --git a/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj b/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj index 0dec1c71f9..1bf358d4e1 100644 --- a/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj +++ b/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj @@ -95,6 +95,7 @@ + @@ -189,6 +190,7 @@ + diff --git a/ICSharpCode.NRefactory/SupportedLanguage.cs b/ICSharpCode.NRefactory/SupportedLanguage.cs new file mode 100644 index 0000000000..cc120febd8 --- /dev/null +++ b/ICSharpCode.NRefactory/SupportedLanguage.cs @@ -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 + } +}