summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkohnlein2008-03-12 05:54:12 (EDT)
committerjkohnlein2008-03-12 05:54:12 (EDT)
commit867e7ea7f99a584380bce866e64f785801df3b08 (patch)
tree717a8d72d7b39376a2d0d62752c7c6bac6916f32
parent2062d73c6077794652c2c6c98db483295a1ee887 (diff)
downloadorg.eclipse.xpand-867e7ea7f99a584380bce866e64f785801df3b08.zip
org.eclipse.xpand-867e7ea7f99a584380bce866e64f785801df3b08.tar.gz
org.eclipse.xpand-867e7ea7f99a584380bce866e64f785801df3b08.tar.bz2
- transformation of xpand statements complete
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AdditiveExpressionNode.java61
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionAroundNode.java115
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionNode.java83
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseIfStatementNode.java61
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseStatementNode.java34
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ErrorStatementNode.java34
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpandStatementNode.java115
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionStmtNode.java34
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionImportNode.java81
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionNode.java12
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FeatureCallNode.java31
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileNode.java26
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileStatementNode.java88
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ForeachStatementNode.java142
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfStatementNode.java106
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImportNode.java81
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/InfixExpressionNode.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetStatementNode.java88
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/MultiplicativeExpressionNode.java61
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NsImportNode.java33
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ProtectStatementNode.java115
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalExpressionNode.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SequenceNode.java42
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextSequenceNode.java25
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/UnaryExpressionNode.java34
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodeFactory.java20
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodePackage.java2084
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AdditiveExpressionNodeImpl.java176
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionAroundNodeImpl.java294
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionNodeImpl.java180
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseIfStatementNodeImpl.java176
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseStatementNodeImpl.java117
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ErrorStatementNodeImpl.java117
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpandStatementNodeImpl.java294
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionStmtNodeImpl.java117
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionImportNodeImpl.java223
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionNodeImpl.java172
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FeatureCallNodeImpl.java88
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileNodeImpl.java70
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileStatementNodeImpl.java235
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ForeachStatementNodeImpl.java353
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfStatementNodeImpl.java272
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImportNodeImpl.java223
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/InfixExpressionNodeImpl.java36
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetStatementNodeImpl.java235
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/MultiplicativeExpressionNodeImpl.java176
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NsImportNodeImpl.java163
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ProtectStatementNodeImpl.java294
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalExpressionNodeImpl.java38
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SequenceNodeImpl.java125
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextSequenceNodeImpl.java92
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/UnaryExpressionNodeImpl.java117
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/XNodeImpl.java163
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodeFactoryImpl.java24
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodePackageImpl.java636
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeAdapterFactory.java32
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeSwitch.java46
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/AdditiveExpressionNodeValidator.java8
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionAroundNodeValidator.java12
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionNodeValidator.java8
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseIfStatementNodeValidator.java8
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseStatementNodeValidator.java6
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ErrorStatementNodeValidator.java6
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpandStatementNodeValidator.java12
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpressionStmtNodeValidator.java6
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExtensionImportNodeValidator.java22
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FeatureCallNodeValidator.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileNodeValidator.java6
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileStatementNodeValidator.java10
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ForeachStatementNodeValidator.java14
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/IfStatementNodeValidator.java15
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ImportNodeValidator.java22
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/LetStatementNodeValidator.java10
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/MultiplicativeExpressionNodeValidator.java8
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ProtectStatementNodeValidator.java12
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/SequenceNodeValidator.java9
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/TextSequenceNodeValidator.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/UnaryExpressionNodeValidator.java6
-rw-r--r--plugins/org.eclipse.xpand3.parser/model/Xpand3Node.ecore176
-rw-r--r--plugins/org.eclipse.xpand3.parser/model/Xpand3Node.tmf97
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/AbstractXpand3NodeSwitch.java809
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3Node.g155
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3Node.tokens147
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3NodeLexer.java3130
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3NodeParser.java6198
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3Node__.g191
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/debugMeWithAntLR.g146
-rw-r--r--plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/ChildrenAliasIterator.java54
-rw-r--r--plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/ChildrenRuleIterator.java55
-rw-r--r--plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/Node2AstTransformer.java438
-rw-r--r--plugins/org.eclipse.xpand3.parser/text/description.txt76
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/ExpressionFactory.java11
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/ExpressionPackage.java134
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/UnaryOperation.java81
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/impl/ExpressionFactoryImpl.java13
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/impl/ExpressionPackageImpl.java46
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/impl/UnaryOperationImpl.java241
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/util/ExpressionAdapterFactory.java20
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/util/ExpressionSwitch.java25
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/validation/UnaryOperationValidator.java24
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/FileStatement.java29
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/ForEachStatement.java24
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/IfStatement.java29
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/StatementPackage.java80
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/impl/FileStatementImpl.java70
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/impl/ForEachStatementImpl.java58
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/impl/IfStatementImpl.java62
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/impl/StatementPackageImpl.java32
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/validation/FileStatementValidator.java4
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/statement/validation/ForEachStatementValidator.java4
-rw-r--r--plugins/org.eclipse.xpand3/src/xpand3.ecore9
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/AbstractXpand3NodeParserTest.java21
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/StatementParserTest.java19
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/Xpand3MigratedNodeParserTest.java51
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/node2ast/NewTemplateFile.xpt0
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/node2ast/TreetestInterpreterTest.java117
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/node2ast/statement.ttst225
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/node2ast/test.ttst36
118 files changed, 15125 insertions, 7121 deletions
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AdditiveExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AdditiveExpressionNode.java
index 2afab0a..956ab7b 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AdditiveExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AdditiveExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: AdditiveExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: AdditiveExpressionNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,69 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Additive Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getLeft <em>Left</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getRight <em>Right</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getAdditiveExpressionNode()
* @model
* @generated
*/
public interface AdditiveExpressionNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Right</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Right</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Right</em>' reference.
+ * @see #setRight(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getAdditiveExpressionNode_Right()
+ * @model
+ * @generated
+ */
+ CompositeNode getRight();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getRight <em>Right</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Right</em>' reference.
+ * @see #getRight()
+ * @generated
+ */
+ void setRight(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Left</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Left</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Left</em>' reference.
+ * @see #setLeft(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getAdditiveExpressionNode_Left()
+ * @model
+ * @generated
+ */
+ CompositeNode getLeft();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getLeft <em>Left</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Left</em>' reference.
+ * @see #getLeft()
+ * @generated
+ */
+ void setLeft(CompositeNode value);
} // AdditiveExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionAroundNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionAroundNode.java
index 4792c07..1a863e2 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionAroundNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionAroundNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DefinitionAroundNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: DefinitionAroundNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,123 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Definition Around Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getPointcut <em>Pointcut</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getParamList <em>Param List</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getSequence <em>Sequence</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDefinitionAroundNode()
* @model
* @generated
*/
public interface DefinitionAroundNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' reference.
+ * @see #setType(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDefinitionAroundNode_Type()
+ * @model
+ * @generated
+ */
+ CompositeNode getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getType <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Pointcut</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pointcut</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Pointcut</em>' reference.
+ * @see #setPointcut(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDefinitionAroundNode_Pointcut()
+ * @model
+ * @generated
+ */
+ CompositeNode getPointcut();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getPointcut <em>Pointcut</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Pointcut</em>' reference.
+ * @see #getPointcut()
+ * @generated
+ */
+ void setPointcut(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Param List</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Param List</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Param List</em>' reference.
+ * @see #setParamList(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDefinitionAroundNode_ParamList()
+ * @model
+ * @generated
+ */
+ CompositeNode getParamList();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getParamList <em>Param List</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Param List</em>' reference.
+ * @see #getParamList()
+ * @generated
+ */
+ void setParamList(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' reference.
+ * @see #setSequence(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDefinitionAroundNode_Sequence()
+ * @model
+ * @generated
+ */
+ CompositeNode getSequence();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getSequence <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
+ * @generated
+ */
+ void setSequence(CompositeNode value);
} // DefinitionAroundNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionNode.java
index f38dd73..103859f 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DefinitionNode.java,v 1.3 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: DefinitionNode.java,v 1.4 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -17,6 +17,9 @@ import org.eclipse.tmf.common.node.CompositeNode;
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getParamList <em>Param List</em>}</li>
* </ul>
* </p>
*
@@ -26,6 +29,58 @@ import org.eclipse.tmf.common.node.CompositeNode;
*/
public interface DefinitionNode extends CompositeNode {
/**
+ * Returns the value of the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' reference.
+ * @see #setType(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDefinitionNode_Type()
+ * @model
+ * @generated
+ */
+ CompositeNode getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getType <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' reference.
+ * @see #setSequence(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDefinitionNode_Sequence()
+ * @model
+ * @generated
+ */
+ CompositeNode getSequence();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getSequence <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
+ * @generated
+ */
+ void setSequence(CompositeNode value);
+
+ /**
* Returns the value of the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
@@ -51,4 +106,30 @@ public interface DefinitionNode extends CompositeNode {
*/
void setName(CompositeNode value);
+ /**
+ * Returns the value of the '<em><b>Param List</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Param List</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Param List</em>' reference.
+ * @see #setParamList(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDefinitionNode_ParamList()
+ * @model
+ * @generated
+ */
+ CompositeNode getParamList();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getParamList <em>Param List</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Param List</em>' reference.
+ * @see #getParamList()
+ * @generated
+ */
+ void setParamList(CompositeNode value);
+
} // DefinitionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseIfStatementNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseIfStatementNode.java
index c3b6e40..1f74ffe 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseIfStatementNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseIfStatementNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ElseIfStatementNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: ElseIfStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,69 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Else If Statement Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode#getExpression <em>Expression</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getElseIfStatementNode()
* @model
* @generated
*/
public interface ElseIfStatementNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' reference.
+ * @see #setSequence(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getElseIfStatementNode_Sequence()
+ * @model
+ * @generated
+ */
+ CompositeNode getSequence();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode#getSequence <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
+ * @generated
+ */
+ void setSequence(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression</em>' reference.
+ * @see #setExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getElseIfStatementNode_Expression()
+ * @model
+ * @generated
+ */
+ CompositeNode getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode#getExpression <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' reference.
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(CompositeNode value);
} // ElseIfStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseStatementNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseStatementNode.java
index 78f05e0..32d583e 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseStatementNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseStatementNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ElseStatementNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: ElseStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,42 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Else Statement Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseStatementNode#getSequence <em>Sequence</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getElseStatementNode()
* @model
* @generated
*/
public interface ElseStatementNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' reference.
+ * @see #setSequence(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getElseStatementNode_Sequence()
+ * @model
+ * @generated
+ */
+ CompositeNode getSequence();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseStatementNode#getSequence <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
+ * @generated
+ */
+ void setSequence(CompositeNode value);
} // ElseStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ErrorStatementNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ErrorStatementNode.java
index d494757..a96a495 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ErrorStatementNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ErrorStatementNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ErrorStatementNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ErrorStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,42 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Error Statement Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ErrorStatementNode#getExpression <em>Expression</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getErrorStatementNode()
* @model
* @generated
*/
public interface ErrorStatementNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression</em>' reference.
+ * @see #setExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getErrorStatementNode_Expression()
+ * @model
+ * @generated
+ */
+ CompositeNode getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ErrorStatementNode#getExpression <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' reference.
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(CompositeNode value);
} // ErrorStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpandStatementNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpandStatementNode.java
index 2443387..58789dc 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpandStatementNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpandStatementNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ExpandStatementNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: ExpandStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,123 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Expand Statement Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getSeparator <em>Separator</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getParamList <em>Param List</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getForExpression <em>For Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExpandStatementNode()
* @model
* @generated
*/
public interface ExpandStatementNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Separator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Separator</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Separator</em>' reference.
+ * @see #setSeparator(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExpandStatementNode_Separator()
+ * @model
+ * @generated
+ */
+ CompositeNode getSeparator();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getSeparator <em>Separator</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Separator</em>' reference.
+ * @see #getSeparator()
+ * @generated
+ */
+ void setSeparator(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Param List</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Param List</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Param List</em>' reference.
+ * @see #setParamList(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExpandStatementNode_ParamList()
+ * @model
+ * @generated
+ */
+ CompositeNode getParamList();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getParamList <em>Param List</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Param List</em>' reference.
+ * @see #getParamList()
+ * @generated
+ */
+ void setParamList(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>For Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>For Expression</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>For Expression</em>' reference.
+ * @see #setForExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExpandStatementNode_ForExpression()
+ * @model
+ * @generated
+ */
+ CompositeNode getForExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getForExpression <em>For Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>For Expression</em>' reference.
+ * @see #getForExpression()
+ * @generated
+ */
+ void setForExpression(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' reference.
+ * @see #setName(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExpandStatementNode_Name()
+ * @model
+ * @generated
+ */
+ CompositeNode getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getName <em>Name</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' reference.
+ * @see #getName()
+ * @generated
+ */
+ void setName(CompositeNode value);
} // ExpandStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionStmtNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionStmtNode.java
index 076f8d3..f294ade 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionStmtNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionStmtNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ExpressionStmtNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: ExpressionStmtNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,42 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Expression Stmt Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpressionStmtNode#getExpression <em>Expression</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExpressionStmtNode()
* @model
* @generated
*/
public interface ExpressionStmtNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression</em>' reference.
+ * @see #setExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExpressionStmtNode_Expression()
+ * @model
+ * @generated
+ */
+ CompositeNode getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpressionStmtNode#getExpression <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' reference.
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(CompositeNode value);
} // ExpressionStmtNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionImportNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionImportNode.java
new file mode 100644
index 0000000..f005fc1
--- /dev/null
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionImportNode.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ExtensionImportNode.java,v 1.1 2008/03/12 09:54:12 jkohnlein Exp $
+ */
+package org.eclipse.xpand3.internal.parser.xpand3node;
+
+import org.eclipse.tmf.common.node.CompositeNode;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Extension Import Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode#getNamespace <em>Namespace</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionImportNode()
+ * @model
+ * @generated
+ */
+public interface ExtensionImportNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' reference.
+ * @see #setType(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionImportNode_Type()
+ * @model
+ * @generated
+ */
+ CompositeNode getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode#getType <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' reference.
+ * @see #setNamespace(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionImportNode_Namespace()
+ * @model
+ * @generated
+ */
+ CompositeNode getNamespace();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode#getNamespace <em>Namespace</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' reference.
+ * @see #getNamespace()
+ * @generated
+ */
+ void setNamespace(CompositeNode value);
+
+} // ExtensionImportNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionNode.java
index 510686b..416ec3c 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ExtensionNode.java,v 1.4 2008/03/07 11:11:12 jkohnlein Exp $
+ * $Id: ExtensionNode.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -17,15 +17,15 @@ import org.eclipse.tmf.common.node.LeafNode;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCached <em>Cached</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getParamList <em>Param List</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCreate <em>Create</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getPrivate <em>Private</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getExtendBody <em>Extend Body</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getReturnType <em>Return Type</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaName <em>Java Name</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaReturnType <em>Java Return Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCreate <em>Create</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaName <em>Java Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCached <em>Cached</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getExtendBody <em>Extend Body</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FeatureCallNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FeatureCallNode.java
index 611a1d4..c15daed 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FeatureCallNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FeatureCallNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: FeatureCallNode.java,v 1.4 2008/03/07 11:11:12 jkohnlein Exp $
+ * $Id: FeatureCallNode.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -16,8 +16,9 @@ import org.eclipse.tmf.common.node.CompositeNode;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getParamList <em>Param List</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -27,6 +28,32 @@ import org.eclipse.tmf.common.node.CompositeNode;
*/
public interface FeatureCallNode extends CompositeNode {
/**
+ * Returns the value of the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' reference.
+ * @see #setType(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFeatureCallNode_Type()
+ * @model
+ * @generated
+ */
+ CompositeNode getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getType <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(CompositeNode value);
+
+ /**
* Returns the value of the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileNode.java
index 4a38d4e..227e3a2 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: FileNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: FileNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -18,8 +18,8 @@ import org.eclipse.tmf.common.node.CompositeNode;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getImp <em>Imp</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getDecl <em>Decl</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getDeclarations <em>Declarations</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getImports <em>Imports</em>}</li>
* </ul>
* </p>
*
@@ -29,35 +29,35 @@ import org.eclipse.tmf.common.node.CompositeNode;
*/
public interface FileNode extends CompositeNode {
/**
- * Returns the value of the '<em><b>Decl</b></em>' reference list.
+ * Returns the value of the '<em><b>Declarations</b></em>' reference list.
* The list contents are of type {@link org.eclipse.tmf.common.node.CompositeNode}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Decl</em>' reference list isn't clear,
+ * If the meaning of the '<em>Declarations</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Decl</em>' reference list.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileNode_Decl()
+ * @return the value of the '<em>Declarations</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileNode_Declarations()
* @model
* @generated
*/
- EList<CompositeNode> getDecl();
+ EList<CompositeNode> getDeclarations();
/**
- * Returns the value of the '<em><b>Imp</b></em>' reference list.
+ * Returns the value of the '<em><b>Imports</b></em>' reference list.
* The list contents are of type {@link org.eclipse.tmf.common.node.CompositeNode}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Imp</em>' reference list isn't clear,
+ * If the meaning of the '<em>Imports</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Imp</em>' reference list.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileNode_Imp()
+ * @return the value of the '<em>Imports</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileNode_Imports()
* @model
* @generated
*/
- EList<CompositeNode> getImp();
+ EList<CompositeNode> getImports();
} // FileNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileStatementNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileStatementNode.java
index 49f3695..46f6f74 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileStatementNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileStatementNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: FileStatementNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: FileStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,96 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>File Statement Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getIdentifier <em>Identifier</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getNameExpression <em>Name Expression</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileStatementNode()
* @model
* @generated
*/
public interface FileStatementNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Name Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name Expression</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name Expression</em>' reference.
+ * @see #setNameExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileStatementNode_NameExpression()
+ * @model
+ * @generated
+ */
+ CompositeNode getNameExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getNameExpression <em>Name Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name Expression</em>' reference.
+ * @see #getNameExpression()
+ * @generated
+ */
+ void setNameExpression(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Identifier</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifier</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Identifier</em>' reference.
+ * @see #setIdentifier(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileStatementNode_Identifier()
+ * @model
+ * @generated
+ */
+ CompositeNode getIdentifier();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getIdentifier <em>Identifier</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Identifier</em>' reference.
+ * @see #getIdentifier()
+ * @generated
+ */
+ void setIdentifier(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' reference.
+ * @see #setSequence(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileStatementNode_Sequence()
+ * @model
+ * @generated
+ */
+ CompositeNode getSequence();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getSequence <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
+ * @generated
+ */
+ void setSequence(CompositeNode value);
} // FileStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ForeachStatementNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ForeachStatementNode.java
index f7449dd..9219fd2 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ForeachStatementNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ForeachStatementNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ForeachStatementNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ForeachStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,150 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Foreach Statement Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIterator <em>Iterator</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIdentifier <em>Identifier</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getForExpression <em>For Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSeparatorExpression <em>Separator Expression</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getForeachStatementNode()
* @model
* @generated
*/
public interface ForeachStatementNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Iterator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Iterator</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Iterator</em>' reference.
+ * @see #setIterator(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getForeachStatementNode_Iterator()
+ * @model
+ * @generated
+ */
+ CompositeNode getIterator();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIterator <em>Iterator</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Iterator</em>' reference.
+ * @see #getIterator()
+ * @generated
+ */
+ void setIterator(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Separator Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Separator Expression</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Separator Expression</em>' reference.
+ * @see #setSeparatorExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getForeachStatementNode_SeparatorExpression()
+ * @model
+ * @generated
+ */
+ CompositeNode getSeparatorExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSeparatorExpression <em>Separator Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Separator Expression</em>' reference.
+ * @see #getSeparatorExpression()
+ * @generated
+ */
+ void setSeparatorExpression(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Identifier</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Identifier</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Identifier</em>' reference.
+ * @see #setIdentifier(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getForeachStatementNode_Identifier()
+ * @model
+ * @generated
+ */
+ CompositeNode getIdentifier();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIdentifier <em>Identifier</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Identifier</em>' reference.
+ * @see #getIdentifier()
+ * @generated
+ */
+ void setIdentifier(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>For Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>For Expression</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>For Expression</em>' reference.
+ * @see #setForExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getForeachStatementNode_ForExpression()
+ * @model
+ * @generated
+ */
+ CompositeNode getForExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getForExpression <em>For Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>For Expression</em>' reference.
+ * @see #getForExpression()
+ * @generated
+ */
+ void setForExpression(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' reference.
+ * @see #setSequence(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getForeachStatementNode_Sequence()
+ * @model
+ * @generated
+ */
+ CompositeNode getSequence();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSequence <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
+ * @generated
+ */
+ void setSequence(CompositeNode value);
} // ForeachStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfStatementNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfStatementNode.java
index 85f8079..97fe359 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfStatementNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfStatementNode.java
@@ -2,10 +2,11 @@
* <copyright>
* </copyright>
*
- * $Id: IfStatementNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: IfStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.tmf.common.node.CompositeNode;
/**
@@ -13,10 +14,113 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>If Statement Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElseIf <em>Else If</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElse <em>Else</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getSequence <em>Sequence</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfStatementNode()
* @model
* @generated
*/
public interface IfStatementNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Else</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Else</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Else</em>' reference.
+ * @see #setElse(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfStatementNode_Else()
+ * @model
+ * @generated
+ */
+ CompositeNode getElse();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElse <em>Else</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Else</em>' reference.
+ * @see #getElse()
+ * @generated
+ */
+ void setElse(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression</em>' reference.
+ * @see #setExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfStatementNode_Expression()
+ * @model
+ * @generated
+ */
+ CompositeNode getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getExpression <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' reference.
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Else If</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.tmf.common.node.CompositeNode}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Else If</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Else If</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfStatementNode_ElseIf()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getElseIf();
+
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' reference.
+ * @see #setSequence(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfStatementNode_Sequence()
+ * @model
+ * @generated
+ */
+ CompositeNode getSequence();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getSequence <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
+ * @generated
+ */
+ void setSequence(CompositeNode value);
} // IfStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImportNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImportNode.java
new file mode 100644
index 0000000..f964f97
--- /dev/null
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImportNode.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ImportNode.java,v 1.1 2008/03/12 09:54:12 jkohnlein Exp $
+ */
+package org.eclipse.xpand3.internal.parser.xpand3node;
+
+import org.eclipse.tmf.common.node.CompositeNode;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Import Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ImportNode#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ImportNode#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getImportNode()
+ * @model
+ * @generated
+ */
+public interface ImportNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' reference.
+ * @see #setNamespace(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getImportNode_Namespace()
+ * @model
+ * @generated
+ */
+ CompositeNode getNamespace();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImportNode#getNamespace <em>Namespace</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' reference.
+ * @see #getNamespace()
+ * @generated
+ */
+ void setNamespace(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' reference.
+ * @see #setType(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getImportNode_Type()
+ * @model
+ * @generated
+ */
+ CompositeNode getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImportNode#getType <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(CompositeNode value);
+
+} // ImportNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/InfixExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/InfixExpressionNode.java
index 777978a..17b1216 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/InfixExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/InfixExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: InfixExpressionNode.java,v 1.4 2008/03/07 11:11:13 jkohnlein Exp $
+ * $Id: InfixExpressionNode.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -18,8 +18,8 @@ import org.eclipse.tmf.common.node.CompositeNode;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.InfixExpressionNode#getTarget <em>Target</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.InfixExpressionNode#getCalls <em>Calls</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.InfixExpressionNode#getTarget <em>Target</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetStatementNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetStatementNode.java
index 0137695..2fbad43 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetStatementNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetStatementNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: LetStatementNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: LetStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,96 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Let Statement Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getSequence <em>Sequence</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getLetStatementNode()
* @model
* @generated
*/
public interface LetStatementNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression</em>' reference.
+ * @see #setExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getLetStatementNode_Expression()
+ * @model
+ * @generated
+ */
+ CompositeNode getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getExpression <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' reference.
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' reference.
+ * @see #setName(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getLetStatementNode_Name()
+ * @model
+ * @generated
+ */
+ CompositeNode getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getName <em>Name</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' reference.
+ * @see #getName()
+ * @generated
+ */
+ void setName(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' reference.
+ * @see #setSequence(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getLetStatementNode_Sequence()
+ * @model
+ * @generated
+ */
+ CompositeNode getSequence();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getSequence <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
+ * @generated
+ */
+ void setSequence(CompositeNode value);
} // LetStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/MultiplicativeExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/MultiplicativeExpressionNode.java
index 8ae2364..b99b120 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/MultiplicativeExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/MultiplicativeExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: MultiplicativeExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: MultiplicativeExpressionNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,69 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Multiplicative Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getLeft <em>Left</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getRight <em>Right</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getMultiplicativeExpressionNode()
* @model
* @generated
*/
public interface MultiplicativeExpressionNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Left</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Left</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Left</em>' reference.
+ * @see #setLeft(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getMultiplicativeExpressionNode_Left()
+ * @model
+ * @generated
+ */
+ CompositeNode getLeft();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getLeft <em>Left</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Left</em>' reference.
+ * @see #getLeft()
+ * @generated
+ */
+ void setLeft(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Right</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Right</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Right</em>' reference.
+ * @see #setRight(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getMultiplicativeExpressionNode_Right()
+ * @model
+ * @generated
+ */
+ CompositeNode getRight();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getRight <em>Right</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Right</em>' reference.
+ * @see #getRight()
+ * @generated
+ */
+ void setRight(CompositeNode value);
} // MultiplicativeExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NsImportNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NsImportNode.java
index 25fb4b4..c92606c 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NsImportNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NsImportNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: NsImportNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: NsImportNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,42 +13,11 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Ns Import Node</b></em>'.
* <!-- end-user-doc -->
*
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode#getNs <em>Ns</em>}</li>
- * </ul>
- * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getNsImportNode()
* @model
* @generated
*/
public interface NsImportNode extends CompositeNode {
- /**
- * Returns the value of the '<em><b>Ns</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ns</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ns</em>' reference.
- * @see #setNs(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getNsImportNode_Ns()
- * @model
- * @generated
- */
- CompositeNode getNs();
-
- /**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode#getNs <em>Ns</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ns</em>' reference.
- * @see #getNs()
- * @generated
- */
- void setNs(CompositeNode value);
} // NsImportNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ProtectStatementNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ProtectStatementNode.java
index 370b43c..a215109 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ProtectStatementNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ProtectStatementNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ProtectStatementNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: ProtectStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,123 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Protect Statement Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCend <em>Cend</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCstart <em>Cstart</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getProtectStatementNode()
* @model
* @generated
*/
public interface ProtectStatementNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Cstart</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cstart</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cstart</em>' reference.
+ * @see #setCstart(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getProtectStatementNode_Cstart()
+ * @model
+ * @generated
+ */
+ CompositeNode getCstart();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCstart <em>Cstart</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cstart</em>' reference.
+ * @see #getCstart()
+ * @generated
+ */
+ void setCstart(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Cend</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cend</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cend</em>' reference.
+ * @see #setCend(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getProtectStatementNode_Cend()
+ * @model
+ * @generated
+ */
+ CompositeNode getCend();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCend <em>Cend</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cend</em>' reference.
+ * @see #getCend()
+ * @generated
+ */
+ void setCend(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Id</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Id</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Id</em>' reference.
+ * @see #setId(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getProtectStatementNode_Id()
+ * @model
+ * @generated
+ */
+ CompositeNode getId();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getId <em>Id</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id</em>' reference.
+ * @see #getId()
+ * @generated
+ */
+ void setId(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' reference.
+ * @see #setSequence(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getProtectStatementNode_Sequence()
+ * @model
+ * @generated
+ */
+ CompositeNode getSequence();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getSequence <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
+ * @generated
+ */
+ void setSequence(CompositeNode value);
} // ProtectStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalExpressionNode.java
index 23565de..169aa43 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: RelationalExpressionNode.java,v 1.4 2008/03/07 11:11:13 jkohnlein Exp $
+ * $Id: RelationalExpressionNode.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -18,8 +18,8 @@ import org.eclipse.tmf.common.node.LeafNode;
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getOperator <em>Operator</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getRightOperand <em>Right Operand</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getLeftOperand <em>Left Operand</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getRightOperand <em>Right Operand</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SequenceNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SequenceNode.java
index 96cb89f..42de16d 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SequenceNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SequenceNode.java
@@ -2,10 +2,11 @@
* <copyright>
* </copyright>
*
- * $Id: SequenceNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: SequenceNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.tmf.common.node.CompositeNode;
/**
@@ -13,10 +14,49 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Sequence Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode#getTextSequences <em>Text Sequences</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode#getStatements <em>Statements</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getSequenceNode()
* @model
* @generated
*/
public interface SequenceNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Text Sequences</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.tmf.common.node.CompositeNode}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Text Sequences</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Text Sequences</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getSequenceNode_TextSequences()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getTextSequences();
+
+ /**
+ * Returns the value of the '<em><b>Statements</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.tmf.common.node.CompositeNode}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Statements</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Statements</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getSequenceNode_Statements()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getStatements();
} // SequenceNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextSequenceNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextSequenceNode.java
index 5823008..39b01de 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextSequenceNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextSequenceNode.java
@@ -2,10 +2,11 @@
* <copyright>
* </copyright>
*
- * $Id: TextSequenceNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: TextSequenceNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.tmf.common.node.CompositeNode;
/**
@@ -13,10 +14,32 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Text Sequence Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode#getText <em>Text</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getTextSequenceNode()
* @model
* @generated
*/
public interface TextSequenceNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Text</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.tmf.common.node.CompositeNode}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Text</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Text</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getTextSequenceNode_Text()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getText();
} // TextSequenceNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/UnaryExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/UnaryExpressionNode.java
index a6f09d4..9ef2fcd 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/UnaryExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/UnaryExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: UnaryExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: UnaryExpressionNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -13,10 +13,42 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Unary Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.UnaryExpressionNode#getOperand <em>Operand</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getUnaryExpressionNode()
* @model
* @generated
*/
public interface UnaryExpressionNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Operand</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Operand</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Operand</em>' reference.
+ * @see #setOperand(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getUnaryExpressionNode_Operand()
+ * @model
+ * @generated
+ */
+ CompositeNode getOperand();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.UnaryExpressionNode#getOperand <em>Operand</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Operand</em>' reference.
+ * @see #getOperand()
+ * @generated
+ */
+ void setOperand(CompositeNode value);
} // UnaryExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodeFactory.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodeFactory.java
index d564649..81810bf 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodeFactory.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodeFactory.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Xpand3nodeFactory.java,v 1.4 2008/03/07 11:11:13 jkohnlein Exp $
+ * $Id: Xpand3nodeFactory.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -26,31 +26,31 @@ public interface Xpand3nodeFactory extends EFactory {
Xpand3nodeFactory eINSTANCE = org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodeFactoryImpl.init();
/**
- * Returns a new object of class '<em>XNode</em>'.
+ * Returns a new object of class '<em>File Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>XNode</em>'.
+ * @return a new object of class '<em>File Node</em>'.
* @generated
*/
- XNode createXNode();
+ FileNode createFileNode();
/**
- * Returns a new object of class '<em>File Node</em>'.
+ * Returns a new object of class '<em>Import Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>File Node</em>'.
+ * @return a new object of class '<em>Import Node</em>'.
* @generated
*/
- FileNode createFileNode();
+ ImportNode createImportNode();
/**
- * Returns a new object of class '<em>Ns Import Node</em>'.
+ * Returns a new object of class '<em>Extension Import Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Ns Import Node</em>'.
+ * @return a new object of class '<em>Extension Import Node</em>'.
* @generated
*/
- NsImportNode createNsImportNode();
+ ExtensionImportNode createExtensionImportNode();
/**
* Returns a new object of class '<em>Definition Node</em>'.
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodePackage.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodePackage.java
index 6beb534..6a7f2d9 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodePackage.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Xpand3nodePackage.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Xpand3nodePackage.java,v 1.4 2008/03/07 11:11:13 jkohnlein Exp $
+ * $Id: Xpand3nodePackage.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -61,14 +61,14 @@ public interface Xpand3nodePackage extends EPackage {
Xpand3nodePackage eINSTANCE = org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl.init();
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.XNodeImpl <em>XNode</em>}' class.
+ * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl <em>File Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.XNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getXNode()
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getFileNode()
* @generated
*/
- int XNODE = 0;
+ int FILE_NODE = 0;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -77,7 +77,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int XNODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int FILE_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
* The feature id for the '<em><b>Children</b></em>' containment reference list.
@@ -86,53 +86,44 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int XNODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
-
- /**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XNODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int FILE_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Declarations</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int XNODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int FILE_NODE__DECLARATIONS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>L</b></em>' reference.
+ * The feature id for the '<em><b>Imports</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int XNODE__L = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int FILE_NODE__IMPORTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>XNode</em>' class.
+ * The number of structural features of the '<em>File Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int XNODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int FILE_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl <em>File Node</em>}' class.
+ * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ImportNodeImpl <em>Import Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getFileNode()
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ImportNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getImportNode()
* @generated
*/
- int FILE_NODE = 1;
+ int IMPORT_NODE = 1;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -141,7 +132,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int FILE_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int IMPORT_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
* The feature id for the '<em><b>Children</b></em>' containment reference list.
@@ -150,62 +141,44 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int FILE_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
-
- /**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FILE_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FILE_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int IMPORT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Imp</b></em>' reference list.
+ * The feature id for the '<em><b>Namespace</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FILE_NODE__IMP = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int IMPORT_NODE__NAMESPACE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Decl</b></em>' reference list.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FILE_NODE__DECL = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int IMPORT_NODE__TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>File Node</em>' class.
+ * The number of structural features of the '<em>Import Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FILE_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+ int IMPORT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.NsImportNodeImpl <em>Ns Import Node</em>}' class.
+ * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionImportNodeImpl <em>Extension Import Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.NsImportNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getNsImportNode()
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionImportNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getExtensionImportNode()
* @generated
*/
- int NS_IMPORT_NODE = 2;
+ int EXTENSION_IMPORT_NODE = 2;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -214,7 +187,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int NS_IMPORT_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int EXTENSION_IMPORT_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
* The feature id for the '<em><b>Children</b></em>' containment reference list.
@@ -223,43 +196,34 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int NS_IMPORT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
-
- /**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NS_IMPORT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int EXTENSION_IMPORT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int NS_IMPORT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int EXTENSION_IMPORT_NODE__TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Ns</b></em>' reference.
+ * The feature id for the '<em><b>Namespace</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int NS_IMPORT_NODE__NS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int EXTENSION_IMPORT_NODE__NAMESPACE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>Ns Import Node</em>' class.
+ * The number of structural features of the '<em>Extension Import Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int NS_IMPORT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int EXTENSION_IMPORT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionNodeImpl <em>Definition Node</em>}' class.
@@ -290,31 +254,40 @@ public interface Xpand3nodePackage extends EPackage {
int DEFINITION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DEFINITION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int DEFINITION_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DEFINITION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int DEFINITION_NODE__TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Name</b></em>' reference.
+ * The feature id for the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DEFINITION_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int DEFINITION_NODE__SEQUENCE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Param List</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITION_NODE__PARAM_LIST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The number of structural features of the '<em>Definition Node</em>' class.
@@ -323,7 +296,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int DEFINITION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int DEFINITION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionAroundNodeImpl <em>Definition Around Node</em>}' class.
@@ -354,22 +327,40 @@ public interface Xpand3nodePackage extends EPackage {
int DEFINITION_AROUND_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITION_AROUND_NODE__TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Pointcut</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DEFINITION_AROUND_NODE__POINTCUT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Param List</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DEFINITION_AROUND_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int DEFINITION_AROUND_NODE__PARAM_LIST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DEFINITION_AROUND_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int DEFINITION_AROUND_NODE__SEQUENCE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The number of structural features of the '<em>Definition Around Node</em>' class.
@@ -378,7 +369,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int DEFINITION_AROUND_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int DEFINITION_AROUND_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SequenceNodeImpl <em>Sequence Node</em>}' class.
@@ -409,22 +400,22 @@ public interface Xpand3nodePackage extends EPackage {
int SEQUENCE_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Text Sequences</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SEQUENCE_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int SEQUENCE_NODE__TEXT_SEQUENCES = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Statements</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SEQUENCE_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int SEQUENCE_NODE__STATEMENTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The number of structural features of the '<em>Sequence Node</em>' class.
@@ -433,7 +424,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int SEQUENCE_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int SEQUENCE_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.TextSequenceNodeImpl <em>Text Sequence Node</em>}' class.
@@ -464,22 +455,13 @@ public interface Xpand3nodePackage extends EPackage {
int TEXT_SEQUENCE_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEXT_SEQUENCE_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Text</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int TEXT_SEQUENCE_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int TEXT_SEQUENCE_NODE__TEXT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
* The number of structural features of the '<em>Text Sequence Node</em>' class.
@@ -488,7 +470,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int TEXT_SEQUENCE_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int TEXT_SEQUENCE_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.TextNodeImpl <em>Text Node</em>}' class.
@@ -519,24 +501,6 @@ public interface Xpand3nodePackage extends EPackage {
int TEXT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEXT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEXT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Text Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -574,22 +538,13 @@ public interface Xpand3nodePackage extends EPackage {
int ERROR_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ERROR_STATEMENT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ERROR_STATEMENT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int ERROR_STATEMENT_NODE__EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
* The number of structural features of the '<em>Error Statement Node</em>' class.
@@ -598,7 +553,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int ERROR_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int ERROR_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpandStatementNodeImpl <em>Expand Statement Node</em>}' class.
@@ -629,22 +584,40 @@ public interface Xpand3nodePackage extends EPackage {
int EXPAND_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Separator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPAND_STATEMENT_NODE__SEPARATOR = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Param List</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPAND_STATEMENT_NODE__PARAM_LIST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>For Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXPAND_STATEMENT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int EXPAND_STATEMENT_NODE__FOR_EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXPAND_STATEMENT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int EXPAND_STATEMENT_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The number of structural features of the '<em>Expand Statement Node</em>' class.
@@ -653,7 +626,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int EXPAND_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int EXPAND_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpressionStmtNodeImpl <em>Expression Stmt Node</em>}' class.
@@ -684,22 +657,13 @@ public interface Xpand3nodePackage extends EPackage {
int EXPRESSION_STMT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXPRESSION_STMT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXPRESSION_STMT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int EXPRESSION_STMT_NODE__EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
* The number of structural features of the '<em>Expression Stmt Node</em>' class.
@@ -708,7 +672,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int EXPRESSION_STMT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int EXPRESSION_STMT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileStatementNodeImpl <em>File Statement Node</em>}' class.
@@ -739,22 +703,31 @@ public interface Xpand3nodePackage extends EPackage {
int FILE_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FILE_STATEMENT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int FILE_STATEMENT_NODE__SEQUENCE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Identifier</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FILE_STATEMENT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int FILE_STATEMENT_NODE__IDENTIFIER = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Name Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FILE_STATEMENT_NODE__NAME_EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The number of structural features of the '<em>File Statement Node</em>' class.
@@ -763,7 +736,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int FILE_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int FILE_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ForeachStatementNodeImpl <em>Foreach Statement Node</em>}' class.
@@ -794,22 +767,49 @@ public interface Xpand3nodePackage extends EPackage {
int FOREACH_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Iterator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FOREACH_STATEMENT_NODE__ITERATOR = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Identifier</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FOREACH_STATEMENT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int FOREACH_STATEMENT_NODE__IDENTIFIER = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FOREACH_STATEMENT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int FOREACH_STATEMENT_NODE__SEQUENCE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>For Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FOREACH_STATEMENT_NODE__FOR_EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Separator Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
/**
* The number of structural features of the '<em>Foreach Statement Node</em>' class.
@@ -818,7 +818,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int FOREACH_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int FOREACH_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 5;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfStatementNodeImpl <em>If Statement Node</em>}' class.
@@ -849,22 +849,40 @@ public interface Xpand3nodePackage extends EPackage {
int IF_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Else If</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IF_STATEMENT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int IF_STATEMENT_NODE__ELSE_IF = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IF_STATEMENT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int IF_STATEMENT_NODE__EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Else</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IF_STATEMENT_NODE__ELSE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Sequence</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IF_STATEMENT_NODE__SEQUENCE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The number of structural features of the '<em>If Statement Node</em>' class.
@@ -873,7 +891,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int IF_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int IF_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ElseIfStatementNodeImpl <em>Else If Statement Node</em>}' class.
@@ -904,22 +922,22 @@ public interface Xpand3nodePackage extends EPackage {
int ELSE_IF_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ELSE_IF_STATEMENT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int ELSE_IF_STATEMENT_NODE__SEQUENCE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ELSE_IF_STATEMENT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int ELSE_IF_STATEMENT_NODE__EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The number of structural features of the '<em>Else If Statement Node</em>' class.
@@ -928,7 +946,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int ELSE_IF_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int ELSE_IF_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ElseStatementNodeImpl <em>Else Statement Node</em>}' class.
@@ -959,22 +977,13 @@ public interface Xpand3nodePackage extends EPackage {
int ELSE_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELSE_STATEMENT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ELSE_STATEMENT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int ELSE_STATEMENT_NODE__SEQUENCE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
* The number of structural features of the '<em>Else Statement Node</em>' class.
@@ -983,7 +992,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int ELSE_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int ELSE_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.LetStatementNodeImpl <em>Let Statement Node</em>}' class.
@@ -1014,22 +1023,31 @@ public interface Xpand3nodePackage extends EPackage {
int LET_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int LET_STATEMENT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int LET_STATEMENT_NODE__EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Name</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LET_STATEMENT_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int LET_STATEMENT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int LET_STATEMENT_NODE__SEQUENCE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The number of structural features of the '<em>Let Statement Node</em>' class.
@@ -1038,7 +1056,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int LET_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int LET_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ProtectStatementNodeImpl <em>Protect Statement Node</em>}' class.
@@ -1069,77 +1087,77 @@ public interface Xpand3nodePackage extends EPackage {
int PROTECT_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int PROTECT_STATEMENT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int PROTECT_STATEMENT_NODE__SEQUENCE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Cend</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int PROTECT_STATEMENT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int PROTECT_STATEMENT_NODE__CEND = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>Protect Statement Node</em>' class.
+ * The feature id for the '<em><b>Id</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int PROTECT_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int PROTECT_STATEMENT_NODE__ID = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl <em>Check Node</em>}' class.
+ * The feature id for the '<em><b>Cstart</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getCheckNode()
* @generated
+ * @ordered
*/
- int CHECK_NODE = 18;
+ int PROTECT_STATEMENT_NODE__CSTART = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Alias</b></em>' attribute.
+ * The number of structural features of the '<em>Protect Statement Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CHECK_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int PROTECT_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
/**
- * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl <em>Check Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getCheckNode()
* @generated
- * @ordered
*/
- int CHECK_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
+ int CHECK_NODE = 18;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Alias</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CHECK_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int CHECK_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CHECK_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int CHECK_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
* The number of structural features of the '<em>Check Node</em>' class.
@@ -1179,24 +1197,6 @@ public interface Xpand3nodePackage extends EPackage {
int AROUND_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AROUND_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AROUND_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Around Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1234,24 +1234,6 @@ public interface Xpand3nodePackage extends EPackage {
int POINTCUT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int POINTCUT_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int POINTCUT_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Pointcut Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1289,40 +1271,40 @@ public interface Xpand3nodePackage extends EPackage {
int EXTENSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Param List</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXTENSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int EXTENSION_NODE__PARAM_LIST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Private</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXTENSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int EXTENSION_NODE__PRIVATE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Cached</b></em>' reference.
+ * The feature id for the '<em><b>Return Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXTENSION_NODE__CACHED = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int EXTENSION_NODE__RETURN_TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Param List</b></em>' reference.
+ * The feature id for the '<em><b>Java Return Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXTENSION_NODE__PARAM_LIST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int EXTENSION_NODE__JAVA_RETURN_TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The feature id for the '<em><b>Create</b></em>' reference.
@@ -1331,16 +1313,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int EXTENSION_NODE__CREATE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Private</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSION_NODE__PRIVATE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
+ int EXTENSION_NODE__CREATE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
/**
* The feature id for the '<em><b>Name</b></em>' reference.
@@ -1349,43 +1322,34 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int EXTENSION_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Extend Body</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXTENSION_NODE__EXTEND_BODY = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 5;
+ int EXTENSION_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 5;
/**
- * The feature id for the '<em><b>Return Type</b></em>' reference.
+ * The feature id for the '<em><b>Java Name</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXTENSION_NODE__RETURN_TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 6;
+ int EXTENSION_NODE__JAVA_NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 6;
/**
- * The feature id for the '<em><b>Java Name</b></em>' reference.
+ * The feature id for the '<em><b>Cached</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXTENSION_NODE__JAVA_NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 7;
+ int EXTENSION_NODE__CACHED = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 7;
/**
- * The feature id for the '<em><b>Java Return Type</b></em>' reference.
+ * The feature id for the '<em><b>Extend Body</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXTENSION_NODE__JAVA_RETURN_TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 8;
+ int EXTENSION_NODE__EXTEND_BODY = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 8;
/**
* The number of structural features of the '<em>Extension Node</em>' class.
@@ -1425,24 +1389,6 @@ public interface Xpand3nodePackage extends EPackage {
int JAVA_TYPE_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JAVA_TYPE_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JAVA_TYPE_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Java Type Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1480,24 +1426,6 @@ public interface Xpand3nodePackage extends EPackage {
int TEST_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEST_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEST_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Test expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1535,24 +1463,6 @@ public interface Xpand3nodePackage extends EPackage {
int EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1590,24 +1500,6 @@ public interface Xpand3nodePackage extends EPackage {
int LET_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LET_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LET_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Let Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1645,24 +1537,6 @@ public interface Xpand3nodePackage extends EPackage {
int CASTED_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CASTED_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CASTED_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Casted Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1700,24 +1574,6 @@ public interface Xpand3nodePackage extends EPackage {
int CHAIN_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHAIN_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHAIN_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Chain Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1755,24 +1611,6 @@ public interface Xpand3nodePackage extends EPackage {
int IF_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IF_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IF_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>If Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1810,24 +1648,6 @@ public interface Xpand3nodePackage extends EPackage {
int SWITCH_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SWITCH_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SWITCH_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Switch Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1865,24 +1685,6 @@ public interface Xpand3nodePackage extends EPackage {
int CASE_PART_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CASE_PART_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CASE_PART_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Case Part Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1920,24 +1722,6 @@ public interface Xpand3nodePackage extends EPackage {
int OR_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OR_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OR_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Or Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1975,24 +1759,6 @@ public interface Xpand3nodePackage extends EPackage {
int AND_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AND_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AND_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>And Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2030,24 +1796,6 @@ public interface Xpand3nodePackage extends EPackage {
int IMPLIES_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPLIES_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IMPLIES_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Implies Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2085,24 +1833,6 @@ public interface Xpand3nodePackage extends EPackage {
int RELATIONAL_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATIONAL_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATIONAL_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The feature id for the '<em><b>Operator</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2112,22 +1842,22 @@ public interface Xpand3nodePackage extends EPackage {
int RELATIONAL_EXPRESSION_NODE__OPERATOR = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Right Operand</b></em>' reference.
+ * The feature id for the '<em><b>Left Operand</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Left Operand</b></em>' reference.
+ * The feature id for the '<em><b>Right Operand</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+ int RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The number of structural features of the '<em>Relational Expression Node</em>' class.
@@ -2167,24 +1897,6 @@ public interface Xpand3nodePackage extends EPackage {
int RELATIONAL_OPERATOR_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATIONAL_OPERATOR_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATIONAL_OPERATOR_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Relational Operator Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2222,22 +1934,22 @@ public interface Xpand3nodePackage extends EPackage {
int ADDITIVE_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Left</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ADDITIVE_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int ADDITIVE_EXPRESSION_NODE__LEFT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Right</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ADDITIVE_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int ADDITIVE_EXPRESSION_NODE__RIGHT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The number of structural features of the '<em>Additive Expression Node</em>' class.
@@ -2246,7 +1958,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int ADDITIVE_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int ADDITIVE_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.MultiplicativeExpressionNodeImpl <em>Multiplicative Expression Node</em>}' class.
@@ -2277,22 +1989,22 @@ public interface Xpand3nodePackage extends EPackage {
int MULTIPLICATIVE_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Left</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MULTIPLICATIVE_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int MULTIPLICATIVE_EXPRESSION_NODE__LEFT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Right</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MULTIPLICATIVE_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int MULTIPLICATIVE_EXPRESSION_NODE__RIGHT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The number of structural features of the '<em>Multiplicative Expression Node</em>' class.
@@ -2301,7 +2013,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int MULTIPLICATIVE_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int MULTIPLICATIVE_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.UnaryExpressionNodeImpl <em>Unary Expression Node</em>}' class.
@@ -2332,22 +2044,13 @@ public interface Xpand3nodePackage extends EPackage {
int UNARY_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Operand</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int UNARY_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNARY_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int UNARY_EXPRESSION_NODE__OPERAND = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
* The number of structural features of the '<em>Unary Expression Node</em>' class.
@@ -2356,7 +2059,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int UNARY_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int UNARY_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.InfixExpressionNodeImpl <em>Infix Expression Node</em>}' class.
@@ -2387,22 +2090,13 @@ public interface Xpand3nodePackage extends EPackage {
int INFIX_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INFIX_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Calls</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int INFIX_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int INFIX_EXPRESSION_NODE__CALLS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Target</b></em>' reference.
@@ -2411,16 +2105,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int INFIX_EXPRESSION_NODE__TARGET = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Calls</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INFIX_EXPRESSION_NODE__CALLS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int INFIX_EXPRESSION_NODE__TARGET = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The number of structural features of the '<em>Infix Expression Node</em>' class.
@@ -2460,24 +2145,6 @@ public interface Xpand3nodePackage extends EPackage {
int STRING_LITERAL_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STRING_LITERAL_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STRING_LITERAL_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>String Literal Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2515,24 +2182,6 @@ public interface Xpand3nodePackage extends EPackage {
int PARANTHESIZED_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARANTHESIZED_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARANTHESIZED_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Paranthesized Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2570,24 +2219,6 @@ public interface Xpand3nodePackage extends EPackage {
int GLOBAL_VAR_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GLOBAL_VAR_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GLOBAL_VAR_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Global Var Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2625,22 +2256,22 @@ public interface Xpand3nodePackage extends EPackage {
int FEATURE_CALL_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FEATURE_CALL_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int FEATURE_CALL_NODE__TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * The feature id for the '<em><b>Param List</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FEATURE_CALL_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ int FEATURE_CALL_NODE__PARAM_LIST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Name</b></em>' reference.
@@ -2649,16 +2280,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int FEATURE_CALL_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Param List</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FEATURE_CALL_NODE__PARAM_LIST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int FEATURE_CALL_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The number of structural features of the '<em>Feature Call Node</em>' class.
@@ -2667,7 +2289,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int FEATURE_CALL_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+ int FEATURE_CALL_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ListLiteralNodeImpl <em>List Literal Node</em>}' class.
@@ -2698,24 +2320,6 @@ public interface Xpand3nodePackage extends EPackage {
int LIST_LITERAL_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIST_LITERAL_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIST_LITERAL_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>List Literal Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2753,24 +2357,6 @@ public interface Xpand3nodePackage extends EPackage {
int CONSTRUCTOR_CALL_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRUCTOR_CALL_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRUCTOR_CALL_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Constructor Call Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2808,24 +2394,6 @@ public interface Xpand3nodePackage extends EPackage {
int BOOLEAN_LITERAL_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOLEAN_LITERAL_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOLEAN_LITERAL_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Boolean Literal Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2863,24 +2431,6 @@ public interface Xpand3nodePackage extends EPackage {
int NULL_LITERAL_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NULL_LITERAL_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NULL_LITERAL_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Null Literal Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2918,24 +2468,6 @@ public interface Xpand3nodePackage extends EPackage {
int NUMBER_LITERAL_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Number Literal Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2973,24 +2505,6 @@ public interface Xpand3nodePackage extends EPackage {
int COLLECTION_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COLLECTION_EXPRESSION_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COLLECTION_EXPRESSION_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Collection Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3028,24 +2542,6 @@ public interface Xpand3nodePackage extends EPackage {
int DECLARED_PARAMETER_LIST_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DECLARED_PARAMETER_LIST_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DECLARED_PARAMETER_LIST_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The feature id for the '<em><b>Params</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3092,24 +2588,6 @@ public interface Xpand3nodePackage extends EPackage {
int DECLARED_PARAMETER_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DECLARED_PARAMETER_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DECLARED_PARAMETER_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The feature id for the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3165,24 +2643,6 @@ public interface Xpand3nodePackage extends EPackage {
int PARAMETER_LIST_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_LIST_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_LIST_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The feature id for the '<em><b>Params</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3229,24 +2689,6 @@ public interface Xpand3nodePackage extends EPackage {
int COLLECTION_TYPE_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COLLECTION_TYPE_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COLLECTION_TYPE_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The number of structural features of the '<em>Collection Type Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3284,24 +2726,6 @@ public interface Xpand3nodePackage extends EPackage {
int SIMPLE_TYPE_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_TYPE_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
-
- /**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_TYPE_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
-
- /**
* The feature id for the '<em><b>Names</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3348,106 +2772,110 @@ public interface Xpand3nodePackage extends EPackage {
int IDENTIFIER_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Rule</b></em>' attribute.
+ * The number of structural features of the '<em>Identifier Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IDENTIFIER_NODE__RULE = NodePackage.COMPOSITE_NODE__RULE;
+ int IDENTIFIER_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
/**
- * The feature id for the '<em><b>Rule ID</b></em>' attribute.
+ * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode <em>File Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @return the meta object for class '<em>File Node</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FileNode
* @generated
- * @ordered
*/
- int IDENTIFIER_NODE__RULE_ID = NodePackage.COMPOSITE_NODE__RULE_ID;
+ EClass getFileNode();
/**
- * The number of structural features of the '<em>Identifier Node</em>' class.
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getDeclarations <em>Declarations</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Declarations</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getDeclarations()
+ * @see #getFileNode()
* @generated
- * @ordered
*/
- int IDENTIFIER_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
-
+ EReference getFileNode_Declarations();
/**
- * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.XNode <em>XNode</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getImports <em>Imports</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>XNode</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.XNode
+ * @return the meta object for the reference list '<em>Imports</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getImports()
+ * @see #getFileNode()
* @generated
*/
- EClass getXNode();
+ EReference getFileNode_Imports();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.XNode#getL <em>L</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImportNode <em>Import Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>L</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.XNode#getL()
- * @see #getXNode()
+ * @return the meta object for class '<em>Import Node</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ImportNode
* @generated
*/
- EReference getXNode_L();
+ EClass getImportNode();
/**
- * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode <em>File Node</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImportNode#getNamespace <em>Namespace</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>File Node</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.FileNode
+ * @return the meta object for the reference '<em>Namespace</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ImportNode#getNamespace()
+ * @see #getImportNode()
* @generated
*/
- EClass getFileNode();
+ EReference getImportNode_Namespace();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getDecl <em>Decl</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImportNode#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Decl</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getDecl()
- * @see #getFileNode()
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ImportNode#getType()
+ * @see #getImportNode()
* @generated
*/
- EReference getFileNode_Decl();
+ EReference getImportNode_Type();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getImp <em>Imp</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode <em>Extension Import Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Imp</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.FileNode#getImp()
- * @see #getFileNode()
+ * @return the meta object for class '<em>Extension Import Node</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode
* @generated
*/
- EReference getFileNode_Imp();
+ EClass getExtensionImportNode();
/**
- * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode <em>Ns Import Node</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode#getType <em>Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Ns Import Node</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode#getType()
+ * @see #getExtensionImportNode()
* @generated
*/
- EClass getNsImportNode();
+ EReference getExtensionImportNode_Type();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode#getNs <em>Ns</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode#getNamespace <em>Namespace</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Ns</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode#getNs()
- * @see #getNsImportNode()
+ * @return the meta object for the reference '<em>Namespace</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode#getNamespace()
+ * @see #getExtensionImportNode()
* @generated
*/
- EReference getNsImportNode_Ns();
+ EReference getExtensionImportNode_Namespace();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode <em>Definition Node</em>}'.
@@ -3460,6 +2888,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getDefinitionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getType()
+ * @see #getDefinitionNode()
+ * @generated
+ */
+ EReference getDefinitionNode_Type();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getSequence()
+ * @see #getDefinitionNode()
+ * @generated
+ */
+ EReference getDefinitionNode_Sequence();
+
+ /**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3471,6 +2921,17 @@ public interface Xpand3nodePackage extends EPackage {
EReference getDefinitionNode_Name();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getParamList <em>Param List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Param List</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getParamList()
+ * @see #getDefinitionNode()
+ * @generated
+ */
+ EReference getDefinitionNode_ParamList();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode <em>Definition Around Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3481,6 +2942,50 @@ public interface Xpand3nodePackage extends EPackage {
EClass getDefinitionAroundNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getType()
+ * @see #getDefinitionAroundNode()
+ * @generated
+ */
+ EReference getDefinitionAroundNode_Type();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getPointcut <em>Pointcut</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Pointcut</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getPointcut()
+ * @see #getDefinitionAroundNode()
+ * @generated
+ */
+ EReference getDefinitionAroundNode_Pointcut();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getParamList <em>Param List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Param List</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getParamList()
+ * @see #getDefinitionAroundNode()
+ * @generated
+ */
+ EReference getDefinitionAroundNode_ParamList();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode#getSequence()
+ * @see #getDefinitionAroundNode()
+ * @generated
+ */
+ EReference getDefinitionAroundNode_Sequence();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode <em>Sequence Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3491,6 +2996,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getSequenceNode();
/**
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode#getTextSequences <em>Text Sequences</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Text Sequences</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode#getTextSequences()
+ * @see #getSequenceNode()
+ * @generated
+ */
+ EReference getSequenceNode_TextSequences();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode#getStatements <em>Statements</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Statements</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode#getStatements()
+ * @see #getSequenceNode()
+ * @generated
+ */
+ EReference getSequenceNode_Statements();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode <em>Text Sequence Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3501,6 +3028,17 @@ public interface Xpand3nodePackage extends EPackage {
EClass getTextSequenceNode();
/**
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode#getText <em>Text</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Text</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode#getText()
+ * @see #getTextSequenceNode()
+ * @generated
+ */
+ EReference getTextSequenceNode_Text();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.TextNode <em>Text Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3521,6 +3059,17 @@ public interface Xpand3nodePackage extends EPackage {
EClass getErrorStatementNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ErrorStatementNode#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ErrorStatementNode#getExpression()
+ * @see #getErrorStatementNode()
+ * @generated
+ */
+ EReference getErrorStatementNode_Expression();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode <em>Expand Statement Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3531,6 +3080,50 @@ public interface Xpand3nodePackage extends EPackage {
EClass getExpandStatementNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getSeparator <em>Separator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Separator</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getSeparator()
+ * @see #getExpandStatementNode()
+ * @generated
+ */
+ EReference getExpandStatementNode_Separator();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getParamList <em>Param List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Param List</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getParamList()
+ * @see #getExpandStatementNode()
+ * @generated
+ */
+ EReference getExpandStatementNode_ParamList();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getForExpression <em>For Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>For Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getForExpression()
+ * @see #getExpandStatementNode()
+ * @generated
+ */
+ EReference getExpandStatementNode_ForExpression();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Name</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getName()
+ * @see #getExpandStatementNode()
+ * @generated
+ */
+ EReference getExpandStatementNode_Name();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpressionStmtNode <em>Expression Stmt Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3541,6 +3134,17 @@ public interface Xpand3nodePackage extends EPackage {
EClass getExpressionStmtNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpressionStmtNode#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExpressionStmtNode#getExpression()
+ * @see #getExpressionStmtNode()
+ * @generated
+ */
+ EReference getExpressionStmtNode_Expression();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode <em>File Statement Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3551,6 +3155,39 @@ public interface Xpand3nodePackage extends EPackage {
EClass getFileStatementNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getNameExpression <em>Name Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Name Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getNameExpression()
+ * @see #getFileStatementNode()
+ * @generated
+ */
+ EReference getFileStatementNode_NameExpression();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getIdentifier <em>Identifier</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Identifier</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getIdentifier()
+ * @see #getFileStatementNode()
+ * @generated
+ */
+ EReference getFileStatementNode_Identifier();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getSequence()
+ * @see #getFileStatementNode()
+ * @generated
+ */
+ EReference getFileStatementNode_Sequence();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode <em>Foreach Statement Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3561,6 +3198,61 @@ public interface Xpand3nodePackage extends EPackage {
EClass getForeachStatementNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIterator <em>Iterator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Iterator</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIterator()
+ * @see #getForeachStatementNode()
+ * @generated
+ */
+ EReference getForeachStatementNode_Iterator();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSeparatorExpression <em>Separator Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Separator Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSeparatorExpression()
+ * @see #getForeachStatementNode()
+ * @generated
+ */
+ EReference getForeachStatementNode_SeparatorExpression();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIdentifier <em>Identifier</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Identifier</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIdentifier()
+ * @see #getForeachStatementNode()
+ * @generated
+ */
+ EReference getForeachStatementNode_Identifier();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getForExpression <em>For Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>For Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getForExpression()
+ * @see #getForeachStatementNode()
+ * @generated
+ */
+ EReference getForeachStatementNode_ForExpression();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSequence()
+ * @see #getForeachStatementNode()
+ * @generated
+ */
+ EReference getForeachStatementNode_Sequence();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode <em>If Statement Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3571,6 +3263,50 @@ public interface Xpand3nodePackage extends EPackage {
EClass getIfStatementNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElse <em>Else</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Else</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElse()
+ * @see #getIfStatementNode()
+ * @generated
+ */
+ EReference getIfStatementNode_Else();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getExpression()
+ * @see #getIfStatementNode()
+ * @generated
+ */
+ EReference getIfStatementNode_Expression();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElseIf <em>Else If</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Else If</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElseIf()
+ * @see #getIfStatementNode()
+ * @generated
+ */
+ EReference getIfStatementNode_ElseIf();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getSequence()
+ * @see #getIfStatementNode()
+ * @generated
+ */
+ EReference getIfStatementNode_Sequence();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode <em>Else If Statement Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3581,6 +3317,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getElseIfStatementNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode#getSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode#getSequence()
+ * @see #getElseIfStatementNode()
+ * @generated
+ */
+ EReference getElseIfStatementNode_Sequence();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode#getExpression()
+ * @see #getElseIfStatementNode()
+ * @generated
+ */
+ EReference getElseIfStatementNode_Expression();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseStatementNode <em>Else Statement Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3591,6 +3349,17 @@ public interface Xpand3nodePackage extends EPackage {
EClass getElseStatementNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ElseStatementNode#getSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ElseStatementNode#getSequence()
+ * @see #getElseStatementNode()
+ * @generated
+ */
+ EReference getElseStatementNode_Sequence();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode <em>Let Statement Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3601,6 +3370,39 @@ public interface Xpand3nodePackage extends EPackage {
EClass getLetStatementNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getExpression()
+ * @see #getLetStatementNode()
+ * @generated
+ */
+ EReference getLetStatementNode_Expression();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Name</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getName()
+ * @see #getLetStatementNode()
+ * @generated
+ */
+ EReference getLetStatementNode_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode#getSequence()
+ * @see #getLetStatementNode()
+ * @generated
+ */
+ EReference getLetStatementNode_Sequence();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode <em>Protect Statement Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3611,6 +3413,50 @@ public interface Xpand3nodePackage extends EPackage {
EClass getProtectStatementNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCstart <em>Cstart</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Cstart</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCstart()
+ * @see #getProtectStatementNode()
+ * @generated
+ */
+ EReference getProtectStatementNode_Cstart();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCend <em>Cend</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Cend</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCend()
+ * @see #getProtectStatementNode()
+ * @generated
+ */
+ EReference getProtectStatementNode_Cend();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getId <em>Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Id</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getId()
+ * @see #getProtectStatementNode()
+ * @generated
+ */
+ EReference getProtectStatementNode_Id();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getSequence()
+ * @see #getProtectStatementNode()
+ * @generated
+ */
+ EReference getProtectStatementNode_Sequence();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode <em>Check Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3933,6 +3779,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getAdditiveExpressionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getRight <em>Right</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Right</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getRight()
+ * @see #getAdditiveExpressionNode()
+ * @generated
+ */
+ EReference getAdditiveExpressionNode_Right();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getLeft <em>Left</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Left</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getLeft()
+ * @see #getAdditiveExpressionNode()
+ * @generated
+ */
+ EReference getAdditiveExpressionNode_Left();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode <em>Multiplicative Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3943,6 +3811,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getMultiplicativeExpressionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getLeft <em>Left</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Left</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getLeft()
+ * @see #getMultiplicativeExpressionNode()
+ * @generated
+ */
+ EReference getMultiplicativeExpressionNode_Left();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getRight <em>Right</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Right</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getRight()
+ * @see #getMultiplicativeExpressionNode()
+ * @generated
+ */
+ EReference getMultiplicativeExpressionNode_Right();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.UnaryExpressionNode <em>Unary Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3953,6 +3843,17 @@ public interface Xpand3nodePackage extends EPackage {
EClass getUnaryExpressionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.UnaryExpressionNode#getOperand <em>Operand</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Operand</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.UnaryExpressionNode#getOperand()
+ * @see #getUnaryExpressionNode()
+ * @generated
+ */
+ EReference getUnaryExpressionNode_Operand();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.InfixExpressionNode <em>Infix Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4025,6 +3926,17 @@ public interface Xpand3nodePackage extends EPackage {
EClass getFeatureCallNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getType()
+ * @see #getFeatureCallNode()
+ * @generated
+ */
+ EReference getFeatureCallNode_Type();
+
+ /**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4244,66 +4156,82 @@ public interface Xpand3nodePackage extends EPackage {
*/
interface Literals {
/**
- * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.XNodeImpl <em>XNode</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl <em>File Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.XNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getXNode()
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getFileNode()
* @generated
*/
- EClass XNODE = eINSTANCE.getXNode();
+ EClass FILE_NODE = eINSTANCE.getFileNode();
/**
- * The meta object literal for the '<em><b>L</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Declarations</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference XNODE__L = eINSTANCE.getXNode_L();
+ EReference FILE_NODE__DECLARATIONS = eINSTANCE.getFileNode_Declarations();
/**
- * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl <em>File Node</em>}' class.
+ * The meta object literal for the '<em><b>Imports</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getFileNode()
* @generated
*/
- EClass FILE_NODE = eINSTANCE.getFileNode();
+ EReference FILE_NODE__IMPORTS = eINSTANCE.getFileNode_Imports();
/**
- * The meta object literal for the '<em><b>Decl</b></em>' reference list feature.
+ * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ImportNodeImpl <em>Import Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ImportNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getImportNode()
* @generated
*/
- EReference FILE_NODE__DECL = eINSTANCE.getFileNode_Decl();
+ EClass IMPORT_NODE = eINSTANCE.getImportNode();
/**
- * The meta object literal for the '<em><b>Imp</b></em>' reference list feature.
+ * The meta object literal for the '<em><b>Namespace</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference FILE_NODE__IMP = eINSTANCE.getFileNode_Imp();
+ EReference IMPORT_NODE__NAMESPACE = eINSTANCE.getImportNode_Namespace();
/**
- * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.NsImportNodeImpl <em>Ns Import Node</em>}' class.
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.NsImportNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getNsImportNode()
* @generated
*/
- EClass NS_IMPORT_NODE = eINSTANCE.getNsImportNode();
+ EReference IMPORT_NODE__TYPE = eINSTANCE.getImportNode_Type();
/**
- * The meta object literal for the '<em><b>Ns</b></em>' reference feature.
+ * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionImportNodeImpl <em>Extension Import Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionImportNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getExtensionImportNode()
* @generated
*/
- EReference NS_IMPORT_NODE__NS = eINSTANCE.getNsImportNode_Ns();
+ EClass EXTENSION_IMPORT_NODE = eINSTANCE.getExtensionImportNode();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXTENSION_IMPORT_NODE__TYPE = eINSTANCE.getExtensionImportNode_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXTENSION_IMPORT_NODE__NAMESPACE = eINSTANCE.getExtensionImportNode_Namespace();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionNodeImpl <em>Definition Node</em>}' class.
@@ -4316,6 +4244,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass DEFINITION_NODE = eINSTANCE.getDefinitionNode();
/**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITION_NODE__TYPE = eINSTANCE.getDefinitionNode_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITION_NODE__SEQUENCE = eINSTANCE.getDefinitionNode_Sequence();
+
+ /**
* The meta object literal for the '<em><b>Name</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4324,6 +4268,14 @@ public interface Xpand3nodePackage extends EPackage {
EReference DEFINITION_NODE__NAME = eINSTANCE.getDefinitionNode_Name();
/**
+ * The meta object literal for the '<em><b>Param List</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITION_NODE__PARAM_LIST = eINSTANCE.getDefinitionNode_ParamList();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionAroundNodeImpl <em>Definition Around Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4334,6 +4286,38 @@ public interface Xpand3nodePackage extends EPackage {
EClass DEFINITION_AROUND_NODE = eINSTANCE.getDefinitionAroundNode();
/**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITION_AROUND_NODE__TYPE = eINSTANCE.getDefinitionAroundNode_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Pointcut</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITION_AROUND_NODE__POINTCUT = eINSTANCE.getDefinitionAroundNode_Pointcut();
+
+ /**
+ * The meta object literal for the '<em><b>Param List</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITION_AROUND_NODE__PARAM_LIST = eINSTANCE.getDefinitionAroundNode_ParamList();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DEFINITION_AROUND_NODE__SEQUENCE = eINSTANCE.getDefinitionAroundNode_Sequence();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SequenceNodeImpl <em>Sequence Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4344,6 +4328,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass SEQUENCE_NODE = eINSTANCE.getSequenceNode();
/**
+ * The meta object literal for the '<em><b>Text Sequences</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEQUENCE_NODE__TEXT_SEQUENCES = eINSTANCE.getSequenceNode_TextSequences();
+
+ /**
+ * The meta object literal for the '<em><b>Statements</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEQUENCE_NODE__STATEMENTS = eINSTANCE.getSequenceNode_Statements();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.TextSequenceNodeImpl <em>Text Sequence Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4354,6 +4354,14 @@ public interface Xpand3nodePackage extends EPackage {
EClass TEXT_SEQUENCE_NODE = eINSTANCE.getTextSequenceNode();
/**
+ * The meta object literal for the '<em><b>Text</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TEXT_SEQUENCE_NODE__TEXT = eINSTANCE.getTextSequenceNode_Text();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.TextNodeImpl <em>Text Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4374,6 +4382,14 @@ public interface Xpand3nodePackage extends EPackage {
EClass ERROR_STATEMENT_NODE = eINSTANCE.getErrorStatementNode();
/**
+ * The meta object literal for the '<em><b>Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ERROR_STATEMENT_NODE__EXPRESSION = eINSTANCE.getErrorStatementNode_Expression();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpandStatementNodeImpl <em>Expand Statement Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4384,6 +4400,38 @@ public interface Xpand3nodePackage extends EPackage {
EClass EXPAND_STATEMENT_NODE = eINSTANCE.getExpandStatementNode();
/**
+ * The meta object literal for the '<em><b>Separator</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXPAND_STATEMENT_NODE__SEPARATOR = eINSTANCE.getExpandStatementNode_Separator();
+
+ /**
+ * The meta object literal for the '<em><b>Param List</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXPAND_STATEMENT_NODE__PARAM_LIST = eINSTANCE.getExpandStatementNode_ParamList();
+
+ /**
+ * The meta object literal for the '<em><b>For Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXPAND_STATEMENT_NODE__FOR_EXPRESSION = eINSTANCE.getExpandStatementNode_ForExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXPAND_STATEMENT_NODE__NAME = eINSTANCE.getExpandStatementNode_Name();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpressionStmtNodeImpl <em>Expression Stmt Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4394,6 +4442,14 @@ public interface Xpand3nodePackage extends EPackage {
EClass EXPRESSION_STMT_NODE = eINSTANCE.getExpressionStmtNode();
/**
+ * The meta object literal for the '<em><b>Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXPRESSION_STMT_NODE__EXPRESSION = eINSTANCE.getExpressionStmtNode_Expression();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileStatementNodeImpl <em>File Statement Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4404,6 +4460,30 @@ public interface Xpand3nodePackage extends EPackage {
EClass FILE_STATEMENT_NODE = eINSTANCE.getFileStatementNode();
/**
+ * The meta object literal for the '<em><b>Name Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FILE_STATEMENT_NODE__NAME_EXPRESSION = eINSTANCE.getFileStatementNode_NameExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Identifier</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FILE_STATEMENT_NODE__IDENTIFIER = eINSTANCE.getFileStatementNode_Identifier();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FILE_STATEMENT_NODE__SEQUENCE = eINSTANCE.getFileStatementNode_Sequence();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ForeachStatementNodeImpl <em>Foreach Statement Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4414,6 +4494,46 @@ public interface Xpand3nodePackage extends EPackage {
EClass FOREACH_STATEMENT_NODE = eINSTANCE.getForeachStatementNode();
/**
+ * The meta object literal for the '<em><b>Iterator</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FOREACH_STATEMENT_NODE__ITERATOR = eINSTANCE.getForeachStatementNode_Iterator();
+
+ /**
+ * The meta object literal for the '<em><b>Separator Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION = eINSTANCE.getForeachStatementNode_SeparatorExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Identifier</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FOREACH_STATEMENT_NODE__IDENTIFIER = eINSTANCE.getForeachStatementNode_Identifier();
+
+ /**
+ * The meta object literal for the '<em><b>For Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FOREACH_STATEMENT_NODE__FOR_EXPRESSION = eINSTANCE.getForeachStatementNode_ForExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FOREACH_STATEMENT_NODE__SEQUENCE = eINSTANCE.getForeachStatementNode_Sequence();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfStatementNodeImpl <em>If Statement Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4424,6 +4544,38 @@ public interface Xpand3nodePackage extends EPackage {
EClass IF_STATEMENT_NODE = eINSTANCE.getIfStatementNode();
/**
+ * The meta object literal for the '<em><b>Else</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IF_STATEMENT_NODE__ELSE = eINSTANCE.getIfStatementNode_Else();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IF_STATEMENT_NODE__EXPRESSION = eINSTANCE.getIfStatementNode_Expression();
+
+ /**
+ * The meta object literal for the '<em><b>Else If</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IF_STATEMENT_NODE__ELSE_IF = eINSTANCE.getIfStatementNode_ElseIf();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IF_STATEMENT_NODE__SEQUENCE = eINSTANCE.getIfStatementNode_Sequence();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ElseIfStatementNodeImpl <em>Else If Statement Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4434,6 +4586,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass ELSE_IF_STATEMENT_NODE = eINSTANCE.getElseIfStatementNode();
/**
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ELSE_IF_STATEMENT_NODE__SEQUENCE = eINSTANCE.getElseIfStatementNode_Sequence();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ELSE_IF_STATEMENT_NODE__EXPRESSION = eINSTANCE.getElseIfStatementNode_Expression();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ElseStatementNodeImpl <em>Else Statement Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4444,6 +4612,14 @@ public interface Xpand3nodePackage extends EPackage {
EClass ELSE_STATEMENT_NODE = eINSTANCE.getElseStatementNode();
/**
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ELSE_STATEMENT_NODE__SEQUENCE = eINSTANCE.getElseStatementNode_Sequence();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.LetStatementNodeImpl <em>Let Statement Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4454,6 +4630,30 @@ public interface Xpand3nodePackage extends EPackage {
EClass LET_STATEMENT_NODE = eINSTANCE.getLetStatementNode();
/**
+ * The meta object literal for the '<em><b>Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LET_STATEMENT_NODE__EXPRESSION = eINSTANCE.getLetStatementNode_Expression();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LET_STATEMENT_NODE__NAME = eINSTANCE.getLetStatementNode_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LET_STATEMENT_NODE__SEQUENCE = eINSTANCE.getLetStatementNode_Sequence();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ProtectStatementNodeImpl <em>Protect Statement Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4464,6 +4664,38 @@ public interface Xpand3nodePackage extends EPackage {
EClass PROTECT_STATEMENT_NODE = eINSTANCE.getProtectStatementNode();
/**
+ * The meta object literal for the '<em><b>Cstart</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROTECT_STATEMENT_NODE__CSTART = eINSTANCE.getProtectStatementNode_Cstart();
+
+ /**
+ * The meta object literal for the '<em><b>Cend</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROTECT_STATEMENT_NODE__CEND = eINSTANCE.getProtectStatementNode_Cend();
+
+ /**
+ * The meta object literal for the '<em><b>Id</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROTECT_STATEMENT_NODE__ID = eINSTANCE.getProtectStatementNode_Id();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROTECT_STATEMENT_NODE__SEQUENCE = eINSTANCE.getProtectStatementNode_Sequence();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl <em>Check Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4750,6 +4982,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass ADDITIVE_EXPRESSION_NODE = eINSTANCE.getAdditiveExpressionNode();
/**
+ * The meta object literal for the '<em><b>Right</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ADDITIVE_EXPRESSION_NODE__RIGHT = eINSTANCE.getAdditiveExpressionNode_Right();
+
+ /**
+ * The meta object literal for the '<em><b>Left</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ADDITIVE_EXPRESSION_NODE__LEFT = eINSTANCE.getAdditiveExpressionNode_Left();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.MultiplicativeExpressionNodeImpl <em>Multiplicative Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4760,6 +5008,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass MULTIPLICATIVE_EXPRESSION_NODE = eINSTANCE.getMultiplicativeExpressionNode();
/**
+ * The meta object literal for the '<em><b>Left</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTIPLICATIVE_EXPRESSION_NODE__LEFT = eINSTANCE.getMultiplicativeExpressionNode_Left();
+
+ /**
+ * The meta object literal for the '<em><b>Right</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTIPLICATIVE_EXPRESSION_NODE__RIGHT = eINSTANCE.getMultiplicativeExpressionNode_Right();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.UnaryExpressionNodeImpl <em>Unary Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4770,6 +5034,14 @@ public interface Xpand3nodePackage extends EPackage {
EClass UNARY_EXPRESSION_NODE = eINSTANCE.getUnaryExpressionNode();
/**
+ * The meta object literal for the '<em><b>Operand</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference UNARY_EXPRESSION_NODE__OPERAND = eINSTANCE.getUnaryExpressionNode_Operand();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.InfixExpressionNodeImpl <em>Infix Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4836,6 +5108,14 @@ public interface Xpand3nodePackage extends EPackage {
EClass FEATURE_CALL_NODE = eINSTANCE.getFeatureCallNode();
/**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FEATURE_CALL_NODE__TYPE = eINSTANCE.getFeatureCallNode_Type();
+
+ /**
* The meta object literal for the '<em><b>Name</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AdditiveExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AdditiveExpressionNodeImpl.java
index 483697f..347629a 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AdditiveExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AdditiveExpressionNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: AdditiveExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: AdditiveExpressionNodeImpl.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode;
@@ -18,12 +22,36 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Additive Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AdditiveExpressionNodeImpl#getLeft <em>Left</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AdditiveExpressionNodeImpl#getRight <em>Right</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements AdditiveExpressionNode {
/**
+ * The cached value of the '{@link #getLeft() <em>Left</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLeft()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode left;
+ /**
+ * The cached value of the '{@link #getRight() <em>Right</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRight()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode right;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +70,150 @@ public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements Add
return Xpand3nodePackage.Literals.ADDITIVE_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getRight() {
+ if (right != null && right.eIsProxy()) {
+ InternalEObject oldRight = (InternalEObject)right;
+ right = (CompositeNode)eResolveProxy(oldRight);
+ if (right != oldRight) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__RIGHT, oldRight, right));
+ }
+ }
+ return right;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetRight() {
+ return right;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRight(CompositeNode newRight) {
+ CompositeNode oldRight = right;
+ right = newRight;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__RIGHT, oldRight, right));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getLeft() {
+ if (left != null && left.eIsProxy()) {
+ InternalEObject oldLeft = (InternalEObject)left;
+ left = (CompositeNode)eResolveProxy(oldLeft);
+ if (left != oldLeft) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT, oldLeft, left));
+ }
+ }
+ return left;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetLeft() {
+ return left;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLeft(CompositeNode newLeft) {
+ CompositeNode oldLeft = left;
+ left = newLeft;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT, oldLeft, left));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT:
+ if (resolve) return getLeft();
+ return basicGetLeft();
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__RIGHT:
+ if (resolve) return getRight();
+ return basicGetRight();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT:
+ setLeft((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__RIGHT:
+ setRight((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT:
+ setLeft((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__RIGHT:
+ setRight((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT:
+ return left != null;
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__RIGHT:
+ return right != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //AdditiveExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionAroundNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionAroundNodeImpl.java
index 081e195..66e53e9 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionAroundNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionAroundNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: DefinitionAroundNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: DefinitionAroundNodeImpl.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode;
@@ -18,12 +22,56 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Definition Around Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionAroundNodeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionAroundNodeImpl#getPointcut <em>Pointcut</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionAroundNodeImpl#getParamList <em>Param List</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionAroundNodeImpl#getSequence <em>Sequence</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class DefinitionAroundNodeImpl extends CompositeNodeImpl implements DefinitionAroundNode {
/**
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode type;
+ /**
+ * The cached value of the '{@link #getPointcut() <em>Pointcut</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPointcut()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode pointcut;
+ /**
+ * The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParamList()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode paramList;
+ /**
+ * The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSequence()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode sequence;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +90,248 @@ public class DefinitionAroundNodeImpl extends CompositeNodeImpl implements Defin
return Xpand3nodePackage.Literals.DEFINITION_AROUND_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getType() {
+ if (type != null && type.eIsProxy()) {
+ InternalEObject oldType = (InternalEObject)type;
+ type = (CompositeNode)eResolveProxy(oldType);
+ if (type != oldType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DEFINITION_AROUND_NODE__TYPE, oldType, type));
+ }
+ }
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(CompositeNode newType) {
+ CompositeNode oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DEFINITION_AROUND_NODE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getPointcut() {
+ if (pointcut != null && pointcut.eIsProxy()) {
+ InternalEObject oldPointcut = (InternalEObject)pointcut;
+ pointcut = (CompositeNode)eResolveProxy(oldPointcut);
+ if (pointcut != oldPointcut) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DEFINITION_AROUND_NODE__POINTCUT, oldPointcut, pointcut));
+ }
+ }
+ return pointcut;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetPointcut() {
+ return pointcut;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPointcut(CompositeNode newPointcut) {
+ CompositeNode oldPointcut = pointcut;
+ pointcut = newPointcut;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DEFINITION_AROUND_NODE__POINTCUT, oldPointcut, pointcut));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getParamList() {
+ if (paramList != null && paramList.eIsProxy()) {
+ InternalEObject oldParamList = (InternalEObject)paramList;
+ paramList = (CompositeNode)eResolveProxy(oldParamList);
+ if (paramList != oldParamList) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DEFINITION_AROUND_NODE__PARAM_LIST, oldParamList, paramList));
+ }
+ }
+ return paramList;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetParamList() {
+ return paramList;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParamList(CompositeNode newParamList) {
+ CompositeNode oldParamList = paramList;
+ paramList = newParamList;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DEFINITION_AROUND_NODE__PARAM_LIST, oldParamList, paramList));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSequence() {
+ if (sequence != null && sequence.eIsProxy()) {
+ InternalEObject oldSequence = (InternalEObject)sequence;
+ sequence = (CompositeNode)eResolveProxy(oldSequence);
+ if (sequence != oldSequence) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DEFINITION_AROUND_NODE__SEQUENCE, oldSequence, sequence));
+ }
+ }
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSequence() {
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DEFINITION_AROUND_NODE__SEQUENCE, oldSequence, sequence));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__POINTCUT:
+ if (resolve) return getPointcut();
+ return basicGetPointcut();
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__PARAM_LIST:
+ if (resolve) return getParamList();
+ return basicGetParamList();
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__SEQUENCE:
+ if (resolve) return getSequence();
+ return basicGetSequence();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__TYPE:
+ setType((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__POINTCUT:
+ setPointcut((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__PARAM_LIST:
+ setParamList((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__SEQUENCE:
+ setSequence((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__TYPE:
+ setType((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__POINTCUT:
+ setPointcut((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__PARAM_LIST:
+ setParamList((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__SEQUENCE:
+ setSequence((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__TYPE:
+ return type != null;
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__POINTCUT:
+ return pointcut != null;
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__PARAM_LIST:
+ return paramList != null;
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE__SEQUENCE:
+ return sequence != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //DefinitionAroundNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionNodeImpl.java
index 4a00a2e..845feaa 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DefinitionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: DefinitionNodeImpl.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -28,6 +28,9 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionNodeImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionNodeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionNodeImpl#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DefinitionNodeImpl#getParamList <em>Param List</em>}</li>
* </ul>
* </p>
*
@@ -43,6 +46,34 @@ public class DefinitionNodeImpl extends CompositeNodeImpl implements DefinitionN
* @ordered
*/
protected CompositeNode name;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode type;
+ /**
+ * The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSequence()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode sequence;
+
+ /**
+ * The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParamList()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode paramList;
/**
* <!-- begin-user-doc -->
@@ -68,6 +99,82 @@ public class DefinitionNodeImpl extends CompositeNodeImpl implements DefinitionN
* <!-- end-user-doc -->
* @generated
*/
+ public CompositeNode getType() {
+ if (type != null && type.eIsProxy()) {
+ InternalEObject oldType = (InternalEObject)type;
+ type = (CompositeNode)eResolveProxy(oldType);
+ if (type != oldType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DEFINITION_NODE__TYPE, oldType, type));
+ }
+ }
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(CompositeNode newType) {
+ CompositeNode oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DEFINITION_NODE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSequence() {
+ if (sequence != null && sequence.eIsProxy()) {
+ InternalEObject oldSequence = (InternalEObject)sequence;
+ sequence = (CompositeNode)eResolveProxy(oldSequence);
+ if (sequence != oldSequence) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DEFINITION_NODE__SEQUENCE, oldSequence, sequence));
+ }
+ }
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSequence() {
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DEFINITION_NODE__SEQUENCE, oldSequence, sequence));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public CompositeNode getName() {
if (name != null && name.eIsProxy()) {
InternalEObject oldName = (InternalEObject)name;
@@ -106,12 +213,59 @@ public class DefinitionNodeImpl extends CompositeNodeImpl implements DefinitionN
* <!-- end-user-doc -->
* @generated
*/
+ public CompositeNode getParamList() {
+ if (paramList != null && paramList.eIsProxy()) {
+ InternalEObject oldParamList = (InternalEObject)paramList;
+ paramList = (CompositeNode)eResolveProxy(oldParamList);
+ if (paramList != oldParamList) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DEFINITION_NODE__PARAM_LIST, oldParamList, paramList));
+ }
+ }
+ return paramList;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetParamList() {
+ return paramList;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParamList(CompositeNode newParamList) {
+ CompositeNode oldParamList = paramList;
+ paramList = newParamList;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DEFINITION_NODE__PARAM_LIST, oldParamList, paramList));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case Xpand3nodePackage.DEFINITION_NODE__NAME:
if (resolve) return getName();
return basicGetName();
+ case Xpand3nodePackage.DEFINITION_NODE__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
+ case Xpand3nodePackage.DEFINITION_NODE__SEQUENCE:
+ if (resolve) return getSequence();
+ return basicGetSequence();
+ case Xpand3nodePackage.DEFINITION_NODE__PARAM_LIST:
+ if (resolve) return getParamList();
+ return basicGetParamList();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -127,6 +281,15 @@ public class DefinitionNodeImpl extends CompositeNodeImpl implements DefinitionN
case Xpand3nodePackage.DEFINITION_NODE__NAME:
setName((CompositeNode)newValue);
return;
+ case Xpand3nodePackage.DEFINITION_NODE__TYPE:
+ setType((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.DEFINITION_NODE__SEQUENCE:
+ setSequence((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.DEFINITION_NODE__PARAM_LIST:
+ setParamList((CompositeNode)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -142,6 +305,15 @@ public class DefinitionNodeImpl extends CompositeNodeImpl implements DefinitionN
case Xpand3nodePackage.DEFINITION_NODE__NAME:
setName((CompositeNode)null);
return;
+ case Xpand3nodePackage.DEFINITION_NODE__TYPE:
+ setType((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.DEFINITION_NODE__SEQUENCE:
+ setSequence((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.DEFINITION_NODE__PARAM_LIST:
+ setParamList((CompositeNode)null);
+ return;
}
super.eUnset(featureID);
}
@@ -156,6 +328,12 @@ public class DefinitionNodeImpl extends CompositeNodeImpl implements DefinitionN
switch (featureID) {
case Xpand3nodePackage.DEFINITION_NODE__NAME:
return name != null;
+ case Xpand3nodePackage.DEFINITION_NODE__TYPE:
+ return type != null;
+ case Xpand3nodePackage.DEFINITION_NODE__SEQUENCE:
+ return sequence != null;
+ case Xpand3nodePackage.DEFINITION_NODE__PARAM_LIST:
+ return paramList != null;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseIfStatementNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseIfStatementNodeImpl.java
index 3b6bb9b..20b5f9a 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseIfStatementNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseIfStatementNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: ElseIfStatementNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ElseIfStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode;
@@ -18,12 +22,36 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Else If Statement Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ElseIfStatementNodeImpl#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ElseIfStatementNodeImpl#getExpression <em>Expression</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ElseIfStatementNodeImpl extends CompositeNodeImpl implements ElseIfStatementNode {
/**
+ * The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSequence()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode sequence;
+ /**
+ * The cached value of the '{@link #getExpression() <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode expression;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +70,150 @@ public class ElseIfStatementNodeImpl extends CompositeNodeImpl implements ElseIf
return Xpand3nodePackage.Literals.ELSE_IF_STATEMENT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSequence() {
+ if (sequence != null && sequence.eIsProxy()) {
+ InternalEObject oldSequence = (InternalEObject)sequence;
+ sequence = (CompositeNode)eResolveProxy(oldSequence);
+ if (sequence != oldSequence) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+ }
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSequence() {
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getExpression() {
+ if (expression != null && expression.eIsProxy()) {
+ InternalEObject oldExpression = (InternalEObject)expression;
+ expression = (CompositeNode)eResolveProxy(oldExpression);
+ if (expression != oldExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__EXPRESSION, oldExpression, expression));
+ }
+ }
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetExpression() {
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(CompositeNode newExpression) {
+ CompositeNode oldExpression = expression;
+ expression = newExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__EXPRESSION, oldExpression, expression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__SEQUENCE:
+ if (resolve) return getSequence();
+ return basicGetSequence();
+ case Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__EXPRESSION:
+ if (resolve) return getExpression();
+ return basicGetExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__EXPRESSION:
+ setExpression((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__EXPRESSION:
+ setExpression((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__SEQUENCE:
+ return sequence != null;
+ case Xpand3nodePackage.ELSE_IF_STATEMENT_NODE__EXPRESSION:
+ return expression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ElseIfStatementNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseStatementNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseStatementNodeImpl.java
index 92d9950..b46e9e8 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseStatementNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseStatementNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: ElseStatementNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: ElseStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.ElseStatementNode;
@@ -18,12 +22,26 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Else Statement Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ElseStatementNodeImpl#getSequence <em>Sequence</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ElseStatementNodeImpl extends CompositeNodeImpl implements ElseStatementNode {
/**
+ * The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSequence()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode sequence;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +60,101 @@ public class ElseStatementNodeImpl extends CompositeNodeImpl implements ElseStat
return Xpand3nodePackage.Literals.ELSE_STATEMENT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSequence() {
+ if (sequence != null && sequence.eIsProxy()) {
+ InternalEObject oldSequence = (InternalEObject)sequence;
+ sequence = (CompositeNode)eResolveProxy(oldSequence);
+ if (sequence != oldSequence) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.ELSE_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+ }
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSequence() {
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.ELSE_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.ELSE_STATEMENT_NODE__SEQUENCE:
+ if (resolve) return getSequence();
+ return basicGetSequence();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.ELSE_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.ELSE_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.ELSE_STATEMENT_NODE__SEQUENCE:
+ return sequence != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ElseStatementNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ErrorStatementNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ErrorStatementNodeImpl.java
index ce87b5f..4390213 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ErrorStatementNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ErrorStatementNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: ErrorStatementNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: ErrorStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.ErrorStatementNode;
@@ -18,12 +22,26 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Error Statement Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ErrorStatementNodeImpl#getExpression <em>Expression</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ErrorStatementNodeImpl extends CompositeNodeImpl implements ErrorStatementNode {
/**
+ * The cached value of the '{@link #getExpression() <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode expression;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +60,101 @@ public class ErrorStatementNodeImpl extends CompositeNodeImpl implements ErrorSt
return Xpand3nodePackage.Literals.ERROR_STATEMENT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getExpression() {
+ if (expression != null && expression.eIsProxy()) {
+ InternalEObject oldExpression = (InternalEObject)expression;
+ expression = (CompositeNode)eResolveProxy(oldExpression);
+ if (expression != oldExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.ERROR_STATEMENT_NODE__EXPRESSION, oldExpression, expression));
+ }
+ }
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetExpression() {
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(CompositeNode newExpression) {
+ CompositeNode oldExpression = expression;
+ expression = newExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.ERROR_STATEMENT_NODE__EXPRESSION, oldExpression, expression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.ERROR_STATEMENT_NODE__EXPRESSION:
+ if (resolve) return getExpression();
+ return basicGetExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.ERROR_STATEMENT_NODE__EXPRESSION:
+ setExpression((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.ERROR_STATEMENT_NODE__EXPRESSION:
+ setExpression((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.ERROR_STATEMENT_NODE__EXPRESSION:
+ return expression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ErrorStatementNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpandStatementNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpandStatementNodeImpl.java
index 4b69a41..0161550 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpandStatementNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpandStatementNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: ExpandStatementNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: ExpandStatementNodeImpl.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode;
@@ -18,12 +22,56 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Expand Statement Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpandStatementNodeImpl#getSeparator <em>Separator</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpandStatementNodeImpl#getParamList <em>Param List</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpandStatementNodeImpl#getForExpression <em>For Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpandStatementNodeImpl#getName <em>Name</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ExpandStatementNodeImpl extends CompositeNodeImpl implements ExpandStatementNode {
/**
+ * The cached value of the '{@link #getSeparator() <em>Separator</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSeparator()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode separator;
+ /**
+ * The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParamList()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode paramList;
+ /**
+ * The cached value of the '{@link #getForExpression() <em>For Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getForExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode forExpression;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode name;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +90,248 @@ public class ExpandStatementNodeImpl extends CompositeNodeImpl implements Expand
return Xpand3nodePackage.Literals.EXPAND_STATEMENT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSeparator() {
+ if (separator != null && separator.eIsProxy()) {
+ InternalEObject oldSeparator = (InternalEObject)separator;
+ separator = (CompositeNode)eResolveProxy(oldSeparator);
+ if (separator != oldSeparator) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXPAND_STATEMENT_NODE__SEPARATOR, oldSeparator, separator));
+ }
+ }
+ return separator;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSeparator() {
+ return separator;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSeparator(CompositeNode newSeparator) {
+ CompositeNode oldSeparator = separator;
+ separator = newSeparator;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXPAND_STATEMENT_NODE__SEPARATOR, oldSeparator, separator));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getParamList() {
+ if (paramList != null && paramList.eIsProxy()) {
+ InternalEObject oldParamList = (InternalEObject)paramList;
+ paramList = (CompositeNode)eResolveProxy(oldParamList);
+ if (paramList != oldParamList) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST, oldParamList, paramList));
+ }
+ }
+ return paramList;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetParamList() {
+ return paramList;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParamList(CompositeNode newParamList) {
+ CompositeNode oldParamList = paramList;
+ paramList = newParamList;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST, oldParamList, paramList));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getForExpression() {
+ if (forExpression != null && forExpression.eIsProxy()) {
+ InternalEObject oldForExpression = (InternalEObject)forExpression;
+ forExpression = (CompositeNode)eResolveProxy(oldForExpression);
+ if (forExpression != oldForExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION, oldForExpression, forExpression));
+ }
+ }
+ return forExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetForExpression() {
+ return forExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setForExpression(CompositeNode newForExpression) {
+ CompositeNode oldForExpression = forExpression;
+ forExpression = newForExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION, oldForExpression, forExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getName() {
+ if (name != null && name.eIsProxy()) {
+ InternalEObject oldName = (InternalEObject)name;
+ name = (CompositeNode)eResolveProxy(oldName);
+ if (name != oldName) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXPAND_STATEMENT_NODE__NAME, oldName, name));
+ }
+ }
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(CompositeNode newName) {
+ CompositeNode oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXPAND_STATEMENT_NODE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__SEPARATOR:
+ if (resolve) return getSeparator();
+ return basicGetSeparator();
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST:
+ if (resolve) return getParamList();
+ return basicGetParamList();
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION:
+ if (resolve) return getForExpression();
+ return basicGetForExpression();
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__NAME:
+ if (resolve) return getName();
+ return basicGetName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__SEPARATOR:
+ setSeparator((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST:
+ setParamList((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION:
+ setForExpression((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__NAME:
+ setName((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__SEPARATOR:
+ setSeparator((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST:
+ setParamList((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION:
+ setForExpression((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__NAME:
+ setName((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__SEPARATOR:
+ return separator != null;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST:
+ return paramList != null;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION:
+ return forExpression != null;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__NAME:
+ return name != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ExpandStatementNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionStmtNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionStmtNodeImpl.java
index e3355dd..567fc04 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionStmtNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionStmtNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: ExpressionStmtNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ExpressionStmtNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.ExpressionStmtNode;
@@ -18,12 +22,26 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Expression Stmt Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpressionStmtNodeImpl#getExpression <em>Expression</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ExpressionStmtNodeImpl extends CompositeNodeImpl implements ExpressionStmtNode {
/**
+ * The cached value of the '{@link #getExpression() <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode expression;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +60,101 @@ public class ExpressionStmtNodeImpl extends CompositeNodeImpl implements Express
return Xpand3nodePackage.Literals.EXPRESSION_STMT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getExpression() {
+ if (expression != null && expression.eIsProxy()) {
+ InternalEObject oldExpression = (InternalEObject)expression;
+ expression = (CompositeNode)eResolveProxy(oldExpression);
+ if (expression != oldExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXPRESSION_STMT_NODE__EXPRESSION, oldExpression, expression));
+ }
+ }
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetExpression() {
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(CompositeNode newExpression) {
+ CompositeNode oldExpression = expression;
+ expression = newExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXPRESSION_STMT_NODE__EXPRESSION, oldExpression, expression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXPRESSION_STMT_NODE__EXPRESSION:
+ if (resolve) return getExpression();
+ return basicGetExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXPRESSION_STMT_NODE__EXPRESSION:
+ setExpression((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXPRESSION_STMT_NODE__EXPRESSION:
+ setExpression((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXPRESSION_STMT_NODE__EXPRESSION:
+ return expression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ExpressionStmtNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionImportNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionImportNodeImpl.java
new file mode 100644
index 0000000..42366f0
--- /dev/null
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionImportNodeImpl.java
@@ -0,0 +1,223 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ExtensionImportNodeImpl.java,v 1.1 2008/03/12 09:54:13 jkohnlein Exp $
+ */
+package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.tmf.common.node.CompositeNode;
+
+import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
+
+import org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode;
+import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Extension Import Node</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionImportNodeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionImportNodeImpl#getNamespace <em>Namespace</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ExtensionImportNodeImpl extends CompositeNodeImpl implements ExtensionImportNode {
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode type;
+
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode namespace;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ExtensionImportNodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Xpand3nodePackage.Literals.EXTENSION_IMPORT_NODE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getType() {
+ if (type != null && type.eIsProxy()) {
+ InternalEObject oldType = (InternalEObject)type;
+ type = (CompositeNode)eResolveProxy(oldType);
+ if (type != oldType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_IMPORT_NODE__TYPE, oldType, type));
+ }
+ }
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(CompositeNode newType) {
+ CompositeNode oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_IMPORT_NODE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getNamespace() {
+ if (namespace != null && namespace.eIsProxy()) {
+ InternalEObject oldNamespace = (InternalEObject)namespace;
+ namespace = (CompositeNode)eResolveProxy(oldNamespace);
+ if (namespace != oldNamespace) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_IMPORT_NODE__NAMESPACE, oldNamespace, namespace));
+ }
+ }
+ return namespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetNamespace() {
+ return namespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNamespace(CompositeNode newNamespace) {
+ CompositeNode oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_IMPORT_NODE__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE__NAMESPACE:
+ if (resolve) return getNamespace();
+ return basicGetNamespace();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE__TYPE:
+ setType((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE__NAMESPACE:
+ setNamespace((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE__TYPE:
+ setType((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE__NAMESPACE:
+ setNamespace((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE__TYPE:
+ return type != null;
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE__NAMESPACE:
+ return namespace != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ExtensionImportNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionNodeImpl.java
index bf374f9..d8e9788 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ExtensionNodeImpl.java,v 1.4 2008/03/07 11:11:16 jkohnlein Exp $
+ * $Id: ExtensionNodeImpl.java,v 1.5 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -28,15 +28,15 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getCached <em>Cached</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getParamList <em>Param List</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getCreate <em>Create</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getPrivate <em>Private</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getExtendBody <em>Extend Body</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getReturnType <em>Return Type</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getJavaName <em>Java Name</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getJavaReturnType <em>Java Return Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getCreate <em>Create</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getJavaName <em>Java Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getCached <em>Cached</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExtensionNodeImpl#getExtendBody <em>Extend Body</em>}</li>
* </ul>
* </p>
*
@@ -44,94 +44,94 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNode {
/**
- * The cached value of the '{@link #getCached() <em>Cached</em>}' reference.
+ * The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getCached()
+ * @see #getParamList()
* @generated
* @ordered
*/
- protected LeafNode cached;
+ protected CompositeNode paramList;
/**
- * The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
+ * The cached value of the '{@link #getPrivate() <em>Private</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getParamList()
+ * @see #getPrivate()
* @generated
* @ordered
*/
- protected CompositeNode paramList;
+ protected LeafNode private_;
/**
- * The cached value of the '{@link #getCreate() <em>Create</em>}' reference.
+ * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getCreate()
+ * @see #getReturnType()
* @generated
* @ordered
*/
- protected LeafNode create;
+ protected CompositeNode returnType;
/**
- * The cached value of the '{@link #getPrivate() <em>Private</em>}' reference.
+ * The cached value of the '{@link #getJavaReturnType() <em>Java Return Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getPrivate()
+ * @see #getJavaReturnType()
* @generated
* @ordered
*/
- protected LeafNode private_;
+ protected CompositeNode javaReturnType;
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' reference.
+ * The cached value of the '{@link #getCreate() <em>Create</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getName()
+ * @see #getCreate()
* @generated
* @ordered
*/
- protected CompositeNode name;
+ protected LeafNode create;
/**
- * The cached value of the '{@link #getExtendBody() <em>Extend Body</em>}' reference.
+ * The cached value of the '{@link #getName() <em>Name</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getExtendBody()
+ * @see #getName()
* @generated
* @ordered
*/
- protected CompositeNode extendBody;
+ protected CompositeNode name;
/**
- * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' reference.
+ * The cached value of the '{@link #getJavaName() <em>Java Name</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getReturnType()
+ * @see #getJavaName()
* @generated
* @ordered
*/
- protected CompositeNode returnType;
+ protected CompositeNode javaName;
/**
- * The cached value of the '{@link #getJavaName() <em>Java Name</em>}' reference.
+ * The cached value of the '{@link #getCached() <em>Cached</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getJavaName()
+ * @see #getCached()
* @generated
* @ordered
*/
- protected CompositeNode javaName;
+ protected LeafNode cached;
/**
- * The cached value of the '{@link #getJavaReturnType() <em>Java Return Type</em>}' reference.
+ * The cached value of the '{@link #getExtendBody() <em>Extend Body</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getJavaReturnType()
+ * @see #getExtendBody()
* @generated
* @ordered
*/
- protected CompositeNode javaReturnType;
+ protected CompositeNode extendBody;
/**
* <!-- begin-user-doc -->
@@ -502,33 +502,33 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Xpand3nodePackage.EXTENSION_NODE__CACHED:
- if (resolve) return getCached();
- return basicGetCached();
case Xpand3nodePackage.EXTENSION_NODE__PARAM_LIST:
if (resolve) return getParamList();
return basicGetParamList();
- case Xpand3nodePackage.EXTENSION_NODE__CREATE:
- if (resolve) return getCreate();
- return basicGetCreate();
case Xpand3nodePackage.EXTENSION_NODE__PRIVATE:
if (resolve) return getPrivate();
return basicGetPrivate();
- case Xpand3nodePackage.EXTENSION_NODE__NAME:
- if (resolve) return getName();
- return basicGetName();
- case Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY:
- if (resolve) return getExtendBody();
- return basicGetExtendBody();
case Xpand3nodePackage.EXTENSION_NODE__RETURN_TYPE:
if (resolve) return getReturnType();
return basicGetReturnType();
- case Xpand3nodePackage.EXTENSION_NODE__JAVA_NAME:
- if (resolve) return getJavaName();
- return basicGetJavaName();
case Xpand3nodePackage.EXTENSION_NODE__JAVA_RETURN_TYPE:
if (resolve) return getJavaReturnType();
return basicGetJavaReturnType();
+ case Xpand3nodePackage.EXTENSION_NODE__CREATE:
+ if (resolve) return getCreate();
+ return basicGetCreate();
+ case Xpand3nodePackage.EXTENSION_NODE__NAME:
+ if (resolve) return getName();
+ return basicGetName();
+ case Xpand3nodePackage.EXTENSION_NODE__JAVA_NAME:
+ if (resolve) return getJavaName();
+ return basicGetJavaName();
+ case Xpand3nodePackage.EXTENSION_NODE__CACHED:
+ if (resolve) return getCached();
+ return basicGetCached();
+ case Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY:
+ if (resolve) return getExtendBody();
+ return basicGetExtendBody();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -541,32 +541,32 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.EXTENSION_NODE__CACHED:
- setCached((LeafNode)newValue);
- return;
case Xpand3nodePackage.EXTENSION_NODE__PARAM_LIST:
setParamList((CompositeNode)newValue);
return;
- case Xpand3nodePackage.EXTENSION_NODE__CREATE:
- setCreate((LeafNode)newValue);
- return;
case Xpand3nodePackage.EXTENSION_NODE__PRIVATE:
setPrivate((LeafNode)newValue);
return;
- case Xpand3nodePackage.EXTENSION_NODE__NAME:
- setName((CompositeNode)newValue);
- return;
- case Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY:
- setExtendBody((CompositeNode)newValue);
- return;
case Xpand3nodePackage.EXTENSION_NODE__RETURN_TYPE:
setReturnType((CompositeNode)newValue);
return;
+ case Xpand3nodePackage.EXTENSION_NODE__JAVA_RETURN_TYPE:
+ setJavaReturnType((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.EXTENSION_NODE__CREATE:
+ setCreate((LeafNode)newValue);
+ return;
+ case Xpand3nodePackage.EXTENSION_NODE__NAME:
+ setName((CompositeNode)newValue);
+ return;
case Xpand3nodePackage.EXTENSION_NODE__JAVA_NAME:
setJavaName((CompositeNode)newValue);
return;
- case Xpand3nodePackage.EXTENSION_NODE__JAVA_RETURN_TYPE:
- setJavaReturnType((CompositeNode)newValue);
+ case Xpand3nodePackage.EXTENSION_NODE__CACHED:
+ setCached((LeafNode)newValue);
+ return;
+ case Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY:
+ setExtendBody((CompositeNode)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -580,32 +580,32 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.EXTENSION_NODE__CACHED:
- setCached((LeafNode)null);
- return;
case Xpand3nodePackage.EXTENSION_NODE__PARAM_LIST:
setParamList((CompositeNode)null);
return;
- case Xpand3nodePackage.EXTENSION_NODE__CREATE:
- setCreate((LeafNode)null);
- return;
case Xpand3nodePackage.EXTENSION_NODE__PRIVATE:
setPrivate((LeafNode)null);
return;
- case Xpand3nodePackage.EXTENSION_NODE__NAME:
- setName((CompositeNode)null);
- return;
- case Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY:
- setExtendBody((CompositeNode)null);
- return;
case Xpand3nodePackage.EXTENSION_NODE__RETURN_TYPE:
setReturnType((CompositeNode)null);
return;
+ case Xpand3nodePackage.EXTENSION_NODE__JAVA_RETURN_TYPE:
+ setJavaReturnType((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.EXTENSION_NODE__CREATE:
+ setCreate((LeafNode)null);
+ return;
+ case Xpand3nodePackage.EXTENSION_NODE__NAME:
+ setName((CompositeNode)null);
+ return;
case Xpand3nodePackage.EXTENSION_NODE__JAVA_NAME:
setJavaName((CompositeNode)null);
return;
- case Xpand3nodePackage.EXTENSION_NODE__JAVA_RETURN_TYPE:
- setJavaReturnType((CompositeNode)null);
+ case Xpand3nodePackage.EXTENSION_NODE__CACHED:
+ setCached((LeafNode)null);
+ return;
+ case Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY:
+ setExtendBody((CompositeNode)null);
return;
}
super.eUnset(featureID);
@@ -619,24 +619,24 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.EXTENSION_NODE__CACHED:
- return cached != null;
case Xpand3nodePackage.EXTENSION_NODE__PARAM_LIST:
return paramList != null;
- case Xpand3nodePackage.EXTENSION_NODE__CREATE:
- return create != null;
case Xpand3nodePackage.EXTENSION_NODE__PRIVATE:
return private_ != null;
- case Xpand3nodePackage.EXTENSION_NODE__NAME:
- return name != null;
- case Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY:
- return extendBody != null;
case Xpand3nodePackage.EXTENSION_NODE__RETURN_TYPE:
return returnType != null;
- case Xpand3nodePackage.EXTENSION_NODE__JAVA_NAME:
- return javaName != null;
case Xpand3nodePackage.EXTENSION_NODE__JAVA_RETURN_TYPE:
return javaReturnType != null;
+ case Xpand3nodePackage.EXTENSION_NODE__CREATE:
+ return create != null;
+ case Xpand3nodePackage.EXTENSION_NODE__NAME:
+ return name != null;
+ case Xpand3nodePackage.EXTENSION_NODE__JAVA_NAME:
+ return javaName != null;
+ case Xpand3nodePackage.EXTENSION_NODE__CACHED:
+ return cached != null;
+ case Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY:
+ return extendBody != null;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FeatureCallNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FeatureCallNodeImpl.java
index 2d2b106..3d1438c 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FeatureCallNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FeatureCallNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: FeatureCallNodeImpl.java,v 1.4 2008/03/07 11:11:16 jkohnlein Exp $
+ * $Id: FeatureCallNodeImpl.java,v 1.5 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -27,8 +27,9 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FeatureCallNodeImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FeatureCallNodeImpl#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FeatureCallNodeImpl#getParamList <em>Param List</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FeatureCallNodeImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -36,14 +37,14 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCallNode {
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' reference.
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getName()
+ * @see #getType()
* @generated
* @ordered
*/
- protected CompositeNode name;
+ protected CompositeNode type;
/**
* The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
@@ -56,6 +57,16 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
protected CompositeNode paramList;
/**
+ * The cached value of the '{@link #getName() <em>Name</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode name;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -79,6 +90,44 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
* <!-- end-user-doc -->
* @generated
*/
+ public CompositeNode getType() {
+ if (type != null && type.eIsProxy()) {
+ InternalEObject oldType = (InternalEObject)type;
+ type = (CompositeNode)eResolveProxy(oldType);
+ if (type != oldType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FEATURE_CALL_NODE__TYPE, oldType, type));
+ }
+ }
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(CompositeNode newType) {
+ CompositeNode oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FEATURE_CALL_NODE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public CompositeNode getName() {
if (name != null && name.eIsProxy()) {
InternalEObject oldName = (InternalEObject)name;
@@ -158,12 +207,15 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Xpand3nodePackage.FEATURE_CALL_NODE__NAME:
- if (resolve) return getName();
- return basicGetName();
+ case Xpand3nodePackage.FEATURE_CALL_NODE__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
case Xpand3nodePackage.FEATURE_CALL_NODE__PARAM_LIST:
if (resolve) return getParamList();
return basicGetParamList();
+ case Xpand3nodePackage.FEATURE_CALL_NODE__NAME:
+ if (resolve) return getName();
+ return basicGetName();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -176,12 +228,15 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.FEATURE_CALL_NODE__NAME:
- setName((CompositeNode)newValue);
+ case Xpand3nodePackage.FEATURE_CALL_NODE__TYPE:
+ setType((CompositeNode)newValue);
return;
case Xpand3nodePackage.FEATURE_CALL_NODE__PARAM_LIST:
setParamList((CompositeNode)newValue);
return;
+ case Xpand3nodePackage.FEATURE_CALL_NODE__NAME:
+ setName((CompositeNode)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -194,12 +249,15 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.FEATURE_CALL_NODE__NAME:
- setName((CompositeNode)null);
+ case Xpand3nodePackage.FEATURE_CALL_NODE__TYPE:
+ setType((CompositeNode)null);
return;
case Xpand3nodePackage.FEATURE_CALL_NODE__PARAM_LIST:
setParamList((CompositeNode)null);
return;
+ case Xpand3nodePackage.FEATURE_CALL_NODE__NAME:
+ setName((CompositeNode)null);
+ return;
}
super.eUnset(featureID);
}
@@ -212,10 +270,12 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.FEATURE_CALL_NODE__NAME:
- return name != null;
+ case Xpand3nodePackage.FEATURE_CALL_NODE__TYPE:
+ return type != null;
case Xpand3nodePackage.FEATURE_CALL_NODE__PARAM_LIST:
return paramList != null;
+ case Xpand3nodePackage.FEATURE_CALL_NODE__NAME:
+ return name != null;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileNodeImpl.java
index ca9ac1c..5a99a03 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: FileNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: FileNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -28,8 +28,8 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl#getImp <em>Imp</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl#getDecl <em>Decl</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl#getDeclarations <em>Declarations</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileNodeImpl#getImports <em>Imports</em>}</li>
* </ul>
* </p>
*
@@ -37,24 +37,24 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class FileNodeImpl extends CompositeNodeImpl implements FileNode {
/**
- * The cached value of the '{@link #getImp() <em>Imp</em>}' reference list.
+ * The cached value of the '{@link #getDeclarations() <em>Declarations</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getImp()
+ * @see #getDeclarations()
* @generated
* @ordered
*/
- protected EList<CompositeNode> imp;
+ protected EList<CompositeNode> declarations;
/**
- * The cached value of the '{@link #getDecl() <em>Decl</em>}' reference list.
+ * The cached value of the '{@link #getImports() <em>Imports</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getDecl()
+ * @see #getImports()
* @generated
* @ordered
*/
- protected EList<CompositeNode> decl;
+ protected EList<CompositeNode> imports;
/**
* <!-- begin-user-doc -->
@@ -80,11 +80,11 @@ public class FileNodeImpl extends CompositeNodeImpl implements FileNode {
* <!-- end-user-doc -->
* @generated
*/
- public EList<CompositeNode> getDecl() {
- if (decl == null) {
- decl = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.FILE_NODE__DECL);
+ public EList<CompositeNode> getDeclarations() {
+ if (declarations == null) {
+ declarations = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.FILE_NODE__DECLARATIONS);
}
- return decl;
+ return declarations;
}
/**
@@ -92,11 +92,11 @@ public class FileNodeImpl extends CompositeNodeImpl implements FileNode {
* <!-- end-user-doc -->
* @generated
*/
- public EList<CompositeNode> getImp() {
- if (imp == null) {
- imp = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.FILE_NODE__IMP);
+ public EList<CompositeNode> getImports() {
+ if (imports == null) {
+ imports = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.FILE_NODE__IMPORTS);
}
- return imp;
+ return imports;
}
/**
@@ -107,10 +107,10 @@ public class FileNodeImpl extends CompositeNodeImpl implements FileNode {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Xpand3nodePackage.FILE_NODE__IMP:
- return getImp();
- case Xpand3nodePackage.FILE_NODE__DECL:
- return getDecl();
+ case Xpand3nodePackage.FILE_NODE__DECLARATIONS:
+ return getDeclarations();
+ case Xpand3nodePackage.FILE_NODE__IMPORTS:
+ return getImports();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -124,13 +124,13 @@ public class FileNodeImpl extends CompositeNodeImpl implements FileNode {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.FILE_NODE__IMP:
- getImp().clear();
- getImp().addAll((Collection<? extends CompositeNode>)newValue);
+ case Xpand3nodePackage.FILE_NODE__DECLARATIONS:
+ getDeclarations().clear();
+ getDeclarations().addAll((Collection<? extends CompositeNode>)newValue);
return;
- case Xpand3nodePackage.FILE_NODE__DECL:
- getDecl().clear();
- getDecl().addAll((Collection<? extends CompositeNode>)newValue);
+ case Xpand3nodePackage.FILE_NODE__IMPORTS:
+ getImports().clear();
+ getImports().addAll((Collection<? extends CompositeNode>)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -144,11 +144,11 @@ public class FileNodeImpl extends CompositeNodeImpl implements FileNode {
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.FILE_NODE__IMP:
- getImp().clear();
+ case Xpand3nodePackage.FILE_NODE__DECLARATIONS:
+ getDeclarations().clear();
return;
- case Xpand3nodePackage.FILE_NODE__DECL:
- getDecl().clear();
+ case Xpand3nodePackage.FILE_NODE__IMPORTS:
+ getImports().clear();
return;
}
super.eUnset(featureID);
@@ -162,10 +162,10 @@ public class FileNodeImpl extends CompositeNodeImpl implements FileNode {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.FILE_NODE__IMP:
- return imp != null && !imp.isEmpty();
- case Xpand3nodePackage.FILE_NODE__DECL:
- return decl != null && !decl.isEmpty();
+ case Xpand3nodePackage.FILE_NODE__DECLARATIONS:
+ return declarations != null && !declarations.isEmpty();
+ case Xpand3nodePackage.FILE_NODE__IMPORTS:
+ return imports != null && !imports.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileStatementNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileStatementNodeImpl.java
index f9655b0..4bea0c9 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileStatementNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileStatementNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: FileStatementNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: FileStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode;
@@ -18,12 +22,46 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>File Statement Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileStatementNodeImpl#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileStatementNodeImpl#getIdentifier <em>Identifier</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.FileStatementNodeImpl#getNameExpression <em>Name Expression</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStatementNode {
/**
+ * The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSequence()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode sequence;
+ /**
+ * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifier()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode identifier;
+ /**
+ * The cached value of the '{@link #getNameExpression() <em>Name Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNameExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode nameExpression;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +80,199 @@ public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStat
return Xpand3nodePackage.Literals.FILE_STATEMENT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getNameExpression() {
+ if (nameExpression != null && nameExpression.eIsProxy()) {
+ InternalEObject oldNameExpression = (InternalEObject)nameExpression;
+ nameExpression = (CompositeNode)eResolveProxy(oldNameExpression);
+ if (nameExpression != oldNameExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FILE_STATEMENT_NODE__NAME_EXPRESSION, oldNameExpression, nameExpression));
+ }
+ }
+ return nameExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetNameExpression() {
+ return nameExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNameExpression(CompositeNode newNameExpression) {
+ CompositeNode oldNameExpression = nameExpression;
+ nameExpression = newNameExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FILE_STATEMENT_NODE__NAME_EXPRESSION, oldNameExpression, nameExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getIdentifier() {
+ if (identifier != null && identifier.eIsProxy()) {
+ InternalEObject oldIdentifier = (InternalEObject)identifier;
+ identifier = (CompositeNode)eResolveProxy(oldIdentifier);
+ if (identifier != oldIdentifier) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FILE_STATEMENT_NODE__IDENTIFIER, oldIdentifier, identifier));
+ }
+ }
+ return identifier;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIdentifier(CompositeNode newIdentifier) {
+ CompositeNode oldIdentifier = identifier;
+ identifier = newIdentifier;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FILE_STATEMENT_NODE__IDENTIFIER, oldIdentifier, identifier));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSequence() {
+ if (sequence != null && sequence.eIsProxy()) {
+ InternalEObject oldSequence = (InternalEObject)sequence;
+ sequence = (CompositeNode)eResolveProxy(oldSequence);
+ if (sequence != oldSequence) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FILE_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+ }
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSequence() {
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FILE_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__SEQUENCE:
+ if (resolve) return getSequence();
+ return basicGetSequence();
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__IDENTIFIER:
+ if (resolve) return getIdentifier();
+ return basicGetIdentifier();
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__NAME_EXPRESSION:
+ if (resolve) return getNameExpression();
+ return basicGetNameExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__IDENTIFIER:
+ setIdentifier((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__NAME_EXPRESSION:
+ setNameExpression((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__IDENTIFIER:
+ setIdentifier((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__NAME_EXPRESSION:
+ setNameExpression((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__SEQUENCE:
+ return sequence != null;
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__IDENTIFIER:
+ return identifier != null;
+ case Xpand3nodePackage.FILE_STATEMENT_NODE__NAME_EXPRESSION:
+ return nameExpression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //FileStatementNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ForeachStatementNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ForeachStatementNodeImpl.java
index 729c300..6d01175 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ForeachStatementNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ForeachStatementNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: ForeachStatementNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ForeachStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode;
@@ -18,12 +22,66 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Foreach Statement Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ForeachStatementNodeImpl#getIterator <em>Iterator</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ForeachStatementNodeImpl#getIdentifier <em>Identifier</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ForeachStatementNodeImpl#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ForeachStatementNodeImpl#getForExpression <em>For Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ForeachStatementNodeImpl#getSeparatorExpression <em>Separator Expression</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ForeachStatementNodeImpl extends CompositeNodeImpl implements ForeachStatementNode {
/**
+ * The cached value of the '{@link #getIterator() <em>Iterator</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIterator()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode iterator;
+ /**
+ * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdentifier()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode identifier;
+ /**
+ * The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSequence()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode sequence;
+ /**
+ * The cached value of the '{@link #getForExpression() <em>For Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getForExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode forExpression;
+ /**
+ * The cached value of the '{@link #getSeparatorExpression() <em>Separator Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSeparatorExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode separatorExpression;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +100,297 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
return Xpand3nodePackage.Literals.FOREACH_STATEMENT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getIterator() {
+ if (iterator != null && iterator.eIsProxy()) {
+ InternalEObject oldIterator = (InternalEObject)iterator;
+ iterator = (CompositeNode)eResolveProxy(oldIterator);
+ if (iterator != oldIterator) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FOREACH_STATEMENT_NODE__ITERATOR, oldIterator, iterator));
+ }
+ }
+ return iterator;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetIterator() {
+ return iterator;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIterator(CompositeNode newIterator) {
+ CompositeNode oldIterator = iterator;
+ iterator = newIterator;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__ITERATOR, oldIterator, iterator));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSeparatorExpression() {
+ if (separatorExpression != null && separatorExpression.eIsProxy()) {
+ InternalEObject oldSeparatorExpression = (InternalEObject)separatorExpression;
+ separatorExpression = (CompositeNode)eResolveProxy(oldSeparatorExpression);
+ if (separatorExpression != oldSeparatorExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION, oldSeparatorExpression, separatorExpression));
+ }
+ }
+ return separatorExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSeparatorExpression() {
+ return separatorExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSeparatorExpression(CompositeNode newSeparatorExpression) {
+ CompositeNode oldSeparatorExpression = separatorExpression;
+ separatorExpression = newSeparatorExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION, oldSeparatorExpression, separatorExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getIdentifier() {
+ if (identifier != null && identifier.eIsProxy()) {
+ InternalEObject oldIdentifier = (InternalEObject)identifier;
+ identifier = (CompositeNode)eResolveProxy(oldIdentifier);
+ if (identifier != oldIdentifier) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FOREACH_STATEMENT_NODE__IDENTIFIER, oldIdentifier, identifier));
+ }
+ }
+ return identifier;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIdentifier(CompositeNode newIdentifier) {
+ CompositeNode oldIdentifier = identifier;
+ identifier = newIdentifier;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__IDENTIFIER, oldIdentifier, identifier));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getForExpression() {
+ if (forExpression != null && forExpression.eIsProxy()) {
+ InternalEObject oldForExpression = (InternalEObject)forExpression;
+ forExpression = (CompositeNode)eResolveProxy(oldForExpression);
+ if (forExpression != oldForExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FOREACH_STATEMENT_NODE__FOR_EXPRESSION, oldForExpression, forExpression));
+ }
+ }
+ return forExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetForExpression() {
+ return forExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setForExpression(CompositeNode newForExpression) {
+ CompositeNode oldForExpression = forExpression;
+ forExpression = newForExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__FOR_EXPRESSION, oldForExpression, forExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSequence() {
+ if (sequence != null && sequence.eIsProxy()) {
+ InternalEObject oldSequence = (InternalEObject)sequence;
+ sequence = (CompositeNode)eResolveProxy(oldSequence);
+ if (sequence != oldSequence) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+ }
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSequence() {
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__ITERATOR:
+ if (resolve) return getIterator();
+ return basicGetIterator();
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__IDENTIFIER:
+ if (resolve) return getIdentifier();
+ return basicGetIdentifier();
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEQUENCE:
+ if (resolve) return getSequence();
+ return basicGetSequence();
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__FOR_EXPRESSION:
+ if (resolve) return getForExpression();
+ return basicGetForExpression();
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION:
+ if (resolve) return getSeparatorExpression();
+ return basicGetSeparatorExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__ITERATOR:
+ setIterator((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__IDENTIFIER:
+ setIdentifier((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__FOR_EXPRESSION:
+ setForExpression((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION:
+ setSeparatorExpression((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__ITERATOR:
+ setIterator((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__IDENTIFIER:
+ setIdentifier((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__FOR_EXPRESSION:
+ setForExpression((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION:
+ setSeparatorExpression((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__ITERATOR:
+ return iterator != null;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__IDENTIFIER:
+ return identifier != null;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEQUENCE:
+ return sequence != null;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__FOR_EXPRESSION:
+ return forExpression != null;
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION:
+ return separatorExpression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ForeachStatementNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfStatementNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfStatementNodeImpl.java
index 418101d..b6ebd0a 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfStatementNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfStatementNodeImpl.java
@@ -2,12 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: IfStatementNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: IfStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import java.util.Collection;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode;
@@ -18,12 +25,56 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>If Statement Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfStatementNodeImpl#getElseIf <em>Else If</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfStatementNodeImpl#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfStatementNodeImpl#getElse <em>Else</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfStatementNodeImpl#getSequence <em>Sequence</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatementNode {
/**
+ * The cached value of the '{@link #getElseIf() <em>Else If</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElseIf()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> elseIf;
+ /**
+ * The cached value of the '{@link #getExpression() <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode expression;
+ /**
+ * The cached value of the '{@link #getElse() <em>Else</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElse()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode else_;
+ /**
+ * The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSequence()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode sequence;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +93,223 @@ public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatemen
return Xpand3nodePackage.Literals.IF_STATEMENT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getElse() {
+ if (else_ != null && else_.eIsProxy()) {
+ InternalEObject oldElse = (InternalEObject)else_;
+ else_ = (CompositeNode)eResolveProxy(oldElse);
+ if (else_ != oldElse) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.IF_STATEMENT_NODE__ELSE, oldElse, else_));
+ }
+ }
+ return else_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetElse() {
+ return else_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setElse(CompositeNode newElse) {
+ CompositeNode oldElse = else_;
+ else_ = newElse;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.IF_STATEMENT_NODE__ELSE, oldElse, else_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getExpression() {
+ if (expression != null && expression.eIsProxy()) {
+ InternalEObject oldExpression = (InternalEObject)expression;
+ expression = (CompositeNode)eResolveProxy(oldExpression);
+ if (expression != oldExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION, oldExpression, expression));
+ }
+ }
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetExpression() {
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(CompositeNode newExpression) {
+ CompositeNode oldExpression = expression;
+ expression = newExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION, oldExpression, expression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getElseIf() {
+ if (elseIf == null) {
+ elseIf = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IF);
+ }
+ return elseIf;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSequence() {
+ if (sequence != null && sequence.eIsProxy()) {
+ InternalEObject oldSequence = (InternalEObject)sequence;
+ sequence = (CompositeNode)eResolveProxy(oldSequence);
+ if (sequence != oldSequence) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.IF_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+ }
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSequence() {
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.IF_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IF:
+ return getElseIf();
+ case Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION:
+ if (resolve) return getExpression();
+ return basicGetExpression();
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE:
+ if (resolve) return getElse();
+ return basicGetElse();
+ case Xpand3nodePackage.IF_STATEMENT_NODE__SEQUENCE:
+ if (resolve) return getSequence();
+ return basicGetSequence();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IF:
+ getElseIf().clear();
+ getElseIf().addAll((Collection<? extends CompositeNode>)newValue);
+ return;
+ case Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION:
+ setExpression((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE:
+ setElse((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.IF_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IF:
+ getElseIf().clear();
+ return;
+ case Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION:
+ setExpression((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE:
+ setElse((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.IF_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IF:
+ return elseIf != null && !elseIf.isEmpty();
+ case Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION:
+ return expression != null;
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE:
+ return else_ != null;
+ case Xpand3nodePackage.IF_STATEMENT_NODE__SEQUENCE:
+ return sequence != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //IfStatementNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImportNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImportNodeImpl.java
new file mode 100644
index 0000000..44791a4
--- /dev/null
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImportNodeImpl.java
@@ -0,0 +1,223 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ImportNodeImpl.java,v 1.1 2008/03/12 09:54:13 jkohnlein Exp $
+ */
+package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.tmf.common.node.CompositeNode;
+
+import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
+
+import org.eclipse.xpand3.internal.parser.xpand3node.ImportNode;
+import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Import Node</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ImportNodeImpl#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ImportNodeImpl#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ImportNodeImpl extends CompositeNodeImpl implements ImportNode {
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode namespace;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode type;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ImportNodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Xpand3nodePackage.Literals.IMPORT_NODE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getNamespace() {
+ if (namespace != null && namespace.eIsProxy()) {
+ InternalEObject oldNamespace = (InternalEObject)namespace;
+ namespace = (CompositeNode)eResolveProxy(oldNamespace);
+ if (namespace != oldNamespace) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.IMPORT_NODE__NAMESPACE, oldNamespace, namespace));
+ }
+ }
+ return namespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetNamespace() {
+ return namespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNamespace(CompositeNode newNamespace) {
+ CompositeNode oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.IMPORT_NODE__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getType() {
+ if (type != null && type.eIsProxy()) {
+ InternalEObject oldType = (InternalEObject)type;
+ type = (CompositeNode)eResolveProxy(oldType);
+ if (type != oldType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.IMPORT_NODE__TYPE, oldType, type));
+ }
+ }
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(CompositeNode newType) {
+ CompositeNode oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.IMPORT_NODE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.IMPORT_NODE__NAMESPACE:
+ if (resolve) return getNamespace();
+ return basicGetNamespace();
+ case Xpand3nodePackage.IMPORT_NODE__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.IMPORT_NODE__NAMESPACE:
+ setNamespace((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.IMPORT_NODE__TYPE:
+ setType((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.IMPORT_NODE__NAMESPACE:
+ setNamespace((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.IMPORT_NODE__TYPE:
+ setType((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.IMPORT_NODE__NAMESPACE:
+ return namespace != null;
+ case Xpand3nodePackage.IMPORT_NODE__TYPE:
+ return type != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ImportNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/InfixExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/InfixExpressionNodeImpl.java
index f5bceb2..266790b 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/InfixExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/InfixExpressionNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: InfixExpressionNodeImpl.java,v 1.4 2008/03/07 11:11:15 jkohnlein Exp $
+ * $Id: InfixExpressionNodeImpl.java,v 1.5 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -33,8 +33,8 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.InfixExpressionNodeImpl#getTarget <em>Target</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.InfixExpressionNodeImpl#getCalls <em>Calls</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.InfixExpressionNodeImpl#getTarget <em>Target</em>}</li>
* </ul>
* </p>
*
@@ -42,24 +42,24 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class InfixExpressionNodeImpl extends CompositeNodeImpl implements InfixExpressionNode {
/**
- * The cached value of the '{@link #getTarget() <em>Target</em>}' reference.
+ * The cached value of the '{@link #getCalls() <em>Calls</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getTarget()
+ * @see #getCalls()
* @generated
* @ordered
*/
- protected CompositeNode target;
+ protected EList<CompositeNode> calls;
/**
- * The cached value of the '{@link #getCalls() <em>Calls</em>}' reference list.
+ * The cached value of the '{@link #getTarget() <em>Target</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getCalls()
+ * @see #getTarget()
* @generated
* @ordered
*/
- protected EList<CompositeNode> calls;
+ protected CompositeNode target;
/**
* <!-- begin-user-doc -->
@@ -138,11 +138,11 @@ public class InfixExpressionNodeImpl extends CompositeNodeImpl implements InfixE
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
+ case Xpand3nodePackage.INFIX_EXPRESSION_NODE__CALLS:
+ return getCalls();
case Xpand3nodePackage.INFIX_EXPRESSION_NODE__TARGET:
if (resolve) return getTarget();
return basicGetTarget();
- case Xpand3nodePackage.INFIX_EXPRESSION_NODE__CALLS:
- return getCalls();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -156,13 +156,13 @@ public class InfixExpressionNodeImpl extends CompositeNodeImpl implements InfixE
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.INFIX_EXPRESSION_NODE__TARGET:
- setTarget((CompositeNode)newValue);
- return;
case Xpand3nodePackage.INFIX_EXPRESSION_NODE__CALLS:
getCalls().clear();
getCalls().addAll((Collection<? extends CompositeNode>)newValue);
return;
+ case Xpand3nodePackage.INFIX_EXPRESSION_NODE__TARGET:
+ setTarget((CompositeNode)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -175,12 +175,12 @@ public class InfixExpressionNodeImpl extends CompositeNodeImpl implements InfixE
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.INFIX_EXPRESSION_NODE__TARGET:
- setTarget((CompositeNode)null);
- return;
case Xpand3nodePackage.INFIX_EXPRESSION_NODE__CALLS:
getCalls().clear();
return;
+ case Xpand3nodePackage.INFIX_EXPRESSION_NODE__TARGET:
+ setTarget((CompositeNode)null);
+ return;
}
super.eUnset(featureID);
}
@@ -193,10 +193,10 @@ public class InfixExpressionNodeImpl extends CompositeNodeImpl implements InfixE
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.INFIX_EXPRESSION_NODE__TARGET:
- return target != null;
case Xpand3nodePackage.INFIX_EXPRESSION_NODE__CALLS:
return calls != null && !calls.isEmpty();
+ case Xpand3nodePackage.INFIX_EXPRESSION_NODE__TARGET:
+ return target != null;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetStatementNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetStatementNodeImpl.java
index 42e18e4..5a9e2a5 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetStatementNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetStatementNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: LetStatementNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: LetStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode;
@@ -18,12 +22,46 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Let Statement Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.LetStatementNodeImpl#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.LetStatementNodeImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.LetStatementNodeImpl#getSequence <em>Sequence</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class LetStatementNodeImpl extends CompositeNodeImpl implements LetStatementNode {
/**
+ * The cached value of the '{@link #getExpression() <em>Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode expression;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode name;
+ /**
+ * The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSequence()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode sequence;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +80,199 @@ public class LetStatementNodeImpl extends CompositeNodeImpl implements LetStatem
return Xpand3nodePackage.Literals.LET_STATEMENT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getExpression() {
+ if (expression != null && expression.eIsProxy()) {
+ InternalEObject oldExpression = (InternalEObject)expression;
+ expression = (CompositeNode)eResolveProxy(oldExpression);
+ if (expression != oldExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.LET_STATEMENT_NODE__EXPRESSION, oldExpression, expression));
+ }
+ }
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetExpression() {
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(CompositeNode newExpression) {
+ CompositeNode oldExpression = expression;
+ expression = newExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.LET_STATEMENT_NODE__EXPRESSION, oldExpression, expression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getName() {
+ if (name != null && name.eIsProxy()) {
+ InternalEObject oldName = (InternalEObject)name;
+ name = (CompositeNode)eResolveProxy(oldName);
+ if (name != oldName) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.LET_STATEMENT_NODE__NAME, oldName, name));
+ }
+ }
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(CompositeNode newName) {
+ CompositeNode oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.LET_STATEMENT_NODE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSequence() {
+ if (sequence != null && sequence.eIsProxy()) {
+ InternalEObject oldSequence = (InternalEObject)sequence;
+ sequence = (CompositeNode)eResolveProxy(oldSequence);
+ if (sequence != oldSequence) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.LET_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+ }
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSequence() {
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.LET_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.LET_STATEMENT_NODE__EXPRESSION:
+ if (resolve) return getExpression();
+ return basicGetExpression();
+ case Xpand3nodePackage.LET_STATEMENT_NODE__NAME:
+ if (resolve) return getName();
+ return basicGetName();
+ case Xpand3nodePackage.LET_STATEMENT_NODE__SEQUENCE:
+ if (resolve) return getSequence();
+ return basicGetSequence();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.LET_STATEMENT_NODE__EXPRESSION:
+ setExpression((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.LET_STATEMENT_NODE__NAME:
+ setName((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.LET_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.LET_STATEMENT_NODE__EXPRESSION:
+ setExpression((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.LET_STATEMENT_NODE__NAME:
+ setName((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.LET_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.LET_STATEMENT_NODE__EXPRESSION:
+ return expression != null;
+ case Xpand3nodePackage.LET_STATEMENT_NODE__NAME:
+ return name != null;
+ case Xpand3nodePackage.LET_STATEMENT_NODE__SEQUENCE:
+ return sequence != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //LetStatementNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/MultiplicativeExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/MultiplicativeExpressionNodeImpl.java
index 3ffe011..41cb6cb 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/MultiplicativeExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/MultiplicativeExpressionNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: MultiplicativeExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: MultiplicativeExpressionNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode;
@@ -18,12 +22,36 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Multiplicative Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.MultiplicativeExpressionNodeImpl#getLeft <em>Left</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.MultiplicativeExpressionNodeImpl#getRight <em>Right</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implements MultiplicativeExpressionNode {
/**
+ * The cached value of the '{@link #getLeft() <em>Left</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLeft()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode left;
+ /**
+ * The cached value of the '{@link #getRight() <em>Right</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRight()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode right;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +70,150 @@ public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implemen
return Xpand3nodePackage.Literals.MULTIPLICATIVE_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getLeft() {
+ if (left != null && left.eIsProxy()) {
+ InternalEObject oldLeft = (InternalEObject)left;
+ left = (CompositeNode)eResolveProxy(oldLeft);
+ if (left != oldLeft) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__LEFT, oldLeft, left));
+ }
+ }
+ return left;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetLeft() {
+ return left;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLeft(CompositeNode newLeft) {
+ CompositeNode oldLeft = left;
+ left = newLeft;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__LEFT, oldLeft, left));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getRight() {
+ if (right != null && right.eIsProxy()) {
+ InternalEObject oldRight = (InternalEObject)right;
+ right = (CompositeNode)eResolveProxy(oldRight);
+ if (right != oldRight) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT, oldRight, right));
+ }
+ }
+ return right;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetRight() {
+ return right;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRight(CompositeNode newRight) {
+ CompositeNode oldRight = right;
+ right = newRight;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT, oldRight, right));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__LEFT:
+ if (resolve) return getLeft();
+ return basicGetLeft();
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT:
+ if (resolve) return getRight();
+ return basicGetRight();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__LEFT:
+ setLeft((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT:
+ setRight((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__LEFT:
+ setLeft((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT:
+ setRight((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__LEFT:
+ return left != null;
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT:
+ return right != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //MultiplicativeExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NsImportNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NsImportNodeImpl.java
deleted file mode 100644
index 2d80ad2..0000000
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NsImportNodeImpl.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: NsImportNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
- */
-package org.eclipse.xpand3.internal.parser.xpand3node.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.tmf.common.node.CompositeNode;
-
-import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
-
-import org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode;
-import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Ns Import Node</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.NsImportNodeImpl#getNs <em>Ns</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NsImportNodeImpl extends CompositeNodeImpl implements NsImportNode {
- /**
- * The cached value of the '{@link #getNs() <em>Ns</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNs()
- * @generated
- * @ordered
- */
- protected CompositeNode ns;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NsImportNodeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return Xpand3nodePackage.Literals.NS_IMPORT_NODE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CompositeNode getNs() {
- if (ns != null && ns.eIsProxy()) {
- InternalEObject oldNs = (InternalEObject)ns;
- ns = (CompositeNode)eResolveProxy(oldNs);
- if (ns != oldNs) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.NS_IMPORT_NODE__NS, oldNs, ns));
- }
- }
- return ns;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CompositeNode basicGetNs() {
- return ns;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setNs(CompositeNode newNs) {
- CompositeNode oldNs = ns;
- ns = newNs;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.NS_IMPORT_NODE__NS, oldNs, ns));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case Xpand3nodePackage.NS_IMPORT_NODE__NS:
- if (resolve) return getNs();
- return basicGetNs();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case Xpand3nodePackage.NS_IMPORT_NODE__NS:
- setNs((CompositeNode)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case Xpand3nodePackage.NS_IMPORT_NODE__NS:
- setNs((CompositeNode)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case Xpand3nodePackage.NS_IMPORT_NODE__NS:
- return ns != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //NsImportNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ProtectStatementNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ProtectStatementNodeImpl.java
index 33d9252..bd0db35 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ProtectStatementNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ProtectStatementNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: ProtectStatementNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ProtectStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode;
@@ -18,12 +22,56 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Protect Statement Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ProtectStatementNodeImpl#getSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ProtectStatementNodeImpl#getCend <em>Cend</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ProtectStatementNodeImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ProtectStatementNodeImpl#getCstart <em>Cstart</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ProtectStatementNodeImpl extends CompositeNodeImpl implements ProtectStatementNode {
/**
+ * The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSequence()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode sequence;
+ /**
+ * The cached value of the '{@link #getCend() <em>Cend</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCend()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode cend;
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode id;
+ /**
+ * The cached value of the '{@link #getCstart() <em>Cstart</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCstart()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode cstart;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +90,248 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
return Xpand3nodePackage.Literals.PROTECT_STATEMENT_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getCstart() {
+ if (cstart != null && cstart.eIsProxy()) {
+ InternalEObject oldCstart = (InternalEObject)cstart;
+ cstart = (CompositeNode)eResolveProxy(oldCstart);
+ if (cstart != oldCstart) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.PROTECT_STATEMENT_NODE__CSTART, oldCstart, cstart));
+ }
+ }
+ return cstart;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetCstart() {
+ return cstart;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCstart(CompositeNode newCstart) {
+ CompositeNode oldCstart = cstart;
+ cstart = newCstart;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.PROTECT_STATEMENT_NODE__CSTART, oldCstart, cstart));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getCend() {
+ if (cend != null && cend.eIsProxy()) {
+ InternalEObject oldCend = (InternalEObject)cend;
+ cend = (CompositeNode)eResolveProxy(oldCend);
+ if (cend != oldCend) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.PROTECT_STATEMENT_NODE__CEND, oldCend, cend));
+ }
+ }
+ return cend;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetCend() {
+ return cend;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCend(CompositeNode newCend) {
+ CompositeNode oldCend = cend;
+ cend = newCend;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.PROTECT_STATEMENT_NODE__CEND, oldCend, cend));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getId() {
+ if (id != null && id.eIsProxy()) {
+ InternalEObject oldId = (InternalEObject)id;
+ id = (CompositeNode)eResolveProxy(oldId);
+ if (id != oldId) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.PROTECT_STATEMENT_NODE__ID, oldId, id));
+ }
+ }
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(CompositeNode newId) {
+ CompositeNode oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.PROTECT_STATEMENT_NODE__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getSequence() {
+ if (sequence != null && sequence.eIsProxy()) {
+ InternalEObject oldSequence = (InternalEObject)sequence;
+ sequence = (CompositeNode)eResolveProxy(oldSequence);
+ if (sequence != oldSequence) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.PROTECT_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+ }
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetSequence() {
+ return sequence;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.PROTECT_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__SEQUENCE:
+ if (resolve) return getSequence();
+ return basicGetSequence();
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__CEND:
+ if (resolve) return getCend();
+ return basicGetCend();
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__ID:
+ if (resolve) return getId();
+ return basicGetId();
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__CSTART:
+ if (resolve) return getCstart();
+ return basicGetCstart();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__CEND:
+ setCend((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__ID:
+ setId((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__CSTART:
+ setCstart((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__SEQUENCE:
+ setSequence((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__CEND:
+ setCend((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__ID:
+ setId((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__CSTART:
+ setCstart((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__SEQUENCE:
+ return sequence != null;
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__CEND:
+ return cend != null;
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__ID:
+ return id != null;
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE__CSTART:
+ return cstart != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ProtectStatementNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalExpressionNodeImpl.java
index e9ce17d..3d11681 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalExpressionNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: RelationalExpressionNodeImpl.java,v 1.4 2008/03/07 11:11:16 jkohnlein Exp $
+ * $Id: RelationalExpressionNodeImpl.java,v 1.5 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -29,8 +29,8 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl#getOperator <em>Operator</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl#getRightOperand <em>Right Operand</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl#getLeftOperand <em>Left Operand</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl#getRightOperand <em>Right Operand</em>}</li>
* </ul>
* </p>
*
@@ -48,24 +48,24 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
protected CompositeNode operator;
/**
- * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' reference.
+ * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getRightOperand()
+ * @see #getLeftOperand()
* @generated
* @ordered
*/
- protected CompositeNode rightOperand;
+ protected CompositeNode leftOperand;
/**
- * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' reference.
+ * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getLeftOperand()
+ * @see #getRightOperand()
* @generated
* @ordered
*/
- protected CompositeNode leftOperand;
+ protected CompositeNode rightOperand;
/**
* <!-- begin-user-doc -->
@@ -211,12 +211,12 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR:
if (resolve) return getOperator();
return basicGetOperator();
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
- if (resolve) return getRightOperand();
- return basicGetRightOperand();
case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND:
if (resolve) return getLeftOperand();
return basicGetLeftOperand();
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
+ if (resolve) return getRightOperand();
+ return basicGetRightOperand();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -232,12 +232,12 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR:
setOperator((CompositeNode)newValue);
return;
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
- setRightOperand((CompositeNode)newValue);
- return;
case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND:
setLeftOperand((CompositeNode)newValue);
return;
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
+ setRightOperand((CompositeNode)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -253,12 +253,12 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR:
setOperator((CompositeNode)null);
return;
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
- setRightOperand((CompositeNode)null);
- return;
case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND:
setLeftOperand((CompositeNode)null);
return;
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
+ setRightOperand((CompositeNode)null);
+ return;
}
super.eUnset(featureID);
}
@@ -273,10 +273,10 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
switch (featureID) {
case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR:
return operator != null;
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
- return rightOperand != null;
case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND:
return leftOperand != null;
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
+ return rightOperand != null;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SequenceNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SequenceNodeImpl.java
index 7611847..2489186 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SequenceNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SequenceNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: SequenceNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: SequenceNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import java.util.Collection;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode;
@@ -18,12 +22,36 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Sequence Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SequenceNodeImpl#getTextSequences <em>Text Sequences</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SequenceNodeImpl#getStatements <em>Statements</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class SequenceNodeImpl extends CompositeNodeImpl implements SequenceNode {
/**
+ * The cached value of the '{@link #getTextSequences() <em>Text Sequences</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTextSequences()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> textSequences;
+ /**
+ * The cached value of the '{@link #getStatements() <em>Statements</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStatements()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> statements;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +70,99 @@ public class SequenceNodeImpl extends CompositeNodeImpl implements SequenceNode
return Xpand3nodePackage.Literals.SEQUENCE_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getTextSequences() {
+ if (textSequences == null) {
+ textSequences = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.SEQUENCE_NODE__TEXT_SEQUENCES);
+ }
+ return textSequences;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getStatements() {
+ if (statements == null) {
+ statements = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.SEQUENCE_NODE__STATEMENTS);
+ }
+ return statements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.SEQUENCE_NODE__TEXT_SEQUENCES:
+ return getTextSequences();
+ case Xpand3nodePackage.SEQUENCE_NODE__STATEMENTS:
+ return getStatements();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.SEQUENCE_NODE__TEXT_SEQUENCES:
+ getTextSequences().clear();
+ getTextSequences().addAll((Collection<? extends CompositeNode>)newValue);
+ return;
+ case Xpand3nodePackage.SEQUENCE_NODE__STATEMENTS:
+ getStatements().clear();
+ getStatements().addAll((Collection<? extends CompositeNode>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.SEQUENCE_NODE__TEXT_SEQUENCES:
+ getTextSequences().clear();
+ return;
+ case Xpand3nodePackage.SEQUENCE_NODE__STATEMENTS:
+ getStatements().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.SEQUENCE_NODE__TEXT_SEQUENCES:
+ return textSequences != null && !textSequences.isEmpty();
+ case Xpand3nodePackage.SEQUENCE_NODE__STATEMENTS:
+ return statements != null && !statements.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
} //SequenceNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextSequenceNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextSequenceNodeImpl.java
index f96aa47..7c672f8 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextSequenceNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextSequenceNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: TextSequenceNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: TextSequenceNodeImpl.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import java.util.Collection;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode;
@@ -18,12 +22,26 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Text Sequence Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.TextSequenceNodeImpl#getText <em>Text</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class TextSequenceNodeImpl extends CompositeNodeImpl implements TextSequenceNode {
/**
+ * The cached value of the '{@link #getText() <em>Text</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getText()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> text;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +60,76 @@ public class TextSequenceNodeImpl extends CompositeNodeImpl implements TextSeque
return Xpand3nodePackage.Literals.TEXT_SEQUENCE_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getText() {
+ if (text == null) {
+ text = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT);
+ }
+ return text;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT:
+ return getText();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT:
+ getText().clear();
+ getText().addAll((Collection<? extends CompositeNode>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT:
+ getText().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT:
+ return text != null && !text.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
} //TextSequenceNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/UnaryExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/UnaryExpressionNodeImpl.java
index aa1938f..4f325db 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/UnaryExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/UnaryExpressionNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: UnaryExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: UnaryExpressionNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
+import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.tmf.common.node.CompositeNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
import org.eclipse.xpand3.internal.parser.xpand3node.UnaryExpressionNode;
@@ -18,12 +22,26 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Unary Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.UnaryExpressionNodeImpl#getOperand <em>Operand</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class UnaryExpressionNodeImpl extends CompositeNodeImpl implements UnaryExpressionNode {
/**
+ * The cached value of the '{@link #getOperand() <em>Operand</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOperand()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode operand;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +60,101 @@ public class UnaryExpressionNodeImpl extends CompositeNodeImpl implements UnaryE
return Xpand3nodePackage.Literals.UNARY_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getOperand() {
+ if (operand != null && operand.eIsProxy()) {
+ InternalEObject oldOperand = (InternalEObject)operand;
+ operand = (CompositeNode)eResolveProxy(oldOperand);
+ if (operand != oldOperand) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.UNARY_EXPRESSION_NODE__OPERAND, oldOperand, operand));
+ }
+ }
+ return operand;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetOperand() {
+ return operand;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOperand(CompositeNode newOperand) {
+ CompositeNode oldOperand = operand;
+ operand = newOperand;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.UNARY_EXPRESSION_NODE__OPERAND, oldOperand, operand));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.UNARY_EXPRESSION_NODE__OPERAND:
+ if (resolve) return getOperand();
+ return basicGetOperand();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Xpand3nodePackage.UNARY_EXPRESSION_NODE__OPERAND:
+ setOperand((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.UNARY_EXPRESSION_NODE__OPERAND:
+ setOperand((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.UNARY_EXPRESSION_NODE__OPERAND:
+ return operand != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //UnaryExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/XNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/XNodeImpl.java
deleted file mode 100644
index 39f2dcf..0000000
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/XNodeImpl.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: XNodeImpl.java,v 1.1 2008/03/07 11:11:16 jkohnlein Exp $
- */
-package org.eclipse.xpand3.internal.parser.xpand3node.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.tmf.common.node.LeafNode;
-
-import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
-
-import org.eclipse.xpand3.internal.parser.xpand3node.XNode;
-import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>XNode</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.XNodeImpl#getL <em>L</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XNodeImpl extends CompositeNodeImpl implements XNode {
- /**
- * The cached value of the '{@link #getL() <em>L</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getL()
- * @generated
- * @ordered
- */
- protected LeafNode l;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected XNodeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return Xpand3nodePackage.Literals.XNODE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public LeafNode getL() {
- if (l != null && l.eIsProxy()) {
- InternalEObject oldL = (InternalEObject)l;
- l = (LeafNode)eResolveProxy(oldL);
- if (l != oldL) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.XNODE__L, oldL, l));
- }
- }
- return l;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public LeafNode basicGetL() {
- return l;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setL(LeafNode newL) {
- LeafNode oldL = l;
- l = newL;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.XNODE__L, oldL, l));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case Xpand3nodePackage.XNODE__L:
- if (resolve) return getL();
- return basicGetL();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case Xpand3nodePackage.XNODE__L:
- setL((LeafNode)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case Xpand3nodePackage.XNODE__L:
- setL((LeafNode)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case Xpand3nodePackage.XNODE__L:
- return l != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //XNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodeFactoryImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodeFactoryImpl.java
index c2670c2..b656d79 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodeFactoryImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodeFactoryImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Xpand3nodeFactoryImpl.java,v 1.4 2008/03/07 11:11:16 jkohnlein Exp $
+ * $Id: Xpand3nodeFactoryImpl.java,v 1.5 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -60,9 +60,9 @@ public class Xpand3nodeFactoryImpl extends EFactoryImpl implements Xpand3nodeFac
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case Xpand3nodePackage.XNODE: return createXNode();
case Xpand3nodePackage.FILE_NODE: return createFileNode();
- case Xpand3nodePackage.NS_IMPORT_NODE: return createNsImportNode();
+ case Xpand3nodePackage.IMPORT_NODE: return createImportNode();
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE: return createExtensionImportNode();
case Xpand3nodePackage.DEFINITION_NODE: return createDefinitionNode();
case Xpand3nodePackage.DEFINITION_AROUND_NODE: return createDefinitionAroundNode();
case Xpand3nodePackage.SEQUENCE_NODE: return createSequenceNode();
@@ -126,9 +126,9 @@ public class Xpand3nodeFactoryImpl extends EFactoryImpl implements Xpand3nodeFac
* <!-- end-user-doc -->
* @generated
*/
- public XNode createXNode() {
- XNodeImpl xNode = new XNodeImpl();
- return xNode;
+ public FileNode createFileNode() {
+ FileNodeImpl fileNode = new FileNodeImpl();
+ return fileNode;
}
/**
@@ -136,9 +136,9 @@ public class Xpand3nodeFactoryImpl extends EFactoryImpl implements Xpand3nodeFac
* <!-- end-user-doc -->
* @generated
*/
- public FileNode createFileNode() {
- FileNodeImpl fileNode = new FileNodeImpl();
- return fileNode;
+ public ImportNode createImportNode() {
+ ImportNodeImpl importNode = new ImportNodeImpl();
+ return importNode;
}
/**
@@ -146,9 +146,9 @@ public class Xpand3nodeFactoryImpl extends EFactoryImpl implements Xpand3nodeFac
* <!-- end-user-doc -->
* @generated
*/
- public NsImportNode createNsImportNode() {
- NsImportNodeImpl nsImportNode = new NsImportNodeImpl();
- return nsImportNode;
+ public ExtensionImportNode createExtensionImportNode() {
+ ExtensionImportNodeImpl extensionImportNode = new ExtensionImportNodeImpl();
+ return extensionImportNode;
}
/**
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodePackageImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodePackageImpl.java
index 7572431..9bb8887 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodePackageImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Xpand3nodePackageImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Xpand3nodePackageImpl.java,v 1.4 2008/03/07 11:11:15 jkohnlein Exp $
+ * $Id: Xpand3nodePackageImpl.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -35,6 +35,7 @@ import org.eclipse.xpand3.internal.parser.xpand3node.ErrorStatementNode;
import org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode;
import org.eclipse.xpand3.internal.parser.xpand3node.ExpressionNode;
import org.eclipse.xpand3.internal.parser.xpand3node.ExpressionStmtNode;
+import org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode;
import org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode;
import org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode;
import org.eclipse.xpand3.internal.parser.xpand3node.FileNode;
@@ -45,6 +46,7 @@ import org.eclipse.xpand3.internal.parser.xpand3node.IdentifierNode;
import org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode;
import org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode;
import org.eclipse.xpand3.internal.parser.xpand3node.ImpliesExpressionNode;
+import org.eclipse.xpand3.internal.parser.xpand3node.ImportNode;
import org.eclipse.xpand3.internal.parser.xpand3node.InfixExpressionNode;
import org.eclipse.xpand3.internal.parser.xpand3node.JavaTypeNode;
import org.eclipse.xpand3.internal.parser.xpand3node.LetExpressionNode;
@@ -85,21 +87,21 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- private EClass xNodeEClass = null;
+ private EClass fileNodeEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass fileNodeEClass = null;
+ private EClass importNodeEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass nsImportNodeEClass = null;
+ private EClass extensionImportNodeEClass = null;
/**
* <!-- begin-user-doc -->
@@ -548,8 +550,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EClass getXNode() {
- return xNodeEClass;
+ public EClass getFileNode() {
+ return fileNodeEClass;
}
/**
@@ -557,8 +559,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getXNode_L() {
- return (EReference)xNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getFileNode_Declarations() {
+ return (EReference)fileNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -566,8 +568,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EClass getFileNode() {
- return fileNodeEClass;
+ public EReference getFileNode_Imports() {
+ return (EReference)fileNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -575,8 +577,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getFileNode_Decl() {
- return (EReference)fileNodeEClass.getEStructuralFeatures().get(1);
+ public EClass getImportNode() {
+ return importNodeEClass;
}
/**
@@ -584,8 +586,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getFileNode_Imp() {
- return (EReference)fileNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getImportNode_Namespace() {
+ return (EReference)importNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -593,8 +595,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EClass getNsImportNode() {
- return nsImportNodeEClass;
+ public EReference getImportNode_Type() {
+ return (EReference)importNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -602,8 +604,26 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getNsImportNode_Ns() {
- return (EReference)nsImportNodeEClass.getEStructuralFeatures().get(0);
+ public EClass getExtensionImportNode() {
+ return extensionImportNodeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExtensionImportNode_Type() {
+ return (EReference)extensionImportNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExtensionImportNode_Namespace() {
+ return (EReference)extensionImportNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -620,6 +640,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getDefinitionNode_Type() {
+ return (EReference)definitionNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDefinitionNode_Sequence() {
+ return (EReference)definitionNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EReference getDefinitionNode_Name() {
return (EReference)definitionNodeEClass.getEStructuralFeatures().get(0);
}
@@ -629,6 +667,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getDefinitionNode_ParamList() {
+ return (EReference)definitionNodeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getDefinitionAroundNode() {
return definitionAroundNodeEClass;
}
@@ -638,6 +685,42 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getDefinitionAroundNode_Type() {
+ return (EReference)definitionAroundNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDefinitionAroundNode_Pointcut() {
+ return (EReference)definitionAroundNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDefinitionAroundNode_ParamList() {
+ return (EReference)definitionAroundNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDefinitionAroundNode_Sequence() {
+ return (EReference)definitionAroundNodeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getSequenceNode() {
return sequenceNodeEClass;
}
@@ -647,6 +730,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getSequenceNode_TextSequences() {
+ return (EReference)sequenceNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSequenceNode_Statements() {
+ return (EReference)sequenceNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getTextSequenceNode() {
return textSequenceNodeEClass;
}
@@ -656,6 +757,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getTextSequenceNode_Text() {
+ return (EReference)textSequenceNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getTextNode() {
return textNodeEClass;
}
@@ -674,6 +784,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getErrorStatementNode_Expression() {
+ return (EReference)errorStatementNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getExpandStatementNode() {
return expandStatementNodeEClass;
}
@@ -683,6 +802,42 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getExpandStatementNode_Separator() {
+ return (EReference)expandStatementNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExpandStatementNode_ParamList() {
+ return (EReference)expandStatementNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExpandStatementNode_ForExpression() {
+ return (EReference)expandStatementNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getExpandStatementNode_Name() {
+ return (EReference)expandStatementNodeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getExpressionStmtNode() {
return expressionStmtNodeEClass;
}
@@ -692,6 +847,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getExpressionStmtNode_Expression() {
+ return (EReference)expressionStmtNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getFileStatementNode() {
return fileStatementNodeEClass;
}
@@ -701,6 +865,33 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getFileStatementNode_NameExpression() {
+ return (EReference)fileStatementNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFileStatementNode_Identifier() {
+ return (EReference)fileStatementNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFileStatementNode_Sequence() {
+ return (EReference)fileStatementNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getForeachStatementNode() {
return foreachStatementNodeEClass;
}
@@ -710,6 +901,51 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getForeachStatementNode_Iterator() {
+ return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getForeachStatementNode_SeparatorExpression() {
+ return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getForeachStatementNode_Identifier() {
+ return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getForeachStatementNode_ForExpression() {
+ return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getForeachStatementNode_Sequence() {
+ return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getIfStatementNode() {
return ifStatementNodeEClass;
}
@@ -719,6 +955,42 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getIfStatementNode_Else() {
+ return (EReference)ifStatementNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getIfStatementNode_Expression() {
+ return (EReference)ifStatementNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getIfStatementNode_ElseIf() {
+ return (EReference)ifStatementNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getIfStatementNode_Sequence() {
+ return (EReference)ifStatementNodeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getElseIfStatementNode() {
return elseIfStatementNodeEClass;
}
@@ -728,6 +1000,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getElseIfStatementNode_Sequence() {
+ return (EReference)elseIfStatementNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getElseIfStatementNode_Expression() {
+ return (EReference)elseIfStatementNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getElseStatementNode() {
return elseStatementNodeEClass;
}
@@ -737,6 +1027,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getElseStatementNode_Sequence() {
+ return (EReference)elseStatementNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getLetStatementNode() {
return letStatementNodeEClass;
}
@@ -746,6 +1045,33 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getLetStatementNode_Expression() {
+ return (EReference)letStatementNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLetStatementNode_Name() {
+ return (EReference)letStatementNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLetStatementNode_Sequence() {
+ return (EReference)letStatementNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getProtectStatementNode() {
return protectStatementNodeEClass;
}
@@ -755,6 +1081,42 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getProtectStatementNode_Cstart() {
+ return (EReference)protectStatementNodeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProtectStatementNode_Cend() {
+ return (EReference)protectStatementNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProtectStatementNode_Id() {
+ return (EReference)protectStatementNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProtectStatementNode_Sequence() {
+ return (EReference)protectStatementNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getCheckNode() {
return checkNodeEClass;
}
@@ -792,7 +1154,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getExtensionNode_Create() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(2);
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(4);
}
/**
@@ -801,7 +1163,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getExtensionNode_Private() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(3);
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -810,7 +1172,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getExtensionNode_ParamList() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(1);
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -819,7 +1181,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getExtensionNode_ExtendBody() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(5);
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(8);
}
/**
@@ -828,7 +1190,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getExtensionNode_Cached() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(0);
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(7);
}
/**
@@ -837,7 +1199,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getExtensionNode_JavaReturnType() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(8);
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(3);
}
/**
@@ -846,7 +1208,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getExtensionNode_JavaName() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(7);
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(6);
}
/**
@@ -855,7 +1217,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getExtensionNode_ReturnType() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(6);
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(2);
}
/**
@@ -864,7 +1226,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getExtensionNode_Name() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(4);
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(5);
}
/**
@@ -999,7 +1361,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getRelationalExpressionNode_RightOperand() {
- return (EReference)relationalExpressionNodeEClass.getEStructuralFeatures().get(1);
+ return (EReference)relationalExpressionNodeEClass.getEStructuralFeatures().get(2);
}
/**
@@ -1008,7 +1370,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getRelationalExpressionNode_LeftOperand() {
- return (EReference)relationalExpressionNodeEClass.getEStructuralFeatures().get(2);
+ return (EReference)relationalExpressionNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -1034,6 +1396,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getAdditiveExpressionNode_Right() {
+ return (EReference)additiveExpressionNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAdditiveExpressionNode_Left() {
+ return (EReference)additiveExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getMultiplicativeExpressionNode() {
return multiplicativeExpressionNodeEClass;
}
@@ -1043,6 +1423,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getMultiplicativeExpressionNode_Left() {
+ return (EReference)multiplicativeExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiplicativeExpressionNode_Right() {
+ return (EReference)multiplicativeExpressionNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getUnaryExpressionNode() {
return unaryExpressionNodeEClass;
}
@@ -1052,6 +1450,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getUnaryExpressionNode_Operand() {
+ return (EReference)unaryExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getInfixExpressionNode() {
return infixExpressionNodeEClass;
}
@@ -1062,7 +1469,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getInfixExpressionNode_Calls() {
- return (EReference)infixExpressionNodeEClass.getEStructuralFeatures().get(1);
+ return (EReference)infixExpressionNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -1071,7 +1478,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getInfixExpressionNode_Target() {
- return (EReference)infixExpressionNodeEClass.getEStructuralFeatures().get(0);
+ return (EReference)infixExpressionNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -1115,7 +1522,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getFeatureCallNode_Name() {
+ public EReference getFeatureCallNode_Type() {
return (EReference)featureCallNodeEClass.getEStructuralFeatures().get(0);
}
@@ -1124,6 +1531,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getFeatureCallNode_Name() {
+ return (EReference)featureCallNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EReference getFeatureCallNode_ParamList() {
return (EReference)featureCallNodeEClass.getEStructuralFeatures().get(1);
}
@@ -1309,46 +1725,86 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
isCreated = true;
// Create classes and their features
- xNodeEClass = createEClass(XNODE);
- createEReference(xNodeEClass, XNODE__L);
-
fileNodeEClass = createEClass(FILE_NODE);
- createEReference(fileNodeEClass, FILE_NODE__IMP);
- createEReference(fileNodeEClass, FILE_NODE__DECL);
+ createEReference(fileNodeEClass, FILE_NODE__DECLARATIONS);
+ createEReference(fileNodeEClass, FILE_NODE__IMPORTS);
+
+ importNodeEClass = createEClass(IMPORT_NODE);
+ createEReference(importNodeEClass, IMPORT_NODE__NAMESPACE);
+ createEReference(importNodeEClass, IMPORT_NODE__TYPE);
- nsImportNodeEClass = createEClass(NS_IMPORT_NODE);
- createEReference(nsImportNodeEClass, NS_IMPORT_NODE__NS);
+ extensionImportNodeEClass = createEClass(EXTENSION_IMPORT_NODE);
+ createEReference(extensionImportNodeEClass, EXTENSION_IMPORT_NODE__TYPE);
+ createEReference(extensionImportNodeEClass, EXTENSION_IMPORT_NODE__NAMESPACE);
definitionNodeEClass = createEClass(DEFINITION_NODE);
createEReference(definitionNodeEClass, DEFINITION_NODE__NAME);
+ createEReference(definitionNodeEClass, DEFINITION_NODE__TYPE);
+ createEReference(definitionNodeEClass, DEFINITION_NODE__SEQUENCE);
+ createEReference(definitionNodeEClass, DEFINITION_NODE__PARAM_LIST);
definitionAroundNodeEClass = createEClass(DEFINITION_AROUND_NODE);
+ createEReference(definitionAroundNodeEClass, DEFINITION_AROUND_NODE__TYPE);
+ createEReference(definitionAroundNodeEClass, DEFINITION_AROUND_NODE__POINTCUT);
+ createEReference(definitionAroundNodeEClass, DEFINITION_AROUND_NODE__PARAM_LIST);
+ createEReference(definitionAroundNodeEClass, DEFINITION_AROUND_NODE__SEQUENCE);
sequenceNodeEClass = createEClass(SEQUENCE_NODE);
+ createEReference(sequenceNodeEClass, SEQUENCE_NODE__TEXT_SEQUENCES);
+ createEReference(sequenceNodeEClass, SEQUENCE_NODE__STATEMENTS);
textSequenceNodeEClass = createEClass(TEXT_SEQUENCE_NODE);
+ createEReference(textSequenceNodeEClass, TEXT_SEQUENCE_NODE__TEXT);
textNodeEClass = createEClass(TEXT_NODE);
errorStatementNodeEClass = createEClass(ERROR_STATEMENT_NODE);
+ createEReference(errorStatementNodeEClass, ERROR_STATEMENT_NODE__EXPRESSION);
expandStatementNodeEClass = createEClass(EXPAND_STATEMENT_NODE);
+ createEReference(expandStatementNodeEClass, EXPAND_STATEMENT_NODE__SEPARATOR);
+ createEReference(expandStatementNodeEClass, EXPAND_STATEMENT_NODE__PARAM_LIST);
+ createEReference(expandStatementNodeEClass, EXPAND_STATEMENT_NODE__FOR_EXPRESSION);
+ createEReference(expandStatementNodeEClass, EXPAND_STATEMENT_NODE__NAME);
expressionStmtNodeEClass = createEClass(EXPRESSION_STMT_NODE);
+ createEReference(expressionStmtNodeEClass, EXPRESSION_STMT_NODE__EXPRESSION);
fileStatementNodeEClass = createEClass(FILE_STATEMENT_NODE);
+ createEReference(fileStatementNodeEClass, FILE_STATEMENT_NODE__SEQUENCE);
+ createEReference(fileStatementNodeEClass, FILE_STATEMENT_NODE__IDENTIFIER);
+ createEReference(fileStatementNodeEClass, FILE_STATEMENT_NODE__NAME_EXPRESSION);
foreachStatementNodeEClass = createEClass(FOREACH_STATEMENT_NODE);
+ createEReference(foreachStatementNodeEClass, FOREACH_STATEMENT_NODE__ITERATOR);
+ createEReference(foreachStatementNodeEClass, FOREACH_STATEMENT_NODE__IDENTIFIER);
+ createEReference(foreachStatementNodeEClass, FOREACH_STATEMENT_NODE__SEQUENCE);
+ createEReference(foreachStatementNodeEClass, FOREACH_STATEMENT_NODE__FOR_EXPRESSION);
+ createEReference(foreachStatementNodeEClass, FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION);
ifStatementNodeEClass = createEClass(IF_STATEMENT_NODE);
+ createEReference(ifStatementNodeEClass, IF_STATEMENT_NODE__ELSE_IF);
+ createEReference(ifStatementNodeEClass, IF_STATEMENT_NODE__EXPRESSION);
+ createEReference(ifStatementNodeEClass, IF_STATEMENT_NODE__ELSE);
+ createEReference(ifStatementNodeEClass, IF_STATEMENT_NODE__SEQUENCE);
elseIfStatementNodeEClass = createEClass(ELSE_IF_STATEMENT_NODE);
+ createEReference(elseIfStatementNodeEClass, ELSE_IF_STATEMENT_NODE__SEQUENCE);
+ createEReference(elseIfStatementNodeEClass, ELSE_IF_STATEMENT_NODE__EXPRESSION);
elseStatementNodeEClass = createEClass(ELSE_STATEMENT_NODE);
+ createEReference(elseStatementNodeEClass, ELSE_STATEMENT_NODE__SEQUENCE);
letStatementNodeEClass = createEClass(LET_STATEMENT_NODE);
+ createEReference(letStatementNodeEClass, LET_STATEMENT_NODE__EXPRESSION);
+ createEReference(letStatementNodeEClass, LET_STATEMENT_NODE__NAME);
+ createEReference(letStatementNodeEClass, LET_STATEMENT_NODE__SEQUENCE);
protectStatementNodeEClass = createEClass(PROTECT_STATEMENT_NODE);
+ createEReference(protectStatementNodeEClass, PROTECT_STATEMENT_NODE__SEQUENCE);
+ createEReference(protectStatementNodeEClass, PROTECT_STATEMENT_NODE__CEND);
+ createEReference(protectStatementNodeEClass, PROTECT_STATEMENT_NODE__ID);
+ createEReference(protectStatementNodeEClass, PROTECT_STATEMENT_NODE__CSTART);
checkNodeEClass = createEClass(CHECK_NODE);
@@ -1357,15 +1813,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
pointcutNodeEClass = createEClass(POINTCUT_NODE);
extensionNodeEClass = createEClass(EXTENSION_NODE);
- createEReference(extensionNodeEClass, EXTENSION_NODE__CACHED);
createEReference(extensionNodeEClass, EXTENSION_NODE__PARAM_LIST);
- createEReference(extensionNodeEClass, EXTENSION_NODE__CREATE);
createEReference(extensionNodeEClass, EXTENSION_NODE__PRIVATE);
- createEReference(extensionNodeEClass, EXTENSION_NODE__NAME);
- createEReference(extensionNodeEClass, EXTENSION_NODE__EXTEND_BODY);
createEReference(extensionNodeEClass, EXTENSION_NODE__RETURN_TYPE);
- createEReference(extensionNodeEClass, EXTENSION_NODE__JAVA_NAME);
createEReference(extensionNodeEClass, EXTENSION_NODE__JAVA_RETURN_TYPE);
+ createEReference(extensionNodeEClass, EXTENSION_NODE__CREATE);
+ createEReference(extensionNodeEClass, EXTENSION_NODE__NAME);
+ createEReference(extensionNodeEClass, EXTENSION_NODE__JAVA_NAME);
+ createEReference(extensionNodeEClass, EXTENSION_NODE__CACHED);
+ createEReference(extensionNodeEClass, EXTENSION_NODE__EXTEND_BODY);
javaTypeNodeEClass = createEClass(JAVA_TYPE_NODE);
@@ -1393,20 +1849,25 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
relationalExpressionNodeEClass = createEClass(RELATIONAL_EXPRESSION_NODE);
createEReference(relationalExpressionNodeEClass, RELATIONAL_EXPRESSION_NODE__OPERATOR);
- createEReference(relationalExpressionNodeEClass, RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND);
createEReference(relationalExpressionNodeEClass, RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND);
+ createEReference(relationalExpressionNodeEClass, RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND);
relationalOperatorNodeEClass = createEClass(RELATIONAL_OPERATOR_NODE);
additiveExpressionNodeEClass = createEClass(ADDITIVE_EXPRESSION_NODE);
+ createEReference(additiveExpressionNodeEClass, ADDITIVE_EXPRESSION_NODE__LEFT);
+ createEReference(additiveExpressionNodeEClass, ADDITIVE_EXPRESSION_NODE__RIGHT);
multiplicativeExpressionNodeEClass = createEClass(MULTIPLICATIVE_EXPRESSION_NODE);
+ createEReference(multiplicativeExpressionNodeEClass, MULTIPLICATIVE_EXPRESSION_NODE__LEFT);
+ createEReference(multiplicativeExpressionNodeEClass, MULTIPLICATIVE_EXPRESSION_NODE__RIGHT);
unaryExpressionNodeEClass = createEClass(UNARY_EXPRESSION_NODE);
+ createEReference(unaryExpressionNodeEClass, UNARY_EXPRESSION_NODE__OPERAND);
infixExpressionNodeEClass = createEClass(INFIX_EXPRESSION_NODE);
- createEReference(infixExpressionNodeEClass, INFIX_EXPRESSION_NODE__TARGET);
createEReference(infixExpressionNodeEClass, INFIX_EXPRESSION_NODE__CALLS);
+ createEReference(infixExpressionNodeEClass, INFIX_EXPRESSION_NODE__TARGET);
stringLiteralNodeEClass = createEClass(STRING_LITERAL_NODE);
@@ -1415,8 +1876,9 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
globalVarExpressionNodeEClass = createEClass(GLOBAL_VAR_EXPRESSION_NODE);
featureCallNodeEClass = createEClass(FEATURE_CALL_NODE);
- createEReference(featureCallNodeEClass, FEATURE_CALL_NODE__NAME);
+ createEReference(featureCallNodeEClass, FEATURE_CALL_NODE__TYPE);
createEReference(featureCallNodeEClass, FEATURE_CALL_NODE__PARAM_LIST);
+ createEReference(featureCallNodeEClass, FEATURE_CALL_NODE__NAME);
listLiteralNodeEClass = createEClass(LIST_LITERAL_NODE);
@@ -1479,9 +1941,9 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
// Set bounds for type parameters
// Add supertypes to classes
- xNodeEClass.getESuperTypes().add(theNodePackage.getCompositeNode());
fileNodeEClass.getESuperTypes().add(theNodePackage.getCompositeNode());
- nsImportNodeEClass.getESuperTypes().add(theNodePackage.getCompositeNode());
+ importNodeEClass.getESuperTypes().add(theNodePackage.getCompositeNode());
+ extensionImportNodeEClass.getESuperTypes().add(theNodePackage.getCompositeNode());
definitionNodeEClass.getESuperTypes().add(theNodePackage.getCompositeNode());
definitionAroundNodeEClass.getESuperTypes().add(theNodePackage.getCompositeNode());
sequenceNodeEClass.getESuperTypes().add(theNodePackage.getCompositeNode());
@@ -1537,46 +1999,86 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
identifierNodeEClass.getESuperTypes().add(theNodePackage.getCompositeNode());
// Initialize classes and features; add operations and parameters
- initEClass(xNodeEClass, XNode.class, "XNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getXNode_L(), theNodePackage.getLeafNode(), null, "l", null, 0, 1, XNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
initEClass(fileNodeEClass, FileNode.class, "FileNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFileNode_Imp(), theNodePackage.getCompositeNode(), null, "imp", null, 0, -1, FileNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFileNode_Decl(), theNodePackage.getCompositeNode(), null, "decl", null, 0, -1, FileNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFileNode_Declarations(), theNodePackage.getCompositeNode(), null, "declarations", null, 0, -1, FileNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFileNode_Imports(), theNodePackage.getCompositeNode(), null, "imports", null, 0, -1, FileNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(importNodeEClass, ImportNode.class, "ImportNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getImportNode_Namespace(), theNodePackage.getCompositeNode(), null, "namespace", null, 0, 1, ImportNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getImportNode_Type(), theNodePackage.getCompositeNode(), null, "type", null, 0, 1, ImportNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(nsImportNodeEClass, NsImportNode.class, "NsImportNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getNsImportNode_Ns(), theNodePackage.getCompositeNode(), null, "ns", null, 0, 1, NsImportNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(extensionImportNodeEClass, ExtensionImportNode.class, "ExtensionImportNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getExtensionImportNode_Type(), theNodePackage.getCompositeNode(), null, "type", null, 0, 1, ExtensionImportNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExtensionImportNode_Namespace(), theNodePackage.getCompositeNode(), null, "namespace", null, 0, 1, ExtensionImportNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(definitionNodeEClass, DefinitionNode.class, "DefinitionNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getDefinitionNode_Name(), theNodePackage.getCompositeNode(), null, "name", null, 0, 1, DefinitionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDefinitionNode_Type(), theNodePackage.getCompositeNode(), null, "type", null, 0, 1, DefinitionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDefinitionNode_Sequence(), theNodePackage.getCompositeNode(), null, "sequence", null, 0, 1, DefinitionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDefinitionNode_ParamList(), theNodePackage.getCompositeNode(), null, "paramList", null, 0, 1, DefinitionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(definitionAroundNodeEClass, DefinitionAroundNode.class, "DefinitionAroundNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getDefinitionAroundNode_Type(), theNodePackage.getCompositeNode(), null, "type", null, 0, 1, DefinitionAroundNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDefinitionAroundNode_Pointcut(), theNodePackage.getCompositeNode(), null, "pointcut", null, 0, 1, DefinitionAroundNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDefinitionAroundNode_ParamList(), theNodePackage.getCompositeNode(), null, "paramList", null, 0, 1, DefinitionAroundNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDefinitionAroundNode_Sequence(), theNodePackage.getCompositeNode(), null, "sequence", null, 0, 1, DefinitionAroundNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(sequenceNodeEClass, SequenceNode.class, "SequenceNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getSequenceNode_TextSequences(), theNodePackage.getCompositeNode(), null, "textSequences", null, 0, -1, SequenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSequenceNode_Statements(), theNodePackage.getCompositeNode(), null, "statements", null, 0, -1, SequenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(textSequenceNodeEClass, TextSequenceNode.class, "TextSequenceNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTextSequenceNode_Text(), theNodePackage.getCompositeNode(), null, "text", null, 0, -1, TextSequenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(textNodeEClass, TextNode.class, "TextNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(errorStatementNodeEClass, ErrorStatementNode.class, "ErrorStatementNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getErrorStatementNode_Expression(), theNodePackage.getCompositeNode(), null, "expression", null, 0, 1, ErrorStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(expandStatementNodeEClass, ExpandStatementNode.class, "ExpandStatementNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getExpandStatementNode_Separator(), theNodePackage.getCompositeNode(), null, "separator", null, 0, 1, ExpandStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExpandStatementNode_ParamList(), theNodePackage.getCompositeNode(), null, "paramList", null, 0, 1, ExpandStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExpandStatementNode_ForExpression(), theNodePackage.getCompositeNode(), null, "forExpression", null, 0, 1, ExpandStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExpandStatementNode_Name(), theNodePackage.getCompositeNode(), null, "name", null, 0, 1, ExpandStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(expressionStmtNodeEClass, ExpressionStmtNode.class, "ExpressionStmtNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getExpressionStmtNode_Expression(), theNodePackage.getCompositeNode(), null, "expression", null, 0, 1, ExpressionStmtNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(fileStatementNodeEClass, FileStatementNode.class, "FileStatementNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFileStatementNode_Sequence(), theNodePackage.getCompositeNode(), null, "sequence", null, 0, 1, FileStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFileStatementNode_Identifier(), theNodePackage.getCompositeNode(), null, "identifier", null, 0, 1, FileStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFileStatementNode_NameExpression(), theNodePackage.getCompositeNode(), null, "nameExpression", null, 0, 1, FileStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(foreachStatementNodeEClass, ForeachStatementNode.class, "ForeachStatementNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getForeachStatementNode_Iterator(), theNodePackage.getCompositeNode(), null, "iterator", null, 0, 1, ForeachStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getForeachStatementNode_Identifier(), theNodePackage.getCompositeNode(), null, "identifier", null, 0, 1, ForeachStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getForeachStatementNode_Sequence(), theNodePackage.getCompositeNode(), null, "sequence", null, 0, 1, ForeachStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getForeachStatementNode_ForExpression(), theNodePackage.getCompositeNode(), null, "forExpression", null, 0, 1, ForeachStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getForeachStatementNode_SeparatorExpression(), theNodePackage.getCompositeNode(), null, "separatorExpression", null, 0, 1, ForeachStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(ifStatementNodeEClass, IfStatementNode.class, "IfStatementNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getIfStatementNode_ElseIf(), theNodePackage.getCompositeNode(), null, "elseIf", null, 0, -1, IfStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getIfStatementNode_Expression(), theNodePackage.getCompositeNode(), null, "expression", null, 0, 1, IfStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getIfStatementNode_Else(), theNodePackage.getCompositeNode(), null, "else", null, 0, 1, IfStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getIfStatementNode_Sequence(), theNodePackage.getCompositeNode(), null, "sequence", null, 0, 1, IfStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(elseIfStatementNodeEClass, ElseIfStatementNode.class, "ElseIfStatementNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getElseIfStatementNode_Sequence(), theNodePackage.getCompositeNode(), null, "sequence", null, 0, 1, ElseIfStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getElseIfStatementNode_Expression(), theNodePackage.getCompositeNode(), null, "expression", null, 0, 1, ElseIfStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(elseStatementNodeEClass, ElseStatementNode.class, "ElseStatementNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getElseStatementNode_Sequence(), theNodePackage.getCompositeNode(), null, "sequence", null, 0, 1, ElseStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(letStatementNodeEClass, LetStatementNode.class, "LetStatementNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLetStatementNode_Expression(), theNodePackage.getCompositeNode(), null, "expression", null, 0, 1, LetStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getLetStatementNode_Name(), theNodePackage.getCompositeNode(), null, "name", null, 0, 1, LetStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getLetStatementNode_Sequence(), theNodePackage.getCompositeNode(), null, "sequence", null, 0, 1, LetStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(protectStatementNodeEClass, ProtectStatementNode.class, "ProtectStatementNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getProtectStatementNode_Sequence(), theNodePackage.getCompositeNode(), null, "sequence", null, 0, 1, ProtectStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProtectStatementNode_Cend(), theNodePackage.getCompositeNode(), null, "cend", null, 0, 1, ProtectStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProtectStatementNode_Id(), theNodePackage.getCompositeNode(), null, "id", null, 0, 1, ProtectStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProtectStatementNode_Cstart(), theNodePackage.getCompositeNode(), null, "cstart", null, 0, 1, ProtectStatementNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(checkNodeEClass, CheckNode.class, "CheckNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1585,15 +2087,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
initEClass(pointcutNodeEClass, PointcutNode.class, "PointcutNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(extensionNodeEClass, ExtensionNode.class, "ExtensionNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getExtensionNode_Cached(), theNodePackage.getLeafNode(), null, "cached", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getExtensionNode_ParamList(), theNodePackage.getCompositeNode(), null, "paramList", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getExtensionNode_Create(), theNodePackage.getLeafNode(), null, "create", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getExtensionNode_Private(), theNodePackage.getLeafNode(), null, "private", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getExtensionNode_Name(), theNodePackage.getCompositeNode(), null, "name", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getExtensionNode_ExtendBody(), theNodePackage.getCompositeNode(), null, "extendBody", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getExtensionNode_ReturnType(), theNodePackage.getCompositeNode(), null, "returnType", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getExtensionNode_JavaName(), theNodePackage.getCompositeNode(), null, "javaName", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getExtensionNode_JavaReturnType(), theNodePackage.getCompositeNode(), null, "javaReturnType", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExtensionNode_Create(), theNodePackage.getLeafNode(), null, "create", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExtensionNode_Name(), theNodePackage.getCompositeNode(), null, "name", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExtensionNode_JavaName(), theNodePackage.getCompositeNode(), null, "javaName", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExtensionNode_Cached(), theNodePackage.getLeafNode(), null, "cached", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getExtensionNode_ExtendBody(), theNodePackage.getCompositeNode(), null, "extendBody", null, 0, 1, ExtensionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(javaTypeNodeEClass, JavaTypeNode.class, "JavaTypeNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1621,20 +2123,25 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
initEClass(relationalExpressionNodeEClass, RelationalExpressionNode.class, "RelationalExpressionNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getRelationalExpressionNode_Operator(), theNodePackage.getCompositeNode(), null, "operator", null, 0, 1, RelationalExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getRelationalExpressionNode_RightOperand(), theNodePackage.getCompositeNode(), null, "rightOperand", null, 0, 1, RelationalExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getRelationalExpressionNode_LeftOperand(), theNodePackage.getCompositeNode(), null, "leftOperand", null, 0, 1, RelationalExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getRelationalExpressionNode_RightOperand(), theNodePackage.getCompositeNode(), null, "rightOperand", null, 0, 1, RelationalExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(relationalOperatorNodeEClass, RelationalOperatorNode.class, "RelationalOperatorNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(additiveExpressionNodeEClass, AdditiveExpressionNode.class, "AdditiveExpressionNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getAdditiveExpressionNode_Left(), theNodePackage.getCompositeNode(), null, "left", null, 0, 1, AdditiveExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAdditiveExpressionNode_Right(), theNodePackage.getCompositeNode(), null, "right", null, 0, 1, AdditiveExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(multiplicativeExpressionNodeEClass, MultiplicativeExpressionNode.class, "MultiplicativeExpressionNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMultiplicativeExpressionNode_Left(), theNodePackage.getCompositeNode(), null, "left", null, 0, 1, MultiplicativeExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMultiplicativeExpressionNode_Right(), theNodePackage.getCompositeNode(), null, "right", null, 0, 1, MultiplicativeExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(unaryExpressionNodeEClass, UnaryExpressionNode.class, "UnaryExpressionNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getUnaryExpressionNode_Operand(), theNodePackage.getCompositeNode(), null, "operand", null, 0, 1, UnaryExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(infixExpressionNodeEClass, InfixExpressionNode.class, "InfixExpressionNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getInfixExpressionNode_Target(), theNodePackage.getCompositeNode(), null, "target", null, 0, 1, InfixExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getInfixExpressionNode_Calls(), theNodePackage.getCompositeNode(), null, "calls", null, 0, -1, InfixExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getInfixExpressionNode_Target(), theNodePackage.getCompositeNode(), null, "target", null, 0, 1, InfixExpressionNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(stringLiteralNodeEClass, StringLiteralNode.class, "StringLiteralNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1643,8 +2150,9 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
initEClass(globalVarExpressionNodeEClass, GlobalVarExpressionNode.class, "GlobalVarExpressionNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(featureCallNodeEClass, FeatureCallNode.class, "FeatureCallNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFeatureCallNode_Name(), theNodePackage.getCompositeNode(), null, "name", null, 0, 1, FeatureCallNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFeatureCallNode_Type(), theNodePackage.getCompositeNode(), null, "type", null, 0, 1, FeatureCallNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getFeatureCallNode_ParamList(), theNodePackage.getCompositeNode(), null, "paramList", null, 0, 1, FeatureCallNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFeatureCallNode_Name(), theNodePackage.getCompositeNode(), null, "name", null, 0, 1, FeatureCallNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(listLiteralNodeEClass, ListLiteralNode.class, "ListLiteralNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeAdapterFactory.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeAdapterFactory.java
index 23aba83..93d7f2b 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeAdapterFactory.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeAdapterFactory.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Xpand3nodeAdapterFactory.java,v 1.4 2008/03/07 11:11:11 jkohnlein Exp $
+ * $Id: Xpand3nodeAdapterFactory.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.util;
@@ -75,16 +75,16 @@ public class Xpand3nodeAdapterFactory extends AdapterFactoryImpl {
protected Xpand3nodeSwitch<Adapter> modelSwitch =
new Xpand3nodeSwitch<Adapter>() {
@Override
- public Adapter caseXNode(XNode object) {
- return createXNodeAdapter();
- }
- @Override
public Adapter caseFileNode(FileNode object) {
return createFileNodeAdapter();
}
@Override
- public Adapter caseNsImportNode(NsImportNode object) {
- return createNsImportNodeAdapter();
+ public Adapter caseImportNode(ImportNode object) {
+ return createImportNodeAdapter();
+ }
+ @Override
+ public Adapter caseExtensionImportNode(ExtensionImportNode object) {
+ return createExtensionImportNodeAdapter();
}
@Override
public Adapter caseDefinitionNode(DefinitionNode object) {
@@ -327,44 +327,44 @@ public class Xpand3nodeAdapterFactory extends AdapterFactoryImpl {
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.xpand3.internal.parser.xpand3node.XNode <em>XNode</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode <em>File Node</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.XNode
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FileNode
* @generated
*/
- public Adapter createXNodeAdapter() {
+ public Adapter createFileNodeAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileNode <em>File Node</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImportNode <em>Import Node</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.FileNode
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ImportNode
* @generated
*/
- public Adapter createFileNodeAdapter() {
+ public Adapter createImportNodeAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode <em>Ns Import Node</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode <em>Extension Import Node</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode
* @generated
*/
- public Adapter createNsImportNodeAdapter() {
+ public Adapter createExtensionImportNodeAdapter() {
return null;
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeSwitch.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeSwitch.java
index 35d4680..4251f07 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeSwitch.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeSwitch.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Xpand3nodeSwitch.java,v 1.4 2008/03/07 11:11:11 jkohnlein Exp $
+ * $Id: Xpand3nodeSwitch.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.util;
@@ -90,14 +90,6 @@ public class Xpand3nodeSwitch<T> {
*/
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
- case Xpand3nodePackage.XNODE: {
- XNode xNode = (XNode)theEObject;
- T result = caseXNode(xNode);
- if (result == null) result = caseCompositeNode(xNode);
- if (result == null) result = caseNode(xNode);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
case Xpand3nodePackage.FILE_NODE: {
FileNode fileNode = (FileNode)theEObject;
T result = caseFileNode(fileNode);
@@ -106,11 +98,19 @@ public class Xpand3nodeSwitch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case Xpand3nodePackage.NS_IMPORT_NODE: {
- NsImportNode nsImportNode = (NsImportNode)theEObject;
- T result = caseNsImportNode(nsImportNode);
- if (result == null) result = caseCompositeNode(nsImportNode);
- if (result == null) result = caseNode(nsImportNode);
+ case Xpand3nodePackage.IMPORT_NODE: {
+ ImportNode importNode = (ImportNode)theEObject;
+ T result = caseImportNode(importNode);
+ if (result == null) result = caseCompositeNode(importNode);
+ if (result == null) result = caseNode(importNode);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE: {
+ ExtensionImportNode extensionImportNode = (ExtensionImportNode)theEObject;
+ T result = caseExtensionImportNode(extensionImportNode);
+ if (result == null) result = caseCompositeNode(extensionImportNode);
+ if (result == null) result = caseNode(extensionImportNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -543,47 +543,47 @@ public class Xpand3nodeSwitch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>XNode</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>File Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>XNode</em>'.
+ * @return the result of interpreting the object as an instance of '<em>File Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseXNode(XNode object) {
+ public T caseFileNode(FileNode object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>File Node</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Import Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>File Node</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Import Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseFileNode(FileNode object) {
+ public T caseImportNode(ImportNode object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Ns Import Node</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Extension Import Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Ns Import Node</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Extension Import Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseNsImportNode(NsImportNode object) {
+ public T caseExtensionImportNode(ExtensionImportNode object) {
return null;
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/AdditiveExpressionNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/AdditiveExpressionNodeValidator.java
index 28eb917..50e1d0d 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/AdditiveExpressionNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/AdditiveExpressionNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: AdditiveExpressionNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: AdditiveExpressionNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode}.
@@ -16,4 +18,8 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface AdditiveExpressionNodeValidator {
boolean validate();
+ boolean validateRight(CompositeNode value);
+
+ boolean validateLeft(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionAroundNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionAroundNodeValidator.java
index c8d0b1b..7485dd4 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionAroundNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionAroundNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: DefinitionAroundNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: DefinitionAroundNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionAroundNode}.
@@ -16,4 +18,12 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface DefinitionAroundNodeValidator {
boolean validate();
+ boolean validateType(CompositeNode value);
+
+ boolean validatePointcut(CompositeNode value);
+
+ boolean validateParamList(CompositeNode value);
+
+ boolean validateSequence(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionNodeValidator.java
index d27b9cb..9f9ee4e 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionNodeValidator.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DefinitionNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: DefinitionNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
@@ -17,5 +17,11 @@ import org.eclipse.tmf.common.node.CompositeNode;
public interface DefinitionNodeValidator {
boolean validate();
+ boolean validateType(CompositeNode value);
+
+ boolean validateSequence(CompositeNode value);
+
boolean validateName(CompositeNode value);
+
+ boolean validateParamList(CompositeNode value);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseIfStatementNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseIfStatementNodeValidator.java
index 889592e..aef5792 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseIfStatementNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseIfStatementNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ElseIfStatementNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: ElseIfStatementNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode}.
@@ -16,4 +18,8 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface ElseIfStatementNodeValidator {
boolean validate();
+ boolean validateSequence(CompositeNode value);
+
+ boolean validateExpression(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseStatementNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseStatementNodeValidator.java
index 2f99909..fdeb1c3 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseStatementNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseStatementNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ElseStatementNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: ElseStatementNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.ElseStatementNode}.
@@ -16,4 +18,6 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface ElseStatementNodeValidator {
boolean validate();
+ boolean validateSequence(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ErrorStatementNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ErrorStatementNodeValidator.java
index a8f1f86..57ca447 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ErrorStatementNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ErrorStatementNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ErrorStatementNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: ErrorStatementNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.ErrorStatementNode}.
@@ -16,4 +18,6 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface ErrorStatementNodeValidator {
boolean validate();
+ boolean validateExpression(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpandStatementNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpandStatementNodeValidator.java
index 65a5bc5..6ecba91 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpandStatementNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpandStatementNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ExpandStatementNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: ExpandStatementNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode}.
@@ -16,4 +18,12 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface ExpandStatementNodeValidator {
boolean validate();
+ boolean validateSeparator(CompositeNode value);
+
+ boolean validateParamList(CompositeNode value);
+
+ boolean validateForExpression(CompositeNode value);
+
+ boolean validateName(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpressionStmtNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpressionStmtNodeValidator.java
index d67434b..4010277 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpressionStmtNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpressionStmtNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ExpressionStmtNodeValidator.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: ExpressionStmtNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.ExpressionStmtNode}.
@@ -16,4 +18,6 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface ExpressionStmtNodeValidator {
boolean validate();
+ boolean validateExpression(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExtensionImportNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExtensionImportNodeValidator.java
new file mode 100644
index 0000000..f386cea
--- /dev/null
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExtensionImportNodeValidator.java
@@ -0,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ExtensionImportNodeValidator.java,v 1.1 2008/03/12 09:54:13 jkohnlein Exp $
+ */
+package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+
+import org.eclipse.tmf.common.node.CompositeNode;
+
+/**
+ * A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionImportNode}.
+ * This doesn't really do anything, and it's not a real EMF artifact.
+ * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
+ * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
+ */
+public interface ExtensionImportNodeValidator {
+ boolean validate();
+
+ boolean validateType(CompositeNode value);
+ boolean validateNamespace(CompositeNode value);
+}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FeatureCallNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FeatureCallNodeValidator.java
index fa6d849..e4e0052 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FeatureCallNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FeatureCallNodeValidator.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: FeatureCallNodeValidator.java,v 1.3 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: FeatureCallNodeValidator.java,v 1.4 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
@@ -17,6 +17,8 @@ import org.eclipse.tmf.common.node.CompositeNode;
public interface FeatureCallNodeValidator {
boolean validate();
+ boolean validateType(CompositeNode value);
+
boolean validateName(CompositeNode value);
boolean validateParamList(CompositeNode value);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileNodeValidator.java
index d6faf39..87f32c2 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileNodeValidator.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: FileNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: FileNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
@@ -19,6 +19,10 @@ import org.eclipse.tmf.common.node.CompositeNode;
public interface FileNodeValidator {
boolean validate();
+ boolean validateDeclarations(EList<CompositeNode> value);
+
+ boolean validateImports(EList<CompositeNode> value);
+
boolean validateDecl(EList<CompositeNode> value);
boolean validateImp(EList<CompositeNode> value);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileStatementNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileStatementNodeValidator.java
index cf69c65..8d9c066 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileStatementNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FileStatementNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: FileStatementNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: FileStatementNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode}.
@@ -16,4 +18,10 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface FileStatementNodeValidator {
boolean validate();
+ boolean validateNameExpression(CompositeNode value);
+
+ boolean validateIdentifier(CompositeNode value);
+
+ boolean validateSequence(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ForeachStatementNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ForeachStatementNodeValidator.java
index 8cd8a42..1215989 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ForeachStatementNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ForeachStatementNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ForeachStatementNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: ForeachStatementNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode}.
@@ -16,4 +18,14 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface ForeachStatementNodeValidator {
boolean validate();
+ boolean validateIterator(CompositeNode value);
+
+ boolean validateSeparatorExpression(CompositeNode value);
+
+ boolean validateIdentifier(CompositeNode value);
+
+ boolean validateForExpression(CompositeNode value);
+
+ boolean validateSequence(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/IfStatementNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/IfStatementNodeValidator.java
index 1a581c0..d976488 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/IfStatementNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/IfStatementNodeValidator.java
@@ -2,10 +2,13 @@
* <copyright>
* </copyright>
*
- * $Id: IfStatementNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: IfStatementNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode}.
@@ -16,4 +19,14 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface IfStatementNodeValidator {
boolean validate();
+ boolean validateElseIf(EList<CompositeNode> value);
+
+ boolean validateElse(CompositeNode value);
+
+ boolean validateExpression(CompositeNode value);
+
+ boolean validateElseIf(CompositeNode value);
+
+ boolean validateSequence(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ImportNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ImportNodeValidator.java
new file mode 100644
index 0000000..3be4835
--- /dev/null
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ImportNodeValidator.java
@@ -0,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ImportNodeValidator.java,v 1.1 2008/03/12 09:54:13 jkohnlein Exp $
+ */
+package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+
+import org.eclipse.tmf.common.node.CompositeNode;
+
+/**
+ * A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.ImportNode}.
+ * This doesn't really do anything, and it's not a real EMF artifact.
+ * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
+ * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
+ */
+public interface ImportNodeValidator {
+ boolean validate();
+
+ boolean validateNamespace(CompositeNode value);
+ boolean validateType(CompositeNode value);
+}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/LetStatementNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/LetStatementNodeValidator.java
index 71d3dfd..56b4fb8 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/LetStatementNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/LetStatementNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: LetStatementNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: LetStatementNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode}.
@@ -16,4 +18,10 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface LetStatementNodeValidator {
boolean validate();
+ boolean validateExpression(CompositeNode value);
+
+ boolean validateName(CompositeNode value);
+
+ boolean validateSequence(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/MultiplicativeExpressionNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/MultiplicativeExpressionNodeValidator.java
index e6854a2..fcf1af3 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/MultiplicativeExpressionNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/MultiplicativeExpressionNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: MultiplicativeExpressionNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: MultiplicativeExpressionNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode}.
@@ -16,4 +18,8 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface MultiplicativeExpressionNodeValidator {
boolean validate();
+ boolean validateLeft(CompositeNode value);
+
+ boolean validateRight(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ProtectStatementNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ProtectStatementNodeValidator.java
index 73b8675..956fecb 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ProtectStatementNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ProtectStatementNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ProtectStatementNodeValidator.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: ProtectStatementNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode}.
@@ -16,4 +18,12 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface ProtectStatementNodeValidator {
boolean validate();
+ boolean validateCstart(CompositeNode value);
+
+ boolean validateCend(CompositeNode value);
+
+ boolean validateId(CompositeNode value);
+
+ boolean validateSequence(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/SequenceNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/SequenceNodeValidator.java
index 4e634f0..b87d33b 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/SequenceNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/SequenceNodeValidator.java
@@ -2,10 +2,13 @@
* <copyright>
* </copyright>
*
- * $Id: SequenceNodeValidator.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: SequenceNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode}.
@@ -16,4 +19,8 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface SequenceNodeValidator {
boolean validate();
+ boolean validateTextSequences(EList<CompositeNode> value);
+
+ boolean validateStatements(EList<CompositeNode> value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/TextSequenceNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/TextSequenceNodeValidator.java
index 845453c..4b1292d 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/TextSequenceNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/TextSequenceNodeValidator.java
@@ -2,10 +2,13 @@
* <copyright>
* </copyright>
*
- * $Id: TextSequenceNodeValidator.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: TextSequenceNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode}.
@@ -16,4 +19,6 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface TextSequenceNodeValidator {
boolean validate();
+ boolean validateText(EList<CompositeNode> value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/UnaryExpressionNodeValidator.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/UnaryExpressionNodeValidator.java
index 5558e4d..b2839ce 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/UnaryExpressionNodeValidator.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/UnaryExpressionNodeValidator.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: UnaryExpressionNodeValidator.java,v 1.2 2008/03/07 09:39:39 jkohnlein Exp $
+ * $Id: UnaryExpressionNodeValidator.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.validation;
+import org.eclipse.tmf.common.node.CompositeNode;
+
/**
* A sample validator interface for {@link org.eclipse.xpand3.internal.parser.xpand3node.UnaryExpressionNode}.
@@ -16,4 +18,6 @@ package org.eclipse.xpand3.internal.parser.xpand3node.validation;
public interface UnaryExpressionNodeValidator {
boolean validate();
+ boolean validateOperand(CompositeNode value);
+
}
diff --git a/plugins/org.eclipse.xpand3.parser/model/Xpand3Node.ecore b/plugins/org.eclipse.xpand3.parser/model/Xpand3Node.ecore
index c5e3946..a347889 100644
--- a/plugins/org.eclipse.xpand3.parser/model/Xpand3Node.ecore
+++ b/plugins/org.eclipse.xpand3.parser/model/Xpand3Node.ecore
@@ -2,16 +2,28 @@
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="xpand3node" nsURI="http://www.eclipse.org/tmf/common/Xpand3Node" nsPrefix="xpand3node">
<eClassifiers xsi:type="ecore:EClass" name="FileNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="imp" upperBound="-1">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="declarations" upperBound="-1">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="decl" upperBound="-1">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NsImportNode">
+ <eClassifiers xsi:type="ecore:EClass" name="ImportNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="ns">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="namespace">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ExtensionImportNode">
+ <eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="namespace">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
</eClassifiers>
@@ -20,48 +32,162 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="name">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequence">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="paramList">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DefinitionAroundNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="pointcut">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="paramList">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequence">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SequenceNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="textSequences" upperBound="-1">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="statements" upperBound="-1">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TextSequenceNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="text" upperBound="-1">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TextNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ErrorStatementNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ExpandStatementNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="separator">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="paramList">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="forExpression">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="name">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ExpressionStmtNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FileStatementNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequence">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="identifier">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="nameExpression">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ForeachStatementNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="iterator">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="identifier">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequence">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="forExpression">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="separatorExpression">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="IfStatementNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="elseIf" upperBound="-1">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="else">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequence">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ElseIfStatementNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequence">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ElseStatementNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequence">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LetStatementNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="name">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequence">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ProtectStatementNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sequence">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cend">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="id">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cstart">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CheckNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
@@ -74,31 +200,31 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ExtensionNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="create">
- <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//LeafNode"/>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="name">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="paramList">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="private">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//LeafNode"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="javaReturnType">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="returnType">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="returnType">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="javaReturnType">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="cached">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="create">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//LeafNode"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="javaName">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="name">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="extendBody">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="javaName">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="paramList">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cached">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//LeafNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="extendBody">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
</eClassifiers>
@@ -140,10 +266,10 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RelationalExpressionNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operator">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="operator">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="leftOperand">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="rightOperand">
@@ -155,12 +281,27 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AdditiveExpressionNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="left">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="right">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MultiplicativeExpressionNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="left">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="right">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UnaryExpressionNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operand">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="InfixExpressionNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
@@ -182,6 +323,9 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FeatureCallNode">
<eSuperTypes href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type">
+ <eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="paramList">
<eType xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.tmf.common.runtime/src/org/eclipse/tmf/common/node/node.ecore#//CompositeNode"/>
</eStructuralFeatures>
diff --git a/plugins/org.eclipse.xpand3.parser/model/Xpand3Node.tmf b/plugins/org.eclipse.xpand3.parser/model/Xpand3Node.tmf
index 650685c..3e7fa12 100644
--- a/plugins/org.eclipse.xpand3.parser/model/Xpand3Node.tmf
+++ b/plugins/org.eclipse.xpand3.parser/model/Xpand3Node.tmf
@@ -1,16 +1,23 @@
grammar Xpand3Node;
normalizable file :
- (imp+=nsImport)*
- (decl+=abstractDeclaration )*
+ (imports+=nsImport)*
+ (declarations+=abstractDeclaration )*
EOF
;
-nsImport:
- LG 'IMPORT' ns=simpleType RG |
- LG 'EXTENSION' ns=simpleType RG |
- 'import' type ';' |
- 'extension' type ('reexport')? ';'
+abstract normalizable nsImport:
+ import | extensionImport
+;
+
+import:
+ (LG 'IMPORT' namespace=simpleType RG) |
+ 'import' type=type ';'
+;
+
+extensionImport:
+ (LG 'EXTENSION' namespace=simpleType RG) |
+ 'extension' type=type 'reexport'? ';'
;
abstract normalizable abstractDeclaration :
@@ -24,21 +31,21 @@ abstract normalizable abstractDeclaration :
// XPAND start
definition :
- LG DEFINE name=identifier ('(' (declaredParameterList (','? '*')? | '*')? ')')? 'FOR' type
- sequence
+ LG DEFINE name=identifier ('(' (paramList=declaredParameterList (','? '*')? | '*')? ')')? 'FOR' type=type
+ sequence=sequence
ENDDEFINE RG
;
definitionAround :
- LG AROUND pointcut ('(' (declaredParameterList (','? '*')? | '*')? ')')? 'FOR' type
- sequence
+ LG AROUND pointcut=pointcut ('(' (paramList=declaredParameterList (','? '*')? | '*')? ')')? 'FOR' type=type
+ sequence=sequence
ENDAROUND RG
;
sequence :
- textSequence
- (statement
- textSequence)*
+ textSequences+=textSequence
+ (statements+=statement
+ textSequences+=textSequence)*
;
abstract normalizable statement :
@@ -51,7 +58,7 @@ abstract normalizable statement :
;
normalizable textSequence :
- text (text)*
+ text+=text (text+=text)*
;
text :
@@ -65,60 +72,60 @@ abstract normalizable simpleStatement :
;
errorStatement :
- 'ERROR' expression
+ 'ERROR' expression=expression
;
expandStatement :
- 'EXPAND' simpleType ('(' parameterList ')')? (('FOR' expression)
- | ('FOREACH'expression ('SEPARATOR' expression)?))?
+ 'EXPAND' name=simpleType ('(' paramList=parameterList ')')? (('FOR' forExpression=expression)
+ | ('FOREACH' forExpression=expression ('SEPARATOR' separator=expression)?))?
;
expressionStmt :
- expression
+ expression=expression
;
fileStatement :
- 'FILE' expression (identifier)?
- sequence
+ 'FILE' nameExpression=expression ('ONCE')? (identifier=identifier)?
+ sequence=sequence
'ENDFILE'
;
foreachStatement :
- 'FOREACH' expression 'AS' identifier ('ITERATOR' identifier)? ('SEPARATOR' expression)?
- sequence
+ 'FOREACH' forExpression=expression 'AS' identifier=identifier ('ITERATOR' iterator=identifier)? ('SEPARATOR' separatorExpression=expression)?
+ sequence=sequence
'ENDFOREACH'
;
ifStatement :
- 'IF' expression
- sequence
- elseIfStatement*
- elseStatement?
+ 'IF' expression=expression
+ sequence=sequence
+ elseIf+=elseIfStatement*
+ else=elseStatement?
'ENDIF'
;
elseIfStatement :
- 'ELSEIF' expression
- sequence
+ 'ELSEIF' expression=expression
+ sequence=sequence
;
elseStatement :
'ELSE'
- sequence
+ sequence=sequence
;
letStatement :
- 'LET' expression 'AS' identifier
- sequence
+ 'LET' expression=expression 'AS' name=identifier
+ sequence=sequence
'ENDLET'
;
protectStatement :
'PROTECT'
- 'CSTART' expression
- 'CEND' expression
- 'ID' expression 'DISABLE'?
- sequence
+ 'CSTART' cstart=expression
+ 'CEND' cend=expression
+ 'ID' id=expression 'DISABLE'?
+ sequence=sequence
'ENDPROTECT'
;
@@ -224,20 +231,20 @@ relationalOperator:
;
normalizable additiveExpression :
- multiplicativeExpression
- (('+'| '-') multiplicativeExpression )*
+ left=multiplicativeExpression
+ (('+'| '-') right=multiplicativeExpression )*
;
normalizable multiplicativeExpression :
- unaryExpression
- (('*' | '/') unaryExpression )*
+ left=unaryExpression
+ (('*' | '/') right=unaryExpression )*
;
normalizable unaryExpression :
infixExpression
-| '!' infixExpression
-| '-' infixExpression
+| '!' operand=infixExpression
+| '-' operand=infixExpression
;
normalizable infixExpression :
@@ -257,7 +264,7 @@ abstract normalizable primaryExpression :
;
stringLiteral :
- StringLiteral
+ StringLiteral
;
paranthesizedExpression :
@@ -267,9 +274,9 @@ paranthesizedExpression :
globalVarExpression :
'GLOBALVAR' identifier ;
-normalizable featureCall :
+featureCall :
name=identifier '(' (paramList=parameterList)? ')'
-| type
+| type=type
| collectionExpression
;
diff --git a/plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/AbstractXpand3NodeSwitch.java b/plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/AbstractXpand3NodeSwitch.java
new file mode 100644
index 0000000..cb7c187
--- /dev/null
+++ b/plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/AbstractXpand3NodeSwitch.java
@@ -0,0 +1,809 @@
+
+package org.eclipse.xpand3.parser;
+
+import org.eclipse.tmf.common.node.*;
+import org.eclipse.xpand3.internal.parser.xpand3node.*;
+
+public abstract class AbstractXpand3NodeSwitch<T,E extends Exception> {
+
+ public T doSwitch(Node node) throws E {
+ int classifierID = node.eClass().getClassifierID();
+ switch(classifierID) {
+ case Xpand3nodePackage.FILE_NODE:
+ return caseFileNode(node);
+ case Xpand3nodePackage.IMPORT_NODE:
+ return caseImportNode(node);
+ case Xpand3nodePackage.EXTENSION_IMPORT_NODE:
+ return caseExtensionImportNode(node);
+ case Xpand3nodePackage.DEFINITION_NODE:
+ return caseDefinitionNode(node);
+ case Xpand3nodePackage.DEFINITION_AROUND_NODE:
+ return caseDefinitionAroundNode(node);
+ case Xpand3nodePackage.SEQUENCE_NODE:
+ return caseSequenceNode(node);
+ case Xpand3nodePackage.TEXT_SEQUENCE_NODE:
+ return caseTextSequenceNode(node);
+ case Xpand3nodePackage.TEXT_NODE:
+ return caseTextNode(node);
+ case Xpand3nodePackage.ERROR_STATEMENT_NODE:
+ return caseErrorStatementNode(node);
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE:
+ return caseExpandStatementNode(node);
+ case Xpand3nodePackage.EXPRESSION_STMT_NODE:
+ return caseExpressionStmtNode(node);
+ case Xpand3nodePackage.FILE_STATEMENT_NODE:
+ return caseFileStatementNode(node);
+ case Xpand3nodePackage.FOREACH_STATEMENT_NODE:
+ return caseForeachStatementNode(node);
+ case Xpand3nodePackage.IF_STATEMENT_NODE:
+ return caseIfStatementNode(node);
+ case Xpand3nodePackage.ELSE_IF_STATEMENT_NODE:
+ return caseElseIfStatementNode(node);
+ case Xpand3nodePackage.ELSE_STATEMENT_NODE:
+ return caseElseStatementNode(node);
+ case Xpand3nodePackage.LET_STATEMENT_NODE:
+ return caseLetStatementNode(node);
+ case Xpand3nodePackage.PROTECT_STATEMENT_NODE:
+ return caseProtectStatementNode(node);
+ case Xpand3nodePackage.CHECK_NODE:
+ return caseCheckNode(node);
+ case Xpand3nodePackage.AROUND_NODE:
+ return caseAroundNode(node);
+ case Xpand3nodePackage.POINTCUT_NODE:
+ return casePointcutNode(node);
+ case Xpand3nodePackage.EXTENSION_NODE:
+ return caseExtensionNode(node);
+ case Xpand3nodePackage.JAVA_TYPE_NODE:
+ return caseJavaTypeNode(node);
+ case Xpand3nodePackage.TEST_EXPRESSION_NODE:
+ return caseTest_expressionNode(node);
+ case Xpand3nodePackage.EXPRESSION_NODE:
+ return caseExpressionNode(node);
+ case Xpand3nodePackage.LET_EXPRESSION_NODE:
+ return caseLetExpressionNode(node);
+ case Xpand3nodePackage.CASTED_EXPRESSION_NODE:
+ return caseCastedExpressionNode(node);
+ case Xpand3nodePackage.CHAIN_EXPRESSION_NODE:
+ return caseChainExpressionNode(node);
+ case Xpand3nodePackage.IF_EXPRESSION_NODE:
+ return caseIfExpressionNode(node);
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE:
+ return caseSwitchExpressionNode(node);
+ case Xpand3nodePackage.CASE_PART_NODE:
+ return caseCasePartNode(node);
+ case Xpand3nodePackage.OR_EXPRESSION_NODE:
+ return caseOrExpressionNode(node);
+ case Xpand3nodePackage.AND_EXPRESSION_NODE:
+ return caseAndExpressionNode(node);
+ case Xpand3nodePackage.IMPLIES_EXPRESSION_NODE:
+ return caseImpliesExpressionNode(node);
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE:
+ return caseRelationalExpressionNode(node);
+ case Xpand3nodePackage.RELATIONAL_OPERATOR_NODE:
+ return caseRelationalOperatorNode(node);
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE:
+ return caseAdditiveExpressionNode(node);
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE:
+ return caseMultiplicativeExpressionNode(node);
+ case Xpand3nodePackage.UNARY_EXPRESSION_NODE:
+ return caseUnaryExpressionNode(node);
+ case Xpand3nodePackage.INFIX_EXPRESSION_NODE:
+ return caseInfixExpressionNode(node);
+ case Xpand3nodePackage.STRING_LITERAL_NODE:
+ return caseStringLiteralNode(node);
+ case Xpand3nodePackage.PARANTHESIZED_EXPRESSION_NODE:
+ return caseParanthesizedExpressionNode(node);
+ case Xpand3nodePackage.GLOBAL_VAR_EXPRESSION_NODE:
+ return caseGlobalVarExpressionNode(node);
+ case Xpand3nodePackage.FEATURE_CALL_NODE:
+ return caseFeatureCallNode(node);
+ case Xpand3nodePackage.LIST_LITERAL_NODE:
+ return caseListLiteralNode(node);
+ case Xpand3nodePackage.CONSTRUCTOR_CALL_NODE:
+ return caseConstructorCallNode(node);
+ case Xpand3nodePackage.BOOLEAN_LITERAL_NODE:
+ return caseBooleanLiteralNode(node);
+ case Xpand3nodePackage.NULL_LITERAL_NODE:
+ return caseNullLiteralNode(node);
+ case Xpand3nodePackage.NUMBER_LITERAL_NODE:
+ return caseNumberLiteralNode(node);
+ case Xpand3nodePackage.COLLECTION_EXPRESSION_NODE:
+ return caseCollectionExpressionNode(node);
+ case Xpand3nodePackage.DECLARED_PARAMETER_LIST_NODE:
+ return caseDeclaredParameterListNode(node);
+ case Xpand3nodePackage.DECLARED_PARAMETER_NODE:
+ return caseDeclaredParameterNode(node);
+ case Xpand3nodePackage.PARAMETER_LIST_NODE:
+ return caseParameterListNode(node);
+ case Xpand3nodePackage.COLLECTION_TYPE_NODE:
+ return caseCollectionTypeNode(node);
+ case Xpand3nodePackage.SIMPLE_TYPE_NODE:
+ return caseSimpleTypeNode(node);
+ case Xpand3nodePackage.IDENTIFIER_NODE:
+ return caseIdentifierNode(node);
+ default: error("Node " + node.toString() + " not supported", node);
+ }
+ return null;
+ }
+
+ public T caseFileNode(Node node) throws E {
+ if(!(node instanceof FileNode)) {
+ classCastError(node, "FileNode");
+ }
+ return caseFileNode((FileNode) node);
+ }
+
+ public T caseFileNode(FileNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseImportNode(Node node) throws E {
+ if(!(node instanceof ImportNode)) {
+ classCastError(node, "ImportNode");
+ }
+ return caseImportNode((ImportNode) node);
+ }
+
+ public T caseImportNode(ImportNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseExtensionImportNode(Node node) throws E {
+ if(!(node instanceof ExtensionImportNode)) {
+ classCastError(node, "ExtensionImportNode");
+ }
+ return caseExtensionImportNode((ExtensionImportNode) node);
+ }
+
+ public T caseExtensionImportNode(ExtensionImportNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseDefinitionNode(Node node) throws E {
+ if(!(node instanceof DefinitionNode)) {
+ classCastError(node, "DefinitionNode");
+ }
+ return caseDefinitionNode((DefinitionNode) node);
+ }
+
+ public T caseDefinitionNode(DefinitionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseDefinitionAroundNode(Node node) throws E {
+ if(!(node instanceof DefinitionAroundNode)) {
+ classCastError(node, "DefinitionAroundNode");
+ }
+ return caseDefinitionAroundNode((DefinitionAroundNode) node);
+ }
+
+ public T caseDefinitionAroundNode(DefinitionAroundNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseSequenceNode(Node node) throws E {
+ if(!(node instanceof SequenceNode)) {
+ classCastError(node, "SequenceNode");
+ }
+ return caseSequenceNode((SequenceNode) node);
+ }
+
+ public T caseSequenceNode(SequenceNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseTextSequenceNode(Node node) throws E {
+ if(!(node instanceof TextSequenceNode)) {
+ classCastError(node, "TextSequenceNode");
+ }
+ return caseTextSequenceNode((TextSequenceNode) node);
+ }
+
+ public T caseTextSequenceNode(TextSequenceNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseTextNode(Node node) throws E {
+ if(!(node instanceof TextNode)) {
+ classCastError(node, "TextNode");
+ }
+ return caseTextNode((TextNode) node);
+ }
+
+ public T caseTextNode(TextNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseErrorStatementNode(Node node) throws E {
+ if(!(node instanceof ErrorStatementNode)) {
+ classCastError(node, "ErrorStatementNode");
+ }
+ return caseErrorStatementNode((ErrorStatementNode) node);
+ }
+
+ public T caseErrorStatementNode(ErrorStatementNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseExpandStatementNode(Node node) throws E {
+ if(!(node instanceof ExpandStatementNode)) {
+ classCastError(node, "ExpandStatementNode");
+ }
+ return caseExpandStatementNode((ExpandStatementNode) node);
+ }
+
+ public T caseExpandStatementNode(ExpandStatementNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseExpressionStmtNode(Node node) throws E {
+ if(!(node instanceof ExpressionStmtNode)) {
+ classCastError(node, "ExpressionStmtNode");
+ }
+ return caseExpressionStmtNode((ExpressionStmtNode) node);
+ }
+
+ public T caseExpressionStmtNode(ExpressionStmtNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseFileStatementNode(Node node) throws E {
+ if(!(node instanceof FileStatementNode)) {
+ classCastError(node, "FileStatementNode");
+ }
+ return caseFileStatementNode((FileStatementNode) node);
+ }
+
+ public T caseFileStatementNode(FileStatementNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseForeachStatementNode(Node node) throws E {
+ if(!(node instanceof ForeachStatementNode)) {
+ classCastError(node, "ForeachStatementNode");
+ }
+ return caseForeachStatementNode((ForeachStatementNode) node);
+ }
+
+ public T caseForeachStatementNode(ForeachStatementNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseIfStatementNode(Node node) throws E {
+ if(!(node instanceof IfStatementNode)) {
+ classCastError(node, "IfStatementNode");
+ }
+ return caseIfStatementNode((IfStatementNode) node);
+ }
+
+ public T caseIfStatementNode(IfStatementNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseElseIfStatementNode(Node node) throws E {
+ if(!(node instanceof ElseIfStatementNode)) {
+ classCastError(node, "ElseIfStatementNode");
+ }
+ return caseElseIfStatementNode((ElseIfStatementNode) node);
+ }
+
+ public T caseElseIfStatementNode(ElseIfStatementNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseElseStatementNode(Node node) throws E {
+ if(!(node instanceof ElseStatementNode)) {
+ classCastError(node, "ElseStatementNode");
+ }
+ return caseElseStatementNode((ElseStatementNode) node);
+ }
+
+ public T caseElseStatementNode(ElseStatementNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseLetStatementNode(Node node) throws E {
+ if(!(node instanceof LetStatementNode)) {
+ classCastError(node, "LetStatementNode");
+ }
+ return caseLetStatementNode((LetStatementNode) node);
+ }
+
+ public T caseLetStatementNode(LetStatementNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseProtectStatementNode(Node node) throws E {
+ if(!(node instanceof ProtectStatementNode)) {
+ classCastError(node, "ProtectStatementNode");
+ }
+ return caseProtectStatementNode((ProtectStatementNode) node);
+ }
+
+ public T caseProtectStatementNode(ProtectStatementNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseCheckNode(Node node) throws E {
+ if(!(node instanceof CheckNode)) {
+ classCastError(node, "CheckNode");
+ }
+ return caseCheckNode((CheckNode) node);
+ }
+
+ public T caseCheckNode(CheckNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseAroundNode(Node node) throws E {
+ if(!(node instanceof AroundNode)) {
+ classCastError(node, "AroundNode");
+ }
+ return caseAroundNode((AroundNode) node);
+ }
+
+ public T caseAroundNode(AroundNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T casePointcutNode(Node node) throws E {
+ if(!(node instanceof PointcutNode)) {
+ classCastError(node, "PointcutNode");
+ }
+ return casePointcutNode((PointcutNode) node);
+ }
+
+ public T casePointcutNode(PointcutNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseExtensionNode(Node node) throws E {
+ if(!(node instanceof ExtensionNode)) {
+ classCastError(node, "ExtensionNode");
+ }
+ return caseExtensionNode((ExtensionNode) node);
+ }
+
+ public T caseExtensionNode(ExtensionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseJavaTypeNode(Node node) throws E {
+ if(!(node instanceof JavaTypeNode)) {
+ classCastError(node, "JavaTypeNode");
+ }
+ return caseJavaTypeNode((JavaTypeNode) node);
+ }
+
+ public T caseJavaTypeNode(JavaTypeNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseTest_expressionNode(Node node) throws E {
+ if(!(node instanceof Test_expressionNode)) {
+ classCastError(node, "Test_expressionNode");
+ }
+ return caseTest_expressionNode((Test_expressionNode) node);
+ }
+
+ public T caseTest_expressionNode(Test_expressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseExpressionNode(Node node) throws E {
+ if(!(node instanceof ExpressionNode)) {
+ classCastError(node, "ExpressionNode");
+ }
+ return caseExpressionNode((ExpressionNode) node);
+ }
+
+ public T caseExpressionNode(ExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseLetExpressionNode(Node node) throws E {
+ if(!(node instanceof LetExpressionNode)) {
+ classCastError(node, "LetExpressionNode");
+ }
+ return caseLetExpressionNode((LetExpressionNode) node);
+ }
+
+ public T caseLetExpressionNode(LetExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseCastedExpressionNode(Node node) throws E {
+ if(!(node instanceof CastedExpressionNode)) {
+ classCastError(node, "CastedExpressionNode");
+ }
+ return caseCastedExpressionNode((CastedExpressionNode) node);
+ }
+
+ public T caseCastedExpressionNode(CastedExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseChainExpressionNode(Node node) throws E {
+ if(!(node instanceof ChainExpressionNode)) {
+ classCastError(node, "ChainExpressionNode");
+ }
+ return caseChainExpressionNode((ChainExpressionNode) node);
+ }
+
+ public T caseChainExpressionNode(ChainExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseIfExpressionNode(Node node) throws E {
+ if(!(node instanceof IfExpressionNode)) {
+ classCastError(node, "IfExpressionNode");
+ }
+ return caseIfExpressionNode((IfExpressionNode) node);
+ }
+
+ public T caseIfExpressionNode(IfExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseSwitchExpressionNode(Node node) throws E {
+ if(!(node instanceof SwitchExpressionNode)) {
+ classCastError(node, "SwitchExpressionNode");
+ }
+ return caseSwitchExpressionNode((SwitchExpressionNode) node);
+ }
+
+ public T caseSwitchExpressionNode(SwitchExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseCasePartNode(Node node) throws E {
+ if(!(node instanceof CasePartNode)) {
+ classCastError(node, "CasePartNode");
+ }
+ return caseCasePartNode((CasePartNode) node);
+ }
+
+ public T caseCasePartNode(CasePartNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseOrExpressionNode(Node node) throws E {
+ if(!(node instanceof OrExpressionNode)) {
+ classCastError(node, "OrExpressionNode");
+ }
+ return caseOrExpressionNode((OrExpressionNode) node);
+ }
+
+ public T caseOrExpressionNode(OrExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseAndExpressionNode(Node node) throws E {
+ if(!(node instanceof AndExpressionNode)) {
+ classCastError(node, "AndExpressionNode");
+ }
+ return caseAndExpressionNode((AndExpressionNode) node);
+ }
+
+ public T caseAndExpressionNode(AndExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseImpliesExpressionNode(Node node) throws E {
+ if(!(node instanceof ImpliesExpressionNode)) {
+ classCastError(node, "ImpliesExpressionNode");
+ }
+ return caseImpliesExpressionNode((ImpliesExpressionNode) node);
+ }
+
+ public T caseImpliesExpressionNode(ImpliesExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseRelationalExpressionNode(Node node) throws E {
+ if(!(node instanceof RelationalExpressionNode)) {
+ classCastError(node, "RelationalExpressionNode");
+ }
+ return caseRelationalExpressionNode((RelationalExpressionNode) node);
+ }
+
+ public T caseRelationalExpressionNode(RelationalExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseRelationalOperatorNode(Node node) throws E {
+ if(!(node instanceof RelationalOperatorNode)) {
+ classCastError(node, "RelationalOperatorNode");
+ }
+ return caseRelationalOperatorNode((RelationalOperatorNode) node);
+ }
+
+ public T caseRelationalOperatorNode(RelationalOperatorNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseAdditiveExpressionNode(Node node) throws E {
+ if(!(node instanceof AdditiveExpressionNode)) {
+ classCastError(node, "AdditiveExpressionNode");
+ }
+ return caseAdditiveExpressionNode((AdditiveExpressionNode) node);
+ }
+
+ public T caseAdditiveExpressionNode(AdditiveExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseMultiplicativeExpressionNode(Node node) throws E {
+ if(!(node instanceof MultiplicativeExpressionNode)) {
+ classCastError(node, "MultiplicativeExpressionNode");
+ }
+ return caseMultiplicativeExpressionNode((MultiplicativeExpressionNode) node);
+ }
+
+ public T caseMultiplicativeExpressionNode(MultiplicativeExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseUnaryExpressionNode(Node node) throws E {
+ if(!(node instanceof UnaryExpressionNode)) {
+ classCastError(node, "UnaryExpressionNode");
+ }
+ return caseUnaryExpressionNode((UnaryExpressionNode) node);
+ }
+
+ public T caseUnaryExpressionNode(UnaryExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseInfixExpressionNode(Node node) throws E {
+ if(!(node instanceof InfixExpressionNode)) {
+ classCastError(node, "InfixExpressionNode");
+ }
+ return caseInfixExpressionNode((InfixExpressionNode) node);
+ }
+
+ public T caseInfixExpressionNode(InfixExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseStringLiteralNode(Node node) throws E {
+ if(!(node instanceof StringLiteralNode)) {
+ classCastError(node, "StringLiteralNode");
+ }
+ return caseStringLiteralNode((StringLiteralNode) node);
+ }
+
+ public T caseStringLiteralNode(StringLiteralNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseParanthesizedExpressionNode(Node node) throws E {
+ if(!(node instanceof ParanthesizedExpressionNode)) {
+ classCastError(node, "ParanthesizedExpressionNode");
+ }
+ return caseParanthesizedExpressionNode((ParanthesizedExpressionNode) node);
+ }
+
+ public T caseParanthesizedExpressionNode(ParanthesizedExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseGlobalVarExpressionNode(Node node) throws E {
+ if(!(node instanceof GlobalVarExpressionNode)) {
+ classCastError(node, "GlobalVarExpressionNode");
+ }
+ return caseGlobalVarExpressionNode((GlobalVarExpressionNode) node);
+ }
+
+ public T caseGlobalVarExpressionNode(GlobalVarExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseFeatureCallNode(Node node) throws E {
+ if(!(node instanceof FeatureCallNode)) {
+ classCastError(node, "FeatureCallNode");
+ }
+ return caseFeatureCallNode((FeatureCallNode) node);
+ }
+
+ public T caseFeatureCallNode(FeatureCallNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseListLiteralNode(Node node) throws E {
+ if(!(node instanceof ListLiteralNode)) {
+ classCastError(node, "ListLiteralNode");
+ }
+ return caseListLiteralNode((ListLiteralNode) node);
+ }
+
+ public T caseListLiteralNode(ListLiteralNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseConstructorCallNode(Node node) throws E {
+ if(!(node instanceof ConstructorCallNode)) {
+ classCastError(node, "ConstructorCallNode");
+ }
+ return caseConstructorCallNode((ConstructorCallNode) node);
+ }
+
+ public T caseConstructorCallNode(ConstructorCallNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseBooleanLiteralNode(Node node) throws E {
+ if(!(node instanceof BooleanLiteralNode)) {
+ classCastError(node, "BooleanLiteralNode");
+ }
+ return caseBooleanLiteralNode((BooleanLiteralNode) node);
+ }
+
+ public T caseBooleanLiteralNode(BooleanLiteralNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseNullLiteralNode(Node node) throws E {
+ if(!(node instanceof NullLiteralNode)) {
+ classCastError(node, "NullLiteralNode");
+ }
+ return caseNullLiteralNode((NullLiteralNode) node);
+ }
+
+ public T caseNullLiteralNode(NullLiteralNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseNumberLiteralNode(Node node) throws E {
+ if(!(node instanceof NumberLiteralNode)) {
+ classCastError(node, "NumberLiteralNode");
+ }
+ return caseNumberLiteralNode((NumberLiteralNode) node);
+ }
+
+ public T caseNumberLiteralNode(NumberLiteralNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseCollectionExpressionNode(Node node) throws E {
+ if(!(node instanceof CollectionExpressionNode)) {
+ classCastError(node, "CollectionExpressionNode");
+ }
+ return caseCollectionExpressionNode((CollectionExpressionNode) node);
+ }
+
+ public T caseCollectionExpressionNode(CollectionExpressionNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseDeclaredParameterListNode(Node node) throws E {
+ if(!(node instanceof DeclaredParameterListNode)) {
+ classCastError(node, "DeclaredParameterListNode");
+ }
+ return caseDeclaredParameterListNode((DeclaredParameterListNode) node);
+ }
+
+ public T caseDeclaredParameterListNode(DeclaredParameterListNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseDeclaredParameterNode(Node node) throws E {
+ if(!(node instanceof DeclaredParameterNode)) {
+ classCastError(node, "DeclaredParameterNode");
+ }
+ return caseDeclaredParameterNode((DeclaredParameterNode) node);
+ }
+
+ public T caseDeclaredParameterNode(DeclaredParameterNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseParameterListNode(Node node) throws E {
+ if(!(node instanceof ParameterListNode)) {
+ classCastError(node, "ParameterListNode");
+ }
+ return caseParameterListNode((ParameterListNode) node);
+ }
+
+ public T caseParameterListNode(ParameterListNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseCollectionTypeNode(Node node) throws E {
+ if(!(node instanceof CollectionTypeNode)) {
+ classCastError(node, "CollectionTypeNode");
+ }
+ return caseCollectionTypeNode((CollectionTypeNode) node);
+ }
+
+ public T caseCollectionTypeNode(CollectionTypeNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseSimpleTypeNode(Node node) throws E {
+ if(!(node instanceof SimpleTypeNode)) {
+ classCastError(node, "SimpleTypeNode");
+ }
+ return caseSimpleTypeNode((SimpleTypeNode) node);
+ }
+
+ public T caseSimpleTypeNode(SimpleTypeNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+ public T caseIdentifierNode(Node node) throws E {
+ if(!(node instanceof IdentifierNode)) {
+ classCastError(node, "IdentifierNode");
+ }
+ return caseIdentifierNode((IdentifierNode) node);
+ }
+
+ public T caseIdentifierNode(IdentifierNode node) throws E {
+ error("Not implemented yet", node);
+ return null;
+ }
+
+
+
+ public abstract void error(String message, Node node) throws E;
+
+ public void classCastError(Node node, String expectedType) throws E {
+ if(node == null) return;
+ error("Expected " + expectedType + " but got " + ((node == null) ? "null" : node.eClass().getName()), node);
+ }
+}
diff --git a/plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3Node.g b/plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3Node.g
index 7084441..a1347ce 100644
--- a/plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3Node.g
+++ b/plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3Node.g
@@ -30,16 +30,26 @@ r_file returns [CompositeNode cn]
@init{ cn = factory.createFileNode();
}
@after{ cn = normalize(cn); } :
- (((imp=r_nsImport { addToChildren(cn, imp); ((FileNode) cn).getImp().add(imp); })))* (((decl=r_abstractDeclaration { addToChildren(cn, decl); ((FileNode) cn).getDecl().add(decl); })))* (EOF)
+ (((f_imports=r_nsImport { addToChildren(cn, f_imports); ((FileNode) cn).getImports().add(f_imports); })))* (((f_declarations=r_abstractDeclaration { addToChildren(cn, f_declarations); ((FileNode) cn).getDeclarations().add(f_declarations); })))* (EOF)
;
-r_nsImport returns [CompositeNode cn]
- @init{ cn = factory.createNsImportNode();
+r_nsImport returns [CompositeNode cn] :
+ (r_import { $cn = $r_import.cn; })
+ | (r_extensionImport { $cn = $r_extensionImport.cn; })
+;
+
+r_import returns [CompositeNode cn]
+ @init{ cn = factory.createImportNode();
+ } :
+ (((LG { addLeafNodeForToken($cn, null); }) ('IMPORT' { addLeafNodeForToken($cn, null); }) (f_namespace=r_simpleType { addToChildren(cn, f_namespace); ((ImportNode) cn).setNamespace(f_namespace); }) (RG { addLeafNodeForToken($cn, null); })))
+ | ('import' { addLeafNodeForToken($cn, null); }) (f_type=r_type { addToChildren(cn, f_type); ((ImportNode) cn).setType(f_type); }) (';' { addLeafNodeForToken($cn, null); })
+;
+
+r_extensionImport returns [CompositeNode cn]
+ @init{ cn = factory.createExtensionImportNode();
} :
- (LG { addLeafNodeForToken($cn, null); }) ('IMPORT' { addLeafNodeForToken($cn, null); }) (ns=r_simpleType { addToChildren(cn, ns); ((NsImportNode) cn).setNs(ns); }) (RG { addLeafNodeForToken($cn, null); })
- | (LG { addLeafNodeForToken($cn, null); }) ('EXTENSION' { addLeafNodeForToken($cn, null); }) (ns=r_simpleType { addToChildren(cn, ns); ((NsImportNode) cn).setNs(ns); }) (RG { addLeafNodeForToken($cn, null); })
- | ('import' { addLeafNodeForToken($cn, null); }) (unnamed0=r_type { addToChildren(cn, unnamed0); }) (';' { addLeafNodeForToken($cn, null); })
- | ('extension' { addLeafNodeForToken($cn, null); }) (unnamed1=r_type { addToChildren(cn, unnamed1); }) ((('reexport' { addLeafNodeForToken($cn, null); })))? (';' { addLeafNodeForToken($cn, null); })
+ (((LG { addLeafNodeForToken($cn, null); }) ('EXTENSION' { addLeafNodeForToken($cn, null); }) (f_namespace=r_simpleType { addToChildren(cn, f_namespace); ((ExtensionImportNode) cn).setNamespace(f_namespace); }) (RG { addLeafNodeForToken($cn, null); })))
+ | ('extension' { addLeafNodeForToken($cn, null); }) (f_type=r_type { addToChildren(cn, f_type); ((ExtensionImportNode) cn).setType(f_type); }) ('reexport' { addLeafNodeForToken($cn, null); })? (';' { addLeafNodeForToken($cn, null); })
;
r_abstractDeclaration returns [CompositeNode cn] :
@@ -53,21 +63,21 @@ r_abstractDeclaration returns [CompositeNode cn] :
r_definition returns [CompositeNode cn]
@init{ cn = factory.createDefinitionNode();
} :
- (LG { addLeafNodeForToken($cn, null); }) (DEFINE { addLeafNodeForToken($cn, null); }) (name=r_identifier { addToChildren(cn, name); ((DefinitionNode) cn).setName(name); }) ((('(' { addLeafNodeForToken($cn, null); }) (((unnamed2=r_declaredParameterList { addToChildren(cn, unnamed2); }) (((',' { addLeafNodeForToken($cn, null); })? ('*' { addLeafNodeForToken($cn, null); })))?
- | ('*' { addLeafNodeForToken($cn, null); })))? (')' { addLeafNodeForToken($cn, null); })))? ('FOR' { addLeafNodeForToken($cn, null); }) (unnamed3=r_type { addToChildren(cn, unnamed3); }) (unnamed4=r_sequence { addToChildren(cn, unnamed4); }) (ENDDEFINE { addLeafNodeForToken($cn, null); }) (RG { addLeafNodeForToken($cn, null); })
+ (LG { addLeafNodeForToken($cn, null); }) (DEFINE { addLeafNodeForToken($cn, null); }) (f_name=r_identifier { addToChildren(cn, f_name); ((DefinitionNode) cn).setName(f_name); }) ((('(' { addLeafNodeForToken($cn, null); }) (((f_paramList=r_declaredParameterList { addToChildren(cn, f_paramList); ((DefinitionNode) cn).setParamList(f_paramList); }) (((',' { addLeafNodeForToken($cn, null); })? ('*' { addLeafNodeForToken($cn, null); })))?
+ | ('*' { addLeafNodeForToken($cn, null); })))? (')' { addLeafNodeForToken($cn, null); })))? ('FOR' { addLeafNodeForToken($cn, null); }) (f_type=r_type { addToChildren(cn, f_type); ((DefinitionNode) cn).setType(f_type); }) (f_sequence=r_sequence { addToChildren(cn, f_sequence); ((DefinitionNode) cn).setSequence(f_sequence); }) (ENDDEFINE { addLeafNodeForToken($cn, null); }) (RG { addLeafNodeForToken($cn, null); })
;
r_definitionAround returns [CompositeNode cn]
@init{ cn = factory.createDefinitionAroundNode();
} :
- (LG { addLeafNodeForToken($cn, null); }) (AROUND { addLeafNodeForToken($cn, null); }) (unnamed5=r_pointcut { addToChildren(cn, unnamed5); }) ((('(' { addLeafNodeForToken($cn, null); }) (((unnamed6=r_declaredParameterList { addToChildren(cn, unnamed6); }) (((',' { addLeafNodeForToken($cn, null); })? ('*' { addLeafNodeForToken($cn, null); })))?
- | ('*' { addLeafNodeForToken($cn, null); })))? (')' { addLeafNodeForToken($cn, null); })))? ('FOR' { addLeafNodeForToken($cn, null); }) (unnamed7=r_type { addToChildren(cn, unnamed7); }) (unnamed8=r_sequence { addToChildren(cn, unnamed8); }) (ENDAROUND { addLeafNodeForToken($cn, null); }) (RG { addLeafNodeForToken($cn, null); })
+ (LG { addLeafNodeForToken($cn, null); }) (AROUND { addLeafNodeForToken($cn, null); }) (f_pointcut=r_pointcut { addToChildren(cn, f_pointcut); ((DefinitionAroundNode) cn).setPointcut(f_pointcut); }) ((('(' { addLeafNodeForToken($cn, null); }) (((f_paramList=r_declaredParameterList { addToChildren(cn, f_paramList); ((DefinitionAroundNode) cn).setParamList(f_paramList); }) (((',' { addLeafNodeForToken($cn, null); })? ('*' { addLeafNodeForToken($cn, null); })))?
+ | ('*' { addLeafNodeForToken($cn, null); })))? (')' { addLeafNodeForToken($cn, null); })))? ('FOR' { addLeafNodeForToken($cn, null); }) (f_type=r_type { addToChildren(cn, f_type); ((DefinitionAroundNode) cn).setType(f_type); }) (f_sequence=r_sequence { addToChildren(cn, f_sequence); ((DefinitionAroundNode) cn).setSequence(f_sequence); }) (ENDAROUND { addLeafNodeForToken($cn, null); }) (RG { addLeafNodeForToken($cn, null); })
;
r_sequence returns [CompositeNode cn]
@init{ cn = factory.createSequenceNode();
} :
- (unnamed9=r_textSequence { addToChildren(cn, unnamed9); }) (((unnamed10=r_statement { addToChildren(cn, unnamed10); }) (unnamed11=r_textSequence { addToChildren(cn, unnamed11); })))*
+ (f_textSequences=r_textSequence { addToChildren(cn, f_textSequences); ((SequenceNode) cn).getTextSequences().add(f_textSequences); }) (((f_statements=r_statement { addToChildren(cn, f_statements); ((SequenceNode) cn).getStatements().add(f_statements); }) (f_textSequences=r_textSequence { addToChildren(cn, f_textSequences); ((SequenceNode) cn).getTextSequences().add(f_textSequences); })))*
;
r_statement returns [CompositeNode cn] :
@@ -83,7 +93,7 @@ r_textSequence returns [CompositeNode cn]
@init{ cn = factory.createTextSequenceNode();
}
@after{ cn = normalize(cn); } :
- (unnamed12=r_text { addToChildren(cn, unnamed12); }) (((unnamed13=r_text { addToChildren(cn, unnamed13); })))*
+ (f_text=r_text { addToChildren(cn, f_text); ((TextSequenceNode) cn).getText().add(f_text); }) (((f_text=r_text { addToChildren(cn, f_text); ((TextSequenceNode) cn).getText().add(f_text); })))*
;
r_text returns [CompositeNode cn]
@@ -101,84 +111,84 @@ r_simpleStatement returns [CompositeNode cn] :
r_errorStatement returns [CompositeNode cn]
@init{ cn = factory.createErrorStatementNode();
} :
- ('ERROR' { addLeafNodeForToken($cn, null); }) (unnamed14=r_expression { addToChildren(cn, unnamed14); })
+ ('ERROR' { addLeafNodeForToken($cn, null); }) (f_expression=r_expression { addToChildren(cn, f_expression); ((ErrorStatementNode) cn).setExpression(f_expression); })
;
r_expandStatement returns [CompositeNode cn]
@init{ cn = factory.createExpandStatementNode();
} :
- ('EXPAND' { addLeafNodeForToken($cn, null); }) (unnamed15=r_simpleType { addToChildren(cn, unnamed15); }) ((('(' { addLeafNodeForToken($cn, null); }) (unnamed16=r_parameterList { addToChildren(cn, unnamed16); }) (')' { addLeafNodeForToken($cn, null); })))? ((((('FOR' { addLeafNodeForToken($cn, null); }) (unnamed17=r_expression { addToChildren(cn, unnamed17); })))
- | ((('FOREACH' { addLeafNodeForToken($cn, null); }) (unnamed18=r_expression { addToChildren(cn, unnamed18); }) ((('SEPARATOR' { addLeafNodeForToken($cn, null); }) (unnamed19=r_expression { addToChildren(cn, unnamed19); })))?))))?
+ ('EXPAND' { addLeafNodeForToken($cn, null); }) (f_name=r_simpleType { addToChildren(cn, f_name); ((ExpandStatementNode) cn).setName(f_name); }) ((('(' { addLeafNodeForToken($cn, null); }) (f_paramList=r_parameterList { addToChildren(cn, f_paramList); ((ExpandStatementNode) cn).setParamList(f_paramList); }) (')' { addLeafNodeForToken($cn, null); })))? ((((('FOR' { addLeafNodeForToken($cn, null); }) (f_forExpression=r_expression { addToChildren(cn, f_forExpression); ((ExpandStatementNode) cn).setForExpression(f_forExpression); })))
+ | ((('FOREACH' { addLeafNodeForToken($cn, null); }) (f_forExpression=r_expression { addToChildren(cn, f_forExpression); ((ExpandStatementNode) cn).setForExpression(f_forExpression); }) ((('SEPARATOR' { addLeafNodeForToken($cn, null); }) (f_separator=r_expression { addToChildren(cn, f_separator); ((ExpandStatementNode) cn).setSeparator(f_separator); })))?))))?
;
r_expressionStmt returns [CompositeNode cn]
@init{ cn = factory.createExpressionStmtNode();
} :
- (unnamed20=r_expression { addToChildren(cn, unnamed20); })
+ (f_expression=r_expression { addToChildren(cn, f_expression); ((ExpressionStmtNode) cn).setExpression(f_expression); })
;
r_fileStatement returns [CompositeNode cn]
@init{ cn = factory.createFileStatementNode();
} :
- ('FILE' { addLeafNodeForToken($cn, null); }) (unnamed21=r_expression { addToChildren(cn, unnamed21); }) (((unnamed22=r_identifier { addToChildren(cn, unnamed22); })))? (unnamed23=r_sequence { addToChildren(cn, unnamed23); }) ('ENDFILE' { addLeafNodeForToken($cn, null); })
+ ('FILE' { addLeafNodeForToken($cn, null); }) (f_nameExpression=r_expression { addToChildren(cn, f_nameExpression); ((FileStatementNode) cn).setNameExpression(f_nameExpression); }) ((('ONCE' { addLeafNodeForToken($cn, null); })))? (((f_identifier=r_identifier { addToChildren(cn, f_identifier); ((FileStatementNode) cn).setIdentifier(f_identifier); })))? (f_sequence=r_sequence { addToChildren(cn, f_sequence); ((FileStatementNode) cn).setSequence(f_sequence); }) ('ENDFILE' { addLeafNodeForToken($cn, null); })
;
r_foreachStatement returns [CompositeNode cn]
@init{ cn = factory.createForeachStatementNode();
} :
- ('FOREACH' { addLeafNodeForToken($cn, null); }) (unnamed24=r_expression { addToChildren(cn, unnamed24); }) ('AS' { addLeafNodeForToken($cn, null); }) (unnamed25=r_identifier { addToChildren(cn, unnamed25); }) ((('ITERATOR' { addLeafNodeForToken($cn, null); }) (unnamed26=r_identifier { addToChildren(cn, unnamed26); })))? ((('SEPARATOR' { addLeafNodeForToken($cn, null); }) (unnamed27=r_expression { addToChildren(cn, unnamed27); })))? (unnamed28=r_sequence { addToChildren(cn, unnamed28); }) ('ENDFOREACH' { addLeafNodeForToken($cn, null); })
+ ('FOREACH' { addLeafNodeForToken($cn, null); }) (f_forExpression=r_expression { addToChildren(cn, f_forExpression); ((ForeachStatementNode) cn).setForExpression(f_forExpression); }) ('AS' { addLeafNodeForToken($cn, null); }) (f_identifier=r_identifier { addToChildren(cn, f_identifier); ((ForeachStatementNode) cn).setIdentifier(f_identifier); }) ((('ITERATOR' { addLeafNodeForToken($cn, null); }) (f_iterator=r_identifier { addToChildren(cn, f_iterator); ((ForeachStatementNode) cn).setIterator(f_iterator); })))? ((('SEPARATOR' { addLeafNodeForToken($cn, null); }) (f_separatorExpression=r_expression { addToChildren(cn, f_separatorExpression); ((ForeachStatementNode) cn).setSeparatorExpression(f_separatorExpression); })))? (f_sequence=r_sequence { addToChildren(cn, f_sequence); ((ForeachStatementNode) cn).setSequence(f_sequence); }) ('ENDFOREACH' { addLeafNodeForToken($cn, null); })
;
r_ifStatement returns [CompositeNode cn]
@init{ cn = factory.createIfStatementNode();
} :
- ('IF' { addLeafNodeForToken($cn, null); }) (unnamed29=r_expression { addToChildren(cn, unnamed29); }) (unnamed30=r_sequence { addToChildren(cn, unnamed30); }) (unnamed31=r_elseIfStatement { addToChildren(cn, unnamed31); })* (unnamed32=r_elseStatement { addToChildren(cn, unnamed32); })? ('ENDIF' { addLeafNodeForToken($cn, null); })
+ ('IF' { addLeafNodeForToken($cn, null); }) (f_expression=r_expression { addToChildren(cn, f_expression); ((IfStatementNode) cn).setExpression(f_expression); }) (f_sequence=r_sequence { addToChildren(cn, f_sequence); ((IfStatementNode) cn).setSequence(f_sequence); }) (f_elseIf=r_elseIfStatement { addToChildren(cn, f_elseIf); ((IfStatementNode) cn).getElseIf().add(f_elseIf); })* (f_else=r_elseStatement { addToChildren(cn, f_else); ((IfStatementNode) cn).setElse(f_else); })? ('ENDIF' { addLeafNodeForToken($cn, null); })
;
r_elseIfStatement returns [CompositeNode cn]
@init{ cn = factory.createElseIfStatementNode();
} :
- ('ELSEIF' { addLeafNodeForToken($cn, null); }) (unnamed33=r_expression { addToChildren(cn, unnamed33); }) (unnamed34=r_sequence { addToChildren(cn, unnamed34); })
+ ('ELSEIF' { addLeafNodeForToken($cn, null); }) (f_expression=r_expression { addToChildren(cn, f_expression); ((ElseIfStatementNode) cn).setExpression(f_expression); }) (f_sequence=r_sequence { addToChildren(cn, f_sequence); ((ElseIfStatementNode) cn).setSequence(f_sequence); })
;
r_elseStatement returns [CompositeNode cn]
@init{ cn = factory.createElseStatementNode();
} :
- ('ELSE' { addLeafNodeForToken($cn, null); }) (unnamed35=r_sequence { addToChildren(cn, unnamed35); })
+ ('ELSE' { addLeafNodeForToken($cn, null); }) (f_sequence=r_sequence { addToChildren(cn, f_sequence); ((ElseStatementNode) cn).setSequence(f_sequence); })
;
r_letStatement returns [CompositeNode cn]
@init{ cn = factory.createLetStatementNode();
} :
- ('LET' { addLeafNodeForToken($cn, null); }) (unnamed36=r_expression { addToChildren(cn, unnamed36); }) ('AS' { addLeafNodeForToken($cn, null); }) (unnamed37=r_identifier { addToChildren(cn, unnamed37); }) (unnamed38=r_sequence { addToChildren(cn, unnamed38); }) ('ENDLET' { addLeafNodeForToken($cn, null); })
+ ('LET' { addLeafNodeForToken($cn, null); }) (f_expression=r_expression { addToChildren(cn, f_expression); ((LetStatementNode) cn).setExpression(f_expression); }) ('AS' { addLeafNodeForToken($cn, null); }) (f_name=r_identifier { addToChildren(cn, f_name); ((LetStatementNode) cn).setName(f_name); }) (f_sequence=r_sequence { addToChildren(cn, f_sequence); ((LetStatementNode) cn).setSequence(f_sequence); }) ('ENDLET' { addLeafNodeForToken($cn, null); })
;
r_protectStatement returns [CompositeNode cn]
@init{ cn = factory.createProtectStatementNode();
} :
- ('PROTECT' { addLeafNodeForToken($cn, null); }) ('CSTART' { addLeafNodeForToken($cn, null); }) (unnamed39=r_expression { addToChildren(cn, unnamed39); }) ('CEND' { addLeafNodeForToken($cn, null); }) (unnamed40=r_expression { addToChildren(cn, unnamed40); }) ('ID' { addLeafNodeForToken($cn, null); }) (unnamed41=r_expression { addToChildren(cn, unnamed41); }) ('DISABLE' { addLeafNodeForToken($cn, null); })? (unnamed42=r_sequence { addToChildren(cn, unnamed42); }) ('ENDPROTECT' { addLeafNodeForToken($cn, null); })
+ ('PROTECT' { addLeafNodeForToken($cn, null); }) ('CSTART' { addLeafNodeForToken($cn, null); }) (f_cstart=r_expression { addToChildren(cn, f_cstart); ((ProtectStatementNode) cn).setCstart(f_cstart); }) ('CEND' { addLeafNodeForToken($cn, null); }) (f_cend=r_expression { addToChildren(cn, f_cend); ((ProtectStatementNode) cn).setCend(f_cend); }) ('ID' { addLeafNodeForToken($cn, null); }) (f_id=r_expression { addToChildren(cn, f_id); ((ProtectStatementNode) cn).setId(f_id); }) ('DISABLE' { addLeafNodeForToken($cn, null); })? (f_sequence=r_sequence { addToChildren(cn, f_sequence); ((ProtectStatementNode) cn).setSequence(f_sequence); }) ('ENDPROTECT' { addLeafNodeForToken($cn, null); })
;
r_check returns [CompositeNode cn]
@init{ cn = factory.createCheckNode();
} :
- ('context' { addLeafNodeForToken($cn, null); }) (unnamed43=r_type { addToChildren(cn, unnamed43); }) ((('if' { addLeafNodeForToken($cn, null); }) (unnamed44=r_expression { addToChildren(cn, unnamed44); })))? ((('ERROR' { addLeafNodeForToken($cn, null); })
- | ('WARNING' { addLeafNodeForToken($cn, null); }))) (unnamed45=r_expression { addToChildren(cn, unnamed45); }) (':' { addLeafNodeForToken($cn, null); }) (unnamed46=r_expression { addToChildren(cn, unnamed46); }) (';' { addLeafNodeForToken($cn, null); })
+ ('context' { addLeafNodeForToken($cn, null); }) (f_unnamed0=r_type { addToChildren(cn, f_unnamed0); }) ((('if' { addLeafNodeForToken($cn, null); }) (f_unnamed1=r_expression { addToChildren(cn, f_unnamed1); })))? ((('ERROR' { addLeafNodeForToken($cn, null); })
+ | ('WARNING' { addLeafNodeForToken($cn, null); }))) (f_unnamed2=r_expression { addToChildren(cn, f_unnamed2); }) (':' { addLeafNodeForToken($cn, null); }) (f_unnamed3=r_expression { addToChildren(cn, f_unnamed3); }) (';' { addLeafNodeForToken($cn, null); })
;
r_around returns [CompositeNode cn]
@init{ cn = factory.createAroundNode();
} :
- ('around' { addLeafNodeForToken($cn, null); }) (unnamed47=r_pointcut { addToChildren(cn, unnamed47); }) ('(' { addLeafNodeForToken($cn, null); }) (((unnamed48=r_declaredParameterList { addToChildren(cn, unnamed48); }) (((',' { addLeafNodeForToken($cn, null); })? ('*' { addLeafNodeForToken($cn, null); })))?
- | ('*' { addLeafNodeForToken($cn, null); })))? (')' { addLeafNodeForToken($cn, null); }) (':' { addLeafNodeForToken($cn, null); }) (unnamed49=r_expression { addToChildren(cn, unnamed49); }) (';' { addLeafNodeForToken($cn, null); })
+ ('around' { addLeafNodeForToken($cn, null); }) (f_unnamed4=r_pointcut { addToChildren(cn, f_unnamed4); }) ('(' { addLeafNodeForToken($cn, null); }) (((f_unnamed5=r_declaredParameterList { addToChildren(cn, f_unnamed5); }) (((',' { addLeafNodeForToken($cn, null); })? ('*' { addLeafNodeForToken($cn, null); })))?
+ | ('*' { addLeafNodeForToken($cn, null); })))? (')' { addLeafNodeForToken($cn, null); }) (':' { addLeafNodeForToken($cn, null); }) (f_unnamed6=r_expression { addToChildren(cn, f_unnamed6); }) (';' { addLeafNodeForToken($cn, null); })
;
r_pointcut returns [CompositeNode cn]
@init{ cn = factory.createPointcutNode();
} :
((('*' { addLeafNodeForToken($cn, null); })
- | (unnamed50=r_identifier { addToChildren(cn, unnamed50); }))) ((('*' { addLeafNodeForToken($cn, null); })
- | (unnamed51=r_identifier { addToChildren(cn, unnamed51); })
+ | (f_unnamed7=r_identifier { addToChildren(cn, f_unnamed7); }))) ((('*' { addLeafNodeForToken($cn, null); })
+ | (f_unnamed8=r_identifier { addToChildren(cn, f_unnamed8); })
| ('::' { addLeafNodeForToken($cn, null); })))*
;
@@ -187,14 +197,14 @@ r_extension returns [CompositeNode cn]
} :
((('private' { addLeafNodeForToken($cn, "private"); })
| ('cached' { addLeafNodeForToken($cn, "cached"); })
- | ('create' { addLeafNodeForToken($cn, "create"); })))* (returnType=r_type { addToChildren(cn, returnType); ((ExtensionNode) cn).setReturnType(returnType); })? (name=r_identifier { addToChildren(cn, name); ((ExtensionNode) cn).setName(name); }) ('(' { addLeafNodeForToken($cn, null); }) (paramList=r_declaredParameterList { addToChildren(cn, paramList); ((ExtensionNode) cn).setParamList(paramList); })? (')' { addLeafNodeForToken($cn, null); }) (':' { addLeafNodeForToken($cn, null); }) ((('JAVA' { addLeafNodeForToken($cn, null); }) (javaReturnType=r_javaType { addToChildren(cn, javaReturnType); ((ExtensionNode) cn).setJavaReturnType(javaReturnType); }) ('.' { addLeafNodeForToken($cn, null); }) (javaName=r_identifier { addToChildren(cn, javaName); ((ExtensionNode) cn).setJavaName(javaName); }) ('(' { addLeafNodeForToken($cn, null); }) (((unnamed52=r_javaType { addToChildren(cn, unnamed52); }) (((',' { addLeafNodeForToken($cn, null); }) (unnamed53=r_javaType { addToChildren(cn, unnamed53); })))*))? (')' { addLeafNodeForToken($cn, null); })
- | (extendBody=r_expression { addToChildren(cn, extendBody); ((ExtensionNode) cn).setExtendBody(extendBody); }))) (';' { addLeafNodeForToken($cn, null); })
+ | ('create' { addLeafNodeForToken($cn, "create"); })))* (f_returnType=r_type { addToChildren(cn, f_returnType); ((ExtensionNode) cn).setReturnType(f_returnType); })? (f_name=r_identifier { addToChildren(cn, f_name); ((ExtensionNode) cn).setName(f_name); }) ('(' { addLeafNodeForToken($cn, null); }) (f_paramList=r_declaredParameterList { addToChildren(cn, f_paramList); ((ExtensionNode) cn).setParamList(f_paramList); })? (')' { addLeafNodeForToken($cn, null); }) (':' { addLeafNodeForToken($cn, null); }) ((('JAVA' { addLeafNodeForToken($cn, null); }) (f_javaReturnType=r_javaType { addToChildren(cn, f_javaReturnType); ((ExtensionNode) cn).setJavaReturnType(f_javaReturnType); }) ('.' { addLeafNodeForToken($cn, null); }) (f_javaName=r_identifier { addToChildren(cn, f_javaName); ((ExtensionNode) cn).setJavaName(f_javaName); }) ('(' { addLeafNodeForToken($cn, null); }) (((f_unnamed9=r_javaType { addToChildren(cn, f_unnamed9); }) (((',' { addLeafNodeForToken($cn, null); }) (f_unnamed10=r_javaType { addToChildren(cn, f_unnamed10); })))*))? (')' { addLeafNodeForToken($cn, null); })
+ | (f_extendBody=r_expression { addToChildren(cn, f_extendBody); ((ExtensionNode) cn).setExtendBody(f_extendBody); }))) (';' { addLeafNodeForToken($cn, null); })
;
r_javaType returns [CompositeNode cn]
@init{ cn = factory.createJavaTypeNode();
} :
- (unnamed54=r_identifier { addToChildren(cn, unnamed54); }) ((('.' { addLeafNodeForToken($cn, null); }) (((unnamed55=r_identifier { addToChildren(cn, unnamed55); })
+ (f_unnamed11=r_identifier { addToChildren(cn, f_unnamed11); }) ((('.' { addLeafNodeForToken($cn, null); }) (((f_unnamed12=r_identifier { addToChildren(cn, f_unnamed12); })
| ('Collection' { addLeafNodeForToken($cn, null); })
| ('List' { addLeafNodeForToken($cn, null); })
| ('Set' { addLeafNodeForToken($cn, null); })))))*
@@ -204,87 +214,87 @@ r_test_expression returns [CompositeNode cn]
@init{ cn = factory.createTest_expressionNode();
}
@after{ cn = normalize(cn); } :
- (unnamed56=r_expression { addToChildren(cn, unnamed56); }) (EOF)
+ (f_unnamed13=r_expression { addToChildren(cn, f_unnamed13); }) (EOF)
;
r_expression returns [CompositeNode cn]
@init{ cn = factory.createExpressionNode();
}
@after{ cn = normalize(cn); } :
- (unnamed57=r_letExpression { addToChildren(cn, unnamed57); })
+ (f_unnamed14=r_letExpression { addToChildren(cn, f_unnamed14); })
;
r_letExpression returns [CompositeNode cn]
@init{ cn = factory.createLetExpressionNode();
}
@after{ cn = normalize(cn); } :
- ('let' { addLeafNodeForToken($cn, null); }) (unnamed58=r_identifier { addToChildren(cn, unnamed58); }) ('=' { addLeafNodeForToken($cn, null); }) (unnamed59=r_castedExpression { addToChildren(cn, unnamed59); }) (':' { addLeafNodeForToken($cn, null); }) (unnamed60=r_expression { addToChildren(cn, unnamed60); })
- | (unnamed61=r_castedExpression { addToChildren(cn, unnamed61); })
+ ('let' { addLeafNodeForToken($cn, null); }) (f_unnamed15=r_identifier { addToChildren(cn, f_unnamed15); }) ('=' { addLeafNodeForToken($cn, null); }) (f_unnamed16=r_castedExpression { addToChildren(cn, f_unnamed16); }) (':' { addLeafNodeForToken($cn, null); }) (f_unnamed17=r_expression { addToChildren(cn, f_unnamed17); })
+ | (f_unnamed18=r_castedExpression { addToChildren(cn, f_unnamed18); })
;
r_castedExpression returns [CompositeNode cn]
@init{ cn = factory.createCastedExpressionNode();
}
@after{ cn = normalize(cn); } :
- ('(' r_type ')' r_chainExpression)=>(('(' { addLeafNodeForToken($cn, null); }) (unnamed62=r_type { addToChildren(cn, unnamed62); }) (')' { addLeafNodeForToken($cn, null); }) (unnamed63=r_chainExpression { addToChildren(cn, unnamed63); }))
- | (unnamed64=r_chainExpression { addToChildren(cn, unnamed64); })
+ ('(' r_type ')' r_chainExpression)=>(('(' { addLeafNodeForToken($cn, null); }) (f_unnamed19=r_type { addToChildren(cn, f_unnamed19); }) (')' { addLeafNodeForToken($cn, null); }) (f_unnamed20=r_chainExpression { addToChildren(cn, f_unnamed20); }))
+ | (f_unnamed21=r_chainExpression { addToChildren(cn, f_unnamed21); })
;
r_chainExpression returns [CompositeNode cn]
@init{ cn = factory.createChainExpressionNode();
}
@after{ cn = normalize(cn); } :
- (unnamed65=r_ifExpression { addToChildren(cn, unnamed65); }) ((('->' { addLeafNodeForToken($cn, null); }) (unnamed66=r_ifExpression { addToChildren(cn, unnamed66); })))*
+ (f_unnamed22=r_ifExpression { addToChildren(cn, f_unnamed22); }) ((('->' { addLeafNodeForToken($cn, null); }) (f_unnamed23=r_ifExpression { addToChildren(cn, f_unnamed23); })))*
;
r_ifExpression returns [CompositeNode cn]
@init{ cn = factory.createIfExpressionNode();
}
@after{ cn = normalize(cn); } :
- (unnamed67=r_switchExpression { addToChildren(cn, unnamed67); }) ((('?' { addLeafNodeForToken($cn, null); }) (unnamed68=r_expression { addToChildren(cn, unnamed68); }) (':' { addLeafNodeForToken($cn, null); }) (unnamed69=r_switchExpression { addToChildren(cn, unnamed69); })))?
- | ('if' { addLeafNodeForToken