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

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

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

import com.dragome.compiler.generators.AbstractVisitor;

public class BooleanLiteral extends Expression
{

	public static BooleanLiteral FALSE= new BooleanLiteral(false);

	public static BooleanLiteral TRUE= new BooleanLiteral(true);

	private boolean value;

	public BooleanLiteral(boolean theValue)
	{
		value= theValue;
	}

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

	public boolean getValue()
	{
		return value;
	}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy