public class GenZbnfJavaData
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| private static class  | GenZbnfJavaData.CmdLineThe inner class CmdLine helps to evaluate the command line arguments
 and show help messages on command line. | 
| (package private) static class  | GenZbnfJavaData.SubClassZbnfInstances of this class describe a sub class in generated code. | 
| private class  | GenZbnfJavaData.WrClassZbnf | 
| Modifier and Type | Field and Description | 
|---|---|
| private GenJavaOutClass.CmdArgs | cmdArgsCommand line args | 
| private GenJavaOutClass | genClass | 
| protected java.util.TreeMap<java.lang.String,ZbnfSyntaxPrescript> | idxSubSyntaxAll parsed components from  ZbnfParser.listSubPrescript. | 
| private MainCmdLogging_ifc | log | 
| static java.lang.String | sVersionVersion, history and license. | 
| Constructor and Description | 
|---|
| GenZbnfJavaData(GenJavaOutClass.CmdArgs cmdArgs,
               MainCmdLogging_ifc log) | 
| Modifier and Type | Method and Description | 
|---|---|
| private void | evaluateSyntax(ZbnfSyntaxPrescript mainScript) | 
| private void | genCmpnClass(GenZbnfJavaData.SubClassZbnf classData)Generate the content of a dst class from a syntax component. | 
| static void | main(java.lang.String[] sArgs)main started from java | 
| void | setAndEvaluateSyntax() | 
| static java.lang.String | smain(java.lang.String[] sArgs)Invocation from another java program without exit the JVM | 
| private static java.lang.String | smain(java.lang.String[] sArgs,
     boolean shouldExitVM) | 
public static final java.lang.String sVersion
GenJavaOutClass 
 GenJavaOutClass change. 
 #bOnlyOneEach ?& to prevent a container for parse result, only one element.    
 WrClassZbnf#wrVariable(SubClassZbnf, String, String, String, String, ZbnfSyntaxPrescript, boolean, boolean, List)
   called in WrClassZbnf#evaluateChildSyntax(List, SubClassZbnf, boolean, int).
   There also: regarded there: ZbnfSyntaxPrescript.EType.kStoreSrc
 GenJavaOutClass
 WrClassZbnf#evaluateChildSyntax(List, boolean, int): 
   ZbnfSyntaxPrescript.bAssignIntoNextComponent is set, this element must not placed in the current class.
   ZbnfSyntaxPrescript.sDefinitionIdent, must regard here, not done in past...?
   ZbnfSyntaxPrescript.RepetitionSyntax.bOnlyOneEachOption is regarded to prevent producing a List for the elements. 
   -dirJava:$(ENV)/... can contain now environment variables
   which are resolved using {@link Arguments#replaceEnv(String)}.
 item in the moment bad commented.
 protected java.util.TreeMap<java.lang.String,ZbnfSyntaxPrescript> idxSubSyntax
ZbnfParser.listSubPrescript.private final GenJavaOutClass.CmdArgs cmdArgs
private final MainCmdLogging_ifc log
private final GenJavaOutClass genClass
public GenZbnfJavaData(GenJavaOutClass.CmdArgs cmdArgs, MainCmdLogging_ifc log)
public void setAndEvaluateSyntax()
private void evaluateSyntax(ZbnfSyntaxPrescript mainScript)
private void genCmpnClass(GenZbnfJavaData.SubClassZbnf classData) throws java.lang.Exception
classData - contains syntaxjava.lang.Exceptionpublic static void main(java.lang.String[] sArgs)
public static java.lang.String smain(java.lang.String[] sArgs)
sArgs - same like main(String[])private static java.lang.String smain(java.lang.String[] sArgs,
                                      boolean shouldExitVM)