public static class JZtxtcmdScript.Subroutine extends JZtxtcmdScript.JZcmditem
Modifier and Type | Field and Description |
---|---|
boolean |
addLocals
If set the subroutine gets all local variables as copy.
|
java.util.List<JZtxtcmdScript.DefVariable> |
formalArgs |
java.lang.String |
name |
(package private) JZtxtcmdScript |
theScript |
boolean |
useLocals
If set the subroutine uses the local variables of the calling level immediately.
|
conversion, dataAccess, elementType, expression, parentList, sindentA, srcColumn, srcFile, srcLine, statementlist, subitem, textArg
mColumn, mFile, mLine
Constructor and Description |
---|
Subroutine(JZtxtcmdScript.JZcmdClass parentList) |
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, XXXadd_File, XXXnew_File
public java.lang.String name
public boolean addLocals
public boolean useLocals
public java.util.List<JZtxtcmdScript.DefVariable> formalArgs
final JZtxtcmdScript theScript
Subroutine(JZtxtcmdScript.JZcmdClass parentList)
parentList
- It is neccessary that parentList is instanceof JZcmdClass, for JZtxtcmdExecuter
public void set_name(java.lang.String name)
public void set_useLocals()
public void set_addLocals()
public JZtxtcmdScript.Subroutine new_formalArgument()
public void add_formalArgument(JZtxtcmdScript.Subroutine val)
public JZtxtcmdScript.DefVariable new_DefObjVar()
public void add_DefObjVar(JZtxtcmdScript.DefVariable val)
public JZtxtcmdScript.DefContainerVariable new_List()
public void add_List(JZtxtcmdScript.DefContainerVariable val)
public JZtxtcmdScript.DefVariable new_ClassObjVar()
public void add_DefClassVar(JZtxtcmdScript.DefVariable val)
public JZtxtcmdScript.DefVariable new_DefNumVar()
public void add_DefNumVar(JZtxtcmdScript.DefVariable val)
public JZtxtcmdScript.DefVariable new_DefBoolVar()
public void add_DefBoolVar(JZtxtcmdScript.DefVariable val)
public JZtxtcmdScript.DefVariable new_textVariable()
public void add_textVariable(JZtxtcmdScript.DefVariable val)
public JZtxtcmdScript.DefVariable new_DefMapVar()
public void add_DefMapVar(JZtxtcmdScript.DefVariable val)
public JZtxtcmdScript.DefVariable new_DefFilepath()
public void add_DefFilepath(JZtxtcmdScript.DefVariable val)
public JZtxtcmdScript.UserFileset new_DefFileset()
public void add_DefFileset(JZtxtcmdScript.UserFileset val)
public JZtxtcmdScript.DefVariable new_setEnvVar()
public void add_setEnvVar(JZtxtcmdScript.DefVariable val)
void writeStructAdd(int indent, java.lang.Appendable out) throws java.io.IOException
JZtxtcmdScript.JZcmditem
writeStructAdd
in class JZtxtcmdScript.JZcmditem
java.io.IOException
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