FormatWrapOnColumn configures expression word-wrapping when the string length exceeds the specified column limit.
(col int)
| 130 | |
| 131 | // FormatWrapOnColumn configures expression word-wrapping when the string length exceeds the specified column limit. |
| 132 | func FormatWrapOnColumn(col int) ASTFormatOption { |
| 133 | return func() parser.UnparserOption { |
| 134 | return parser.WrapOnColumn(col) |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | // AstToString converts an Ast back to a string if possible. |
| 139 | // |