Class BslVariableFactory
java.lang.Object
com._1c.g5.v8.dt.internal.debug.core.model.BslVariableFactory
- All Implemented Interfaces:
IBslVariableFactory
Implementation of
IBslVariableFactory
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePlaceholder
(IBslStackFrame stackFrame, String name) Create a new BSL variable placeholder.createVariable
(IBslStackFrame stackFrame, ContextPropertyData propertyData, BslValuePath path, BaseValueInfoData valueInfo, UUID variableUuid) Create a new BSL variable instance with the given parameters.createVariable
(IBslStackFrame stackFrame, String name, BslValuePath path, BaseValueInfoData valueInfo, UUID variableUuid) Create a new BSL variable instance with the given parameters.createVariable
(IBslStackFrame stackFrame, String name, IBslValue value) Create a new BSL variable instance with the given parameters.
-
Constructor Details
-
BslVariableFactory
public BslVariableFactory()
-
-
Method Details
-
createVariable
public IBslVariable createVariable(IBslStackFrame stackFrame, String name, BslValuePath path, BaseValueInfoData valueInfo, UUID variableUuid) Description copied from interface:IBslVariableFactory
Create a new BSL variable instance with the given parameters. Value of variable will be evaluated on demand.- Specified by:
createVariable
in interfaceIBslVariableFactory
- Parameters:
stackFrame
- the variable parent stack frame, cannot benull
name
- the variable name, cannot benull
path
- the variable BSL value path, cannot benull
valueInfo
- value info, can benull
if 1C:Enterprise Runtime debug server returned no value datavariableUuid
- the UUID of variable, cannot benull
- Returns:
- a newly created BSL variable, never
null
-
createVariable
public IBslVariable createVariable(IBslStackFrame stackFrame, ContextPropertyData propertyData, BslValuePath path, BaseValueInfoData valueInfo, UUID variableUuid) Description copied from interface:IBslVariableFactory
Create a new BSL variable instance with the given parameters. Value of variable will be evaluated on demand.- Specified by:
createVariable
in interfaceIBslVariableFactory
- Parameters:
stackFrame
- the variable parent stack frame, cannot benull
propertyData
- property data to build variable, cannot benull
path
- the variable BSL value path, cannot benull
valueInfo
- value info, can benull
if 1C:Enterprise Runtime debug server returned no value datavariableUuid
- the UUID of variable, cannot benull
- Returns:
- a newly created BSL variable, never
null
-
createVariable
Description copied from interface:IBslVariableFactory
Create a new BSL variable instance with the given parameters. Value of variable is already evaluated and passed as parametervalue
.- Specified by:
createVariable
in interfaceIBslVariableFactory
- Parameters:
stackFrame
- the variable parent stack frame, cannot benull
name
- the variable name, cannot benull
value
- the already evaluated BSL value, cannot benull
- Returns:
- a newly created BSL variable, never
null
-
createPlaceholder
Description copied from interface:IBslVariableFactory
Create a new BSL variable placeholder.Clients are intended to evaluate and update it manually, if needed.
- Specified by:
createPlaceholder
in interfaceIBslVariableFactory
- Parameters:
stackFrame
- the variable placeholder parent stack frame, cannot benull
name
- the variable placeholder name, cannot benull
- Returns:
- a newly created BSL variable placeholder, never
null
-