public class Compiler extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
compile(PugModel model,
Writer w) |
String |
compileToString(PugModel model) |
void |
setPrettyPrint(boolean prettyPrint) |
void |
setTemplate(PugTemplate pugTemplate) |
public Compiler(Node rootNode)
public String compileToString(PugModel model) throws PugCompilerException
PugCompilerExceptionpublic void compile(PugModel model, Writer w) throws PugCompilerException
PugCompilerExceptionpublic void setPrettyPrint(boolean prettyPrint)
public void setTemplate(PugTemplate pugTemplate)
Copyright © 2024. All rights reserved.