001    // Copyright (c) 2011, the Dart project authors.  Please see the AUTHORS file
002    // for details. All rights reserved. Use of this source code is governed by a
003    // BSD-style license that can be found in the LICENSE file.
004    
005    package org.jetbrains.kotlin.js.backend.ast;
006    
007    import org.jetbrains.kotlin.js.common.HasSymbol;
008    
009    /**
010     * Implemented by JavaScript objects that have a name.
011     */
012    public interface HasName extends HasSymbol {
013      JsName getName();
014    
015      void setName(JsName name);
016    }