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 withLabeledStatementinstances.
Methodprocess()walks through all ofLabeledStatementinstances in theBlockand invokedoProcess(LabeledStatement)for each of them.LabeledStatementinstances 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 voiddoProcess(LabeledStatement stat)Function to perform processing ofLabeledStatementvoidprocess()ProcessLabeledStatementprotected voidsetStop()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-LabeledStatementinstance to process. Notnull.
-
setStop
protected void setStop()
Sets flag of stop processor totrue
-
-