org.rythmengine.internal.dialect
Class Rythm

java.lang.Object
  extended by org.rythmengine.internal.dialect.DialectBase
      extended by org.rythmengine.internal.dialect.Rythm
All Implemented Interfaces:
IDialect

public class Rythm
extends DialectBase


Field Summary
static String ID
           
static IDialect INSTANCE
           
 
Constructor Summary
protected Rythm()
           
 
Method Summary
 String a()
          Return the primary caret marker, e.g.
protected  Class<?>[] buildInParserClasses()
           
 String id()
          Return the ID of the dialect, might be something like "rythm" or "play-groovy" etc.
 boolean isMyTemplate(String template)
           
 
Methods inherited from class org.rythmengine.internal.dialect.DialectBase
begin, createBuildInParser, createCodeBuilder, enableFreeForLoop, enableScripting, end, equals, freeParsers, hashCode, registerParserFactory, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

INSTANCE

public static final IDialect INSTANCE
Constructor Detail

Rythm

protected Rythm()
Method Detail

id

public String id()
Description copied from interface: IDialect
Return the ID of the dialect, might be something like "rythm" or "play-groovy" etc.

Returns:
dialect id

a

public String a()
Description copied from interface: IDialect
Return the primary caret marker, e.g. "#" in play-groovy, "@" in rythm and "`" in japid. To escape the marker repeat the marker twice, e.g. "@@", "##", "``"

Returns:
the primary caret

buildInParserClasses

protected Class<?>[] buildInParserClasses()
Specified by:
buildInParserClasses in class DialectBase

isMyTemplate

public boolean isMyTemplate(String template)
Specified by:
isMyTemplate in interface IDialect
Overrides:
isMyTemplate in class DialectBase


Copyright © 2014. All Rights Reserved.