Top   Module   Use   Manual   Index 

com :: sun :: star :: i18n ::

constants group KParseType


Description
Constants set by the parser to specify the type of the parsed final token.


Constants

const long ONE_SINGLE_CHAR = = 0x00000001;
Description
One single character like ! # ; : $ et al.
const long BOOLEAN = = 0x00000002;
Description
A Boolean operator like <, >, <>, =, <=, >=
const long IDENTNAME = = 0x00000004;
Description
A name matching the conditions passed.
const long SINGLE_QUOTE_NAME = = 0x00000008;
Description
"A single-quoted name matching the conditions passed ( 'na\'me' )." "Dequoted name in ParseResult::DequotedNameOrString ( na'me )."
const long DOUBLE_QUOTE_STRING = = 0x00000010;
Description
A double-quoted string ( "str\"i""ng" ). Dequoted string in ParseResult::DequotedNameOrString ( str"i"ng ).
const long ASC_NUMBER = = 0x00000020;
Description
A number where all digits are ASCII characters. Numerical value in ParseResult::Value .
const long UNI_NUMBER = = 0x00000040;
Description
A number where at least some digits are Unicode (and maybe ASCII) characters. Numerical value in ParseResult::Value .
const long MISSING_QUOTE = = 0x40000000;
Description
Set (ored) if SINGLE_QUOTE_NAME or DOUBLE_QUOTE_STRING has no closing quote.
const long ANY_NUMBER = = ASC_NUMBER | UNI_NUMBER;
Description
Useful combinations
Top of Page