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