public abstract class DefaultStatement.AbstractConditionalRule extends java.lang.Object implements Statement.ConditionalRule
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Statement.Rule> |
onFalseRules |
protected java.util.List<Statement.Rule> |
onTrueRules |
Constructor and Description |
---|
AbstractConditionalRule() |
Modifier and Type | Method and Description |
---|---|
Statement.ConditionalRule |
addRuleOnFalse(Statement.Rule rule) |
Statement.ConditionalRule |
addRuleOnTrue(Statement.Rule rule) |
Statement.ConditionalRule |
capture_as(java.lang.String... ids) |
protected void |
parseOnFalseRules(Statement.StatementContext context) |
protected void |
parseOnTrueRules(Statement.StatementContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parse
protected final java.util.List<Statement.Rule> onTrueRules
protected final java.util.List<Statement.Rule> onFalseRules
public Statement.ConditionalRule capture_as(java.lang.String... ids)
capture_as
in interface Statement.ConditionalRule
capture_as
in interface Statement.Rule
protected void parseOnTrueRules(Statement.StatementContext context)
protected void parseOnFalseRules(Statement.StatementContext context)
public Statement.ConditionalRule addRuleOnTrue(Statement.Rule rule)
addRuleOnTrue
in interface Statement.ConditionalRule
public Statement.ConditionalRule addRuleOnFalse(Statement.Rule rule)
addRuleOnFalse
in interface Statement.ConditionalRule