Class ASTSIUnit2SymTypeExprConverter

java.lang.Object
de.monticore.siunit.siunits.util.ASTSIUnit2SymTypeExprConverter

public class ASTSIUnit2SymTypeExprConverter extends Object
Helper, to convert ASTSIUnits to SymTypeExpressions
  • Field Details

    • PREFIX_UNIT_PATTERN

      protected static final String PREFIX_UNIT_PATTERN
      Prefix with unit, only some units apply
      See Also:
    • NO_PREFIX_UNIT_PATTERN

      protected static final String NO_PREFIX_UNIT_PATTERN
      Unit (no prefix)
      See Also:
    • NO_PREFIX_PREFERED_UNIT_PATTERN

      protected static final String NO_PREFIX_PREFERED_UNIT_PATTERN
      Unit (no prefix), preferred. In the String "min", 'min' ought to be matched, not 'm'. To guarantee this, this pattern is applied first.
      See Also:
    • PREFIX_PATTERN

      protected static final String PREFIX_PATTERN
      Prefix (no unit)
      See Also:
    • GROUP_PATTERN

      protected static final String GROUP_PATTERN
      SIUnit group
      See Also:
    • INTERNAL_LOGIC_ERROR

      protected static final String INTERNAL_LOGIC_ERROR
      See Also:
    • prefixPat

      protected static final Pattern prefixPat
    • unitWithPrefixPat

      protected static final Pattern unitWithPrefixPat
    • unitWithoutPrefixPat

      protected static final Pattern unitWithoutPrefixPat
    • unitWithoutPrefixPrefPat

      protected static final Pattern unitWithoutPrefixPrefPat
    • groupPat

      protected static final Pattern groupPat
  • Constructor Details

    • ASTSIUnit2SymTypeExprConverter

      public ASTSIUnit2SymTypeExprConverter()
  • Method Details