Class CodeGenVisitorState

java.lang.Object
de.monticore.codegen.CodeGenVisitorState
Direct Known Subclasses:
JavaGenVisitorState

public class CodeGenVisitorState extends Object
Common data and functionality shared between all code generations visitors.
  • Field Details

    • LOG_NAME

      public static final String LOG_NAME
      See Also:
    • printer

      protected de.monticore.prettyprint.IndentPrinter printer
  • Constructor Details

    • CodeGenVisitorState

      public CodeGenVisitorState(de.monticore.prettyprint.IndentPrinter printer)
  • Method Details

    • getPrinter

      public de.monticore.prettyprint.IndentPrinter getPrinter()
      The printer to print code to.
      Returns:
      the printer to print code to.