Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: i18n ::
struct ParseResult
Description Parser results returned by XCharacterClassification::parseAnyToken() and XCharacterClassification::parsePredefinedToken() .

Elements' Summary
LeadingWhiteSpace | Count of ignored leading whitespace, in code points, not characters.
EndPos | Code point index of first unprocessed character.
CharLen | Number of characters (not code points) 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 code points, not characters.
EndPos
long EndPos; Description Code point index of first unprocessed character.
CharLen
long CharLen; Description Number of characters (not code points) 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

Copyright © 2003 Sun Microsystems, Inc.