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 com.google.dart.compiler.backend.js.ast;
006    
007    public final class JsStringLiteral extends JsLiteral.JsValueLiteral {
008    
009      private final String value;
010    
011      // These only get created by JsProgram so that they can be interned.
012      JsStringLiteral(String value) {
013        this.value = value;
014      }
015    
016      public String getValue() {
017        return value;
018      }
019    
020      @Override
021      public void accept(JsVisitor v) {
022        v.visitString(this);
023      }
024    }