Class ConfigDocument.CommentMove
java.lang.Object
com.ultikits.ultitools.config.document.ConfigDocument.CommentMove
- Enclosing class:
ConfigDocument
One comment line to re-indent: where the reader found it, and what must be there for the move to apply.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
line
private final int line -
column
private final int column -
target
private final int target -
expected
-
-
Constructor Details
-
CommentMove
CommentMove(int line, int column, int target, String expected) - Parameters:
line- the line, numbered as SnakeYAML's reader numbers it (0-based)column- the column of its#in the emitted texttarget- the column to write it atexpected- the line's exact text from its#to the line break:"#"+ the comment
-