blob: bd95eb8f9a2d09ef3a64fa0f142dc9ce331518fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package org.zwobble.couscous.values;
import org.zwobble.couscous.ast.TypeName;
import lombok.Value;
@Value
public class StringValue implements PrimitiveValue {
public static final TypeName REF = TypeName.of("java.lang.String");
String value;
@Override
public <T> T accept(PrimitiveValueVisitor<T> visitor) {
return visitor.visit(this);
}
@Override
public TypeName getType() {
return REF;
}
}
|