net.ericaro.diezel.core.builder.TransitionImplementation 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 org.stringtemplate.v4.ST;
import org.stringtemplate.v4.STGroupString;
/** Represent the extra amount of information needed for an implementation of a given transition.
*
* @author eric
*
*/
public class TransitionImplementation {
Transition prototype;
String alias;
private ST body;
public TransitionImplementation(String alias) {
super();
this.alias = alias;
}
public String getAlias() {
return alias;
}
public void setBody(String str) {
this.body = new ST(str, '$', '$');
}
public ST getBody() {
return body;
}
}