| Constructor and Description |
|---|
TFunctionImpl(java.lang.String functionName,
java.util.List<TFunctionArgument> args,
boolean unquoted,
TFunctionType functionType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(StringLocated s) |
boolean |
canCover(int nbArg,
java.util.Set<java.lang.String> namedArguments) |
boolean |
doesContainReturn() |
void |
executeProcedureInternal(TContext context,
TMemory memory,
StringLocated location,
java.util.List<TValue> args,
java.util.Map<java.lang.String,TValue> named) |
TValue |
executeReturnFunction(TContext context,
TMemory memory,
StringLocated location,
java.util.List<TValue> args,
java.util.Map<java.lang.String,TValue> named) |
void |
finalizeEnddefinelong() |
TFunctionType |
getFunctionType() |
TFunctionSignature |
getSignature() |
boolean |
hasBody() |
boolean |
isUnquoted() |
void |
setLegacyDefinition(java.lang.String legacyDefinition) |
java.lang.String |
toString() |
public TFunctionImpl(java.lang.String functionName,
java.util.List<TFunctionArgument> args,
boolean unquoted,
TFunctionType functionType)
public boolean canCover(int nbArg,
java.util.Set<java.lang.String> namedArguments)
public java.lang.String toString()
toString in class java.lang.Objectpublic void addBody(StringLocated s) throws EaterException
EaterExceptionpublic void executeProcedureInternal(TContext context, TMemory memory, StringLocated location, java.util.List<TValue> args, java.util.Map<java.lang.String,TValue> named) throws EaterException
executeProcedureInternal in interface TFunctionEaterExceptionpublic TValue executeReturnFunction(TContext context, TMemory memory, StringLocated location, java.util.List<TValue> args, java.util.Map<java.lang.String,TValue> named) throws EaterException
executeReturnFunction in interface TFunctionEaterExceptionpublic final TFunctionType getFunctionType()
getFunctionType in interface TFunctionpublic final TFunctionSignature getSignature()
getSignature in interface TFunctionpublic void setLegacyDefinition(java.lang.String legacyDefinition)
public boolean isUnquoted()
isUnquoted in interface TFunctionpublic boolean hasBody()
public void finalizeEnddefinelong()
public final boolean doesContainReturn()