treevalue.tree.common

TreeStorage

class treevalue.tree.common.TreeStorage

raw

treevalue.tree.common.raw(obj)
Overview:

Try wrap the given obj to raw wrapper.

Arguments:
  • obj (object): The original object.

Returns:
  • wrapped (object): Wrapped object, if the type is not necessary to be wrapped, the original object will be returned here.

unraw

treevalue.tree.common.unraw(wrapped)
Overview:

Try unwrap the given wrapped to original object.

Arguments:
  • wrapped (object): Wrapped object.

Returns:
  • obj (object): The original object.

RawWrapper

class treevalue.tree.common.RawWrapper

Wrapper class of the raw value.

__init__()

Initialize self. See help(type(self)) for accurate signature.

value()
Overview:

Get wrapped original value.

Returns:
  • obj: Original value.