Package com._1c.g5.v8.dt.bsl.typesystem
Class DynamicContextDefServiceProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.typesystem.DynamicContextDefServiceProvider
-
public class DynamicContextDefServiceProvider extends Object
Service for expandingContextDef
ofType
by semantic object from Bsl module. Managed with all implementationIDynamicContextDefProvider
getting from extension point "com._1c.g5.v8.dt.bsl.dynamicContextDefProvider"
-
-
Constructor Summary
Constructors Constructor Description DynamicContextDefServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
computeDynamicType(org.eclipse.emf.ecore.EObject semanticObject, Type computeType, Environments envs)
ComputesType
corresponding tosemanticObject
.
-
-
-
Method Detail
-
computeDynamicType
public Type computeDynamicType(org.eclipse.emf.ecore.EObject semanticObject, Type computeType, Environments envs)
ComputesType
corresponding tosemanticObject
. This type has expandingContextDef
ofcomputeType
getting fromTypesComputer
. This method invocations are chained, sending extendedcomputeType
from one appropriate implementation to another. Classes of extension point mustn't change instance ofthey must only expand it. - Parameters:
semanticObject
- model object from Bsl Model, can't benull
.semanticObject
instanceofOperatorStyleCreator
orFunctionStyleCreator
only.computeType
-Type
returning bysemanticObject
, can benull
in casesemanticObject
doesn't return anyType
. Returning type computes byTypesComputer
envs
- actualEnvironments
corresponding tosemanticObject
in Bsl module, can't benull
- Returns:
Type
corresponding tosemanticObject
. This type has expandingContextDef
ofcomputeType
. Returning type must be equalscomputeType
if and only ifcomputeType != null
. In case whencomputeType == null
returning type can benull
or can have anything value.
-
-