decancer/bidi/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
mod class;

use crate::util::Binary;
pub(crate) use class::Class;

const BIDI: Binary = Binary::new(include_bytes!("../../bin/bidi.bin"));

const BIDI_DICTIONARY_OFFSET: u16 = BIDI.u16_at(0);
const BIDI_DICTIONARY_COUNT: u16 = BIDI.u16_at(2);
const BIDI_BRACKETS_COUNT: u16 = ((BIDI_DICTIONARY_OFFSET - 4) / 5) - 1;

mod brackets;
mod level;
mod paragraph;

use brackets::{BracketPair, OpeningBracket};
use paragraph::OverrideStatus;

pub(crate) use level::Level;
#[cfg(test)]
pub(crate) use paragraph::IsolatingRunSequence;
pub(crate) use paragraph::Paragraph;