parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

+ заменил на строки

BeaVe 07.05.2009 10:42

@CLASS
conceptStorage

@OPTIONS
locals

@create[hshOptions]
  $self._isReleased[initial value]

@isReleased[]
  $result[^if(def $_isReleased){DEF}{NODEF}, value: $_isReleased. CLASS: $_isReleased.CLASS_NAME]

@setRelease[altRelease]
  $result[]
  $self._isReleased[$altRelease]
Тест:
^oStorage.isReleased[]
# result:
#   DEF, value: initial value, CLASS: string

^oStorage.setRelease[new value]
^oStorage.isReleased[]
# result:
#   DEF, value: new value, CLASS: string

^oStorage.setRelease[]
^oStorage.isReleased[]
# result:
#   NODEF, value: , CLASS: string