This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit 7e131954195e5138f307236060f4f1c3ed307f1f
Author: Josh Tynjala <[email protected]>
AuthorDate: Mon Feb 4 10:30:07 2019 -0800

    FieldEmitter: added a description to help indicate that it is for member 
and static variables of a class and pointed to VarDeclarationEmitter and 
AccsesorEmitter for similar things
---
 .../apache/royale/compiler/internal/codegen/js/jx/FieldEmitter.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/FieldEmitter.java
 
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/FieldEmitter.java
index efb7c9f..1b1d07c 100644
--- 
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/FieldEmitter.java
+++ 
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/FieldEmitter.java
@@ -45,6 +45,10 @@ import org.apache.royale.compiler.tree.as.IVariableNode;
 import org.apache.royale.compiler.tree.metadata.IMetaTagNode;
 import org.apache.royale.compiler.tree.metadata.IMetaTagsNode;
 
+/**
+ * Static or member variables of a class. For local variables in a function, 
see
+ * VarDeclarationEmitter. For accessors, see AccessorEmitter.
+ */
 public class FieldEmitter extends JSSubEmitter implements
         ISubEmitter<IVariableNode>
 {
@@ -278,7 +282,7 @@ public class FieldEmitter extends JSSubEmitter implements
                    write(vnodeString);
                    write(ASEmitterTokens.SEMICOLON);
                 return true;
-               }
+            }
         }
 
         return false;

Reply via email to