public class IFCommandNode extends CommandNode
| Modifier and Type | Field and Description |
|---|---|
static String |
EXT_NAME |
static String |
IF_ATTR |
static String |
TEST |
| Constructor and Description |
|---|
IFCommandNode(AttributePair[] attr,
DuelNode... children) |
IFCommandNode(int index,
int line,
int column) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(AttributePair attr) |
CodeBlockNode |
getTest() |
boolean |
isSelf(String tag) |
void |
setAttribute(String name,
DuelNode value) |
getCommandcanHaveChildren, clearAttributes, equals, getAttribute, getAttributeNames, getTagName, hasAttributes, hashCode, isAncestor, isAncestorOrSelf, isBoolAttribute, isLinkAttribute, mapAttrName, removeAttributeappendChild, childCount, getChildren, getFirstChild, getLastChild, hasChildren, removeChild, replaceChild, toStringpublic static final String IF_ATTR
public static final String EXT_NAME
public static final String TEST
public IFCommandNode(int index,
int line,
int column)
public IFCommandNode(AttributePair[] attr, DuelNode... children)
public CodeBlockNode getTest()
public boolean isSelf(String tag)
isSelf in class ElementNodepublic void addAttribute(AttributePair attr) throws NullPointerException
addAttribute in class CommandNodeNullPointerExceptionpublic void setAttribute(String name, DuelNode value)
setAttribute in class CommandNodeCopyright © 2014. All rights reserved.