Package com.blackrook.rookscript.lang
Interface ScriptFunctionType.Usage.ParameterUsage
- Enclosing interface:
- ScriptFunctionType.Usage
public static interface ScriptFunctionType.Usage.ParameterUsage
A single parameter's usage instructions.
-
Method Summary
Modifier and TypeMethodDescriptiongetTypes()
Gets a list of accepted parameter types for this parameter.
-
Method Details
-
getParameterName
String getParameterName()- Returns:
- the name of the parameter.
-
getTypes
List<ScriptFunctionType.Usage.TypeUsage> getTypes()Gets a list of accepted parameter types for this parameter. Other types may result in an error.- Returns:
- the list of accepted types and usages. Never returns null.
-