Package com._1c.g5.v8.dt.bsl.common
Class ImplicitVariablesProcessor
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.common.ImplicitVariablesProcessor
-
- Direct Known Subclasses:
ImplicitVariablesScope.ImplicitVariableCollector
public abstract class ImplicitVariablesProcessor extends Object
Abstract class to be used as base class for processors dealing withImplicitVariable
instances.
Recall that onlyStaticFeatureAccess
instances representing left side of assignment can containImplicitVariable
instances. Methodprocess()
walks through all of suchStaticFeatureAccess
instances in theBlock
and invokedoProcess(StaticFeatureAccess)
for each of them.StaticFeatureAccess
instances are processed in syntactic order.
-
-
Constructor Summary
Constructors Constructor Description ImplicitVariablesProcessor(Block block, Statement lastStatement)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doProcess(StaticFeatureAccess left)
Function to perform processing ofStaticFeatureAccess
representing left side of assignment.void
process()
ProcessStaticFeatureAccess
instances representing left side of assignment.protected void
setStop()
Sets flag of stop processor totrue
-
-
-
Method Detail
-
process
public void process()
ProcessStaticFeatureAccess
instances representing left side of assignment.
-
setStop
protected void setStop()
Sets flag of stop processor totrue
-
doProcess
protected abstract void doProcess(StaticFeatureAccess left)
Function to perform processing ofStaticFeatureAccess
representing left side of assignment.- Parameters:
left
-StaticFeatureAccess
instance to process. Notnull
.
-
-