blob: 438335344d5149757a3a8e903d4476af57943a13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package org.zwobble.couscous.interpreter.values;
import java.util.Optional;
import org.zwobble.couscous.values.PrimitiveValue;
public class ObjectInterpreterValue implements InterpreterValue {
private final ConcreteType type;
public ObjectInterpreterValue(ConcreteType type) {
this.type = type;
}
@Override
public ConcreteType getType() {
return type;
}
@Override
public Optional<PrimitiveValue> toPrimitiveValue() {
return Optional.empty();
}
}
|