|
Object-oriented Parser System v3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectRfcBuilder
XbnfBuilder
public class XbnfBuilder
builder for recognizer built from xbnf.rfc and xbnf.xbnf.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class RfcBuilder |
|---|
RfcBuilder.Repeator |
| Field Summary |
|---|
| Fields inherited from class RfcBuilder |
|---|
factory |
| Constructor Summary | |
|---|---|
XbnfBuilder()
|
|
| Method Summary | |
|---|---|
Parser.Node |
and(int position,
List args)
and: '{' xors ',' xors +/ ',' '}' list? |
Parser.Node |
or(int position,
List args)
or: '[' xors ',' xors +/ ',' ']' list? |
protected RfcBuilder.Repeator |
range(int position,
int min,
int max,
Parser.Node delimiter)
returns Repeator to call ParserFactory.repeat
or ParserFactory.delimit,
or the Repeator created by the alternatives. |
RfcBuilder.Repeator |
range1(int position,
List args)
range1: Number ( '..' |
RfcBuilder.Repeator |
range2(int position,
List args)
range2: '..' ( Number? |
Parser.Sequence |
xors(int position,
List args)
xors: xor+; |
| Methods inherited from class RfcBuilder |
|---|
extract, item, literal, many, optional, parser, rule, sequence, some, term, type, xor |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XbnfBuilder()
| Method Detail |
|---|
public Parser.Node or(int position,
List args)
public Parser.Node and(int position,
List args)
public Parser.Sequence xors(int position,
List args)
Sequence to prevent flattening the content.
protected RfcBuilder.Repeator range(int position,
int min,
int max,
Parser.Node delimiter)
Repeator to call ParserFactory.repeat
or ParserFactory.delimit,
or the Repeator created by the alternatives.
public RfcBuilder.Repeator range1(int position,
List args)
public RfcBuilder.Repeator range2(int position,
List args)
|
(c) 2008 Axel T. Schreiner |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||