LibreOffice
LibreOffice 7.2 SDK API Reference
Public Attributes | List of all members
ParseResult Struct Referencepublished

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...
 

Detailed Description

Parser results returned by XCharacterClassification::parseAnyToken() and XCharacterClassification::parsePredefinedToken().

Member Data Documentation

◆ CharLen

long CharLen

Number of code points (not UTF-16 code units) of the parsed token, not including leading whitespace.

◆ ContFlags

long ContFlags

KParseTokens flags of remaining characters of actual token matched.

◆ DequotedNameOrString

string DequotedNameOrString

If a quoted name or string is encountered the dequoted result goes here.

◆ EndPos

long EndPos

UTF-16 code unit index of first unprocessed character.

◆ LeadingWhiteSpace

long LeadingWhiteSpace

Count of ignored leading whitespace, in UTF-16 code units, not Unicode code points.

◆ StartFlags

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.

◆ TokenType

long TokenType

◆ Value

double Value

Value of token in case of numeric.


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