def METHOD_NAME(self):
    if self.skip_ws() is None:
        return None
    self.get_next_token()
    if self.cur_tok == TOKEN_SLASH:
        self.skip_line()
        return TOKEN_SLASH
    chain = []
    while self.cur_tok != TOKEN_SEMI:
        if self.cur_tok == TOKEN_TEXT:
            chain.append(TextValue(self.t))
        elif self.cur_tok == TOKEN_VAR:
            chain.append(Var(self.var_id))
        else:
            self.fatal_parsing_error(f"unexpected token {self.cur_tok}")
        self.get_next_token()
    if not chain:
        self.fatal_parsing_error("empty chains are not allowed")
    self.chains.append(chain)
    return True