blob: 9f3e9371beba01f03f0a1a33c6fad5f46f86aa0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package org.zwobble.couscous.interpreter.values;
import org.zwobble.couscous.interpreter.PositionalArguments;
import lombok.AllArgsConstructor;
import lombok.Getter;
@AllArgsConstructor(staticName="of")
@Getter
public class MethodCallArguments<T> {
private final T receiver;
private final PositionalArguments positionalArguments;
public InterpreterValue get(int index) {
return positionalArguments.get(index);
}
}
|