private void processNextPage()

in src/main/java/com/epam/parso/impl/SasFileParser.java [729:750]


    private void processNextPage() throws IOException {
        int bitOffset = sasFileProperties.isU64() ? PAGE_BIT_OFFSET_X64 : PAGE_BIT_OFFSET_X86;
        currentPageDataSubheaderPointers.clear();

        try {
            sasFileStream.readFully(cachedPage, 0, sasFileProperties.getPageLength());
        } catch (EOFException ex) {
            eof = true;
            return;
        }

        readPageHeader();
        if (PageType.PAGE_TYPE_META.contains(currentPageType) || PageType.PAGE_TYPE_AMD.contains(currentPageType)
                || PageType.PAGE_TYPE_MIX.contains(currentPageType)) {
            List<SubheaderPointer> subheaderPointers = new ArrayList<>();
            processPageMetadata(bitOffset, subheaderPointers);
            readDeletedInfo();
            if (PageType.PAGE_TYPE_AMD.contains(currentPageType)) {
                processMissingColumnInfo();
            }
        }
    }