JUCE
Public Member Functions | Public Attributes | List of all members
CppTokeniserFunctions::StringIterator Struct Reference

A class that can be passed to the CppTokeniserFunctions functions in order to parse a String. More...

Public Member Functions

 StringIterator (const String &s) noexcept
 
 StringIterator (String::CharPointerType s) noexcept
 
juce_wchar nextChar () noexcept
 
juce_wchar peekNextChar () noexcept
 
void skip () noexcept
 
void skipWhitespace () noexcept
 
void skipToEndOfLine () noexcept
 
bool isEOF () const noexcept
 

Public Attributes

String::CharPointerType t
 
int numChars
 

Detailed Description

A class that can be passed to the CppTokeniserFunctions functions in order to parse a String.

Constructor & Destructor Documentation

CppTokeniserFunctions::StringIterator::StringIterator ( const String s)
noexcept
CppTokeniserFunctions::StringIterator::StringIterator ( String::CharPointerType  s)
noexcept

Member Function Documentation

juce_wchar CppTokeniserFunctions::StringIterator::nextChar ( )
noexcept
juce_wchar CppTokeniserFunctions::StringIterator::peekNextChar ( )
noexcept

References t.

void CppTokeniserFunctions::StringIterator::skip ( )
noexcept

References isEOF(), numChars, and t.

Referenced by skipToEndOfLine(), and skipWhitespace().

void CppTokeniserFunctions::StringIterator::skipWhitespace ( )
noexcept
void CppTokeniserFunctions::StringIterator::skipToEndOfLine ( )
noexcept

References skip(), and t.

bool CppTokeniserFunctions::StringIterator::isEOF ( ) const
noexcept

References CharPointer_UTF8::isEmpty(), and t.

Referenced by nextChar(), and skip().

Member Data Documentation

String::CharPointerType CppTokeniserFunctions::StringIterator::t
int CppTokeniserFunctions::StringIterator::numChars

Referenced by nextChar(), and skip().


The documentation for this struct was generated from the following file: