| Modifier and Type | Field and Description |
|---|---|
boolean |
branched |
Token |
definition |
static ParseGraph |
EMPTY |
ParseItem |
head |
static Token |
NONE |
long |
size |
ParseGraph |
tail |
| Constructor and Description |
|---|
ParseGraph(ParseItem head,
ParseGraph tail,
Token definition) |
| Modifier and Type | Method and Description |
|---|---|
ParseGraph |
add(ParseReference parseReference) |
ParseGraph |
add(ParseValue head) |
ParseGraph |
asGraph() |
ParseReference |
asReference() |
ParseValue |
asValue() |
ParseValue |
current() |
Token |
getDefinition() |
boolean |
isEmpty() |
boolean |
isGraph() |
boolean |
isReference() |
boolean |
isValue() |
String |
toString() |
public final ParseItem head
public final ParseGraph tail
public final boolean branched
public final Token definition
public final long size
public static final Token NONE
public static final ParseGraph EMPTY
public ParseGraph(ParseItem head, ParseGraph tail, Token definition)
public ParseGraph add(ParseValue head)
public ParseGraph add(ParseReference parseReference)
public boolean isEmpty()
public ParseValue current()
public boolean isReference()
isReference in interface ParseItempublic ParseValue asValue()
public ParseGraph asGraph()
public ParseReference asReference()
asReference in interface ParseItempublic Token getDefinition()
getDefinition in interface ParseItemCopyright © 2017. All rights reserved.