From 3d476cf047d6a463d5706f70bfdf5e3787f863ee Mon Sep 17 00:00:00 2001 From: "gman@google.com" Date: Wed, 17 Jun 2009 06:13:42 +0000 Subject: Undoing gcl bug damage git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18598 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/plugin/o3d_binding.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'o3d/plugin/o3d_binding.py') diff --git a/o3d/plugin/o3d_binding.py b/o3d/plugin/o3d_binding.py index c0ae572..7d7490c 100644 --- a/o3d/plugin/o3d_binding.py +++ b/o3d/plugin/o3d_binding.py @@ -28,6 +28,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + """o3d binding model module. This module implements the glue functions for the o3d binding model, binding @@ -299,21 +300,6 @@ def CppGetStatic(scope, type_defn, field): cpp_utils.GetGetterName(field)) -def JSDocTypeString(type_defn): - """Gets the representation of a type in JSDoc notation. - - Args: - type_defn: a Definition for the type. - - Returns: - a string that is the JSDoc notation of type_defn. - """ - type_defn = type_defn.GetFinalType() - type_stack = type_defn.GetParentScopeStack() - name = type_defn.name - return '!' + '.'.join([s.name for s in type_stack[1:]] + [name]) - - _binding_glue_header_template = string.Template('') -- cgit v1.1