summaryrefslogtreecommitdiff
path: root/Source/Core/AbsyQuant.cs
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2014-05-03 10:06:13 -0700
committerGravatar qadeer <unknown>2014-05-03 10:06:13 -0700
commit36e016acf963b7c19d59640b11b4a40f2072943e (patch)
tree31a45e868059d0ffe54fc3d212261245ff97886a /Source/Core/AbsyQuant.cs
parent121071b9f87d23eaeba176897b9655cd540fb694 (diff)
checkpoint
Diffstat (limited to 'Source/Core/AbsyQuant.cs')
-rw-r--r--Source/Core/AbsyQuant.cs31
1 files changed, 0 insertions, 31 deletions
diff --git a/Source/Core/AbsyQuant.cs b/Source/Core/AbsyQuant.cs
index 10a13511..397d8eba 100644
--- a/Source/Core/AbsyQuant.cs
+++ b/Source/Core/AbsyQuant.cs
@@ -321,37 +321,6 @@ namespace Microsoft.Boogie {
return defl;
}
- public static HashSet<Expr> FindExprAttributes(QKeyValue kv, string name)
- {
- Contract.Requires(name != null);
- HashSet<Expr> attrs = new HashSet<Expr>();
- for (; kv != null; kv = kv.Next)
- {
- if (kv.Key == name)
- {
- if (kv.Params.Count == 1 && kv.Params[0] is Expr)
- {
- attrs.Add((Expr)kv.Params[0]);
- }
- }
- }
- return attrs;
- }
-
- public static HashSet<int> FindIntAttributes(QKeyValue kv, string name)
- {
- Contract.Requires(name != null);
- HashSet<int> attrs = new HashSet<int>();
- HashSet<Expr> es = FindExprAttributes(kv, name);
- foreach (Expr e in es)
- {
- LiteralExpr l = e as LiteralExpr;
- if (l != null && l.isBigNum)
- attrs.Add(l.asBigNum.ToIntSafe);
- }
- return attrs;
- }
-
public override Absy Clone() {
List<object> newParams = new List<object>();
foreach (object o in Params)