inner class

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
add test

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
fix: none block_items when visits a compound

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>