@classmethod<EOL><INDENT>def wrap(cls, value):<DEDENT>
if isinstance(value, Wrapper):<EOL><INDENT>return value<EOL><DEDENT>if hasattr(value, '<STR_LIT>'):<EOL><INDENT>return Node(value)<EOL><DEDENT>return Scalar(value)<EOL>
Wrap value in the appropriate wrapper class,
based upon its type.