mirror of https://github.com/aamine/cbc
32 lines
766 B
Java
32 lines
766 B
Java
package net.loveruby.cflat.ast;
|
|
import net.loveruby.cflat.type.*;
|
|
import java.util.*;
|
|
|
|
public class UndefinedFunction extends Function {
|
|
protected Params params;
|
|
|
|
public UndefinedFunction(TypeNode t, String name, Params params) {
|
|
super(false, t, name);
|
|
this.params = params;
|
|
}
|
|
|
|
public List<Parameter> parameters() {
|
|
return params.parameters();
|
|
}
|
|
|
|
public boolean isDefined() {
|
|
return false;
|
|
}
|
|
|
|
protected void _dump(Dumper d) {
|
|
d.printMember("name", name);
|
|
d.printMember("isPrivate", isPrivate());
|
|
d.printMember("typeNode", typeNode);
|
|
d.printMember("params", params);
|
|
}
|
|
|
|
public <S,E> S accept(ASTVisitor<S,E> visitor) {
|
|
return visitor.visit(this);
|
|
}
|
|
}
|