JStatement.java |
1 // Copyright 2013 Bill Campbell, Swami Iyer and Bahar Akbal-Delibas 2 3 package jminusminus; 4 5 /** 6 * The AST node for a statement (includes expressions). The mother of all 7 * statements. 8 */ 9 10 abstract class JStatement extends JAST { 11 12 /** 13 * Construct an AST node for a statement given its line number. 14 * 15 * @param line 16 * line in which the statement occurs in the source file. 17 */ 18 19 protected JStatement(int line) { 20 super(line); 21 } 22 23 } 24