Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/bindings/nsIScriptError.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIScriptErrorNote",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute AString errorMessage; */
Method {
name: "GetErrorMessage",
params: &[Param { name: "aErrorMessage", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString sourceName; */
Method {
name: "GetSourceName",
params: &[Param { name: "aSourceName", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute uint32_t sourceId; */
Method {
name: "GetSourceId",
params: &[Param { name: "aSourceId", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* readonly attribute uint32_t lineNumber; */
Method {
name: "GetLineNumber",
params: &[Param { name: "aLineNumber", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* readonly attribute uint32_t columnNumber; */
Method {
name: "GetColumnNumber",
params: &[Param { name: "aColumnNumber", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* AUTF8String toString (); */
Method {
name: "ToString",
params: &[Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIScriptError",
base: Some("nsIConsoleMessage"),
sync: false,
methods: Err("special type jsval unsupported"),
},
]; D}