public class FunctionStatement extends Statement
| Constructor and Description |
|---|
FunctionStatement(SourceRange sourceRange,
String name,
Operation function)
Creates a FunctionStatement which associates a name with a given DML
block.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Context context)
Execute this Statement within the given context.
|
String |
getName()
Retrieve the name of the defined function.
|
String |
toString()
Return a reasonable string representation of this statement.
|
getSourceRangepublic FunctionStatement(SourceRange sourceRange, String name, Operation function)
sourceRange - source location of this statementname - name of the functionfunction - DML block for the functionpublic String getName()
public void execute(Context context)
StatementCopyright © 2014 Quattor. All Rights Reserved.