Package | Description |
---|---|
com.github.mustachejava | |
com.github.mustachejava.codes | |
com.github.mustachejava.reflect |
Modifier and Type | Interface and Description |
---|---|
interface |
Mustache
The interface to Mustache objects
|
Modifier and Type | Field and Description |
---|---|
protected List<Code> |
DefaultMustacheVisitor.list |
Modifier and Type | Method and Description |
---|---|
Code[] |
Code.getCodes() |
Code[] |
Mustache.getCodes()
Get the underlying code objects.
|
Code |
PragmaHandler.handle(TemplateContext tc,
String pragma,
String args) |
Modifier and Type | Method and Description |
---|---|
Binding |
TypeCheckingHandler.createBinding(String name,
TemplateContext tc,
Code code) |
Binding |
ObjectHandler.createBinding(String name,
TemplateContext tc,
Code code)
Each call site has its own binding to allow for fine grained caching without
a separate parallel hierarchy of objects.
|
void |
Code.setCodes(Code[] codes) |
void |
Mustache.setCodes(Code[] codes)
Change the underlying codes of the mustache implementation.
|
Modifier and Type | Method and Description |
---|---|
Object |
Code.clone(Set<Code> seen) |
Modifier and Type | Class and Description |
---|---|
class |
CommentCode |
class |
DefaultCode
Simplest possible code implementaion with some default shared behavior
|
class |
DefaultMustache
Default Mustache
|
class |
ExtendCheckNameCode
Name a section: {{$name}}...{{/name}}
|
class |
ExtendCode
Extending a template through in-place replacement of the overridden codes.
|
class |
ExtendNameCode
Name a section: {{$name}}...{{/name}}
|
class |
IterableCode |
class |
NotIterableCode
Runs the enclosed template once if the value is falsey.
|
class |
PartialCode |
class |
ValueCode
Output a value
|
class |
WriteCode
Write template text.
|
Modifier and Type | Method and Description |
---|---|
Code[] |
DefaultMustache.getCodes() |
Code[] |
PartialCode.getCodes() |
Code[] |
DefaultCode.getCodes() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMustache.setCodes(Code[] newcodes) |
void |
PartialCode.setCodes(Code[] newcodes) |
void |
DefaultCode.setCodes(Code[] newcodes) |
Modifier and Type | Method and Description |
---|---|
Object |
DefaultCode.clone(Set<Code> seen) |
Constructor and Description |
---|
DefaultMustache(TemplateContext tc,
DefaultMustacheFactory df,
Code[] codes,
String name) |
Modifier and Type | Method and Description |
---|---|
Binding |
ReflectionObjectHandler.createBinding(String name,
TemplateContext tc,
Code code) |
abstract Binding |
BaseObjectHandler.createBinding(String name,
TemplateContext tc,
Code code) |
Binding |
SimpleObjectHandler.createBinding(String name,
TemplateContext tc,
Code code) |
Constructor and Description |
---|
GuardedBinding(ObjectHandler oh,
String name,
TemplateContext tc,
Code code) |
Copyright © 2018. All rights reserved.