net.ericaro.diezel.core.builder.DiezelImplementation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of diezel-maven-plugin Show documentation
Show all versions of diezel-maven-plugin Show documentation
An Embedded Domain Specific Language Parser Generator PLugin compiler
The newest version!
package net.ericaro.diezel.core.builder;
import java.io.File;
import java.util.Collection;
import java.util.List;
import edu.uci.ics.jung.graph.Graph;
public class DiezelImplementation implements Compilable{
String packageName; //package
public String guideName; // class
String extendClass; // extends
DiezelLanguage language; // implements
Graph graph;
List transitions;
StateImplementation start;
public String getPackageName() {
return packageName;
}
public StateImplementation getStartState() {
return start;
}
public Collection getStates(){
return graph.getVertices();
}
public DiezelLanguage getParent(){
return language ;
}
public String getExpression() {
return language.getExpression();
}
public String getHeader() {
return language.getHeader();
}
public String getExtends(){
return extendClass ;
}
}