MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / IsPyStringTypeChar

Function IsPyStringTypeChar

scintilla/lexers/LexPython.cxx:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39enum literalsAllowed { litNone=0, litU=1, litB=2};
40
41static bool IsPyStringTypeChar(int ch, literalsAllowed allowed) {
42 return
43 ((allowed & litB) && (ch == 'b' || ch == 'B')) ||
44 ((allowed & litU) && (ch == 'u' || ch == 'U'));
45}
46
47static bool IsPyStringStart(int ch, int chNext, int chNext2, literalsAllowed allowed) {
48 if (ch == '\'' || ch == '"')

Callers 2

IsPyStringStartFunction · 0.85
GetPyStringStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected