public class Node extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BNARY_OPERATOR |
static int |
CLOSE |
static int |
CONSTANT |
static int |
OPEN |
int |
type |
static int |
UNARY_OPERATOR |
static int |
UNKNOWN |
static int |
VARIABLE |
Modifier and Type | Method and Description |
---|---|
void |
deparent() |
void |
detachNext() |
void |
detachPrevious() |
void |
dispose() |
boolean |
isClose() |
boolean |
isOpen() |
void |
linkNext(Node t) |
Node |
next() |
Node |
parent() |
Node |
previous() |
void |
remove(Node n) |
void |
replaceChild(Node nold,
Node nnew) |
void |
replaceNext(Node n) |
void |
replacePrevious(Node n) |
void |
replaceSymbols(HashMap<String,String> map) |
void |
replaceWith(Node r) |
void |
setParent(Node p) |
String |
siblingsToString() |
String |
toString() |
public static final int UNKNOWN
public static final int OPEN
public static final int CLOSE
public static final int CONSTANT
public static final int VARIABLE
public static final int BNARY_OPERATOR
public static final int UNARY_OPERATOR
public int type
public Node()
public Node(Node p)
public void remove(Node n) throws ParseError
ParseError
public void replaceChild(Node nold, Node nnew) throws ParseError
ParseError
public String siblingsToString()
public void setParent(Node p)
public void linkNext(Node t)
public Node previous()
public Node next()
public Node parent()
public void detachNext()
public void detachPrevious()
public void replacePrevious(Node n)
public void replaceNext(Node n)
public void dispose() throws ParseError
ParseError
public void deparent() throws ParseError
ParseError
public boolean isOpen()
public boolean isClose()
public void replaceWith(Node r) throws ParseError
ParseError
Copyright © 2020. All rights reserved.