| 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 |
executeProcedure(TContext context,
TMemory memory,
LineLocation location,
java.lang.String s) |
void |
executeProcedureInternal(TContext context,
TMemory memory,
java.util.List<TValue> args,
java.util.Map<java.lang.String,TValue> named) |
TValue |
executeReturnFunction(TContext context,
TMemory memory,
LineLocation 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 EaterExceptionLocated
EaterExceptionLocatedpublic void executeProcedure(TContext context, TMemory memory, LineLocation location, java.lang.String s) throws EaterException, EaterExceptionLocated
executeProcedure in interface TFunctionEaterExceptionEaterExceptionLocatedpublic void executeProcedureInternal(TContext context, TMemory memory, java.util.List<TValue> args, java.util.Map<java.lang.String,TValue> named) throws EaterException, EaterExceptionLocated
executeProcedureInternal in interface TFunctionEaterExceptionEaterExceptionLocatedpublic TValue executeReturnFunction(TContext context, TMemory memory, LineLocation location, java.util.List<TValue> args, java.util.Map<java.lang.String,TValue> named) throws EaterException, EaterExceptionLocated
executeReturnFunction in interface TFunctionEaterExceptionEaterExceptionLocatedpublic 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()