Class D2d

java.lang.Object
eu.bandm.tools.d2d2.model.D2d

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2025-01-22_20h52m24") public class D2d extends Object
Umod main model class:
This is the internal model for the d2d text type definitions. Its instances are mostly defined by .ddf files. They contain regular expressions of elements, context free grammars of characters, parameters for the XML representation. More info may be attached in future, e.g. editor modes. There is a smaller umod model which represents the parsing results and realizes the run time stack etc., see rt
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":1.1-296.5, see this pretty print.)

Generated on 2025-01-22_20h52m24
by program bandm model generator(=eu.bandm.tools.umod.Main), version 0.17
command line =
java eu.bandm.tools.umod.Main --visitordebug true --xmlgen true --getterfunctions true --monolithic false --patterns true $(HOME)/metatools/src eu.bandm.tools.d2d2.model D2d.umod
Cf. the pretty-printed UMod source text.

  • Method Details

    • toFormat

      public static Format toFormat(Object e0)
      Yields a pretty-print format for arbitrary objects.
      Parameters:
      e0 - the object to render.
    • toFormat

      public static Format toFormat(Object e0, Integer mode)
      Yields a pretty-print format for arbitrary objects.
      Parameters:
      e0 - the object to render.
      mode - an integer mode selector read by the $switch$mode.. construct in format definitions. This allows small variants in the generated pretty-print.