Package ru.proninyaroslav.template
Class Tree
java.lang.Object
ru.proninyaroslav.template.Tree
Representation of a single parsed template
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerrorContext(ru.proninyaroslav.template.Node node) errorLocation(ru.proninyaroslav.template.Node node) static booleanisEmptyTree(ru.proninyaroslav.template.Node node) Reports whether this tree (node) is empty of everything but space
-
Field Details
-
name
-
parseName
-
root
public ru.proninyaroslav.template.Node.Sequence root
-
-
Constructor Details
-
Tree
-
Tree
-
-
Method Details
-
parse
public static Map<String,Tree> parse(String name, String text, String leftDelim, String rightDelim, FuncMap... funcs) throws ParseException, InternalException - Throws:
ParseExceptionInternalException
-
isEmptyTree
Reports whether this tree (node) is empty of everything but space- Throws:
ParseException
-
errorLocation
-
errorContext
-