org.eclipse.internal.xpand2.ast
Class ProtectStatement

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.ProtectStatement
All Implemented Interfaces:
XpandAnalyzable, XpandEvaluatable, ISyntaxElement

public class ProtectStatement
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
ProtectStatement(Expression commentStart, Expression commentEnd, Statement[] body, Expression id, boolean disable)
           
 
Method Summary
 void analyzeInternal(XpandExecutionContext ctx, java.util.Set<AnalysationIssue> issues)
           
 void evaluateInternal(XpandExecutionContext ctx)
           
 Expression getCommentEnd()
           
 Expression getCommentStart()
           
 boolean getDisable()
           
 Expression getId()
           
 
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

ProtectStatement

public ProtectStatement(Expression commentStart,
                        Expression commentEnd,
                        Statement[] body,
                        Expression id,
                        boolean disable)
Method Detail

getCommentEnd

public Expression getCommentEnd()

getCommentStart

public Expression getCommentStart()

getId

public Expression getId()

getDisable

public boolean getDisable()

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