|
ButnotSortExpression.java
|
// FILE. . . . . /home/hak/hlt/src/hlt/osf/base/ButnotSortExpression.java // EDIT BY . . . Hassan Ait-Kaci // ON MACHINE. . Hp-Dv7 // STARTED ON. . Mon Nov 05 19:13:27 2012
|
package hlt.osf.base;
| This is the class of a 'butnot' sort expression. It consists of two sort expressions which are its arguments. |
public class ButnotSortExpression extends BinarySortExpression
{
public ButnotSortExpression (SortExpression lhs, SortExpression rhs)
{
super(lhs,rhs);
_context = lhs.context();
}
public byte type ()
{
return _context.BNT();
}
public String displayForm ()
{
String form = _lhs.displayForm() + " \\ " + _rhs.displayForm();
return isParenthesized() ? "("+form+")" : form;
}
}
This file was generated on Fri Sep 06 18:27:34 CEST 2013 from file ButnotSortExpression.java
by the hlt.language.tools.Hilite Java tool written by Hassan Aït-Kaci