All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dragome.compiler.ast.StringLiteral Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
package com.dragome.compiler.ast;

import org.apache.bcel.generic.Type;

import com.dragome.compiler.generators.AbstractVisitor;

public class StringLiteral extends Expression
{

	private String value;

	public StringLiteral(String theValue)
	{
		value= theValue;
		type= Type.STRING;
	}

	public void visit(AbstractVisitor visitor)
	{
		visitor.visit(this);
	}

	public String getValue()
	{
		return value;
	}

	public void setValue(String theValue)
	{
		value= theValue;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy