MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / isNaturalDirectionClass

Function isNaturalDirectionClass

lib/MiniBidi/BidiUtils.cpp:17–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace {
16
17bool isNaturalDirectionClass(const uchar cls) {
18 switch (cls) {
19 case L:
20 case R:
21 case AL:
22 case EN:
23 case AN:
24 return true;
25 default:
26 return false;
27 }
28}
29
30} // namespace
31

Callers 1

computeVisualWordOrderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected