*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / HTMLCode.java
index decd393..7c324b8 100644 (file)
@@ -1,5 +1,8 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
+import java.util.List;
+import java.util.ArrayList;
+
 
 /**
  * It's html code.
@@ -17,7 +20,9 @@ public class HTMLCode extends AstNode {
    * @param sourceStart the starting offset
    * @param sourceEnd the ending offset
    */
-  public HTMLCode(char[] htmlCode, int sourceStart, int sourceEnd) {
+  public HTMLCode(final char[] htmlCode,
+                  final int sourceStart,
+                  final int sourceEnd) {
     super(sourceStart, sourceEnd);
     this.htmlCode = htmlCode;
   }
@@ -35,7 +40,31 @@ public class HTMLCode extends AstNode {
    * @param tab how many tabs before this html
    * @return the text of the block
    */
-  public String toString(int tab) {
-    return new String(htmlCode)+" ";
+  public String toString(final int tab) {
+    return new String(htmlCode) + " ";//$NON-NLS-1$
+  }
+
+  /**
+   * Get the variables from outside (parameters, globals ...)
+   * @return an empty list
+   */
+  public List getOutsideVariable() {
+    return new ArrayList();
+  }
+
+  /**
+   * get the modified variables.
+   * @return an empty list
+   */
+  public List getModifiedVariable() {
+    return new ArrayList();
+  }
+
+  /**
+   * Get the variables used.
+   * @return an empty list
+   */
+  public List getUsedVariable() {
+    return new ArrayList();
   }
 }