public static class ReadStructure.Zbnf_ClassData extends java.lang.Object
ClassData::=...
subsyntax.
Only a singleton instance Java2C_Main.ReadStructure#zbnfClassData
is created.
It is reused, calling #init()
before, if
Java2C_Main.ReadStructure#new_ClassData()
<ClassData>>
were parsed with syntax
ClassData::= <*; ?nameJava> ; <$?nameC> ; \{ [ fieldIdents \{ [{ field;. If the appropriate method}] \}] [ typeIdents \{ [{ | class }] \}] [ methods \{ [{ }] \}] [ InnerClass \{ [{ class }] \}] \}.
Java2C_Main.ReadStructure#add_ClassData(org.vishia.java2C.Java2C_Main.ReadStructure.Zbnf_ClassData)
ClassData
.
This temporary instance is used straighten out, because the structure of syntax
is not so opportune for storing in ClassData
directly.Modifier and Type | Field and Description |
---|---|
java.lang.String |
argIdent |
java.lang.String |
header |
java.lang.String |
nameJava |
Modifier and Type | Method and Description |
---|---|
void |
add_castFrom(ReadStructure.Zbnf_Cast value) |
void |
add_castTo(ReadStructure.Zbnf_Cast value) |
void |
add_field(ReadStructure.Zbnf_Field field) |
void |
add_InnerClassData(ReadStructure.Zbnf_ClassData zbnfInput)
The inner class is filled now.
|
void |
add_interfaceClass(java.lang.String value)
From ZBNF: ClassData::= ...
|
void |
add_method(ReadStructure.Zbnf_Method method)
From ZBNF: ClassData::= ...
|
void |
add_methodOverridableC(java.lang.String value)
From ZBNF: ClassData::= ...
|
void |
add_type(org.vishia.java2C.ReadStructure.Zbnf_Type value) |
ReadStructure.Zbnf_Cast |
new_castFrom()
From ZBNF: ClassData::= ...
|
ReadStructure.Zbnf_Cast |
new_castTo()
From ZBNF: ClassData::= ...
|
ReadStructure.Zbnf_Field |
new_field() |
ReadStructure.Zbnf_ClassData |
new_InnerClassData()
A Inner class is detected in ZBNF-parse-result because < ClassData?InnerClassData >.
|
ReadStructure.Zbnf_Method |
new_method()
From ZBNF: ClassData::= ...
|
org.vishia.java2C.ReadStructure.Zbnf_Type |
new_type() |
void |
set_abstract()
From ZBNF: ClassData::= ...
|
void |
set_anonymous()
From ZBNF: ClassData::= ...
|
void |
set_const()
From ZBNF: ClassData::= ...
|
void |
set_embedded()
From ZBNF: ClassData::= ...
|
void |
set_extern()
From ZBNF: ClassData::= ...
|
void |
set_final()
From ZBNF: ClassData::= ...
|
void |
set_interface()
From ZBNF: ClassData::= ...
|
void |
set_nameC(java.lang.String value)
From ZBNF: ClassData::= nameC = <$?nameC>.
|
void |
set_nonStaticInner()
From ZBNF: ClassData::= ...
|
void |
set_statementBlock(java.lang.String value)
From ZBNF: ClassData::= ...
|
void |
set_superClass(java.lang.String value)
From ZBNF: ClassData::= ...
|
java.lang.String |
toString() |
public java.lang.String header
public java.lang.String nameJava
public java.lang.String argIdent
public void set_interface()
public void set_final()
public void set_extern()
public void set_embedded()
public void set_abstract()
public void set_const()
public void set_nonStaticInner()
public void set_anonymous()
public void set_statementBlock(java.lang.String value)
public void set_nameC(java.lang.String value)
sClassIdentNameC
too.
Note: if the nameC ends with "_s" or "_i", then the sClassIdentNameC
is without this suffix.public void set_superClass(java.lang.String value)
public void add_interfaceClass(java.lang.String value)
public ReadStructure.Zbnf_Field new_field()
public void add_field(ReadStructure.Zbnf_Field field) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.text.ParseException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.text.ParseException
public ReadStructure.Zbnf_Method new_method()
public void add_method(ReadStructure.Zbnf_Method method)
java.text.ParseException
public void add_methodOverridableC(java.lang.String value)
public ReadStructure.Zbnf_Cast new_castTo()
public void add_castTo(ReadStructure.Zbnf_Cast value)
public ReadStructure.Zbnf_Cast new_castFrom()
public void add_castFrom(ReadStructure.Zbnf_Cast value)
public org.vishia.java2C.ReadStructure.Zbnf_Type new_type()
public ReadStructure.Zbnf_ClassData new_InnerClassData()
public void add_InnerClassData(ReadStructure.Zbnf_ClassData zbnfInput)
zbnfInput
- public void add_type(org.vishia.java2C.ReadStructure.Zbnf_Type value)
public java.lang.String toString()
toString
in class java.lang.Object