public class FunctionNode extends ASTNode implements java.util.List<ASTNode>
ASTNode
's which represents a parsed function.fStringValue
Constructor and Description |
---|
FunctionNode(ASTNode head) |
FunctionNode(SymbolNode head,
ASTNode arg0) |
FunctionNode(SymbolNode head,
ASTNode arg0,
ASTNode arg1) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(ASTNode e) |
void |
add(int index,
ASTNode element) |
boolean |
addAll(java.util.Collection<? extends ASTNode> c) |
boolean |
addAll(int index,
java.util.Collection<? extends ASTNode> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
dependsOn(java.lang.String variableName) |
void |
ensureCapacity(int minCapacity) |
boolean |
equals(java.lang.Object obj) |
ASTNode |
get(int index) |
ASTNode |
getNode(int index) |
int |
hashCode() |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
boolean |
isFree(ASTNode node)
Returns
true , if none of the elements in the subexpressions or the expression itself equals
node . |
java.util.Iterator<ASTNode> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<ASTNode> |
listIterator() |
java.util.ListIterator<ASTNode> |
listIterator(int index) |
ASTNode |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
ASTNode |
set(int index,
ASTNode element) |
int |
size() |
java.util.List<ASTNode> |
subList(int fromIndex,
int toIndex)
Because GWT doesn't support the subList() method, we also throw an UnsupportedOperationException
|
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] a) |
java.lang.String |
toString() |
void |
trimToSize() |
public FunctionNode(ASTNode head)
public FunctionNode(SymbolNode head, ASTNode arg0)
public FunctionNode(SymbolNode head, ASTNode arg0, ASTNode arg1)
public void add(int index, ASTNode element)
add
in interface java.util.List<ASTNode>
public boolean add(ASTNode e)
public boolean addAll(java.util.Collection<? extends ASTNode> c)
public boolean addAll(int index, java.util.Collection<? extends ASTNode> c)
addAll
in interface java.util.List<ASTNode>
public void clear()
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public void ensureCapacity(int minCapacity)
public boolean equals(java.lang.Object obj)
public ASTNode getNode(int index)
public int hashCode()
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<ASTNode>
public boolean isEmpty()
public boolean isFree(ASTNode node)
true
, if none of the elements in the subexpressions or the expression itself equals
node
.public java.util.Iterator<ASTNode> iterator()
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<ASTNode>
public java.util.ListIterator<ASTNode> listIterator()
listIterator
in interface java.util.List<ASTNode>
public java.util.ListIterator<ASTNode> listIterator(int index)
listIterator
in interface java.util.List<ASTNode>
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public ASTNode set(int index, ASTNode element)
set
in interface java.util.List<ASTNode>
public int size()
public java.util.List<ASTNode> subList(int fromIndex, int toIndex) throws java.lang.UnsupportedOperationException
subList
in interface java.util.List<ASTNode>
java.lang.UnsupportedOperationException
public java.lang.Object[] toArray()
public java.lang.Object[] toArray(java.lang.Object[] a)
public void trimToSize()