Class Expression

java.lang.Object
eu.bandm.tools.d2d2.model.Expr0
eu.bandm.tools.d2d2.model.Expression
All Implemented Interfaces:
Formattable, Serializable, Cloneable
Direct Known Subclasses:
CharExpr, Empty, GrMult, GrUnary, Insertion, None, ParseParticle, Pcdata, Reference, StringConst, Subst

public class Expression extends Expr0 implements Serializable
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":31.3-38.5, see this pretty print.)
See Also:
  • Field Details

  • Constructor Details

    • Expression

      public Expression(Location<XMLDocumentIdentifier> location)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      location - is copied to field Expr0.location
    • Expression

      public Expression()
      Synthetic minimal constructor provided by the umod compiler.
      Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.
      (All object fields are set to their default values.)
  • Method Details

    • doclone

      public Expression doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Overrides:
      doclone in class Expr0
      Returns:
      a fresh copy.
    • format

      public Format format()
      Delivers a format object for pretty-printing by inheritance from some ancestor class.
      Specified by:
      format in interface Formattable
      Overrides:
      format in class Expr0
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public Expression initFrom(Object o0)
      Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.
      Overrides:
      initFrom in class Expr0
    • get_canProduceEpsilon

      public boolean get_canProduceEpsilon()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":34.5-32, see this pretty print.)
      Generated getter method. @see #canProduceEpsilon
      Returns:
      The current field value of type boolean(never null)
    • set_canProduceEpsilon

      public boolean set_canProduceEpsilon(boolean val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":34.5-32, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type boolean(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_firsts

      public CheckedMap_RD<String,Expression> get_firsts()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":35.5-50, see this pretty print.)
      Generated getter method. @see #firsts
      Returns:
      The current field value of type CheckedMap_RD<java.lang.String(never null),Expression(never null)>(maybe null)
    • set_firsts

      public boolean set_firsts(CheckedMap_RD<String,Expression> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":35.5-50, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type CheckedMap_RD<java.lang.String(never null),Expression(never null)>(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_firsts

      @Deprecated public void descend_firsts(MATCH_ONLY_00 visitor)
      Deprecated.
    • get_weakfirsts

      public CheckedMap_RD<String,Expression> get_weakfirsts()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":36.5-50, see this pretty print.)
      Generated getter method. @see #weakfirsts
      Returns:
      The current field value of type CheckedMap_RD<java.lang.String(never null),Expression(never null)>(maybe null)
    • set_weakfirsts

      public boolean set_weakfirsts(CheckedMap_RD<String,Expression> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":36.5-50, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type CheckedMap_RD<java.lang.String(never null),Expression(never null)>(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_weakfirsts

      @Deprecated public void descend_weakfirsts(MATCH_ONLY_00 visitor)
      Deprecated.
    • get_canProduceEpsilon

      public static Pattern<Expression> get_canProduceEpsilon(Pattern<? super Boolean> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.
    • get_firsts

      public static Pattern<Expression> get_firsts(Pattern<? super CheckedMap_RD<String,Expression>> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.
    • get_weakfirsts

      public static Pattern<Expression> get_weakfirsts(Pattern<? super CheckedMap_RD<String,Expression>> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.