/* * Code formatter project * CS 4481 */ package submit.ast; /** * * @author edwajohn */ public class StringConstant extends AbstractNode implements Expression { private final String value; public StringConstant(String value) { this.value = value; } public void toCminus(StringBuilder builder, final String prefix) { builder.append("\"").append(value).append("\""); } }