summaryrefslogtreecommitdiff
path: root/BCT/BytecodeTranslator/TranslationPlugins/IContractAwareTranslator.cs
blob: e1079e5d9e5eb3abe5713e0292a82eb812ef3474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Bpl= Microsoft.Boogie;
using Microsoft.Cci.Contracts;

namespace BytecodeTranslator.TranslationPlugins {
  interface IContractAwareTranslator : ITranslator {
    IEnumerable<Bpl.Expr> getPreconditionTranslation(IMethodContract contract);
    IEnumerable<Bpl.Expr> getPostconditionTranslation(IMethodContract contract);
    IEnumerable<Bpl.IdentifierExpr> getModifiedIdentifiers(IMethodContract contract);
  }
}