Class BslVariableFactory

java.lang.Object
com._1c.g5.v8.dt.internal.debug.core.model.BslVariableFactory
All Implemented Interfaces:
IBslVariableFactory

public class BslVariableFactory extends Object implements IBslVariableFactory
Implementation of IBslVariableFactory.
  • 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 interface IBslVariableFactory
      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

      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 interface IBslVariableFactory
      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

      public IBslVariable createVariable(IBslStackFrame stackFrame, String name, IBslValue value)
      Description copied from interface: IBslVariableFactory
      Create a new BSL variable instance with the given parameters. Value of variable is already evaluated and passed as parameter value.
      Specified by:
      createVariable in interface IBslVariableFactory
      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

      public IBslVariable createPlaceholder(IBslStackFrame stackFrame, String name)
      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 interface IBslVariableFactory
      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