Package com._1c.g5.v8.dt.bsl.typesystem
Interface IDynamicContextDefProvider
-
- All Known Implementing Classes:
FunctionCtorDynamicContextDefProvider
,MapDynamicContextDefProvider
,StructureDynamicContextDefProvider
,ValueTableDynamicContextDefProvider
,ValueTreeDynamicContextDefProvider
public interface IDynamicContextDefProvider
Interface for expandingContextDef
ofType
by semantic object from Built-In language module.
Processing semantic object should be instanceofOperatorStyleCreator
orFunctionStyleCreator
only.
This interface is used in extension point "com._1c.g5.v8.dt.bsl.dynamicContextDefProvider".
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type
computeDynamicType(org.eclipse.emf.ecore.EObject semanticObject, Type computeType, Environments envs)
ComputesType
corresponding tosemanticObject
.boolean
hasDynamicContext(org.eclipse.emf.ecore.EObject semanticObject, Type computeType, Environments envs)
-
-
-
Method Detail
-
hasDynamicContext
boolean hasDynamicContext(org.eclipse.emf.ecore.EObject semanticObject, Type computeType, Environments envs)
- 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:
True
if returningType
computeType
bysemanticObject
has dynamicContextDef
,false
otherwise
-
computeDynamicType
Type computeDynamicType(org.eclipse.emf.ecore.EObject semanticObject, Type computeType, Environments envs)
ComputesType
corresponding tosemanticObject
. This type has expandingContextDef
vscomputeType
getting fromTypesComputer
- 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 identity equals givencomputeType
if and only ifcomputeType != null
. In case whencomputeType == null
returning type can benull
or can have any type value.
-
-