com.dragome.compiler.graph.ConditionalEdge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-bytecode-js-compiler Show documentation
Show all versions of dragome-bytecode-js-compiler Show documentation
Dragome SDK module: bytecode to javascript compiler
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;
}
}