Scalar Analysis
constructor(scalar: String, empty: Boolean, multiline: Boolean, allowFlowPlain: Boolean, allowBlockPlain: Boolean, allowSingleQuoted: Boolean, allowBlock: Boolean)(source)
Parameters
scalar
the scalar to be analysed
empty
truefor empty scalar
multiline
trueif it may take many lines
allow Flow Plain
trueif can be plain in flow context
allow Block Plain
trueif can be plain in block context
allow Single Quoted
trueif single quotes are allowed
allow Block
truewhen block style is allowed for this scalar