public static class JZtxtcmdScript.JZcmditem extends java.lang.Object implements SetLineColumn_ifc
statementlist, dataAccess,
 expression or textArg is set.| Modifier and Type | Field and Description | 
|---|---|
| protected char | conversionDesignation of a conversion from given value to a destination instance. | 
| JZtxtcmdScript.JZcmdDataAccess | dataAccessAny access to an Object, maybe content of a variable, maybe access to any Java data,
 maybe invocation of a Java routine. | 
| protected char | elementTypeDesignation what presents the element. | 
| CalculatorExpr | expressionAny calculation of data. | 
| (package private) JZtxtcmdScript.StatementList | parentListNecessary for throwing exceptions with the  JZtxtcmdScript.StatementList.srcFilein its text. | 
| (package private) static java.lang.String | sindentA | 
| (package private) int | srcColumnHint to the source of this parsed argument or statement. | 
| (package private) java.lang.String | srcFile | 
| (package private) int | srcLineHint to the source of this parsed argument or statement. | 
| JZtxtcmdScript.StatementList | statementlistIf need, sub statements, maybe null. | 
| (package private) JZtxtcmdScript.JZcmditem | subitemAny special sub item if necessary, see conversion. | 
| java.lang.String | textArgFrom Zbnf <""? | 
mColumn, mFile, mLine| Constructor and Description | 
|---|
| JZcmditem(JZtxtcmdScript.StatementList parentList,
         char whatisit) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add_boolExpr(JZtxtcmdScript.JZcmdCalculatorExpr val) | 
| void | add_dataAccess(JZtxtcmdScript.JZcmdDataAccess val) | 
| void | add_dataStruct(JZtxtcmdScript.StatementList val) | 
| void | add_Filepath(JZtxtcmdScript.JZcmditem val) | 
| void | add_filesetAccess(JZtxtcmdScript.AccessFilesetname val) | 
| void | add_numExpr(JZtxtcmdScript.JZcmdCalculatorExpr val) | 
| void | add_statementBlock(JZtxtcmdScript.StatementList val) | 
| void | add_textExpr(JZtxtcmdScript.StatementList val) | 
| private void | checkEmpty() | 
| (package private) char | elementType() | 
| protected boolean | isEmpty() | 
| JZtxtcmdScript.JZcmdCalculatorExpr | new_boolExpr() | 
| JZtxtcmdScript.JZcmdDataAccess | new_dataAccess() | 
| JZtxtcmdScript.StatementList | new_dataStruct()For ZbnfJavaOutput: Creates a statementlist for a dataStruct. | 
| JZtxtcmdScript.JZcmditem | new_Filepath() | 
| JZtxtcmdScript.AccessFilesetname | new_filesetAccess() | 
| JZtxtcmdScript.JZcmdCalculatorExpr | new_numExpr() | 
| JZtxtcmdScript.StatementList | new_statementBlock()For ZbnfJavaOutput: All block statements in if, while etc. | 
| JZtxtcmdScript.StatementList | new_textExpr(ZbnfParseResultItem zbnfItem)Define the whole item as a statement block which is a text expression. | 
| javax.script.ScriptException | scriptException(java.lang.String text)Builds a ScriptException with the given text and the srcFile, line, column of this item. | 
| void | set_plainText(java.lang.String text) | 
| void | set_text(java.lang.String text) | 
| void | setLineColumnFile(int line,
                 int column,
                 java.lang.String sFile) | 
| int | setLineColumnFileMode()Returns wheter only the line or only the column should be set. | 
| JZtxtcmdScript.StatementList | statementlist() | 
| java.lang.String | toString() | 
| (package private) void | writeStruct(int indent,
           java.lang.Appendable out)Writes a complete readable information about this item with all nested information. | 
| (package private) void | writeStructAdd(int indent,
              java.lang.Appendable out)Prepares information in following lines if necessary. | 
| (package private) void | writeStructLine(java.lang.Appendable u)Prepares the information about the JZcmditem in one line. | 
| void | XXXadd_File(JZtxtcmdScript.JZcmditem val) | 
| JZtxtcmdScript.JZcmditem | XXXnew_File()For ZbnfJavaOutput: An < objExpr> is designated as "File : < textValue? | 
protected char elementType
| c | what is it | 
|---|---|
| t | simple constant text | 
| n | simple newline text | 
| T | textual output to any variable or file | 
| l | add to list | 
| i | content of the input, textArgdescribes the build-prescript, 
                   seeZmakeGenerator#getPartsFromFilepath(org.vishia.zmake.ZmakeUserScript.Filepath, String) | 
| o | content of the output, textArgdescribes the build-prescript, 
                   seeZmakeGenerator#getPartsFromFilepath(org.vishia.zmake.ZmakeUserScript.Filepath, String) | 
| e | A datatext, from <*expression> or such. | 
| XXXg | content of a data path starting with an internal variable (reference) or value of the variable. | 
| s | call of a subtext by name. textArg==null,statementlist== null. | 
| j | call of a static java method. #identArgJbat==its name,statementlist== null. | 
| c | cmd line invocation. | 
| d | cd change current directory. | 
| J | Object variable #identArgJbat==its name,statementlist== null. | 
| P | Pipe variable, textArgcontains the name of the variable | 
| U | Buffer variable, textArgcontains the name of the variable | 
| S | String variable, textArgcontains the name of the variable | 
| K | Numeric variable, textArgcontains the name of the variable | 
| Q | Bool variable, textArgcontains the name of the variable | 
| L | Container variable, a list | 
| W | Opened file, a Writer in Java | 
| F | FilePath | 
| G | FileSet | 
| = | assignment of an expression to a variable. | 
| B | statement block | 
| C | <:for:path> statementlistcontains build.script for any list element, | 
| E | <:else> statementlistcontains build.script for any list element, | 
| ?? F | <:if:condition:path> statementlistcontains build.script for any list element, | 
| ?? G | <:elsif:condition:path> statementlistcontains build.script for any list element, | 
| w | while(cond) statementlistcontains build.script for any list element, | 
| b | break | 
| ? | <:if:...?gt> compare-operation in if | 
| D | debug: break at a defined break point in JZtxtcmdExecuter | 
| H | debugOp: break on invocation of an operation (method) in DataAccessbefore evaluating the arguments or if operation not found. | 
| Z | a target, | 
| Y | the file | 
| xxxX | a subtext definition | 
protected char conversion
FilePath
 'G' to JZtxtcmdScript.UserFilesetint srcLine
int srcColumn
java.lang.String srcFile
final JZtxtcmdScript.StatementList parentList
JZtxtcmdScript.StatementList.srcFile in its text.public JZtxtcmdScript.StatementList statementlist
expression or with dataAccess
 or it is a simple textArg.public JZtxtcmdScript.JZcmdDataAccess dataAccess
public CalculatorExpr expression
JZtxtcmdScript.JZcmditem subitem
public java.lang.String textArg
static java.lang.String sindentA
JZcmditem(JZtxtcmdScript.StatementList parentList, char whatisit)
public void setLineColumnFile(int line,
                              int column,
                              java.lang.String sFile)
setLineColumnFile in interface SetLineColumn_ifcpublic int setLineColumnFileMode()
setLineColumnFileMode in interface SetLineColumn_ifcchar elementType()
public JZtxtcmdScript.StatementList statementlist()
private void checkEmpty()
protected boolean isEmpty()
public JZtxtcmdScript.JZcmdDataAccess new_dataAccess()
public void add_dataAccess(JZtxtcmdScript.JZcmdDataAccess val)
public void set_plainText(java.lang.String text)
public void set_text(java.lang.String text)
public JZtxtcmdScript.StatementList new_dataStruct()
 objExpr::= \\{  \\} | <\"\"?text> | ....
 dataStruct::= {  ; }.\n"
   public void add_dataStruct(JZtxtcmdScript.StatementList val)
public JZtxtcmdScript.StatementList new_statementBlock()
ifBlock::= () \\{ \\} . ... statementBlock::= { }." 
public void add_statementBlock(JZtxtcmdScript.StatementList val)
public JZtxtcmdScript.StatementList new_textExpr(ZbnfParseResultItem zbnfItem)
JZtxtcmdScript.StatementList.new_textExpr(ZbnfParseResultItem): There such an item
 is declared inside a longer statement list. The difference is less, both have the same effect. 
 This list does only contain text expression statements.public void add_textExpr(JZtxtcmdScript.StatementList val)
public JZtxtcmdScript.JZcmdCalculatorExpr new_numExpr()
public void add_numExpr(JZtxtcmdScript.JZcmdCalculatorExpr val)
public JZtxtcmdScript.JZcmdCalculatorExpr new_boolExpr()
public void add_boolExpr(JZtxtcmdScript.JZcmdCalculatorExpr val)
public JZtxtcmdScript.JZcmditem XXXnew_File()
public void XXXadd_File(JZtxtcmdScript.JZcmditem val)
public JZtxtcmdScript.JZcmditem new_Filepath()
public void add_Filepath(JZtxtcmdScript.JZcmditem val)
public JZtxtcmdScript.AccessFilesetname new_filesetAccess()
public void add_filesetAccess(JZtxtcmdScript.AccessFilesetname val)
public javax.script.ScriptException scriptException(java.lang.String text)
text - message of the ScriptExceptionfinal void writeStruct(int indent,
                       java.lang.Appendable out)
                throws java.io.IOException
indent - out - java.io.IOExceptionvoid writeStructAdd(int indent,
                    java.lang.Appendable out)
             throws java.io.IOException
indent - out - java.io.IOExceptionvoid writeStructLine(java.lang.Appendable u)
toString() and in writeStruct(int, Appendable).
 It should be called in all overridden routines with super.writeStructLine
 for the derived statement types.u - java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object