| Package | Description |
|---|---|
| org.raml.yagi.framework.grammar | |
| org.raml.yagi.framework.grammar.rule |
| Modifier and Type | Method and Description |
|---|---|
AnyOfRule |
BaseGrammar.anyOf(List<Rule> rules)
Matches if any rule matches and suggests all the possibilities.
|
AnyOfRule |
BaseGrammar.anyOf(Rule... rules)
Matches if any rule matches and suggests all the possibilities.
|
AnyOfRule |
BaseGrammar.firstOf(Rule... rules)
Accepts if any rule matches and delegates the suggestion to the first one that matches.
|
AnyOfRule |
BaseGrammar.optional(Rule rule)
Matches if the rule matches or the value is null
|
| Modifier and Type | Class and Description |
|---|---|
class |
FirstOfRule
Accepts if any rule matches and delegates the suggestion to the first one that matches.
|
| Modifier and Type | Method and Description |
|---|---|
AnyOfRule |
AnyOfRule.add(Rule rule) |
AnyOfRule |
AnyOfRule.addAll(List<Rule> rules) |
Copyright © 2017. All rights reserved.