SMC_ITokenModifier.Call (METH)ΒΆ
METHOD Call
Called cyclically to process tokens from tokensIn to tokensOut. The implementation should read the tokens in tokensIn, and append (possibly modified) tokens to tokensOut. The processed tokens need to be removed from tokensIn.
- InOut:
Scope
Name
Type
Comment
Inout
tokensIn
Input token queue
tokensOut
Output token queue
errorPos
Out: error position (line number, column, and length) in case of an error. Set all to -1 if no error position is known.
Output
Done
BOOL
All tokens have been processed and no new tokens will be appended. Should be set if tokensIn is empty and has EndOfData set, and there are no pending tokens due to the state of the modifier function block.
Error
BOOL
An error has occurred
ErrorID
SMC_ERROR
Error-ID