public static class ReadStructure.Zbnf_Field extends java.lang.Object
field::=...
subsyntax.
Only some singleton instances are created:
Java2C_Main.ReadStructure.Zbnf_Method#returnType1
to save the return type.
It is an own instance because the return type will be processed after alle param are processed.
Java2C_Main.ReadStructure.Zbnf_Method#zbnfParam
to save the current param.
Java2C_Main.ReadStructure.Zbnf_ClassData#field
to save the current field.
init()
before, if
Java2C_Main.ReadStructure.Zbnf_Method#new_param()
Java2C_Main.ReadStructure.Zbnf_Method#new_returnType()
Java2C_Main.ReadStructure.Zbnf_ClassData#new_field()
<field?...>
were parsed with syntax
field::= <1*?modeAccess><1*?modeArrayElement><1*?modeStatic>; [{\[ [\?\?|<*\]?fixArraySizes>]\]}] ; <*; ?typeJava> ; <$?typeC> ; <$?name> ;. If the appropriate methods
Java2C_Main.ReadStructure.Zbnf_Method#add_param(org.vishia.java2C.Java2C_Main.ReadStructure.Zbnf_Field)
Java2C_Main.ReadStructure.Zbnf_Method#add_returnType(org.vishia.java2C.Java2C_Main.ReadStructure.Zbnf_Field)
Java2C_Main.ReadStructure.Zbnf_ClassData#add_field(org.vishia.java2C.Java2C_Main.ReadStructure.Zbnf_Field)
FieldData
.
This temporary instance is used straighten out, because the structure of syntax
is not so opportune for storing in FieldData
directly.Modifier and Type | Field and Description |
---|---|
java.lang.String |
instanceType
Stores the parsed result
inside
org.vishia.zbnf.ZbnfJavaOutput#setOutputStrict(Object result, ZbnfParseResultItem, Report) . |
java.lang.String |
name
Stores the parsed result
inside
org.vishia.zbnf.ZbnfJavaOutput#setOutputStrict(Object result, ZbnfParseResultItem, Report) . |
java.lang.String |
typeJava
Stores the parsed result
inside
org.vishia.zbnf.ZbnfJavaOutput#setOutputStrict(Object result, ZbnfParseResultItem, Report) . |
Modifier and Type | Method and Description |
---|---|
void |
add_fixArraySizes(java.lang.String value)
FromZBNF: field::= ~~~ <*\] ?fixArraySizes> ~~~
|
void |
add_outerJava(ReadStructure.Zbnf_EnvIdent value) |
void |
add_packageType(ReadStructure.Zbnf_EnvIdent value) |
ReadStructure.Zbnf_EnvIdent |
new_outerJava() |
ReadStructure.Zbnf_EnvIdent |
new_packageType() |
void |
set_arrayDimension()
FromZBNF: field::= ~~~[??<?arrayDimension>]~~~ : counts the
dimensionArrayOrFixSize . |
void |
set_fixSize(int value)
FromZBNF: field::= ~~~ fixSize \[ <#?fixSize> \] ~~~
|
void |
set_modeAccess(java.lang.String value)
Sets the parsed
modeAccess . |
void |
set_modeArrayElement(java.lang.String value)
Sets the parsed
modeArrayElement . |
void |
set_modeStatic(java.lang.String value)
Sets the parsed
modeStatic . |
void |
set_vaarg() |
java.lang.String |
toString() |
public java.lang.String name
org.vishia.zbnf.ZbnfJavaOutput#setOutputStrict(Object result, ZbnfParseResultItem, Report)
.
To access the field from there via reflection, it should be public.public java.lang.String typeJava
org.vishia.zbnf.ZbnfJavaOutput#setOutputStrict(Object result, ZbnfParseResultItem, Report)
.
To access the field from there via reflection, it should be public.public java.lang.String instanceType
org.vishia.zbnf.ZbnfJavaOutput#setOutputStrict(Object result, ZbnfParseResultItem, Report)
.
To access the field from there via reflection, it should be public.public ReadStructure.Zbnf_EnvIdent new_outerJava()
public void add_outerJava(ReadStructure.Zbnf_EnvIdent value)
public ReadStructure.Zbnf_EnvIdent new_packageType()
public void add_packageType(ReadStructure.Zbnf_EnvIdent value)
public void set_vaarg()
public void set_modeAccess(java.lang.String value)
modeAccess
. Only the first character is used and valid.public void set_modeArrayElement(java.lang.String value)
modeArrayElement
. Only the first character is used and valid.public void set_modeStatic(java.lang.String value)
modeStatic
. Only the first character is used and valid.public void set_arrayDimension()
dimensionArrayOrFixSize
.public void add_fixArraySizes(java.lang.String value)
public void set_fixSize(int value)
public java.lang.String toString()
toString
in class java.lang.Object