add check type
This commit is contained in:
@@ -14,7 +14,15 @@ public interface Interface{
|
||||
public interface ProgramVisitor<H,S> {
|
||||
public S visitProgram(ProgramImp prog, H h);
|
||||
}
|
||||
|
||||
//PROTOTYPE
|
||||
public interface Prototype{
|
||||
public <H,S> S accept(PrototypeVisitor<H,S> v, H h);
|
||||
}
|
||||
|
||||
public interface PrototypeVisitor<H,S> {
|
||||
public S visitPrototype(PrototypeImp proto, H h);
|
||||
}
|
||||
|
||||
//FUNCTION
|
||||
public interface Function {
|
||||
|
||||
Reference in New Issue
Block a user