:: com :: sun :: star :: i18n ::

struct ParseResult

Elements' Summary
LeadingWhiteSpace Count of ignored leading whitespace, in UTF-16 code units, not Unicode code points.  
EndPos UTF-16 code unit index of first unprocessed character.  
CharLen Number of code points (not UTF-16 code units) of the parsed token, not including leading whitespace.  
Value Value of token in case of numeric.  
TokenType KParseType token type like KParseType::IDENTNAME.  
StartFlags KParseTokens flags of first character of actual token matched. If TokenType is a KParseType::SINGLE_QUOTE_NAME or a KParseType::DOUBLE_QUOTE_STRING the first character is the first character inside the quotes, not the quote itself.  
ContFlags KParseTokens flags of remaining characters of actual token matched.  
DequotedNameOrString If a quoted name or string is encountered the dequoted result goes here.  
Elements' Details
LeadingWhiteSpace
long LeadingWhiteSpace;
Description
Count of ignored leading whitespace, in UTF-16 code units, not Unicode code points.
EndPos
long EndPos;
Description
UTF-16 code unit index of first unprocessed character.
CharLen
long CharLen;
Description
Number of code points (not UTF-16 code units) of the parsed token, not including leading whitespace.
Value
double Value;
Description
Value of token in case of numeric.
TokenType
long TokenType;
Description
KParseType token type like KParseType::IDENTNAME.
StartFlags
long StartFlags;
Description
KParseTokens flags of first character of actual token matched. If TokenType is a KParseType::SINGLE_QUOTE_NAME or a KParseType::DOUBLE_QUOTE_STRING the first character is the first character inside the quotes, not the quote itself.
ContFlags
long ContFlags;
Description
KParseTokens flags of remaining characters of actual token matched.
DequotedNameOrString
string DequotedNameOrString;
Description
If a quoted name or string is encountered the dequoted result goes here.
Top of Page