Package mepk.builtin
Class Types
java.lang.Object
mepk.builtin.Types
A helper class for easily creating a
Map<String,String>, which maps
variable names to type expressions.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAHashMap<String,String>mapping variables to type expressions. -
Method Summary
Modifier and TypeMethodDescriptionstatic Types.TypeMapBuilderEmptyMap()Create an empty type map.static Types.TypeMapBuilderCreate a single-entry type map.
-
Method Details
-
EmptyMap
Create an empty type map.- Returns:
- the map
-
map
Create a single-entry type map.- Parameters:
variableName- the variabletypeName- the type name- Returns:
- the extended map
-