Package mepk.builtin

Class Types

java.lang.Object
mepk.builtin.Types

public class Types extends Object
A helper class for easily creating a Map<String,String>, which maps variable names to type expressions.
  • Method Details

    • EmptyMap

      public static Types.TypeMapBuilder EmptyMap()
      Create an empty type map.
      Returns:
      the map
    • map

      public static Types.TypeMapBuilder map(String variableName, String typeName)
      Create a single-entry type map.
      Parameters:
      variableName - the variable
      typeName - the type name
      Returns:
      the extended map