You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/09/06 03:30:42 UTC
[royale-compiler] branch develop updated: handle a few more node
types as regular instances (at least for now)
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/develop by this push:
new e7d7a0f handle a few more node types as regular instances (at least for now)
e7d7a0f is described below
commit e7d7a0f5f04afa37d51cf7d2bb34884038f251b4
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Sep 5 20:29:56 2018 -0700
handle a few more node types as regular instances (at least for now)
---
.../royale/compiler/internal/visitor/mxml/MXMLNodeSwitch.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/visitor/mxml/MXMLNodeSwitch.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/visitor/mxml/MXMLNodeSwitch.java
index d15fcb3..24b317e 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/visitor/mxml/MXMLNodeSwitch.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/visitor/mxml/MXMLNodeSwitch.java
@@ -101,6 +101,7 @@ public class MXMLNodeSwitch implements IASNodeStrategy
case MXMLNumberID:
visitor.visitNumber((IMXMLNumberNode) node);
break;
+ case MXMLEffectSpecifierID:
case MXMLPropertySpecifierID:
visitor.visitPropertySpecifier((IMXMLPropertySpecifierNode) node);
break;
@@ -151,6 +152,8 @@ public class MXMLNodeSwitch implements IASNodeStrategy
break;
case MXMLHTTPServiceID:
case MXMLXMLID:
+ case MXMLXMLListID:
+ case MXMLFunctionID:
visitor.visitInstance((IMXMLInstanceNode) node);
break;
case MXMLApplicationID:
@@ -162,8 +165,6 @@ public class MXMLNodeSwitch implements IASNodeStrategy
case MXMLDateID:
case MXMLDefinitionID:
case MXMLDesignLayerID:
- case MXMLEffectSpecifierID:
- case MXMLFunctionID:
case MXMLHTTPServiceRequestID:
case MXMLLibraryID:
case MXMLModelID:
@@ -178,7 +179,6 @@ public class MXMLNodeSwitch implements IASNodeStrategy
case MXMLResourceID:
case MXMLWebServiceID:
case MXMLWebServiceOperationID:
- case MXMLXMLListID:
default:
throw new IllegalArgumentException(
"No handler specified for nodes of type '"