package net.sourceforge.phpdt.internal.compiler.ast;
-import net.sourceforge.phpdt.internal.compiler.ast.declarations.VariableUsage;
-
import java.util.List;
-import java.util.ArrayList;
/**
* a php echo block.
* <?= someexpression ?>
* @author Matthieu Casanova
*/
-public class PHPEchoBlock extends AstNode {
+public final class PHPEchoBlock extends AstNode {
/** the expression. */
- public Expression expr;
+ private final Expression expr;
/**
* Create a new php echo block.
/**
* Get the variables from outside (parameters, globals ...)
- * @return an empty list
+ *
+ * @param list the list where we will put variables
*/
- public List getOutsideVariable() {
- return new ArrayList();
- }
+ public void getOutsideVariable(final List list) {}
/**
* get the modified variables.
- * @return an empty list
+ *
+ * @param list the list where we will put variables
*/
- public List getModifiedVariable() {
- return new ArrayList();
- }
+ public void getModifiedVariable(final List list) {}
/**
* Get the variables used.
- * @return the used variables are the used variables from the expression
+ *
+ * @param list the list where we will put variables
*/
- public List getUsedVariable() {
- return expr.getUsedVariable();
+ public void getUsedVariable(final List list) {
+ expr.getUsedVariable(list);
}
}