| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
This is currently not enforced (it really should be). So right now it
only amounts to a promise by the client that the Expr will not be modified
after it is constructed. We should actually enforce this by protecting
various fields of the Expr classes so they can't be changed if an Expr
is constructed as Immutable.
The motivation for doing this is it allows the value of GetHashCode()
to be cached. Expr classes now implement ComputeHashCode() to do the
actuall hash code computation.
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
LiteralExpr to Expr. Enforcing the return type be LiteralExpr is
too restrictive.
There is precedence for this. For example VisitNAryExpr() returns
an Expr not an NAryExpr.
Unfortunately this a breaking API change so anyone who subclasses
the StandardVisitor (or one of its sub classes) and overrides this
method will get compilation errors until they change the return type.
a visitor that does constant folding of an Expr tree
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ExistsExpr to Expr. Enforcing the return type be ExistsExpr is
too restrictive. For example it prevents anyone from implementing
a visitor that does constant folding of an Expr tree.
There is precedence for this. For example VisitNAryExpr() returns
an Expr not an NAryExpr.
Unfortunately this a breaking API change so anyone who subclasses
the StandardVisitor (or one of its sub classes) and overrides this
method will get compilation errors until they change the return type.
a visitor that does constant folding of an Expr tree
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ForAllExpr to Expr. Enforcing the return type be ForAllExpr is
too restrictive. For example it prevents anyone from implementing
a visitor that does constant folding of an Expr tree.
There is precedence for this. For example VisitNAryExpr() returns
an Expr not an NAryExpr.
Unfortunately this a breaking API change so anyone who subclasses
the StandardVisitor (or one of its sub classes) and overrides this
method will get compilation errors until they change the return type.
a visitor that does constant folding of an Expr tree
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BvExtractExpr to Expr. Enforcing the return type be BvExtractExpr is
too restrictive. For example it prevents anyone from implementing
a visitor that does constant folding of an Expr tree.
There is precedence for this. For example VisitNAryExpr() returns
an Expr not an NAryExpr.
Unfortunately this a breaking API change so anyone who subclasses
the StandardVisitor (or one of its sub classes) and overrides this
method will get compilation errors until they change the return type.
a visitor that does constant folding of an Expr tree
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BvConcatExpr to Expr. Enforcing the return type be BvConcatExpr is
too restrictive. For example it prevents anyone from implementing
a visitor that does constant folding of an Expr tree.
There is precedence for this. For example VisitNAryExpr() returns
an Expr not an NAryExpr.
Unfortunately this a breaking API change so anyone who subclasses
the StandardVisitor (or one of its sub classes) and overrides this
method will get compilation errors until they change the return type.
|
| | |
|
| |
| |
| |
| | |
verified assertions).
|
| | |
|
| |\
| |/
|/| |
|
| | |
|
|\| |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |\ |
|
| |/| |
|/| | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- making field protected
- exposing IEnumerables
(with help from David Rohr)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- making field private
- adding getter/setter
- copying incoming list
- exposing read-only list
(with help from David Rohr)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- making field private and readonly
- exposing IEnumerable
- adding 'AddLabel' method
(with help from David Rohr)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- adding private field
- exposing read-only list
- copying incoming list
(with help from David Rohr)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- making field private
- exposing read-only list
- copying incoming list
- adding methods 'AddParam', 'AddParams', and 'ClearParams'
(with help from David Rohr)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- making field private
- exposing an IEnumerable
- copying incoming list
(with help from David Rohr)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- making field private
- exposing an IEnumerable
(with help from David Rohr)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- making field private
- exposing an IEnumerable
(with help from David Rohr)
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
- making fields private
- exposing IEnumerables
- adding methods 'AddProverOption', 'RemoveAllProverOptions', and 'AddZ3Option'
(with help from David Rohr)
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
(replaced public fields by private fields + getters/setters)
|
| | |
|
| | |
|
| |
| |
| |
| | |
(replaced public field by private field + getter/setter)
|
| |
| |
| |
| |
| |
| | |
-replacing public field by private field + getter
-using read-only wrappers (to avoid leaking)
-cloning the tr list in the setter and constructor (to avoid capturing)
|
| |
| |
| |
| | |
(replaced public field by private field + getter/setter)
|