Package com._1c.g5.v8.dt.bsl.common
Class LabeledStatementProcessor
java.lang.Object
com._1c.g5.v8.dt.bsl.common.LabeledStatementProcessor
Abstract class to be used as base class for processors
dealing with
Method
LabeledStatement
instances.Method
process()
walks through all of
LabeledStatement
instances in the Block
and invoke doProcess(LabeledStatement)
for each of them.
LabeledStatement
instances are processed in syntactic order.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
doProcess
(LabeledStatement stat) Function to perform processing ofLabeledStatement
void
process()
ProcessLabeledStatement
protected void
setStop()
Sets flag of stop processor totrue
-
Constructor Details
-
LabeledStatementProcessor
- Parameters:
block
-Block
to be processed. Notnull
.
-
-
Method Details
-
process
public void process()ProcessLabeledStatement
-
doProcess
Function to perform processing ofLabeledStatement
- Parameters:
stat
-LabeledStatement
instance to process. Notnull
.
-
setStop
protected void setStop()Sets flag of stop processor totrue
-