Package se.datadosen.jalbum.ast
Class IfElseNode
java.lang.Object
se.datadosen.jalbum.ast.ASTNode
se.datadosen.jalbum.ast.GroupNode
se.datadosen.jalbum.ast.ElementNode
se.datadosen.jalbum.ast.IfElseNode
If-else node having one or two member nodes. 1:st member contains if-branch and optional second node contains
else-branch
-
Nested Class Summary
Nested classes/interfaces inherited from class se.datadosen.jalbum.ast.ElementNode
ElementNode.Attributes
-
Field Summary
Fields inherited from class se.datadosen.jalbum.ast.ElementNode
element
Fields inherited from class se.datadosen.jalbum.ast.ASTNode
magic, magicString, section
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doEval
(ASTEvaluator evaluator, StringBuilder out) Methods inherited from class se.datadosen.jalbum.ast.ElementNode
getAttributes, toString
Methods inherited from class se.datadosen.jalbum.ast.GroupNode
add, addTextNode, getMemberCount, getMembers, setMembers
Methods inherited from class se.datadosen.jalbum.ast.ASTNode
eval, evalToString, getOffset, getSection, setOf, stripJSPComments, stripMagicChars
-
Constructor Details
-
IfElseNode
- Throws:
ElementException
-
-
Method Details
-
doEval
protected void doEval(ASTEvaluator evaluator, StringBuilder out) throws ScriptException, ElementException - Overrides:
doEval
in classGroupNode
- Throws:
ScriptException
ElementException
-
getElseElement
-