Class PythonCodeEnum.PythonCodeEnumLiteral

All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider, net.ssehub.easy.instantiation.core.model.vilTypes.IVilType, IPythonCodeElement, Storable
Enclosing class:
PythonCodeEnum

private class PythonCodeEnum.PythonCodeEnumLiteral extends PythonCodeAssign
Represents an enum literal with comment.
Author:
Holger Eichelberger
  • Field Details

  • Constructor Details

    • PythonCodeEnumLiteral

      private PythonCodeEnumLiteral(IPythonCodeElement parent, String varName, String expr, String comment)
      Creates a literal.
      Parameters:
      parent - the parent
      varName - the variable name
      expr - the value expression
      comment - optional comment, may be null or empty for none
  • Method Details