LibreOffice
LibreOffice 6.2 SDK API Reference
ParseResult.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef __com_sun_star_i18n_ParseResult_idl__
20 #define __com_sun_star_i18n_ParseResult_idl__
21 
22 
23 module com { module sun { module star { module i18n {
24 
25 
32 published struct ParseResult
33 {
37 
39  long EndPos;
40 
43  long CharLen;
44 
46  double Value;
47 
50  long TokenType;
51 
58  long StartFlags;
59 
62  long ContFlags;
63 
67 
68 };
69 
70 }; }; }; };
71 
72 #endif
73 
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
string DequotedNameOrString
If a quoted name or string is encountered the dequoted result goes here.
Definition: ParseResult.idl:66
Definition: Ambiguous.idl:22
long EndPos
UTF-16 code unit index of first unprocessed character.
Definition: ParseResult.idl:39
long LeadingWhiteSpace
Count of ignored leading whitespace, in UTF-16 code units, not Unicode code points.
Definition: ParseResult.idl:36
double Value
Value of token in case of numeric.
Definition: ParseResult.idl:46
long StartFlags
KParseTokens flags of first character of actual token matched.
Definition: ParseResult.idl:58
long TokenType
KParseType token type like KParseType::IDENTNAME.
Definition: ParseResult.idl:50
long CharLen
Number of code points (not UTF-16 code units) of the parsed token, not including leading whitespace...
Definition: ParseResult.idl:43
Parser results returned by XCharacterClassification::parseAnyToken() and XCharacterClassification::pa...
Definition: ParseResult.idl:32
long ContFlags
KParseTokens flags of remaining characters of actual token matched.
Definition: ParseResult.idl:62