*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / AbstractPHPComment.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3 import net.sourceforge.phpdt.internal.compiler.ast.declarations.VariableUsage;
4
5 import java.util.List;
6 import java.util.ArrayList;
7
8 /**
9  * Here are php comment.
10  * @author Matthieu Casanova
11  */
12 public abstract class AbstractPHPComment extends AstNode {
13
14   /**
15    * Create a comment giving starting and ending offset.
16    * @param sourceStart starting offset
17    * @param sourceEnd ending offset
18    */
19   public AbstractPHPComment(final int sourceStart, final int sourceEnd) {
20     super(sourceStart, sourceEnd);
21   }
22
23   /**
24    * Get the variables from outside (parameters, globals ...)
25    * @return an empty list
26    */
27   public List getOutsideVariable() {
28     return new ArrayList();
29   }
30
31   /**
32    * get the modified variables.
33    * @return an empty list
34    */
35   public List getModifiedVariable() {
36     return new ArrayList();
37   }
38
39   /**
40    * Get the variables used.
41    * @return an empty list
42    */
43   public List getUsedVariable() {
44     return new ArrayList();
45   }
46 }