Interface IBslValueFactory

    • Method Detail

      • createValue

        IBslValue createValue​(IBslStackFrame stackFrame,
                              BslValuePath path,
                              UUID expressionUuid,
                              BaseValueInfoData valueInfo,
                              IBslValueStateChangeListener listener)
        Create a new BSL value instance by the given parameters.
        Parameters:
        stackFrame - the stack frame, that holds this value, cannot be null
        path - the BSL value path of this value, cannot be null
        expressionUuid - the parent variable or expression UUID, cannot be null
        valueInfo - the 1C:Enterprise runtime debug value info, can be null if there is no debug info received about variable value (this happened in cases of Unreadable values)
        listener - the value state change listener, can be null if not needed
        Returns:
        a newly created BSL value, never null
        See Also:
        IBslValueStateChangeListener
      • createIndexedElementValue

        IBslValue createIndexedElementValue​(IBslStackFrame stackFrame,
                                            BslValuePath path,
                                            UUID expressionUuid,
                                            BaseValueInfoData valueInfo,
                                            List<CalculationResultContextPropertyInfo> properties,
                                            IBslValueStateChangeListener listener)
        Create new a new BSL value instance by the given parameters with already evaluated properties.
        Parameters:
        stackFrame - the stack frame, that holds this value, cannot be null
        path - the BSL value path of this value, cannot be null
        expressionUuid - the parent variable or expression UUID, cannot be null
        valueInfo - the 1C:Enterprise runtime debug value info, can be null if there is no debug info received about variable value (this happened in cases of Unreadable values)
        properties - a list of value properties, cannot be null
        listener - the value state change listener, can be null if not needed
        Returns:
        a newly created BSL value, never null
        See Also:
        IBslValueStateChangeListener