Example #1
0
// blockSquashable returns true if a node of type t can be squash in a block.
func blockSquashable(n types.Node) bool {
	if n.Block() == nil {
		return false
	}
	return types.IsInline(n.Type())
}