|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.template.FunctionMap
public class FunctionMap
| Constructor Summary | |
|---|---|
FunctionMap()
|
|
| Method Summary | |
|---|---|
FunctionDefinition |
get(java.lang.String name)
Return the function definition associated with the given name or null if it doesn't exist. |
void |
put(java.lang.String name,
Operation function,
Template template,
SourceRange sourceRange)
Define the given DML block as a function with the given name in this context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionMap()
| Method Detail |
|---|
public FunctionDefinition get(java.lang.String name)
name - name of the function to retrieve
public void put(java.lang.String name,
Operation function,
Template template,
SourceRange sourceRange)
throws EvaluationException
name - name for the functionfunction - code for the function as a DML blocktemplate - template in which this function is defined (used for error
handling)sourceRange - location in the template where this function is defined (used
for error handling)
EvaluationException - if a function with the given name already exists
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||