diff options
author | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 06:13:42 +0000 |
---|---|---|
committer | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 06:13:42 +0000 |
commit | 3d476cf047d6a463d5706f70bfdf5e3787f863ee (patch) | |
tree | a14f7c154461bcd0f130998e208f4797ff97727c /o3d/plugin/o3d_binding.py | |
parent | 16782af93aa5c1fe71bdf90b1d256c410d53bd2a (diff) | |
download | chromium_src-3d476cf047d6a463d5706f70bfdf5e3787f863ee.zip chromium_src-3d476cf047d6a463d5706f70bfdf5e3787f863ee.tar.gz chromium_src-3d476cf047d6a463d5706f70bfdf5e3787f863ee.tar.bz2 |
Undoing gcl bug damage
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin/o3d_binding.py')
-rw-r--r-- | o3d/plugin/o3d_binding.py | 16 |
1 files changed, 1 insertions, 15 deletions
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('') |