Class TPath.UnaryExpr

All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
TPath.Neg, TPath.Paren
Enclosing class:
TPath

public abstract static class TPath.UnaryExpr extends TPath.Expr
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":76.1-77.59, see this pretty print.)
  • Field Details

  • Constructor Details

    • UnaryExpr

      public UnaryExpr(Location<XMLDocumentIdentifier> location, TPath.Expr arg)
      Constructor generated according to specification #1
      Constructor defined according to directive "C 1/..".

      Parameters:
      location - is copied to field TPath.Item.location
      arg - is copied to field arg
    • UnaryExpr

      public UnaryExpr(TPath.Expr arg)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".

      Parameters:
      arg - is copied to field arg
  • Method Details

    • doclone

      public TPath.UnaryExpr doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Overrides:
      doclone in class TPath.Expr
      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 TPath.Expr
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public TPath.UnaryExpr 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 TPath.Expr
    • get_arg

      public TPath.Expr get_arg()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "TPath.umod":77.9-59, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type TPath.Expr(never null)
      See Also:
    • set_arg

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

      public static Pattern<TPath.UnaryExpr> get_arg(Pattern<? super TPath.Expr> 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 TPath.__Patterns.