-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBBasicStatement.java
More file actions
39 lines (28 loc) · 952 Bytes
/
BBasicStatement.java
File metadata and controls
39 lines (28 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import java.util.Vector;
/******************************
* Copyright (c) 2003,2019 Kevin Lano
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
* *****************************/
/* Package: B AMN */
public class BBasicStatement extends BStatement
{ private String text = "skip"; // default
public BBasicStatement(String code)
{ text = code; }
public String toString() { return text; }
public BStatement substituteEq(String oldE, BExpression newE)
{ return this; }
public BStatement simplify()
{ return this; }
public BStatement normalise()
{ return this; }
public BStatement seq2parallel()
{ return this; }
public Vector wr()
{ return new Vector(); }
public Vector rd()
{ return new Vector(); }
}