Package com._1c.g5.v8.dt.bsl.typesystem
Class BslTreeTypeSystem
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.typesystem.BslTreeTypeSystem
-
- All Implemented Interfaces:
ITypeSystem
public class BslTreeTypeSystem extends Object implements ITypeSystem
Install tree type system (with tree of type state) for BSL module
-
-
Constructor Summary
Constructors Constructor Description BslTreeTypeSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
discardTypeSystem(BslResource resource, Module module)
Discards type system for BSL modulevoid
installTypeSystem(Module module, org.eclipse.xtext.util.CancelIndicator monitor)
Installs type system for BSL modulevoid
lightInstallingTypeSystem(Module module, Method method, Variable variable, Statement stopStatement, int nearesOffset, BmOperationContext typeComputationContext)
Install light version of type system in Bsl module.
-
-
-
Method Detail
-
installTypeSystem
public void installTypeSystem(Module module, org.eclipse.xtext.util.CancelIndicator monitor)
Description copied from interface:ITypeSystem
Installs type system for BSL module- Specified by:
installTypeSystem
in interfaceITypeSystem
- Parameters:
module
- BSLModule
, can't benull
monitor
- theCancelIndicator
, can't benull
-
lightInstallingTypeSystem
public void lightInstallingTypeSystem(Module module, Method method, Variable variable, Statement stopStatement, int nearesOffset, BmOperationContext typeComputationContext)
Install light version of type system in Bsl module. This method is called from bsl proposals provider- Parameters:
module
- BSLModule
method
- processingMethod
, can't benull
variable
- the variable, installing type system for it, can't benull
stopStatement
- the first not processing statement in themethod
, can't benull
nearesOffset
- the nearest offset ofvariable
usingtypeComputationContext
- Type system computation context. May not benull
-
discardTypeSystem
public void discardTypeSystem(BslResource resource, Module module)
Description copied from interface:ITypeSystem
Discards type system for BSL module- Specified by:
discardTypeSystem
in interfaceITypeSystem
- Parameters:
resource
- actualBslResource
, can't benull
module
- BSLModule
, can't benull
-
-