Package | Description |
---|---|
org.h2.bnf |
The implementation of the BNF (Backus-Naur form) parser and tool.
|
org.h2.bnf.context |
Classes that provide context for the BNF tool, in order to provide BNF-based auto-complete.
|
Modifier and Type | Class and Description |
---|---|
class |
RuleElement
A single terminal rule in a BNF object.
|
class |
RuleFixed
Represents a hard coded terminal rule in a BNF object.
|
class |
RuleList
Represents a sequence of BNF rules, or a list of alternative rules.
|
class |
RuleOptional
Represents an optional BNF rule.
|
class |
RuleRepeat
Represents a loop in a BNF object.
|
Modifier and Type | Method and Description |
---|---|
Rule |
RuleHead.getRule() |
Modifier and Type | Method and Description |
---|---|
void |
BnfVisitor.visitRuleElement(boolean keyword,
String name,
Rule link)
Visit a rule element.
|
void |
BnfVisitor.visitRuleOptional(Rule rule)
Visit an optional rule.
|
void |
BnfVisitor.visitRuleRepeat(boolean comma,
Rule rule)
Visit a repeat rule.
|
Modifier and Type | Method and Description |
---|---|
void |
BnfVisitor.visitRuleList(boolean or,
ArrayList<Rule> list)
Visit a rule list.
|
Constructor and Description |
---|
RuleList(Rule first,
Rule next,
boolean or) |
RuleOptional(Rule rule) |
RuleRepeat(Rule rule,
boolean comma) |
Modifier and Type | Class and Description |
---|---|
class |
DbContextRule
A BNF terminal rule that is linked to the database context information.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.