projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b07d335
)
JSDOC/Introspect/Method.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 09:36:38 +0000
(17:36 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 09:36:38 +0000
(17:36 +0800)
JSDOC/Introspect/Method.js
patch
|
blob
|
history
diff --git
a/JSDOC/Introspect/Method.js
b/JSDOC/Introspect/Method.js
index
0d2043f
..
942ef12
100644
(file)
--- a/
JSDOC/Introspect/Method.js
+++ b/
JSDOC/Introspect/Method.js
@@
-10,12
+10,7
@@
NameSpace = imports.NameSpace.NameSpace;
Base = imports.Base.Base;
Base = imports.Base.Base;
-
-imports['Object.js'].load(Object);
-
-console = imports['console.js'].console;
-
-
+
Introspect = imports['JSDOC/Introspect.js'].Introspect;
Basic = imports['JSDOC/Introspect/Basic.js'].Basic;
/**
Introspect = imports['JSDOC/Introspect.js'].Introspect;
Basic = imports['JSDOC/Introspect/Basic.js'].Basic;
/**
@@
-45,7
+40,7
@@
Method = XObject.define(
var retval = [ {
name : 0,
type : this.typeToName(GI.callable_info_get_return_type(m)),
var retval = [ {
name : 0,
type : this.typeToName(GI.callable_info_get_return_type(m)),
- desc :
Introspect
.doc(memberOf.alias + '.' + n_original + '.return-value')
+ desc :
NameSpace
.doc(memberOf.alias + '.' + n_original + '.return-value')
} ];
} ];
@@
-55,7
+50,7
@@
Method = XObject.define(
if ((n == 'c_new') && !args.length && memberOf.constructors.length) {
if ((n == 'c_new') && !args.length && memberOf.constructors.length) {
- memberOf.constructors[0].doc =
Introspect
.doc(memberOf.alias + '.' + n_original);
+ memberOf.constructors[0].doc =
NameSpace
.doc(memberOf.alias + '.' + n_original);
return false; // skip.
}
return false; // skip.
}
@@
-78,13
+73,13
@@
Method = XObject.define(
isStatic : !(flags & GI.IFunctionInfoFlags.IS_METHOD),
memberOf : memberOf.alias,
exceptions : [],
isStatic : !(flags & GI.IFunctionInfoFlags.IS_METHOD),
memberOf : memberOf.alias,
exceptions : [],
- desc :
Introspect
.doc(memberOf.alias + '.' + n_original)
+ desc :
NameSpace
.doc(memberOf.alias + '.' + n_original)
});
// add descriptions to the arguments..
this.params.map(function(p) {
});
// add descriptions to the arguments..
this.params.map(function(p) {
- p.desc =
Introspect
.doc(memberOf.alias + '.' + n_original + '.' + p.name);
+ p.desc =
NameSpace
.doc(memberOf.alias + '.' + n_original + '.' + p.name);
//Seed.print(memberOf.alias + '.' + n_original + '.' + p.name + ':' + p.desc);
});
//Seed.print(memberOf.alias + '.' + n_original + '.' + p.name + ':' + p.desc);
});
@@
-104,8
+99,8
@@
Method = XObject.define(
-
Introspect.references[ty] = Introspect
.references[ty] || [];
-
Introspect
.references[ty].push(this);
+
NameSpace.references[ty] = NameSpace
.references[ty] || [];
+
NameSpace
.references[ty].push(this);
addedto.push(ty);
}
addedto.push(ty);
}
@@
-134,8
+129,8
@@
Method = XObject.define(
-
Introspect.references[ty] = Introspect
.references[ty] || [];
-
Introspect
.references[ty].push(this);
+
NameSpace.references[ty] = NameSpace
.references[ty] || [];
+
NameSpace
.references[ty].push(this);
addedto.push(ty);
}
addedto.push(ty);
}