public class EBNFread
extends java.lang.Object
$endlineComment=##. EBNFmain::= {Note: The EBNF syntax came from a copy of text in a pdf document.}\e. EBNFblock::= [PRODUCTION RULE[S]: | SYNTAX:] { } [B\.| SEMANTICS:|\e] <*|PRODUCTION RULE:|PRODUCTION RULES:|SYNTAX:|\e?pdftext>. EBNFdef::= <$?cmpnName> ::= . EBNFalt::= { [? SEMANTICS: | B\. ] ##not SEMANTICS:, abort loop [ | \| ## | alternative Note: it is lower prior then concatenation. ] }. EBNFexpr::= { [? SEMANTICS: | B\. ] ##not SEMANTICS:, abort loop }. EBNFitem::= | '<*'?literal>' ## 'literal' | <""?literal> ## "literal" | \<<*\>?comment>\> ## | <$?cmpn> [? ::= ] ##ident::= breaks the loop, it is a new definition. | \[ \] ## [ simple option ] | \{ \} ## { repetition } Note: can be empty. | ( ) ##sub syntax with own structure
Modifier and Type | Class and Description |
---|---|
static class |
EBNFread.EBNFalt
It is either the whole syntax of a component without toplevel alternatives or one alternative on toplevel.
|
static class |
EBNFread.EBNFdef
An instance of this contains a EBNF component definition like name::=SYNTAX.
|
static class |
EBNFread.EBNFexpr |
static class |
EBNFread.EBNFitem
A non derived item has no sub items.
|
static class |
EBNFread.XXXXXEBNFmain |
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,EBNFread.EBNFdef> |
idx_cmpnDef |
java.util.List<EBNFread.EBNFdef> |
list_cmpnDef |
java.lang.String |
pdftext |
static java.lang.String |
sVersion
Version, history and license.
|
Constructor and Description |
---|
EBNFread() |
Modifier and Type | Method and Description |
---|---|
void |
add_EBNFdef(EBNFread.EBNFdef val) |
EBNFread.EBNFdef |
new_EBNFdef()
From ZBNF syntax: <...?
|
public static final java.lang.String sVersion
public java.util.List<EBNFread.EBNFdef> list_cmpnDef
public java.util.Map<java.lang.String,EBNFread.EBNFdef> idx_cmpnDef
public java.lang.String pdftext
public EBNFread.EBNFdef new_EBNFdef()
public void add_EBNFdef(EBNFread.EBNFdef val)