org.duelengine.duel.ast
Class FORCommandNode
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.FORCommandNode
public class FORCommandNode
- extends CommandNode
Implements the looping command construct
| Methods inherited from class org.duelengine.duel.ast.ElementNode |
canHaveChildren, clearAttributes, equals, getAttribute, getAttributeNames, getTagName, hasAttributes, hashCode, isAncestor, isAncestorOrSelf, isLinkAttribute, removeAttribute |
EXT_NAME
public static final String EXT_NAME
- See Also:
- Constant Field Values
EACH
public static final String EACH
- See Also:
- Constant Field Values
IN
public static final String IN
- See Also:
- Constant Field Values
COUNT
public static final String COUNT
- See Also:
- Constant Field Values
DATA
public static final String DATA
- See Also:
- Constant Field Values
FORCommandNode
public FORCommandNode(int index,
int line,
int column)
FORCommandNode
public FORCommandNode(AttributePair[] attr,
DuelNode... children)
isSelf
public boolean isSelf(String tag)
- Overrides:
isSelf in class ElementNode
addAttribute
public void addAttribute(AttributePair attr)
throws NullPointerException
- Overrides:
addAttribute in class CommandNode
- Throws:
NullPointerException
setAttribute
public void setAttribute(String name,
DuelNode value)
- Overrides:
setAttribute in class CommandNode
Copyright © 2011. All Rights Reserved.