Package de.neuland.pug4j.parser
Class Parser
- java.lang.Object
-
- de.neuland.pug4j.parser.Parser
-
public class Parser extends Object
-
-
Constructor Summary
Constructors Constructor Description Parser(String filename, TemplateLoader templateLoader, ExpressionHandler expressionHandler)Parser(String src, String filename, TemplateLoader templateLoader, ExpressionHandler expressionHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,BlockNode>getBlocks()LinkedList<Parser>getContexts()Nodeparse()voidsetBlocks(LinkedHashMap<String,BlockNode> blocks)voidsetContexts(LinkedList<Parser> contexts)voidsetMixins(HashMap mixins)
-
-
-
Constructor Detail
-
Parser
public Parser(String filename, TemplateLoader templateLoader, ExpressionHandler expressionHandler) throws IOException
- Throws:
IOException
-
Parser
public Parser(String src, String filename, TemplateLoader templateLoader, ExpressionHandler expressionHandler) throws IOException
- Throws:
IOException
-
-
Method Detail
-
parse
public Node parse()
-
setBlocks
public void setBlocks(LinkedHashMap<String,BlockNode> blocks)
-
getContexts
public LinkedList<Parser> getContexts()
-
setContexts
public void setContexts(LinkedList<Parser> contexts)
-
setMixins
public void setMixins(HashMap mixins)
-
-