LibreOffice
LibreOffice 24.2 SDK API Reference
|
Parser results returned by XCharacterClassification::parseAnyToken() and XCharacterClassification::parsePredefinedToken(). More...
import"ParseResult.idl";
Public Attributes | |
long | LeadingWhiteSpace |
Count of ignored leading whitespace, in UTF-16 code units, not Unicode code points. More... | |
long | EndPos |
UTF-16 code unit index of first unprocessed character. More... | |
long | CharLen |
Number of code points (not UTF-16 code units) of the parsed token, not including leading whitespace. More... | |
double | Value |
Value of token in case of numeric. More... | |
long | TokenType |
KParseType token type like KParseType::IDENTNAME. More... | |
long | StartFlags |
KParseTokens flags of first character of actual token matched. More... | |
long | ContFlags |
KParseTokens flags of remaining characters of actual token matched. More... | |
string | DequotedNameOrString |
If a quoted name or string is encountered the dequoted result goes here. More... | |
Parser results returned by XCharacterClassification::parseAnyToken() and XCharacterClassification::parsePredefinedToken().
long CharLen |
Number of code points (not UTF-16 code units) of the parsed token, not including leading whitespace.
long ContFlags |
KParseTokens flags of remaining characters of actual token matched.
string DequotedNameOrString |
If a quoted name or string is encountered the dequoted result goes here.
long EndPos |
UTF-16 code unit index of first unprocessed character.
long LeadingWhiteSpace |
Count of ignored leading whitespace, in UTF-16 code units, not Unicode code points.
long 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.
long TokenType |
KParseType token type like KParseType::IDENTNAME.
double Value |
Value of token in case of numeric.