X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/EmptyStatement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/EmptyStatement.java index 780c841..34f4d4d 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/EmptyStatement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/EmptyStatement.java @@ -1,16 +1,39 @@ package net.sourceforge.phpdt.internal.compiler.ast; +import java.util.List; + /** * An empty statement. * @author Matthieu Casanova */ -public class EmptyStatement extends Statement { +public final class EmptyStatement extends Statement { - public EmptyStatement(int sourceStart, int sourceEnd) { + public EmptyStatement(final int sourceStart, final int sourceEnd) { super(sourceStart, sourceEnd); } - public String toString(int tab) { - return tabString(tab) + ";"; //$NON-NLS-1$ + public String toString(final int tab) { + return tabString(tab) + ';'; //$NON-NLS-1$ } + + /** + * Get the variables from outside (parameters, globals ...) + * + * @param list the list where we will put variables + */ + 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) {} + + /** + * Get the variables used. + * + * @param list the list where we will put variables + */ + public void getUsedVariable(final List list) {} }