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 voiddoProcess(StaticFeatureAccess left) Function to perform processing ofStaticFeatureAccessrepresenting left side of assignment.voidprocess()ProcessStaticFeatureAccessinstances representing left side of assignment.protected voidsetStop()Sets flag of stop processor totrue
-
Constructor Details
-
ImplicitVariablesProcessor
- Parameters:
block-Blockto be processed. Notnull.lastStatement- last statement to be processed
-
-
Method Details
-
process
public void process()ProcessStaticFeatureAccessinstances representing left side of assignment. -
setStop
protected void setStop()Sets flag of stop processor totrue -
doProcess
Function to perform processing ofStaticFeatureAccessrepresenting left side of assignment.- Parameters:
left-StaticFeatureAccessinstance to process. Notnull.
-