Interface IBslVariableFactory


  • public interface IBslVariableFactory
    Factory of BSL variables. Clients may use it for creating BSL variables or variable placeholders.
    See Also:
    IBslVariable
    • 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 be null
        name - the variable name, cannot be null
        path - the variable BSL value path, cannot be null
        valueInfo - value info, can be null if 1C:Enterprise Runtime debug server returned no value data
        variableUuid - the UUID of variable, cannot be null
        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 be null
        propertyData - property data to build variable, cannot be null
        path - the variable BSL value path, cannot be null
        valueInfo - value info, can be null if 1C:Enterprise Runtime debug server returned no value data
        variableUuid - the UUID of variable, cannot be null
        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 parameter value.
        Parameters:
        stackFrame - the variable parent stack frame, cannot be null
        name - the variable name, cannot be null
        value - the already evaluated BSL value, cannot be null
        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 be null
        name - the variable placeholder name, cannot be null
        Returns:
        a newly created BSL variable placeholder, never null