public static class JZtxtcmdScript.DefVariable extends JZtxtcmdScript.JZcmditem
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
bAppendToFile |
(package private) boolean |
bConst |
DataAccess |
defVariable
The variable which should be created.
|
(package private) java.lang.String |
typeVariable |
conversion, dataAccess, elementType, expression, parentList, sindentA, srcColumn, srcFile, srcLine, statementlist, subitem, textArg
mColumn, mFile, mLine
Constructor and Description |
---|
DefVariable(JZtxtcmdScript.StatementList parentList,
char type) |
Modifier and Type | Method and Description |
---|---|
void |
add_defVariable(JZtxtcmdScript.JZcmdDataAccess val) |
java.lang.String |
getVariableIdent()
Returns the simple variable name if the variable is on one level only.
|
JZtxtcmdScript.JZcmdDataAccess |
new_defVariable()
From Zbnf: < variable?
|
void |
set_appendToFile()
Only used for Openfile += name;
|
void |
set_const()
From Zbnf: [ const
|
void |
set_name(java.lang.String val) |
void |
set_type(java.lang.String val) |
(package private) void |
writeStructLine(java.lang.Appendable out)
Prepares the information about the JZcmditem in one line.
|
add_boolExpr, add_dataAccess, add_dataStruct, add_Filepath, add_filesetAccess, add_numExpr, add_statementBlock, add_textExpr, elementType, isEmpty, new_boolExpr, new_dataAccess, new_dataStruct, new_Filepath, new_filesetAccess, new_numExpr, new_statementBlock, new_textExpr, scriptException, set_plainText, set_text, setLineColumnFile, setLineColumnFileMode, statementlist, toString, writeStruct, writeStructAdd, XXXadd_File, XXXnew_File
public DataAccess defVariable
java.lang.String typeVariable
boolean bConst
boolean bAppendToFile
DefVariable(JZtxtcmdScript.StatementList parentList, char type)
public void set_const()
public void set_appendToFile()
public void set_type(java.lang.String val)
public void set_name(java.lang.String val)
public JZtxtcmdScript.JZcmdDataAccess new_defVariable()
public void add_defVariable(JZtxtcmdScript.JZcmdDataAccess val)
public java.lang.String getVariableIdent()
void writeStructLine(java.lang.Appendable out)
JZtxtcmdScript.JZcmditem
JZtxtcmdScript.JZcmditem.toString()
and in JZtxtcmdScript.JZcmditem.writeStruct(int, Appendable)
.
It should be called in all overridden routines with super.writeStructLine
for the derived statement types.writeStructLine
in class JZtxtcmdScript.JZcmditem