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 ...)
+ *
+ * @param list the list where we will put variables
*/
- public void getOutsideVariable(final List list) {
- }
+ public void getOutsideVariable(final List list) {}
/**
* get the modified variables.
+ *
+ * @param list the list where we will put variables
*/
- public void getModifiedVariable(final List list) {
- }
+ public void getModifiedVariable(final List list) {}
/**
* Get the variables used.
+ *
+ * @param list the list where we will put variables
*/
public void getUsedVariable(final List list) {
expr.getUsedVariable(list);