public class DefaultStatement.RuleRepeatUntilAnyTokens extends java.lang.Object implements DefaultStatement.RepeatRule
Constructor and Description |
---|
RuleRepeatUntilAnyTokens(java.lang.String[] exit_tokens) |
Modifier and Type | Method and Description |
---|---|
DefaultStatement.RuleRepeatUntilAnyTokens |
addRule(Statement.Rule rule) |
Statement.Rule |
capture_as(java.lang.String... ids) |
java.lang.String |
getClassifier() |
void |
parse(Statement.StatementContext context) |
java.lang.String |
toString() |
public RuleRepeatUntilAnyTokens(java.lang.String[] exit_tokens)
public Statement.Rule capture_as(java.lang.String... ids)
capture_as
in interface Statement.Rule
public void parse(Statement.StatementContext context)
parse
in interface Statement.Rule
public DefaultStatement.RuleRepeatUntilAnyTokens addRule(Statement.Rule rule)
addRule
in interface Statement.CompoundRule
public java.lang.String getClassifier()
getClassifier
in interface DefaultStatement.RepeatRule
public java.lang.String toString()
toString
in class java.lang.Object