| Package | Description |
|---|---|
| org.raml.yagi.framework.grammar | |
| org.raml.yagi.framework.grammar.rule |
| Modifier and Type | Method and Description |
|---|---|
ConditionalRule |
BaseGrammar.is(Rule rule)
Conditional rule that will accept if the rule matches
|
| Modifier and Type | Method and Description |
|---|---|
ConditionalRules |
BaseGrammar.when(List<String> expr,
ConditionalRule... cases)
It will dispatch the to the conditional rule that matches the selected value.
|
ConditionalRules |
BaseGrammar.when(String expr,
ConditionalRule... cases)
It will dispatch the to the conditional rule that matches the selected value.
|
| Modifier and Type | Method and Description |
|---|---|
ConditionalRule |
ConditionalRule.add(KeyValueRule rule) |
| Constructor and Description |
|---|
ConditionalRules(List<String> selectorExpression,
ConditionalRule... cases)
Creates a rule that depends on another rule on your grammar
|
Copyright © 2017. All rights reserved.