org.eclipse.internal.xpand2.ast
Class ExpandStatement
java.lang.Object
org.eclipse.internal.xtend.expression.ast.SyntaxElement
org.eclipse.internal.xpand2.ast.Statement
org.eclipse.internal.xpand2.ast.ExpandStatement
- All Implemented Interfaces:
- XpandAnalyzable, XpandEvaluatable, ISyntaxElement
public class ExpandStatement
- extends Statement
- Author:
- Sven Efftinge (http://www.efftinge.de), Karsten Thoms
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExpandStatement
public ExpandStatement(Identifier definition,
Expression target,
Expression separator,
Expression[] parameters,
boolean foreach,
boolean onFileClose)
getDefinition
public Identifier getDefinition()
isForeach
public boolean isForeach()
getParameters
public Expression[] getParameters()
getParametersAsList
public java.util.List<Expression> getParametersAsList()
getSeparator
public Expression getSeparator()
getTarget
public Expression getTarget()
isOnFileClose
public boolean isOnFileClose()
getTargetNamespace
public java.lang.String getTargetNamespace()
- Retrieves the namespace of the target definition(s). This method requires that either analyzeInternal() or
evaluateInternal() was invoked before, otherwise result will be null.
- Since:
- 1.0.0 M5
analyzeInternal
public void analyzeInternal(XpandExecutionContext ctx,
java.util.Set<AnalysationIssue> issues)
- Specified by:
analyzeInternal
in class Statement
evaluateInternal
public void evaluateInternal(XpandExecutionContext ctx)
- Specified by:
evaluateInternal
in class Statement
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getNameString
public java.lang.String getNameString(ExecutionContext context)
- Specified by:
getNameString
in interface ISyntaxElement
- Overrides:
getNameString
in class SyntaxElement