public final class JSONParseRecord extends Record
| Constructor and Description |
|---|
JSONParseRecord(Object value,
com.oracle.truffle.api.strings.TruffleString source,
List<JSONParseRecord> elements,
org.graalvm.collections.EconomicMap<com.oracle.truffle.api.strings.TruffleString,JSONParseRecord> entries) |
| Modifier and Type | Method and Description |
|---|---|
List<JSONParseRecord> |
elements() |
org.graalvm.collections.EconomicMap<com.oracle.truffle.api.strings.TruffleString,JSONParseRecord> |
entries() |
boolean |
equals(Object o) |
static JSONParseRecord |
forArray(Object value) |
static JSONParseRecord |
forLiteral(Object value,
com.oracle.truffle.api.strings.TruffleString source) |
static JSONParseRecord |
forObject(Object value) |
int |
hashCode() |
com.oracle.truffle.api.strings.TruffleString |
source() |
String |
toString() |
Object |
value() |
public JSONParseRecord(Object value, com.oracle.truffle.api.strings.TruffleString source, List<JSONParseRecord> elements, org.graalvm.collections.EconomicMap<com.oracle.truffle.api.strings.TruffleString,JSONParseRecord> entries)
public static JSONParseRecord forLiteral(Object value, com.oracle.truffle.api.strings.TruffleString source)
public static JSONParseRecord forArray(Object value)
public static JSONParseRecord forObject(Object value)
public Object value()
public com.oracle.truffle.api.strings.TruffleString source()
public List<JSONParseRecord> elements()
public org.graalvm.collections.EconomicMap<com.oracle.truffle.api.strings.TruffleString,JSONParseRecord> entries()