01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10:
11: package de.uka.ilkd.key.pp;
12:
13: /**
14: * This is a position table for program modality formaulae. In
15: * addition to the usual tables, it can store a range of character
16: * positions for the first statemnt in the java block.
17: */
18:
19: public class ModalityPositionTable extends PositionTable {
20:
21: public ModalityPositionTable(int rows) {
22: super (rows);
23: }
24:
25: private Range firstStatementRange = null;
26:
27: public void setFirstStatementRange(Range r) {
28: firstStatementRange = r;
29: }
30:
31: public Range getFirstStatementRange() {
32: return new Range(firstStatementRange);
33: }
34:
35: }
|