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 voiddoProcess(LabeledStatement stat) Function to perform processing ofLabeledStatementvoidprocess()ProcessLabeledStatementprotected voidsetStop()Sets flag of stop processor totrue
-
Constructor Details
-
LabeledStatementProcessor
- Parameters:
block-Blockto be processed. Notnull.
-
-
Method Details
-
process
public void process()ProcessLabeledStatement -
doProcess
Function to perform processing ofLabeledStatement- Parameters:
stat-LabeledStatementinstance to process. Notnull.
-
setStop
protected void setStop()Sets flag of stop processor totrue
-