Static method in SET has been refactored
This commit is contained in:
parent
05f75b627b
commit
ab17d4c60e
|
@ -7,13 +7,13 @@ import table.*;
|
|||
@FunctionNames({ "SET" })
|
||||
public class SET extends LispFunction {
|
||||
|
||||
private ArgumentValidator argumentValidator;
|
||||
private ExecutionContext executionContext;
|
||||
|
||||
public static SExpression set(Cons argumentList) {
|
||||
return new SET().call(argumentList);
|
||||
}
|
||||
|
||||
private ArgumentValidator argumentValidator;
|
||||
private ExecutionContext executionContext;
|
||||
|
||||
public SET() {
|
||||
this.argumentValidator = new ArgumentValidator("SET");
|
||||
this.argumentValidator.setExactNumberOfArguments(2);
|
||||
|
|
Loading…
Reference in New Issue