gw.lang.ir.statement.IRCaseClause Maven / Gradle / Ivy
/*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.lang.ir.statement;
import gw.lang.ir.IRExpression;
import gw.lang.ir.IRStatement;
import gw.lang.UnstableAPI;
import java.util.List;
@UnstableAPI
public class IRCaseClause {
private IRExpression _condition;
private List _statements;
private int _constValue;
public IRCaseClause(IRExpression condition, List statements, int constValue) {
_condition = condition;
_statements = statements;
_constValue = constValue;
}
public IRExpression getCondition() {
return _condition;
}
public List getStatements() {
return _statements;
}
public int getConstValue() {
return _constValue;
}
}