def __new__(cls, text, position=None):
self = str.__new__(cls, text)<EOL>if isinstance(text, TokenWithPosition):<EOL><INDENT>self.text, self.position = text.text, text.position<EOL><DEDENT>else:<EOL><INDENT>self.text = text<EOL>self.position = position<EOL><DEDENT>return self<EOL>
Initializer for pseudo-string object.

        :param text: The original string
        :param position: Position in the original buffer