public class DinExprK_FBcl extends Din_FBcl
FBexpr_FBcl.Pin_FBcl.XXXXXEKind| Modifier and Type | Field and Description |
|---|---|
protected DType_FBcl.DtIxmdl |
dTypeKpin
A possible specific data type for the pin.
|
java.lang.String |
sOper
An operator if given, first the binary operator with the input,
following by the possible unary operator. it is stored originally (IEC61499) in the "expr" pin
as
Din_FBcl.sConstant as control String for the whole expression. |
static java.lang.String |
sVersion
Version, history and license.
|
DinExpr_FBcl |
xin
The associated X input.
|
java.lang.String |
xrefname1
Name of variables which are contained in the text of the X input but yet not referenced.
|
java.lang.String |
xrefname2
Name of variables which are contained in the text of the X input but yet not referenced.
|
bBreakChain, bNonFBarray, dTypeCastInp, ixArrayAccess, mEvCluster, nullArraysteptime, zVectorDimconnectDst, connectSrc, fb, name, version, xy| Constructor and Description |
|---|
DinExprK_FBcl(DinExpr_FBcl xin,
DinType_FBcl pint,
java.lang.String name,
FBlock_FBcl fb) |
| Modifier and Type | Method and Description |
|---|---|
DType_FBcl |
dTypePropgFwd()
Returns the particular DType
dTypeKpin of this K pin. null if not set. |
(package private) DType_FBcl.DtIxmdl |
getDTypeIxMdl()
Returns a String describing the DType situation.
|
java.lang.String |
setDType(DType_FBcl.DtIxmdl src,
LogMessage log)
See
Dinout_FBcl#setDType(DType_FBcl, DType_FBcl, org.vishia.msgDispatch.LogMessage) |
boolean |
setDTypeExprK(DType_FBcl.DtIxmdl dtix)
Sets initial the
Dinout_FBcl.dType(). |
bCastDType, breakEventChain, dTypeCastInp, dTypeConst, dTypeDecl, dTypePropg, getConnSrc, getConstant, getConstant, getDintype, getOnlyoneAssocEvin, iterConnSrcConditional, iterEvin, nonFBarray, operationsType, replaceAliasConst, setBreakEventChain, setConstant, setConstantDirect, setDTypeCastInp, setDTypeConst, setDTypePropg, setNonFBarray, toString, XXXconnectSrcdtArrayCpp, dType, dType, dTypeChar, dTypeCix, dtypeCpp, dTypeFBpinNonArray, dTypeIxMdl, explainDTypeIx, getSteptime, getSteptimeStr, isComplexDType, namePin, propagateSteptime, sDTypeIx, sDTypeIx, sDTypeIxId, XXXdTypeIxMdladdEvchain, addEvchainDepending, changePinType, connDst, connectFrom, connectFrom, connectFrom, connSrc, containsEvchain, containsOtherEvchain, dinType, doutType, evChainHex, evinType, evoutType, getFirstConnDst, getFirstConnSrc, getMaskEvinMdlChainDriven, getMaskEvoutMdlBackChainDriven, getOneConnSrc, getOneConnSrc, graphicPos, isEventBackChainDriven, isEventBackChainDriven, isEventChainDriven, isEventChainDriven, isEventChainDriven, isEventChainDriven, isKind, isNotKind, isUpdatePin, iterConnDst, iterConnSrc, iterEvchainDep, iterEvchainShow, nameFBpin, nameFBpin, nameIdentifier, nrofConnDst, nrofConnSrc, pinNameFB, pint, pinType, removeConnectDst, removeConnectSrc, removeConnSrcAll, removePinSimpleInConnDst, setEventBackChainDriven, setEventChainDriven, sMaskHexEvinMdlChainDriven, spec, spec, throwError, toString, XXXremoveConnectSrc, XXXremoveConnSrc, XXXsetEventBackChainDrivenpublic static final java.lang.String sVersion
Dinout_FBcl.dType() for expression instances
org.vishia.mainCmd.MainCmd.
protected DType_FBcl.DtIxmdl dTypeKpin
DinoutType_FBcl.dType as fix dtype in the pin type
or in FBlock_FBcl.dTypes as type of maybe some more pins of this Pin_FBcl.fb
adequate to the index given in DinoutType_FBcl#ixDtype.
But for expressions it is possible that each input has a specific forward propagated data type
which may be used for type casting in the generated code etc.
If this type should be set then DinoutType_FBcl#ixDtype is marked with -2 instead -1 for a fix type.public final DinExpr_FBcl xin
public transient java.lang.String xrefname1
public transient java.lang.String xrefname2
public java.lang.String sOper
Din_FBcl.sConstant as control String for the whole expression.
See FBexpr_FBcl#setOperatorToPins(org.vishia.fbcl.readSource.Prj_FBCLrd)
and FBexpr_FBcl.setExprPinFromPinsExprFn().public DinExprK_FBcl(DinExpr_FBcl xin, DinType_FBcl pint, java.lang.String name, FBlock_FBcl fb)
DType_FBcl.DtIxmdl getDTypeIxMdl()
Dinout_FBcl.dTypeCix(char[], int[]).
If the internal dTypeKpin is set, then returns it and '!' for cDTBack,
and the ixDTmdl from DType_FBcl.DtIxmdl.ixMdl().
If that is not set, it calls first Dinout_FBcl.dTypeCix(char[], int[])
which may return the set Din_FBcl.dTypeCastInp.
If both are not set, the DType of the expression is returned.getDTypeIxMdl in class Din_FBclpublic DType_FBcl dTypePropgFwd()
dTypeKpin of this K pin. null if not set.public java.lang.String setDType(DType_FBcl.DtIxmdl src, LogMessage log)
Dinout_FBcl#setDType(DType_FBcl, DType_FBcl, org.vishia.msgDispatch.LogMessage)public boolean setDTypeExprK(DType_FBcl.DtIxmdl dtix)
Dinout_FBcl.dType(). It it is set already, it is not changed.
It means the first set DType wins. This is usual a declared DType of the pin,
used for value casting in generated code.dt -