| Home >> All >> com >> port80 >> eclipse >> csharp >> llk >> [ parser Javadoc ] |
Source code: com/port80/eclipse/csharp/llk/parser/ASTCompilationUnit.java
1 // LLK v0.1 2 package com.port80.eclipse.csharp.llk.parser; 3 4 import com.port80.eclipse.csharp.llk.ast.LLKScope; 5 6 public class ASTCompilationUnit extends LLKScope { 7 8 public ASTCompilationUnit(int type) { 9 super(type); 10 } 11 12 public Object accept(ILLKCSharpParserVisitor visitor, Object data) { 13 return visitor.visit(this, data); 14 } 15 16 public Object clone() throws CloneNotSupportedException { 17 return super.clone(); 18 } 19 20 //////////////////////////////////////////////////////////////////////// 21 22 ASTAttributeSections attributeSections; 23 24 //////////////////////////////////////////////////////////////////////// 25 26 public void setAttributes(ASTAttributeSections attrs) { 27 attributeSections=attrs; 28 } 29 30 public ASTAttributeSections getAttributes() { 31 return attributeSections; 32 } 33 34 public void add(ASTUsingAliasDirective alias) { 35 // TODO 36 } 37 38 public void add(ASTUsingNamespaceDirective ns) { 39 // TODO 40 } 41 42 //////////////////////////////////////////////////////////////////////// 43 44 }