package net.sourceforge.phpdt.internal.compiler.ast;
+import java.util.List;
+import java.util.ArrayList;
+
/**
* This is a cast expression.
* @author Matthieu Casanova
* @param sourceStart starting offset
* @param sourceEnd ending offset
*/
- public CastExpression(ConstantIdentifier type,
- Expression expression,
- int sourceStart,
- int sourceEnd) {
+ public CastExpression(final ConstantIdentifier type,
+ final Expression expression,
+ final int sourceStart,
+ final int sourceEnd) {
super(sourceStart, sourceEnd);
this.type = type;
this.expression = expression;
buff.append(expression.toStringExpression());
return buff.toString();
}
+
+ /**
+ * Get the variables from outside (parameters, globals ...)
+ */
+ public void getOutsideVariable(final List list) {
+ }
+
+ /**
+ * get the modified variables.
+ */
+ public void getModifiedVariable(final List list) {
+ expression.getModifiedVariable(list);
+ }
+
+ /**
+ * Get the variables used.
+ */
+ public void getUsedVariable(final List list) {
+ expression.getUsedVariable(list);
+ }
}