2777 lines
106 KiB
TypeScript
2777 lines
106 KiB
TypeScript
declare namespace AuGlibEx {
|
|
|
|
class AsciiType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kAlnum": AsciiType
|
|
static readonly "kAlpha": AsciiType
|
|
static readonly "kCntrl": AsciiType
|
|
static readonly "kDigit": AsciiType
|
|
static readonly "kGraph": AsciiType
|
|
static readonly "kLower": AsciiType
|
|
static readonly "kPrint": AsciiType
|
|
static readonly "kPunct": AsciiType
|
|
static readonly "kSpace": AsciiType
|
|
static readonly "kUpper": AsciiType
|
|
static readonly "kXDigit": AsciiType
|
|
}
|
|
|
|
class BookmarkFileError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kInvalidUri": BookmarkFileError
|
|
static readonly "kInvalidValue": BookmarkFileError
|
|
static readonly "kAppNotRegistered": BookmarkFileError
|
|
static readonly "kUriNotFound": BookmarkFileError
|
|
static readonly "kRead": BookmarkFileError
|
|
static readonly "kUnknownEncoding": BookmarkFileError
|
|
static readonly "kWrite": BookmarkFileError
|
|
static readonly "kFileNotFound": BookmarkFileError
|
|
}
|
|
|
|
class ChecksumType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kMd5": ChecksumType
|
|
static readonly "kSha1": ChecksumType
|
|
static readonly "kSha256": ChecksumType
|
|
static readonly "kSha512": ChecksumType
|
|
static readonly "kSha384": ChecksumType
|
|
}
|
|
|
|
class ConvertError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNoConversion": ConvertError
|
|
static readonly "kIllegalSequence": ConvertError
|
|
static readonly "kFailed": ConvertError
|
|
static readonly "kPartialInput": ConvertError
|
|
static readonly "kBadUri": ConvertError
|
|
static readonly "kNotAbsolutePath": ConvertError
|
|
static readonly "kNoMemory": ConvertError
|
|
static readonly "kEmbeddedNul": ConvertError
|
|
}
|
|
|
|
class DateDMY {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDay": DateDMY
|
|
static readonly "kMonth": DateDMY
|
|
static readonly "kYEar": DateDMY
|
|
}
|
|
|
|
class DateMonth {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kBadMonth": DateMonth
|
|
static readonly "kJanuary": DateMonth
|
|
static readonly "kFebruary": DateMonth
|
|
static readonly "kMarch": DateMonth
|
|
static readonly "kApril": DateMonth
|
|
static readonly "kMay": DateMonth
|
|
static readonly "kJune": DateMonth
|
|
static readonly "kJuly": DateMonth
|
|
static readonly "kAugust": DateMonth
|
|
static readonly "kSeptember": DateMonth
|
|
static readonly "kOctober": DateMonth
|
|
static readonly "kNovember": DateMonth
|
|
static readonly "kDecember": DateMonth
|
|
}
|
|
|
|
class DateWeekday {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kBadWeekday": DateWeekday
|
|
static readonly "kMonday": DateWeekday
|
|
static readonly "kTuesday": DateWeekday
|
|
static readonly "kWednesday": DateWeekday
|
|
static readonly "kThursday": DateWeekday
|
|
static readonly "kFriday": DateWeekday
|
|
static readonly "kSaturday": DateWeekday
|
|
static readonly "kSunday": DateWeekday
|
|
}
|
|
|
|
class ErrorType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": ErrorType
|
|
static readonly "kUnexpEof": ErrorType
|
|
static readonly "kUnexpEofInString": ErrorType
|
|
static readonly "kUnexpEofInComment": ErrorType
|
|
static readonly "kNonDigitInConst": ErrorType
|
|
static readonly "kDigitRadix": ErrorType
|
|
static readonly "kFloatRadix": ErrorType
|
|
static readonly "kFloatMalformed": ErrorType
|
|
}
|
|
|
|
class FileError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kExist": FileError
|
|
static readonly "kIsdir": FileError
|
|
static readonly "kAcces": FileError
|
|
static readonly "kNametoolong": FileError
|
|
static readonly "kNoent": FileError
|
|
static readonly "kNotdir": FileError
|
|
static readonly "kNxio": FileError
|
|
static readonly "kNodev": FileError
|
|
static readonly "kRofs": FileError
|
|
static readonly "kTxtbsy": FileError
|
|
static readonly "kFault": FileError
|
|
static readonly "kLoop": FileError
|
|
static readonly "kNospc": FileError
|
|
static readonly "kNomem": FileError
|
|
static readonly "kMfile": FileError
|
|
static readonly "kNfile": FileError
|
|
static readonly "kBadf": FileError
|
|
static readonly "kInval": FileError
|
|
static readonly "kPipe": FileError
|
|
static readonly "kAgain": FileError
|
|
static readonly "kIntr": FileError
|
|
static readonly "kIo": FileError
|
|
static readonly "kPerm": FileError
|
|
static readonly "kNosys": FileError
|
|
static readonly "kFailed": FileError
|
|
}
|
|
|
|
class FileSetContentsFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": FileSetContentsFlags
|
|
static readonly "kConsistent": FileSetContentsFlags
|
|
static readonly "kDurable": FileSetContentsFlags
|
|
static readonly "kOnlyExisting": FileSetContentsFlags
|
|
}
|
|
|
|
class FileTest {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kIsRegular": FileTest
|
|
static readonly "kIsSymlink": FileTest
|
|
static readonly "kIsDir": FileTest
|
|
static readonly "kIsExecutable": FileTest
|
|
static readonly "kExists": FileTest
|
|
}
|
|
|
|
class FormatSizeFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDefault": FormatSizeFlags
|
|
static readonly "kLongFormat": FormatSizeFlags
|
|
static readonly "kIecUnits": FormatSizeFlags
|
|
static readonly "kBits": FormatSizeFlags
|
|
}
|
|
|
|
class HookFlagMask {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kActive": HookFlagMask
|
|
static readonly "kInCall": HookFlagMask
|
|
static readonly "kMask": HookFlagMask
|
|
}
|
|
|
|
class IOChannelError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kFbig": IOChannelError
|
|
static readonly "kInval": IOChannelError
|
|
static readonly "kIo": IOChannelError
|
|
static readonly "kIsdir": IOChannelError
|
|
static readonly "kNospc": IOChannelError
|
|
static readonly "kNxio": IOChannelError
|
|
static readonly "kOverflow": IOChannelError
|
|
static readonly "kPipe": IOChannelError
|
|
static readonly "kFailed": IOChannelError
|
|
}
|
|
|
|
class IOCondition {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kIn": IOCondition
|
|
static readonly "kOut": IOCondition
|
|
static readonly "kPri": IOCondition
|
|
static readonly "kErr": IOCondition
|
|
static readonly "kHup": IOCondition
|
|
static readonly "kNval": IOCondition
|
|
}
|
|
|
|
class IOError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": IOError
|
|
static readonly "kAgain": IOError
|
|
static readonly "kInval": IOError
|
|
static readonly "kUnknown": IOError
|
|
}
|
|
|
|
class IOFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kAppend": IOFlags
|
|
static readonly "kNonblock": IOFlags
|
|
static readonly "kIsReadable": IOFlags
|
|
static readonly "kIsWritable": IOFlags
|
|
static readonly "kIsWriteable": IOFlags
|
|
static readonly "kIsSeekable": IOFlags
|
|
static readonly "kMask": IOFlags
|
|
static readonly "kGetMask": IOFlags
|
|
static readonly "kSetMask": IOFlags
|
|
}
|
|
|
|
class IOStatus {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kError": IOStatus
|
|
static readonly "kNormal": IOStatus
|
|
static readonly "kEof": IOStatus
|
|
static readonly "kAgain": IOStatus
|
|
}
|
|
|
|
class KeyFileError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknownEncoding": KeyFileError
|
|
static readonly "kParse": KeyFileError
|
|
static readonly "kNotFound": KeyFileError
|
|
static readonly "kKeyNotFound": KeyFileError
|
|
static readonly "kGroupNotFound": KeyFileError
|
|
static readonly "kInvalidValue": KeyFileError
|
|
}
|
|
|
|
class KeyFileFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": KeyFileFlags
|
|
static readonly "kKeepComments": KeyFileFlags
|
|
static readonly "kKeepTranslations": KeyFileFlags
|
|
}
|
|
|
|
class LogLevelFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kFlagRecursion": LogLevelFlags
|
|
static readonly "kFlagFatal": LogLevelFlags
|
|
static readonly "kLevelError": LogLevelFlags
|
|
static readonly "kLevelCritical": LogLevelFlags
|
|
static readonly "kLevelWarning": LogLevelFlags
|
|
static readonly "kLevelMessage": LogLevelFlags
|
|
static readonly "kLevelInfo": LogLevelFlags
|
|
static readonly "kLevelDebug": LogLevelFlags
|
|
static readonly "kLevelMask": LogLevelFlags
|
|
}
|
|
|
|
class LogWriterOutput {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kHandled": LogWriterOutput
|
|
static readonly "kUnhandled": LogWriterOutput
|
|
}
|
|
|
|
class MainContextFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": MainContextFlags
|
|
static readonly "kOwnerlessPolling": MainContextFlags
|
|
}
|
|
|
|
class MarkupCollectType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kInvalid": MarkupCollectType
|
|
static readonly "kString": MarkupCollectType
|
|
static readonly "kStrdup": MarkupCollectType
|
|
static readonly "kBoolean": MarkupCollectType
|
|
static readonly "kTristate": MarkupCollectType
|
|
static readonly "kOptional": MarkupCollectType
|
|
}
|
|
|
|
class MarkupError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kBadUtf8": MarkupError
|
|
static readonly "kEmpty": MarkupError
|
|
static readonly "kParse": MarkupError
|
|
static readonly "kUnknownElement": MarkupError
|
|
static readonly "kUnknownAttribute": MarkupError
|
|
static readonly "kInvalidContent": MarkupError
|
|
static readonly "kMissingAttribute": MarkupError
|
|
}
|
|
|
|
class MarkupParseFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDoNotUseThisUnsupportedFlag": MarkupParseFlags
|
|
static readonly "kTreatCdataAsText": MarkupParseFlags
|
|
static readonly "kPrefixErrorPosition": MarkupParseFlags
|
|
static readonly "kIgnoreQualified": MarkupParseFlags
|
|
}
|
|
|
|
class NormalizeMode {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDefault": NormalizeMode
|
|
static readonly "kNfd": NormalizeMode
|
|
static readonly "kDefaultCompose": NormalizeMode
|
|
static readonly "kNfc": NormalizeMode
|
|
static readonly "kAll": NormalizeMode
|
|
static readonly "kNfkd": NormalizeMode
|
|
static readonly "kAllCompose": NormalizeMode
|
|
static readonly "kNfkc": NormalizeMode
|
|
}
|
|
|
|
class NumberParserError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kInvalid": NumberParserError
|
|
static readonly "kOutOfBounds": NumberParserError
|
|
}
|
|
|
|
class OnceStatus {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNotcalled": OnceStatus
|
|
static readonly "kProgress": OnceStatus
|
|
static readonly "kReady": OnceStatus
|
|
}
|
|
|
|
class OptionArg {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": OptionArg
|
|
static readonly "kString": OptionArg
|
|
static readonly "kInt": OptionArg
|
|
static readonly "kCallback": OptionArg
|
|
static readonly "kFilename": OptionArg
|
|
static readonly "kStringArray": OptionArg
|
|
static readonly "kFilenameArray": OptionArg
|
|
static readonly "kDouble": OptionArg
|
|
static readonly "kInt64": OptionArg
|
|
}
|
|
|
|
class OptionError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknownOption": OptionError
|
|
static readonly "kBadValue": OptionError
|
|
static readonly "kFailed": OptionError
|
|
}
|
|
|
|
class OptionFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": OptionFlags
|
|
static readonly "kHidden": OptionFlags
|
|
static readonly "kInMain": OptionFlags
|
|
static readonly "kReverse": OptionFlags
|
|
static readonly "kNoArg": OptionFlags
|
|
static readonly "kFilename": OptionFlags
|
|
static readonly "kOptionalArg": OptionFlags
|
|
static readonly "kNoalias": OptionFlags
|
|
}
|
|
|
|
class RegexCompileFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kCaseless": RegexCompileFlags
|
|
static readonly "kMultiline": RegexCompileFlags
|
|
static readonly "kDotall": RegexCompileFlags
|
|
static readonly "kExtended": RegexCompileFlags
|
|
static readonly "kAnchored": RegexCompileFlags
|
|
static readonly "kDollarEndonly": RegexCompileFlags
|
|
static readonly "kUngreedy": RegexCompileFlags
|
|
static readonly "kRaw": RegexCompileFlags
|
|
static readonly "kNoAutoCapture": RegexCompileFlags
|
|
static readonly "kOptimize": RegexCompileFlags
|
|
static readonly "kFirstline": RegexCompileFlags
|
|
static readonly "kDupnames": RegexCompileFlags
|
|
static readonly "kNewlineCr": RegexCompileFlags
|
|
static readonly "kNewlineLf": RegexCompileFlags
|
|
static readonly "kNewlineCrlf": RegexCompileFlags
|
|
static readonly "kNewlineAnycrlf": RegexCompileFlags
|
|
static readonly "kBsrAnycrlf": RegexCompileFlags
|
|
static readonly "kJavascriptCompat": RegexCompileFlags
|
|
}
|
|
|
|
class RegexError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kCompile": RegexError
|
|
static readonly "kOptimize": RegexError
|
|
static readonly "kReplace": RegexError
|
|
static readonly "kMatch": RegexError
|
|
static readonly "kInternal": RegexError
|
|
static readonly "kStrayBackslash": RegexError
|
|
static readonly "kMissingControlChar": RegexError
|
|
static readonly "kUnrecognizedEscape": RegexError
|
|
static readonly "kQuantifiersOutOfOrder": RegexError
|
|
static readonly "kQuantifierTooBig": RegexError
|
|
static readonly "kUnterminatedCharacterClass": RegexError
|
|
static readonly "kInvalidEscapeInCharacterClass": RegexError
|
|
static readonly "kRangeOutOfOrder": RegexError
|
|
static readonly "kNothingToRepeat": RegexError
|
|
static readonly "kUnrecognizedCharacter": RegexError
|
|
static readonly "kPosixNamedClassOutsideClass": RegexError
|
|
static readonly "kUnmatchedParenthesis": RegexError
|
|
static readonly "kInexistentSubpatternReference": RegexError
|
|
static readonly "kUnterminatedComment": RegexError
|
|
static readonly "kExpressionTooLarge": RegexError
|
|
static readonly "kMemoryError": RegexError
|
|
static readonly "kVariableLengthLookbehind": RegexError
|
|
static readonly "kMalformedCondition": RegexError
|
|
static readonly "kTooManyConditionalBranches": RegexError
|
|
static readonly "kAssertionExpected": RegexError
|
|
static readonly "kUnknownPosixClassName": RegexError
|
|
static readonly "kPosixCollatingElementsNotSupported": RegexError
|
|
static readonly "kHexCodeTooLarge": RegexError
|
|
static readonly "kInvalidCondition": RegexError
|
|
static readonly "kSingleByteMatchInLookbehind": RegexError
|
|
static readonly "kInfiniteLoop": RegexError
|
|
static readonly "kMissingSubpatternNameTerminator": RegexError
|
|
static readonly "kDuplicateSubpatternName": RegexError
|
|
static readonly "kMalformedProperty": RegexError
|
|
static readonly "kUnknownProperty": RegexError
|
|
static readonly "kSubpatternNameTooLong": RegexError
|
|
static readonly "kTooManySubpatterns": RegexError
|
|
static readonly "kInvalidOctalValue": RegexError
|
|
static readonly "kTooManyBranchesInDefine": RegexError
|
|
static readonly "kDefineRepetion": RegexError
|
|
static readonly "kInconsistentNewlineOptions": RegexError
|
|
static readonly "kMissingBackReference": RegexError
|
|
static readonly "kInvalidRelativeReference": RegexError
|
|
static readonly "kBacktrackingControlVerbArgumentForbidden": RegexError
|
|
static readonly "kUnknownBacktrackingControlVerb": RegexError
|
|
static readonly "kNumberTooBig": RegexError
|
|
static readonly "kMissingSubpatternName": RegexError
|
|
static readonly "kMissingDigit": RegexError
|
|
static readonly "kInvalidDataCharacter": RegexError
|
|
static readonly "kExtraSubpatternName": RegexError
|
|
static readonly "kBacktrackingControlVerbArgumentRequired": RegexError
|
|
static readonly "kInvalidControlChar": RegexError
|
|
static readonly "kMissingName": RegexError
|
|
static readonly "kNotSupportedInClass": RegexError
|
|
static readonly "kTooManyForwardReferences": RegexError
|
|
static readonly "kNameTooLong": RegexError
|
|
static readonly "kCharacterValueTooLarge": RegexError
|
|
}
|
|
|
|
class RegexMatchFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kAnchored": RegexMatchFlags
|
|
static readonly "kNotbol": RegexMatchFlags
|
|
static readonly "kNoteol": RegexMatchFlags
|
|
static readonly "kNotempty": RegexMatchFlags
|
|
static readonly "kPartial": RegexMatchFlags
|
|
static readonly "kNewlineCr": RegexMatchFlags
|
|
static readonly "kNewlineLf": RegexMatchFlags
|
|
static readonly "kNewlineCrlf": RegexMatchFlags
|
|
static readonly "kNewlineAny": RegexMatchFlags
|
|
static readonly "kNewlineAnycrlf": RegexMatchFlags
|
|
static readonly "kBsrAnycrlf": RegexMatchFlags
|
|
static readonly "kBsrAny": RegexMatchFlags
|
|
static readonly "kPartialSoft": RegexMatchFlags
|
|
static readonly "kPartialHard": RegexMatchFlags
|
|
static readonly "kNotemptyAtstart": RegexMatchFlags
|
|
}
|
|
|
|
class SeekType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kCur": SeekType
|
|
static readonly "kSet": SeekType
|
|
static readonly "kEnd": SeekType
|
|
}
|
|
|
|
class ShellError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kBadQuoting": ShellError
|
|
static readonly "kEmptyString": ShellError
|
|
static readonly "kFailed": ShellError
|
|
}
|
|
|
|
class SliceConfig {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kAlwaysMalloc": SliceConfig
|
|
static readonly "kBypassMagazines": SliceConfig
|
|
static readonly "kWorkingSetMsecs": SliceConfig
|
|
static readonly "kColorIncrement": SliceConfig
|
|
static readonly "kChunkSizes": SliceConfig
|
|
static readonly "kContentionCounter": SliceConfig
|
|
}
|
|
|
|
class SpawnError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kFork": SpawnError
|
|
static readonly "kRead": SpawnError
|
|
static readonly "kChdir": SpawnError
|
|
static readonly "kAcces": SpawnError
|
|
static readonly "kPerm": SpawnError
|
|
static readonly "kTooBig": SpawnError
|
|
static readonly "k2big": SpawnError
|
|
static readonly "kNoexec": SpawnError
|
|
static readonly "kNametoolong": SpawnError
|
|
static readonly "kNoent": SpawnError
|
|
static readonly "kNomem": SpawnError
|
|
static readonly "kNotdir": SpawnError
|
|
static readonly "kLoop": SpawnError
|
|
static readonly "kTxtbusy": SpawnError
|
|
static readonly "kIo": SpawnError
|
|
static readonly "kNfile": SpawnError
|
|
static readonly "kMfile": SpawnError
|
|
static readonly "kInval": SpawnError
|
|
static readonly "kIsdir": SpawnError
|
|
static readonly "kLibbad": SpawnError
|
|
static readonly "kFailed": SpawnError
|
|
}
|
|
|
|
class SpawnFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDefault": SpawnFlags
|
|
static readonly "kLeaveDescriptorsOpen": SpawnFlags
|
|
static readonly "kDoNotReapChild": SpawnFlags
|
|
static readonly "kSearchPath": SpawnFlags
|
|
static readonly "kStdoutToDevNull": SpawnFlags
|
|
static readonly "kStderrToDevNull": SpawnFlags
|
|
static readonly "kChildInheritsStdin": SpawnFlags
|
|
static readonly "kFileAndArgvZero": SpawnFlags
|
|
static readonly "kSearchPathFromEnvp": SpawnFlags
|
|
static readonly "kCloexecPipes": SpawnFlags
|
|
}
|
|
|
|
class TestFileType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDist": TestFileType
|
|
static readonly "kBuilt": TestFileType
|
|
}
|
|
|
|
class TestLogType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": TestLogType
|
|
static readonly "kError": TestLogType
|
|
static readonly "kStartBinary": TestLogType
|
|
static readonly "kListCase": TestLogType
|
|
static readonly "kSkipCase": TestLogType
|
|
static readonly "kStartCase": TestLogType
|
|
static readonly "kStopCase": TestLogType
|
|
static readonly "kMinResult": TestLogType
|
|
static readonly "kMaxResult": TestLogType
|
|
static readonly "kMessage": TestLogType
|
|
static readonly "kStartSuite": TestLogType
|
|
static readonly "kStopSuite": TestLogType
|
|
}
|
|
|
|
class TestResult {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kSuccess": TestResult
|
|
static readonly "kSkipped": TestResult
|
|
static readonly "kFailure": TestResult
|
|
static readonly "kIncomplete": TestResult
|
|
}
|
|
|
|
class TestSubprocessFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kStdin": TestSubprocessFlags
|
|
static readonly "kStdout": TestSubprocessFlags
|
|
static readonly "kStderr": TestSubprocessFlags
|
|
}
|
|
|
|
class TestTrapFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kSilenceStdout": TestTrapFlags
|
|
static readonly "kSilenceStderr": TestTrapFlags
|
|
static readonly "kInheritStdin": TestTrapFlags
|
|
}
|
|
|
|
class ThreadError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kThreadErrorAgain": ThreadError
|
|
}
|
|
|
|
class TimeType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kStandard": TimeType
|
|
static readonly "kDaylight": TimeType
|
|
static readonly "kUniversal": TimeType
|
|
}
|
|
|
|
class TokenType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kEof": TokenType
|
|
static readonly "kLeftParen": TokenType
|
|
static readonly "kRightParen": TokenType
|
|
static readonly "kLeftCurly": TokenType
|
|
static readonly "kRightCurly": TokenType
|
|
static readonly "kLeftBrace": TokenType
|
|
static readonly "kRightBrace": TokenType
|
|
static readonly "kEqualSign": TokenType
|
|
static readonly "kComma": TokenType
|
|
static readonly "kNone": TokenType
|
|
static readonly "kError": TokenType
|
|
static readonly "kChar": TokenType
|
|
static readonly "kBinary": TokenType
|
|
static readonly "kOctal": TokenType
|
|
static readonly "kInt": TokenType
|
|
static readonly "kHex": TokenType
|
|
static readonly "kFloat": TokenType
|
|
static readonly "kString": TokenType
|
|
static readonly "kSymbol": TokenType
|
|
static readonly "kIdentifier": TokenType
|
|
static readonly "kIdentifierNull": TokenType
|
|
static readonly "kCommentSingle": TokenType
|
|
static readonly "kCommentMulti": TokenType
|
|
}
|
|
|
|
class TraverseFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kLeaves": TraverseFlags
|
|
static readonly "kNonLeaves": TraverseFlags
|
|
static readonly "kAll": TraverseFlags
|
|
static readonly "kMask": TraverseFlags
|
|
static readonly "kLeafs": TraverseFlags
|
|
static readonly "kNonLeafs": TraverseFlags
|
|
}
|
|
|
|
class TraverseType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kInOrder": TraverseType
|
|
static readonly "kPreOrder": TraverseType
|
|
static readonly "kPostOrder": TraverseType
|
|
static readonly "kLevelOrder": TraverseType
|
|
}
|
|
|
|
class UnicodeBreakType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kMandatory": UnicodeBreakType
|
|
static readonly "kCarriageReturn": UnicodeBreakType
|
|
static readonly "kLineFeed": UnicodeBreakType
|
|
static readonly "kCombiningMark": UnicodeBreakType
|
|
static readonly "kSurrogate": UnicodeBreakType
|
|
static readonly "kZeroWidthSpace": UnicodeBreakType
|
|
static readonly "kInseparable": UnicodeBreakType
|
|
static readonly "kNonBreakingGlue": UnicodeBreakType
|
|
static readonly "kContingent": UnicodeBreakType
|
|
static readonly "kSpace": UnicodeBreakType
|
|
static readonly "kAfter": UnicodeBreakType
|
|
static readonly "kBefore": UnicodeBreakType
|
|
static readonly "kBeforeAndAfter": UnicodeBreakType
|
|
static readonly "kHyphen": UnicodeBreakType
|
|
static readonly "kNonStarter": UnicodeBreakType
|
|
static readonly "kOpenPunctuation": UnicodeBreakType
|
|
static readonly "kClosePunctuation": UnicodeBreakType
|
|
static readonly "kQuotation": UnicodeBreakType
|
|
static readonly "kExclamation": UnicodeBreakType
|
|
static readonly "kIdeographic": UnicodeBreakType
|
|
static readonly "kNumeric": UnicodeBreakType
|
|
static readonly "kInfixSeparator": UnicodeBreakType
|
|
static readonly "kSymbol": UnicodeBreakType
|
|
static readonly "kAlphabetic": UnicodeBreakType
|
|
static readonly "kPrefix": UnicodeBreakType
|
|
static readonly "kPostfix": UnicodeBreakType
|
|
static readonly "kComplexContext": UnicodeBreakType
|
|
static readonly "kAmbiguous": UnicodeBreakType
|
|
static readonly "kUnknown": UnicodeBreakType
|
|
static readonly "kNextLine": UnicodeBreakType
|
|
static readonly "kWordJoiner": UnicodeBreakType
|
|
static readonly "kHangulLJamo": UnicodeBreakType
|
|
static readonly "kHangulVJamo": UnicodeBreakType
|
|
static readonly "kHangulTJamo": UnicodeBreakType
|
|
static readonly "kHangulLvSyllable": UnicodeBreakType
|
|
static readonly "kHangulLvtSyllable": UnicodeBreakType
|
|
static readonly "kCloseParanthesis": UnicodeBreakType
|
|
static readonly "kCloseParenthesis": UnicodeBreakType
|
|
static readonly "kConditionalJapaneseStarter": UnicodeBreakType
|
|
static readonly "kHebrewLetter": UnicodeBreakType
|
|
static readonly "kRegionalIndicator": UnicodeBreakType
|
|
static readonly "kEmojiBase": UnicodeBreakType
|
|
static readonly "kEmojiModifier": UnicodeBreakType
|
|
static readonly "kZeroWidthJoiner": UnicodeBreakType
|
|
}
|
|
|
|
class UnicodeScript {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kInvalidCode": UnicodeScript
|
|
static readonly "kCommon": UnicodeScript
|
|
static readonly "kInherited": UnicodeScript
|
|
static readonly "kArabic": UnicodeScript
|
|
static readonly "kArmenian": UnicodeScript
|
|
static readonly "kBengali": UnicodeScript
|
|
static readonly "kBopomofo": UnicodeScript
|
|
static readonly "kCherokee": UnicodeScript
|
|
static readonly "kCoptic": UnicodeScript
|
|
static readonly "kCyrillic": UnicodeScript
|
|
static readonly "kDeseret": UnicodeScript
|
|
static readonly "kDevanagari": UnicodeScript
|
|
static readonly "kEthiopic": UnicodeScript
|
|
static readonly "kGeorgian": UnicodeScript
|
|
static readonly "kGothic": UnicodeScript
|
|
static readonly "kGreek": UnicodeScript
|
|
static readonly "kGujarati": UnicodeScript
|
|
static readonly "kGurmukhi": UnicodeScript
|
|
static readonly "kHan": UnicodeScript
|
|
static readonly "kHangul": UnicodeScript
|
|
static readonly "kHebrew": UnicodeScript
|
|
static readonly "kHiragana": UnicodeScript
|
|
static readonly "kKannada": UnicodeScript
|
|
static readonly "kKatakana": UnicodeScript
|
|
static readonly "kKhmer": UnicodeScript
|
|
static readonly "kLao": UnicodeScript
|
|
static readonly "kLatin": UnicodeScript
|
|
static readonly "kMalayalam": UnicodeScript
|
|
static readonly "kMongolian": UnicodeScript
|
|
static readonly "kMyanmar": UnicodeScript
|
|
static readonly "kOgham": UnicodeScript
|
|
static readonly "kOldItalic": UnicodeScript
|
|
static readonly "kOriya": UnicodeScript
|
|
static readonly "kRunic": UnicodeScript
|
|
static readonly "kSinhala": UnicodeScript
|
|
static readonly "kSyriac": UnicodeScript
|
|
static readonly "kTamil": UnicodeScript
|
|
static readonly "kTelugu": UnicodeScript
|
|
static readonly "kThaana": UnicodeScript
|
|
static readonly "kThai": UnicodeScript
|
|
static readonly "kTibetan": UnicodeScript
|
|
static readonly "kCanadianAboriginal": UnicodeScript
|
|
static readonly "kYI": UnicodeScript
|
|
static readonly "kTagalog": UnicodeScript
|
|
static readonly "kHanunoo": UnicodeScript
|
|
static readonly "kBuhid": UnicodeScript
|
|
static readonly "kTagbanwa": UnicodeScript
|
|
static readonly "kBraille": UnicodeScript
|
|
static readonly "kCypriot": UnicodeScript
|
|
static readonly "kLimbu": UnicodeScript
|
|
static readonly "kOsmanya": UnicodeScript
|
|
static readonly "kShavian": UnicodeScript
|
|
static readonly "kLinearB": UnicodeScript
|
|
static readonly "kTaiLe": UnicodeScript
|
|
static readonly "kUgaritic": UnicodeScript
|
|
static readonly "kNewTaiLue": UnicodeScript
|
|
static readonly "kBuginese": UnicodeScript
|
|
static readonly "kGlagolitic": UnicodeScript
|
|
static readonly "kTifinagh": UnicodeScript
|
|
static readonly "kSylotiNagri": UnicodeScript
|
|
static readonly "kOldPersian": UnicodeScript
|
|
static readonly "kKharoshthi": UnicodeScript
|
|
static readonly "kUnknown": UnicodeScript
|
|
static readonly "kBalinese": UnicodeScript
|
|
static readonly "kCuneiform": UnicodeScript
|
|
static readonly "kPhoenician": UnicodeScript
|
|
static readonly "kPhagsPa": UnicodeScript
|
|
static readonly "kNko": UnicodeScript
|
|
static readonly "kKayahLi": UnicodeScript
|
|
static readonly "kLepcha": UnicodeScript
|
|
static readonly "kRejang": UnicodeScript
|
|
static readonly "kSundanese": UnicodeScript
|
|
static readonly "kSaurashtra": UnicodeScript
|
|
static readonly "kCham": UnicodeScript
|
|
static readonly "kOlChiki": UnicodeScript
|
|
static readonly "kVai": UnicodeScript
|
|
static readonly "kCarian": UnicodeScript
|
|
static readonly "kLycian": UnicodeScript
|
|
static readonly "kLydian": UnicodeScript
|
|
static readonly "kAvestan": UnicodeScript
|
|
static readonly "kBamum": UnicodeScript
|
|
static readonly "kEgyptianHieroglyphs": UnicodeScript
|
|
static readonly "kImperialAramaic": UnicodeScript
|
|
static readonly "kInscriptionalPahlavi": UnicodeScript
|
|
static readonly "kInscriptionalParthian": UnicodeScript
|
|
static readonly "kJavanese": UnicodeScript
|
|
static readonly "kKaithi": UnicodeScript
|
|
static readonly "kLisu": UnicodeScript
|
|
static readonly "kMeeteiMayek": UnicodeScript
|
|
static readonly "kOldSouthArabian": UnicodeScript
|
|
static readonly "kOldTurkic": UnicodeScript
|
|
static readonly "kSamaritan": UnicodeScript
|
|
static readonly "kTaiTham": UnicodeScript
|
|
static readonly "kTaiViet": UnicodeScript
|
|
static readonly "kBatak": UnicodeScript
|
|
static readonly "kBrahmi": UnicodeScript
|
|
static readonly "kMandaic": UnicodeScript
|
|
static readonly "kChakma": UnicodeScript
|
|
static readonly "kMeroiticCursive": UnicodeScript
|
|
static readonly "kMeroiticHieroglyphs": UnicodeScript
|
|
static readonly "kMiao": UnicodeScript
|
|
static readonly "kSharada": UnicodeScript
|
|
static readonly "kSoraSompeng": UnicodeScript
|
|
static readonly "kTakri": UnicodeScript
|
|
static readonly "kBassaVah": UnicodeScript
|
|
static readonly "kCaucasianAlbanian": UnicodeScript
|
|
static readonly "kDuployan": UnicodeScript
|
|
static readonly "kElbasan": UnicodeScript
|
|
static readonly "kGrantha": UnicodeScript
|
|
static readonly "kKhojki": UnicodeScript
|
|
static readonly "kKhudawadi": UnicodeScript
|
|
static readonly "kLinearA": UnicodeScript
|
|
static readonly "kMahajani": UnicodeScript
|
|
static readonly "kManichaean": UnicodeScript
|
|
static readonly "kMendeKikakui": UnicodeScript
|
|
static readonly "kModi": UnicodeScript
|
|
static readonly "kMro": UnicodeScript
|
|
static readonly "kNabataean": UnicodeScript
|
|
static readonly "kOldNorthArabian": UnicodeScript
|
|
static readonly "kOldPermic": UnicodeScript
|
|
static readonly "kPahawhHmong": UnicodeScript
|
|
static readonly "kPalmyrene": UnicodeScript
|
|
static readonly "kPauCinHau": UnicodeScript
|
|
static readonly "kPsalterPahlavi": UnicodeScript
|
|
static readonly "kSiddham": UnicodeScript
|
|
static readonly "kTirhuta": UnicodeScript
|
|
static readonly "kWarangCiti": UnicodeScript
|
|
static readonly "kAhom": UnicodeScript
|
|
static readonly "kAnatolianHieroglyphs": UnicodeScript
|
|
static readonly "kHatran": UnicodeScript
|
|
static readonly "kMultani": UnicodeScript
|
|
static readonly "kOldHungarian": UnicodeScript
|
|
static readonly "kSignwriting": UnicodeScript
|
|
static readonly "kAdlam": UnicodeScript
|
|
static readonly "kBhaiksuki": UnicodeScript
|
|
static readonly "kMarchen": UnicodeScript
|
|
static readonly "kNewa": UnicodeScript
|
|
static readonly "kOsage": UnicodeScript
|
|
static readonly "kTangut": UnicodeScript
|
|
static readonly "kMasaramGondi": UnicodeScript
|
|
static readonly "kNushu": UnicodeScript
|
|
static readonly "kSoyombo": UnicodeScript
|
|
static readonly "kZanabazarSquare": UnicodeScript
|
|
static readonly "kDogra": UnicodeScript
|
|
static readonly "kGunjalaGondi": UnicodeScript
|
|
static readonly "kHanifiRohingya": UnicodeScript
|
|
static readonly "kMakasar": UnicodeScript
|
|
static readonly "kMedefaidrin": UnicodeScript
|
|
static readonly "kOldSogdian": UnicodeScript
|
|
static readonly "kSogdian": UnicodeScript
|
|
static readonly "kElymaic": UnicodeScript
|
|
static readonly "kNandinagari": UnicodeScript
|
|
static readonly "kNyiakengPuachueHmong": UnicodeScript
|
|
static readonly "kWancho": UnicodeScript
|
|
static readonly "kChorasmian": UnicodeScript
|
|
static readonly "kDivesAkuru": UnicodeScript
|
|
static readonly "kKhitanSmallScript": UnicodeScript
|
|
static readonly "kYEzidi": UnicodeScript
|
|
static readonly "kCyproMinoan": UnicodeScript
|
|
static readonly "kOldUyghur": UnicodeScript
|
|
static readonly "kTangsa": UnicodeScript
|
|
static readonly "kToto": UnicodeScript
|
|
static readonly "kVithkuqi": UnicodeScript
|
|
static readonly "kMath": UnicodeScript
|
|
}
|
|
|
|
class UnicodeType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kControl": UnicodeType
|
|
static readonly "kFormat": UnicodeType
|
|
static readonly "kUnassigned": UnicodeType
|
|
static readonly "kPrivateUse": UnicodeType
|
|
static readonly "kSurrogate": UnicodeType
|
|
static readonly "kLowercaseLetter": UnicodeType
|
|
static readonly "kModifierLetter": UnicodeType
|
|
static readonly "kOtherLetter": UnicodeType
|
|
static readonly "kTitlecaseLetter": UnicodeType
|
|
static readonly "kUppercaseLetter": UnicodeType
|
|
static readonly "kSpacingMark": UnicodeType
|
|
static readonly "kEnclosingMark": UnicodeType
|
|
static readonly "kNonSpacingMark": UnicodeType
|
|
static readonly "kDecimalNumber": UnicodeType
|
|
static readonly "kLetterNumber": UnicodeType
|
|
static readonly "kOtherNumber": UnicodeType
|
|
static readonly "kConnectPunctuation": UnicodeType
|
|
static readonly "kDashPunctuation": UnicodeType
|
|
static readonly "kClosePunctuation": UnicodeType
|
|
static readonly "kFinalPunctuation": UnicodeType
|
|
static readonly "kInitialPunctuation": UnicodeType
|
|
static readonly "kOtherPunctuation": UnicodeType
|
|
static readonly "kOpenPunctuation": UnicodeType
|
|
static readonly "kCurrencySymbol": UnicodeType
|
|
static readonly "kModifierSymbol": UnicodeType
|
|
static readonly "kMathSymbol": UnicodeType
|
|
static readonly "kOtherSymbol": UnicodeType
|
|
static readonly "kLineSeparator": UnicodeType
|
|
static readonly "kParagraphSeparator": UnicodeType
|
|
static readonly "kSpaceSeparator": UnicodeType
|
|
}
|
|
|
|
class UriError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kFailed": UriError
|
|
static readonly "kBadScheme": UriError
|
|
static readonly "kBadUser": UriError
|
|
static readonly "kBadPassword": UriError
|
|
static readonly "kBadAuthParams": UriError
|
|
static readonly "kBadHost": UriError
|
|
static readonly "kBadPort": UriError
|
|
static readonly "kBadPath": UriError
|
|
static readonly "kBadQuery": UriError
|
|
static readonly "kBadFragment": UriError
|
|
}
|
|
|
|
class UriFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": UriFlags
|
|
static readonly "kParseRelaxed": UriFlags
|
|
static readonly "kHasPassword": UriFlags
|
|
static readonly "kHasAuthParams": UriFlags
|
|
static readonly "kEncoded": UriFlags
|
|
static readonly "kNonDns": UriFlags
|
|
static readonly "kEncodedQuery": UriFlags
|
|
static readonly "kEncodedPath": UriFlags
|
|
static readonly "kEncodedFragment": UriFlags
|
|
static readonly "kSchemeNormalize": UriFlags
|
|
}
|
|
|
|
class UriHideFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": UriHideFlags
|
|
static readonly "kUserinfo": UriHideFlags
|
|
static readonly "kPassword": UriHideFlags
|
|
static readonly "kAuthParams": UriHideFlags
|
|
static readonly "kQuery": UriHideFlags
|
|
static readonly "kFragment": UriHideFlags
|
|
}
|
|
|
|
class UriParamsFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": UriParamsFlags
|
|
static readonly "kCaseInsensitive": UriParamsFlags
|
|
static readonly "kWwwForm": UriParamsFlags
|
|
static readonly "kParseRelaxed": UriParamsFlags
|
|
}
|
|
|
|
class UserDirectory {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDirectoryDesktop": UserDirectory
|
|
static readonly "kDirectoryDocuments": UserDirectory
|
|
static readonly "kDirectoryDownload": UserDirectory
|
|
static readonly "kDirectoryMusic": UserDirectory
|
|
static readonly "kDirectoryPictures": UserDirectory
|
|
static readonly "kDirectoryPublicShare": UserDirectory
|
|
static readonly "kDirectoryTemplates": UserDirectory
|
|
static readonly "kDirectoryVideos": UserDirectory
|
|
static readonly "kNDirectories": UserDirectory
|
|
}
|
|
|
|
class VariantClass {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kBoolean": VariantClass
|
|
static readonly "kByte": VariantClass
|
|
static readonly "kInt16": VariantClass
|
|
static readonly "kUint16": VariantClass
|
|
static readonly "kInt32": VariantClass
|
|
static readonly "kUint32": VariantClass
|
|
static readonly "kInt64": VariantClass
|
|
static readonly "kUint64": VariantClass
|
|
static readonly "kHandle": VariantClass
|
|
static readonly "kDouble": VariantClass
|
|
static readonly "kString": VariantClass
|
|
static readonly "kObjectPath": VariantClass
|
|
static readonly "kSignature": VariantClass
|
|
static readonly "kVariant": VariantClass
|
|
static readonly "kMaybe": VariantClass
|
|
static readonly "kArray": VariantClass
|
|
static readonly "kTuple": VariantClass
|
|
static readonly "kDictEntry": VariantClass
|
|
}
|
|
|
|
class VariantParseError {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kFailed": VariantParseError
|
|
static readonly "kBasicTypeExpected": VariantParseError
|
|
static readonly "kCannotInferType": VariantParseError
|
|
static readonly "kDefiniteTypeExpected": VariantParseError
|
|
static readonly "kInputNotAtEnd": VariantParseError
|
|
static readonly "kInvalidCharacter": VariantParseError
|
|
static readonly "kInvalidFormatString": VariantParseError
|
|
static readonly "kInvalidObjectPath": VariantParseError
|
|
static readonly "kInvalidSignature": VariantParseError
|
|
static readonly "kInvalidTypeString": VariantParseError
|
|
static readonly "kNoCommonType": VariantParseError
|
|
static readonly "kNumberOutOfRange": VariantParseError
|
|
static readonly "kNumberTooBig": VariantParseError
|
|
static readonly "kTypeError": VariantParseError
|
|
static readonly "kUnexpectedToken": VariantParseError
|
|
static readonly "kUnknownKeyword": VariantParseError
|
|
static readonly "kUnterminatedStringConstant": VariantParseError
|
|
static readonly "kValueExpected": VariantParseError
|
|
static readonly "kRecursion": VariantParseError
|
|
}
|
|
|
|
class Win32OSType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kAny": Win32OSType
|
|
static readonly "kWorkstation": Win32OSType
|
|
static readonly "kServer": Win32OSType
|
|
}
|
|
|
|
|
|
class EventListener {
|
|
disconnect(): void
|
|
getSignals(): string[]
|
|
}
|
|
|
|
class IEventListener {}
|
|
|
|
class Array {
|
|
data : string;
|
|
len : number;
|
|
|
|
}
|
|
|
|
class AsyncQueue {
|
|
length(): number;
|
|
lengthUnlocked(): number;
|
|
lock(): void;
|
|
pop(): void;
|
|
popUnlocked(): void;
|
|
push(): void;
|
|
pushFront(): void;
|
|
pushFrontUnlocked(): void;
|
|
pushUnlocked(): void;
|
|
refUnlocked(): void;
|
|
remove(): boolean;
|
|
removeUnlocked(): boolean;
|
|
timedPop(endTime: AuGlibEx.TimeVal): void;
|
|
timedPopUnlocked(endTime: AuGlibEx.TimeVal): void;
|
|
timeoutPop(timeout: number | bigint): void;
|
|
timeoutPopUnlocked(timeout: number | bigint): void;
|
|
tryPop(): void;
|
|
tryPopUnlocked(): void;
|
|
unlock(): void;
|
|
unref(): void;
|
|
unrefAndUnlock(): void;
|
|
}
|
|
|
|
class BookmarkFile {
|
|
addApplication(uri: string, name: string | undefined | null, exec: string | undefined | null): void;
|
|
addGroup(uri: string, group: string): void;
|
|
free(): void;
|
|
getAdded(uri: string): number;
|
|
getAddedDateTime(uri: string): AuGlibEx.DateTime;
|
|
getAppInfo(uri: string, name: string, exec ?: string, count ?: number, stamp ?: number): boolean;
|
|
getApplicationInfo(uri: string, name: string, exec ?: string, count ?: number, stamp ?: AuGlibEx.DateTime): boolean;
|
|
getApplications(uri: string, length ?: number | bigint): string[];
|
|
getDescription(uri: string): string;
|
|
getGroups(uri: string, length ?: number | bigint): string[];
|
|
getIcon(uri: string, href ?: string, mimeType ?: string): boolean;
|
|
getIsPrivate(uri: string): boolean;
|
|
getMimeType(uri: string): string;
|
|
getModified(uri: string): number;
|
|
getModifiedDateTime(uri: string): AuGlibEx.DateTime;
|
|
getSize(): number;
|
|
getTitle(uri: string | undefined | null): string;
|
|
getUris(length ?: number | bigint): string[];
|
|
getVisited(uri: string): number;
|
|
getVisitedDateTime(uri: string): AuGlibEx.DateTime;
|
|
hasApplication(uri: string, name: string): boolean;
|
|
hasGroup(uri: string, group: string): boolean;
|
|
hasItem(uri: string): boolean;
|
|
loadFromData(data: number[], length: number | bigint): boolean;
|
|
loadFromDataDirs(file: string, fullPath ?: string): boolean;
|
|
loadFromFile(filename: string): boolean;
|
|
moveItem(oldUri: string, newUri: string | undefined | null): boolean;
|
|
removeApplication(uri: string, name: string): boolean;
|
|
removeGroup(uri: string, group: string): boolean;
|
|
removeItem(uri: string): boolean;
|
|
setAdded(uri: string, added: number): void;
|
|
setAddedDateTime(uri: string, added: AuGlibEx.DateTime): void;
|
|
setAppInfo(uri: string, name: string, exec: string, count: number, stamp: number): boolean;
|
|
setApplicationInfo(uri: string, name: string, exec: string, count: number, stamp: AuGlibEx.DateTime | undefined | null): boolean;
|
|
setDescription(uri: string | undefined | null, description: string): void;
|
|
setGroups(uri: string, groups: string[] | undefined | null, length: number | bigint): void;
|
|
setIcon(uri: string, href: string | undefined | null, mimeType: string): void;
|
|
setIsPrivate(uri: string, isPrivate: boolean): void;
|
|
setMimeType(uri: string, mimeType: string): void;
|
|
setModified(uri: string, modified: number): void;
|
|
setModifiedDateTime(uri: string, modified: AuGlibEx.DateTime): void;
|
|
setTitle(uri: string | undefined | null, title: string): void;
|
|
setVisited(uri: string, visited: number): void;
|
|
setVisitedDateTime(uri: string, visited: AuGlibEx.DateTime): void;
|
|
toData(length ?: number | bigint): number[];
|
|
toFile(filename: string): boolean;
|
|
static ErrorQuark(): number;
|
|
}
|
|
|
|
class ByteArray {
|
|
data : number;
|
|
len : number;
|
|
|
|
static Free(array: number[], freeSegment: boolean): number;
|
|
static FreeToBytes(array: number[]): AuGlibEx.Bytes;
|
|
static New(): number[];
|
|
static NewTake(data: number[], len: number | bigint): number[];
|
|
static Steal(array: number[], len ?: number | bigint): number;
|
|
static Unref(array: number[]): void;
|
|
}
|
|
|
|
class Bytes {
|
|
static New(data: number[] | undefined | null, size: number | bigint): AuGlibEx.Bytes;
|
|
static NewTake(data: number[] | undefined | null, size: number | bigint): AuGlibEx.Bytes;
|
|
compare(bytes2: AuGlibEx.Bytes): number;
|
|
equal(bytes2: AuGlibEx.Bytes): boolean;
|
|
getData(size ?: number | bigint): number[];
|
|
getRegion(elementSize: number | bigint, offset: number | bigint, nElements: number | bigint): void;
|
|
getSize(): number | bigint;
|
|
hash(): number;
|
|
newFromBytes(offset: number | bigint, length: number | bigint): AuGlibEx.Bytes;
|
|
ref(): AuGlibEx.Bytes;
|
|
unref(): void;
|
|
unrefToArray(): number[];
|
|
unrefToData(size: number | bigint): number[];
|
|
}
|
|
|
|
class Checksum {
|
|
static New(checksumType: AuGlibEx.ChecksumType): AuGlibEx.Checksum;
|
|
copy(): AuGlibEx.Checksum;
|
|
free(): void;
|
|
getString(): string;
|
|
reset(): void;
|
|
update(data: number[], length: number | bigint): void;
|
|
static TypeGetLength(checksumType: AuGlibEx.ChecksumType): number | bigint;
|
|
}
|
|
|
|
class Cond { /*unsupported*/ }
|
|
|
|
class Data {
|
|
}
|
|
|
|
class Date {
|
|
julianDays : number;
|
|
julian : number;
|
|
dmy : number;
|
|
day : number;
|
|
month : number;
|
|
YEar : number;
|
|
|
|
static New(): AuGlibEx.Date;
|
|
static NewDmy(day: number, month: AuGlibEx.DateMonth, YEar: number): AuGlibEx.Date;
|
|
static NewJulian(julianDay: number): AuGlibEx.Date;
|
|
addDays(nDays: number): void;
|
|
addMonths(nMonths: number): void;
|
|
addYEars(nYEars: number): void;
|
|
clamp(minDate: AuGlibEx.Date, maxDate: AuGlibEx.Date): void;
|
|
clear(nDates: number): void;
|
|
compare(rhs: AuGlibEx.Date): number;
|
|
copy(): AuGlibEx.Date;
|
|
daysBetween(date2: AuGlibEx.Date): number;
|
|
free(): void;
|
|
getDay(): number;
|
|
getDayOfYEar(): number;
|
|
getIso8601WeekOfYEar(): number;
|
|
getJulian(): number;
|
|
getMondayWeekOfYEar(): number;
|
|
getMonth(): AuGlibEx.DateMonth;
|
|
getSundayWeekOfYEar(): number;
|
|
getWeekday(): AuGlibEx.DateWeekday;
|
|
getYEar(): number;
|
|
isFirstOfMonth(): boolean;
|
|
isLastOfMonth(): boolean;
|
|
order(date2: AuGlibEx.Date): void;
|
|
setDay(day: number): void;
|
|
setDmy(day: number, month: AuGlibEx.DateMonth, y: number): void;
|
|
setJulian(julianDate: number): void;
|
|
setMonth(month: AuGlibEx.DateMonth): void;
|
|
setParse(str: string): void;
|
|
setTime(time: number): void;
|
|
setTimeT(timet: number): void;
|
|
setTimeVal(timeval: AuGlibEx.TimeVal): void;
|
|
setYEar(YEar: number): void;
|
|
subtractDays(nDays: number): void;
|
|
subtractMonths(nMonths: number): void;
|
|
subtractYEars(nYEars: number): void;
|
|
toStructTm(): void;
|
|
valid(): boolean;
|
|
static GetDaysInMonth(month: AuGlibEx.DateMonth, YEar: number): number;
|
|
static GetMondayWeeksInYEar(YEar: number): number;
|
|
static GetSundayWeeksInYEar(YEar: number): number;
|
|
static IsLeapYEar(YEar: number): boolean;
|
|
static Strftime(s: string, slen: number | bigint, format: string, date: AuGlibEx.Date): number | bigint;
|
|
static ValidDay(day: number): boolean;
|
|
static ValidDmy(day: number, month: AuGlibEx.DateMonth, YEar: number): boolean;
|
|
static ValidJulian(julianDate: number): boolean;
|
|
static ValidMonth(month: AuGlibEx.DateMonth): boolean;
|
|
static ValidWeekday(weekday: AuGlibEx.DateWeekday): boolean;
|
|
static ValidYEar(YEar: number): boolean;
|
|
}
|
|
|
|
class DateTime {
|
|
static New(tz: AuGlibEx.TimeZone, YEar: number, month: number, day: number, hour: number, minute: number, seconds: number): AuGlibEx.DateTime;
|
|
static NewFromIso8601(text: string, defaultTz: AuGlibEx.TimeZone | undefined | null): AuGlibEx.DateTime;
|
|
static NewFromTimevalLocal(tv: AuGlibEx.TimeVal): AuGlibEx.DateTime;
|
|
static NewFromTimevalUtc(tv: AuGlibEx.TimeVal): AuGlibEx.DateTime;
|
|
static NewFromUnixLocal(t: number | bigint): AuGlibEx.DateTime;
|
|
static NewFromUnixUtc(t: number | bigint): AuGlibEx.DateTime;
|
|
static NewLocal(YEar: number, month: number, day: number, hour: number, minute: number, seconds: number): AuGlibEx.DateTime;
|
|
static NewNow(tz: AuGlibEx.TimeZone): AuGlibEx.DateTime;
|
|
static NewNowLocal(): AuGlibEx.DateTime;
|
|
static NewNowUtc(): AuGlibEx.DateTime;
|
|
static NewUtc(YEar: number, month: number, day: number, hour: number, minute: number, seconds: number): AuGlibEx.DateTime;
|
|
add(timespan: number | bigint): AuGlibEx.DateTime;
|
|
addDays(days: number): AuGlibEx.DateTime;
|
|
addFull(YEars: number, months: number, days: number, hours: number, minutes: number, seconds: number): AuGlibEx.DateTime;
|
|
addHours(hours: number): AuGlibEx.DateTime;
|
|
addMinutes(minutes: number): AuGlibEx.DateTime;
|
|
addMonths(months: number): AuGlibEx.DateTime;
|
|
addSeconds(seconds: number): AuGlibEx.DateTime;
|
|
addWeeks(weeks: number): AuGlibEx.DateTime;
|
|
addYEars(YEars: number): AuGlibEx.DateTime;
|
|
compare(dt2: AuGlibEx.DateTime): number;
|
|
difference(begin: AuGlibEx.DateTime): number | bigint;
|
|
equal(dt2: AuGlibEx.DateTime): boolean;
|
|
format(format: string): string;
|
|
formatIso8601(): string;
|
|
getDayOfMonth(): number;
|
|
getDayOfWeek(): number;
|
|
getDayOfYEar(): number;
|
|
getHour(): number;
|
|
getMicrosecond(): number;
|
|
getMinute(): number;
|
|
getMonth(): number;
|
|
getSecond(): number;
|
|
getSeconds(): number;
|
|
getTimezone(): AuGlibEx.TimeZone;
|
|
getTimezoneAbbreviation(): string;
|
|
getUtcOffset(): number | bigint;
|
|
getWeekNumberingYEar(): number;
|
|
getWeekOfYEar(): number;
|
|
getYEar(): number;
|
|
getYMd(YEar ?: number, month ?: number, day ?: number): void;
|
|
hash(): number;
|
|
isDaylightSavings(): boolean;
|
|
ref(): AuGlibEx.DateTime;
|
|
toLocal(): AuGlibEx.DateTime;
|
|
toTimeval(tv: AuGlibEx.TimeVal): boolean;
|
|
toTimezone(tz: AuGlibEx.TimeZone): AuGlibEx.DateTime;
|
|
toUnix(): number | bigint;
|
|
toUtc(): AuGlibEx.DateTime;
|
|
unref(): void;
|
|
}
|
|
|
|
class DebugKey {
|
|
key : string;
|
|
value : number;
|
|
|
|
}
|
|
|
|
class Dir {
|
|
close(): void;
|
|
readName(): string;
|
|
rewind(): void;
|
|
static MakeTmp(tmpl: string | undefined | null): string;
|
|
}
|
|
|
|
class Error {
|
|
domain : number;
|
|
code : number;
|
|
message : string;
|
|
|
|
static NewLiteral(domain: number, code: number, message: string): AuGlibEx.Error;
|
|
copy(): AuGlibEx.Error;
|
|
free(): void;
|
|
matches(domain: number, code: number): boolean;
|
|
}
|
|
|
|
class HashTable {
|
|
static Add(hashTable: number): boolean;
|
|
static Contains(hashTable: number): boolean;
|
|
static Destroy(hashTable: number): void;
|
|
static Insert(hashTable: number): boolean;
|
|
static Lookup(hashTable: number): void;
|
|
static LookupExtended(hashTable: number): boolean;
|
|
static NewSimilar(otherHashTable: number): number;
|
|
static Remove(hashTable: number): boolean;
|
|
static RemoveAll(hashTable: number): void;
|
|
static Replace(hashTable: number): boolean;
|
|
static Size(hashTable: number): number;
|
|
static Steal(hashTable: number): boolean;
|
|
static StealAll(hashTable: number): void;
|
|
static StealExtended(hashTable: number): boolean;
|
|
static Unref(hashTable: number): void;
|
|
}
|
|
|
|
class HashTableIter {
|
|
dummy1 : void;
|
|
dummy2 : void;
|
|
dummy3 : void;
|
|
dummy4 : number;
|
|
dummy5 : boolean;
|
|
dummy6 : void;
|
|
|
|
init(hashTable: number): void;
|
|
next(): boolean;
|
|
remove(): void;
|
|
replace(): void;
|
|
steal(): void;
|
|
}
|
|
|
|
class Hmac {
|
|
getDigest(buffer: number[], digestLen: number | bigint): void;
|
|
getString(): string;
|
|
unref(): void;
|
|
update(data: number[], length: number | bigint): void;
|
|
}
|
|
|
|
class Hook {
|
|
data : void;
|
|
next : AuGlibEx.Hook;
|
|
prev : AuGlibEx.Hook;
|
|
refCount : number;
|
|
hookId : number;
|
|
flags : number;
|
|
func : void;
|
|
destroy : () => void;
|
|
|
|
compareIds(sibling: AuGlibEx.Hook): number;
|
|
static Destroy(hookList: AuGlibEx.HookList, hookId: number): boolean;
|
|
static DestroyLink(hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook): void;
|
|
static Free(hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook): void;
|
|
static InsertBefore(hookList: AuGlibEx.HookList, sibling: AuGlibEx.Hook | undefined | null, hook: AuGlibEx.Hook): void;
|
|
static Prepend(hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook): void;
|
|
static Unref(hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook): void;
|
|
}
|
|
|
|
class HookList {
|
|
seqId : number;
|
|
hookSize : number;
|
|
isSetup : number;
|
|
hooks : AuGlibEx.Hook;
|
|
dummy3 : void;
|
|
finalizeHook : (hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook) => void;
|
|
|
|
clear(): void;
|
|
init(hookSize: number): void;
|
|
invoke(mayRecurse: boolean): void;
|
|
invokeCheck(mayRecurse: boolean): void;
|
|
}
|
|
|
|
class IOChannel {
|
|
refCount : number;
|
|
funcs : AuGlibEx.IOFuncs;
|
|
encoding : string;
|
|
readCd : void;
|
|
writeCd : void;
|
|
lineTerm : string;
|
|
lineTermLen : number;
|
|
bufSize : number | bigint;
|
|
readBuf : AuGlibEx.String;
|
|
encodedReadBuf : AuGlibEx.String;
|
|
writeBuf : AuGlibEx.String;
|
|
partialWriteBuf : number[];
|
|
useBuffer : number;
|
|
doEncode : number;
|
|
closeOnUnref : number;
|
|
isReadable : number;
|
|
isWriteable : number;
|
|
isSeekable : number;
|
|
reserved1 : void;
|
|
reserved2 : void;
|
|
|
|
static NewFile(filename: string, mode: string): AuGlibEx.IOChannel;
|
|
static UnixNew(fd: number): AuGlibEx.IOChannel;
|
|
static Win32NewFd(fd: number): AuGlibEx.IOChannel;
|
|
static Win32NewMessages(hwnd: number | bigint): AuGlibEx.IOChannel;
|
|
static Win32NewSocket(socket: number): AuGlibEx.IOChannel;
|
|
static Win32NewStreamSocket(socket: number): AuGlibEx.IOChannel;
|
|
close(): void;
|
|
flush(): AuGlibEx.IOStatus;
|
|
getBufferCondition(): AuGlibEx.IOCondition;
|
|
getBufferSize(): number | bigint;
|
|
getBuffered(): boolean;
|
|
getCloseOnUnref(): boolean;
|
|
getEncoding(): string;
|
|
getFlags(): AuGlibEx.IOFlags;
|
|
getLineTerm(length: number): string;
|
|
init(): void;
|
|
read(buf: string, count: number | bigint, bytesRead: number | bigint): AuGlibEx.IOError;
|
|
readChars(buf: number[], count: number | bigint, bytesRead ?: number | bigint): AuGlibEx.IOStatus;
|
|
readLine(strReturn: string, length ?: number | bigint, terminatorPos ?: number | bigint): AuGlibEx.IOStatus;
|
|
readLineString(buffer: AuGlibEx.String, terminatorPos: number | bigint | undefined | null): AuGlibEx.IOStatus;
|
|
readToEnd(strReturn: number[], length: number | bigint): AuGlibEx.IOStatus;
|
|
readUnichar(thechar: string): AuGlibEx.IOStatus;
|
|
ref(): AuGlibEx.IOChannel;
|
|
seek(offset: number | bigint, type: AuGlibEx.SeekType): AuGlibEx.IOError;
|
|
seekPosition(offset: number | bigint, type: AuGlibEx.SeekType): AuGlibEx.IOStatus;
|
|
setBufferSize(size: number | bigint): void;
|
|
setBuffered(buffered: boolean): void;
|
|
setCloseOnUnref(doClose: boolean): void;
|
|
setEncoding(encoding: string | undefined | null): AuGlibEx.IOStatus;
|
|
setFlags(flags: AuGlibEx.IOFlags): AuGlibEx.IOStatus;
|
|
setLineTerm(lineTerm: string | undefined | null, length: number): void;
|
|
shutdown(flush: boolean): AuGlibEx.IOStatus;
|
|
unixGetFd(): number;
|
|
unref(): void;
|
|
win32GetFd(): number;
|
|
win32MakePollfd(condition: AuGlibEx.IOCondition, fd: AuGlibEx.PollFD): void;
|
|
win32SetDebug(flag: boolean): void;
|
|
write(buf: string, count: number | bigint, bytesWritten: number | bigint): AuGlibEx.IOError;
|
|
writeChars(buf: number[], count: number | bigint, bytesWritten: number | bigint): AuGlibEx.IOStatus;
|
|
writeUnichar(thechar: string): AuGlibEx.IOStatus;
|
|
static ErrorFromErrno(en: number): AuGlibEx.IOChannelError;
|
|
static ErrorQuark(): number;
|
|
static Win32Poll(fds: AuGlibEx.PollFD, nFds: number, timeout: number): number;
|
|
}
|
|
|
|
class IOFuncs {
|
|
ioRead : (channel: AuGlibEx.IOChannel, buf: string, count: number | bigint, bytesRead: number | bigint) => AuGlibEx.IOStatus;
|
|
ioWrite : (channel: AuGlibEx.IOChannel, buf: string, count: number | bigint, bytesWritten: number | bigint) => AuGlibEx.IOStatus;
|
|
ioSeek : (channel: AuGlibEx.IOChannel, offset: number | bigint, type: AuGlibEx.SeekType) => AuGlibEx.IOStatus;
|
|
ioClose : (channel: AuGlibEx.IOChannel) => AuGlibEx.IOStatus;
|
|
ioCreateWatch : (channel: AuGlibEx.IOChannel, condition: AuGlibEx.IOCondition) => AuGlibEx.Source;
|
|
ioFree : (channel: AuGlibEx.IOChannel) => void;
|
|
ioSetFlags : (channel: AuGlibEx.IOChannel, flags: AuGlibEx.IOFlags) => AuGlibEx.IOStatus;
|
|
ioGetFlags : (channel: AuGlibEx.IOChannel) => AuGlibEx.IOFlags;
|
|
|
|
}
|
|
|
|
class KeyFile {
|
|
static New(): AuGlibEx.KeyFile;
|
|
getBoolean(groupName: string, key: string): boolean;
|
|
getBooleanList(groupName: string, key: string, length: number | bigint): boolean[];
|
|
getComment(groupName: string | undefined | null, key: string | undefined | null): string;
|
|
getDouble(groupName: string, key: string): number;
|
|
getDoubleList(groupName: string, key: string, length: number | bigint): number[];
|
|
getGroups(length ?: number | bigint): string[];
|
|
getInt64(groupName: string, key: string): number | bigint;
|
|
getInteger(groupName: string, key: string): number;
|
|
getIntegerList(groupName: string, key: string, length: number | bigint): number[];
|
|
getKeys(groupName: string, length ?: number | bigint): string[];
|
|
getLocaleForKey(groupName: string, key: string, locale: string | undefined | null): string;
|
|
getLocaleString(groupName: string, key: string, locale: string | undefined | null): string;
|
|
getLocaleStringList(groupName: string, key: string, locale: string | undefined | null, length ?: number | bigint): string[];
|
|
getStartGroup(): string;
|
|
getString(groupName: string, key: string): string;
|
|
getStringList(groupName: string, key: string, length ?: number | bigint): string[];
|
|
getUint64(groupName: string, key: string): number | bigint;
|
|
getValue(groupName: string, key: string): string;
|
|
hasGroup(groupName: string): boolean;
|
|
loadFromBytes(bytes: AuGlibEx.Bytes, flags: AuGlibEx.KeyFileFlags): boolean;
|
|
loadFromData(data: string, length: number | bigint, flags: AuGlibEx.KeyFileFlags): boolean;
|
|
loadFromDataDirs(file: string, fullPath ?: string, flags ?: AuGlibEx.KeyFileFlags): boolean;
|
|
loadFromDirs(file: string, searchDirs: string[], fullPath ?: string, flags ?: AuGlibEx.KeyFileFlags): boolean;
|
|
loadFromFile(file: string, flags: AuGlibEx.KeyFileFlags): boolean;
|
|
removeComment(groupName: string | undefined | null, key: string | undefined | null): boolean;
|
|
removeGroup(groupName: string): boolean;
|
|
removeKey(groupName: string, key: string): boolean;
|
|
saveToFile(filename: string): boolean;
|
|
setBoolean(groupName: string, key: string, value: boolean): void;
|
|
setBooleanList(groupName: string, key: string, list: boolean[], length: number | bigint): void;
|
|
setComment(groupName: string | undefined | null, key: string | undefined | null, comment: string): boolean;
|
|
setDouble(groupName: string, key: string, value: number): void;
|
|
setDoubleList(groupName: string, key: string, list: number[], length: number | bigint): void;
|
|
setInt64(groupName: string, key: string, value: number | bigint): void;
|
|
setInteger(groupName: string, key: string, value: number): void;
|
|
setIntegerList(groupName: string, key: string, list: number[], length: number | bigint): void;
|
|
setListSeparator(separator: number): void;
|
|
setLocaleString(groupName: string, key: string, locale: string, string: string): void;
|
|
setLocaleStringList(groupName: string, key: string, locale: string, list: string[], length: number | bigint): void;
|
|
setString(groupName: string, key: string, string: string): void;
|
|
setStringList(groupName: string, key: string, list: string[], length: number | bigint): void;
|
|
setUint64(groupName: string, key: string, value: number | bigint): void;
|
|
setValue(groupName: string, key: string, value: string): void;
|
|
toData(length ?: number | bigint): string;
|
|
unref(): void;
|
|
static ErrorQuark(): number;
|
|
}
|
|
|
|
class List {
|
|
data : void;
|
|
|
|
}
|
|
|
|
class LogField {
|
|
key : string;
|
|
value : void;
|
|
length : number | bigint;
|
|
|
|
}
|
|
|
|
class MainContext { /*unsupported*/ }
|
|
|
|
class MainLoop {
|
|
static New(context: AuGlibEx.MainContext | undefined | null, isRunning: boolean): AuGlibEx.MainLoop;
|
|
getContext(): AuGlibEx.MainContext;
|
|
isRunning(): boolean;
|
|
quit(): void;
|
|
ref(): AuGlibEx.MainLoop;
|
|
run(): void;
|
|
unref(): void;
|
|
}
|
|
|
|
class MappedFile {
|
|
static New(filename: string, writable: boolean): AuGlibEx.MappedFile;
|
|
static NewFromFd(fd: number, writable: boolean): AuGlibEx.MappedFile;
|
|
free(): void;
|
|
getBytes(): AuGlibEx.Bytes;
|
|
getContents(): string;
|
|
getLength(): number | bigint;
|
|
ref(): AuGlibEx.MappedFile;
|
|
unref(): void;
|
|
}
|
|
|
|
class MarkupParseContext {
|
|
static New(parser: AuGlibEx.MarkupParser, flags: AuGlibEx.MarkupParseFlags, userDataDnotify: () => void): AuGlibEx.MarkupParseContext;
|
|
endParse(): boolean;
|
|
free(): void;
|
|
getElement(): string;
|
|
getPosition(lineNumber ?: number, charNumber ?: number): void;
|
|
getUserData(): void;
|
|
parse(text: string, textLen: number | bigint): boolean;
|
|
pop(): void;
|
|
push(parser: AuGlibEx.MarkupParser): void;
|
|
ref(): AuGlibEx.MarkupParseContext;
|
|
unref(): void;
|
|
}
|
|
|
|
class MarkupParser {
|
|
startElement : (context: AuGlibEx.MarkupParseContext, elementName: string, attributeNames: string, attributeValues: string) => void;
|
|
endElement : (context: AuGlibEx.MarkupParseContext, elementName: string) => void;
|
|
text : (context: AuGlibEx.MarkupParseContext, text: string, textLen: number | bigint) => void;
|
|
passthrough : (context: AuGlibEx.MarkupParseContext, passthroughText: string, textLen: number | bigint) => void;
|
|
error : (context: AuGlibEx.MarkupParseContext, error: AuGlibEx.Error) => void;
|
|
|
|
}
|
|
|
|
class MatchInfo {
|
|
expandReferences(stringToExpand: string): string;
|
|
fetch(matchNum: number): string;
|
|
fetchAll(): string[];
|
|
fetchNamed(name: string): string;
|
|
fetchNamedPos(name: string, startPos ?: number, endPos ?: number): boolean;
|
|
fetchPos(matchNum: number, startPos ?: number, endPos ?: number): boolean;
|
|
free(): void;
|
|
getMatchCount(): number;
|
|
getRegex(): AuGlibEx.Regex;
|
|
getString(): string;
|
|
isPartialMatch(): boolean;
|
|
matches(): boolean;
|
|
next(): boolean;
|
|
ref(): AuGlibEx.MatchInfo;
|
|
unref(): void;
|
|
}
|
|
|
|
class MemVTable {
|
|
malloc : (nBytes: number | bigint) => void;
|
|
realloc : (nBytes: number | bigint) => void;
|
|
free : () => void;
|
|
calloc : (nBlocks: number | bigint, nBlockBytes: number | bigint) => void;
|
|
tryMalloc : (nBytes: number | bigint) => void;
|
|
tryRealloc : (nBytes: number | bigint) => void;
|
|
|
|
}
|
|
|
|
class Node {
|
|
data : void;
|
|
next : AuGlibEx.Node;
|
|
prev : AuGlibEx.Node;
|
|
parent : AuGlibEx.Node;
|
|
children : AuGlibEx.Node;
|
|
|
|
childIndex(): number;
|
|
childPosition(child: AuGlibEx.Node): number;
|
|
depth(): number;
|
|
destroy(): void;
|
|
isAncestor(descendant: AuGlibEx.Node): boolean;
|
|
maxHeight(): number;
|
|
nChildren(): number;
|
|
nNodes(flags: AuGlibEx.TraverseFlags): number;
|
|
reverseChildren(): void;
|
|
unlink(): void;
|
|
}
|
|
|
|
class Once {
|
|
status : AuGlibEx.OnceStatus;
|
|
retval : void;
|
|
|
|
static InitEnter(): boolean;
|
|
static InitLeave(result: number | bigint): void;
|
|
}
|
|
|
|
class OptionContext {
|
|
addGroup(group: AuGlibEx.OptionGroup): void;
|
|
addMainEntries(entries: AuGlibEx.OptionEntry[], translationDomain: string | undefined | null): void;
|
|
free(): void;
|
|
getDescription(): string;
|
|
getHelp(mainHelp: boolean, group: AuGlibEx.OptionGroup | undefined | null): string;
|
|
getHelpEnabled(): boolean;
|
|
getIgnoreUnknownOptions(): boolean;
|
|
getMainGroup(): AuGlibEx.OptionGroup;
|
|
getStrictPosix(): boolean;
|
|
getSummary(): string;
|
|
parse(argc ?: number, argv ?: string[]): boolean;
|
|
parseStrv(arguments ?: string[]): boolean;
|
|
setDescription(description: string | undefined | null): void;
|
|
setHelpEnabled(helpEnabled: boolean): void;
|
|
setIgnoreUnknownOptions(ignoreUnknown: boolean): void;
|
|
setMainGroup(group: AuGlibEx.OptionGroup): void;
|
|
setStrictPosix(strictPosix: boolean): void;
|
|
setSummary(summary: string | undefined | null): void;
|
|
setTranslateFunc(func: (str: string) => string | undefined | null, destroyNotify: () => void | undefined | null): void;
|
|
setTranslationDomain(domain: string): void;
|
|
}
|
|
|
|
class OptionEntry {
|
|
longName : string;
|
|
shortName : number;
|
|
flags : number;
|
|
arg : AuGlibEx.OptionArg;
|
|
argData : void;
|
|
description : string;
|
|
argDescription : string;
|
|
|
|
}
|
|
|
|
class OptionGroup {
|
|
static New(name: string, description: string, helpDescription: string, destroy: () => void | undefined | null): AuGlibEx.OptionGroup;
|
|
addEntries(entries: AuGlibEx.OptionEntry[]): void;
|
|
free(): void;
|
|
ref(): AuGlibEx.OptionGroup;
|
|
setTranslateFunc(func: (str: string) => string | undefined | null, destroyNotify: () => void | undefined | null): void;
|
|
setTranslationDomain(domain: string): void;
|
|
unref(): void;
|
|
}
|
|
|
|
class PatternSpec {
|
|
static New(pattern: string): AuGlibEx.PatternSpec;
|
|
copy(): AuGlibEx.PatternSpec;
|
|
equal(pspec2: AuGlibEx.PatternSpec): boolean;
|
|
free(): void;
|
|
match(stringLength: number | bigint, string: string, stringReversed: string | undefined | null): boolean;
|
|
matchString(string: string): boolean;
|
|
}
|
|
|
|
class PollFD {
|
|
fd : number | bigint;
|
|
events : number;
|
|
revents : number;
|
|
|
|
}
|
|
|
|
class Private {
|
|
p : void;
|
|
notify : () => void;
|
|
|
|
get(): void;
|
|
replace(): void;
|
|
set(): void;
|
|
}
|
|
|
|
class PtrArray {
|
|
pdata : void;
|
|
len : number;
|
|
|
|
}
|
|
|
|
class Queue {
|
|
length : number;
|
|
|
|
clear(): void;
|
|
clearFull(freeFunc: () => void | undefined | null): void;
|
|
free(): void;
|
|
freeFull(freeFunc: () => void): void;
|
|
getLength(): number;
|
|
index(): number;
|
|
init(): void;
|
|
isEmpty(): boolean;
|
|
peekHead(): void;
|
|
peekNth(n: number): void;
|
|
peekTail(): void;
|
|
popHead(): void;
|
|
popNth(n: number): void;
|
|
popTail(): void;
|
|
pushHead(): void;
|
|
pushNth(n: number): void;
|
|
pushTail(): void;
|
|
remove(): boolean;
|
|
removeAll(): number;
|
|
reverse(): void;
|
|
}
|
|
|
|
class RWLock {
|
|
p : void;
|
|
i : number[];
|
|
|
|
clear(): void;
|
|
init(): void;
|
|
readerLock(): void;
|
|
readerTrylock(): boolean;
|
|
readerUnlock(): void;
|
|
writerLock(): void;
|
|
writerTrylock(): boolean;
|
|
writerUnlock(): void;
|
|
}
|
|
|
|
class Rand {
|
|
double(): number;
|
|
doubleRange(begin: number, end: number): number;
|
|
free(): void;
|
|
int(): number;
|
|
intRange(begin: number, end: number): number;
|
|
setSeed(seed: number): void;
|
|
setSeedArray(seed: number, seedLength: number): void;
|
|
}
|
|
|
|
class RecMutex {
|
|
p : void;
|
|
i : number[];
|
|
|
|
clear(): void;
|
|
init(): void;
|
|
lock(): void;
|
|
trylock(): boolean;
|
|
unlock(): void;
|
|
}
|
|
|
|
class Regex {
|
|
static New(pattern: string, compileOptions: AuGlibEx.RegexCompileFlags, matchOptions: AuGlibEx.RegexMatchFlags): AuGlibEx.Regex;
|
|
getCaptureCount(): number;
|
|
getCompileFlags(): AuGlibEx.RegexCompileFlags;
|
|
getHasCrOrLf(): boolean;
|
|
getMatchFlags(): AuGlibEx.RegexMatchFlags;
|
|
getMaxBackref(): number;
|
|
getMaxLookbehind(): number;
|
|
getPattern(): string;
|
|
getStringNumber(name: string): number;
|
|
match(string: string, matchOptions: AuGlibEx.RegexMatchFlags, matchInfo ?: AuGlibEx.MatchInfo): boolean;
|
|
matchAll(string: string, matchOptions: AuGlibEx.RegexMatchFlags, matchInfo ?: AuGlibEx.MatchInfo): boolean;
|
|
matchAllFull(string: string[], stringLen: number | bigint, startPosition: number, matchOptions: AuGlibEx.RegexMatchFlags, matchInfo ?: AuGlibEx.MatchInfo): boolean;
|
|
matchFull(string: string[], stringLen: number | bigint, startPosition: number, matchOptions: AuGlibEx.RegexMatchFlags, matchInfo ?: AuGlibEx.MatchInfo): boolean;
|
|
ref(): AuGlibEx.Regex;
|
|
replace(string: string[], stringLen: number | bigint, startPosition: number, replacement: string, matchOptions: AuGlibEx.RegexMatchFlags): string;
|
|
replaceLiteral(string: string[], stringLen: number | bigint, startPosition: number, replacement: string, matchOptions: AuGlibEx.RegexMatchFlags): string;
|
|
split(string: string, matchOptions: AuGlibEx.RegexMatchFlags): string[];
|
|
splitFull(string: string[], stringLen: number | bigint, startPosition: number, matchOptions: AuGlibEx.RegexMatchFlags, maxTokens: number): string[];
|
|
unref(): void;
|
|
static CheckReplacement(replacement: string, hasReferences ?: boolean): boolean;
|
|
static ErrorQuark(): number;
|
|
static EscapeNul(string: string, length: number): string;
|
|
static EscapeString(string: string[], length: number): string;
|
|
static MatchSimple(pattern: string, string: string, compileOptions: AuGlibEx.RegexCompileFlags, matchOptions: AuGlibEx.RegexMatchFlags): boolean;
|
|
static SplitSimple(pattern: string, string: string, compileOptions: AuGlibEx.RegexCompileFlags, matchOptions: AuGlibEx.RegexMatchFlags): string[];
|
|
}
|
|
|
|
class SList {
|
|
data : void;
|
|
|
|
}
|
|
|
|
class Scanner { /*unsupported*/ }
|
|
|
|
class ScannerConfig {
|
|
csetSkipCharacters : string;
|
|
csetIdentifierFirst : string;
|
|
csetIdentifierNth : string;
|
|
cpairCommentSingle : string;
|
|
caseSensitive : number;
|
|
skipCommentMulti : number;
|
|
skipCommentSingle : number;
|
|
scanCommentMulti : number;
|
|
scanIdentifier : number;
|
|
scanIdentifier1char : number;
|
|
scanIdentifierNULL : number;
|
|
scanSymbols : number;
|
|
scanBinary : number;
|
|
scanOctal : number;
|
|
scanFloat : number;
|
|
scanHex : number;
|
|
scanHexDollar : number;
|
|
scanStringSq : number;
|
|
scanStringDq : number;
|
|
numbers2Int : number;
|
|
int2Float : number;
|
|
identifier2String : number;
|
|
char2Token : number;
|
|
symbol2Token : number;
|
|
scope0Fallback : number;
|
|
storeInt64 : number;
|
|
paddingDummy : number;
|
|
|
|
}
|
|
|
|
class Sequence {
|
|
append(): AuGlibEx.SequenceIter;
|
|
free(): void;
|
|
getBeginIter(): AuGlibEx.SequenceIter;
|
|
getEndIter(): AuGlibEx.SequenceIter;
|
|
getIterAtPos(pos: number): AuGlibEx.SequenceIter;
|
|
getLength(): number;
|
|
isEmpty(): boolean;
|
|
prepend(): AuGlibEx.SequenceIter;
|
|
static Get(iter: AuGlibEx.SequenceIter): void;
|
|
static InsertBefore(iter: AuGlibEx.SequenceIter): AuGlibEx.SequenceIter;
|
|
static Move(src: AuGlibEx.SequenceIter, dest: AuGlibEx.SequenceIter): void;
|
|
static MoveRange(dest: AuGlibEx.SequenceIter, begin: AuGlibEx.SequenceIter, end: AuGlibEx.SequenceIter): void;
|
|
static RangeGetMidpoint(begin: AuGlibEx.SequenceIter, end: AuGlibEx.SequenceIter): AuGlibEx.SequenceIter;
|
|
static Remove(iter: AuGlibEx.SequenceIter): void;
|
|
static RemoveRange(begin: AuGlibEx.SequenceIter, end: AuGlibEx.SequenceIter): void;
|
|
static Set(iter: AuGlibEx.SequenceIter): void;
|
|
static Swap(a: AuGlibEx.SequenceIter, b: AuGlibEx.SequenceIter): void;
|
|
}
|
|
|
|
class SequenceIter {
|
|
compare(b: AuGlibEx.SequenceIter): number;
|
|
getPosition(): number;
|
|
getSequence(): AuGlibEx.Sequence;
|
|
isBegin(): boolean;
|
|
isEnd(): boolean;
|
|
move(delta: number): AuGlibEx.SequenceIter;
|
|
next(): AuGlibEx.SequenceIter;
|
|
prev(): AuGlibEx.SequenceIter;
|
|
}
|
|
|
|
class Source {
|
|
callbackData : void;
|
|
callbackFuncs : AuGlibEx.SourceCallbackFuncs;
|
|
sourceFuncs : AuGlibEx.SourceFuncs;
|
|
refCount : number;
|
|
context : AuGlibEx.MainContext;
|
|
priority : number;
|
|
flags : number;
|
|
sourceId : number;
|
|
prev : AuGlibEx.Source;
|
|
next : AuGlibEx.Source;
|
|
name : string;
|
|
priv : AuGlibEx.SourcePrivate;
|
|
|
|
static New(sourceFuncs: AuGlibEx.SourceFuncs, structSize: number): AuGlibEx.Source;
|
|
addChildSource(childSource: AuGlibEx.Source): void;
|
|
addPoll(fd: AuGlibEx.PollFD): void;
|
|
attach(context: AuGlibEx.MainContext | undefined | null): number;
|
|
destroy(): void;
|
|
getCanRecurse(): boolean;
|
|
getContext(): AuGlibEx.MainContext;
|
|
getCurrentTime(timeval: AuGlibEx.TimeVal): void;
|
|
getId(): number;
|
|
getName(): string;
|
|
getPriority(): number;
|
|
getReadyTime(): number | bigint;
|
|
getTime(): number | bigint;
|
|
isDestroyed(): boolean;
|
|
ref(): AuGlibEx.Source;
|
|
removeChildSource(childSource: AuGlibEx.Source): void;
|
|
removePoll(fd: AuGlibEx.PollFD): void;
|
|
setCallback(func: () => boolean, notify: () => void | undefined | null): void;
|
|
setCallbackIndirect(callbackFuncs: AuGlibEx.SourceCallbackFuncs): void;
|
|
setCanRecurse(canRecurse: boolean): void;
|
|
setFuncs(funcs: AuGlibEx.SourceFuncs): void;
|
|
setName(name: string): void;
|
|
setPriority(priority: number): void;
|
|
setReadyTime(readyTime: number | bigint): void;
|
|
setStaticName(name: string): void;
|
|
unref(): void;
|
|
static Remove(tag: number): boolean;
|
|
static RemoveByFuncsUserData(funcs: AuGlibEx.SourceFuncs): boolean;
|
|
static RemoveByUserData(): boolean;
|
|
static SetNameById(tag: number, name: string): void;
|
|
}
|
|
|
|
class SourceCallbackFuncs {
|
|
ref : () => void;
|
|
unref : () => void;
|
|
get : void;
|
|
|
|
}
|
|
|
|
class SourceFuncs {
|
|
prepare : (source: AuGlibEx.Source, timeout: number) => boolean;
|
|
check : (source: AuGlibEx.Source) => boolean;
|
|
dispatch : void;
|
|
finalize : (source: AuGlibEx.Source) => void;
|
|
closureCallback : () => boolean;
|
|
closureMarshal : () => void;
|
|
|
|
}
|
|
|
|
class SourcePrivate {
|
|
}
|
|
|
|
class StatBuf {
|
|
}
|
|
|
|
class String {
|
|
str : string;
|
|
len : number | bigint;
|
|
allocatedLen : number | bigint;
|
|
|
|
static New(init: string | undefined | null): AuGlibEx.String;
|
|
static NewLen(init: string, len: number | bigint): AuGlibEx.String;
|
|
static SizedNew(dflSize: number | bigint): AuGlibEx.String;
|
|
append(val: string): AuGlibEx.String;
|
|
appendC(c: number): AuGlibEx.String;
|
|
appendLen(val: string, len: number | bigint): AuGlibEx.String;
|
|
appendUnichar(wc: string): AuGlibEx.String;
|
|
appendUriEscaped(unescaped: string, reservedCharsAllowed: string, allowUtf8: boolean): AuGlibEx.String;
|
|
asciiDown(): AuGlibEx.String;
|
|
asciiUp(): AuGlibEx.String;
|
|
assign(rval: string): AuGlibEx.String;
|
|
down(): AuGlibEx.String;
|
|
equal(v2: AuGlibEx.String): boolean;
|
|
erase(pos: number | bigint, len: number | bigint): AuGlibEx.String;
|
|
free(freeSegment: boolean): string;
|
|
freeToBytes(): AuGlibEx.Bytes;
|
|
hash(): number;
|
|
insert(pos: number | bigint, val: string): AuGlibEx.String;
|
|
insertC(pos: number | bigint, c: number): AuGlibEx.String;
|
|
insertLen(pos: number | bigint, val: string, len: number | bigint): AuGlibEx.String;
|
|
insertUnichar(pos: number | bigint, wc: string): AuGlibEx.String;
|
|
overwrite(pos: number | bigint, val: string): AuGlibEx.String;
|
|
overwriteLen(pos: number | bigint, val: string, len: number | bigint): AuGlibEx.String;
|
|
prepend(val: string): AuGlibEx.String;
|
|
prependC(c: number): AuGlibEx.String;
|
|
prependLen(val: string, len: number | bigint): AuGlibEx.String;
|
|
prependUnichar(wc: string): AuGlibEx.String;
|
|
replace(find: string, replace: string, limit: number): number;
|
|
setSize(len: number | bigint): AuGlibEx.String;
|
|
truncate(len: number | bigint): AuGlibEx.String;
|
|
up(): AuGlibEx.String;
|
|
}
|
|
|
|
class StringChunk {
|
|
clear(): void;
|
|
free(): void;
|
|
insert(string: string): string;
|
|
insertConst(string: string): string;
|
|
insertLen(string: string, len: number | bigint): string;
|
|
}
|
|
|
|
class StrvBuilder {
|
|
add(value: string): void;
|
|
addv(value: string[]): void;
|
|
end(): string[];
|
|
unref(): void;
|
|
}
|
|
|
|
class TestCase {
|
|
free(): void;
|
|
}
|
|
|
|
class TestConfig {
|
|
testInitialized : boolean;
|
|
testQuick : boolean;
|
|
testPerf : boolean;
|
|
testVerbose : boolean;
|
|
testQuiet : boolean;
|
|
testUndefined : boolean;
|
|
|
|
}
|
|
|
|
class TestLogBuffer {
|
|
data : AuGlibEx.String;
|
|
|
|
free(): void;
|
|
push(nBytes: number, bytes: number): void;
|
|
}
|
|
|
|
class TestLogMsg {
|
|
logType : AuGlibEx.TestLogType;
|
|
nStrings : number;
|
|
strings : string;
|
|
nNums : number;
|
|
nums : void;
|
|
|
|
free(): void;
|
|
}
|
|
|
|
class TestSuite {
|
|
add(testCase: AuGlibEx.TestCase): void;
|
|
addSuite(nestedsuite: AuGlibEx.TestSuite): void;
|
|
free(): void;
|
|
}
|
|
|
|
class Thread {
|
|
static New(name: string | undefined | null, func: () => void): AuGlibEx.Thread;
|
|
static TryNew(name: string | undefined | null, func: () => void): AuGlibEx.Thread;
|
|
join(): void;
|
|
ref(): AuGlibEx.Thread;
|
|
unref(): void;
|
|
static ErrorQuark(): number;
|
|
static Exit(): void;
|
|
static Self(): AuGlibEx.Thread;
|
|
static YIeld(): void;
|
|
}
|
|
|
|
class ThreadPool {
|
|
func : () => void;
|
|
userData : void;
|
|
exclusive : boolean;
|
|
|
|
free(immediate: boolean, wait: boolean): void;
|
|
getMaxThreads(): number;
|
|
getNumThreads(): number;
|
|
moveToFront(): boolean;
|
|
push(): boolean;
|
|
setMaxThreads(maxThreads: number): boolean;
|
|
unprocessed(): number;
|
|
static GetMaxIdleTime(): number;
|
|
static GetMaxUnusedThreads(): number;
|
|
static GetNumUnusedThreads(): number;
|
|
static SetMaxIdleTime(interval: number): void;
|
|
static SetMaxUnusedThreads(maxThreads: number): void;
|
|
static StopUnusedThreads(): void;
|
|
}
|
|
|
|
class TimeVal {
|
|
tvSec : number;
|
|
tvUsec : number;
|
|
|
|
add(microseconds: number): void;
|
|
toIso8601(): string;
|
|
static FromIso8601(isoDate: string, time: AuGlibEx.TimeVal): boolean;
|
|
}
|
|
|
|
class TimeZone {
|
|
static New(identifier: string | undefined | null): AuGlibEx.TimeZone;
|
|
static NewIdentifier(identifier: string | undefined | null): AuGlibEx.TimeZone;
|
|
static NewLocal(): AuGlibEx.TimeZone;
|
|
static NewOffset(seconds: number): AuGlibEx.TimeZone;
|
|
static NewUtc(): AuGlibEx.TimeZone;
|
|
adjustTime(type: AuGlibEx.TimeType, time: number | bigint): number;
|
|
findInterval(type: AuGlibEx.TimeType, time: number | bigint): number;
|
|
getAbbreviation(interval: number): string;
|
|
getIdentifier(): string;
|
|
getOffset(interval: number): number;
|
|
isDst(interval: number): boolean;
|
|
ref(): AuGlibEx.TimeZone;
|
|
unref(): void;
|
|
}
|
|
|
|
class Timer {
|
|
continue(): void;
|
|
destroy(): void;
|
|
elapsed(microseconds: number): number;
|
|
isActive(): boolean;
|
|
reset(): void;
|
|
start(): void;
|
|
stop(): void;
|
|
}
|
|
|
|
class TrashStack {
|
|
next : AuGlibEx.TrashStack;
|
|
|
|
static Height(stackP: AuGlibEx.TrashStack): number;
|
|
static Peek(stackP: AuGlibEx.TrashStack): void;
|
|
static Pop(stackP: AuGlibEx.TrashStack): void;
|
|
static Push(stackP: AuGlibEx.TrashStack): void;
|
|
}
|
|
|
|
class Tree {
|
|
static NewFull(keyCompareFunc: () => number, keyDestroyFunc: () => void, valueDestroyFunc: () => void): AuGlibEx.Tree;
|
|
destroy(): void;
|
|
height(): number;
|
|
insert(): void;
|
|
insertNode(): AuGlibEx.TreeNode;
|
|
lookup(): void;
|
|
lookupExtended(): boolean;
|
|
lookupNode(): AuGlibEx.TreeNode;
|
|
lowerBound(): AuGlibEx.TreeNode;
|
|
nnodes(): number;
|
|
nodeFirst(): AuGlibEx.TreeNode;
|
|
nodeLast(): AuGlibEx.TreeNode;
|
|
ref(): AuGlibEx.Tree;
|
|
remove(): boolean;
|
|
removeAll(): void;
|
|
replace(): void;
|
|
replaceNode(): AuGlibEx.TreeNode;
|
|
steal(): boolean;
|
|
unref(): void;
|
|
upperBound(): AuGlibEx.TreeNode;
|
|
}
|
|
|
|
class TreeNode {
|
|
key(): void;
|
|
next(): AuGlibEx.TreeNode;
|
|
previous(): AuGlibEx.TreeNode;
|
|
value(): void;
|
|
}
|
|
|
|
class Uri {
|
|
getAuthParams(): string;
|
|
getFlags(): AuGlibEx.UriFlags;
|
|
getFragment(): string;
|
|
getHost(): string;
|
|
getPassword(): string;
|
|
getPath(): string;
|
|
getPort(): number;
|
|
getQuery(): string;
|
|
getScheme(): string;
|
|
getUser(): string;
|
|
getUserinfo(): string;
|
|
parseRelative(uriRef: string, flags: AuGlibEx.UriFlags): AuGlibEx.Uri;
|
|
toStringPartial(flags: AuGlibEx.UriHideFlags): string;
|
|
static Build(flags: AuGlibEx.UriFlags, scheme: string, userinfo: string | undefined | null, host: string | undefined | null, port: number, path: string, query: string | undefined | null, fragment: string | undefined | null): AuGlibEx.Uri;
|
|
static BuildWithUser(flags: AuGlibEx.UriFlags, scheme: string, user: string | undefined | null, password: string | undefined | null, authParams: string | undefined | null, host: string | undefined | null, port: number, path: string, query: string | undefined | null, fragment: string | undefined | null): AuGlibEx.Uri;
|
|
static ErrorQuark(): number;
|
|
static EscapeBytes(unescaped: number[], length: number | bigint, reservedCharsAllowed: string | undefined | null): string;
|
|
static EscapeString(unescaped: string, reservedCharsAllowed: string | undefined | null, allowUtf8: boolean): string;
|
|
static IsValid(uriString: string, flags: AuGlibEx.UriFlags): boolean;
|
|
static Join(flags: AuGlibEx.UriFlags, scheme: string | undefined | null, userinfo: string | undefined | null, host: string | undefined | null, port: number, path: string, query: string | undefined | null, fragment: string | undefined | null): string;
|
|
static JoinWithUser(flags: AuGlibEx.UriFlags, scheme: string | undefined | null, user: string | undefined | null, password: string | undefined | null, authParams: string | undefined | null, host: string | undefined | null, port: number, path: string, query: string | undefined | null, fragment: string | undefined | null): string;
|
|
static ListExtractUris(uriList: string): string[];
|
|
static Parse(uriString: string, flags: AuGlibEx.UriFlags): AuGlibEx.Uri;
|
|
static ParseParams(params: string, length: number | bigint, separators: string, flags: AuGlibEx.UriParamsFlags): number;
|
|
static ParseScheme(uri: string): string;
|
|
static PeekScheme(uri: string): string;
|
|
static ResolveRelative(baseUriString: string | undefined | null, uriRef: string, flags: AuGlibEx.UriFlags): string;
|
|
static Split(uriRef: string, flags: AuGlibEx.UriFlags, scheme ?: string | undefined | null, userinfo ?: string | undefined | null, host ?: string | undefined | null, port ?: number, path ?: string, query ?: string | undefined | null, fragment ?: string | undefined | null): boolean;
|
|
static SplitNetwork(uriString: string, flags: AuGlibEx.UriFlags, scheme ?: string | undefined | null, host ?: string | undefined | null, port ?: number): boolean;
|
|
static SplitWithUser(uriRef: string, flags: AuGlibEx.UriFlags, scheme ?: string | undefined | null, user ?: string | undefined | null, password ?: string | undefined | null, authParams ?: string | undefined | null, host ?: string | undefined | null, port ?: number, path ?: string, query ?: string | undefined | null, fragment ?: string | undefined | null): boolean;
|
|
static UnescapeBytes(escapedString: string, length: number | bigint, illegalCharacters: string | undefined | null): AuGlibEx.Bytes;
|
|
static UnescapeSegment(escapedString: string | undefined | null, escapedStringEnd: string | undefined | null, illegalCharacters: string | undefined | null): string;
|
|
static UnescapeString(escapedString: string, illegalCharacters: string | undefined | null): string;
|
|
}
|
|
|
|
class UriParamsIter {
|
|
dummy0 : number;
|
|
dummy1 : void;
|
|
dummy2 : void;
|
|
dummy3 : number[];
|
|
|
|
init(params: string, length: number | bigint, separators: string, flags: AuGlibEx.UriParamsFlags): void;
|
|
next(attribute ?: string | undefined | null, value ?: string | undefined | null): boolean;
|
|
}
|
|
|
|
class Variant {
|
|
static NewArray(childType: AuGlibEx.VariantType | undefined | null, children: AuGlibEx.Variant[] | undefined | null, nChildren: number | bigint): AuGlibEx.Variant;
|
|
static NewBoolean(value: boolean): AuGlibEx.Variant;
|
|
static NewByte(value: number): AuGlibEx.Variant;
|
|
static NewBytestring(string: number[]): AuGlibEx.Variant;
|
|
static NewBytestringArray(strv: string[], length: number | bigint): AuGlibEx.Variant;
|
|
static NewDictEntry(key: AuGlibEx.Variant, value: AuGlibEx.Variant): AuGlibEx.Variant;
|
|
static NewDouble(value: number): AuGlibEx.Variant;
|
|
static NewFixedArray(elementType: AuGlibEx.VariantType, nElements: number | bigint, elementSize: number | bigint): AuGlibEx.Variant;
|
|
static NewFromBytes(type: AuGlibEx.VariantType, bytes: AuGlibEx.Bytes, trusted: boolean): AuGlibEx.Variant;
|
|
static NewFromData(type: AuGlibEx.VariantType, data: number[], size: number | bigint, trusted: boolean, notify: () => void): AuGlibEx.Variant;
|
|
static NewHandle(value: number): AuGlibEx.Variant;
|
|
static NewInt16(value: number): AuGlibEx.Variant;
|
|
static NewInt32(value: number): AuGlibEx.Variant;
|
|
static NewInt64(value: number | bigint): AuGlibEx.Variant;
|
|
static NewMaybe(childType: AuGlibEx.VariantType | undefined | null, child: AuGlibEx.Variant | undefined | null): AuGlibEx.Variant;
|
|
static NewObjectPath(objectPath: string): AuGlibEx.Variant;
|
|
static NewObjv(strv: string[], length: number | bigint): AuGlibEx.Variant;
|
|
static NewSignature(signature: string): AuGlibEx.Variant;
|
|
static NewString(string: string): AuGlibEx.Variant;
|
|
static NewStrv(strv: string[], length: number | bigint): AuGlibEx.Variant;
|
|
static NewTuple(children: AuGlibEx.Variant[], nChildren: number | bigint): AuGlibEx.Variant;
|
|
static NewUint16(value: number): AuGlibEx.Variant;
|
|
static NewUint32(value: number): AuGlibEx.Variant;
|
|
static NewUint64(value: number | bigint): AuGlibEx.Variant;
|
|
static NewVariant(value: AuGlibEx.Variant): AuGlibEx.Variant;
|
|
byteswap(): AuGlibEx.Variant;
|
|
checkFormatString(formatString: string, copyOnly: boolean): boolean;
|
|
classify(): AuGlibEx.VariantClass;
|
|
compare(two: AuGlibEx.Variant): number;
|
|
dupBytestring(length ?: number | bigint): number[];
|
|
dupBytestringArray(length ?: number | bigint): string[];
|
|
dupObjv(length ?: number | bigint): string[];
|
|
dupString(length: number | bigint): string;
|
|
dupStrv(length ?: number | bigint): string[];
|
|
equal(two: AuGlibEx.Variant): boolean;
|
|
getBoolean(): boolean;
|
|
getByte(): number;
|
|
getBytestring(): number[];
|
|
getBytestringArray(length ?: number | bigint): string[];
|
|
getChildValue(index: number | bigint): AuGlibEx.Variant;
|
|
getData(): void;
|
|
getDataAsBytes(): AuGlibEx.Bytes;
|
|
getDouble(): number;
|
|
getHandle(): number;
|
|
getInt16(): number;
|
|
getInt32(): number;
|
|
getInt64(): number | bigint;
|
|
getMaybe(): AuGlibEx.Variant;
|
|
getNormalForm(): AuGlibEx.Variant;
|
|
getObjv(length ?: number | bigint): string[];
|
|
getSize(): number | bigint;
|
|
getString(length ?: number | bigint): string;
|
|
getStrv(length ?: number | bigint): string[];
|
|
getType(): AuGlibEx.VariantType;
|
|
getTypeString(): string;
|
|
getUint16(): number;
|
|
getUint32(): number;
|
|
getUint64(): number | bigint;
|
|
getVariant(): AuGlibEx.Variant;
|
|
hash(): number;
|
|
isContainer(): boolean;
|
|
isFloating(): boolean;
|
|
isNormalForm(): boolean;
|
|
isOfType(type: AuGlibEx.VariantType): boolean;
|
|
lookupValue(key: string, expectedType: AuGlibEx.VariantType | undefined | null): AuGlibEx.Variant;
|
|
nChildren(): number | bigint;
|
|
print(typeAnnotate: boolean): string;
|
|
ref(): AuGlibEx.Variant;
|
|
refSink(): AuGlibEx.Variant;
|
|
store(): void;
|
|
takeRef(): AuGlibEx.Variant;
|
|
unref(): void;
|
|
static IsObjectPath(string: string): boolean;
|
|
static IsSignature(string: string): boolean;
|
|
static Parse(type: AuGlibEx.VariantType | undefined | null, text: string, limit: string | undefined | null, endptr: string | undefined | null): AuGlibEx.Variant;
|
|
static ParseErrorPrintContext(error: AuGlibEx.Error, sourceStr: string): string;
|
|
static ParseErrorQuark(): number;
|
|
static ParserGetErrorQuark(): number;
|
|
}
|
|
|
|
class VariantBuilder {
|
|
static New(type: AuGlibEx.VariantType): AuGlibEx.VariantBuilder;
|
|
addValue(value: AuGlibEx.Variant): void;
|
|
close(): void;
|
|
end(): AuGlibEx.Variant;
|
|
open(type: AuGlibEx.VariantType): void;
|
|
ref(): AuGlibEx.VariantBuilder;
|
|
unref(): void;
|
|
}
|
|
|
|
class VariantDict {
|
|
static New(fromAsv: AuGlibEx.Variant | undefined | null): AuGlibEx.VariantDict;
|
|
clear(): void;
|
|
contains(key: string): boolean;
|
|
end(): AuGlibEx.Variant;
|
|
insertValue(key: string, value: AuGlibEx.Variant): void;
|
|
lookupValue(key: string, expectedType: AuGlibEx.VariantType | undefined | null): AuGlibEx.Variant;
|
|
ref(): AuGlibEx.VariantDict;
|
|
remove(key: string): boolean;
|
|
unref(): void;
|
|
}
|
|
|
|
class VariantType {
|
|
static New(typeString: string): AuGlibEx.VariantType;
|
|
static NewArray(element: AuGlibEx.VariantType): AuGlibEx.VariantType;
|
|
static NewDictEntry(key: AuGlibEx.VariantType, value: AuGlibEx.VariantType): AuGlibEx.VariantType;
|
|
static NewMaybe(element: AuGlibEx.VariantType): AuGlibEx.VariantType;
|
|
static NewTuple(items: AuGlibEx.VariantType[], length: number): AuGlibEx.VariantType;
|
|
copy(): AuGlibEx.VariantType;
|
|
dupString(): string;
|
|
element(): AuGlibEx.VariantType;
|
|
equal(type2: AuGlibEx.VariantType): boolean;
|
|
first(): AuGlibEx.VariantType;
|
|
free(): void;
|
|
getStringLength(): number | bigint;
|
|
hash(): number;
|
|
isArray(): boolean;
|
|
isBasic(): boolean;
|
|
isContainer(): boolean;
|
|
isDefinite(): boolean;
|
|
isDictEntry(): boolean;
|
|
isMaybe(): boolean;
|
|
isSubtypeOf(supertype: AuGlibEx.VariantType): boolean;
|
|
isTuple(): boolean;
|
|
isVariant(): boolean;
|
|
key(): AuGlibEx.VariantType;
|
|
nItems(): number | bigint;
|
|
next(): AuGlibEx.VariantType;
|
|
value(): AuGlibEx.VariantType;
|
|
static Checked(arg0: string): AuGlibEx.VariantType;
|
|
static StringGetDepth(typeString: string): number | bigint;
|
|
static StringIsValid(typeString: string): boolean;
|
|
static StringScan(string: string, limit: string | undefined | null, endptr ?: string): boolean;
|
|
}
|
|
|
|
} |