Class TPath.BinaryExpr

All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
TPath.ComparisonExpr, TPath.EqualityExpr, TPath.Filter, TPath.LogicalExpr, TPath.NumericExpr, TPath.Union
Enclosing class:
TPath

public abstract static class TPath.BinaryExpr 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":39.1-41.59, see this pretty print.)
  • Field Details

  • Constructor Details

    • BinaryExpr

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

      Parameters:
      location - is copied to field TPath.Item.location
      left - is copied to field left
      right - is copied to field right
    • BinaryExpr

      public BinaryExpr(TPath.Expr left, TPath.Expr right)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".

      Parameters:
      left - is copied to field left
      right - is copied to field right
  • Method Details

    • doclone

      public TPath.BinaryExpr 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.BinaryExpr 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_left

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

      public boolean set_left(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":40.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_right

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

      public boolean set_right(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":41.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_left

      public static Pattern<TPath.BinaryExpr> get_left(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.
    • get_right

      public static Pattern<TPath.BinaryExpr> get_right(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.