~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/Libraries/NRefactory/Project/Src/Ast/General/CompilationUnit.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
 
3
 
 
4
using System;
 
5
using System.Collections;
 
6
 
 
7
namespace ICSharpCode.NRefactory.Ast
 
8
{
 
9
        public class CompilationUnit : AbstractNode
 
10
        {
 
11
                // Children in C#: UsingAliasDeclaration, UsingDeclaration, AttributeSection, NamespaceDeclaration
 
12
                // Children in VB: OptionStatements, ImportsStatement, AttributeSection, NamespaceDeclaration
 
13
                
 
14
                public override object AcceptVisitor(IAstVisitor visitor, object data)
 
15
                {
 
16
                        return visitor.VisitCompilationUnit(this, data);
 
17
                }
 
18
                
 
19
                public override string ToString()
 
20
                {
 
21
                        return String.Format("[CompilationUnit]");
 
22
                }
 
23
        }
 
24
}