OrSortExpression.html

`OrSortExpression.java`

    // FILE. . . . . /home/hak/hlt/src/hlt/osf/base/OrSortExpression.java
    // EDIT BY . . . Hassan Ait-Kaci
    // ON MACHINE. . Hp-Dv7
    // STARTED ON. . Mon Nov 05 19:13:27 2012

Author: |  | Hassan Aït-Kaci
Copyright: |  | © by the author
Version: |  | Last modified on Sat Jan 19 12:53:45 2013 by hak

    package hlt.osf.base;

This is the class of an 'or' sort expression. It consists of two SortExpression which are its arguments.

    public class OrSortExpression extends BinarySortExpression
      {
        public OrSortExpression (SortExpression lhs, SortExpression rhs)
        {
          super(lhs,rhs);
          _context = lhs.context();
        }

        public byte type ()
        {
          return _context.OR();
        }

        public String displayForm ()
        {
          String form = _lhs.displayForm() + " | " + _rhs.displayForm();
          return isParenthesized() ? "("+form+")" : form;
        }

      }

This file was generated on Wed Jan 30 13:26:29 CET 2013 from file `OrSortExpression.java`
by the `hlt.language.tools.Hilite` Java tool written by Hassan Aït-Kaci