Class ScalarAnalysis


  • public final class ScalarAnalysis
    extends Object
    Accumulate information to choose the scalar style
    • Constructor Detail

      • ScalarAnalysis

        public ScalarAnalysis​(String scalar,
                              boolean empty,
                              boolean multiline,
                              boolean allowFlowPlain,
                              boolean allowBlockPlain,
                              boolean allowSingleQuoted,
                              boolean allowBlock)
    • Method Detail

      • getScalar

        public String getScalar()
      • isEmpty

        public boolean isEmpty()
      • isMultiline

        public boolean isMultiline()
      • isAllowFlowPlain

        public boolean isAllowFlowPlain()
      • isAllowBlockPlain

        public boolean isAllowBlockPlain()
      • isAllowSingleQuoted

        public boolean isAllowSingleQuoted()
      • isAllowBlock

        public boolean isAllowBlock()