public static final class JZtxtcmdScript.ZbnfJZcmdScript extends JZtxtcmdScript.JZcmdClass
ZbatchGenScript#subroutinesAll
, ZbatchGenScript#listScriptVariables
etc. while parsing the script. The <:file>...<.file>
-script is stored here locally
and used as the main file script only if it is the first one of main or included script. The same behaviour is used
ZmakeGenctrl::= {} \e.
Modifier and Type | Field and Description |
---|---|
private JZtxtcmdScript |
compiledScript |
JZtxtcmdScript.Scriptfile |
scriptfile |
classes, listClassesAndSubroutines, subroutines, theScript
bContainsVariableDef, bSetSkipSpaces, cmpnName, jzSettings, nIndentInScript, onerrorAccu, parentStatement, sIndentChars, srcColumn, srcFile, srcLine, statements, statementsAdd, withoutOnerror
mColumn, mFile, mLine
Constructor and Description |
---|
ZbnfJZcmdScript(JZtxtcmdScript compiledScript) |
Modifier and Type | Method and Description |
---|---|
void |
add_checkJZcmdFile(JZtxtcmdScript.JZcmditem val) |
void |
add_checkXmlFile(JZtxtcmdScript.JZcmditem val) |
void |
add_include(JZtxtcmdScript.JZcmdInclude val) |
void |
add_mainRoutine(JZtxtcmdScript.StatementList val) |
boolean |
isXmlSrcNecessary() |
JZtxtcmdScript.JZcmditem |
new_checkJZcmdFile() |
JZtxtcmdScript.JZcmditem |
new_checkXmlFile() |
JZtxtcmdScript.JZcmdInclude |
new_include() |
JZtxtcmdScript.StatementList |
new_mainRoutine()
Any script file gets its own mainRoutine because the
scriptfile is one instance per parsed script file. |
void |
setMainRoutine(JZtxtcmdScript.Subroutine mainRoutine) |
void |
setXmlSrc(XmlNode xmlSrc) |
add_subClass, add_subroutine, classes, listClassesAndSubroutines, new_subClass, new_subroutine, subroutines, writeStruct
add_appendTextOut, add_assignExpr, add_call, add_cd, add_cmdStart, add_cmdWait, add_copy, add_createTextOut, add_dataText, add_debug, add_debugOp, add_DefBoolVar, add_DefClasspath, add_DefClassVar, add_DefFilepath, add_DefFileset, add_DefMapVar, add_DefNumVar, add_DefObjVar, add_DefSubtext, add_del, add_dowhileCtrl, add_forCtrl, add_hasNext, add_ifCtrl, add_iferrorlevel, add_List, add_mkdir, add_move, add_onerror, add_Openfile, add_Pipe, add_setColumn, add_setEnvVar, add_statementBlock, add_Stringjar, add_textExpr, add_textExprTEST, add_textOut, add_textVariable, add_threadBlock, add_throw, add_whileCtrl, add_zmake, new_appendTextOut, new_assignExpr, new_call, new_cd, new_cmdStart, new_cmdWait, new_copy, new_createTextOut, new_dataText, new_debug, new_debugOp, new_DefBoolVar, new_DefClasspath, new_DefClassVar, new_DefFilepath, new_DefFileset, new_DefMapVar, new_DefNumVar, new_DefObjVar, new_DefSubtext, new_del, new_dowhileCtrl, new_forCtrl, new_hasNext, new_ifCtrl, new_iferrorlevel, new_List, new_mkdir, new_move, new_onerror, new_Openfile, new_Pipe, new_setColumn, new_setEnvVar, new_statementBlock, new_Stringjar, new_textExpr, new_textExprTEST, new_textOut, new_textVariable, new_threadBlock, new_throw, new_whileCtrl, new_zmake, set_breakBlock, set_cIndent, set_debug, set_errorToOutput, set_exitScript, set_name, set_newline, set_nIndent, set_plainText, set_scriptdir, set_skipWhiteSpaces, set_textReplLf, set_throwonerror, set_transliteration, set_utf16code, setLineColumnFile, setLineColumnFileMode, XXXadd_DefSubtext, XXXnew_DefSubtext
private final JZtxtcmdScript compiledScript
public JZtxtcmdScript.Scriptfile scriptfile
public ZbnfJZcmdScript(JZtxtcmdScript compiledScript)
public JZtxtcmdScript.JZcmdInclude new_include()
public void add_include(JZtxtcmdScript.JZcmdInclude val)
public JZtxtcmdScript.StatementList new_mainRoutine()
scriptfile
is one instance per parsed script file.
The lastly valid JZtxtcmdScript#scriptFile
is set from the last processes file.public void add_mainRoutine(JZtxtcmdScript.StatementList val)
public JZtxtcmdScript.JZcmditem new_checkJZcmdFile()
public void add_checkJZcmdFile(JZtxtcmdScript.JZcmditem val)
public JZtxtcmdScript.JZcmditem new_checkXmlFile()
public void add_checkXmlFile(JZtxtcmdScript.JZcmditem val)
public void setMainRoutine(JZtxtcmdScript.Subroutine mainRoutine)
public boolean isXmlSrcNecessary()
public void setXmlSrc(XmlNode xmlSrc)