org.duelengine.duel.ast
Class XORCommandNode
java.lang.Object
org.duelengine.duel.ast.DuelNode
org.duelengine.duel.ast.ContainerNode
org.duelengine.duel.ast.ElementNode
org.duelengine.duel.ast.CommandNode
org.duelengine.duel.ast.XORCommandNode
public class XORCommandNode
- extends CommandNode
Implements the mutually exclusive conditional command wrapper
| Methods inherited from class org.duelengine.duel.ast.ElementNode |
canHaveChildren, clearAttributes, equals, getAttribute, getAttributeNames, getTagName, hasAttributes, hashCode, isAncestor, isAncestorOrSelf, isBoolAttribute, isLinkAttribute, mapAttrName, removeAttribute |
EXT_NAME
public static final String EXT_NAME
- See Also:
- Constant Field Values
XORCommandNode
public XORCommandNode(int index,
int line,
int column)
XORCommandNode
public XORCommandNode(AttributePair[] attr,
DuelNode... children)
isSelf
public boolean isSelf(String tag)
- Overrides:
isSelf in class ElementNode
addAttribute
public void addAttribute(AttributePair attr)
- Overrides:
addAttribute in class CommandNode
setAttribute
public void setAttribute(String name,
DuelNode value)
- Overrides:
setAttribute in class CommandNode
appendChild
public void appendChild(DuelNode child)
- Overrides:
appendChild in class ContainerNode
Copyright © 2012. All Rights Reserved.