net.ericaro.diezel.core.builder.Diezel.stg 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!
//
languageStateUnit(state,lang) ::= <<
/*
*/
package ;
/**
*
*/
public interface {
}
>>
implementationUnit(lang) ::= <<
/*
*/
package ;
/**
*/
public class extends implements {
}
>>
//
transitionDefinition(transition, lang)::= <<
/**
**/
public
>>
stateDefinition(state) ::= ""
stateUsage(state) ::= ""
//
genericDefinition(generics) ::="\<>"
singleGenericDefinition(generic)::= " extends super "
// like stuff or empty!>
genericUsage(generics) ::=" \<> "
singleGenericUsage(generic)::= ""
importJava(state, lang) ::= <<
import . ;
>>
//
implementationStateUnit(state,lang)::= <<
/**
*/
public class implements {
}
>>
languageTransitionDefinition(transition, lang) ::= " ;"
implementationTransitionDefinition(transition, lang) ::= <<
{
return new () ;
}
>>