def handle_string(self, token_text):
    if self.start_of_statement():
        self.output_space_before_token = True
    elif ((self.last_type == 'TK_RESERVED') or (self.last_type == 'TK_WORD')):
        self.output_space_before_token = True
    elif (self.last_type in ['TK_COMMA', 'TK_START_EXPR', 'TK_EQUALS', 'TK_OPERATOR']):
        if (not self.start_of_object_property()):
            self.allow_wrap_or_preserved_newline(token_text)
    else:
        self.append_newline()
    self.append_token(token_text)
def handle_string(self, token_text):
    if self.start_of_statement():
        self.output_space_before_token = True
    elif ((self.last_type == 'TK_RESERVED') or (self.last_type == 'TK_WORD')):
        self.output_space_before_token = True
    elif (self.last_type in ['TK_COMMA', 'TK_START_EXPR', 'TK_EQUALS', 'TK_OPERATOR']):
        if (not self.start_of_object_property()):
            self.allow_wrap_or_preserved_newline(token_text)
    else:
        self.append_newline()
    self.append_token(token_text)