decode/validation library
Functions
-
assertExpectedCount(
int actual, int expected, String itemType, ResolvedDecodeOptions options) → void - Asserts that the actual count matches the expected count in strict mode.
-
validateNoBlankLinesInRange(
int startLine, int endLine, List< BlankLineInfo> blankLines, bool strict, String context) → void - Validates that there are no blank lines within a specific line range and depth.
-
validateNoExtraListItems(
LineCursor cursor, int itemDepth, int expectedCount) → void - Validates that there are no extra list items beyond the expected count.
-
validateNoExtraTabularRows(
LineCursor cursor, int rowDepth, ArrayHeaderInfo header) → void - Validates that there are no extra tabular rows beyond the expected count.