public class Parser extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
FILE_EXTENSION_PATTERN |
| Constructor and Description |
|---|
Parser(String src,
String filename,
String basePath,
TemplateLoader templateLoader,
ExpressionHandler expressionHandler) |
Parser(String filename,
String basePath,
TemplateLoader templateLoader,
ExpressionHandler expressionHandler) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,BlockNode> |
getBlocks() |
LinkedList<Parser> |
getContexts() |
Node |
parse() |
void |
setBlocks(LinkedHashMap<String,BlockNode> blocks) |
void |
setContexts(LinkedList<Parser> contexts) |
void |
setMixins(HashMap mixins) |
public static final Pattern FILE_EXTENSION_PATTERN
public Parser(String filename, String basePath, TemplateLoader templateLoader, ExpressionHandler expressionHandler) throws IOException
IOExceptionpublic Parser(String src, String filename, String basePath, TemplateLoader templateLoader, ExpressionHandler expressionHandler) throws IOException
IOExceptionpublic Node parse()
public void setBlocks(LinkedHashMap<String,BlockNode> blocks)
public LinkedList<Parser> getContexts()
public void setContexts(LinkedList<Parser> contexts)
public void setMixins(HashMap mixins)
Copyright © 2017. All rights reserved.