|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.vishia.java2C.Java2C_Main.InputFileParseResult
public static final class Java2C_Main.InputFileParseResult
The instance of this class is filled with the result of parsing an input file
given with -if:INPFILE cmd line calling argument.
The instance is created and used
inside the routine Java2C_Main#readConfigFile(String sFileName).
That routine parses the result and calls
ZbnfJavaOutput.setOutputStrict(Object result, ZbnfParseResultItem, Report).
The result is this instance.
All inner elements follows the syntax.zbnf, see explaination on Java2C.main(String[])
| Nested Class Summary | |
|---|---|
static class |
Java2C_Main.InputFileParseResult.Set
Subclass to pour in the result of the set::=... |
| Field Summary | |
|---|---|
private java.util.List<java.lang.String> |
listSrcPath
List to hold all stcPath. |
private java.util.List<java.lang.String> |
listStcPath
List to hold all stcPath. |
private java.util.Map<java.lang.String,ConfigSrcPathPkg_ifc.Set> |
packageReplacement
List to hold all <set>. |
private java.util.List<java.lang.String> |
srcToTranslate
List to hold all <set>. |
| Constructor Summary | |
|---|---|
Java2C_Main.InputFileParseResult()
|
|
| Method Summary | |
|---|---|
void |
add_packageReplacement(Java2C_Main.InputFileParseResult.Set value)
ZBNF-parser-result: adds a component <...? |
void |
add_srcPath(java.lang.String value)
ZBNF-parser-result: adds an element <...? |
void |
add_srcToTranslate(java.lang.String value)
ZBNF-parser-result: Adds the instance after it is filled with the content of a <set>. |
void |
add_stcPath(java.lang.String value)
ZBNF-parser-result: adds an element <...? |
ConfigSrcPathPkg_ifc.Set |
getCPathPrePostfixForPackage(java.lang.String javaPackagePath)
Returns the Set of path, prefix and postfix for a given package path. |
java.util.Set<java.util.Map.Entry<java.lang.String,ConfigSrcPathPkg_ifc.Set>> |
getListPackageReplacements()
|
java.util.List<java.lang.String> |
getSrcPathes()
Returns the list of all pathes parsed with srcPath::= |
java.util.List<java.lang.String> |
getSrcToTranslate()
Returns the list of all sources to translate. |
java.util.List<java.lang.String> |
getStcPathes()
Returns the list of all pathes parsed with stcPath::= |
Java2C_Main.InputFileParseResult.Set |
new_packageReplacement()
ZBNF-parser-result: new component <...? |
Java2C_Main.InputFileParseResult.Set |
new_set()
ZBNF-parser-result: Creates an appropriate instance for semantic set. |
void |
reportConfig(Report report,
int reportLevel)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.util.List<java.lang.String> srcToTranslate
<set>.
private final java.util.List<java.lang.String> listStcPath
<...?stcPath>.
private final java.util.List<java.lang.String> listSrcPath
<...?stcPath>.
private final java.util.Map<java.lang.String,ConfigSrcPathPkg_ifc.Set> packageReplacement
<set>.
| Constructor Detail |
|---|
public Java2C_Main.InputFileParseResult()
| Method Detail |
|---|
public Java2C_Main.InputFileParseResult.Set new_set()
<set>
public void add_srcToTranslate(java.lang.String value)
<set>.
public void add_stcPath(java.lang.String value)
<...?stcPsth>.
public void add_srcPath(java.lang.String value)
<...?stcPsth>.
public java.util.List<java.lang.String> getStcPathes()
ConfigSrcPathPkg_ifc
stcPath::=>{ <\"\"?stcPath>| <* :;?stcPath> ? : }.
getStcPathes in interface ConfigSrcPathPkg_ifcpublic java.util.List<java.lang.String> getSrcPathes()
ConfigSrcPathPkg_ifc
srcPath::=>{ <\"\"?srcPath>| <* :;?srcPath> ? : }.
getSrcPathes in interface ConfigSrcPathPkg_ifcpublic Java2C_Main.InputFileParseResult.Set new_packageReplacement()
<...?packageReplacement>.
public void add_packageReplacement(Java2C_Main.InputFileParseResult.Set value)
<...?packageReplacement>.
public ConfigSrcPathPkg_ifc.Set getCPathPrePostfixForPackage(java.lang.String javaPackagePath)
ConfigSrcPathPkg_ifc
getCPathPrePostfixForPackage in interface ConfigSrcPathPkg_ifcpublic java.util.Set<java.util.Map.Entry<java.lang.String,ConfigSrcPathPkg_ifc.Set>> getListPackageReplacements()
getListPackageReplacements in interface ConfigSrcPathPkg_ifcpublic java.util.List<java.lang.String> getSrcToTranslate()
ConfigSrcPathPkg_ifc/ at separator,
at example org/vishia/util/StringPart.java
or it is a package with / as separator and on end,
at example org/vishia/util/.
getSrcToTranslate in interface ConfigSrcPathPkg_ifc
public void reportConfig(Report report,
int reportLevel)
reportConfig in interface ConfigSrcPathPkg_ifc
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||