public abstract class SortExpression extends OsfExpression
| Constructor and Description |
|---|
SortExpression() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAnd() |
boolean |
isButnot() |
boolean |
isDisjunction() |
boolean |
isNot() |
boolean |
isOr() |
boolean |
isParenthesized()
This returns whether or not this expression is parenthesized.
|
boolean |
isSymbol() |
java.lang.String |
maxLowerBound()
Returns the string form of this sort's (possibly disjunctive)
maximal lower bound after it has been evaluated in its context.
|
SortExpression |
setParenthesized(boolean value)
This sets whether or not this expression is to be parenthesized.
|
java.lang.String |
toString() |
abstract byte |
type()
This returns the type of Boolean expression this sort expression
is; one of:
Context.SYM() if this is a sort symbol;
Context.DIS() if this is a disjunctive sort;
Context.NOT() if this is a negated sort expression;
Context.AND() if this is a sort-expression conjunction;
Context.OR () if this is a sort-expression disjunction;
Context.BNT() if this is a sort-expression complementation.
|
BitCode |
value()
Returns this sort expression's bit code in its context.
|
context, displayForm, setContextpublic abstract byte type()
public boolean isSymbol()
public boolean isDisjunction()
public boolean isNot()
public boolean isAnd()
public boolean isOr()
public boolean isButnot()
public BitCode value()
public java.lang.String maxLowerBound()
public boolean isParenthesized()
public SortExpression setParenthesized(boolean value)
public java.lang.String toString()
toString in class java.lang.Object