nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BlockStatement.java
equal
deleted
inserted
replaced
34 public class BlockStatement extends Statement { |
34 public class BlockStatement extends Statement { |
35 private static final long serialVersionUID = 1L; |
35 private static final long serialVersionUID = 1L; |
36 |
36 |
37 /** Block to execute. */ |
37 /** Block to execute. */ |
38 private final Block block; |
38 private final Block block; |
|
39 |
|
40 /** |
|
41 * Constructor |
|
42 * |
|
43 * @param block the block to execute |
|
44 */ |
|
45 public BlockStatement(final Block block) { |
|
46 this(block.getFirstStatementLineNumber(), block); |
|
47 } |
39 |
48 |
40 /** |
49 /** |
41 * Constructor |
50 * Constructor |
42 * |
51 * |
43 * @param lineNumber line number |
52 * @param lineNumber line number |