From 350d32403f7441df525f871f3853ca9b660211fe Mon Sep 17 00:00:00 2001 From: Ally Donaldson Date: Mon, 22 Jul 2013 23:03:55 +0100 Subject: All ...Seq classes now gone --- Source/Core/BoogiePL.atg | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'Source/Core/BoogiePL.atg') diff --git a/Source/Core/BoogiePL.atg b/Source/Core/BoogiePL.atg index 294abba3..1aaba87c 100644 --- a/Source/Core/BoogiePL.atg +++ b/Source/Core/BoogiePL.atg @@ -344,7 +344,7 @@ MapType IToken/*!*/ nnTok; List/*!*/ arguments = new List(); Bpl.Type/*!*/ result; - TypeVariableSeq/*!*/ typeParameters = new TypeVariableSeq(); + List/*!*/ typeParameters = new List(); .) [ TypeParams (. tok = nnTok; .) ] "[" (. if (tok == null) tok = t; .) @@ -356,13 +356,13 @@ MapType .) . -TypeParams +TypeParams/*!*/ typeParams> = (.Contract.Ensures(Contract.ValueAtReturn(out tok) != null); Contract.Ensures(Contract.ValueAtReturn(out typeParams) != null); List/*!*/ typeParamToks; .) "<" (. tok = t; .) Idents ">" (. - typeParams = new TypeVariableSeq (); + typeParams = new List (); foreach(Token/*!*/ id in typeParamToks){ Contract.Assert(id != null); typeParams.Add(new TypeVariable(id, id.val));} @@ -443,7 +443,7 @@ Function/*!*/ ds> = (. Contract.Ensures(Contract.ValueAtReturn(out ds) != null); ds = new List(); IToken/*!*/ z; IToken/*!*/ typeParamTok; - var typeParams = new TypeVariableSeq(); + var typeParams = new List(); var arguments = new List(); TypedIdent/*!*/ tyd; TypedIdent retTyd = null; @@ -571,7 +571,7 @@ UserDefinedType ] (. if (synonym) { - TypeVariableSeq/*!*/ typeParams = new TypeVariableSeq(); + List/*!*/ typeParams = new List(); foreach(Token/*!*/ t in paramTokens){ Contract.Assert(t != null); typeParams.Add(new TypeVariable(t, t.val));} @@ -586,7 +586,7 @@ UserDefinedType /*------------------------------------------------------------------------*/ Procedure = (. Contract.Ensures(Contract.ValueAtReturn(out proc) != null); IToken/*!*/ x; - TypeVariableSeq/*!*/ typeParams; + List/*!*/ typeParams; List/*!*/ ins, outs; List/*!*/ pre = new List(); List/*!*/ mods = new List(); @@ -615,7 +615,7 @@ Procedure Implementation = (. Contract.Ensures(Contract.ValueAtReturn(out impl) != null); IToken/*!*/ x; - TypeVariableSeq/*!*/ typeParams; + List/*!*/ typeParams; List/*!*/ ins, outs; List/*!*/ locals; StmtList/*!*/ stmtList; @@ -629,10 +629,10 @@ Implementation . -ProcSignature/*!*/ typeParams, out List/*!*/ ins, out List/*!*/ outs, out QKeyValue kv> = (. Contract.Ensures(Contract.ValueAtReturn(out name) != null); Contract.Ensures(Contract.ValueAtReturn(out typeParams) != null); Contract.Ensures(Contract.ValueAtReturn(out ins) != null); Contract.Ensures(Contract.ValueAtReturn(out outs) != null); - IToken/*!*/ typeParamTok; typeParams = new TypeVariableSeq(); + IToken/*!*/ typeParamTok; typeParams = new List(); outs = new List(); kv = null; .) { Attribute } Ident @@ -1239,7 +1239,7 @@ ArrayExpression AtomExpression = (. Contract.Ensures(Contract.ValueAtReturn(out e) != null); IToken/*!*/ x; int n; BigNum bn; BigDec bd; List/*!*/ es; List/*!*/ ds; Trigger trig; - TypeVariableSeq/*!*/ typeParams; + List/*!*/ typeParams; IdentifierExpr/*!*/ id; QKeyValue kv; e = dummyExpr; @@ -1412,10 +1412,10 @@ IfThenElseExpression . -QuantifierBody/*!*/ ds, +QuantifierBody/*!*/ typeParams, out List/*!*/ ds, out QKeyValue kv, out Trigger trig, out Expr/*!*/ body> = (. Contract.Requires(q != null); Contract.Ensures(Contract.ValueAtReturn(out typeParams) != null); Contract.Ensures(Contract.ValueAtReturn(out ds) != null); Contract.Ensures(Contract.ValueAtReturn(out body) != null); - trig = null; typeParams = new TypeVariableSeq (); + trig = null; typeParams = new List (); IToken/*!*/ tok; kv = null; ds = new List (); -- cgit v1.2.3