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

com.dragome.compiler.graph.ConditionalEdge Maven / Gradle / Ivy

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

import com.dragome.compiler.ast.BooleanExpression;

public class ConditionalEdge extends Edge
{

	private BooleanExpression expression;

	private boolean negate= false;

	ConditionalEdge(Graph graph, Node theSource, Node theTarget)
	{
		super(graph, theSource, theTarget);
	}

	public BooleanExpression getBooleanExpression()
	{
		return expression;
	}

	public void setBooleanExpression(BooleanExpression expr)
	{
		expression= expr;
	}

	public boolean isNegate()
	{
		return negate;
	}

	public void setNegate(boolean theNegate)
	{
		negate= theNegate;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy