Interface IBslVariableFactory
-
public interface IBslVariableFactory
Factory of BSL variables. Clients may use it for creating BSL variables or variable placeholders.- See Also:
IBslVariable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBslVariable
createPlaceholder(IBslStackFrame stackFrame, String name)
Create a new BSL variable placeholder.IBslVariable
createVariable(IBslStackFrame stackFrame, ContextPropertyData propertyData, BslValuePath path, BaseValueInfoData valueInfo, UUID variableUuid)
Create a new BSL variable instance with the given parameters.IBslVariable
createVariable(IBslStackFrame stackFrame, String name, BslValuePath path, BaseValueInfoData valueInfo, UUID variableUuid)
Create a new BSL variable instance with the given parameters.IBslVariable
createVariable(IBslStackFrame stackFrame, String name, IBslValue value)
Create a new BSL variable instance with the given parameters.
-
-
-
Method Detail
-
createVariable
IBslVariable createVariable(IBslStackFrame stackFrame, String name, BslValuePath path, BaseValueInfoData valueInfo, UUID variableUuid)
Create a new BSL variable instance with the given parameters. Value of variable will be evaluated on demand.- 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
IBslVariable createVariable(IBslStackFrame stackFrame, ContextPropertyData propertyData, BslValuePath path, BaseValueInfoData valueInfo, UUID variableUuid)
Create a new BSL variable instance with the given parameters. Value of variable will be evaluated on demand.- 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
IBslVariable createVariable(IBslStackFrame stackFrame, String name, IBslValue value)
Create a new BSL variable instance with the given parameters. Value of variable is already evaluated and passed as parametervalue
.- 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
IBslVariable createPlaceholder(IBslStackFrame stackFrame, String name)
Create a new BSL variable placeholder.Clients are intended to evaluate and update it manually, if needed.
- 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
-
-