# Interface: com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock
- Super interfaces: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICCompound`, `java.lang.Iterable<com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement>`

C AST interface to represent a sequence of [statements](com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement.md).  

  Example:    

```

 {
     stm0;
     stm1;
     stm2;
 }
 
```
  

  Statements cannot be null. An exception will be raised if an attempt to insert a null statement  is made.

## Abstract Method: add
- parameter: `stm`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Abstract Method: addAll
- parameter: `stms`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement[]`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Abstract Method: addAll
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Abstract Method: clear

Description: Remove all statements of the block, making the block effectively empty: {}. Do not confuse this method with [#reset()](#reset()).

## Abstract Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`


## Abstract Method: generateBody
- parameter: `out`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COutputSink`
- parameter: `methodBody`, type: `boolean`

Description: Raw body generation, the caller is responsible for calling generateEnter/generateExit
parameter: out: 

## Abstract Method: generateFooter
- parameter: `out`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COutputSink`


## Abstract Method: generateHeader
- parameter: `out`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COutputSink`


## Abstract Method: get
- parameter: `index`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement`


## Abstract Method: getAll
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement>`


## Abstract Method: getLast
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement`


## Abstract Method: insert
- parameter: `index`, type: `int`
- parameter: `stm`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement`


## Abstract Method: insertAll
- parameter: `index`, type: `int`
- parameter: `srcblk`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICBlock`

Description: Insert all statements of a source block into this block. The source block is left untouched.
parameter: index: 0\-based insertion index into this block
parameter: srcblk: source block

## Abstract Method: isEmpty
- return type: `boolean`


## Abstract Method: remove
- parameter: `index`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement`


## Abstract Method: remove
- parameter: `stm`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement`
- return type: `boolean`

Description: Remove a statement from the block. Does not throw if the statement is not found.
parameter: stm: mandatory statement
return: indicates success

## Abstract Method: removeLast
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement`


## Abstract Method: set
- parameter: `index`, type: `int`
- parameter: `stm`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement`


## Abstract Method: size
- return type: `int`


