summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkohnlein2008-03-13 04:39:44 (EDT)
committer jkohnlein2008-03-13 04:39:44 (EDT)
commit5a5e7bb03245da6921348b4dde43f3ac12e3af7b (patch)
tree01ba5f01c0ffe7eca950f2edad466b9e15c6953e
parent376dafa599eb7aea10afc327d2989a8c19dd87e8 (diff)
downloadorg.eclipse.xpand-5a5e7bb03245da6921348b4dde43f3ac12e3af7b.zip
org.eclipse.xpand-5a5e7bb03245da6921348b4dde43f3ac12e3af7b.tar.gz
org.eclipse.xpand-5a5e7bb03245da6921348b4dde43f3ac12e3af7b.tar.bz2
node 2 ast nearly finished
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AdditiveExpressionNode.java52
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AndExpressionNode.java53
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AroundNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/BooleanLiteralNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CasePartNode.java61
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CastedExpressionNode.java61
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ChainExpressionNode.java53
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CheckNode.java170
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionExpressionNode.java88
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionTypeNode.java62
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ConstructorCallNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterListNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterNode.java44
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionAroundNode.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DefinitionNode.java54
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseIfStatementNode.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ElseStatementNode.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ErrorStatementNode.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpandStatementNode.java31
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionNode.java22
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionStmtNode.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionImportNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExtensionNode.java142
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FeatureCallNode.java44
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/FileStatementNode.java44
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ForeachStatementNode.java64
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/GlobalVarExpressionNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IdentifierNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfExpressionNode.java115
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfStatementNode.java51
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImpliesExpressionNode.java53
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImportNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/InfixExpressionNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/JavaTypeNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetExpressionNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetStatementNode.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ListLiteralNode.java26
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/MultiplicativeExpressionNode.java52
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NsImportNode.java23
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NullLiteralNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NumberLiteralNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/OrExpressionNode.java53
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParameterListNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParanthesizedExpressionNode.java34
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/PointcutNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ProtectStatementNode.java44
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalExpressionNode.java78
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalOperatorNode.java22
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SequenceNode.java5
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SimpleTypeNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/StringLiteralNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SwitchExpressionNode.java80
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Test_expressionNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextNode.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextSequenceNode.java17
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/UnaryExpressionNode.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/XNode.java55
-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.java1510
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AdditiveExpressionNodeImpl.java127
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AndExpressionNodeImpl.java161
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AroundNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/BooleanLiteralNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CasePartNodeImpl.java180
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CastedExpressionNodeImpl.java180
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ChainExpressionNodeImpl.java161
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CheckNodeImpl.java421
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionExpressionNodeImpl.java235
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionTypeNodeImpl.java181
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ConstructorCallNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterListNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java90
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionAroundNodeImpl.java10
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionNodeImpl.java80
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseIfStatementNodeImpl.java8
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ElseStatementNodeImpl.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ErrorStatementNodeImpl.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpandStatementNodeImpl.java70
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionNodeImpl.java45
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionStmtNodeImpl.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionImportNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExtensionNodeImpl.java184
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FeatureCallNodeImpl.java96
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/FileStatementNodeImpl.java61
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ForeachStatementNodeImpl.java89
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/GlobalVarExpressionNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IdentifierNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfExpressionNodeImpl.java300
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfStatementNodeImpl.java107
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImpliesExpressionNodeImpl.java161
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImportNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/InfixExpressionNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/JavaTypeNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetExpressionNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetStatementNodeImpl.java9
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ListLiteralNodeImpl.java96
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/MultiplicativeExpressionNodeImpl.java127
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NullLiteralNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NumberLiteralNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/OrExpressionNodeImpl.java161
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParameterListNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParanthesizedExpressionNodeImpl.java120
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/PointcutNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ProtectStatementNodeImpl.java62
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalExpressionNodeImpl.java182
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalOperatorNodeImpl.java45
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SequenceNodeImpl.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SimpleTypeNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/StringLiteralNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SwitchExpressionNodeImpl.java221
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Test_expressionNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextNodeImpl.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextSequenceNodeImpl.java40
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/UnaryExpressionNodeImpl.java7
-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.java546
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeAdapterFactory.java38
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/util/Xpand3nodeSwitch.java48
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/AdditiveExpressionNodeValidator.java11
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/AndExpressionNodeValidator.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/AroundNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/BooleanLiteralNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/CasePartNodeValidator.java5
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/CastedExpressionNodeValidator.java5
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ChainExpressionNodeValidator.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/CheckNodeValidator.java16
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/CollectionExpressionNodeValidator.java10
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/CollectionTypeNodeValidator.java6
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ConstructorCallNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DeclaredParameterListNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DeclaredParameterNodeValidator.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionAroundNodeValidator.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/DefinitionNodeValidator.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseIfStatementNodeValidator.java5
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ElseStatementNodeValidator.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ErrorStatementNodeValidator.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpandStatementNodeValidator.java8
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpressionNodeValidator.java19
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExpressionStmtNodeValidator.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExtensionImportNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ExtensionNodeValidator.java14
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/FeatureCallNodeValidator.java7
-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.java12
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/GlobalVarExpressionNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/IdentifierNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/IfExpressionNodeValidator.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/IfStatementNodeValidator.java14
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ImpliesExpressionNodeValidator.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ImportNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/InfixExpressionNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/JavaTypeNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/LetExpressionNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/LetStatementNodeValidator.java6
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ListLiteralNodeValidator.java6
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/MultiplicativeExpressionNodeValidator.java11
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/NsImportNodeValidator.java21
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/NullLiteralNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/NumberLiteralNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/OrExpressionNodeValidator.java7
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ParameterListNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ParanthesizedExpressionNodeValidator.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/PointcutNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/ProtectStatementNodeValidator.java11
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/RelationalExpressionNodeValidator.java12
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/RelationalOperatorNodeValidator.java19
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/SequenceNodeValidator.java6
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/SimpleTypeNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/StringLiteralNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/SwitchExpressionNodeValidator.java8
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/Test_expressionNodeValidator.java2
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/TextNodeValidator.java2
-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.java4
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/validation/XNodeValidator.java21
-rw-r--r--plugins/org.eclipse.xpand3.parser/model/Xpand3Node.ecore134
-rw-r--r--plugins/org.eclipse.xpand3.parser/model/Xpand3Node.tmf80
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/AbstractXpand3NodeSwitch.java136
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3Node.g99
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3NodeLexer.java190
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3NodeParser.java2962
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/Xpand3Node__.g42
-rw-r--r--plugins/org.eclipse.xpand3.parser/src-gen/org/eclipse/xpand3/parser/debugMeWithAntLR.g88
-rw-r--r--plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/Node2AstTransformer.java496
-rw-r--r--plugins/org.eclipse.xpand3.parser/src/org/eclipse/xpand3/parser/node2ast/Node2AstUtil.java43
-rw-r--r--plugins/org.eclipse.xpand3.parser/text/description.txt58
-rw-r--r--plugins/org.eclipse.xpand3/META-INF/MANIFEST.MF15
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/DeclarationsContributor.java49
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/GenericsUtil.java73
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/LanguageSpecificDeclarationContributorFactory.java (renamed from plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/LanguageSpecificTypeSystemFactory.java)4
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/TypeSystem.java36
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/TypeSystemFactory.java32
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/typesystem/AbstractTypeSystemImpl.java53
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/typesystem/CompositeTypeSystemImpl.java89
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/typesystem/TypeSystemImpl.java98
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/typesystem/builtin/BuiltinTypeSystem.java80
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/typesystem/java/JavaDeclarationsContributor.java83
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/typesystem/java/JavaTypeSystem.java391
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/typesystem/java/JavaTypeSystemFactory.java59
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/typesystem/util/PolymorphicResolver.java48
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/analyzation/typesystem/xpand3/Xpand3ResourceDeclarationsContributor.java30
-rw-r--r--plugins/org.eclipse.xpand3/src/org/eclipse/xpand3/util/CreateCache.java53
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/AbstractXpand3NodeParserTest.java8
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/AllTests.java4
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/ExpressionNodeParserTest.java (renamed from tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/Xpand3MigratedNodeParserTest.java)9
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/StatementNodeParserTest.java (renamed from tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/StatementParserTest.java)4
-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.java11
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/node2ast/expression.ttst237
-rw-r--r--tests/org.eclipse.xpand3.parser.tests/src/org/eclipse/xpand3/parser/node2ast/statement.ttst81
213 files changed, 9406 insertions, 4948 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 956ab7b..a04e077 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,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: AdditiveExpressionNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: AdditiveExpressionNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
+import org.eclipse.emf.common.util.EList;
+
import org.eclipse.tmf.common.node.CompositeNode;
/**
@@ -16,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.AdditiveExpressionNode#getLeft <em>Left</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getRight <em>Right</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getFirst <em>First</em>}</li>
* </ul>
* </p>
*
@@ -26,56 +28,46 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface AdditiveExpressionNode extends CompositeNode {
-
/**
- * Returns the value of the '<em><b>Right</b></em>' reference.
+ * Returns the value of the '<em><b>Nexts</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>Right</em>' reference isn't clear,
+ * If the meaning of the '<em>Nexts</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>Right</em>' reference.
- * @see #setRight(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getAdditiveExpressionNode_Right()
+ * @return the value of the '<em>Nexts</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getAdditiveExpressionNode_Nexts()
* @model
* @generated
*/
- CompositeNode getRight();
+ EList<CompositeNode> getNexts();
/**
- * 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.
+ * Returns the value of the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Left</em>' reference isn't clear,
+ * If the meaning of the '<em>First</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()
+ * @return the value of the '<em>First</em>' reference.
+ * @see #setFirst(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getAdditiveExpressionNode_First()
* @model
* @generated
*/
- CompositeNode getLeft();
+ CompositeNode getFirst();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getLeft <em>Left</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getFirst <em>First</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Left</em>' reference.
- * @see #getLeft()
+ * @param value the new value of the '<em>First</em>' reference.
+ * @see #getFirst()
* @generated
*/
- void setLeft(CompositeNode value);
+ void setFirst(CompositeNode value);
+
} // AdditiveExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AndExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AndExpressionNode.java
index 80313a4..9d1f73f 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AndExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AndExpressionNode.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: AndExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: AndExpressionNode.java,v 1.3 2008/03/13 08:40:01 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 +15,59 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>And Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.AndExpressionNode#getFirst <em>First</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.AndExpressionNode#getNexts <em>Nexts</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getAndExpressionNode()
* @model
* @generated
*/
public interface AndExpressionNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>First</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>First</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>First</em>' reference.
+ * @see #setFirst(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getAndExpressionNode_First()
+ * @model
+ * @generated
+ */
+ CompositeNode getFirst();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.AndExpressionNode#getFirst <em>First</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>First</em>' reference.
+ * @see #getFirst()
+ * @generated
+ */
+ void setFirst(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Nexts</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>Nexts</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>Nexts</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getAndExpressionNode_Nexts()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getNexts();
+
} // AndExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AroundNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AroundNode.java
index ea4ae66..c63af9e 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AroundNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/AroundNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: AroundNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: AroundNode.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/BooleanLiteralNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/BooleanLiteralNode.java
index a08c417..d9ffc6f 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/BooleanLiteralNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/BooleanLiteralNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: BooleanLiteralNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: BooleanLiteralNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CasePartNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CasePartNode.java
index 8f71ef8..025a560 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CasePartNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CasePartNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: CasePartNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: CasePartNode.java,v 1.3 2008/03/13 08:40:00 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>Case Part Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CasePartNode#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CasePartNode#getExpression <em>Expression</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCasePartNode()
* @model
* @generated
*/
public interface CasePartNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Condition</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition</em>' reference.
+ * @see #setCondition(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCasePartNode_Condition()
+ * @model
+ * @generated
+ */
+ CompositeNode getCondition();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CasePartNode#getCondition <em>Condition</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Condition</em>' reference.
+ * @see #getCondition()
+ * @generated
+ */
+ void setCondition(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#getCasePartNode_Expression()
+ * @model
+ * @generated
+ */
+ CompositeNode getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CasePartNode#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);
+
} // CasePartNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CastedExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CastedExpressionNode.java
index 16b4fe9..ace70ab 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CastedExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CastedExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: CastedExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: CastedExpressionNode.java,v 1.3 2008/03/13 08:40:01 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>Casted Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CastedExpressionNode#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CastedExpressionNode#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCastedExpressionNode()
* @model
* @generated
*/
public interface CastedExpressionNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Target</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target</em>' reference.
+ * @see #setTarget(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCastedExpressionNode_Target()
+ * @model
+ * @generated
+ */
+ CompositeNode getTarget();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CastedExpressionNode#getTarget <em>Target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target</em>' reference.
+ * @see #getTarget()
+ * @generated
+ */
+ void setTarget(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#getCastedExpressionNode_Type()
+ * @model
+ * @generated
+ */
+ CompositeNode getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CastedExpressionNode#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);
+
} // CastedExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ChainExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ChainExpressionNode.java
index 7acb6f9..3daddae 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ChainExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ChainExpressionNode.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ChainExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ChainExpressionNode.java,v 1.3 2008/03/13 08:40:01 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 +15,59 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Chain Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ChainExpressionNode#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ChainExpressionNode#getFirst <em>First</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getChainExpressionNode()
* @model
* @generated
*/
public interface ChainExpressionNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Nexts</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>Nexts</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>Nexts</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getChainExpressionNode_Nexts()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getNexts();
+
+ /**
+ * Returns the value of the '<em><b>First</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>First</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>First</em>' reference.
+ * @see #setFirst(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getChainExpressionNode_First()
+ * @model
+ * @generated
+ */
+ CompositeNode getFirst();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ChainExpressionNode#getFirst <em>First</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>First</em>' reference.
+ * @see #getFirst()
+ * @generated
+ */
+ void setFirst(CompositeNode value);
+
} // ChainExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CheckNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CheckNode.java
index 57f831d..5d3f42b 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CheckNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CheckNode.java
@@ -2,21 +2,189 @@
* <copyright>
* </copyright>
*
- * $Id: CheckNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: CheckNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
import org.eclipse.tmf.common.node.CompositeNode;
+import org.eclipse.tmf.common.node.LeafNode;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Check Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getError <em>Error</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getMessage <em>Message</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getIfExpression <em>If Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getWarning <em>Warning</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getConstraint <em>Constraint</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCheckNode()
* @model
* @generated
*/
public interface CheckNode 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#getCheckNode_Type()
+ * @model
+ * @generated
+ */
+ CompositeNode getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#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>Error</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Error</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Error</em>' reference.
+ * @see #setError(LeafNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCheckNode_Error()
+ * @model
+ * @generated
+ */
+ LeafNode getError();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getError <em>Error</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Error</em>' reference.
+ * @see #getError()
+ * @generated
+ */
+ void setError(LeafNode value);
+
+ /**
+ * Returns the value of the '<em><b>Message</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Message</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Message</em>' reference.
+ * @see #setMessage(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCheckNode_Message()
+ * @model
+ * @generated
+ */
+ CompositeNode getMessage();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getMessage <em>Message</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Message</em>' reference.
+ * @see #getMessage()
+ * @generated
+ */
+ void setMessage(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>If Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>If 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>If Expression</em>' reference.
+ * @see #setIfExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCheckNode_IfExpression()
+ * @model
+ * @generated
+ */
+ CompositeNode getIfExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getIfExpression <em>If Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>If Expression</em>' reference.
+ * @see #getIfExpression()
+ * @generated
+ */
+ void setIfExpression(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Warning</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Warning</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Warning</em>' reference.
+ * @see #setWarning(LeafNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCheckNode_Warning()
+ * @model
+ * @generated
+ */
+ LeafNode getWarning();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getWarning <em>Warning</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Warning</em>' reference.
+ * @see #getWarning()
+ * @generated
+ */
+ void setWarning(LeafNode value);
+
+ /**
+ * Returns the value of the '<em><b>Constraint</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Constraint</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Constraint</em>' reference.
+ * @see #setConstraint(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCheckNode_Constraint()
+ * @model
+ * @generated
+ */
+ CompositeNode getConstraint();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getConstraint <em>Constraint</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Constraint</em>' reference.
+ * @see #getConstraint()
+ * @generated
+ */
+ void setConstraint(CompositeNode value);
+
} // CheckNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionExpressionNode.java
index 1869604..7a46e0f 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: CollectionExpressionNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: CollectionExpressionNode.java,v 1.3 2008/03/13 08:40:00 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>Collection Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#getVariable <em>Variable</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCollectionExpressionNode()
* @model
* @generated
*/
public interface CollectionExpressionNode extends CompositeNode {
+
+ /**
+ * Returns the value of the '<em><b>Variable</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Variable</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Variable</em>' reference.
+ * @see #setVariable(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCollectionExpressionNode_Variable()
+ * @model
+ * @generated
+ */
+ CompositeNode getVariable();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#getVariable <em>Variable</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Variable</em>' reference.
+ * @see #getVariable()
+ * @generated
+ */
+ void setVariable(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#getCollectionExpressionNode_Expression()
+ * @model
+ * @generated
+ */
+ CompositeNode getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#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>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#getCollectionExpressionNode_Type()
+ * @model
+ * @generated
+ */
+ CompositeNode getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#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);
} // CollectionExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionTypeNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionTypeNode.java
index 6e36a0a..42135fb 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionTypeNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/CollectionTypeNode.java
@@ -2,21 +2,81 @@
* <copyright>
* </copyright>
*
- * $Id: CollectionTypeNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: CollectionTypeNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
import org.eclipse.tmf.common.node.CompositeNode;
+import org.eclipse.tmf.common.node.LeafNode;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Collection Type Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionTypeNode#getCollectionType <em>Collection Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionTypeNode#getElementType <em>Element Type</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCollectionTypeNode()
* @model
* @generated
*/
public interface CollectionTypeNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Collection Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Collection 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>Collection Type</em>' reference.
+ * @see #setCollectionType(LeafNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCollectionTypeNode_CollectionType()
+ * @model
+ * @generated
+ */
+ LeafNode getCollectionType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionTypeNode#getCollectionType <em>Collection Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Collection Type</em>' reference.
+ * @see #getCollectionType()
+ * @generated
+ */
+ void setCollectionType(LeafNode value);
+
+ /**
+ * Returns the value of the '<em><b>Element Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Element 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>Element Type</em>' reference.
+ * @see #setElementType(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getCollectionTypeNode_ElementType()
+ * @model
+ * @generated
+ */
+ CompositeNode getElementType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionTypeNode#getElementType <em>Element Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Element Type</em>' reference.
+ * @see #getElementType()
+ * @generated
+ */
+ void setElementType(CompositeNode value);
+
} // CollectionTypeNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ConstructorCallNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ConstructorCallNode.java
index 8ebe02d..af2f8e8 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ConstructorCallNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ConstructorCallNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ConstructorCallNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: ConstructorCallNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterListNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterListNode.java
index 697c783..a2d7113 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterListNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterListNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DeclaredParameterListNode.java,v 1.3 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: DeclaredParameterListNode.java,v 1.4 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterNode.java
index d789075..cb822ea 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/DeclaredParameterNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DeclaredParameterNode.java,v 1.4 2008/03/07 11:11:14 jkohnlein Exp $
+ * $Id: DeclaredParameterNode.java,v 1.5 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -16,8 +16,8 @@ import org.eclipse.tmf.common.node.CompositeNode;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getPtype <em>Ptype</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -27,55 +27,55 @@ import org.eclipse.tmf.common.node.CompositeNode;
*/
public interface DeclaredParameterNode extends CompositeNode {
/**
- * Returns the value of the '<em><b>Name</b></em>' reference.
+ * Returns the value of the '<em><b>Ptype</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' reference isn't clear,
+ * If the meaning of the '<em>Ptype</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#getDeclaredParameterNode_Name()
+ * @return the value of the '<em>Ptype</em>' reference.
+ * @see #setPtype(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDeclaredParameterNode_Ptype()
* @model
* @generated
*/
- CompositeNode getName();
+ CompositeNode getPtype();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getName <em>Name</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getPtype <em>Ptype</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' reference.
- * @see #getName()
+ * @param value the new value of the '<em>Ptype</em>' reference.
+ * @see #getPtype()
* @generated
*/
- void setName(CompositeNode value);
+ void setPtype(CompositeNode value);
/**
- * Returns the value of the '<em><b>Ptype</b></em>' reference.
+ * Returns the value of the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Ptype</em>' reference isn't clear,
+ * 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>Ptype</em>' reference.
- * @see #setPtype(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDeclaredParameterNode_Ptype()
+ * @return the value of the '<em>Name</em>' reference.
+ * @see #setName(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getDeclaredParameterNode_Name()
* @model
* @generated
*/
- CompositeNode getPtype();
+ CompositeNode getName();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getPtype <em>Ptype</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getName <em>Name</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Ptype</em>' reference.
- * @see #getPtype()
+ * @param value the new value of the '<em>Name</em>' reference.
+ * @see #getName()
* @generated
*/
- void setPtype(CompositeNode value);
+ void setName(CompositeNode value);
} // DeclaredParameterNode
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 1a863e2..fdc5747 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: DefinitionAroundNode.java,v 1.4 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -28,7 +28,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface DefinitionAroundNode extends CompositeNode {
-
/**
* Returns the value of the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
@@ -132,4 +131,5 @@ public interface DefinitionAroundNode extends CompositeNode {
* @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 103859f..6ebc766 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.4 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: DefinitionNode.java,v 1.5 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -29,6 +29,32 @@ import org.eclipse.tmf.common.node.CompositeNode;
*/
public interface DefinitionNode extends CompositeNode {
/**
+ * 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#getDefinitionNode_Name()
+ * @model
+ * @generated
+ */
+ CompositeNode getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#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>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
@@ -81,32 +107,6 @@ public interface DefinitionNode extends CompositeNode {
void setSequence(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#getDefinitionNode_Name()
- * @model
- * @generated
- */
- CompositeNode getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#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>Param List</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
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 1f74ffe..8205abd 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ElseIfStatementNode.java,v 1.4 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -26,7 +26,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface ElseIfStatementNode extends CompositeNode {
-
/**
* Returns the value of the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
@@ -78,4 +77,5 @@ public interface ElseIfStatementNode extends CompositeNode {
* @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 32d583e..e92f3ee 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ElseStatementNode.java,v 1.4 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -25,7 +25,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface ElseStatementNode extends CompositeNode {
-
/**
* Returns the value of the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
@@ -51,4 +50,5 @@ public interface ElseStatementNode extends CompositeNode {
* @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 a96a495..bfd0a2b 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ErrorStatementNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -25,7 +25,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface ErrorStatementNode extends CompositeNode {
-
/**
* Returns the value of the '<em><b>Expression</b></em>' reference.
* <!-- begin-user-doc -->
@@ -51,4 +50,5 @@ public interface ErrorStatementNode extends CompositeNode {
* @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 58789dc..0dfec6c 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ExpandStatementNode.java,v 1.4 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -18,6 +18,7 @@ import org.eclipse.tmf.common.node.CompositeNode;
* <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#getForEachExpression <em>For Each Expression</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>
@@ -28,7 +29,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface ExpandStatementNode extends CompositeNode {
-
/**
* Returns the value of the '<em><b>Separator</b></em>' reference.
* <!-- begin-user-doc -->
@@ -82,6 +82,32 @@ public interface ExpandStatementNode extends CompositeNode {
void setParamList(CompositeNode value);
/**
+ * Returns the value of the '<em><b>For Each Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>For Each 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 Each Expression</em>' reference.
+ * @see #setForEachExpression(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExpandStatementNode_ForEachExpression()
+ * @model
+ * @generated
+ */
+ CompositeNode getForEachExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getForEachExpression <em>For Each Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>For Each Expression</em>' reference.
+ * @see #getForEachExpression()
+ * @generated
+ */
+ void setForEachExpression(CompositeNode value);
+
+ /**
* Returns the value of the '<em><b>For Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
@@ -132,4 +158,5 @@ public interface ExpandStatementNode extends CompositeNode {
* @generated
*/
void setName(CompositeNode value);
+
} // ExpandStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionNode.java
deleted file mode 100644
index cb766e3..0000000
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ExpressionNode.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ExpressionNode.java,v 1.2 2008/03/07 09:39:40 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>Expression Node</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExpressionNode()
- * @model
- * @generated
- */
-public interface ExpressionNode extends CompositeNode {
-} // ExpressionNode
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 f294ade..7ac6b45 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ExpressionStmtNode.java,v 1.4 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -25,7 +25,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface ExpressionStmtNode extends CompositeNode {
-
/**
* Returns the value of the '<em><b>Expression</b></em>' reference.
* <!-- begin-user-doc -->
@@ -51,4 +50,5 @@ public interface ExpressionStmtNode extends CompositeNode {
* @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
index f005fc1..1b876b7 100644
--- 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
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ExtensionImportNode.java,v 1.1 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ExtensionImportNode.java,v 1.2 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
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 416ec3c..21a269a 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.5 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ExtensionNode.java,v 1.6 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -35,30 +35,30 @@ import org.eclipse.tmf.common.node.LeafNode;
*/
public interface ExtensionNode extends CompositeNode {
/**
- * Returns the value of the '<em><b>Create</b></em>' reference.
+ * Returns the value of the '<em><b>Param List</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Create</em>' reference isn't clear,
+ * 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>Create</em>' reference.
- * @see #setCreate(LeafNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_Create()
+ * @return the value of the '<em>Param List</em>' reference.
+ * @see #setParamList(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_ParamList()
* @model
* @generated
*/
- LeafNode getCreate();
+ CompositeNode getParamList();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCreate <em>Create</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getParamList <em>Param List</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Create</em>' reference.
- * @see #getCreate()
+ * @param value the new value of the '<em>Param List</em>' reference.
+ * @see #getParamList()
* @generated
*/
- void setCreate(LeafNode value);
+ void setParamList(CompositeNode value);
/**
* Returns the value of the '<em><b>Private</b></em>' reference.
@@ -87,108 +87,108 @@ public interface ExtensionNode extends CompositeNode {
void setPrivate(LeafNode value);
/**
- * Returns the value of the '<em><b>Param List</b></em>' reference.
+ * Returns the value of the '<em><b>Return Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Param List</em>' reference isn't clear,
+ * If the meaning of the '<em>Return 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>Param List</em>' reference.
- * @see #setParamList(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_ParamList()
+ * @return the value of the '<em>Return Type</em>' reference.
+ * @see #setReturnType(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_ReturnType()
* @model
* @generated
*/
- CompositeNode getParamList();
+ CompositeNode getReturnType();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getParamList <em>Param List</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getReturnType <em>Return Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Param List</em>' reference.
- * @see #getParamList()
+ * @param value the new value of the '<em>Return Type</em>' reference.
+ * @see #getReturnType()
* @generated
*/
- void setParamList(CompositeNode value);
+ void setReturnType(CompositeNode value);
/**
- * Returns the value of the '<em><b>Extend Body</b></em>' reference.
+ * Returns the value of the '<em><b>Java Return Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Extend Body</em>' reference isn't clear,
+ * If the meaning of the '<em>Java Return 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>Extend Body</em>' reference.
- * @see #setExtendBody(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_ExtendBody()
+ * @return the value of the '<em>Java Return Type</em>' reference.
+ * @see #setJavaReturnType(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_JavaReturnType()
* @model
* @generated
*/
- CompositeNode getExtendBody();
+ CompositeNode getJavaReturnType();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getExtendBody <em>Extend Body</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaReturnType <em>Java Return Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Extend Body</em>' reference.
- * @see #getExtendBody()
+ * @param value the new value of the '<em>Java Return Type</em>' reference.
+ * @see #getJavaReturnType()
* @generated
*/
- void setExtendBody(CompositeNode value);
+ void setJavaReturnType(CompositeNode value);
/**
- * Returns the value of the '<em><b>Cached</b></em>' reference.
+ * Returns the value of the '<em><b>Create</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Cached</em>' reference isn't clear,
+ * If the meaning of the '<em>Create</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Cached</em>' reference.
- * @see #setCached(LeafNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_Cached()
+ * @return the value of the '<em>Create</em>' reference.
+ * @see #setCreate(LeafNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_Create()
* @model
* @generated
*/
- LeafNode getCached();
+ LeafNode getCreate();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCached <em>Cached</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCreate <em>Create</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Cached</em>' reference.
- * @see #getCached()
+ * @param value the new value of the '<em>Create</em>' reference.
+ * @see #getCreate()
* @generated
*/
- void setCached(LeafNode value);
+ void setCreate(LeafNode value);
/**
- * Returns the value of the '<em><b>Java Return Type</b></em>' reference.
+ * Returns the value of the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Java Return Type</em>' reference isn't clear,
+ * 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>Java Return Type</em>' reference.
- * @see #setJavaReturnType(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_JavaReturnType()
+ * @return the value of the '<em>Name</em>' reference.
+ * @see #setName(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_Name()
* @model
* @generated
*/
- CompositeNode getJavaReturnType();
+ CompositeNode getName();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaReturnType <em>Java Return Type</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getName <em>Name</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Java Return Type</em>' reference.
- * @see #getJavaReturnType()
+ * @param value the new value of the '<em>Name</em>' reference.
+ * @see #getName()
* @generated
*/
- void setJavaReturnType(CompositeNode value);
+ void setName(CompositeNode value);
/**
* Returns the value of the '<em><b>Java Name</b></em>' reference.
@@ -217,55 +217,55 @@ public interface ExtensionNode extends CompositeNode {
void setJavaName(CompositeNode value);
/**
- * Returns the value of the '<em><b>Return Type</b></em>' reference.
+ * Returns the value of the '<em><b>Cached</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Return Type</em>' reference isn't clear,
+ * If the meaning of the '<em>Cached</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Return Type</em>' reference.
- * @see #setReturnType(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_ReturnType()
+ * @return the value of the '<em>Cached</em>' reference.
+ * @see #setCached(LeafNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_Cached()
* @model
* @generated
*/
- CompositeNode getReturnType();
+ LeafNode getCached();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getReturnType <em>Return Type</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCached <em>Cached</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Return Type</em>' reference.
- * @see #getReturnType()
+ * @param value the new value of the '<em>Cached</em>' reference.
+ * @see #getCached()
* @generated
*/
- void setReturnType(CompositeNode value);
+ void setCached(LeafNode value);
/**
- * Returns the value of the '<em><b>Name</b></em>' reference.
+ * Returns the value of the '<em><b>Extend Body</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' reference isn't clear,
+ * If the meaning of the '<em>Extend Body</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#getExtensionNode_Name()
+ * @return the value of the '<em>Extend Body</em>' reference.
+ * @see #setExtendBody(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getExtensionNode_ExtendBody()
* @model
* @generated
*/
- CompositeNode getName();
+ CompositeNode getExtendBody();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getName <em>Name</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getExtendBody <em>Extend Body</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' reference.
- * @see #getName()
+ * @param value the new value of the '<em>Extend Body</em>' reference.
+ * @see #getExtendBody()
* @generated
*/
- void setName(CompositeNode value);
+ void setExtendBody(CompositeNode value);
} // ExtensionNode
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 c15daed..6f8f3f8 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.5 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: FeatureCallNode.java,v 1.6 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -16,9 +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>
*
@@ -28,30 +28,30 @@ import org.eclipse.tmf.common.node.CompositeNode;
*/
public interface FeatureCallNode extends CompositeNode {
/**
- * Returns the value of the '<em><b>Type</b></em>' reference.
+ * Returns the value of the '<em><b>Param List</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Type</em>' reference isn't clear,
+ * 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>Type</em>' reference.
- * @see #setType(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFeatureCallNode_Type()
+ * @return the value of the '<em>Param List</em>' reference.
+ * @see #setParamList(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFeatureCallNode_ParamList()
* @model
* @generated
*/
- CompositeNode getType();
+ CompositeNode getParamList();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getType <em>Type</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getParamList <em>Param List</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' reference.
- * @see #getType()
+ * @param value the new value of the '<em>Param List</em>' reference.
+ * @see #getParamList()
* @generated
*/
- void setType(CompositeNode value);
+ void setParamList(CompositeNode value);
/**
* Returns the value of the '<em><b>Name</b></em>' reference.
@@ -80,29 +80,29 @@ public interface FeatureCallNode extends CompositeNode {
void setName(CompositeNode value);
/**
- * Returns the value of the '<em><b>Param List</b></em>' reference.
+ * Returns the value of the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Param List</em>' reference isn't clear,
+ * 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>Param List</em>' reference.
- * @see #setParamList(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFeatureCallNode_ParamList()
+ * @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 getParamList();
+ CompositeNode getType();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getParamList <em>Param List</em>}' reference.
+ * 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>Param List</em>' reference.
- * @see #getParamList()
+ * @param value the new value of the '<em>Type</em>' reference.
+ * @see #getType()
* @generated
*/
- void setParamList(CompositeNode value);
+ void setType(CompositeNode value);
} // FeatureCallNode
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 227e3a2..f2a98c1 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: FileNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
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 46f6f74..1794f95 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: FileStatementNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -27,32 +27,31 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface FileStatementNode extends CompositeNode {
-
/**
- * Returns the value of the '<em><b>Name Expression</b></em>' reference.
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name Expression</em>' reference isn't clear,
+ * 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>Name Expression</em>' reference.
- * @see #setNameExpression(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileStatementNode_NameExpression()
+ * @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 getNameExpression();
+ CompositeNode getSequence();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getNameExpression <em>Name Expression</em>}' reference.
+ * 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>Name Expression</em>' reference.
- * @see #getNameExpression()
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
* @generated
*/
- void setNameExpression(CompositeNode value);
+ void setSequence(CompositeNode value);
/**
* Returns the value of the '<em><b>Identifier</b></em>' reference.
@@ -81,28 +80,29 @@ public interface FileStatementNode extends CompositeNode {
void setIdentifier(CompositeNode value);
/**
- * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * Returns the value of the '<em><b>Name Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * 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>Sequence</em>' reference.
- * @see #setSequence(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getFileStatementNode_Sequence()
+ * @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 getSequence();
+ CompositeNode getNameExpression();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getSequence <em>Sequence</em>}' reference.
+ * 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>Sequence</em>' reference.
- * @see #getSequence()
+ * @param value the new value of the '<em>Name Expression</em>' reference.
+ * @see #getNameExpression()
* @generated
*/
- void setSequence(CompositeNode value);
+ void setNameExpression(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 9219fd2..b865ea1 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ForeachStatementNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -29,7 +29,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface ForeachStatementNode extends CompositeNode {
-
/**
* Returns the value of the '<em><b>Iterator</b></em>' reference.
* <!-- begin-user-doc -->
@@ -57,56 +56,56 @@ public interface ForeachStatementNode extends CompositeNode {
void setIterator(CompositeNode value);
/**
- * Returns the value of the '<em><b>Separator Expression</b></em>' reference.
+ * Returns the value of the '<em><b>Identifier</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Separator Expression</em>' reference isn't clear,
+ * 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>Separator Expression</em>' reference.
- * @see #setSeparatorExpression(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getForeachStatementNode_SeparatorExpression()
+ * @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 getSeparatorExpression();
+ CompositeNode getIdentifier();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSeparatorExpression <em>Separator Expression</em>}' reference.
+ * 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>Separator Expression</em>' reference.
- * @see #getSeparatorExpression()
+ * @param value the new value of the '<em>Identifier</em>' reference.
+ * @see #getIdentifier()
* @generated
*/
- void setSeparatorExpression(CompositeNode value);
+ void setIdentifier(CompositeNode value);
/**
- * Returns the value of the '<em><b>Identifier</b></em>' reference.
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Identifier</em>' reference isn't clear,
+ * 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>Identifier</em>' reference.
- * @see #setIdentifier(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getForeachStatementNode_Identifier()
+ * @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 getIdentifier();
+ CompositeNode getSequence();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIdentifier <em>Identifier</em>}' reference.
+ * 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>Identifier</em>' reference.
- * @see #getIdentifier()
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
* @generated
*/
- void setIdentifier(CompositeNode value);
+ void setSequence(CompositeNode value);
/**
* Returns the value of the '<em><b>For Expression</b></em>' reference.
@@ -135,28 +134,29 @@ public interface ForeachStatementNode extends CompositeNode {
void setForExpression(CompositeNode value);
/**
- * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * Returns the value of the '<em><b>Separator Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * 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>Sequence</em>' reference.
- * @see #setSequence(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getForeachStatementNode_Sequence()
+ * @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 getSequence();
+ CompositeNode getSeparatorExpression();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSequence <em>Sequence</em>}' reference.
+ * 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>Sequence</em>' reference.
- * @see #getSequence()
+ * @param value the new value of the '<em>Separator Expression</em>' reference.
+ * @see #getSeparatorExpression()
* @generated
*/
- void setSequence(CompositeNode value);
+ void setSeparatorExpression(CompositeNode value);
+
} // ForeachStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/GlobalVarExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/GlobalVarExpressionNode.java
index 7b5d4d7..927b5fb 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/GlobalVarExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/GlobalVarExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: GlobalVarExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: GlobalVarExpressionNode.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IdentifierNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IdentifierNode.java
index 6f1e00a..717eace 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IdentifierNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IdentifierNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: IdentifierNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: IdentifierNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfExpressionNode.java
index b47a96c..25c5825 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/IfExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: IfExpressionNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: IfExpressionNode.java,v 1.3 2008/03/13 08:40:00 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>If Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getThen <em>Then</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getElse <em>Else</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getCondition0 <em>Condition0</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getCondition1 <em>Condition1</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfExpressionNode()
* @model
* @generated
*/
public interface IfExpressionNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Then</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Then</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Then</em>' reference.
+ * @see #setThen(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfExpressionNode_Then()
+ * @model
+ * @generated
+ */
+ CompositeNode getThen();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getThen <em>Then</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Then</em>' reference.
+ * @see #getThen()
+ * @generated
+ */
+ void setThen(CompositeNode value);
+
+ /**
+ * 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#getIfExpressionNode_Else()
+ * @model
+ * @generated
+ */
+ CompositeNode getElse();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#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>Condition0</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition0</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition0</em>' reference.
+ * @see #setCondition0(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfExpressionNode_Condition0()
+ * @model
+ * @generated
+ */
+ CompositeNode getCondition0();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getCondition0 <em>Condition0</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Condition0</em>' reference.
+ * @see #getCondition0()
+ * @generated
+ */
+ void setCondition0(CompositeNode value);
+
+ /**
+ * Returns the value of the '<em><b>Condition1</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition1</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition1</em>' reference.
+ * @see #setCondition1(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfExpressionNode_Condition1()
+ * @model
+ * @generated
+ */
+ CompositeNode getCondition1();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getCondition1 <em>Condition1</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Condition1</em>' reference.
+ * @see #getCondition1()
+ * @generated
+ */
+ void setCondition1(CompositeNode value);
+
} // IfExpressionNode
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 97fe359..caefefe 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,11 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: IfStatementNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: IfStatementNode.java,v 1.4 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.tmf.common.node.CompositeNode;
/**
@@ -17,7 +18,7 @@ import org.eclipse.tmf.common.node.CompositeNode;
* <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#getElseIfs <em>Else Ifs</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>
@@ -29,32 +30,21 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface IfStatementNode extends CompositeNode {
-
/**
- * Returns the value of the '<em><b>Else</b></em>' reference.
+ * Returns the value of the '<em><b>Else Ifs</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</em>' reference isn't clear,
+ * If the meaning of the '<em>Else Ifs</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>Else</em>' reference.
- * @see #setElse(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfStatementNode_Else()
+ * @return the value of the '<em>Else Ifs</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfStatementNode_ElseIfs()
* @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);
+ EList<CompositeNode> getElseIfs();
/**
* Returns the value of the '<em><b>Expression</b></em>' reference.
@@ -83,20 +73,30 @@ public interface IfStatementNode extends CompositeNode {
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}.
+ * Returns the value of the '<em><b>Else</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Else If</em>' reference isn't clear,
+ * 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 If</em>' reference list.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfStatementNode_ElseIf()
+ * @return the value of the '<em>Else</em>' reference.
+ * @see #setElse(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getIfStatementNode_Else()
* @model
* @generated
*/
- EList<CompositeNode> getElseIf();
+ 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>Sequence</b></em>' reference.
@@ -123,4 +123,5 @@ public interface IfStatementNode extends CompositeNode {
* @generated
*/
void setSequence(CompositeNode value);
+
} // IfStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImpliesExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImpliesExpressionNode.java
index c1f8bef..8bfde46 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImpliesExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ImpliesExpressionNode.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ImpliesExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ImpliesExpressionNode.java,v 1.3 2008/03/13 08:40:01 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 +15,59 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Implies Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ImpliesExpressionNode#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ImpliesExpressionNode#getFirst <em>First</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getImpliesExpressionNode()
* @model
* @generated
*/
public interface ImpliesExpressionNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Nexts</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>Nexts</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>Nexts</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getImpliesExpressionNode_Nexts()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getNexts();
+
+ /**
+ * Returns the value of the '<em><b>First</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>First</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>First</em>' reference.
+ * @see #setFirst(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getImpliesExpressionNode_First()
+ * @model
+ * @generated
+ */
+ CompositeNode getFirst();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImpliesExpressionNode#getFirst <em>First</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>First</em>' reference.
+ * @see #getFirst()
+ * @generated
+ */
+ void setFirst(CompositeNode value);
+
} // ImpliesExpressionNode
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
index f964f97..c829e71 100644
--- 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
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ImportNode.java,v 1.1 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ImportNode.java,v 1.2 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
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 17b1216..2b3b0e4 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.5 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: InfixExpressionNode.java,v 1.6 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/JavaTypeNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/JavaTypeNode.java
index 9f2e6a2..0d8ddee 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/JavaTypeNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/JavaTypeNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: JavaTypeNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: JavaTypeNode.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetExpressionNode.java
index 6ab46bc..914698b 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/LetExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: LetExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: LetExpressionNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
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 2fbad43..96ff103 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: LetStatementNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -27,7 +27,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface LetStatementNode extends CompositeNode {
-
/**
* Returns the value of the '<em><b>Expression</b></em>' reference.
* <!-- begin-user-doc -->
@@ -105,4 +104,5 @@ public interface LetStatementNode extends CompositeNode {
* @generated
*/
void setSequence(CompositeNode value);
+
} // LetStatementNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ListLiteralNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ListLiteralNode.java
index 9a34e91..0a57455 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ListLiteralNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ListLiteralNode.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: ListLiteralNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ListLiteralNode.java,v 1.3 2008/03/13 08:40:00 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 +15,32 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>List Literal Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ListLiteralNode#getElements <em>Elements</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getListLiteralNode()
* @model
* @generated
*/
public interface ListLiteralNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Elements</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>Elements</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>Elements</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getListLiteralNode_Elements()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getElements();
+
} // ListLiteralNode
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 b99b120..32029ee 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,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: MultiplicativeExpressionNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: MultiplicativeExpressionNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
+import org.eclipse.emf.common.util.EList;
+
import org.eclipse.tmf.common.node.CompositeNode;
/**
@@ -16,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.MultiplicativeExpressionNode#getLeft <em>Left</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getRight <em>Right</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getFirst <em>First</em>}</li>
* </ul>
* </p>
*
@@ -26,56 +28,46 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface MultiplicativeExpressionNode extends CompositeNode {
-
/**
- * Returns the value of the '<em><b>Left</b></em>' reference.
+ * Returns the value of the '<em><b>Nexts</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>Left</em>' reference isn't clear,
+ * If the meaning of the '<em>Nexts</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>Left</em>' reference.
- * @see #setLeft(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getMultiplicativeExpressionNode_Left()
+ * @return the value of the '<em>Nexts</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getMultiplicativeExpressionNode_Nexts()
* @model
* @generated
*/
- CompositeNode getLeft();
+ EList<CompositeNode> getNexts();
/**
- * 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.
+ * Returns the value of the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Right</em>' reference isn't clear,
+ * If the meaning of the '<em>First</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()
+ * @return the value of the '<em>First</em>' reference.
+ * @see #setFirst(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getMultiplicativeExpressionNode_First()
* @model
* @generated
*/
- CompositeNode getRight();
+ CompositeNode getFirst();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getRight <em>Right</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getFirst <em>First</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Right</em>' reference.
- * @see #getRight()
+ * @param value the new value of the '<em>First</em>' reference.
+ * @see #getFirst()
* @generated
*/
- void setRight(CompositeNode value);
+ void setFirst(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
deleted file mode 100644
index c92606c..0000000
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NsImportNode.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: NsImportNode.java,v 1.3 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>Ns Import Node</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getNsImportNode()
- * @model
- * @generated
- */
-public interface NsImportNode extends CompositeNode {
-
-} // NsImportNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NullLiteralNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NullLiteralNode.java
index 2a36439..2cd682e 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NullLiteralNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NullLiteralNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: NullLiteralNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: NullLiteralNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NumberLiteralNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NumberLiteralNode.java
index 88450a5..1492514 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NumberLiteralNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/NumberLiteralNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: NumberLiteralNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: NumberLiteralNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/OrExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/OrExpressionNode.java
index 7403c36..e7e7f0d 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/OrExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/OrExpressionNode.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: OrExpressionNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: OrExpressionNode.java,v 1.3 2008/03/13 08:40:00 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 +15,59 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Or Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.OrExpressionNode#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.OrExpressionNode#getFirst <em>First</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getOrExpressionNode()
* @model
* @generated
*/
public interface OrExpressionNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Nexts</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>Nexts</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>Nexts</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getOrExpressionNode_Nexts()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getNexts();
+
+ /**
+ * Returns the value of the '<em><b>First</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>First</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>First</em>' reference.
+ * @see #setFirst(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getOrExpressionNode_First()
+ * @model
+ * @generated
+ */
+ CompositeNode getFirst();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.OrExpressionNode#getFirst <em>First</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>First</em>' reference.
+ * @see #getFirst()
+ * @generated
+ */
+ void setFirst(CompositeNode value);
+
} // OrExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParameterListNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParameterListNode.java
index e6de76a..55cf96e 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParameterListNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParameterListNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ParameterListNode.java,v 1.3 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: ParameterListNode.java,v 1.4 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParanthesizedExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParanthesizedExpressionNode.java
index 3121391..da6b0fb 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParanthesizedExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/ParanthesizedExpressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ParanthesizedExpressionNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ParanthesizedExpressionNode.java,v 1.3 2008/03/13 08:40:01 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>Paranthesized Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.ParanthesizedExpressionNode#getExpression <em>Expression</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getParanthesizedExpressionNode()
* @model
* @generated
*/
public interface ParanthesizedExpressionNode 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#getParanthesizedExpressionNode_Expression()
+ * @model
+ * @generated
+ */
+ CompositeNode getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ParanthesizedExpressionNode#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);
+
} // ParanthesizedExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/PointcutNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/PointcutNode.java
index db2f863..060c20b 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/PointcutNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/PointcutNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: PointcutNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: PointcutNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
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 a215109..210ca8d 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ProtectStatementNode.java,v 1.4 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -28,32 +28,31 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface ProtectStatementNode extends CompositeNode {
-
/**
- * Returns the value of the '<em><b>Cstart</b></em>' reference.
+ * Returns the value of the '<em><b>Sequence</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Cstart</em>' reference isn't clear,
+ * 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>Cstart</em>' reference.
- * @see #setCstart(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getProtectStatementNode_Cstart()
+ * @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 getCstart();
+ CompositeNode getSequence();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCstart <em>Cstart</em>}' reference.
+ * 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>Cstart</em>' reference.
- * @see #getCstart()
+ * @param value the new value of the '<em>Sequence</em>' reference.
+ * @see #getSequence()
* @generated
*/
- void setCstart(CompositeNode value);
+ void setSequence(CompositeNode value);
/**
* Returns the value of the '<em><b>Cend</b></em>' reference.
@@ -108,28 +107,29 @@ public interface ProtectStatementNode extends CompositeNode {
void setId(CompositeNode value);
/**
- * Returns the value of the '<em><b>Sequence</b></em>' reference.
+ * Returns the value of the '<em><b>Cstart</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Sequence</em>' reference isn't clear,
+ * 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>Sequence</em>' reference.
- * @see #setSequence(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getProtectStatementNode_Sequence()
+ * @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 getSequence();
+ CompositeNode getCstart();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getSequence <em>Sequence</em>}' reference.
+ * 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>Sequence</em>' reference.
- * @see #getSequence()
+ * @param value the new value of the '<em>Cstart</em>' reference.
+ * @see #getCstart()
* @generated
*/
- void setSequence(CompositeNode value);
+ void setCstart(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 169aa43..73a59c6 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,12 +2,13 @@
* <copyright>
* </copyright>
*
- * $Id: RelationalExpressionNode.java,v 1.5 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: RelationalExpressionNode.java,v 1.6 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
+import org.eclipse.emf.common.util.EList;
+
import org.eclipse.tmf.common.node.CompositeNode;
-import org.eclipse.tmf.common.node.LeafNode;
/**
* <!-- begin-user-doc -->
@@ -17,9 +18,8 @@ import org.eclipse.tmf.common.node.LeafNode;
* <p>
* 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#getLeftOperand <em>Left Operand</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#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getFirst <em>First</em>}</li>
* </ul>
* </p>
*
@@ -29,81 +29,45 @@ import org.eclipse.tmf.common.node.LeafNode;
*/
public interface RelationalExpressionNode extends CompositeNode {
/**
- * Returns the value of the '<em><b>Operator</b></em>' reference.
+ * Returns the value of the '<em><b>Nexts</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>Operator</em>' reference isn't clear,
+ * If the meaning of the '<em>Nexts</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>Operator</em>' reference.
- * @see #setOperator(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getRelationalExpressionNode_Operator()
+ * @return the value of the '<em>Nexts</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getRelationalExpressionNode_Nexts()
* @model
* @generated
*/
- CompositeNode getOperator();
-
- /**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getOperator <em>Operator</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Operator</em>' reference.
- * @see #getOperator()
- * @generated
- */
- void setOperator(CompositeNode value);
-
- /**
- * Returns the value of the '<em><b>Right Operand</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Right 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>Right Operand</em>' reference.
- * @see #setRightOperand(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getRelationalExpressionNode_RightOperand()
- * @model
- * @generated
- */
- CompositeNode getRightOperand();
-
- /**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getRightOperand <em>Right Operand</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Right Operand</em>' reference.
- * @see #getRightOperand()
- * @generated
- */
- void setRightOperand(CompositeNode value);
+ EList<CompositeNode> getNexts();
/**
- * Returns the value of the '<em><b>Left Operand</b></em>' reference.
+ * Returns the value of the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Left Operand</em>' reference isn't clear,
+ * If the meaning of the '<em>First</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 Operand</em>' reference.
- * @see #setLeftOperand(CompositeNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getRelationalExpressionNode_LeftOperand()
+ * @return the value of the '<em>First</em>' reference.
+ * @see #setFirst(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getRelationalExpressionNode_First()
* @model
* @generated
*/
- CompositeNode getLeftOperand();
+ CompositeNode getFirst();
/**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getLeftOperand <em>Left Operand</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getFirst <em>First</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Left Operand</em>' reference.
- * @see #getLeftOperand()
+ * @param value the new value of the '<em>First</em>' reference.
+ * @see #getFirst()
* @generated
*/
- void setLeftOperand(CompositeNode value);
+ void setFirst(CompositeNode value);
} // RelationalExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalOperatorNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalOperatorNode.java
deleted file mode 100644
index 75db638..0000000
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/RelationalOperatorNode.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RelationalOperatorNode.java,v 1.1 2008/03/07 11:11:13 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>Relational Operator Node</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getRelationalOperatorNode()
- * @model
- * @generated
- */
-public interface RelationalOperatorNode extends CompositeNode {
-} // RelationalOperatorNode
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 42de16d..002f555 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,11 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: SequenceNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: SequenceNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.tmf.common.node.CompositeNode;
/**
@@ -27,7 +28,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @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}.
@@ -59,4 +59,5 @@ public interface SequenceNode extends CompositeNode {
* @generated
*/
EList<CompositeNode> getStatements();
+
} // SequenceNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SimpleTypeNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SimpleTypeNode.java
index 882a8a3..7bca12f 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SimpleTypeNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SimpleTypeNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: SimpleTypeNode.java,v 1.3 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: SimpleTypeNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/StringLiteralNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/StringLiteralNode.java
index 7a22799..ec436f9 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/StringLiteralNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/StringLiteralNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: StringLiteralNode.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: StringLiteralNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SwitchExpressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SwitchExpressionNode.java
index e6026a2..c829f27 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SwitchExpressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/SwitchExpressionNode.java
@@ -2,10 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: SwitchExpressionNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: SwitchExpressionNode.java,v 1.3 2008/03/13 08:40:00 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 +15,86 @@ import org.eclipse.tmf.common.node.CompositeNode;
* A representation of the model object '<em><b>Switch Expression Node</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#getDefault <em>Default</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#getCases <em>Cases</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getSwitchExpressionNode()
* @model
* @generated
*/
public interface SwitchExpressionNode extends CompositeNode {
+ /**
+ * Returns the value of the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default</em>' reference.
+ * @see #setDefault(CompositeNode)
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getSwitchExpressionNode_Default()
+ * @model
+ * @generated
+ */
+ CompositeNode getDefault();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#getDefault <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default</em>' reference.
+ * @see #getDefault()
+ * @generated
+ */
+ void setDefault(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#getSwitchExpressionNode_Expression()
+ * @model
+ * @generated
+ */
+ CompositeNode getExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#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>Cases</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>Cases</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>Cases</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getSwitchExpressionNode_Cases()
+ * @model
+ * @generated
+ */
+ EList<CompositeNode> getCases();
+
} // SwitchExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Test_expressionNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Test_expressionNode.java
index 853f149..5fd559a 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Test_expressionNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/Test_expressionNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Test_expressionNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: Test_expressionNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextNode.java
index 90bac8a..7774df5 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextNode.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/TextNode.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TextNode.java,v 1.2 2008/03/07 09:39:40 jkohnlein Exp $
+ * $Id: TextNode.java,v 1.3 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
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 39b01de..df82100 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,11 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: TextSequenceNode.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: TextSequenceNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.tmf.common.node.CompositeNode;
/**
@@ -17,7 +18,7 @@ import org.eclipse.tmf.common.node.CompositeNode;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode#getText <em>Text</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode#getTexts <em>Texts</em>}</li>
* </ul>
* </p>
*
@@ -26,20 +27,20 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface TextSequenceNode extends CompositeNode {
-
/**
- * Returns the value of the '<em><b>Text</b></em>' reference list.
+ * Returns the value of the '<em><b>Texts</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,
+ * If the meaning of the '<em>Texts</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()
+ * @return the value of the '<em>Texts</em>' reference list.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getTextSequenceNode_Texts()
* @model
* @generated
*/
- EList<CompositeNode> getText();
+ EList<CompositeNode> getTexts();
+
} // 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 9ef2fcd..b959417 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: UnaryExpressionNode.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -25,7 +25,6 @@ import org.eclipse.tmf.common.node.CompositeNode;
* @generated
*/
public interface UnaryExpressionNode extends CompositeNode {
-
/**
* Returns the value of the '<em><b>Operand</b></em>' reference.
* <!-- begin-user-doc -->
@@ -51,4 +50,5 @@ public interface UnaryExpressionNode extends CompositeNode {
* @generated
*/
void setOperand(CompositeNode value);
+
} // UnaryExpressionNode
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/XNode.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/XNode.java
deleted file mode 100644
index 529c40a..0000000
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/XNode.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: XNode.java,v 1.1 2008/03/07 11:11:14 jkohnlein Exp $
- */
-package org.eclipse.xpand3.internal.parser.xpand3node;
-
-import org.eclipse.tmf.common.node.CompositeNode;
-import org.eclipse.tmf.common.node.LeafNode;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>XNode</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.XNode#getL <em>L</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getXNode()
- * @model
- * @generated
- */
-public interface XNode extends CompositeNode {
- /**
- * Returns the value of the '<em><b>L</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>L</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>L</em>' reference.
- * @see #setL(LeafNode)
- * @see org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage#getXNode_L()
- * @model
- * @generated
- */
- LeafNode getL();
-
- /**
- * Sets the value of the '{@link org.eclipse.xpand3.internal.parser.xpand3node.XNode#getL <em>L</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>L</em>' reference.
- * @see #getL()
- * @generated
- */
- void setL(LeafNode value);
-
-} // XNode
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 81810bf..2094c75 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.5 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: Xpand3nodeFactory.java,v 1.6 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -242,15 +242,6 @@ public interface Xpand3nodeFactory extends EFactory {
Test_expressionNode createTest_expressionNode();
/**
- * Returns a new object of class '<em>Expression Node</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Expression Node</em>'.
- * @generated
- */
- ExpressionNode createExpressionNode();
-
- /**
* Returns a new object of class '<em>Let Expression Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -341,15 +332,6 @@ public interface Xpand3nodeFactory extends EFactory {
RelationalExpressionNode createRelationalExpressionNode();
/**
- * Returns a new object of class '<em>Relational Operator Node</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Relational Operator Node</em>'.
- * @generated
- */
- RelationalOperatorNode createRelationalOperatorNode();
-
- /**
* Returns a new object of class '<em>Additive Expression Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
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 6a7f2d9..179614e 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.5 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: Xpand3nodePackage.java,v 1.6 2008/03/13 08:40:00 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node;
@@ -455,13 +455,13 @@ public interface Xpand3nodePackage extends EPackage {
int TEXT_SEQUENCE_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Text</b></em>' reference list.
+ * The feature id for the '<em><b>Texts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int TEXT_SEQUENCE_NODE__TEXT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int TEXT_SEQUENCE_NODE__TEXTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
* The number of structural features of the '<em>Text Sequence Node</em>' class.
@@ -602,13 +602,22 @@ public interface Xpand3nodePackage extends EPackage {
int EXPAND_STATEMENT_NODE__PARAM_LIST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
+ * The feature id for the '<em><b>For Each Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPAND_STATEMENT_NODE__FOR_EACH_EXPRESSION = 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 EXPAND_STATEMENT_NODE__FOR_EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+ int EXPAND_STATEMENT_NODE__FOR_EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The feature id for the '<em><b>Name</b></em>' reference.
@@ -617,7 +626,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int EXPAND_STATEMENT_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
+ int EXPAND_STATEMENT_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
/**
* The number of structural features of the '<em>Expand Statement Node</em>' class.
@@ -626,7 +635,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int EXPAND_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
+ int EXPAND_STATEMENT_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 5;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpressionStmtNodeImpl <em>Expression Stmt Node</em>}' class.
@@ -849,13 +858,13 @@ public interface Xpand3nodePackage extends EPackage {
int IF_STATEMENT_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Else If</b></em>' reference list.
+ * The feature id for the '<em><b>Else Ifs</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IF_STATEMENT_NODE__ELSE_IF = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int IF_STATEMENT_NODE__ELSE_IFS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Expression</b></em>' reference.
@@ -1160,13 +1169,67 @@ public interface Xpand3nodePackage extends EPackage {
int CHECK_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHECK_NODE__TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Error</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHECK_NODE__ERROR = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Message</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHECK_NODE__MESSAGE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>If Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHECK_NODE__IF_EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Warning</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHECK_NODE__WARNING = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Constraint</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHECK_NODE__CONSTRAINT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 5;
+
+ /**
* The number of structural features of the '<em>Check Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CHECK_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int CHECK_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 6;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AroundNodeImpl <em>Around Node</em>}' class.
@@ -1435,14 +1498,14 @@ public interface Xpand3nodePackage extends EPackage {
int TEST_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpressionNodeImpl <em>Expression Node</em>}' class.
+ * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.LetExpressionNodeImpl <em>Let Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpressionNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getExpressionNode()
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.LetExpressionNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getLetExpressionNode()
* @generated
*/
- int EXPRESSION_NODE = 24;
+ int LET_EXPRESSION_NODE = 24;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -1451,7 +1514,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int LET_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
* The feature id for the '<em><b>Children</b></em>' containment reference list.
@@ -1460,26 +1523,26 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
+ int LET_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The number of structural features of the '<em>Expression Node</em>' class.
+ * The number of structural features of the '<em>Let Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int LET_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.LetExpressionNodeImpl <em>Let Expression Node</em>}' class.
+ * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CastedExpressionNodeImpl <em>Casted Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.LetExpressionNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getLetExpressionNode()
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.CastedExpressionNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getCastedExpressionNode()
* @generated
*/
- int LET_EXPRESSION_NODE = 25;
+ int CASTED_EXPRESSION_NODE = 25;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -1488,7 +1551,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int LET_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int CASTED_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
* The feature id for the '<em><b>Children</b></em>' containment reference list.
@@ -1497,81 +1560,80 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int LET_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
+ int CASTED_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The number of structural features of the '<em>Let Expression Node</em>' class.
+ * The feature id for the '<em><b>Target</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int LET_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int CASTED_EXPRESSION_NODE__TARGET = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CastedExpressionNodeImpl <em>Casted Expression Node</em>}' class.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.CastedExpressionNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getCastedExpressionNode()
* @generated
+ * @ordered
*/
- int CASTED_EXPRESSION_NODE = 26;
+ int CASTED_EXPRESSION_NODE__TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Alias</b></em>' attribute.
+ * The number of structural features of the '<em>Casted Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CASTED_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int CASTED_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * 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.ChainExpressionNodeImpl <em>Chain Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ChainExpressionNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getChainExpressionNode()
* @generated
- * @ordered
*/
- int CASTED_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
+ int CHAIN_EXPRESSION_NODE = 26;
/**
- * The number of structural features of the '<em>Casted Expression Node</em>' class.
+ * The feature id for the '<em><b>Alias</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CASTED_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int CHAIN_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ChainExpressionNodeImpl <em>Chain Expression Node</em>}' class.
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ChainExpressionNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getChainExpressionNode()
* @generated
+ * @ordered
*/
- int CHAIN_EXPRESSION_NODE = 27;
+ int CHAIN_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Alias</b></em>' attribute.
+ * The feature id for the '<em><b>Nexts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CHAIN_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int CHAIN_EXPRESSION_NODE__NEXTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * The feature id for the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CHAIN_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
+ int CHAIN_EXPRESSION_NODE__FIRST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The number of structural features of the '<em>Chain Expression Node</em>' class.
@@ -1580,7 +1642,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int CHAIN_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int CHAIN_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfExpressionNodeImpl <em>If Expression Node</em>}' class.
@@ -1590,7 +1652,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getIfExpressionNode()
* @generated
*/
- int IF_EXPRESSION_NODE = 28;
+ int IF_EXPRESSION_NODE = 27;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -1611,13 +1673,49 @@ public interface Xpand3nodePackage extends EPackage {
int IF_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
+ * The feature id for the '<em><b>Then</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IF_EXPRESSION_NODE__THEN = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Else</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IF_EXPRESSION_NODE__ELSE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Condition0</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IF_EXPRESSION_NODE__CONDITION0 = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Condition1</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IF_EXPRESSION_NODE__CONDITION1 = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
+
+ /**
* The number of structural features of the '<em>If Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IF_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int IF_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 4;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SwitchExpressionNodeImpl <em>Switch Expression Node</em>}' class.
@@ -1627,7 +1725,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getSwitchExpressionNode()
* @generated
*/
- int SWITCH_EXPRESSION_NODE = 29;
+ int SWITCH_EXPRESSION_NODE = 28;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -1648,13 +1746,40 @@ public interface Xpand3nodePackage extends EPackage {
int SWITCH_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
+ * The feature id for the '<em><b>Default</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SWITCH_EXPRESSION_NODE__DEFAULT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SWITCH_EXPRESSION_NODE__EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Cases</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SWITCH_EXPRESSION_NODE__CASES = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+
+ /**
* The number of structural features of the '<em>Switch Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SWITCH_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int SWITCH_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CasePartNodeImpl <em>Case Part Node</em>}' class.
@@ -1664,7 +1789,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getCasePartNode()
* @generated
*/
- int CASE_PART_NODE = 30;
+ int CASE_PART_NODE = 29;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -1685,13 +1810,31 @@ public interface Xpand3nodePackage extends EPackage {
int CASE_PART_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
+ * The feature id for the '<em><b>Condition</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CASE_PART_NODE__CONDITION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CASE_PART_NODE__EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
* The number of structural features of the '<em>Case Part Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CASE_PART_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int CASE_PART_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.OrExpressionNodeImpl <em>Or Expression Node</em>}' class.
@@ -1701,7 +1844,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getOrExpressionNode()
* @generated
*/
- int OR_EXPRESSION_NODE = 31;
+ int OR_EXPRESSION_NODE = 30;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -1722,97 +1865,96 @@ public interface Xpand3nodePackage extends EPackage {
int OR_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The number of structural features of the '<em>Or Expression Node</em>' class.
+ * The feature id for the '<em><b>Nexts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int OR_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int OR_EXPRESSION_NODE__NEXTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AndExpressionNodeImpl <em>And Expression Node</em>}' class.
+ * The feature id for the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.AndExpressionNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getAndExpressionNode()
* @generated
+ * @ordered
*/
- int AND_EXPRESSION_NODE = 32;
+ int OR_EXPRESSION_NODE__FIRST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Alias</b></em>' attribute.
+ * The number of structural features of the '<em>Or Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int AND_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int OR_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * 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.AndExpressionNodeImpl <em>And Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.AndExpressionNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getAndExpressionNode()
* @generated
- * @ordered
*/
- int AND_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
+ int AND_EXPRESSION_NODE = 31;
/**
- * The number of structural features of the '<em>And Expression Node</em>' class.
+ * The feature id for the '<em><b>Alias</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int AND_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int AND_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ImpliesExpressionNodeImpl <em>Implies Expression Node</em>}' class.
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ImpliesExpressionNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getImpliesExpressionNode()
* @generated
+ * @ordered
*/
- int IMPLIES_EXPRESSION_NODE = 33;
+ int AND_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Alias</b></em>' attribute.
+ * The feature id for the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPLIES_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int AND_EXPRESSION_NODE__FIRST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * The feature id for the '<em><b>Nexts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPLIES_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
+ int AND_EXPRESSION_NODE__NEXTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>Implies Expression Node</em>' class.
+ * The number of structural features of the '<em>And Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPLIES_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int AND_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl <em>Relational Expression Node</em>}' class.
+ * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ImpliesExpressionNodeImpl <em>Implies Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getRelationalExpressionNode()
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ImpliesExpressionNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getImpliesExpressionNode()
* @generated
*/
- int RELATIONAL_EXPRESSION_NODE = 34;
+ int IMPLIES_EXPRESSION_NODE = 32;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -1821,7 +1963,7 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int RELATIONAL_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int IMPLIES_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
* The feature id for the '<em><b>Children</b></em>' containment reference list.
@@ -1830,80 +1972,89 @@ public interface Xpand3nodePackage extends EPackage {
* @generated
* @ordered
*/
- int RELATIONAL_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
+ int IMPLIES_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Operator</b></em>' reference.
+ * The feature id for the '<em><b>Nexts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int RELATIONAL_EXPRESSION_NODE__OPERATOR = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int IMPLIES_EXPRESSION_NODE__NEXTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Left Operand</b></em>' reference.
+ * The feature id for the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int IMPLIES_EXPRESSION_NODE__FIRST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Right Operand</b></em>' reference.
+ * The number of structural features of the '<em>Implies Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+ int IMPLIES_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
- * The number of structural features of the '<em>Relational Expression Node</em>' class.
+ * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl <em>Relational Expression Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getRelationalExpressionNode()
+ * @generated
+ */
+ int RELATIONAL_EXPRESSION_NODE = 33;
+
+ /**
+ * The feature id for the '<em><b>Alias</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int RELATIONAL_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
+ int RELATIONAL_EXPRESSION_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
/**
- * The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalOperatorNodeImpl <em>Relational Operator Node</em>}' class.
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalOperatorNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getRelationalOperatorNode()
* @generated
+ * @ordered
*/
- int RELATIONAL_OPERATOR_NODE = 35;
+ int RELATIONAL_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Alias</b></em>' attribute.
+ * The feature id for the '<em><b>Nexts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int RELATIONAL_OPERATOR_NODE__ALIAS = NodePackage.COMPOSITE_NODE__ALIAS;
+ int RELATIONAL_EXPRESSION_NODE__NEXTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * The feature id for the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int RELATIONAL_OPERATOR_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
+ int RELATIONAL_EXPRESSION_NODE__FIRST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>Relational Operator Node</em>' class.
+ * The number of structural features of the '<em>Relational Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int RELATIONAL_OPERATOR_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int RELATIONAL_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AdditiveExpressionNodeImpl <em>Additive Expression Node</em>}' class.
@@ -1913,7 +2064,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getAdditiveExpressionNode()
* @generated
*/
- int ADDITIVE_EXPRESSION_NODE = 36;
+ int ADDITIVE_EXPRESSION_NODE = 34;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -1934,22 +2085,22 @@ public interface Xpand3nodePackage extends EPackage {
int ADDITIVE_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Left</b></em>' reference.
+ * The feature id for the '<em><b>Nexts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ADDITIVE_EXPRESSION_NODE__LEFT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int ADDITIVE_EXPRESSION_NODE__NEXTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Right</b></em>' reference.
+ * The feature id for the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ADDITIVE_EXPRESSION_NODE__RIGHT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int ADDITIVE_EXPRESSION_NODE__FIRST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The number of structural features of the '<em>Additive Expression Node</em>' class.
@@ -1968,7 +2119,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getMultiplicativeExpressionNode()
* @generated
*/
- int MULTIPLICATIVE_EXPRESSION_NODE = 37;
+ int MULTIPLICATIVE_EXPRESSION_NODE = 35;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -1989,22 +2140,22 @@ public interface Xpand3nodePackage extends EPackage {
int MULTIPLICATIVE_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Left</b></em>' reference.
+ * The feature id for the '<em><b>Nexts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MULTIPLICATIVE_EXPRESSION_NODE__LEFT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int MULTIPLICATIVE_EXPRESSION_NODE__NEXTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Right</b></em>' reference.
+ * The feature id for the '<em><b>First</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MULTIPLICATIVE_EXPRESSION_NODE__RIGHT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int MULTIPLICATIVE_EXPRESSION_NODE__FIRST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The number of structural features of the '<em>Multiplicative Expression Node</em>' class.
@@ -2023,7 +2174,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getUnaryExpressionNode()
* @generated
*/
- int UNARY_EXPRESSION_NODE = 38;
+ int UNARY_EXPRESSION_NODE = 36;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2069,7 +2220,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getInfixExpressionNode()
* @generated
*/
- int INFIX_EXPRESSION_NODE = 39;
+ int INFIX_EXPRESSION_NODE = 37;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2124,7 +2275,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getStringLiteralNode()
* @generated
*/
- int STRING_LITERAL_NODE = 40;
+ int STRING_LITERAL_NODE = 38;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2161,7 +2312,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getParanthesizedExpressionNode()
* @generated
*/
- int PARANTHESIZED_EXPRESSION_NODE = 41;
+ int PARANTHESIZED_EXPRESSION_NODE = 39;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2182,13 +2333,22 @@ public interface Xpand3nodePackage extends EPackage {
int PARANTHESIZED_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
+ * The feature id for the '<em><b>Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARANTHESIZED_EXPRESSION_NODE__EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
* The number of structural features of the '<em>Paranthesized Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int PARANTHESIZED_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int PARANTHESIZED_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.GlobalVarExpressionNodeImpl <em>Global Var Expression Node</em>}' class.
@@ -2198,7 +2358,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getGlobalVarExpressionNode()
* @generated
*/
- int GLOBAL_VAR_EXPRESSION_NODE = 42;
+ int GLOBAL_VAR_EXPRESSION_NODE = 40;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2235,7 +2395,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getFeatureCallNode()
* @generated
*/
- int FEATURE_CALL_NODE = 43;
+ int FEATURE_CALL_NODE = 41;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2256,31 +2416,31 @@ public interface Xpand3nodePackage extends EPackage {
int FEATURE_CALL_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Type</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FEATURE_CALL_NODE__TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int FEATURE_CALL_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Param List</b></em>' reference.
+ * The feature id for the '<em><b>Type</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__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>Param List</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FEATURE_CALL_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+ int FEATURE_CALL_NODE__PARAM_LIST = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The number of structural features of the '<em>Feature Call Node</em>' class.
@@ -2299,7 +2459,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getListLiteralNode()
* @generated
*/
- int LIST_LITERAL_NODE = 44;
+ int LIST_LITERAL_NODE = 42;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2320,13 +2480,22 @@ public interface Xpand3nodePackage extends EPackage {
int LIST_LITERAL_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
+ * The feature id for the '<em><b>Elements</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LIST_LITERAL_NODE__ELEMENTS = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
* The number of structural features of the '<em>List Literal Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int LIST_LITERAL_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int LIST_LITERAL_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ConstructorCallNodeImpl <em>Constructor Call Node</em>}' class.
@@ -2336,7 +2505,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getConstructorCallNode()
* @generated
*/
- int CONSTRUCTOR_CALL_NODE = 45;
+ int CONSTRUCTOR_CALL_NODE = 43;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2373,7 +2542,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getBooleanLiteralNode()
* @generated
*/
- int BOOLEAN_LITERAL_NODE = 46;
+ int BOOLEAN_LITERAL_NODE = 44;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2410,7 +2579,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getNullLiteralNode()
* @generated
*/
- int NULL_LITERAL_NODE = 47;
+ int NULL_LITERAL_NODE = 45;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2447,7 +2616,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getNumberLiteralNode()
* @generated
*/
- int NUMBER_LITERAL_NODE = 48;
+ int NUMBER_LITERAL_NODE = 46;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2484,7 +2653,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getCollectionExpressionNode()
* @generated
*/
- int COLLECTION_EXPRESSION_NODE = 49;
+ int COLLECTION_EXPRESSION_NODE = 47;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2505,13 +2674,40 @@ public interface Xpand3nodePackage extends EPackage {
int COLLECTION_EXPRESSION_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
+ * The feature id for the '<em><b>Variable</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLECTION_EXPRESSION_NODE__VARIABLE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLECTION_EXPRESSION_NODE__EXPRESSION = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLECTION_EXPRESSION_NODE__TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
+
+ /**
* The number of structural features of the '<em>Collection Expression Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int COLLECTION_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int COLLECTION_EXPRESSION_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DeclaredParameterListNodeImpl <em>Declared Parameter List Node</em>}' class.
@@ -2521,7 +2717,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getDeclaredParameterListNode()
* @generated
*/
- int DECLARED_PARAMETER_LIST_NODE = 50;
+ int DECLARED_PARAMETER_LIST_NODE = 48;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2567,7 +2763,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getDeclaredParameterNode()
* @generated
*/
- int DECLARED_PARAMETER_NODE = 51;
+ int DECLARED_PARAMETER_NODE = 49;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2588,22 +2784,22 @@ public interface Xpand3nodePackage extends EPackage {
int DECLARED_PARAMETER_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
- * The feature id for the '<em><b>Name</b></em>' reference.
+ * The feature id for the '<em><b>Ptype</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DECLARED_PARAMETER_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int DECLARED_PARAMETER_NODE__PTYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Ptype</b></em>' reference.
+ * The feature id for the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DECLARED_PARAMETER_NODE__PTYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+ int DECLARED_PARAMETER_NODE__NAME = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
/**
* The number of structural features of the '<em>Declared Parameter Node</em>' class.
@@ -2622,7 +2818,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getParameterListNode()
* @generated
*/
- int PARAMETER_LIST_NODE = 52;
+ int PARAMETER_LIST_NODE = 50;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2668,7 +2864,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getCollectionTypeNode()
* @generated
*/
- int COLLECTION_TYPE_NODE = 53;
+ int COLLECTION_TYPE_NODE = 51;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2689,13 +2885,31 @@ public interface Xpand3nodePackage extends EPackage {
int COLLECTION_TYPE_NODE__CHILDREN = NodePackage.COMPOSITE_NODE__CHILDREN;
/**
+ * The feature id for the '<em><b>Collection Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLECTION_TYPE_NODE__COLLECTION_TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Element Type</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLLECTION_TYPE_NODE__ELEMENT_TYPE = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 1;
+
+ /**
* The number of structural features of the '<em>Collection Type Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int COLLECTION_TYPE_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 0;
+ int COLLECTION_TYPE_NODE_FEATURE_COUNT = NodePackage.COMPOSITE_NODE_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SimpleTypeNodeImpl <em>Simple Type Node</em>}' class.
@@ -2705,7 +2919,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getSimpleTypeNode()
* @generated
*/
- int SIMPLE_TYPE_NODE = 54;
+ int SIMPLE_TYPE_NODE = 52;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2751,7 +2965,7 @@ public interface Xpand3nodePackage extends EPackage {
* @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getIdentifierNode()
* @generated
*/
- int IDENTIFIER_NODE = 55;
+ int IDENTIFIER_NODE = 53;
/**
* The feature id for the '<em><b>Alias</b></em>' attribute.
@@ -2888,6 +3102,17 @@ public interface Xpand3nodePackage extends EPackage {
EClass getDefinitionNode();
/**
+ * 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 -->
+ * @return the meta object for the reference '<em>Name</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getName()
+ * @see #getDefinitionNode()
+ * @generated
+ */
+ EReference getDefinitionNode_Name();
+
+ /**
* 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 -->
@@ -2910,17 +3135,6 @@ public interface Xpand3nodePackage extends EPackage {
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 -->
- * @return the meta object for the reference '<em>Name</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.DefinitionNode#getName()
- * @see #getDefinitionNode()
- * @generated
- */
- 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 -->
@@ -3028,15 +3242,15 @@ 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>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode#getTexts <em>Texts</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()
+ * @return the meta object for the reference list '<em>Texts</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode#getTexts()
* @see #getTextSequenceNode()
* @generated
*/
- EReference getTextSequenceNode_Text();
+ EReference getTextSequenceNode_Texts();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.TextNode <em>Text Node</em>}'.
@@ -3102,6 +3316,17 @@ public interface Xpand3nodePackage extends EPackage {
EReference getExpandStatementNode_ParamList();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getForEachExpression <em>For Each Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>For Each Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExpandStatementNode#getForEachExpression()
+ * @see #getExpandStatementNode()
+ * @generated
+ */
+ EReference getExpandStatementNode_ForEachExpression();
+
+ /**
* 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 -->
@@ -3155,15 +3380,15 @@ 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>}'.
+ * 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>Name Expression</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getNameExpression()
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getSequence()
* @see #getFileStatementNode()
* @generated
*/
- EReference getFileStatementNode_NameExpression();
+ EReference getFileStatementNode_Sequence();
/**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getIdentifier <em>Identifier</em>}'.
@@ -3177,15 +3402,15 @@ public interface Xpand3nodePackage extends EPackage {
EReference getFileStatementNode_Identifier();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getSequence <em>Sequence</em>}'.
+ * 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>Sequence</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.FileStatementNode#getSequence()
+ * @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_Sequence();
+ EReference getFileStatementNode_NameExpression();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode <em>Foreach Statement Node</em>}'.
@@ -3209,26 +3434,26 @@ public interface Xpand3nodePackage extends EPackage {
EReference getForeachStatementNode_Iterator();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSeparatorExpression <em>Separator Expression</em>}'.
+ * 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>Separator Expression</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSeparatorExpression()
+ * @return the meta object for the reference '<em>Identifier</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIdentifier()
* @see #getForeachStatementNode()
* @generated
*/
- EReference getForeachStatementNode_SeparatorExpression();
+ EReference getForeachStatementNode_Identifier();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIdentifier <em>Identifier</em>}'.
+ * 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>Identifier</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getIdentifier()
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSequence()
* @see #getForeachStatementNode()
* @generated
*/
- EReference getForeachStatementNode_Identifier();
+ EReference getForeachStatementNode_Sequence();
/**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getForExpression <em>For Expression</em>}'.
@@ -3242,15 +3467,15 @@ public interface Xpand3nodePackage extends EPackage {
EReference getForeachStatementNode_ForExpression();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSequence <em>Sequence</em>}'.
+ * 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>Sequence</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ForeachStatementNode#getSequence()
+ * @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_Sequence();
+ EReference getForeachStatementNode_SeparatorExpression();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode <em>If Statement Node</em>}'.
@@ -3263,15 +3488,15 @@ 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>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElseIfs <em>Else Ifs</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()
+ * @return the meta object for the reference list '<em>Else Ifs</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElseIfs()
* @see #getIfStatementNode()
* @generated
*/
- EReference getIfStatementNode_Else();
+ EReference getIfStatementNode_ElseIfs();
/**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getExpression <em>Expression</em>}'.
@@ -3285,15 +3510,15 @@ public interface Xpand3nodePackage extends EPackage {
EReference getIfStatementNode_Expression();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElseIf <em>Else If</em>}'.
+ * 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 list '<em>Else If</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElseIf()
+ * @return the meta object for the reference '<em>Else</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getElse()
* @see #getIfStatementNode()
* @generated
*/
- EReference getIfStatementNode_ElseIf();
+ EReference getIfStatementNode_Else();
/**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfStatementNode#getSequence <em>Sequence</em>}'.
@@ -3413,15 +3638,15 @@ 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>}'.
+ * 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>Cstart</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCstart()
+ * @return the meta object for the reference '<em>Sequence</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getSequence()
* @see #getProtectStatementNode()
* @generated
*/
- EReference getProtectStatementNode_Cstart();
+ EReference getProtectStatementNode_Sequence();
/**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCend <em>Cend</em>}'.
@@ -3446,15 +3671,15 @@ public interface Xpand3nodePackage extends EPackage {
EReference getProtectStatementNode_Id();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getSequence <em>Sequence</em>}'.
+ * 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>Sequence</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getSequence()
+ * @return the meta object for the reference '<em>Cstart</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode#getCstart()
* @see #getProtectStatementNode()
* @generated
*/
- EReference getProtectStatementNode_Sequence();
+ EReference getProtectStatementNode_Cstart();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode <em>Check Node</em>}'.
@@ -3467,6 +3692,72 @@ public interface Xpand3nodePackage extends EPackage {
EClass getCheckNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#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.CheckNode#getType()
+ * @see #getCheckNode()
+ * @generated
+ */
+ EReference getCheckNode_Type();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getError <em>Error</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Error</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getError()
+ * @see #getCheckNode()
+ * @generated
+ */
+ EReference getCheckNode_Error();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getMessage <em>Message</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Message</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getMessage()
+ * @see #getCheckNode()
+ * @generated
+ */
+ EReference getCheckNode_Message();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getIfExpression <em>If Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>If Expression</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getIfExpression()
+ * @see #getCheckNode()
+ * @generated
+ */
+ EReference getCheckNode_IfExpression();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getWarning <em>Warning</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Warning</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getWarning()
+ * @see #getCheckNode()
+ * @generated
+ */
+ EReference getCheckNode_Warning();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getConstraint <em>Constraint</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Constraint</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CheckNode#getConstraint()
+ * @see #getCheckNode()
+ * @generated
+ */
+ EReference getCheckNode_Constraint();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.AroundNode <em>Around Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3497,15 +3788,15 @@ public interface Xpand3nodePackage extends EPackage {
EClass getExtensionNode();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCreate <em>Create</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getParamList <em>Param List</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Create</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCreate()
+ * @return the meta object for the reference '<em>Param List</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getParamList()
* @see #getExtensionNode()
* @generated
*/
- EReference getExtensionNode_Create();
+ EReference getExtensionNode_ParamList();
/**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getPrivate <em>Private</em>}'.
@@ -3519,48 +3810,48 @@ public interface Xpand3nodePackage extends EPackage {
EReference getExtensionNode_Private();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getParamList <em>Param List</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getReturnType <em>Return Type</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.ExtensionNode#getParamList()
+ * @return the meta object for the reference '<em>Return Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getReturnType()
* @see #getExtensionNode()
* @generated
*/
- EReference getExtensionNode_ParamList();
+ EReference getExtensionNode_ReturnType();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getExtendBody <em>Extend Body</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaReturnType <em>Java Return Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Extend Body</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getExtendBody()
+ * @return the meta object for the reference '<em>Java Return Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaReturnType()
* @see #getExtensionNode()
* @generated
*/
- EReference getExtensionNode_ExtendBody();
+ EReference getExtensionNode_JavaReturnType();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCached <em>Cached</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCreate <em>Create</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Cached</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCached()
+ * @return the meta object for the reference '<em>Create</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCreate()
* @see #getExtensionNode()
* @generated
*/
- EReference getExtensionNode_Cached();
+ EReference getExtensionNode_Create();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaReturnType <em>Java Return Type</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Java Return Type</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaReturnType()
+ * @return the meta object for the reference '<em>Name</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getName()
* @see #getExtensionNode()
* @generated
*/
- EReference getExtensionNode_JavaReturnType();
+ EReference getExtensionNode_Name();
/**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getJavaName <em>Java Name</em>}'.
@@ -3574,26 +3865,26 @@ public interface Xpand3nodePackage extends EPackage {
EReference getExtensionNode_JavaName();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getReturnType <em>Return Type</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCached <em>Cached</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Return Type</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getReturnType()
+ * @return the meta object for the reference '<em>Cached</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getCached()
* @see #getExtensionNode()
* @generated
*/
- EReference getExtensionNode_ReturnType();
+ EReference getExtensionNode_Cached();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getName <em>Name</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getExtendBody <em>Extend Body</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Name</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getName()
+ * @return the meta object for the reference '<em>Extend Body</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ExtensionNode#getExtendBody()
* @see #getExtensionNode()
* @generated
*/
- EReference getExtensionNode_Name();
+ EReference getExtensionNode_ExtendBody();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.JavaTypeNode <em>Java Type Node</em>}'.
@@ -3616,16 +3907,6 @@ public interface Xpand3nodePackage extends EPackage {
EClass getTest_expressionNode();
/**
- * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ExpressionNode <em>Expression Node</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Expression Node</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.ExpressionNode
- * @generated
- */
- EClass getExpressionNode();
-
- /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.LetExpressionNode <em>Let Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3646,6 +3927,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getCastedExpressionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CastedExpressionNode#getTarget <em>Target</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CastedExpressionNode#getTarget()
+ * @see #getCastedExpressionNode()
+ * @generated
+ */
+ EReference getCastedExpressionNode_Target();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CastedExpressionNode#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.CastedExpressionNode#getType()
+ * @see #getCastedExpressionNode()
+ * @generated
+ */
+ EReference getCastedExpressionNode_Type();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ChainExpressionNode <em>Chain Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3656,6 +3959,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getChainExpressionNode();
/**
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.ChainExpressionNode#getNexts <em>Nexts</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Nexts</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ChainExpressionNode#getNexts()
+ * @see #getChainExpressionNode()
+ * @generated
+ */
+ EReference getChainExpressionNode_Nexts();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ChainExpressionNode#getFirst <em>First</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>First</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ChainExpressionNode#getFirst()
+ * @see #getChainExpressionNode()
+ * @generated
+ */
+ EReference getChainExpressionNode_First();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode <em>If Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3666,6 +3991,50 @@ public interface Xpand3nodePackage extends EPackage {
EClass getIfExpressionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getThen <em>Then</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Then</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getThen()
+ * @see #getIfExpressionNode()
+ * @generated
+ */
+ EReference getIfExpressionNode_Then();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#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.IfExpressionNode#getElse()
+ * @see #getIfExpressionNode()
+ * @generated
+ */
+ EReference getIfExpressionNode_Else();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getCondition0 <em>Condition0</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Condition0</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getCondition0()
+ * @see #getIfExpressionNode()
+ * @generated
+ */
+ EReference getIfExpressionNode_Condition0();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getCondition1 <em>Condition1</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Condition1</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.IfExpressionNode#getCondition1()
+ * @see #getIfExpressionNode()
+ * @generated
+ */
+ EReference getIfExpressionNode_Condition1();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode <em>Switch Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3676,6 +4045,39 @@ public interface Xpand3nodePackage extends EPackage {
EClass getSwitchExpressionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#getDefault <em>Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Default</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#getDefault()
+ * @see #getSwitchExpressionNode()
+ * @generated
+ */
+ EReference getSwitchExpressionNode_Default();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#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.SwitchExpressionNode#getExpression()
+ * @see #getSwitchExpressionNode()
+ * @generated
+ */
+ EReference getSwitchExpressionNode_Expression();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#getCases <em>Cases</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Cases</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.SwitchExpressionNode#getCases()
+ * @see #getSwitchExpressionNode()
+ * @generated
+ */
+ EReference getSwitchExpressionNode_Cases();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.CasePartNode <em>Case Part Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3686,6 +4088,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getCasePartNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CasePartNode#getCondition <em>Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Condition</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CasePartNode#getCondition()
+ * @see #getCasePartNode()
+ * @generated
+ */
+ EReference getCasePartNode_Condition();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CasePartNode#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.CasePartNode#getExpression()
+ * @see #getCasePartNode()
+ * @generated
+ */
+ EReference getCasePartNode_Expression();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.OrExpressionNode <em>Or Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3696,6 +4120,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getOrExpressionNode();
/**
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.OrExpressionNode#getNexts <em>Nexts</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Nexts</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.OrExpressionNode#getNexts()
+ * @see #getOrExpressionNode()
+ * @generated
+ */
+ EReference getOrExpressionNode_Nexts();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.OrExpressionNode#getFirst <em>First</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>First</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.OrExpressionNode#getFirst()
+ * @see #getOrExpressionNode()
+ * @generated
+ */
+ EReference getOrExpressionNode_First();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.AndExpressionNode <em>And Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3706,6 +4152,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getAndExpressionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.AndExpressionNode#getFirst <em>First</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>First</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.AndExpressionNode#getFirst()
+ * @see #getAndExpressionNode()
+ * @generated
+ */
+ EReference getAndExpressionNode_First();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.AndExpressionNode#getNexts <em>Nexts</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Nexts</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.AndExpressionNode#getNexts()
+ * @see #getAndExpressionNode()
+ * @generated
+ */
+ EReference getAndExpressionNode_Nexts();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImpliesExpressionNode <em>Implies Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3716,57 +4184,58 @@ public interface Xpand3nodePackage extends EPackage {
EClass getImpliesExpressionNode();
/**
- * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode <em>Relational Expression Node</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImpliesExpressionNode#getNexts <em>Nexts</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Relational Expression Node</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode
+ * @return the meta object for the reference list '<em>Nexts</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ImpliesExpressionNode#getNexts()
+ * @see #getImpliesExpressionNode()
* @generated
*/
- EClass getRelationalExpressionNode();
+ EReference getImpliesExpressionNode_Nexts();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getOperator <em>Operator</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ImpliesExpressionNode#getFirst <em>First</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Operator</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getOperator()
- * @see #getRelationalExpressionNode()
+ * @return the meta object for the reference '<em>First</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ImpliesExpressionNode#getFirst()
+ * @see #getImpliesExpressionNode()
* @generated
*/
- EReference getRelationalExpressionNode_Operator();
+ EReference getImpliesExpressionNode_First();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getRightOperand <em>Right Operand</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode <em>Relational Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Right Operand</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getRightOperand()
- * @see #getRelationalExpressionNode()
+ * @return the meta object for class '<em>Relational Expression Node</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode
* @generated
*/
- EReference getRelationalExpressionNode_RightOperand();
+ EClass getRelationalExpressionNode();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getLeftOperand <em>Left Operand</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getNexts <em>Nexts</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Left Operand</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getLeftOperand()
+ * @return the meta object for the reference list '<em>Nexts</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getNexts()
* @see #getRelationalExpressionNode()
* @generated
*/
- EReference getRelationalExpressionNode_LeftOperand();
+ EReference getRelationalExpressionNode_Nexts();
/**
- * Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalOperatorNode <em>Relational Operator Node</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getFirst <em>First</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Relational Operator Node</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.RelationalOperatorNode
+ * @return the meta object for the reference '<em>First</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode#getFirst()
+ * @see #getRelationalExpressionNode()
* @generated
*/
- EClass getRelationalOperatorNode();
+ EReference getRelationalExpressionNode_First();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode <em>Additive Expression Node</em>}'.
@@ -3779,26 +4248,26 @@ 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>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getNexts <em>Nexts</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()
+ * @return the meta object for the reference list '<em>Nexts</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getNexts()
* @see #getAdditiveExpressionNode()
* @generated
*/
- EReference getAdditiveExpressionNode_Right();
+ EReference getAdditiveExpressionNode_Nexts();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getLeft <em>Left</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getFirst <em>First</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()
+ * @return the meta object for the reference '<em>First</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.AdditiveExpressionNode#getFirst()
* @see #getAdditiveExpressionNode()
* @generated
*/
- EReference getAdditiveExpressionNode_Left();
+ EReference getAdditiveExpressionNode_First();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode <em>Multiplicative Expression Node</em>}'.
@@ -3811,26 +4280,26 @@ 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>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getNexts <em>Nexts</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()
+ * @return the meta object for the reference list '<em>Nexts</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getNexts()
* @see #getMultiplicativeExpressionNode()
* @generated
*/
- EReference getMultiplicativeExpressionNode_Left();
+ EReference getMultiplicativeExpressionNode_Nexts();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getRight <em>Right</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getFirst <em>First</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()
+ * @return the meta object for the reference '<em>First</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode#getFirst()
* @see #getMultiplicativeExpressionNode()
* @generated
*/
- EReference getMultiplicativeExpressionNode_Right();
+ EReference getMultiplicativeExpressionNode_First();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.UnaryExpressionNode <em>Unary Expression Node</em>}'.
@@ -3906,6 +4375,17 @@ public interface Xpand3nodePackage extends EPackage {
EClass getParanthesizedExpressionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.ParanthesizedExpressionNode#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.ParanthesizedExpressionNode#getExpression()
+ * @see #getParanthesizedExpressionNode()
+ * @generated
+ */
+ EReference getParanthesizedExpressionNode_Expression();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.GlobalVarExpressionNode <em>Global Var Expression Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3926,15 +4406,15 @@ 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>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getParamList <em>Param List</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()
+ * @return the meta object for the reference '<em>Param List</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getParamList()
* @see #getFeatureCallNode()
* @generated
*/
- EReference getFeatureCallNode_Type();
+ EReference getFeatureCallNode_ParamList();
/**
* Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getName <em>Name</em>}'.
@@ -3948,15 +4428,15 @@ public interface Xpand3nodePackage extends EPackage {
EReference getFeatureCallNode_Name();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getParamList <em>Param List</em>}'.
+ * 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>Param List</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getParamList()
+ * @return the meta object for the reference '<em>Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.FeatureCallNode#getType()
* @see #getFeatureCallNode()
* @generated
*/
- EReference getFeatureCallNode_ParamList();
+ EReference getFeatureCallNode_Type();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ListLiteralNode <em>List Literal Node</em>}'.
@@ -3969,6 +4449,17 @@ public interface Xpand3nodePackage extends EPackage {
EClass getListLiteralNode();
/**
+ * Returns the meta object for the reference list '{@link org.eclipse.xpand3.internal.parser.xpand3node.ListLiteralNode#getElements <em>Elements</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Elements</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.ListLiteralNode#getElements()
+ * @see #getListLiteralNode()
+ * @generated
+ */
+ EReference getListLiteralNode_Elements();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ConstructorCallNode <em>Constructor Call Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4019,6 +4510,39 @@ public interface Xpand3nodePackage extends EPackage {
EClass getCollectionExpressionNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#getVariable <em>Variable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Variable</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#getVariable()
+ * @see #getCollectionExpressionNode()
+ * @generated
+ */
+ EReference getCollectionExpressionNode_Variable();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#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.CollectionExpressionNode#getExpression()
+ * @see #getCollectionExpressionNode()
+ * @generated
+ */
+ EReference getCollectionExpressionNode_Expression();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionExpressionNode#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.CollectionExpressionNode#getType()
+ * @see #getCollectionExpressionNode()
+ * @generated
+ */
+ EReference getCollectionExpressionNode_Type();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterListNode <em>Declared Parameter List Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4050,26 +4574,26 @@ public interface Xpand3nodePackage extends EPackage {
EClass getDeclaredParameterNode();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getName <em>Name</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getPtype <em>Ptype</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Name</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getName()
+ * @return the meta object for the reference '<em>Ptype</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getPtype()
* @see #getDeclaredParameterNode()
* @generated
*/
- EReference getDeclaredParameterNode_Name();
+ EReference getDeclaredParameterNode_Ptype();
/**
- * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getPtype <em>Ptype</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Ptype</em>'.
- * @see org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getPtype()
+ * @return the meta object for the reference '<em>Name</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.DeclaredParameterNode#getName()
* @see #getDeclaredParameterNode()
* @generated
*/
- EReference getDeclaredParameterNode_Ptype();
+ EReference getDeclaredParameterNode_Name();
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.ParameterListNode <em>Parameter List Node</em>}'.
@@ -4103,6 +4627,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass getCollectionTypeNode();
/**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionTypeNode#getCollectionType <em>Collection Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Collection Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CollectionTypeNode#getCollectionType()
+ * @see #getCollectionTypeNode()
+ * @generated
+ */
+ EReference getCollectionTypeNode_CollectionType();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.xpand3.internal.parser.xpand3node.CollectionTypeNode#getElementType <em>Element Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Element Type</em>'.
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.CollectionTypeNode#getElementType()
+ * @see #getCollectionTypeNode()
+ * @generated
+ */
+ EReference getCollectionTypeNode_ElementType();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.internal.parser.xpand3node.SimpleTypeNode <em>Simple Type Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4244,28 +4790,28 @@ public interface Xpand3nodePackage extends EPackage {
EClass DEFINITION_NODE = eINSTANCE.getDefinitionNode();
/**
- * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Name</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference DEFINITION_NODE__TYPE = eINSTANCE.getDefinitionNode_Type();
+ EReference DEFINITION_NODE__NAME = eINSTANCE.getDefinitionNode_Name();
/**
- * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference DEFINITION_NODE__SEQUENCE = eINSTANCE.getDefinitionNode_Sequence();
+ EReference DEFINITION_NODE__TYPE = eINSTANCE.getDefinitionNode_Type();
/**
- * The meta object literal for the '<em><b>Name</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference DEFINITION_NODE__NAME = eINSTANCE.getDefinitionNode_Name();
+ EReference DEFINITION_NODE__SEQUENCE = eINSTANCE.getDefinitionNode_Sequence();
/**
* The meta object literal for the '<em><b>Param List</b></em>' reference feature.
@@ -4354,12 +4900,12 @@ 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.
+ * The meta object literal for the '<em><b>Texts</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference TEXT_SEQUENCE_NODE__TEXT = eINSTANCE.getTextSequenceNode_Text();
+ EReference TEXT_SEQUENCE_NODE__TEXTS = eINSTANCE.getTextSequenceNode_Texts();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.TextNodeImpl <em>Text Node</em>}' class.
@@ -4416,6 +4962,14 @@ public interface Xpand3nodePackage extends EPackage {
EReference EXPAND_STATEMENT_NODE__PARAM_LIST = eINSTANCE.getExpandStatementNode_ParamList();
/**
+ * The meta object literal for the '<em><b>For Each Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EXPAND_STATEMENT_NODE__FOR_EACH_EXPRESSION = eINSTANCE.getExpandStatementNode_ForEachExpression();
+
+ /**
* The meta object literal for the '<em><b>For Expression</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4460,12 +5014,12 @@ 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.
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference FILE_STATEMENT_NODE__NAME_EXPRESSION = eINSTANCE.getFileStatementNode_NameExpression();
+ EReference FILE_STATEMENT_NODE__SEQUENCE = eINSTANCE.getFileStatementNode_Sequence();
/**
* The meta object literal for the '<em><b>Identifier</b></em>' reference feature.
@@ -4476,12 +5030,12 @@ public interface Xpand3nodePackage extends EPackage {
EReference FILE_STATEMENT_NODE__IDENTIFIER = eINSTANCE.getFileStatementNode_Identifier();
/**
- * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * 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__SEQUENCE = eINSTANCE.getFileStatementNode_Sequence();
+ EReference FILE_STATEMENT_NODE__NAME_EXPRESSION = eINSTANCE.getFileStatementNode_NameExpression();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ForeachStatementNodeImpl <em>Foreach Statement Node</em>}' class.
@@ -4502,20 +5056,20 @@ public interface Xpand3nodePackage extends EPackage {
EReference FOREACH_STATEMENT_NODE__ITERATOR = eINSTANCE.getForeachStatementNode_Iterator();
/**
- * The meta object literal for the '<em><b>Separator Expression</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Identifier</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION = eINSTANCE.getForeachStatementNode_SeparatorExpression();
+ EReference FOREACH_STATEMENT_NODE__IDENTIFIER = eINSTANCE.getForeachStatementNode_Identifier();
/**
- * The meta object literal for the '<em><b>Identifier</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference FOREACH_STATEMENT_NODE__IDENTIFIER = eINSTANCE.getForeachStatementNode_Identifier();
+ EReference FOREACH_STATEMENT_NODE__SEQUENCE = eINSTANCE.getForeachStatementNode_Sequence();
/**
* The meta object literal for the '<em><b>For Expression</b></em>' reference feature.
@@ -4526,12 +5080,12 @@ public interface Xpand3nodePackage extends EPackage {
EReference FOREACH_STATEMENT_NODE__FOR_EXPRESSION = eINSTANCE.getForeachStatementNode_ForExpression();
/**
- * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * 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__SEQUENCE = eINSTANCE.getForeachStatementNode_Sequence();
+ EReference FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION = eINSTANCE.getForeachStatementNode_SeparatorExpression();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfStatementNodeImpl <em>If Statement Node</em>}' class.
@@ -4544,12 +5098,12 @@ public interface Xpand3nodePackage extends EPackage {
EClass IF_STATEMENT_NODE = eINSTANCE.getIfStatementNode();
/**
- * The meta object literal for the '<em><b>Else</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Else Ifs</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference IF_STATEMENT_NODE__ELSE = eINSTANCE.getIfStatementNode_Else();
+ EReference IF_STATEMENT_NODE__ELSE_IFS = eINSTANCE.getIfStatementNode_ElseIfs();
/**
* The meta object literal for the '<em><b>Expression</b></em>' reference feature.
@@ -4560,12 +5114,12 @@ public interface Xpand3nodePackage extends EPackage {
EReference IF_STATEMENT_NODE__EXPRESSION = eINSTANCE.getIfStatementNode_Expression();
/**
- * The meta object literal for the '<em><b>Else If</b></em>' reference list feature.
+ * 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_IF = eINSTANCE.getIfStatementNode_ElseIf();
+ EReference IF_STATEMENT_NODE__ELSE = eINSTANCE.getIfStatementNode_Else();
/**
* The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
@@ -4664,12 +5218,12 @@ public interface Xpand3nodePackage extends EPackage {
EClass PROTECT_STATEMENT_NODE = eINSTANCE.getProtectStatementNode();
/**
- * The meta object literal for the '<em><b>Cstart</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference PROTECT_STATEMENT_NODE__CSTART = eINSTANCE.getProtectStatementNode_Cstart();
+ EReference PROTECT_STATEMENT_NODE__SEQUENCE = eINSTANCE.getProtectStatementNode_Sequence();
/**
* The meta object literal for the '<em><b>Cend</b></em>' reference feature.
@@ -4688,12 +5242,12 @@ public interface Xpand3nodePackage extends EPackage {
EReference PROTECT_STATEMENT_NODE__ID = eINSTANCE.getProtectStatementNode_Id();
/**
- * The meta object literal for the '<em><b>Sequence</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Cstart</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference PROTECT_STATEMENT_NODE__SEQUENCE = eINSTANCE.getProtectStatementNode_Sequence();
+ EReference PROTECT_STATEMENT_NODE__CSTART = eINSTANCE.getProtectStatementNode_Cstart();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl <em>Check Node</em>}' class.
@@ -4706,6 +5260,54 @@ public interface Xpand3nodePackage extends EPackage {
EClass CHECK_NODE = eINSTANCE.getCheckNode();
/**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHECK_NODE__TYPE = eINSTANCE.getCheckNode_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Error</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHECK_NODE__ERROR = eINSTANCE.getCheckNode_Error();
+
+ /**
+ * The meta object literal for the '<em><b>Message</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHECK_NODE__MESSAGE = eINSTANCE.getCheckNode_Message();
+
+ /**
+ * The meta object literal for the '<em><b>If Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHECK_NODE__IF_EXPRESSION = eINSTANCE.getCheckNode_IfExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Warning</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHECK_NODE__WARNING = eINSTANCE.getCheckNode_Warning();
+
+ /**
+ * The meta object literal for the '<em><b>Constraint</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHECK_NODE__CONSTRAINT = eINSTANCE.getCheckNode_Constraint();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AroundNodeImpl <em>Around Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4736,12 +5338,12 @@ public interface Xpand3nodePackage extends EPackage {
EClass EXTENSION_NODE = eINSTANCE.getExtensionNode();
/**
- * The meta object literal for the '<em><b>Create</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Param List</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference EXTENSION_NODE__CREATE = eINSTANCE.getExtensionNode_Create();
+ EReference EXTENSION_NODE__PARAM_LIST = eINSTANCE.getExtensionNode_ParamList();
/**
* The meta object literal for the '<em><b>Private</b></em>' reference feature.
@@ -4752,36 +5354,36 @@ public interface Xpand3nodePackage extends EPackage {
EReference EXTENSION_NODE__PRIVATE = eINSTANCE.getExtensionNode_Private();
/**
- * The meta object literal for the '<em><b>Param List</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Return Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference EXTENSION_NODE__PARAM_LIST = eINSTANCE.getExtensionNode_ParamList();
+ EReference EXTENSION_NODE__RETURN_TYPE = eINSTANCE.getExtensionNode_ReturnType();
/**
- * The meta object literal for the '<em><b>Extend Body</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Java Return Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference EXTENSION_NODE__EXTEND_BODY = eINSTANCE.getExtensionNode_ExtendBody();
+ EReference EXTENSION_NODE__JAVA_RETURN_TYPE = eINSTANCE.getExtensionNode_JavaReturnType();
/**
- * The meta object literal for the '<em><b>Cached</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Create</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference EXTENSION_NODE__CACHED = eINSTANCE.getExtensionNode_Cached();
+ EReference EXTENSION_NODE__CREATE = eINSTANCE.getExtensionNode_Create();
/**
- * The meta object literal for the '<em><b>Java Return Type</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Name</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference EXTENSION_NODE__JAVA_RETURN_TYPE = eINSTANCE.getExtensionNode_JavaReturnType();
+ EReference EXTENSION_NODE__NAME = eINSTANCE.getExtensionNode_Name();
/**
* The meta object literal for the '<em><b>Java Name</b></em>' reference feature.
@@ -4792,20 +5394,20 @@ public interface Xpand3nodePackage extends EPackage {
EReference EXTENSION_NODE__JAVA_NAME = eINSTANCE.getExtensionNode_JavaName();
/**
- * The meta object literal for the '<em><b>Return Type</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Cached</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference EXTENSION_NODE__RETURN_TYPE = eINSTANCE.getExtensionNode_ReturnType();
+ EReference EXTENSION_NODE__CACHED = eINSTANCE.getExtensionNode_Cached();
/**
- * The meta object literal for the '<em><b>Name</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Extend Body</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference EXTENSION_NODE__NAME = eINSTANCE.getExtensionNode_Name();
+ EReference EXTENSION_NODE__EXTEND_BODY = eINSTANCE.getExtensionNode_ExtendBody();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.JavaTypeNodeImpl <em>Java Type Node</em>}' class.
@@ -4828,16 +5430,6 @@ public interface Xpand3nodePackage extends EPackage {
EClass TEST_EXPRESSION_NODE = eINSTANCE.getTest_expressionNode();
/**
- * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpressionNodeImpl <em>Expression Node</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.ExpressionNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getExpressionNode()
- * @generated
- */
- EClass EXPRESSION_NODE = eINSTANCE.getExpressionNode();
-
- /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.LetExpressionNodeImpl <em>Let Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4858,6 +5450,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass CASTED_EXPRESSION_NODE = eINSTANCE.getCastedExpressionNode();
/**
+ * The meta object literal for the '<em><b>Target</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CASTED_EXPRESSION_NODE__TARGET = eINSTANCE.getCastedExpressionNode_Target();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CASTED_EXPRESSION_NODE__TYPE = eINSTANCE.getCastedExpressionNode_Type();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ChainExpressionNodeImpl <em>Chain Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4868,6 +5476,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass CHAIN_EXPRESSION_NODE = eINSTANCE.getChainExpressionNode();
/**
+ * The meta object literal for the '<em><b>Nexts</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHAIN_EXPRESSION_NODE__NEXTS = eINSTANCE.getChainExpressionNode_Nexts();
+
+ /**
+ * The meta object literal for the '<em><b>First</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHAIN_EXPRESSION_NODE__FIRST = eINSTANCE.getChainExpressionNode_First();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfExpressionNodeImpl <em>If Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4878,6 +5502,38 @@ public interface Xpand3nodePackage extends EPackage {
EClass IF_EXPRESSION_NODE = eINSTANCE.getIfExpressionNode();
/**
+ * The meta object literal for the '<em><b>Then</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IF_EXPRESSION_NODE__THEN = eINSTANCE.getIfExpressionNode_Then();
+
+ /**
+ * The meta object literal for the '<em><b>Else</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IF_EXPRESSION_NODE__ELSE = eINSTANCE.getIfExpressionNode_Else();
+
+ /**
+ * The meta object literal for the '<em><b>Condition0</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IF_EXPRESSION_NODE__CONDITION0 = eINSTANCE.getIfExpressionNode_Condition0();
+
+ /**
+ * The meta object literal for the '<em><b>Condition1</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IF_EXPRESSION_NODE__CONDITION1 = eINSTANCE.getIfExpressionNode_Condition1();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SwitchExpressionNodeImpl <em>Switch Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4888,6 +5544,30 @@ public interface Xpand3nodePackage extends EPackage {
EClass SWITCH_EXPRESSION_NODE = eINSTANCE.getSwitchExpressionNode();
/**
+ * The meta object literal for the '<em><b>Default</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SWITCH_EXPRESSION_NODE__DEFAULT = eINSTANCE.getSwitchExpressionNode_Default();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SWITCH_EXPRESSION_NODE__EXPRESSION = eINSTANCE.getSwitchExpressionNode_Expression();
+
+ /**
+ * The meta object literal for the '<em><b>Cases</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SWITCH_EXPRESSION_NODE__CASES = eINSTANCE.getSwitchExpressionNode_Cases();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CasePartNodeImpl <em>Case Part Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4898,6 +5578,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass CASE_PART_NODE = eINSTANCE.getCasePartNode();
/**
+ * The meta object literal for the '<em><b>Condition</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CASE_PART_NODE__CONDITION = eINSTANCE.getCasePartNode_Condition();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CASE_PART_NODE__EXPRESSION = eINSTANCE.getCasePartNode_Expression();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.OrExpressionNodeImpl <em>Or Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4908,6 +5604,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass OR_EXPRESSION_NODE = eINSTANCE.getOrExpressionNode();
/**
+ * The meta object literal for the '<em><b>Nexts</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OR_EXPRESSION_NODE__NEXTS = eINSTANCE.getOrExpressionNode_Nexts();
+
+ /**
+ * The meta object literal for the '<em><b>First</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OR_EXPRESSION_NODE__FIRST = eINSTANCE.getOrExpressionNode_First();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AndExpressionNodeImpl <em>And Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4918,6 +5630,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass AND_EXPRESSION_NODE = eINSTANCE.getAndExpressionNode();
/**
+ * The meta object literal for the '<em><b>First</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference AND_EXPRESSION_NODE__FIRST = eINSTANCE.getAndExpressionNode_First();
+
+ /**
+ * The meta object literal for the '<em><b>Nexts</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference AND_EXPRESSION_NODE__NEXTS = eINSTANCE.getAndExpressionNode_Nexts();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ImpliesExpressionNodeImpl <em>Implies Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4928,48 +5656,46 @@ public interface Xpand3nodePackage extends EPackage {
EClass IMPLIES_EXPRESSION_NODE = eINSTANCE.getImpliesExpressionNode();
/**
- * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl <em>Relational Expression Node</em>}' class.
+ * The meta object literal for the '<em><b>Nexts</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getRelationalExpressionNode()
* @generated
*/
- EClass RELATIONAL_EXPRESSION_NODE = eINSTANCE.getRelationalExpressionNode();
+ EReference IMPLIES_EXPRESSION_NODE__NEXTS = eINSTANCE.getImpliesExpressionNode_Nexts();
/**
- * The meta object literal for the '<em><b>Operator</b></em>' reference feature.
+ * The meta object literal for the '<em><b>First</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference RELATIONAL_EXPRESSION_NODE__OPERATOR = eINSTANCE.getRelationalExpressionNode_Operator();
+ EReference IMPLIES_EXPRESSION_NODE__FIRST = eINSTANCE.getImpliesExpressionNode_First();
/**
- * The meta object literal for the '<em><b>Right Operand</b></em>' reference feature.
+ * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl <em>Relational Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl
+ * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getRelationalExpressionNode()
* @generated
*/
- EReference RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND = eINSTANCE.getRelationalExpressionNode_RightOperand();
+ EClass RELATIONAL_EXPRESSION_NODE = eINSTANCE.getRelationalExpressionNode();
/**
- * The meta object literal for the '<em><b>Left Operand</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Nexts</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND = eINSTANCE.getRelationalExpressionNode_LeftOperand();
+ EReference RELATIONAL_EXPRESSION_NODE__NEXTS = eINSTANCE.getRelationalExpressionNode_Nexts();
/**
- * The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalOperatorNodeImpl <em>Relational Operator Node</em>}' class.
+ * The meta object literal for the '<em><b>First</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalOperatorNodeImpl
- * @see org.eclipse.xpand3.internal.parser.xpand3node.impl.Xpand3nodePackageImpl#getRelationalOperatorNode()
* @generated
*/
- EClass RELATIONAL_OPERATOR_NODE = eINSTANCE.getRelationalOperatorNode();
+ EReference RELATIONAL_EXPRESSION_NODE__FIRST = eINSTANCE.getRelationalExpressionNode_First();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AdditiveExpressionNodeImpl <em>Additive Expression Node</em>}' class.
@@ -4982,20 +5708,20 @@ public interface Xpand3nodePackage extends EPackage {
EClass ADDITIVE_EXPRESSION_NODE = eINSTANCE.getAdditiveExpressionNode();
/**
- * The meta object literal for the '<em><b>Right</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Nexts</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference ADDITIVE_EXPRESSION_NODE__RIGHT = eINSTANCE.getAdditiveExpressionNode_Right();
+ EReference ADDITIVE_EXPRESSION_NODE__NEXTS = eINSTANCE.getAdditiveExpressionNode_Nexts();
/**
- * The meta object literal for the '<em><b>Left</b></em>' reference feature.
+ * The meta object literal for the '<em><b>First</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference ADDITIVE_EXPRESSION_NODE__LEFT = eINSTANCE.getAdditiveExpressionNode_Left();
+ EReference ADDITIVE_EXPRESSION_NODE__FIRST = eINSTANCE.getAdditiveExpressionNode_First();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.MultiplicativeExpressionNodeImpl <em>Multiplicative Expression Node</em>}' class.
@@ -5008,20 +5734,20 @@ public interface Xpand3nodePackage extends EPackage {
EClass MULTIPLICATIVE_EXPRESSION_NODE = eINSTANCE.getMultiplicativeExpressionNode();
/**
- * The meta object literal for the '<em><b>Left</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Nexts</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference MULTIPLICATIVE_EXPRESSION_NODE__LEFT = eINSTANCE.getMultiplicativeExpressionNode_Left();
+ EReference MULTIPLICATIVE_EXPRESSION_NODE__NEXTS = eINSTANCE.getMultiplicativeExpressionNode_Nexts();
/**
- * The meta object literal for the '<em><b>Right</b></em>' reference feature.
+ * The meta object literal for the '<em><b>First</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference MULTIPLICATIVE_EXPRESSION_NODE__RIGHT = eINSTANCE.getMultiplicativeExpressionNode_Right();
+ EReference MULTIPLICATIVE_EXPRESSION_NODE__FIRST = eINSTANCE.getMultiplicativeExpressionNode_First();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.UnaryExpressionNodeImpl <em>Unary Expression Node</em>}' class.
@@ -5088,6 +5814,14 @@ public interface Xpand3nodePackage extends EPackage {
EClass PARANTHESIZED_EXPRESSION_NODE = eINSTANCE.getParanthesizedExpressionNode();
/**
+ * The meta object literal for the '<em><b>Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARANTHESIZED_EXPRESSION_NODE__EXPRESSION = eINSTANCE.getParanthesizedExpressionNode_Expression();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.GlobalVarExpressionNodeImpl <em>Global Var Expression Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -5108,12 +5842,12 @@ public interface Xpand3nodePackage extends EPackage {
EClass FEATURE_CALL_NODE = eINSTANCE.getFeatureCallNode();
/**
- * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Param List</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference FEATURE_CALL_NODE__TYPE = eINSTANCE.getFeatureCallNode_Type();
+ EReference FEATURE_CALL_NODE__PARAM_LIST = eINSTANCE.getFeatureCallNode_ParamList();
/**
* The meta object literal for the '<em><b>Name</b></em>' reference feature.
@@ -5124,12 +5858,12 @@ public interface Xpand3nodePackage extends EPackage {
EReference FEATURE_CALL_NODE__NAME = eINSTANCE.getFeatureCallNode_Name();
/**
- * The meta object literal for the '<em><b>Param List</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference FEATURE_CALL_NODE__PARAM_LIST = eINSTANCE.getFeatureCallNode_ParamList();
+ EReference FEATURE_CALL_NODE__TYPE = eINSTANCE.getFeatureCallNode_Type();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ListLiteralNodeImpl <em>List Literal Node</em>}' class.
@@ -5142,6 +5876,14 @@ public interface Xpand3nodePackage extends EPackage {
EClass LIST_LITERAL_NODE = eINSTANCE.getListLiteralNode();
/**
+ * The meta object literal for the '<em><b>Elements</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LIST_LITERAL_NODE__ELEMENTS = eINSTANCE.getListLiteralNode_Elements();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ConstructorCallNodeImpl <em>Constructor Call Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -5192,6 +5934,30 @@ public interface Xpand3nodePackage extends EPackage {
EClass COLLECTION_EXPRESSION_NODE = eINSTANCE.getCollectionExpressionNode();
/**
+ * The meta object literal for the '<em><b>Variable</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLECTION_EXPRESSION_NODE__VARIABLE = eINSTANCE.getCollectionExpressionNode_Variable();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLECTION_EXPRESSION_NODE__EXPRESSION = eINSTANCE.getCollectionExpressionNode_Expression();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLECTION_EXPRESSION_NODE__TYPE = eINSTANCE.getCollectionExpressionNode_Type();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DeclaredParameterListNodeImpl <em>Declared Parameter List Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -5220,20 +5986,20 @@ public interface Xpand3nodePackage extends EPackage {
EClass DECLARED_PARAMETER_NODE = eINSTANCE.getDeclaredParameterNode();
/**
- * The meta object literal for the '<em><b>Name</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Ptype</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference DECLARED_PARAMETER_NODE__NAME = eINSTANCE.getDeclaredParameterNode_Name();
+ EReference DECLARED_PARAMETER_NODE__PTYPE = eINSTANCE.getDeclaredParameterNode_Ptype();
/**
- * The meta object literal for the '<em><b>Ptype</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Name</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference DECLARED_PARAMETER_NODE__PTYPE = eINSTANCE.getDeclaredParameterNode_Ptype();
+ EReference DECLARED_PARAMETER_NODE__NAME = eINSTANCE.getDeclaredParameterNode_Name();
/**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ParameterListNodeImpl <em>Parameter List Node</em>}' class.
@@ -5264,6 +6030,22 @@ public interface Xpand3nodePackage extends EPackage {
EClass COLLECTION_TYPE_NODE = eINSTANCE.getCollectionTypeNode();
/**
+ * The meta object literal for the '<em><b>Collection Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLECTION_TYPE_NODE__COLLECTION_TYPE = eINSTANCE.getCollectionTypeNode_CollectionType();
+
+ /**
+ * The meta object literal for the '<em><b>Element Type</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COLLECTION_TYPE_NODE__ELEMENT_TYPE = eINSTANCE.getCollectionTypeNode_ElementType();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SimpleTypeNodeImpl <em>Simple Type Node</em>}' class.
* <!-- 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 347629a..4060ed9 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,16 +2,25 @@
* <copyright>
* </copyright>
*
- * $Id: AdditiveExpressionNodeImpl.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: AdditiveExpressionNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.ecore.EClass;
+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.AdditiveExpressionNode;
@@ -24,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.AdditiveExpressionNodeImpl#getLeft <em>Left</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AdditiveExpressionNodeImpl#getRight <em>Right</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AdditiveExpressionNodeImpl#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AdditiveExpressionNodeImpl#getFirst <em>First</em>}</li>
* </ul>
* </p>
*
@@ -33,23 +42,24 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements AdditiveExpressionNode {
/**
- * The cached value of the '{@link #getLeft() <em>Left</em>}' reference.
+ * The cached value of the '{@link #getNexts() <em>Nexts</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getLeft()
+ * @see #getNexts()
* @generated
* @ordered
*/
- protected CompositeNode left;
+ protected EList<CompositeNode> nexts;
+
/**
- * The cached value of the '{@link #getRight() <em>Right</em>}' reference.
+ * The cached value of the '{@link #getFirst() <em>First</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getRight()
+ * @see #getFirst()
* @generated
* @ordered
*/
- protected CompositeNode right;
+ protected CompositeNode first;
/**
* <!-- begin-user-doc -->
@@ -75,37 +85,11 @@ public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements Add
* <!-- 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));
- }
+ public EList<CompositeNode> getNexts() {
+ if (nexts == null) {
+ nexts = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__NEXTS);
}
- 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));
+ return nexts;
}
/**
@@ -113,16 +97,16 @@ public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements Add
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getLeft() {
- if (left != null && left.eIsProxy()) {
- InternalEObject oldLeft = (InternalEObject)left;
- left = (CompositeNode)eResolveProxy(oldLeft);
- if (left != oldLeft) {
+ public CompositeNode getFirst() {
+ if (first != null && first.eIsProxy()) {
+ InternalEObject oldFirst = (InternalEObject)first;
+ first = (CompositeNode)eResolveProxy(oldFirst);
+ if (first != oldFirst) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT, oldLeft, left));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__FIRST, oldFirst, first));
}
}
- return left;
+ return first;
}
/**
@@ -130,8 +114,8 @@ public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements Add
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetLeft() {
- return left;
+ public CompositeNode basicGetFirst() {
+ return first;
}
/**
@@ -139,11 +123,11 @@ public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements Add
* <!-- end-user-doc -->
* @generated
*/
- public void setLeft(CompositeNode newLeft) {
- CompositeNode oldLeft = left;
- left = newLeft;
+ public void setFirst(CompositeNode newFirst) {
+ CompositeNode oldFirst = first;
+ first = newFirst;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT, oldLeft, left));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__FIRST, oldFirst, first));
}
/**
@@ -154,12 +138,11 @@ public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements Add
@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();
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__NEXTS:
+ return getNexts();
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__FIRST:
+ if (resolve) return getFirst();
+ return basicGetFirst();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -169,14 +152,16 @@ public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements Add
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT:
- setLeft((CompositeNode)newValue);
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ getNexts().addAll((Collection<? extends CompositeNode>)newValue);
return;
- case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__RIGHT:
- setRight((CompositeNode)newValue);
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -190,11 +175,11 @@ public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements Add
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__LEFT:
- setLeft((CompositeNode)null);
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
return;
- case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__RIGHT:
- setRight((CompositeNode)null);
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)null);
return;
}
super.eUnset(featureID);
@@ -208,10 +193,10 @@ public class AdditiveExpressionNodeImpl extends CompositeNodeImpl implements Add
@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;
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__NEXTS:
+ return nexts != null && !nexts.isEmpty();
+ case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE__FIRST:
+ return first != null;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AndExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AndExpressionNodeImpl.java
index b1729af..7717cfd 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AndExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AndExpressionNodeImpl.java
@@ -2,11 +2,24 @@
* <copyright>
* </copyright>
*
- * $Id: AndExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: AndExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 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;
@@ -18,12 +31,37 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>And Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AndExpressionNodeImpl#getFirst <em>First</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.AndExpressionNodeImpl#getNexts <em>Nexts</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class AndExpressionNodeImpl extends CompositeNodeImpl implements AndExpressionNode {
/**
+ * The cached value of the '{@link #getFirst() <em>First</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFirst()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode first;
+
+ /**
+ * The cached value of the '{@link #getNexts() <em>Nexts</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNexts()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> nexts;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +80,125 @@ public class AndExpressionNodeImpl extends CompositeNodeImpl implements AndExpre
return Xpand3nodePackage.Literals.AND_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getFirst() {
+ if (first != null && first.eIsProxy()) {
+ InternalEObject oldFirst = (InternalEObject)first;
+ first = (CompositeNode)eResolveProxy(oldFirst);
+ if (first != oldFirst) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.AND_EXPRESSION_NODE__FIRST, oldFirst, first));
+ }
+ }
+ return first;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetFirst() {
+ return first;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFirst(CompositeNode newFirst) {
+ CompositeNode oldFirst = first;
+ first = newFirst;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.AND_EXPRESSION_NODE__FIRST, oldFirst, first));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getNexts() {
+ if (nexts == null) {
+ nexts = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.AND_EXPRESSION_NODE__NEXTS);
+ }
+ return nexts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.AND_EXPRESSION_NODE__FIRST:
+ if (resolve) return getFirst();
+ return basicGetFirst();
+ case Xpand3nodePackage.AND_EXPRESSION_NODE__NEXTS:
+ return getNexts();
+ }
+ 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.AND_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.AND_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ getNexts().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.AND_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.AND_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.AND_EXPRESSION_NODE__FIRST:
+ return first != null;
+ case Xpand3nodePackage.AND_EXPRESSION_NODE__NEXTS:
+ return nexts != null && !nexts.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
} //AndExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AroundNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AroundNodeImpl.java
index 6d1eb59..65ae9c2 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AroundNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/AroundNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: AroundNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: AroundNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/BooleanLiteralNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/BooleanLiteralNodeImpl.java
index f34fa8a..930b515 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/BooleanLiteralNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/BooleanLiteralNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: BooleanLiteralNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: BooleanLiteralNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CasePartNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CasePartNodeImpl.java
index 2e37298..1bf29d2 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CasePartNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CasePartNodeImpl.java
@@ -2,11 +2,18 @@
* <copyright>
* </copyright>
*
- * $Id: CasePartNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: CasePartNodeImpl.java,v 1.3 2008/03/13 08:40:01 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;
@@ -18,12 +25,37 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Case Part Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CasePartNodeImpl#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CasePartNodeImpl#getExpression <em>Expression</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class CasePartNodeImpl extends CompositeNodeImpl implements CasePartNode {
/**
+ * The cached value of the '{@link #getCondition() <em>Condition</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCondition()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode condition;
+
+ /**
+ * 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 +74,150 @@ public class CasePartNodeImpl extends CompositeNodeImpl implements CasePartNode
return Xpand3nodePackage.Literals.CASE_PART_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getCondition() {
+ if (condition != null && condition.eIsProxy()) {
+ InternalEObject oldCondition = (InternalEObject)condition;
+ condition = (CompositeNode)eResolveProxy(oldCondition);
+ if (condition != oldCondition) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.CASE_PART_NODE__CONDITION, oldCondition, condition));
+ }
+ }
+ return condition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetCondition() {
+ return condition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCondition(CompositeNode newCondition) {
+ CompositeNode oldCondition = condition;
+ condition = newCondition;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.CASE_PART_NODE__CONDITION, oldCondition, condition));
+ }
+
+ /**
+ * <!-- 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.CASE_PART_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.CASE_PART_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.CASE_PART_NODE__CONDITION:
+ if (resolve) return getCondition();
+ return basicGetCondition();
+ case Xpand3nodePackage.CASE_PART_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.CASE_PART_NODE__CONDITION:
+ setCondition((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.CASE_PART_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.CASE_PART_NODE__CONDITION:
+ setCondition((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.CASE_PART_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.CASE_PART_NODE__CONDITION:
+ return condition != null;
+ case Xpand3nodePackage.CASE_PART_NODE__EXPRESSION:
+ return expression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //CasePartNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CastedExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CastedExpressionNodeImpl.java
index 3edfc41..fc2e2c3 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CastedExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CastedExpressionNodeImpl.java
@@ -2,11 +2,18 @@
* <copyright>
* </copyright>
*
- * $Id: CastedExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: CastedExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 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;
@@ -18,12 +25,37 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Casted Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CastedExpressionNodeImpl#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CastedExpressionNodeImpl#getType <em>Type</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class CastedExpressionNodeImpl extends CompositeNodeImpl implements CastedExpressionNode {
/**
+ * The cached value of the '{@link #getTarget() <em>Target</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTarget()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode target;
+
+ /**
+ * 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
@@ -42,4 +74,150 @@ public class CastedExpressionNodeImpl extends CompositeNodeImpl implements Caste
return Xpand3nodePackage.Literals.CASTED_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getTarget() {
+ if (target != null && target.eIsProxy()) {
+ InternalEObject oldTarget = (InternalEObject)target;
+ target = (CompositeNode)eResolveProxy(oldTarget);
+ if (target != oldTarget) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.CASTED_EXPRESSION_NODE__TARGET, oldTarget, target));
+ }
+ }
+ return target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetTarget() {
+ return target;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTarget(CompositeNode newTarget) {
+ CompositeNode oldTarget = target;
+ target = newTarget;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.CASTED_EXPRESSION_NODE__TARGET, oldTarget, target));
+ }
+
+ /**
+ * <!-- 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.CASTED_EXPRESSION_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.CASTED_EXPRESSION_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.CASTED_EXPRESSION_NODE__TARGET:
+ if (resolve) return getTarget();
+ return basicGetTarget();
+ case Xpand3nodePackage.CASTED_EXPRESSION_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.CASTED_EXPRESSION_NODE__TARGET:
+ setTarget((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.CASTED_EXPRESSION_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.CASTED_EXPRESSION_NODE__TARGET:
+ setTarget((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.CASTED_EXPRESSION_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.CASTED_EXPRESSION_NODE__TARGET:
+ return target != null;
+ case Xpand3nodePackage.CASTED_EXPRESSION_NODE__TYPE:
+ return type != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //CastedExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ChainExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ChainExpressionNodeImpl.java
index 473c2af..89e3469 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ChainExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ChainExpressionNodeImpl.java
@@ -2,11 +2,24 @@
* <copyright>
* </copyright>
*
- * $Id: ChainExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ChainExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 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;
@@ -18,12 +31,37 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Chain Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ChainExpressionNodeImpl#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ChainExpressionNodeImpl#getFirst <em>First</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ChainExpressionNodeImpl extends CompositeNodeImpl implements ChainExpressionNode {
/**
+ * The cached value of the '{@link #getNexts() <em>Nexts</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNexts()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> nexts;
+
+ /**
+ * The cached value of the '{@link #getFirst() <em>First</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFirst()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode first;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +80,125 @@ public class ChainExpressionNodeImpl extends CompositeNodeImpl implements ChainE
return Xpand3nodePackage.Literals.CHAIN_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getNexts() {
+ if (nexts == null) {
+ nexts = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.CHAIN_EXPRESSION_NODE__NEXTS);
+ }
+ return nexts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getFirst() {
+ if (first != null && first.eIsProxy()) {
+ InternalEObject oldFirst = (InternalEObject)first;
+ first = (CompositeNode)eResolveProxy(oldFirst);
+ if (first != oldFirst) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.CHAIN_EXPRESSION_NODE__FIRST, oldFirst, first));
+ }
+ }
+ return first;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetFirst() {
+ return first;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFirst(CompositeNode newFirst) {
+ CompositeNode oldFirst = first;
+ first = newFirst;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.CHAIN_EXPRESSION_NODE__FIRST, oldFirst, first));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.CHAIN_EXPRESSION_NODE__NEXTS:
+ return getNexts();
+ case Xpand3nodePackage.CHAIN_EXPRESSION_NODE__FIRST:
+ if (resolve) return getFirst();
+ return basicGetFirst();
+ }
+ 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.CHAIN_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ getNexts().addAll((Collection<? extends CompositeNode>)newValue);
+ return;
+ case Xpand3nodePackage.CHAIN_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.CHAIN_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ return;
+ case Xpand3nodePackage.CHAIN_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.CHAIN_EXPRESSION_NODE__NEXTS:
+ return nexts != null && !nexts.isEmpty();
+ case Xpand3nodePackage.CHAIN_EXPRESSION_NODE__FIRST:
+ return first != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ChainExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CheckNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CheckNodeImpl.java
index 2f94728..7696076 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CheckNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CheckNodeImpl.java
@@ -2,11 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: CheckNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: CheckNodeImpl.java,v 1.3 2008/03/13 08:40:01 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.LeafNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
@@ -18,12 +26,81 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Check Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl#getError <em>Error</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl#getMessage <em>Message</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl#getIfExpression <em>If Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl#getWarning <em>Warning</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CheckNodeImpl#getConstraint <em>Constraint</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class CheckNodeImpl extends CompositeNodeImpl implements CheckNode {
/**
+ * 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 #getError() <em>Error</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getError()
+ * @generated
+ * @ordered
+ */
+ protected LeafNode error;
+
+ /**
+ * The cached value of the '{@link #getMessage() <em>Message</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMessage()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode message;
+
+ /**
+ * The cached value of the '{@link #getIfExpression() <em>If Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIfExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode ifExpression;
+
+ /**
+ * The cached value of the '{@link #getWarning() <em>Warning</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWarning()
+ * @generated
+ * @ordered
+ */
+ protected LeafNode warning;
+
+ /**
+ * The cached value of the '{@link #getConstraint() <em>Constraint</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConstraint()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode constraint;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +119,346 @@ public class CheckNodeImpl extends CompositeNodeImpl implements CheckNode {
return Xpand3nodePackage.Literals.CHECK_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.CHECK_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.CHECK_NODE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LeafNode getError() {
+ if (error != null && error.eIsProxy()) {
+ InternalEObject oldError = (InternalEObject)error;
+ error = (LeafNode)eResolveProxy(oldError);
+ if (error != oldError) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.CHECK_NODE__ERROR, oldError, error));
+ }
+ }
+ return error;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LeafNode basicGetError() {
+ return error;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setError(LeafNode newError) {
+ LeafNode oldError = error;
+ error = newError;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.CHECK_NODE__ERROR, oldError, error));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getMessage() {
+ if (message != null && message.eIsProxy()) {
+ InternalEObject oldMessage = (InternalEObject)message;
+ message = (CompositeNode)eResolveProxy(oldMessage);
+ if (message != oldMessage) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.CHECK_NODE__MESSAGE, oldMessage, message));
+ }
+ }
+ return message;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetMessage() {
+ return message;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMessage(CompositeNode newMessage) {
+ CompositeNode oldMessage = message;
+ message = newMessage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.CHECK_NODE__MESSAGE, oldMessage, message));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getIfExpression() {
+ if (ifExpression != null && ifExpression.eIsProxy()) {
+ InternalEObject oldIfExpression = (InternalEObject)ifExpression;
+ ifExpression = (CompositeNode)eResolveProxy(oldIfExpression);
+ if (ifExpression != oldIfExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.CHECK_NODE__IF_EXPRESSION, oldIfExpression, ifExpression));
+ }
+ }
+ return ifExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetIfExpression() {
+ return ifExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIfExpression(CompositeNode newIfExpression) {
+ CompositeNode oldIfExpression = ifExpression;
+ ifExpression = newIfExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.CHECK_NODE__IF_EXPRESSION, oldIfExpression, ifExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LeafNode getWarning() {
+ if (warning != null && warning.eIsProxy()) {
+ InternalEObject oldWarning = (InternalEObject)warning;
+ warning = (LeafNode)eResolveProxy(oldWarning);
+ if (warning != oldWarning) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.CHECK_NODE__WARNING, oldWarning, warning));
+ }
+ }
+ return warning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LeafNode basicGetWarning() {
+ return warning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWarning(LeafNode newWarning) {
+ LeafNode oldWarning = warning;
+ warning = newWarning;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.CHECK_NODE__WARNING, oldWarning, warning));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getConstraint() {
+ if (constraint != null && constraint.eIsProxy()) {
+ InternalEObject oldConstraint = (InternalEObject)constraint;
+ constraint = (CompositeNode)eResolveProxy(oldConstraint);
+ if (constraint != oldConstraint) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.CHECK_NODE__CONSTRAINT, oldConstraint, constraint));
+ }
+ }
+ return constraint;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetConstraint() {
+ return constraint;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConstraint(CompositeNode newConstraint) {
+ CompositeNode oldConstraint = constraint;
+ constraint = newConstraint;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.CHECK_NODE__CONSTRAINT, oldConstraint, constraint));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.CHECK_NODE__TYPE:
+ if (resolve) return getType();
+ return basicGetType();
+ case Xpand3nodePackage.CHECK_NODE__ERROR:
+ if (resolve) return getError();
+ return basicGetError();
+ case Xpand3nodePackage.CHECK_NODE__MESSAGE:
+ if (resolve) return getMessage();
+ return basicGetMessage();
+ case Xpand3nodePackage.CHECK_NODE__IF_EXPRESSION:
+ if (resolve) return getIfExpression();
+ return basicGetIfExpression();
+ case Xpand3nodePackage.CHECK_NODE__WARNING:
+ if (resolve) return getWarning();
+ return basicGetWarning();
+ case Xpand3nodePackage.CHECK_NODE__CONSTRAINT:
+ if (resolve) return getConstraint();
+ return basicGetConstraint();
+ }
+ 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.CHECK_NODE__TYPE:
+ setType((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__ERROR:
+ setError((LeafNode)newValue);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__MESSAGE:
+ setMessage((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__IF_EXPRESSION:
+ setIfExpression((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__WARNING:
+ setWarning((LeafNode)newValue);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__CONSTRAINT:
+ setConstraint((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.CHECK_NODE__TYPE:
+ setType((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__ERROR:
+ setError((LeafNode)null);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__MESSAGE:
+ setMessage((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__IF_EXPRESSION:
+ setIfExpression((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__WARNING:
+ setWarning((LeafNode)null);
+ return;
+ case Xpand3nodePackage.CHECK_NODE__CONSTRAINT:
+ setConstraint((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.CHECK_NODE__TYPE:
+ return type != null;
+ case Xpand3nodePackage.CHECK_NODE__ERROR:
+ return error != null;
+ case Xpand3nodePackage.CHECK_NODE__MESSAGE:
+ return message != null;
+ case Xpand3nodePackage.CHECK_NODE__IF_EXPRESSION:
+ return ifExpression != null;
+ case Xpand3nodePackage.CHECK_NODE__WARNING:
+ return warning != null;
+ case Xpand3nodePackage.CHECK_NODE__CONSTRAINT:
+ return constraint != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //CheckNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionExpressionNodeImpl.java
index 54cacf9..de5c57a 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionExpressionNodeImpl.java
@@ -2,12 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: CollectionExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: CollectionExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 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.CollectionExpressionNode;
@@ -18,12 +22,46 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Collection Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CollectionExpressionNodeImpl#getVariable <em>Variable</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CollectionExpressionNodeImpl#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CollectionExpressionNodeImpl#getType <em>Type</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class CollectionExpressionNodeImpl extends CompositeNodeImpl implements CollectionExpressionNode {
/**
+ * The cached value of the '{@link #getVariable() <em>Variable</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVariable()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode variable;
+ /**
+ * 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 #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
@@ -42,4 +80,199 @@ public class CollectionExpressionNodeImpl extends CompositeNodeImpl implements C
return Xpand3nodePackage.Literals.COLLECTION_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getVariable() {
+ if (variable != null && variable.eIsProxy()) {
+ InternalEObject oldVariable = (InternalEObject)variable;
+ variable = (CompositeNode)eResolveProxy(oldVariable);
+ if (variable != oldVariable) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.COLLECTION_EXPRESSION_NODE__VARIABLE, oldVariable, variable));
+ }
+ }
+ return variable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetVariable() {
+ return variable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setVariable(CompositeNode newVariable) {
+ CompositeNode oldVariable = variable;
+ variable = newVariable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.COLLECTION_EXPRESSION_NODE__VARIABLE, oldVariable, variable));
+ }
+
+ /**
+ * <!-- 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.COLLECTION_EXPRESSION_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.COLLECTION_EXPRESSION_NODE__EXPRESSION, oldExpression, expression));
+ }
+
+ /**
+ * <!-- 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.COLLECTION_EXPRESSION_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.COLLECTION_EXPRESSION_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.COLLECTION_EXPRESSION_NODE__VARIABLE:
+ if (resolve) return getVariable();
+ return basicGetVariable();
+ case Xpand3nodePackage.COLLECTION_EXPRESSION_NODE__EXPRESSION:
+ if (resolve) return getExpression();
+ return basicGetExpression();
+ case Xpand3nodePackage.COLLECTION_EXPRESSION_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.COLLECTION_EXPRESSION_NODE__VARIABLE:
+ setVariable((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.COLLECTION_EXPRESSION_NODE__EXPRESSION:
+ setExpression((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.COLLECTION_EXPRESSION_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.COLLECTION_EXPRESSION_NODE__VARIABLE:
+ setVariable((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.COLLECTION_EXPRESSION_NODE__EXPRESSION:
+ setExpression((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.COLLECTION_EXPRESSION_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.COLLECTION_EXPRESSION_NODE__VARIABLE:
+ return variable != null;
+ case Xpand3nodePackage.COLLECTION_EXPRESSION_NODE__EXPRESSION:
+ return expression != null;
+ case Xpand3nodePackage.COLLECTION_EXPRESSION_NODE__TYPE:
+ return type != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //CollectionExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionTypeNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionTypeNodeImpl.java
index b962b43..a38ed54 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionTypeNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/CollectionTypeNodeImpl.java
@@ -2,11 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: CollectionTypeNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: CollectionTypeNodeImpl.java,v 1.3 2008/03/13 08:40:01 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.LeafNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
@@ -18,12 +26,37 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Collection Type Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CollectionTypeNodeImpl#getCollectionType <em>Collection Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.CollectionTypeNodeImpl#getElementType <em>Element Type</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class CollectionTypeNodeImpl extends CompositeNodeImpl implements CollectionTypeNode {
/**
+ * The cached value of the '{@link #getCollectionType() <em>Collection Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCollectionType()
+ * @generated
+ * @ordered
+ */
+ protected LeafNode collectionType;
+
+ /**
+ * The cached value of the '{@link #getElementType() <em>Element Type</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElementType()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode elementType;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +75,150 @@ public class CollectionTypeNodeImpl extends CompositeNodeImpl implements Collect
return Xpand3nodePackage.Literals.COLLECTION_TYPE_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LeafNode getCollectionType() {
+ if (collectionType != null && collectionType.eIsProxy()) {
+ InternalEObject oldCollectionType = (InternalEObject)collectionType;
+ collectionType = (LeafNode)eResolveProxy(oldCollectionType);
+ if (collectionType != oldCollectionType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.COLLECTION_TYPE_NODE__COLLECTION_TYPE, oldCollectionType, collectionType));
+ }
+ }
+ return collectionType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LeafNode basicGetCollectionType() {
+ return collectionType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCollectionType(LeafNode newCollectionType) {
+ LeafNode oldCollectionType = collectionType;
+ collectionType = newCollectionType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.COLLECTION_TYPE_NODE__COLLECTION_TYPE, oldCollectionType, collectionType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getElementType() {
+ if (elementType != null && elementType.eIsProxy()) {
+ InternalEObject oldElementType = (InternalEObject)elementType;
+ elementType = (CompositeNode)eResolveProxy(oldElementType);
+ if (elementType != oldElementType) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.COLLECTION_TYPE_NODE__ELEMENT_TYPE, oldElementType, elementType));
+ }
+ }
+ return elementType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetElementType() {
+ return elementType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setElementType(CompositeNode newElementType) {
+ CompositeNode oldElementType = elementType;
+ elementType = newElementType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.COLLECTION_TYPE_NODE__ELEMENT_TYPE, oldElementType, elementType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.COLLECTION_TYPE_NODE__COLLECTION_TYPE:
+ if (resolve) return getCollectionType();
+ return basicGetCollectionType();
+ case Xpand3nodePackage.COLLECTION_TYPE_NODE__ELEMENT_TYPE:
+ if (resolve) return getElementType();
+ return basicGetElementType();
+ }
+ 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.COLLECTION_TYPE_NODE__COLLECTION_TYPE:
+ setCollectionType((LeafNode)newValue);
+ return;
+ case Xpand3nodePackage.COLLECTION_TYPE_NODE__ELEMENT_TYPE:
+ setElementType((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.COLLECTION_TYPE_NODE__COLLECTION_TYPE:
+ setCollectionType((LeafNode)null);
+ return;
+ case Xpand3nodePackage.COLLECTION_TYPE_NODE__ELEMENT_TYPE:
+ setElementType((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.COLLECTION_TYPE_NODE__COLLECTION_TYPE:
+ return collectionType != null;
+ case Xpand3nodePackage.COLLECTION_TYPE_NODE__ELEMENT_TYPE:
+ return elementType != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //CollectionTypeNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ConstructorCallNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ConstructorCallNodeImpl.java
index d05b699..24fc557 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ConstructorCallNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ConstructorCallNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ConstructorCallNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ConstructorCallNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterListNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterListNodeImpl.java
index 0251aa5..5acff42 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterListNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterListNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DeclaredParameterListNodeImpl.java,v 1.3 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: DeclaredParameterListNodeImpl.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java
index db60870..7451ee5 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DeclaredParameterNodeImpl.java,v 1.4 2008/03/07 11:11:15 jkohnlein Exp $
+ * $Id: DeclaredParameterNodeImpl.java,v 1.5 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -27,8 +27,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.DeclaredParameterNodeImpl#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DeclaredParameterNodeImpl#getPtype <em>Ptype</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DeclaredParameterNodeImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -36,24 +36,24 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements DeclaredParameterNode {
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' reference.
+ * The cached value of the '{@link #getPtype() <em>Ptype</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getName()
+ * @see #getPtype()
* @generated
* @ordered
*/
- protected CompositeNode name;
+ protected CompositeNode ptype;
/**
- * The cached value of the '{@link #getPtype() <em>Ptype</em>}' reference.
+ * The cached value of the '{@link #getName() <em>Name</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getPtype()
+ * @see #getName()
* @generated
* @ordered
*/
- protected CompositeNode ptype;
+ protected CompositeNode name;
/**
* <!-- begin-user-doc -->
@@ -79,16 +79,16 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getName() {
- if (name != null && name.eIsProxy()) {
- InternalEObject oldName = (InternalEObject)name;
- name = (CompositeNode)eResolveProxy(oldName);
- if (name != oldName) {
+ public CompositeNode getPtype() {
+ if (ptype != null && ptype.eIsProxy()) {
+ InternalEObject oldPtype = (InternalEObject)ptype;
+ ptype = (CompositeNode)eResolveProxy(oldPtype);
+ if (ptype != oldPtype) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME, oldName, name));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE, oldPtype, ptype));
}
}
- return name;
+ return ptype;
}
/**
@@ -96,8 +96,8 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetName() {
- return name;
+ public CompositeNode basicGetPtype() {
+ return ptype;
}
/**
@@ -105,11 +105,11 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public void setName(CompositeNode newName) {
- CompositeNode oldName = name;
- name = newName;
+ public void setPtype(CompositeNode newPtype) {
+ CompositeNode oldPtype = ptype;
+ ptype = newPtype;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME, oldName, name));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE, oldPtype, ptype));
}
/**
@@ -117,16 +117,16 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getPtype() {
- if (ptype != null && ptype.eIsProxy()) {
- InternalEObject oldPtype = (InternalEObject)ptype;
- ptype = (CompositeNode)eResolveProxy(oldPtype);
- if (ptype != oldPtype) {
+ 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.DECLARED_PARAMETER_NODE__PTYPE, oldPtype, ptype));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME, oldName, name));
}
}
- return ptype;
+ return name;
}
/**
@@ -134,8 +134,8 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetPtype() {
- return ptype;
+ public CompositeNode basicGetName() {
+ return name;
}
/**
@@ -143,11 +143,11 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public void setPtype(CompositeNode newPtype) {
- CompositeNode oldPtype = ptype;
- ptype = newPtype;
+ public void setName(CompositeNode newName) {
+ CompositeNode oldName = name;
+ name = newName;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE, oldPtype, ptype));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME, oldName, name));
}
/**
@@ -158,12 +158,12 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
- if (resolve) return getName();
- return basicGetName();
case Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE:
if (resolve) return getPtype();
return basicGetPtype();
+ case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
+ if (resolve) return getName();
+ return basicGetName();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -176,12 +176,12 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
- setName((CompositeNode)newValue);
- return;
case Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE:
setPtype((CompositeNode)newValue);
return;
+ case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
+ setName((CompositeNode)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -194,12 +194,12 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
- setName((CompositeNode)null);
- return;
case Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE:
setPtype((CompositeNode)null);
return;
+ case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
+ setName((CompositeNode)null);
+ return;
}
super.eUnset(featureID);
}
@@ -212,10 +212,10 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
- return name != null;
case Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE:
return ptype != null;
+ case Xpand3nodePackage.DECLARED_PARAMETER_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/DefinitionAroundNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DefinitionAroundNodeImpl.java
index 66e53e9..7e10e7e 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: DefinitionAroundNodeImpl.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: DefinitionAroundNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
@@ -43,6 +46,7 @@ public class DefinitionAroundNodeImpl extends CompositeNodeImpl implements Defin
* @ordered
*/
protected CompositeNode type;
+
/**
* The cached value of the '{@link #getPointcut() <em>Pointcut</em>}' reference.
* <!-- begin-user-doc -->
@@ -52,6 +56,7 @@ public class DefinitionAroundNodeImpl extends CompositeNodeImpl implements Defin
* @ordered
*/
protected CompositeNode pointcut;
+
/**
* The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
* <!-- begin-user-doc -->
@@ -61,6 +66,7 @@ public class DefinitionAroundNodeImpl extends CompositeNodeImpl implements Defin
* @ordered
*/
protected CompositeNode paramList;
+
/**
* The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
* <!-- begin-user-doc -->
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 845feaa..4b2400e 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.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: DefinitionNodeImpl.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -46,6 +46,7 @@ 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 -->
@@ -55,6 +56,7 @@ public class DefinitionNodeImpl extends CompositeNodeImpl implements DefinitionN
* @ordered
*/
protected CompositeNode type;
+
/**
* The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
* <!-- begin-user-doc -->
@@ -99,6 +101,44 @@ public class DefinitionNodeImpl extends CompositeNodeImpl implements DefinitionN
* <!-- 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.DEFINITION_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.DEFINITION_NODE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public CompositeNode getType() {
if (type != null && type.eIsProxy()) {
InternalEObject oldType = (InternalEObject)type;
@@ -175,44 +215,6 @@ public class DefinitionNodeImpl extends CompositeNodeImpl implements DefinitionN
* <!-- 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.DEFINITION_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.DEFINITION_NODE__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public CompositeNode getParamList() {
if (paramList != null && paramList.eIsProxy()) {
InternalEObject oldParamList = (InternalEObject)paramList;
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 20b5f9a..42d5c72 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: ElseIfStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: ElseIfStatementNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
@@ -41,6 +44,7 @@ public class ElseIfStatementNodeImpl extends CompositeNodeImpl implements ElseIf
* @ordered
*/
protected CompositeNode sequence;
+
/**
* The cached value of the '{@link #getExpression() <em>Expression</em>}' reference.
* <!-- begin-user-doc -->
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 b46e9e8..34df00e 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: ElseStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: ElseStatementNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
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 4390213..00a315f 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: ErrorStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: ErrorStatementNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
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 0161550..630f501 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: ExpandStatementNodeImpl.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: ExpandStatementNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
@@ -26,6 +29,7 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* <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#getForEachExpression <em>For Each Expression</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>
@@ -43,6 +47,7 @@ public class ExpandStatementNodeImpl extends CompositeNodeImpl implements Expand
* @ordered
*/
protected CompositeNode separator;
+
/**
* The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
* <!-- begin-user-doc -->
@@ -52,6 +57,17 @@ public class ExpandStatementNodeImpl extends CompositeNodeImpl implements Expand
* @ordered
*/
protected CompositeNode paramList;
+
+ /**
+ * The cached value of the '{@link #getForEachExpression() <em>For Each Expression</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getForEachExpression()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode forEachExpression;
+
/**
* The cached value of the '{@link #getForExpression() <em>For Expression</em>}' reference.
* <!-- begin-user-doc -->
@@ -61,6 +77,7 @@ public class ExpandStatementNodeImpl extends CompositeNodeImpl implements Expand
* @ordered
*/
protected CompositeNode forExpression;
+
/**
* The cached value of the '{@link #getName() <em>Name</em>}' reference.
* <!-- begin-user-doc -->
@@ -171,6 +188,44 @@ public class ExpandStatementNodeImpl extends CompositeNodeImpl implements Expand
* <!-- end-user-doc -->
* @generated
*/
+ public CompositeNode getForEachExpression() {
+ if (forEachExpression != null && forEachExpression.eIsProxy()) {
+ InternalEObject oldForEachExpression = (InternalEObject)forEachExpression;
+ forEachExpression = (CompositeNode)eResolveProxy(oldForEachExpression);
+ if (forEachExpression != oldForEachExpression) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EACH_EXPRESSION, oldForEachExpression, forEachExpression));
+ }
+ }
+ return forEachExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetForEachExpression() {
+ return forEachExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setForEachExpression(CompositeNode newForEachExpression) {
+ CompositeNode oldForEachExpression = forEachExpression;
+ forEachExpression = newForEachExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EACH_EXPRESSION, oldForEachExpression, forEachExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public CompositeNode getForExpression() {
if (forExpression != null && forExpression.eIsProxy()) {
InternalEObject oldForExpression = (InternalEObject)forExpression;
@@ -256,6 +311,9 @@ public class ExpandStatementNodeImpl extends CompositeNodeImpl implements Expand
case Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST:
if (resolve) return getParamList();
return basicGetParamList();
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EACH_EXPRESSION:
+ if (resolve) return getForEachExpression();
+ return basicGetForEachExpression();
case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION:
if (resolve) return getForExpression();
return basicGetForExpression();
@@ -280,6 +338,9 @@ public class ExpandStatementNodeImpl extends CompositeNodeImpl implements Expand
case Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST:
setParamList((CompositeNode)newValue);
return;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EACH_EXPRESSION:
+ setForEachExpression((CompositeNode)newValue);
+ return;
case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION:
setForExpression((CompositeNode)newValue);
return;
@@ -304,6 +365,9 @@ public class ExpandStatementNodeImpl extends CompositeNodeImpl implements Expand
case Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST:
setParamList((CompositeNode)null);
return;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EACH_EXPRESSION:
+ setForEachExpression((CompositeNode)null);
+ return;
case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION:
setForExpression((CompositeNode)null);
return;
@@ -326,6 +390,8 @@ public class ExpandStatementNodeImpl extends CompositeNodeImpl implements Expand
return separator != null;
case Xpand3nodePackage.EXPAND_STATEMENT_NODE__PARAM_LIST:
return paramList != null;
+ case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EACH_EXPRESSION:
+ return forEachExpression != null;
case Xpand3nodePackage.EXPAND_STATEMENT_NODE__FOR_EXPRESSION:
return forExpression != null;
case Xpand3nodePackage.EXPAND_STATEMENT_NODE__NAME:
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionNodeImpl.java
deleted file mode 100644
index 73a927e..0000000
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ExpressionNodeImpl.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
- */
-package org.eclipse.xpand3.internal.parser.xpand3node.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
-
-import org.eclipse.xpand3.internal.parser.xpand3node.ExpressionNode;
-import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Expression Node</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ExpressionNodeImpl extends CompositeNodeImpl implements ExpressionNode {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ExpressionNodeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return Xpand3nodePackage.Literals.EXPRESSION_NODE;
- }
-
-} //ExpressionNodeImpl
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 567fc04..4f3e595 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: ExpressionStmtNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: ExpressionStmtNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
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
index 42366f0..b5f7082 100644
--- 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
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ExtensionImportNodeImpl.java,v 1.1 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: ExtensionImportNodeImpl.java,v 1.2 2008/03/13 08:40:02 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
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 d8e9788..a2f4d3c 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.5 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: ExtensionNodeImpl.java,v 1.6 2008/03/13 08:40:02 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -157,16 +157,16 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public LeafNode getCreate() {
- if (create != null && create.eIsProxy()) {
- InternalEObject oldCreate = (InternalEObject)create;
- create = (LeafNode)eResolveProxy(oldCreate);
- if (create != oldCreate) {
+ 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.EXTENSION_NODE__CREATE, oldCreate, create));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__PARAM_LIST, oldParamList, paramList));
}
}
- return create;
+ return paramList;
}
/**
@@ -174,8 +174,8 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public LeafNode basicGetCreate() {
- return create;
+ public CompositeNode basicGetParamList() {
+ return paramList;
}
/**
@@ -183,11 +183,11 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public void setCreate(LeafNode newCreate) {
- LeafNode oldCreate = create;
- create = newCreate;
+ public void setParamList(CompositeNode newParamList) {
+ CompositeNode oldParamList = paramList;
+ paramList = newParamList;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__CREATE, oldCreate, create));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__PARAM_LIST, oldParamList, paramList));
}
/**
@@ -233,16 +233,16 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getParamList() {
- if (paramList != null && paramList.eIsProxy()) {
- InternalEObject oldParamList = (InternalEObject)paramList;
- paramList = (CompositeNode)eResolveProxy(oldParamList);
- if (paramList != oldParamList) {
+ public CompositeNode getReturnType() {
+ if (returnType != null && returnType.eIsProxy()) {
+ InternalEObject oldReturnType = (InternalEObject)returnType;
+ returnType = (CompositeNode)eResolveProxy(oldReturnType);
+ if (returnType != oldReturnType) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__PARAM_LIST, oldParamList, paramList));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__RETURN_TYPE, oldReturnType, returnType));
}
}
- return paramList;
+ return returnType;
}
/**
@@ -250,8 +250,8 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetParamList() {
- return paramList;
+ public CompositeNode basicGetReturnType() {
+ return returnType;
}
/**
@@ -259,11 +259,11 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public void setParamList(CompositeNode newParamList) {
- CompositeNode oldParamList = paramList;
- paramList = newParamList;
+ public void setReturnType(CompositeNode newReturnType) {
+ CompositeNode oldReturnType = returnType;
+ returnType = newReturnType;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__PARAM_LIST, oldParamList, paramList));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__RETURN_TYPE, oldReturnType, returnType));
}
/**
@@ -271,16 +271,16 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getExtendBody() {
- if (extendBody != null && extendBody.eIsProxy()) {
- InternalEObject oldExtendBody = (InternalEObject)extendBody;
- extendBody = (CompositeNode)eResolveProxy(oldExtendBody);
- if (extendBody != oldExtendBody) {
+ public CompositeNode getJavaReturnType() {
+ if (javaReturnType != null && javaReturnType.eIsProxy()) {
+ InternalEObject oldJavaReturnType = (InternalEObject)javaReturnType;
+ javaReturnType = (CompositeNode)eResolveProxy(oldJavaReturnType);
+ if (javaReturnType != oldJavaReturnType) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY, oldExtendBody, extendBody));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__JAVA_RETURN_TYPE, oldJavaReturnType, javaReturnType));
}
}
- return extendBody;
+ return javaReturnType;
}
/**
@@ -288,8 +288,8 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetExtendBody() {
- return extendBody;
+ public CompositeNode basicGetJavaReturnType() {
+ return javaReturnType;
}
/**
@@ -297,11 +297,11 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public void setExtendBody(CompositeNode newExtendBody) {
- CompositeNode oldExtendBody = extendBody;
- extendBody = newExtendBody;
+ public void setJavaReturnType(CompositeNode newJavaReturnType) {
+ CompositeNode oldJavaReturnType = javaReturnType;
+ javaReturnType = newJavaReturnType;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY, oldExtendBody, extendBody));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__JAVA_RETURN_TYPE, oldJavaReturnType, javaReturnType));
}
/**
@@ -309,16 +309,16 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public LeafNode getCached() {
- if (cached != null && cached.eIsProxy()) {
- InternalEObject oldCached = (InternalEObject)cached;
- cached = (LeafNode)eResolveProxy(oldCached);
- if (cached != oldCached) {
+ public LeafNode getCreate() {
+ if (create != null && create.eIsProxy()) {
+ InternalEObject oldCreate = (InternalEObject)create;
+ create = (LeafNode)eResolveProxy(oldCreate);
+ if (create != oldCreate) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__CACHED, oldCached, cached));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__CREATE, oldCreate, create));
}
}
- return cached;
+ return create;
}
/**
@@ -326,8 +326,8 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public LeafNode basicGetCached() {
- return cached;
+ public LeafNode basicGetCreate() {
+ return create;
}
/**
@@ -335,11 +335,11 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public void setCached(LeafNode newCached) {
- LeafNode oldCached = cached;
- cached = newCached;
+ public void setCreate(LeafNode newCreate) {
+ LeafNode oldCreate = create;
+ create = newCreate;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__CACHED, oldCached, cached));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__CREATE, oldCreate, create));
}
/**
@@ -347,16 +347,16 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getJavaReturnType() {
- if (javaReturnType != null && javaReturnType.eIsProxy()) {
- InternalEObject oldJavaReturnType = (InternalEObject)javaReturnType;
- javaReturnType = (CompositeNode)eResolveProxy(oldJavaReturnType);
- if (javaReturnType != oldJavaReturnType) {
+ 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.EXTENSION_NODE__JAVA_RETURN_TYPE, oldJavaReturnType, javaReturnType));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__NAME, oldName, name));
}
}
- return javaReturnType;
+ return name;
}
/**
@@ -364,8 +364,8 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetJavaReturnType() {
- return javaReturnType;
+ public CompositeNode basicGetName() {
+ return name;
}
/**
@@ -373,11 +373,11 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public void setJavaReturnType(CompositeNode newJavaReturnType) {
- CompositeNode oldJavaReturnType = javaReturnType;
- javaReturnType = newJavaReturnType;
+ public void setName(CompositeNode newName) {
+ CompositeNode oldName = name;
+ name = newName;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__JAVA_RETURN_TYPE, oldJavaReturnType, javaReturnType));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__NAME, oldName, name));
}
/**
@@ -423,16 +423,16 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getReturnType() {
- if (returnType != null && returnType.eIsProxy()) {
- InternalEObject oldReturnType = (InternalEObject)returnType;
- returnType = (CompositeNode)eResolveProxy(oldReturnType);
- if (returnType != oldReturnType) {
+ public LeafNode getCached() {
+ if (cached != null && cached.eIsProxy()) {
+ InternalEObject oldCached = (InternalEObject)cached;
+ cached = (LeafNode)eResolveProxy(oldCached);
+ if (cached != oldCached) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__RETURN_TYPE, oldReturnType, returnType));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__CACHED, oldCached, cached));
}
}
- return returnType;
+ return cached;
}
/**
@@ -440,8 +440,8 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetReturnType() {
- return returnType;
+ public LeafNode basicGetCached() {
+ return cached;
}
/**
@@ -449,11 +449,11 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public void setReturnType(CompositeNode newReturnType) {
- CompositeNode oldReturnType = returnType;
- returnType = newReturnType;
+ public void setCached(LeafNode newCached) {
+ LeafNode oldCached = cached;
+ cached = newCached;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__RETURN_TYPE, oldReturnType, returnType));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__CACHED, oldCached, cached));
}
/**
@@ -461,16 +461,16 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getName() {
- if (name != null && name.eIsProxy()) {
- InternalEObject oldName = (InternalEObject)name;
- name = (CompositeNode)eResolveProxy(oldName);
- if (name != oldName) {
+ public CompositeNode getExtendBody() {
+ if (extendBody != null && extendBody.eIsProxy()) {
+ InternalEObject oldExtendBody = (InternalEObject)extendBody;
+ extendBody = (CompositeNode)eResolveProxy(oldExtendBody);
+ if (extendBody != oldExtendBody) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__NAME, oldName, name));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY, oldExtendBody, extendBody));
}
}
- return name;
+ return extendBody;
}
/**
@@ -478,8 +478,8 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetName() {
- return name;
+ public CompositeNode basicGetExtendBody() {
+ return extendBody;
}
/**
@@ -487,11 +487,11 @@ public class ExtensionNodeImpl extends CompositeNodeImpl implements ExtensionNod
* <!-- end-user-doc -->
* @generated
*/
- public void setName(CompositeNode newName) {
- CompositeNode oldName = name;
- name = newName;
+ public void setExtendBody(CompositeNode newExtendBody) {
+ CompositeNode oldExtendBody = extendBody;
+ extendBody = newExtendBody;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__NAME, oldName, name));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.EXTENSION_NODE__EXTEND_BODY, oldExtendBody, extendBody));
}
/**
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 3d1438c..b9fad10 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.5 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: FeatureCallNodeImpl.java,v 1.6 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -27,9 +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>
*
@@ -37,34 +37,34 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCallNode {
/**
- * The cached value of the '{@link #getType() <em>Type</em>}' reference.
+ * The cached value of the '{@link #getName() <em>Name</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getType()
+ * @see #getName()
* @generated
* @ordered
*/
- protected CompositeNode type;
+ protected CompositeNode name;
/**
- * The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getParamList()
+ * @see #getType()
* @generated
* @ordered
*/
- protected CompositeNode paramList;
+ protected CompositeNode type;
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' reference.
+ * The cached value of the '{@link #getParamList() <em>Param List</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getName()
+ * @see #getParamList()
* @generated
* @ordered
*/
- protected CompositeNode name;
+ protected CompositeNode paramList;
/**
* <!-- begin-user-doc -->
@@ -90,16 +90,16 @@ 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) {
+ 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.FEATURE_CALL_NODE__TYPE, oldType, type));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FEATURE_CALL_NODE__PARAM_LIST, oldParamList, paramList));
}
}
- return type;
+ return paramList;
}
/**
@@ -107,8 +107,8 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetType() {
- return type;
+ public CompositeNode basicGetParamList() {
+ return paramList;
}
/**
@@ -116,11 +116,11 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
* <!-- end-user-doc -->
* @generated
*/
- public void setType(CompositeNode newType) {
- CompositeNode oldType = type;
- type = newType;
+ public void setParamList(CompositeNode newParamList) {
+ CompositeNode oldParamList = paramList;
+ paramList = newParamList;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FEATURE_CALL_NODE__TYPE, oldType, type));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FEATURE_CALL_NODE__PARAM_LIST, oldParamList, paramList));
}
/**
@@ -166,16 +166,16 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getParamList() {
- if (paramList != null && paramList.eIsProxy()) {
- InternalEObject oldParamList = (InternalEObject)paramList;
- paramList = (CompositeNode)eResolveProxy(oldParamList);
- if (paramList != oldParamList) {
+ 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__PARAM_LIST, oldParamList, paramList));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FEATURE_CALL_NODE__TYPE, oldType, type));
}
}
- return paramList;
+ return type;
}
/**
@@ -183,8 +183,8 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetParamList() {
- return paramList;
+ public CompositeNode basicGetType() {
+ return type;
}
/**
@@ -192,11 +192,11 @@ public class FeatureCallNodeImpl extends CompositeNodeImpl implements FeatureCal
* <!-- end-user-doc -->
* @generated
*/
- public void setParamList(CompositeNode newParamList) {
- CompositeNode oldParamList = paramList;
- paramList = newParamList;
+ public void setType(CompositeNode newType) {
+ CompositeNode oldType = type;
+ type = newType;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FEATURE_CALL_NODE__PARAM_LIST, oldParamList, paramList));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FEATURE_CALL_NODE__TYPE, oldType, type));
}
/**
@@ -207,15 +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);
}
@@ -228,15 +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);
+ return;
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);
}
@@ -249,15 +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);
+ return;
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);
}
@@ -270,12 +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 5a99a03..ac6c8e6 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.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: FileNodeImpl.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
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 4bea0c9..cd698a9 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: FileStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: FileStatementNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
@@ -42,6 +45,7 @@ public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStat
* @ordered
*/
protected CompositeNode sequence;
+
/**
* The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' reference.
* <!-- begin-user-doc -->
@@ -51,6 +55,7 @@ public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStat
* @ordered
*/
protected CompositeNode identifier;
+
/**
* The cached value of the '{@link #getNameExpression() <em>Name Expression</em>}' reference.
* <!-- begin-user-doc -->
@@ -85,16 +90,16 @@ public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStat
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getNameExpression() {
- if (nameExpression != null && nameExpression.eIsProxy()) {
- InternalEObject oldNameExpression = (InternalEObject)nameExpression;
- nameExpression = (CompositeNode)eResolveProxy(oldNameExpression);
- if (nameExpression != oldNameExpression) {
+ 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__NAME_EXPRESSION, oldNameExpression, nameExpression));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FILE_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
}
}
- return nameExpression;
+ return sequence;
}
/**
@@ -102,8 +107,8 @@ public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStat
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetNameExpression() {
- return nameExpression;
+ public CompositeNode basicGetSequence() {
+ return sequence;
}
/**
@@ -111,11 +116,11 @@ public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStat
* <!-- end-user-doc -->
* @generated
*/
- public void setNameExpression(CompositeNode newNameExpression) {
- CompositeNode oldNameExpression = nameExpression;
- nameExpression = newNameExpression;
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FILE_STATEMENT_NODE__NAME_EXPRESSION, oldNameExpression, nameExpression));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FILE_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
}
/**
@@ -161,16 +166,16 @@ public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStat
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getSequence() {
- if (sequence != null && sequence.eIsProxy()) {
- InternalEObject oldSequence = (InternalEObject)sequence;
- sequence = (CompositeNode)eResolveProxy(oldSequence);
- if (sequence != oldSequence) {
+ 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__SEQUENCE, oldSequence, sequence));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FILE_STATEMENT_NODE__NAME_EXPRESSION, oldNameExpression, nameExpression));
}
}
- return sequence;
+ return nameExpression;
}
/**
@@ -178,8 +183,8 @@ public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStat
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetSequence() {
- return sequence;
+ public CompositeNode basicGetNameExpression() {
+ return nameExpression;
}
/**
@@ -187,11 +192,11 @@ public class FileStatementNodeImpl extends CompositeNodeImpl implements FileStat
* <!-- end-user-doc -->
* @generated
*/
- public void setSequence(CompositeNode newSequence) {
- CompositeNode oldSequence = sequence;
- sequence = newSequence;
+ public void setNameExpression(CompositeNode newNameExpression) {
+ CompositeNode oldNameExpression = nameExpression;
+ nameExpression = newNameExpression;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FILE_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FILE_STATEMENT_NODE__NAME_EXPRESSION, oldNameExpression, nameExpression));
}
/**
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 6d01175..83b8bca 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: ForeachStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: ForeachStatementNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
@@ -44,6 +47,7 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* @ordered
*/
protected CompositeNode iterator;
+
/**
* The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' reference.
* <!-- begin-user-doc -->
@@ -53,6 +57,7 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* @ordered
*/
protected CompositeNode identifier;
+
/**
* The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
* <!-- begin-user-doc -->
@@ -62,6 +67,7 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* @ordered
*/
protected CompositeNode sequence;
+
/**
* The cached value of the '{@link #getForExpression() <em>For Expression</em>}' reference.
* <!-- begin-user-doc -->
@@ -71,6 +77,7 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* @ordered
*/
protected CompositeNode forExpression;
+
/**
* The cached value of the '{@link #getSeparatorExpression() <em>Separator Expression</em>}' reference.
* <!-- begin-user-doc -->
@@ -143,16 +150,16 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getSeparatorExpression() {
- if (separatorExpression != null && separatorExpression.eIsProxy()) {
- InternalEObject oldSeparatorExpression = (InternalEObject)separatorExpression;
- separatorExpression = (CompositeNode)eResolveProxy(oldSeparatorExpression);
- if (separatorExpression != oldSeparatorExpression) {
+ 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__SEPARATOR_EXPRESSION, oldSeparatorExpression, separatorExpression));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FOREACH_STATEMENT_NODE__IDENTIFIER, oldIdentifier, identifier));
}
}
- return separatorExpression;
+ return identifier;
}
/**
@@ -160,8 +167,8 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetSeparatorExpression() {
- return separatorExpression;
+ public CompositeNode basicGetIdentifier() {
+ return identifier;
}
/**
@@ -169,11 +176,11 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* <!-- end-user-doc -->
* @generated
*/
- public void setSeparatorExpression(CompositeNode newSeparatorExpression) {
- CompositeNode oldSeparatorExpression = separatorExpression;
- separatorExpression = newSeparatorExpression;
+ public void setIdentifier(CompositeNode newIdentifier) {
+ CompositeNode oldIdentifier = identifier;
+ identifier = newIdentifier;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION, oldSeparatorExpression, separatorExpression));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__IDENTIFIER, oldIdentifier, identifier));
}
/**
@@ -181,16 +188,16 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getIdentifier() {
- if (identifier != null && identifier.eIsProxy()) {
- InternalEObject oldIdentifier = (InternalEObject)identifier;
- identifier = (CompositeNode)eResolveProxy(oldIdentifier);
- if (identifier != oldIdentifier) {
+ 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__IDENTIFIER, oldIdentifier, identifier));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
}
}
- return identifier;
+ return sequence;
}
/**
@@ -198,8 +205,8 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetIdentifier() {
- return identifier;
+ public CompositeNode basicGetSequence() {
+ return sequence;
}
/**
@@ -207,11 +214,11 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* <!-- end-user-doc -->
* @generated
*/
- public void setIdentifier(CompositeNode newIdentifier) {
- CompositeNode oldIdentifier = identifier;
- identifier = newIdentifier;
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__IDENTIFIER, oldIdentifier, identifier));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
}
/**
@@ -257,16 +264,16 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getSequence() {
- if (sequence != null && sequence.eIsProxy()) {
- InternalEObject oldSequence = (InternalEObject)sequence;
- sequence = (CompositeNode)eResolveProxy(oldSequence);
- if (sequence != oldSequence) {
+ 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__SEQUENCE, oldSequence, sequence));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION, oldSeparatorExpression, separatorExpression));
}
}
- return sequence;
+ return separatorExpression;
}
/**
@@ -274,8 +281,8 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetSequence() {
- return sequence;
+ public CompositeNode basicGetSeparatorExpression() {
+ return separatorExpression;
}
/**
@@ -283,11 +290,11 @@ public class ForeachStatementNodeImpl extends CompositeNodeImpl implements Forea
* <!-- end-user-doc -->
* @generated
*/
- public void setSequence(CompositeNode newSequence) {
- CompositeNode oldSequence = sequence;
- sequence = newSequence;
+ public void setSeparatorExpression(CompositeNode newSeparatorExpression) {
+ CompositeNode oldSeparatorExpression = separatorExpression;
+ separatorExpression = newSeparatorExpression;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.FOREACH_STATEMENT_NODE__SEPARATOR_EXPRESSION, oldSeparatorExpression, separatorExpression));
}
/**
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/GlobalVarExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/GlobalVarExpressionNodeImpl.java
index 7e6cba0..7134616 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/GlobalVarExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/GlobalVarExpressionNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: GlobalVarExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: GlobalVarExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IdentifierNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IdentifierNodeImpl.java
index 275fb47..cc39a7d 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IdentifierNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IdentifierNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: IdentifierNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: IdentifierNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfExpressionNodeImpl.java
index 46efcaa..255e622 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/IfExpressionNodeImpl.java
@@ -2,11 +2,18 @@
* <copyright>
* </copyright>
*
- * $Id: IfExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: IfExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 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;
@@ -18,12 +25,59 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>If Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfExpressionNodeImpl#getThen <em>Then</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfExpressionNodeImpl#getElse <em>Else</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfExpressionNodeImpl#getCondition0 <em>Condition0</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.IfExpressionNodeImpl#getCondition1 <em>Condition1</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class IfExpressionNodeImpl extends CompositeNodeImpl implements IfExpressionNode {
/**
+ * The cached value of the '{@link #getThen() <em>Then</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getThen()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode then;
+
+ /**
+ * 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 #getCondition0() <em>Condition0</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCondition0()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode condition0;
+
+ /**
+ * The cached value of the '{@link #getCondition1() <em>Condition1</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCondition1()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode condition1;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +96,248 @@ public class IfExpressionNodeImpl extends CompositeNodeImpl implements IfExpress
return Xpand3nodePackage.Literals.IF_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getThen() {
+ if (then != null && then.eIsProxy()) {
+ InternalEObject oldThen = (InternalEObject)then;
+ then = (CompositeNode)eResolveProxy(oldThen);
+ if (then != oldThen) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.IF_EXPRESSION_NODE__THEN, oldThen, then));
+ }
+ }
+ return then;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetThen() {
+ return then;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setThen(CompositeNode newThen) {
+ CompositeNode oldThen = then;
+ then = newThen;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.IF_EXPRESSION_NODE__THEN, oldThen, then));
+ }
+
+ /**
+ * <!-- 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_EXPRESSION_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_EXPRESSION_NODE__ELSE, oldElse, else_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getCondition0() {
+ if (condition0 != null && condition0.eIsProxy()) {
+ InternalEObject oldCondition0 = (InternalEObject)condition0;
+ condition0 = (CompositeNode)eResolveProxy(oldCondition0);
+ if (condition0 != oldCondition0) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION0, oldCondition0, condition0));
+ }
+ }
+ return condition0;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetCondition0() {
+ return condition0;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCondition0(CompositeNode newCondition0) {
+ CompositeNode oldCondition0 = condition0;
+ condition0 = newCondition0;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION0, oldCondition0, condition0));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getCondition1() {
+ if (condition1 != null && condition1.eIsProxy()) {
+ InternalEObject oldCondition1 = (InternalEObject)condition1;
+ condition1 = (CompositeNode)eResolveProxy(oldCondition1);
+ if (condition1 != oldCondition1) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION1, oldCondition1, condition1));
+ }
+ }
+ return condition1;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetCondition1() {
+ return condition1;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCondition1(CompositeNode newCondition1) {
+ CompositeNode oldCondition1 = condition1;
+ condition1 = newCondition1;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION1, oldCondition1, condition1));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__THEN:
+ if (resolve) return getThen();
+ return basicGetThen();
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__ELSE:
+ if (resolve) return getElse();
+ return basicGetElse();
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION0:
+ if (resolve) return getCondition0();
+ return basicGetCondition0();
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION1:
+ if (resolve) return getCondition1();
+ return basicGetCondition1();
+ }
+ 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.IF_EXPRESSION_NODE__THEN:
+ setThen((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__ELSE:
+ setElse((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION0:
+ setCondition0((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION1:
+ setCondition1((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_EXPRESSION_NODE__THEN:
+ setThen((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__ELSE:
+ setElse((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION0:
+ setCondition0((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION1:
+ setCondition1((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__THEN:
+ return then != null;
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__ELSE:
+ return else_ != null;
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION0:
+ return condition0 != null;
+ case Xpand3nodePackage.IF_EXPRESSION_NODE__CONDITION1:
+ return condition1 != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //IfExpressionNodeImpl
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 b6ebd0a..d332c05 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,19 +2,25 @@
* <copyright>
* </copyright>
*
- * $Id: IfStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: IfStatementNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
@@ -27,7 +33,7 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* <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#getElseIfs <em>Else Ifs</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>
@@ -38,14 +44,15 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatementNode {
/**
- * The cached value of the '{@link #getElseIf() <em>Else If</em>}' reference list.
+ * The cached value of the '{@link #getElseIfs() <em>Else Ifs</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getElseIf()
+ * @see #getElseIfs()
* @generated
* @ordered
*/
- protected EList<CompositeNode> elseIf;
+ protected EList<CompositeNode> elseIfs;
+
/**
* The cached value of the '{@link #getExpression() <em>Expression</em>}' reference.
* <!-- begin-user-doc -->
@@ -55,6 +62,7 @@ public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatemen
* @ordered
*/
protected CompositeNode expression;
+
/**
* The cached value of the '{@link #getElse() <em>Else</em>}' reference.
* <!-- begin-user-doc -->
@@ -64,6 +72,7 @@ public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatemen
* @ordered
*/
protected CompositeNode else_;
+
/**
* The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
* <!-- begin-user-doc -->
@@ -98,37 +107,11 @@ public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatemen
* <!-- 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_));
- }
+ public EList<CompositeNode> getElseIfs() {
+ if (elseIfs == null) {
+ elseIfs = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IFS);
}
- 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_));
+ return elseIfs;
}
/**
@@ -174,11 +157,37 @@ public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatemen
* <!-- end-user-doc -->
* @generated
*/
- public EList<CompositeNode> getElseIf() {
- if (elseIf == null) {
- elseIf = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IF);
+ 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 elseIf;
+ 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_));
}
/**
@@ -227,8 +236,8 @@ public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatemen
@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__ELSE_IFS:
+ return getElseIfs();
case Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION:
if (resolve) return getExpression();
return basicGetExpression();
@@ -251,9 +260,9 @@ public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatemen
@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);
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IFS:
+ getElseIfs().clear();
+ getElseIfs().addAll((Collection<? extends CompositeNode>)newValue);
return;
case Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION:
setExpression((CompositeNode)newValue);
@@ -276,8 +285,8 @@ public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatemen
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IF:
- getElseIf().clear();
+ case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE_IFS:
+ getElseIfs().clear();
return;
case Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION:
setExpression((CompositeNode)null);
@@ -300,8 +309,8 @@ public class IfStatementNodeImpl extends CompositeNodeImpl implements IfStatemen
@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__ELSE_IFS:
+ return elseIfs != null && !elseIfs.isEmpty();
case Xpand3nodePackage.IF_STATEMENT_NODE__EXPRESSION:
return expression != null;
case Xpand3nodePackage.IF_STATEMENT_NODE__ELSE:
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImpliesExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImpliesExpressionNodeImpl.java
index 047f216..35943cb 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImpliesExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ImpliesExpressionNodeImpl.java
@@ -2,11 +2,24 @@
* <copyright>
* </copyright>
*
- * $Id: ImpliesExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: ImpliesExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:02 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;
@@ -18,12 +31,37 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Implies Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ImpliesExpressionNodeImpl#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ImpliesExpressionNodeImpl#getFirst <em>First</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ImpliesExpressionNodeImpl extends CompositeNodeImpl implements ImpliesExpressionNode {
/**
+ * The cached value of the '{@link #getNexts() <em>Nexts</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNexts()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> nexts;
+
+ /**
+ * The cached value of the '{@link #getFirst() <em>First</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFirst()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode first;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +80,125 @@ public class ImpliesExpressionNodeImpl extends CompositeNodeImpl implements Impl
return Xpand3nodePackage.Literals.IMPLIES_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getNexts() {
+ if (nexts == null) {
+ nexts = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__NEXTS);
+ }
+ return nexts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getFirst() {
+ if (first != null && first.eIsProxy()) {
+ InternalEObject oldFirst = (InternalEObject)first;
+ first = (CompositeNode)eResolveProxy(oldFirst);
+ if (first != oldFirst) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__FIRST, oldFirst, first));
+ }
+ }
+ return first;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetFirst() {
+ return first;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFirst(CompositeNode newFirst) {
+ CompositeNode oldFirst = first;
+ first = newFirst;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__FIRST, oldFirst, first));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__NEXTS:
+ return getNexts();
+ case Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__FIRST:
+ if (resolve) return getFirst();
+ return basicGetFirst();
+ }
+ 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.IMPLIES_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ getNexts().addAll((Collection<? extends CompositeNode>)newValue);
+ return;
+ case Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ return;
+ case Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__NEXTS:
+ return nexts != null && !nexts.isEmpty();
+ case Xpand3nodePackage.IMPLIES_EXPRESSION_NODE__FIRST:
+ return first != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ImpliesExpressionNodeImpl
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
index 44791a4..c87a42d 100644
--- 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
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ImportNodeImpl.java,v 1.1 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: ImportNodeImpl.java,v 1.2 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
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 266790b..1d174d7 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.5 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: InfixExpressionNodeImpl.java,v 1.6 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/JavaTypeNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/JavaTypeNodeImpl.java
index 64b389e..9c95dfb 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/JavaTypeNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/JavaTypeNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: JavaTypeNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: JavaTypeNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetExpressionNodeImpl.java
index 371c234..130e954 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/LetExpressionNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: LetExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: LetExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:02 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
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 5a9e2a5..9e36777 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: LetStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: LetStatementNodeImpl.java,v 1.4 2008/03/13 08:40:02 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.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;
@@ -42,6 +45,7 @@ public class LetStatementNodeImpl extends CompositeNodeImpl implements LetStatem
* @ordered
*/
protected CompositeNode expression;
+
/**
* The cached value of the '{@link #getName() <em>Name</em>}' reference.
* <!-- begin-user-doc -->
@@ -51,6 +55,7 @@ public class LetStatementNodeImpl extends CompositeNodeImpl implements LetStatem
* @ordered
*/
protected CompositeNode name;
+
/**
* The cached value of the '{@link #getSequence() <em>Sequence</em>}' reference.
* <!-- begin-user-doc -->
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ListLiteralNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ListLiteralNodeImpl.java
index ecc007c..e4617ff 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ListLiteralNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ListLiteralNodeImpl.java
@@ -2,12 +2,20 @@
* <copyright>
* </copyright>
*
- * $Id: ListLiteralNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ListLiteralNodeImpl.java,v 1.3 2008/03/13 08:40:01 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.ListLiteralNode;
@@ -18,12 +26,26 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>List Literal Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ListLiteralNodeImpl#getElements <em>Elements</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ListLiteralNodeImpl extends CompositeNodeImpl implements ListLiteralNode {
/**
+ * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> elements;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +64,76 @@ public class ListLiteralNodeImpl extends CompositeNodeImpl implements ListLitera
return Xpand3nodePackage.Literals.LIST_LITERAL_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getElements() {
+ if (elements == null) {
+ elements = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.LIST_LITERAL_NODE__ELEMENTS);
+ }
+ return elements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.LIST_LITERAL_NODE__ELEMENTS:
+ return getElements();
+ }
+ 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.LIST_LITERAL_NODE__ELEMENTS:
+ getElements().clear();
+ getElements().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.LIST_LITERAL_NODE__ELEMENTS:
+ getElements().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.LIST_LITERAL_NODE__ELEMENTS:
+ return elements != null && !elements.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ListLiteralNodeImpl
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 41cb6cb..08a0b20 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,16 +2,25 @@
* <copyright>
* </copyright>
*
- * $Id: MultiplicativeExpressionNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: MultiplicativeExpressionNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.ecore.EClass;
+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.MultiplicativeExpressionNode;
@@ -24,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.MultiplicativeExpressionNodeImpl#getLeft <em>Left</em>}</li>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.MultiplicativeExpressionNodeImpl#getRight <em>Right</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.MultiplicativeExpressionNodeImpl#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.MultiplicativeExpressionNodeImpl#getFirst <em>First</em>}</li>
* </ul>
* </p>
*
@@ -33,23 +42,24 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implements MultiplicativeExpressionNode {
/**
- * The cached value of the '{@link #getLeft() <em>Left</em>}' reference.
+ * The cached value of the '{@link #getNexts() <em>Nexts</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getLeft()
+ * @see #getNexts()
* @generated
* @ordered
*/
- protected CompositeNode left;
+ protected EList<CompositeNode> nexts;
+
/**
- * The cached value of the '{@link #getRight() <em>Right</em>}' reference.
+ * The cached value of the '{@link #getFirst() <em>First</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getRight()
+ * @see #getFirst()
* @generated
* @ordered
*/
- protected CompositeNode right;
+ protected CompositeNode first;
/**
* <!-- begin-user-doc -->
@@ -75,37 +85,11 @@ public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implemen
* <!-- 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));
- }
+ public EList<CompositeNode> getNexts() {
+ if (nexts == null) {
+ nexts = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__NEXTS);
}
- 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));
+ return nexts;
}
/**
@@ -113,16 +97,16 @@ public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implemen
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getRight() {
- if (right != null && right.eIsProxy()) {
- InternalEObject oldRight = (InternalEObject)right;
- right = (CompositeNode)eResolveProxy(oldRight);
- if (right != oldRight) {
+ public CompositeNode getFirst() {
+ if (first != null && first.eIsProxy()) {
+ InternalEObject oldFirst = (InternalEObject)first;
+ first = (CompositeNode)eResolveProxy(oldFirst);
+ if (first != oldFirst) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT, oldRight, right));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__FIRST, oldFirst, first));
}
}
- return right;
+ return first;
}
/**
@@ -130,8 +114,8 @@ public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implemen
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetRight() {
- return right;
+ public CompositeNode basicGetFirst() {
+ return first;
}
/**
@@ -139,11 +123,11 @@ public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implemen
* <!-- end-user-doc -->
* @generated
*/
- public void setRight(CompositeNode newRight) {
- CompositeNode oldRight = right;
- right = newRight;
+ public void setFirst(CompositeNode newFirst) {
+ CompositeNode oldFirst = first;
+ first = newFirst;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT, oldRight, right));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__FIRST, oldFirst, first));
}
/**
@@ -154,12 +138,11 @@ public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implemen
@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();
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__NEXTS:
+ return getNexts();
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__FIRST:
+ if (resolve) return getFirst();
+ return basicGetFirst();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -169,14 +152,16 @@ public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implemen
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__LEFT:
- setLeft((CompositeNode)newValue);
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ getNexts().addAll((Collection<? extends CompositeNode>)newValue);
return;
- case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT:
- setRight((CompositeNode)newValue);
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -190,11 +175,11 @@ public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implemen
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__LEFT:
- setLeft((CompositeNode)null);
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
return;
- case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__RIGHT:
- setRight((CompositeNode)null);
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)null);
return;
}
super.eUnset(featureID);
@@ -208,10 +193,10 @@ public class MultiplicativeExpressionNodeImpl extends CompositeNodeImpl implemen
@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;
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__NEXTS:
+ return nexts != null && !nexts.isEmpty();
+ case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE__FIRST:
+ return first != null;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NullLiteralNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NullLiteralNodeImpl.java
index 8fae487..8fce580 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NullLiteralNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NullLiteralNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: NullLiteralNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: NullLiteralNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NumberLiteralNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NumberLiteralNodeImpl.java
index 54c1023..87b05c8 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NumberLiteralNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/NumberLiteralNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: NumberLiteralNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: NumberLiteralNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/OrExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/OrExpressionNodeImpl.java
index a18dd2d..850406e 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/OrExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/OrExpressionNodeImpl.java
@@ -2,11 +2,24 @@
* <copyright>
* </copyright>
*
- * $Id: OrExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: OrExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 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;
@@ -18,12 +31,37 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Or Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.OrExpressionNodeImpl#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.OrExpressionNodeImpl#getFirst <em>First</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class OrExpressionNodeImpl extends CompositeNodeImpl implements OrExpressionNode {
/**
+ * The cached value of the '{@link #getNexts() <em>Nexts</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNexts()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> nexts;
+
+ /**
+ * The cached value of the '{@link #getFirst() <em>First</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFirst()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode first;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +80,125 @@ public class OrExpressionNodeImpl extends CompositeNodeImpl implements OrExpress
return Xpand3nodePackage.Literals.OR_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getNexts() {
+ if (nexts == null) {
+ nexts = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.OR_EXPRESSION_NODE__NEXTS);
+ }
+ return nexts;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getFirst() {
+ if (first != null && first.eIsProxy()) {
+ InternalEObject oldFirst = (InternalEObject)first;
+ first = (CompositeNode)eResolveProxy(oldFirst);
+ if (first != oldFirst) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.OR_EXPRESSION_NODE__FIRST, oldFirst, first));
+ }
+ }
+ return first;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetFirst() {
+ return first;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFirst(CompositeNode newFirst) {
+ CompositeNode oldFirst = first;
+ first = newFirst;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.OR_EXPRESSION_NODE__FIRST, oldFirst, first));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.OR_EXPRESSION_NODE__NEXTS:
+ return getNexts();
+ case Xpand3nodePackage.OR_EXPRESSION_NODE__FIRST:
+ if (resolve) return getFirst();
+ return basicGetFirst();
+ }
+ 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.OR_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ getNexts().addAll((Collection<? extends CompositeNode>)newValue);
+ return;
+ case Xpand3nodePackage.OR_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.OR_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ return;
+ case Xpand3nodePackage.OR_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.OR_EXPRESSION_NODE__NEXTS:
+ return nexts != null && !nexts.isEmpty();
+ case Xpand3nodePackage.OR_EXPRESSION_NODE__FIRST:
+ return first != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //OrExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParameterListNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParameterListNodeImpl.java
index 7bb193e..b41b7b4 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParameterListNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParameterListNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ParameterListNodeImpl.java,v 1.3 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ParameterListNodeImpl.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParanthesizedExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParanthesizedExpressionNodeImpl.java
index e6624a7..e0b6ef6 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParanthesizedExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/ParanthesizedExpressionNodeImpl.java
@@ -2,11 +2,18 @@
* <copyright>
* </copyright>
*
- * $Id: ParanthesizedExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: ParanthesizedExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 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;
@@ -18,12 +25,26 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Paranthesized Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.ParanthesizedExpressionNodeImpl#getExpression <em>Expression</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class ParanthesizedExpressionNodeImpl extends CompositeNodeImpl implements ParanthesizedExpressionNode {
/**
+ * 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 +63,101 @@ public class ParanthesizedExpressionNodeImpl extends CompositeNodeImpl implement
return Xpand3nodePackage.Literals.PARANTHESIZED_EXPRESSION_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.PARANTHESIZED_EXPRESSION_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.PARANTHESIZED_EXPRESSION_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.PARANTHESIZED_EXPRESSION_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.PARANTHESIZED_EXPRESSION_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.PARANTHESIZED_EXPRESSION_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.PARANTHESIZED_EXPRESSION_NODE__EXPRESSION:
+ return expression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
} //ParanthesizedExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/PointcutNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/PointcutNodeImpl.java
index cdab8c1..7c64151 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/PointcutNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/PointcutNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: PointcutNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: PointcutNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
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 bd0db35..0701e94 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: ProtectStatementNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: ProtectStatementNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
@@ -43,6 +46,7 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
* @ordered
*/
protected CompositeNode sequence;
+
/**
* The cached value of the '{@link #getCend() <em>Cend</em>}' reference.
* <!-- begin-user-doc -->
@@ -52,6 +56,7 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
* @ordered
*/
protected CompositeNode cend;
+
/**
* The cached value of the '{@link #getId() <em>Id</em>}' reference.
* <!-- begin-user-doc -->
@@ -61,6 +66,7 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
* @ordered
*/
protected CompositeNode id;
+
/**
* The cached value of the '{@link #getCstart() <em>Cstart</em>}' reference.
* <!-- begin-user-doc -->
@@ -95,16 +101,16 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getCstart() {
- if (cstart != null && cstart.eIsProxy()) {
- InternalEObject oldCstart = (InternalEObject)cstart;
- cstart = (CompositeNode)eResolveProxy(oldCstart);
- if (cstart != oldCstart) {
+ 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__CSTART, oldCstart, cstart));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.PROTECT_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
}
}
- return cstart;
+ return sequence;
}
/**
@@ -112,8 +118,8 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetCstart() {
- return cstart;
+ public CompositeNode basicGetSequence() {
+ return sequence;
}
/**
@@ -121,11 +127,11 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
* <!-- end-user-doc -->
* @generated
*/
- public void setCstart(CompositeNode newCstart) {
- CompositeNode oldCstart = cstart;
- cstart = newCstart;
+ public void setSequence(CompositeNode newSequence) {
+ CompositeNode oldSequence = sequence;
+ sequence = newSequence;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.PROTECT_STATEMENT_NODE__CSTART, oldCstart, cstart));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.PROTECT_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
}
/**
@@ -209,16 +215,16 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getSequence() {
- if (sequence != null && sequence.eIsProxy()) {
- InternalEObject oldSequence = (InternalEObject)sequence;
- sequence = (CompositeNode)eResolveProxy(oldSequence);
- if (sequence != oldSequence) {
+ 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__SEQUENCE, oldSequence, sequence));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.PROTECT_STATEMENT_NODE__CSTART, oldCstart, cstart));
}
}
- return sequence;
+ return cstart;
}
/**
@@ -226,8 +232,8 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetSequence() {
- return sequence;
+ public CompositeNode basicGetCstart() {
+ return cstart;
}
/**
@@ -235,11 +241,11 @@ public class ProtectStatementNodeImpl extends CompositeNodeImpl implements Prote
* <!-- end-user-doc -->
* @generated
*/
- public void setSequence(CompositeNode newSequence) {
- CompositeNode oldSequence = sequence;
- sequence = newSequence;
+ public void setCstart(CompositeNode newCstart) {
+ CompositeNode oldCstart = cstart;
+ cstart = newCstart;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.PROTECT_STATEMENT_NODE__SEQUENCE, oldSequence, sequence));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.PROTECT_STATEMENT_NODE__CSTART, oldCstart, cstart));
}
/**
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 3d11681..68018fb 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,19 +2,24 @@
* <copyright>
* </copyright>
*
- * $Id: RelationalExpressionNodeImpl.java,v 1.5 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: RelationalExpressionNodeImpl.java,v 1.6 2008/03/13 08:40:01 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.LeafNode;
import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
@@ -28,9 +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.RelationalExpressionNodeImpl#getOperator <em>Operator</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>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl#getNexts <em>Nexts</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.RelationalExpressionNodeImpl#getFirst <em>First</em>}</li>
* </ul>
* </p>
*
@@ -38,34 +42,24 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements RelationalExpressionNode {
/**
- * The cached value of the '{@link #getOperator() <em>Operator</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOperator()
- * @generated
- * @ordered
- */
- protected CompositeNode operator;
-
- /**
- * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' reference.
+ * The cached value of the '{@link #getNexts() <em>Nexts</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getLeftOperand()
+ * @see #getNexts()
* @generated
* @ordered
*/
- protected CompositeNode leftOperand;
+ protected EList<CompositeNode> nexts;
/**
- * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' reference.
+ * The cached value of the '{@link #getFirst() <em>First</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getRightOperand()
+ * @see #getFirst()
* @generated
* @ordered
*/
- protected CompositeNode rightOperand;
+ protected CompositeNode first;
/**
* <!-- begin-user-doc -->
@@ -91,54 +85,11 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getOperator() {
- if (operator != null && operator.eIsProxy()) {
- InternalEObject oldOperator = (InternalEObject)operator;
- operator = (CompositeNode)eResolveProxy(oldOperator);
- if (operator != oldOperator) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR, oldOperator, operator));
- }
- }
- return operator;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CompositeNode basicGetOperator() {
- return operator;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOperator(CompositeNode newOperator) {
- CompositeNode oldOperator = operator;
- operator = newOperator;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR, oldOperator, operator));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CompositeNode getRightOperand() {
- if (rightOperand != null && rightOperand.eIsProxy()) {
- InternalEObject oldRightOperand = (InternalEObject)rightOperand;
- rightOperand = (CompositeNode)eResolveProxy(oldRightOperand);
- if (rightOperand != oldRightOperand) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND, oldRightOperand, rightOperand));
- }
+ public EList<CompositeNode> getNexts() {
+ if (nexts == null) {
+ nexts = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__NEXTS);
}
- return rightOperand;
+ return nexts;
}
/**
@@ -146,37 +97,16 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetRightOperand() {
- return rightOperand;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRightOperand(CompositeNode newRightOperand) {
- CompositeNode oldRightOperand = rightOperand;
- rightOperand = newRightOperand;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND, oldRightOperand, rightOperand));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CompositeNode getLeftOperand() {
- if (leftOperand != null && leftOperand.eIsProxy()) {
- InternalEObject oldLeftOperand = (InternalEObject)leftOperand;
- leftOperand = (CompositeNode)eResolveProxy(oldLeftOperand);
- if (leftOperand != oldLeftOperand) {
+ public CompositeNode getFirst() {
+ if (first != null && first.eIsProxy()) {
+ InternalEObject oldFirst = (InternalEObject)first;
+ first = (CompositeNode)eResolveProxy(oldFirst);
+ if (first != oldFirst) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND, oldLeftOperand, leftOperand));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__FIRST, oldFirst, first));
}
}
- return leftOperand;
+ return first;
}
/**
@@ -184,8 +114,8 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetLeftOperand() {
- return leftOperand;
+ public CompositeNode basicGetFirst() {
+ return first;
}
/**
@@ -193,11 +123,11 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
* <!-- end-user-doc -->
* @generated
*/
- public void setLeftOperand(CompositeNode newLeftOperand) {
- CompositeNode oldLeftOperand = leftOperand;
- leftOperand = newLeftOperand;
+ public void setFirst(CompositeNode newFirst) {
+ CompositeNode oldFirst = first;
+ first = newFirst;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND, oldLeftOperand, leftOperand));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__FIRST, oldFirst, first));
}
/**
@@ -208,15 +138,11 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR:
- if (resolve) return getOperator();
- return basicGetOperator();
- 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();
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__NEXTS:
+ return getNexts();
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__FIRST:
+ if (resolve) return getFirst();
+ return basicGetFirst();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -226,17 +152,16 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR:
- setOperator((CompositeNode)newValue);
- return;
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND:
- setLeftOperand((CompositeNode)newValue);
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
+ getNexts().addAll((Collection<? extends CompositeNode>)newValue);
return;
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
- setRightOperand((CompositeNode)newValue);
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -250,14 +175,11 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR:
- setOperator((CompositeNode)null);
- return;
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND:
- setLeftOperand((CompositeNode)null);
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__NEXTS:
+ getNexts().clear();
return;
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
- setRightOperand((CompositeNode)null);
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__FIRST:
+ setFirst((CompositeNode)null);
return;
}
super.eUnset(featureID);
@@ -271,12 +193,10 @@ public class RelationalExpressionNodeImpl extends CompositeNodeImpl implements R
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__OPERATOR:
- return operator != null;
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__LEFT_OPERAND:
- return leftOperand != null;
- case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__RIGHT_OPERAND:
- return rightOperand != null;
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__NEXTS:
+ return nexts != null && !nexts.isEmpty();
+ case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE__FIRST:
+ return first != null;
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalOperatorNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalOperatorNodeImpl.java
deleted file mode 100644
index b1b79e3..0000000
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/RelationalOperatorNodeImpl.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RelationalOperatorNodeImpl.java,v 1.1 2008/03/07 11:11:16 jkohnlein Exp $
- */
-package org.eclipse.xpand3.internal.parser.xpand3node.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.tmf.common.node.impl.CompositeNodeImpl;
-
-import org.eclipse.xpand3.internal.parser.xpand3node.RelationalOperatorNode;
-import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Relational Operator Node</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class RelationalOperatorNodeImpl extends CompositeNodeImpl implements RelationalOperatorNode {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RelationalOperatorNodeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return Xpand3nodePackage.Literals.RELATIONAL_OPERATOR_NODE;
- }
-
-} //RelationalOperatorNodeImpl
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 2489186..cfab847 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,16 +2,20 @@
* <copyright>
* </copyright>
*
- * $Id: SequenceNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: SequenceNodeImpl.java,v 1.4 2008/03/13 08:40:01 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;
@@ -41,6 +45,7 @@ public class SequenceNodeImpl extends CompositeNodeImpl implements SequenceNode
* @ordered
*/
protected EList<CompositeNode> textSequences;
+
/**
* The cached value of the '{@link #getStatements() <em>Statements</em>}' reference list.
* <!-- begin-user-doc -->
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SimpleTypeNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SimpleTypeNodeImpl.java
index 60481dd..eb15695 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SimpleTypeNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SimpleTypeNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: SimpleTypeNodeImpl.java,v 1.3 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: SimpleTypeNodeImpl.java,v 1.4 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/StringLiteralNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/StringLiteralNodeImpl.java
index 3cd5ba0..cea4862 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/StringLiteralNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/StringLiteralNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: StringLiteralNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: StringLiteralNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SwitchExpressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SwitchExpressionNodeImpl.java
index b2216db..47d8684 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SwitchExpressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/SwitchExpressionNodeImpl.java
@@ -2,11 +2,24 @@
* <copyright>
* </copyright>
*
- * $Id: SwitchExpressionNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: SwitchExpressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 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;
@@ -18,12 +31,48 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* An implementation of the model object '<em><b>Switch Expression Node</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SwitchExpressionNodeImpl#getDefault <em>Default</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SwitchExpressionNodeImpl#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.SwitchExpressionNodeImpl#getCases <em>Cases</em>}</li>
+ * </ul>
* </p>
*
* @generated
*/
public class SwitchExpressionNodeImpl extends CompositeNodeImpl implements SwitchExpressionNode {
/**
+ * The cached value of the '{@link #getDefault() <em>Default</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefault()
+ * @generated
+ * @ordered
+ */
+ protected CompositeNode default_;
+
+ /**
+ * 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 #getCases() <em>Cases</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCases()
+ * @generated
+ * @ordered
+ */
+ protected EList<CompositeNode> cases;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -42,4 +91,174 @@ public class SwitchExpressionNodeImpl extends CompositeNodeImpl implements Switc
return Xpand3nodePackage.Literals.SWITCH_EXPRESSION_NODE;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode getDefault() {
+ if (default_ != null && default_.eIsProxy()) {
+ InternalEObject oldDefault = (InternalEObject)default_;
+ default_ = (CompositeNode)eResolveProxy(oldDefault);
+ if (default_ != oldDefault) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.SWITCH_EXPRESSION_NODE__DEFAULT, oldDefault, default_));
+ }
+ }
+ return default_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CompositeNode basicGetDefault() {
+ return default_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefault(CompositeNode newDefault) {
+ CompositeNode oldDefault = default_;
+ default_ = newDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.SWITCH_EXPRESSION_NODE__DEFAULT, oldDefault, default_));
+ }
+
+ /**
+ * <!-- 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.SWITCH_EXPRESSION_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.SWITCH_EXPRESSION_NODE__EXPRESSION, oldExpression, expression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CompositeNode> getCases() {
+ if (cases == null) {
+ cases = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.SWITCH_EXPRESSION_NODE__CASES);
+ }
+ return cases;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__DEFAULT:
+ if (resolve) return getDefault();
+ return basicGetDefault();
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__EXPRESSION:
+ if (resolve) return getExpression();
+ return basicGetExpression();
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__CASES:
+ return getCases();
+ }
+ 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.SWITCH_EXPRESSION_NODE__DEFAULT:
+ setDefault((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__EXPRESSION:
+ setExpression((CompositeNode)newValue);
+ return;
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__CASES:
+ getCases().clear();
+ getCases().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.SWITCH_EXPRESSION_NODE__DEFAULT:
+ setDefault((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__EXPRESSION:
+ setExpression((CompositeNode)null);
+ return;
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__CASES:
+ getCases().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__DEFAULT:
+ return default_ != null;
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__EXPRESSION:
+ return expression != null;
+ case Xpand3nodePackage.SWITCH_EXPRESSION_NODE__CASES:
+ return cases != null && !cases.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
} //SwitchExpressionNodeImpl
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Test_expressionNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Test_expressionNodeImpl.java
index fba440e..538c98e 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Test_expressionNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/Test_expressionNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Test_expressionNodeImpl.java,v 1.2 2008/03/07 09:39:41 jkohnlein Exp $
+ * $Id: Test_expressionNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextNodeImpl.java
index 6ef98bc..6059f7f 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/TextNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TextNodeImpl.java,v 1.2 2008/03/07 09:39:42 jkohnlein Exp $
+ * $Id: TextNodeImpl.java,v 1.3 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
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 7c672f8..eecb39a 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,16 +2,20 @@
* <copyright>
* </copyright>
*
- * $Id: TextSequenceNodeImpl.java,v 1.3 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: TextSequenceNodeImpl.java,v 1.4 2008/03/13 08:40:01 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;
@@ -24,7 +28,7 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.TextSequenceNodeImpl#getText <em>Text</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.TextSequenceNodeImpl#getTexts <em>Texts</em>}</li>
* </ul>
* </p>
*
@@ -32,14 +36,14 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class TextSequenceNodeImpl extends CompositeNodeImpl implements TextSequenceNode {
/**
- * The cached value of the '{@link #getText() <em>Text</em>}' reference list.
+ * The cached value of the '{@link #getTexts() <em>Texts</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getText()
+ * @see #getTexts()
* @generated
* @ordered
*/
- protected EList<CompositeNode> text;
+ protected EList<CompositeNode> texts;
/**
* <!-- begin-user-doc -->
@@ -65,11 +69,11 @@ public class TextSequenceNodeImpl extends CompositeNodeImpl implements TextSeque
* <!-- end-user-doc -->
* @generated
*/
- public EList<CompositeNode> getText() {
- if (text == null) {
- text = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT);
+ public EList<CompositeNode> getTexts() {
+ if (texts == null) {
+ texts = new EObjectResolvingEList<CompositeNode>(CompositeNode.class, this, Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXTS);
}
- return text;
+ return texts;
}
/**
@@ -80,8 +84,8 @@ public class TextSequenceNodeImpl extends CompositeNodeImpl implements TextSeque
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT:
- return getText();
+ case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXTS:
+ return getTexts();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -95,9 +99,9 @@ public class TextSequenceNodeImpl extends CompositeNodeImpl implements TextSeque
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT:
- getText().clear();
- getText().addAll((Collection<? extends CompositeNode>)newValue);
+ case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXTS:
+ getTexts().clear();
+ getTexts().addAll((Collection<? extends CompositeNode>)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -111,8 +115,8 @@ public class TextSequenceNodeImpl extends CompositeNodeImpl implements TextSeque
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT:
- getText().clear();
+ case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXTS:
+ getTexts().clear();
return;
}
super.eUnset(featureID);
@@ -126,8 +130,8 @@ public class TextSequenceNodeImpl extends CompositeNodeImpl implements TextSeque
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXT:
- return text != null && !text.isEmpty();
+ case Xpand3nodePackage.TEXT_SEQUENCE_NODE__TEXTS:
+ return texts != null && !texts.isEmpty();
}
return super.eIsSet(featureID);
}
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 4f325db..699b94f 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,16 +2,19 @@
* <copyright>
* </copyright>
*
- * $Id: UnaryExpressionNodeImpl.java,v 1.3 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: UnaryExpressionNodeImpl.java,v 1.4 2008/03/13 08:40:01 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.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;
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 b656d79..14a4d54 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.5 2008/03/12 09:54:13 jkohnlein Exp $
+ * $Id: Xpand3nodeFactoryImpl.java,v 1.6 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -84,7 +84,6 @@ public class Xpand3nodeFactoryImpl extends EFactoryImpl implements Xpand3nodeFac
case Xpand3nodePackage.EXTENSION_NODE: return createExtensionNode();
case Xpand3nodePackage.JAVA_TYPE_NODE: return createJavaTypeNode();
case Xpand3nodePackage.TEST_EXPRESSION_NODE: return createTest_expressionNode();
- case Xpand3nodePackage.EXPRESSION_NODE: return createExpressionNode();
case Xpand3nodePackage.LET_EXPRESSION_NODE: return createLetExpressionNode();
case Xpand3nodePackage.CASTED_EXPRESSION_NODE: return createCastedExpressionNode();
case Xpand3nodePackage.CHAIN_EXPRESSION_NODE: return createChainExpressionNode();
@@ -95,7 +94,6 @@ public class Xpand3nodeFactoryImpl extends EFactoryImpl implements Xpand3nodeFac
case Xpand3nodePackage.AND_EXPRESSION_NODE: return createAndExpressionNode();
case Xpand3nodePackage.IMPLIES_EXPRESSION_NODE: return createImpliesExpressionNode();
case Xpand3nodePackage.RELATIONAL_EXPRESSION_NODE: return createRelationalExpressionNode();
- case Xpand3nodePackage.RELATIONAL_OPERATOR_NODE: return createRelationalOperatorNode();
case Xpand3nodePackage.ADDITIVE_EXPRESSION_NODE: return createAdditiveExpressionNode();
case Xpand3nodePackage.MULTIPLICATIVE_EXPRESSION_NODE: return createMultiplicativeExpressionNode();
case Xpand3nodePackage.UNARY_EXPRESSION_NODE: return createUnaryExpressionNode();
@@ -366,16 +364,6 @@ public class Xpand3nodeFactoryImpl extends EFactoryImpl implements Xpand3nodeFac
* <!-- end-user-doc -->
* @generated
*/
- public ExpressionNode createExpressionNode() {
- ExpressionNodeImpl expressionNode = new ExpressionNodeImpl();
- return expressionNode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public LetExpressionNode createLetExpressionNode() {
LetExpressionNodeImpl letExpressionNode = new LetExpressionNodeImpl();
return letExpressionNode;
@@ -476,16 +464,6 @@ public class Xpand3nodeFactoryImpl extends EFactoryImpl implements Xpand3nodeFac
* <!-- end-user-doc -->
* @generated
*/
- public RelationalOperatorNode createRelationalOperatorNode() {
- RelationalOperatorNodeImpl relationalOperatorNode = new RelationalOperatorNodeImpl();
- return relationalOperatorNode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public AdditiveExpressionNode createAdditiveExpressionNode() {
AdditiveExpressionNodeImpl additiveExpressionNode = new AdditiveExpressionNodeImpl();
return additiveExpressionNode;
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 9bb8887..f1cab16 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.5 2008/03/12 09:54:12 jkohnlein Exp $
+ * $Id: Xpand3nodePackageImpl.java,v 1.6 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -33,7 +33,6 @@ import org.eclipse.xpand3.internal.parser.xpand3node.ElseIfStatementNode;
import org.eclipse.xpand3.internal.parser.xpand3node.ElseStatementNode;
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;
@@ -53,7 +52,6 @@ import org.eclipse.xpand3.internal.parser.xpand3node.LetExpressionNode;
import org.eclipse.xpand3.internal.parser.xpand3node.LetStatementNode;
import org.eclipse.xpand3.internal.parser.xpand3node.ListLiteralNode;
import org.eclipse.xpand3.internal.parser.xpand3node.MultiplicativeExpressionNode;
-import org.eclipse.xpand3.internal.parser.xpand3node.NsImportNode;
import org.eclipse.xpand3.internal.parser.xpand3node.NullLiteralNode;
import org.eclipse.xpand3.internal.parser.xpand3node.NumberLiteralNode;
import org.eclipse.xpand3.internal.parser.xpand3node.OrExpressionNode;
@@ -62,7 +60,6 @@ import org.eclipse.xpand3.internal.parser.xpand3node.ParanthesizedExpressionNode
import org.eclipse.xpand3.internal.parser.xpand3node.PointcutNode;
import org.eclipse.xpand3.internal.parser.xpand3node.ProtectStatementNode;
import org.eclipse.xpand3.internal.parser.xpand3node.RelationalExpressionNode;
-import org.eclipse.xpand3.internal.parser.xpand3node.RelationalOperatorNode;
import org.eclipse.xpand3.internal.parser.xpand3node.SequenceNode;
import org.eclipse.xpand3.internal.parser.xpand3node.SimpleTypeNode;
import org.eclipse.xpand3.internal.parser.xpand3node.StringLiteralNode;
@@ -71,7 +68,6 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Test_expressionNode;
import org.eclipse.xpand3.internal.parser.xpand3node.TextNode;
import org.eclipse.xpand3.internal.parser.xpand3node.TextSequenceNode;
import org.eclipse.xpand3.internal.parser.xpand3node.UnaryExpressionNode;
-import org.eclipse.xpand3.internal.parser.xpand3node.XNode;
import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodeFactory;
import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
@@ -255,13 +251,6 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- private EClass expressionNodeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
private EClass letExpressionNodeEClass = null;
/**
@@ -332,13 +321,6 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- private EClass relationalOperatorNodeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
private EClass additiveExpressionNodeEClass = null;
/**
@@ -640,8 +622,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getDefinitionNode_Type() {
- return (EReference)definitionNodeEClass.getEStructuralFeatures().get(1);
+ public EReference getDefinitionNode_Name() {
+ return (EReference)definitionNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -649,8 +631,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getDefinitionNode_Sequence() {
- return (EReference)definitionNodeEClass.getEStructuralFeatures().get(2);
+ public EReference getDefinitionNode_Type() {
+ return (EReference)definitionNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -658,8 +640,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getDefinitionNode_Name() {
- return (EReference)definitionNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getDefinitionNode_Sequence() {
+ return (EReference)definitionNodeEClass.getEStructuralFeatures().get(2);
}
/**
@@ -757,7 +739,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getTextSequenceNode_Text() {
+ public EReference getTextSequenceNode_Texts() {
return (EReference)textSequenceNodeEClass.getEStructuralFeatures().get(0);
}
@@ -820,7 +802,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getExpandStatementNode_ForExpression() {
+ public EReference getExpandStatementNode_ForEachExpression() {
return (EReference)expandStatementNodeEClass.getEStructuralFeatures().get(2);
}
@@ -829,7 +811,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getExpandStatementNode_Name() {
+ public EReference getExpandStatementNode_ForExpression() {
return (EReference)expandStatementNodeEClass.getEStructuralFeatures().get(3);
}
@@ -838,6 +820,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getExpandStatementNode_Name() {
+ return (EReference)expandStatementNodeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getExpressionStmtNode() {
return expressionStmtNodeEClass;
}
@@ -865,8 +856,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getFileStatementNode_NameExpression() {
- return (EReference)fileStatementNodeEClass.getEStructuralFeatures().get(2);
+ public EReference getFileStatementNode_Sequence() {
+ return (EReference)fileStatementNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -883,8 +874,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getFileStatementNode_Sequence() {
- return (EReference)fileStatementNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getFileStatementNode_NameExpression() {
+ return (EReference)fileStatementNodeEClass.getEStructuralFeatures().get(2);
}
/**
@@ -910,8 +901,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getForeachStatementNode_SeparatorExpression() {
- return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(4);
+ public EReference getForeachStatementNode_Identifier() {
+ return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -919,8 +910,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getForeachStatementNode_Identifier() {
- return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(1);
+ public EReference getForeachStatementNode_Sequence() {
+ return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(2);
}
/**
@@ -937,8 +928,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getForeachStatementNode_Sequence() {
- return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(2);
+ public EReference getForeachStatementNode_SeparatorExpression() {
+ return (EReference)foreachStatementNodeEClass.getEStructuralFeatures().get(4);
}
/**
@@ -955,8 +946,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getIfStatementNode_Else() {
- return (EReference)ifStatementNodeEClass.getEStructuralFeatures().get(2);
+ public EReference getIfStatementNode_ElseIfs() {
+ return (EReference)ifStatementNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -973,8 +964,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getIfStatementNode_ElseIf() {
- return (EReference)ifStatementNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getIfStatementNode_Else() {
+ return (EReference)ifStatementNodeEClass.getEStructuralFeatures().get(2);
}
/**
@@ -1081,8 +1072,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getProtectStatementNode_Cstart() {
- return (EReference)protectStatementNodeEClass.getEStructuralFeatures().get(3);
+ public EReference getProtectStatementNode_Sequence() {
+ return (EReference)protectStatementNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -1108,8 +1099,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getProtectStatementNode_Sequence() {
- return (EReference)protectStatementNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getProtectStatementNode_Cstart() {
+ return (EReference)protectStatementNodeEClass.getEStructuralFeatures().get(3);
}
/**
@@ -1126,6 +1117,60 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getCheckNode_Type() {
+ return (EReference)checkNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCheckNode_Error() {
+ return (EReference)checkNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCheckNode_Message() {
+ return (EReference)checkNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCheckNode_IfExpression() {
+ return (EReference)checkNodeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCheckNode_Warning() {
+ return (EReference)checkNodeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCheckNode_Constraint() {
+ return (EReference)checkNodeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getAroundNode() {
return aroundNodeEClass;
}
@@ -1153,8 +1198,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getExtensionNode_Create() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(4);
+ public EReference getExtensionNode_ParamList() {
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -1171,8 +1216,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getExtensionNode_ParamList() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getExtensionNode_ReturnType() {
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(2);
}
/**
@@ -1180,8 +1225,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getExtensionNode_ExtendBody() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(8);
+ public EReference getExtensionNode_JavaReturnType() {
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(3);
}
/**
@@ -1189,8 +1234,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getExtensionNode_Cached() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(7);
+ public EReference getExtensionNode_Create() {
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(4);
}
/**
@@ -1198,8 +1243,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getExtensionNode_JavaReturnType() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(3);
+ public EReference getExtensionNode_Name() {
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(5);
}
/**
@@ -1216,8 +1261,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getExtensionNode_ReturnType() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(2);
+ public EReference getExtensionNode_Cached() {
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(7);
}
/**
@@ -1225,8 +1270,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getExtensionNode_Name() {
- return (EReference)extensionNodeEClass.getEStructuralFeatures().get(5);
+ public EReference getExtensionNode_ExtendBody() {
+ return (EReference)extensionNodeEClass.getEStructuralFeatures().get(8);
}
/**
@@ -1252,8 +1297,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EClass getExpressionNode() {
- return expressionNodeEClass;
+ public EClass getLetExpressionNode() {
+ return letExpressionNodeEClass;
}
/**
@@ -1261,8 +1306,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EClass getLetExpressionNode() {
- return letExpressionNodeEClass;
+ public EClass getCastedExpressionNode() {
+ return castedExpressionNodeEClass;
}
/**
@@ -1270,8 +1315,17 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EClass getCastedExpressionNode() {
- return castedExpressionNodeEClass;
+ public EReference getCastedExpressionNode_Target() {
+ return (EReference)castedExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCastedExpressionNode_Type() {
+ return (EReference)castedExpressionNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -1288,6 +1342,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getChainExpressionNode_Nexts() {
+ return (EReference)chainExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getChainExpressionNode_First() {
+ return (EReference)chainExpressionNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getIfExpressionNode() {
return ifExpressionNodeEClass;
}
@@ -1297,6 +1369,42 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getIfExpressionNode_Then() {
+ return (EReference)ifExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getIfExpressionNode_Else() {
+ return (EReference)ifExpressionNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getIfExpressionNode_Condition0() {
+ return (EReference)ifExpressionNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getIfExpressionNode_Condition1() {
+ return (EReference)ifExpressionNodeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getSwitchExpressionNode() {
return switchExpressionNodeEClass;
}
@@ -1306,6 +1414,33 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getSwitchExpressionNode_Default() {
+ return (EReference)switchExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSwitchExpressionNode_Expression() {
+ return (EReference)switchExpressionNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSwitchExpressionNode_Cases() {
+ return (EReference)switchExpressionNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getCasePartNode() {
return casePartNodeEClass;
}
@@ -1315,6 +1450,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getCasePartNode_Condition() {
+ return (EReference)casePartNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCasePartNode_Expression() {
+ return (EReference)casePartNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getOrExpressionNode() {
return orExpressionNodeEClass;
}
@@ -1324,6 +1477,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getOrExpressionNode_Nexts() {
+ return (EReference)orExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOrExpressionNode_First() {
+ return (EReference)orExpressionNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getAndExpressionNode() {
return andExpressionNodeEClass;
}
@@ -1333,6 +1504,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getAndExpressionNode_First() {
+ return (EReference)andExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAndExpressionNode_Nexts() {
+ return (EReference)andExpressionNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getImpliesExpressionNode() {
return impliesExpressionNodeEClass;
}
@@ -1342,8 +1531,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EClass getRelationalExpressionNode() {
- return relationalExpressionNodeEClass;
+ public EReference getImpliesExpressionNode_Nexts() {
+ return (EReference)impliesExpressionNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -1351,8 +1540,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getRelationalExpressionNode_Operator() {
- return (EReference)relationalExpressionNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getImpliesExpressionNode_First() {
+ return (EReference)impliesExpressionNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -1360,8 +1549,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getRelationalExpressionNode_RightOperand() {
- return (EReference)relationalExpressionNodeEClass.getEStructuralFeatures().get(2);
+ public EClass getRelationalExpressionNode() {
+ return relationalExpressionNodeEClass;
}
/**
@@ -1369,8 +1558,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getRelationalExpressionNode_LeftOperand() {
- return (EReference)relationalExpressionNodeEClass.getEStructuralFeatures().get(1);
+ public EReference getRelationalExpressionNode_Nexts() {
+ return (EReference)relationalExpressionNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -1378,8 +1567,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EClass getRelationalOperatorNode() {
- return relationalOperatorNodeEClass;
+ public EReference getRelationalExpressionNode_First() {
+ return (EReference)relationalExpressionNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -1396,8 +1585,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getAdditiveExpressionNode_Right() {
- return (EReference)additiveExpressionNodeEClass.getEStructuralFeatures().get(1);
+ public EReference getAdditiveExpressionNode_Nexts() {
+ return (EReference)additiveExpressionNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -1405,8 +1594,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getAdditiveExpressionNode_Left() {
- return (EReference)additiveExpressionNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getAdditiveExpressionNode_First() {
+ return (EReference)additiveExpressionNodeEClass.getEStructuralFeatures().get(1);
}
/**
@@ -1423,7 +1612,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getMultiplicativeExpressionNode_Left() {
+ public EReference getMultiplicativeExpressionNode_Nexts() {
return (EReference)multiplicativeExpressionNodeEClass.getEStructuralFeatures().get(0);
}
@@ -1432,7 +1621,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getMultiplicativeExpressionNode_Right() {
+ public EReference getMultiplicativeExpressionNode_First() {
return (EReference)multiplicativeExpressionNodeEClass.getEStructuralFeatures().get(1);
}
@@ -1504,6 +1693,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getParanthesizedExpressionNode_Expression() {
+ return (EReference)paranthesizedExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getGlobalVarExpressionNode() {
return globalVarExpressionNodeEClass;
}
@@ -1522,8 +1720,8 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getFeatureCallNode_Type() {
- return (EReference)featureCallNodeEClass.getEStructuralFeatures().get(0);
+ public EReference getFeatureCallNode_ParamList() {
+ return (EReference)featureCallNodeEClass.getEStructuralFeatures().get(2);
}
/**
@@ -1532,7 +1730,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* @generated
*/
public EReference getFeatureCallNode_Name() {
- return (EReference)featureCallNodeEClass.getEStructuralFeatures().get(2);
+ return (EReference)featureCallNodeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -1540,7 +1738,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getFeatureCallNode_ParamList() {
+ public EReference getFeatureCallNode_Type() {
return (EReference)featureCallNodeEClass.getEStructuralFeatures().get(1);
}
@@ -1558,6 +1756,15 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getListLiteralNode_Elements() {
+ return (EReference)listLiteralNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getConstructorCallNode() {
return constructorCallNodeEClass;
}
@@ -1603,6 +1810,33 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getCollectionExpressionNode_Variable() {
+ return (EReference)collectionExpressionNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollectionExpressionNode_Expression() {
+ return (EReference)collectionExpressionNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCollectionExpressionNode_Type() {
+ return (EReference)collectionExpressionNodeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getDeclaredParameterListNode() {
return declaredParameterListNodeEClass;
}
@@ -1630,7 +1864,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getDeclaredParameterNode_Name() {
+ public EReference getDeclaredParameterNode_Ptype() {
return (EReference)declaredParameterNodeEClass.getEStructuralFeatures().get(0);
}
@@ -1639,7 +1873,7 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
- public EReference getDeclaredParameterNode_Ptype() {
+ public EReference getDeclaredParameterNode_Name() {
return (EReference)declaredParameterNodeEClass.getEStructuralFeatures().get(1);
}
@@ -1675,6 +1909,24 @@ public class Xpand3nodePackageImpl extends EPackageImpl implements Xpand3nodePac
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getCollectionTypeNode_CollectionType() {
+ return (EReference)collectionTypeNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->