Home
last modified time | relevance | path

Searched refs:CurrentChar (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/lang_id/common/fel/
Dfel-parser.cc73 if (CurrentChar() == '\n') { in Next()
85 if (CurrentChar() == '#') { in NextItem()
87 while (!eos() && CurrentChar() != '\n') Next(); in NextItem()
88 } else if (isspace(CurrentChar())) { in NextItem()
90 while (!eos() && isspace(CurrentChar())) Next(); in NextItem()
107 if (IsValidCharAtStartOfNumber(CurrentChar())) { in NextItem()
110 while (!eos() && IsValidCharInsideNumber(CurrentChar())) Next(); in NextItem()
117 if (CurrentChar() == '"') { in NextItem()
120 while (CurrentChar() != '"') { in NextItem()
134 if (IsValidCharAtStartOfIdentifier(CurrentChar())) { in NextItem()
[all …]
Dfel-parser.h89 char CurrentChar() const { in CurrentChar() function