public DVariable(String name,DValue value,int isolateId){
  m_rawName=name;
  m_attribs=value.getAttributes();
  if (name != null) {
    if (!isAttributeSet(VariableAttribute.PUBLIC_SCOPE)) {
      int doubleColon=name.lastIndexOf("::");
      if (doubleColon >= 0) {
        m_namespace=name.substring(0,doubleColon);
        int at=m_namespace.indexOf('@');
        if (at != -1)         m_namespace=m_namespace.substring(0,at);
        name=name.substring(doubleColon + 2);
      }
    }
  }
  m_name=name;
  m_nonProtoParentId=Value.UNKNOWN_ID;
  m_value=value;
  value.setSession(m_session);
  m_isolateId=isolateId;
}

public DVariable ( String name , DValue value , int isolateId ) { m_rawName = name ; m_attribs = value . getAttributes ( ) ; if ( name != null ) { if ( ! isAttributeSet ( VariableAttribute . PUBLIC_SCOPE ) ) { int doubleColon = name . lastIndexOf ( "::" ) ; if ( doubleColon >= 0 ) { m_namespace = name . substring ( 0 , doubleColon ) ; int at = m_namespace . indexOf ( '@' ) ; if ( at != - 1 ) m_namespace = m_namespace . substring ( 0 , at ) ; name = name . substring ( doubleColon + 2 ) ; } } } m_name = name ; m_nonProtoParentId = Value . UNKNOWN_ID ; m_value = value ; value . setSession ( m_session ) ; m_isolateId = isolateId ; }
create a variable and its value .
