org.eclipse.internal.xpand2.ast
Class LetStatement

java.lang.Object
  extended by org.eclipse.internal.xtend.expression.ast.SyntaxElement
      extended by org.eclipse.internal.xpand2.ast.Statement
          extended by org.eclipse.internal.xpand2.ast.StatementWithBody
              extended by org.eclipse.internal.xpand2.ast.LetStatement
All Implemented Interfaces:
XpandAnalyzable, XpandEvaluatable, ISyntaxElement

public class LetStatement
extends StatementWithBody

*

Author:
Sven Efftinge (http://www.efftinge.de) *

Field Summary
 
Fields inherited from class org.eclipse.internal.xpand2.ast.StatementWithBody
body
 
Fields inherited from class org.eclipse.internal.xpand2.ast.Statement
containingDefinition
 
Fields inherited from class org.eclipse.internal.xtend.expression.ast.SyntaxElement
end, line, start
 
Constructor Summary
LetStatement(Identifier varName, Expression value, Statement[] body)
           
 
Method Summary
 void analyzeInternal(XpandExecutionContext ctx, java.util.Set<AnalysationIssue> issues)
           
 void evaluateInternal(XpandExecutionContext ctx)
           
 Identifier getVarName()
           
 Expression getVarValue()
           
 
Methods inherited from class org.eclipse.internal.xpand2.ast.StatementWithBody
getBody, getBodyAsList, setContainingDefinition
 
Methods inherited from class org.eclipse.internal.xpand2.ast.Statement
analyze, evaluate, getContainingDefinition
 
Methods inherited from class org.eclipse.internal.xtend.expression.ast.SyntaxElement
accept, getEnd, getFileName, getLine, getNameString, getStart, setEnd, setFileName, setLine, setStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LetStatement

public LetStatement(Identifier varName,
                    Expression value,
                    Statement[] body)
Method Detail

getVarName

public Identifier getVarName()

getVarValue

public Expression getVarValue()

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