Package gw.lang.ir.statement
Class IRCaseClause
- java.lang.Object
-
- gw.lang.ir.statement.IRCaseClause
-
public class IRCaseClause extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private IRExpression_conditionprivate int_constValueprivate java.util.List<IRStatement>_statements
-
Constructor Summary
Constructors Constructor Description IRCaseClause(IRExpression condition, java.util.List<IRStatement> statements, int constValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRExpressiongetCondition()intgetConstValue()java.util.List<IRStatement>getStatements()
-
-
-
Field Detail
-
_condition
private IRExpression _condition
-
_statements
private java.util.List<IRStatement> _statements
-
_constValue
private int _constValue
-
-
Constructor Detail
-
IRCaseClause
public IRCaseClause(IRExpression condition, java.util.List<IRStatement> statements, int constValue)
-
-
Method Detail
-
getCondition
public IRExpression getCondition()
-
getStatements
public java.util.List<IRStatement> getStatements()
-
getConstValue
public int getConstValue()
-
-