nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BlockStatement.java
changeset 28690 78317797ab62
parent 27204 06ec78f29a56
child 29407 3fd4ede1581e
equal deleted inserted replaced
28597:b2f9702efbe9 28690:78317797ab62
    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