flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josebarra...@apache.org
Subject [14/50] git commit: [flex-falcon] [refs/heads/maven] - If a variable is of type Class, emit JSDoc for Object instead
Date Fri, 28 Feb 2014 09:48:11 GMT
If a variable is of type Class, emit JSDoc for Object instead


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/30fd603a
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/30fd603a
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/30fd603a

Branch: refs/heads/maven
Commit: 30fd603a26729d678d5404888d8be0fb4053b93c
Parents: a9269fb
Author: Alex Harui <aharui@apache.org>
Authored: Wed Dec 4 22:07:17 2013 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Dec 4 22:07:17 2013 -0800

----------------------------------------------------------------------
 .../flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/30fd603a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
index 8c8212a..915265a 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogDocEmitter.java
@@ -454,6 +454,8 @@ public class JSGoogDocEmitter extends JSDocEmitter implements IJSGoogDocEmitter
 
         if (name.equals(""))
             result = ASEmitterTokens.ANY_TYPE.getToken();
+        else if (name.equals(IASLanguageConstants.Class))
+            result = IASLanguageConstants.Object;
         else if (name.equals(IASLanguageConstants.Boolean)
                 || name.equals(IASLanguageConstants.String)
                 || name.equals(IASLanguageConstants.Number))


Mime
View raw message