struct ParseResult in module com::sun::star::i18n::

(Global Index)

Syntax

struct ParseResult;

Description

Struct returned by XCharacterClassification::parseAnyToken and XCharacterClassification::parsePredefinedToken .

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

StartFlags KParseTokens flags of first character of actual token matched. If TokenType is a SINGLE_QUOTE_NAME or a DOUBLE_QUOTE_STRING the first character is the first character inside the quotes.

ContFlags KParseTokens flags of remaining characters of actual token matched.

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

Field Details



LeadingWhiteSpace

Syntax

long LeadingWhiteSpace;

Description

Count of ignored leading whitespace, in code points, not characters.


EndPos

Syntax

long EndPos;

Description

Code point index of first unprocessed character.


CharLen

Syntax

long CharLen;

Description

Number of characters (not code points) of the parsed token, not including leading whitespace.


Value

Syntax

double Value;

Description

Value of token in case of numeric.


TokenType

Syntax

long TokenType;

Description

KParseType token type like IDENTNAME.


StartFlags

Syntax

long StartFlags;

Description

KParseTokens flags of first character of actual token matched. If TokenType is a SINGLE_QUOTE_NAME or a DOUBLE_QUOTE_STRING the first character is the first character inside the quotes.


ContFlags

Syntax

long ContFlags;

Description

KParseTokens flags of remaining characters of actual token matched.


DequotedNameOrString

Syntax

string DequotedNameOrString;

Description

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

Top of Page