added some missing exprs/stmts and AnchorTernaryStmts to deal with valued blocks