| Package | Description |
|---|---|
| org.rythmengine.internal | |
| org.rythmengine.internal.compiler | |
| org.rythmengine.internal.dialect | |
| org.rythmengine.internal.parser | |
| org.rythmengine.internal.parser.build_in |
| Modifier and Type | Field and Description |
|---|---|
IDialect |
CodeBuilder.requiredDialect |
| Modifier and Type | Method and Description |
|---|---|
IDialect |
IContext.getDialect() |
IDialect |
TemplateParser.getDialect() |
| Modifier and Type | Method and Description |
|---|---|
String |
ICaretParserFactory.getCaret(IDialect dialect) |
void |
IContext.setDialect(IDialect dialect) |
void |
TemplateParser.setDialect(IDialect dialect) |
| Constructor and Description |
|---|
AutoToStringCodeBuilder(String template,
String className,
String tagName,
TemplateClass templateClass,
RythmEngine engine,
IDialect dialect) |
CodeBuilder(String template,
String className,
String tagName,
TemplateClass templateClass,
RythmEngine engine,
IDialect requiredDialect) |
| Constructor and Description |
|---|
TemplateClass(ITemplateResource resource,
RythmEngine engine,
boolean noRefresh,
IDialect dialect) |
TemplateClass(ITemplateResource resource,
RythmEngine engine,
IDialect dialect) |
TemplateClass(String template,
RythmEngine engine,
IDialect dialect)
Construct a TemplateClass instance using template source content or file path
|
| Modifier and Type | Class and Description |
|---|---|
class |
AutoToString
ToString dialect is a kind of Rythm dialect, the difference is that
it preset the type of the only one render arg
|
class |
BasicRythm
Basic Rythm is a very limited subset of Rythm which has only basic Rythm features:
Expression evaluation (nullable express also supported) and escaping
if-elseif-else, and for(T e: Iterable
|
class |
DialectBase |
class |
Japid |
class |
Razor |
class |
Rythm |
class |
SimpleRythm
Simple Rythm mode is a subset of Rythm mode which has most Rythm feature except the template layout/extend features:
Extends a layout template or declare template section
Render sub template sections/content
@Designate inti code section to be put into parent template
Include another template at parsing time
Set/get template variable to be passed to parent template
|
class |
ToString
ToString mode is a very limited subset of Rythm which has only basic Rythm features:
Expression evaluation and escaping
if-elseif-else
Specifically, argument declaration and scripting is disabled in ToString mode; @for loop is not allowed in ToString mode also
|
| Modifier and Type | Field and Description |
|---|---|
static IDialect |
Razor.INSTANCE |
static IDialect |
SimpleRythm.INSTANCE |
static IDialect |
ToString.INSTANCE |
static IDialect |
Rythm.INSTANCE |
static IDialect |
AutoToString.INSTANCE |
static IDialect |
BasicRythm.INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static IDialect |
DialectManager.current() |
static IDialect |
DialectManager.getById(String id) |
| Modifier and Type | Method and Description |
|---|---|
protected IDialect |
ParserBase.dialect() |
| Modifier and Type | Method and Description |
|---|---|
String |
CaretParserFactoryBase.getCaret(IDialect dialect) |
protected Pattern |
KeywordParserFactory.ptn(IDialect d) |
protected com.stevesoft.pat.Regex |
KeywordParserFactory.reg(IDialect d) |
Copyright © 2016. All Rights Reserved.