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
Abstract class to be used as base class for processors
dealing with
Recall that only
ImplicitVariable
instances.Recall that only
StaticFeatureAccess
instances representing
left side of assignment can contain ImplicitVariable
instances.
Method process()
walks through all of such
StaticFeatureAccess
instances in the Block
and invoke doProcess(StaticFeatureAccess)
for each of them.
StaticFeatureAccess
instances are processed in syntactic order.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
ImplicitVariablesProcessor
- Parameters:
block
-Block
to be processed. Notnull
.lastStatement
- last statement to be processed
-
-
Method Details
-
process
public void process()ProcessStaticFeatureAccess
instances representing left side of assignment. -
setStop
protected void setStop()Sets flag of stop processor totrue
-
doProcess
Function to perform processing ofStaticFeatureAccess
representing left side of assignment.- Parameters:
left
-StaticFeatureAccess
instance to process. Notnull
.
-