예제 #1
0
파일: trim.go 프로젝트: aliafshar/tools
// 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())
}