• Home
  • Raw
  • Download

Lines Matching refs:m_cursor

159     : m_cursor(wsFormCalc.unterminated_c_str()),  in CXFA_FMLexer()
160 m_end(m_cursor + wsFormCalc.GetLength() - 1), in CXFA_FMLexer()
171 while (m_cursor <= m_end && *m_cursor) { in NextToken()
172 if (!IsFormCalcCharacter(*m_cursor)) { in NextToken()
177 switch (*m_cursor) { in NextToken()
181 ++m_cursor; in NextToken()
184 ++m_cursor; in NextToken()
207 ++m_cursor; in NextToken()
208 if (m_cursor > m_end) { in NextToken()
213 if (!IsFormCalcCharacter(*m_cursor)) { in NextToken()
217 if (*m_cursor == '=') { in NextToken()
219 ++m_cursor; in NextToken()
225 ++m_cursor; in NextToken()
226 if (m_cursor > m_end) { in NextToken()
231 if (!IsFormCalcCharacter(*m_cursor)) { in NextToken()
235 if (*m_cursor == '=') { in NextToken()
237 ++m_cursor; in NextToken()
238 } else if (*m_cursor == '>') { in NextToken()
240 ++m_cursor; in NextToken()
246 ++m_cursor; in NextToken()
247 if (m_cursor > m_end) { in NextToken()
252 if (!IsFormCalcCharacter(*m_cursor)) { in NextToken()
256 if (*m_cursor == '=') { in NextToken()
258 ++m_cursor; in NextToken()
265 ++m_cursor; in NextToken()
269 ++m_cursor; in NextToken()
273 ++m_cursor; in NextToken()
277 ++m_cursor; in NextToken()
281 ++m_cursor; in NextToken()
284 ++m_cursor; in NextToken()
288 ++m_cursor; in NextToken()
292 ++m_cursor; in NextToken()
296 ++m_cursor; in NextToken()
300 ++m_cursor; in NextToken()
304 ++m_cursor; in NextToken()
305 if (m_cursor > m_end) { in NextToken()
310 if (!IsFormCalcCharacter(*m_cursor)) { in NextToken()
314 if (*m_cursor != '/') { in NextToken()
322 ++m_cursor; in NextToken()
323 if (m_cursor > m_end) { in NextToken()
328 if (!IsFormCalcCharacter(*m_cursor)) { in NextToken()
333 if (*m_cursor == '.') { in NextToken()
335 ++m_cursor; in NextToken()
336 } else if (*m_cursor == '*') { in NextToken()
338 ++m_cursor; in NextToken()
339 } else if (*m_cursor == '#') { in NextToken()
341 ++m_cursor; in NextToken()
342 } else if (*m_cursor <= '9' && *m_cursor >= '0') { in NextToken()
344 --m_cursor; in NextToken()
351 if (IsWhitespaceCharacter(*m_cursor)) { in NextToken()
352 ++m_cursor; in NextToken()
355 if (!IsInitialIdentifierCharacter(*m_cursor)) { in NextToken()
373 if (m_cursor) in AdvanceForNumber()
374 wcstod(const_cast<wchar_t*>(m_cursor), &end); in AdvanceForNumber()
381 WideStringView(m_cursor, static_cast<size_t>(end - m_cursor)); in AdvanceForNumber()
382 m_cursor = end; in AdvanceForNumber()
386 const wchar_t* start = m_cursor; in AdvanceForString()
387 ++m_cursor; in AdvanceForString()
388 while (m_cursor <= m_end && *m_cursor) { in AdvanceForString()
389 if (!IsFormCalcCharacter(*m_cursor)) in AdvanceForString()
392 if (*m_cursor == '"') { in AdvanceForString()
394 ++m_cursor; in AdvanceForString()
396 if (m_cursor > m_end) { in AdvanceForString()
398 WideStringView(start, static_cast<size_t>(m_cursor - start)); in AdvanceForString()
403 if (*m_cursor != '"') { in AdvanceForString()
404 if (!IsFormCalcCharacter(*m_cursor)) { in AdvanceForString()
407 m_token->m_string = WideStringView(start, (m_cursor - start)); in AdvanceForString()
411 ++m_cursor; in AdvanceForString()
419 const wchar_t* start = m_cursor; in AdvanceForIdentifier()
420 ++m_cursor; in AdvanceForIdentifier()
421 while (m_cursor <= m_end && *m_cursor) { in AdvanceForIdentifier()
422 if (!IsFormCalcCharacter(*m_cursor)) { in AdvanceForIdentifier()
427 if (!IsIdentifierCharacter(*m_cursor)) { in AdvanceForIdentifier()
430 ++m_cursor; in AdvanceForIdentifier()
433 WideStringView(start, static_cast<size_t>(m_cursor - start)); in AdvanceForIdentifier()
438 m_cursor++; in AdvanceForComment()
439 while (m_cursor <= m_end && *m_cursor) { in AdvanceForComment()
440 if (!IsFormCalcCharacter(*m_cursor)) { in AdvanceForComment()
445 if (*m_cursor == L'\r') { in AdvanceForComment()
446 ++m_cursor; in AdvanceForComment()
449 if (*m_cursor == L'\n') { in AdvanceForComment()
451 ++m_cursor; in AdvanceForComment()
454 ++m_cursor; in AdvanceForComment()