X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Expression.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Expression.java index d935982..aa5841e 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Expression.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Expression.java @@ -12,7 +12,7 @@ public abstract class Expression extends Statement { * @param sourceStart starting offset * @param sourceEnd ending offset */ - public Expression(final int sourceStart, final int sourceEnd) { + protected Expression(final int sourceStart, final int sourceEnd) { super(sourceStart, sourceEnd); } @@ -21,7 +21,7 @@ public abstract class Expression extends Statement { * @param tab how many spaces before the expression * @return a string representing the expression */ - public String toString(final int tab) { + public final String toString(final int tab) { return tabString(tab) + toStringExpression(); }