Package net.sourceforge.plantuml.tim
Class TFunctionImpl
java.lang.Object
net.sourceforge.plantuml.tim.TFunctionImpl
- All Implemented Interfaces:
TFunction
-
Constructor Summary
ConstructorsConstructorDescriptionTFunctionImpl
(String functionName, List<TFunctionArgument> args, boolean unquoted, TFunctionType functionType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
final boolean
void
executeProcedureInternal
(TContext context, TMemory memory, StringLocated location, List<TValue> args, Map<String, TValue> named) executeReturnFunction
(TContext context, TMemory memory, StringLocated location, List<TValue> args, Map<String, TValue> named) void
final TFunctionType
final TFunctionSignature
boolean
hasBody()
boolean
void
setLegacyDefinition
(String legacyDefinition) toString()
-
Constructor Details
-
TFunctionImpl
public TFunctionImpl(String functionName, List<TFunctionArgument> args, boolean unquoted, TFunctionType functionType)
-
-
Method Details
-
canCover
-
toString
-
addBody
- Throws:
EaterException
-
executeProcedureInternal
public void executeProcedureInternal(TContext context, TMemory memory, StringLocated location, List<TValue> args, Map<String, TValue> named) throws EaterException- Specified by:
executeProcedureInternal
in interfaceTFunction
- Throws:
EaterException
-
executeReturnFunction
public TValue executeReturnFunction(TContext context, TMemory memory, StringLocated location, List<TValue> args, Map<String, TValue> named) throws EaterException- Specified by:
executeReturnFunction
in interfaceTFunction
- Throws:
EaterException
-
getFunctionType
- Specified by:
getFunctionType
in interfaceTFunction
-
getSignature
- Specified by:
getSignature
in interfaceTFunction
-
setLegacyDefinition
-
isUnquoted
public boolean isUnquoted()- Specified by:
isUnquoted
in interfaceTFunction
-
hasBody
public boolean hasBody() -
finalizeEnddefinelong
public void finalizeEnddefinelong() -
doesContainReturn
public final boolean doesContainReturn()
-