org.oXML.type
Class Functions
java.lang.Object
org.oXML.type.Functions
- public class Functions
- extends java.lang.Object
keeps a map of Function arrays indexed by FunctionKey
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Functions
public Functions(Type type)
Functions
public Functions(Type type,
Function[] functions)
addFunction
public void addFunction(Function function)
contains
public boolean contains(Function function)
addFunctions
public void addFunctions(Function[] funs)
addFunctions
public void addFunctions(Functions other)
getFunction
public Function getFunction(Name name,
Type[] params)
getFunction
public FunctionMatch getFunction(FunctionCall call,
FunctionMatch closest)
- Get the function that is the closest match on name and parameter types.
- Parameters:
closest - The closest match so far
getFunctions
public java.util.List getFunctions()