|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.xtend.backend.functions.internal.PolymorphicResolver
public final class PolymorphicResolver
| Constructor Summary | |
|---|---|
PolymorphicResolver(QualifiedName functionName)
|
|
| Method Summary | |
|---|---|
Function |
evaluateGuards(ExecutionContext ctx,
java.util.Collection<Function> functions)
chooses a function based on the evaluation of the functions' guards |
java.util.Collection<Function> |
getBestFitCandidates(java.util.Collection<Function> functions)
returns the list of all best-fitting candidates by parameter types. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolymorphicResolver(QualifiedName functionName)
functionName - the name of the functions to be resolved - used for error messages| Method Detail |
|---|
public java.util.Collection<Function> getBestFitCandidates(java.util.Collection<Function> functions)
public Function evaluateGuards(ExecutionContext ctx,
java.util.Collection<Function> functions)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||