MCPcopy Create free account
hub / github.com/cel-expr/cel-go / FormatWrapOnColumn

Function FormatWrapOnColumn

cel/io.go:132–136  ·  view source on GitHub ↗

FormatWrapOnColumn configures expression word-wrapping when the string length exceeds the specified column limit.

(col int)

Source from the content-addressed store, hash-verified

130
131// FormatWrapOnColumn configures expression word-wrapping when the string length exceeds the specified column limit.
132func 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//

Callers 1

Calls 1

WrapOnColumnFunction · 0.92

Tested by 1