diff options
Diffstat (limited to 'language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util')
2 files changed, 431 insertions, 5 deletions
diff --git a/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemAdapterFactory.java b/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemAdapterFactory.java index 3fc3ca75..07246d70 100644 --- a/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemAdapterFactory.java +++ b/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemAdapterFactory.java | |||
@@ -182,8 +182,8 @@ public class ProblemAdapterFactory extends AdapterFactoryImpl { | |||
182 | } | 182 | } |
183 | 183 | ||
184 | @Override | 184 | @Override |
185 | public Adapter caseArgument(Argument object) { | 185 | public Adapter caseVariableOrNodeArgument(VariableOrNodeArgument object) { |
186 | return createArgumentAdapter(); | 186 | return createVariableOrNodeArgumentAdapter(); |
187 | } | 187 | } |
188 | 188 | ||
189 | @Override | 189 | @Override |
@@ -197,6 +197,56 @@ public class ProblemAdapterFactory extends AdapterFactoryImpl { | |||
197 | } | 197 | } |
198 | 198 | ||
199 | @Override | 199 | @Override |
200 | public Adapter caseConstant(Constant object) { | ||
201 | return createConstantAdapter(); | ||
202 | } | ||
203 | |||
204 | @Override | ||
205 | public Adapter caseIntConstant(IntConstant object) { | ||
206 | return createIntConstantAdapter(); | ||
207 | } | ||
208 | |||
209 | @Override | ||
210 | public Adapter caseRealConstant(RealConstant object) { | ||
211 | return createRealConstantAdapter(); | ||
212 | } | ||
213 | |||
214 | @Override | ||
215 | public Adapter caseStringConstant(StringConstant object) { | ||
216 | return createStringConstantAdapter(); | ||
217 | } | ||
218 | |||
219 | @Override | ||
220 | public Adapter caseConstantArgument(ConstantArgument object) { | ||
221 | return createConstantArgumentAdapter(); | ||
222 | } | ||
223 | |||
224 | @Override | ||
225 | public Adapter caseArgument(Argument object) { | ||
226 | return createArgumentAdapter(); | ||
227 | } | ||
228 | |||
229 | @Override | ||
230 | public Adapter caseNodeAssertionArgument(NodeAssertionArgument object) { | ||
231 | return createNodeAssertionArgumentAdapter(); | ||
232 | } | ||
233 | |||
234 | @Override | ||
235 | public Adapter caseAssertionArgument(AssertionArgument object) { | ||
236 | return createAssertionArgumentAdapter(); | ||
237 | } | ||
238 | |||
239 | @Override | ||
240 | public Adapter caseConstantAssertionArgument(ConstantAssertionArgument object) { | ||
241 | return createConstantAssertionArgumentAdapter(); | ||
242 | } | ||
243 | |||
244 | @Override | ||
245 | public Adapter caseNodeValueAssertion(NodeValueAssertion object) { | ||
246 | return createNodeValueAssertionAdapter(); | ||
247 | } | ||
248 | |||
249 | @Override | ||
200 | public Adapter defaultCase(EObject object) { | 250 | public Adapter defaultCase(EObject object) { |
201 | return createEObjectAdapter(); | 251 | return createEObjectAdapter(); |
202 | } | 252 | } |
@@ -538,6 +588,20 @@ public class ProblemAdapterFactory extends AdapterFactoryImpl { | |||
538 | } | 588 | } |
539 | 589 | ||
540 | /** | 590 | /** |
591 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.VariableOrNodeArgument <em>Variable Or Node Argument</em>}'. | ||
592 | * <!-- begin-user-doc --> | ||
593 | * This default implementation returns null so that we can easily ignore cases; | ||
594 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
595 | * <!-- end-user-doc --> | ||
596 | * @return the new adapter. | ||
597 | * @see org.eclipse.viatra.solver.language.model.problem.VariableOrNodeArgument | ||
598 | * @generated | ||
599 | */ | ||
600 | public Adapter createVariableOrNodeArgumentAdapter() { | ||
601 | return null; | ||
602 | } | ||
603 | |||
604 | /** | ||
541 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Argument <em>Argument</em>}'. | 605 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Argument <em>Argument</em>}'. |
542 | * <!-- begin-user-doc --> | 606 | * <!-- begin-user-doc --> |
543 | * This default implementation returns null so that we can easily ignore cases; | 607 | * This default implementation returns null so that we can easily ignore cases; |
@@ -552,6 +616,62 @@ public class ProblemAdapterFactory extends AdapterFactoryImpl { | |||
552 | } | 616 | } |
553 | 617 | ||
554 | /** | 618 | /** |
619 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.NodeAssertionArgument <em>Node Assertion Argument</em>}'. | ||
620 | * <!-- begin-user-doc --> | ||
621 | * This default implementation returns null so that we can easily ignore cases; | ||
622 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
623 | * <!-- end-user-doc --> | ||
624 | * @return the new adapter. | ||
625 | * @see org.eclipse.viatra.solver.language.model.problem.NodeAssertionArgument | ||
626 | * @generated | ||
627 | */ | ||
628 | public Adapter createNodeAssertionArgumentAdapter() { | ||
629 | return null; | ||
630 | } | ||
631 | |||
632 | /** | ||
633 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.AssertionArgument <em>Assertion Argument</em>}'. | ||
634 | * <!-- begin-user-doc --> | ||
635 | * This default implementation returns null so that we can easily ignore cases; | ||
636 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
637 | * <!-- end-user-doc --> | ||
638 | * @return the new adapter. | ||
639 | * @see org.eclipse.viatra.solver.language.model.problem.AssertionArgument | ||
640 | * @generated | ||
641 | */ | ||
642 | public Adapter createAssertionArgumentAdapter() { | ||
643 | return null; | ||
644 | } | ||
645 | |||
646 | /** | ||
647 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ConstantAssertionArgument <em>Constant Assertion Argument</em>}'. | ||
648 | * <!-- begin-user-doc --> | ||
649 | * This default implementation returns null so that we can easily ignore cases; | ||
650 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
651 | * <!-- end-user-doc --> | ||
652 | * @return the new adapter. | ||
653 | * @see org.eclipse.viatra.solver.language.model.problem.ConstantAssertionArgument | ||
654 | * @generated | ||
655 | */ | ||
656 | public Adapter createConstantAssertionArgumentAdapter() { | ||
657 | return null; | ||
658 | } | ||
659 | |||
660 | /** | ||
661 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.NodeValueAssertion <em>Node Value Assertion</em>}'. | ||
662 | * <!-- begin-user-doc --> | ||
663 | * This default implementation returns null so that we can easily ignore cases; | ||
664 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
665 | * <!-- end-user-doc --> | ||
666 | * @return the new adapter. | ||
667 | * @see org.eclipse.viatra.solver.language.model.problem.NodeValueAssertion | ||
668 | * @generated | ||
669 | */ | ||
670 | public Adapter createNodeValueAssertionAdapter() { | ||
671 | return null; | ||
672 | } | ||
673 | |||
674 | /** | ||
555 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.EnumDeclaration <em>Enum Declaration</em>}'. | 675 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.EnumDeclaration <em>Enum Declaration</em>}'. |
556 | * <!-- begin-user-doc --> | 676 | * <!-- begin-user-doc --> |
557 | * This default implementation returns null so that we can easily ignore cases; | 677 | * This default implementation returns null so that we can easily ignore cases; |
@@ -580,6 +700,76 @@ public class ProblemAdapterFactory extends AdapterFactoryImpl { | |||
580 | } | 700 | } |
581 | 701 | ||
582 | /** | 702 | /** |
703 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Constant <em>Constant</em>}'. | ||
704 | * <!-- begin-user-doc --> | ||
705 | * This default implementation returns null so that we can easily ignore cases; | ||
706 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
707 | * <!-- end-user-doc --> | ||
708 | * @return the new adapter. | ||
709 | * @see org.eclipse.viatra.solver.language.model.problem.Constant | ||
710 | * @generated | ||
711 | */ | ||
712 | public Adapter createConstantAdapter() { | ||
713 | return null; | ||
714 | } | ||
715 | |||
716 | /** | ||
717 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.IntConstant <em>Int Constant</em>}'. | ||
718 | * <!-- begin-user-doc --> | ||
719 | * This default implementation returns null so that we can easily ignore cases; | ||
720 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
721 | * <!-- end-user-doc --> | ||
722 | * @return the new adapter. | ||
723 | * @see org.eclipse.viatra.solver.language.model.problem.IntConstant | ||
724 | * @generated | ||
725 | */ | ||
726 | public Adapter createIntConstantAdapter() { | ||
727 | return null; | ||
728 | } | ||
729 | |||
730 | /** | ||
731 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.RealConstant <em>Real Constant</em>}'. | ||
732 | * <!-- begin-user-doc --> | ||
733 | * This default implementation returns null so that we can easily ignore cases; | ||
734 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
735 | * <!-- end-user-doc --> | ||
736 | * @return the new adapter. | ||
737 | * @see org.eclipse.viatra.solver.language.model.problem.RealConstant | ||
738 | * @generated | ||
739 | */ | ||
740 | public Adapter createRealConstantAdapter() { | ||
741 | return null; | ||
742 | } | ||
743 | |||
744 | /** | ||
745 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.StringConstant <em>String Constant</em>}'. | ||
746 | * <!-- begin-user-doc --> | ||
747 | * This default implementation returns null so that we can easily ignore cases; | ||
748 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
749 | * <!-- end-user-doc --> | ||
750 | * @return the new adapter. | ||
751 | * @see org.eclipse.viatra.solver.language.model.problem.StringConstant | ||
752 | * @generated | ||
753 | */ | ||
754 | public Adapter createStringConstantAdapter() { | ||
755 | return null; | ||
756 | } | ||
757 | |||
758 | /** | ||
759 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ConstantArgument <em>Constant Argument</em>}'. | ||
760 | * <!-- begin-user-doc --> | ||
761 | * This default implementation returns null so that we can easily ignore cases; | ||
762 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
763 | * <!-- end-user-doc --> | ||
764 | * @return the new adapter. | ||
765 | * @see org.eclipse.viatra.solver.language.model.problem.ConstantArgument | ||
766 | * @generated | ||
767 | */ | ||
768 | public Adapter createConstantArgumentAdapter() { | ||
769 | return null; | ||
770 | } | ||
771 | |||
772 | /** | ||
583 | * Creates a new adapter for the default case. | 773 | * Creates a new adapter for the default case. |
584 | * <!-- begin-user-doc --> | 774 | * <!-- begin-user-doc --> |
585 | * This default implementation returns null. | 775 | * This default implementation returns null. |
diff --git a/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java b/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java index b74718b5..837d3a03 100644 --- a/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java +++ b/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java | |||
@@ -285,9 +285,11 @@ public class ProblemSwitch<T> extends Switch<T> { | |||
285 | result = defaultCase(theEObject); | 285 | result = defaultCase(theEObject); |
286 | return result; | 286 | return result; |
287 | } | 287 | } |
288 | case ProblemPackage.ARGUMENT: { | 288 | case ProblemPackage.VARIABLE_OR_NODE_ARGUMENT: { |
289 | Argument argument = (Argument) theEObject; | 289 | VariableOrNodeArgument variableOrNodeArgument = (VariableOrNodeArgument) theEObject; |
290 | T result = caseArgument(argument); | 290 | T result = caseVariableOrNodeArgument(variableOrNodeArgument); |
291 | if (result == null) | ||
292 | result = caseArgument(variableOrNodeArgument); | ||
291 | if (result == null) | 293 | if (result == null) |
292 | result = defaultCase(theEObject); | 294 | result = defaultCase(theEObject); |
293 | return result; | 295 | return result; |
@@ -314,6 +316,90 @@ public class ProblemSwitch<T> extends Switch<T> { | |||
314 | result = defaultCase(theEObject); | 316 | result = defaultCase(theEObject); |
315 | return result; | 317 | return result; |
316 | } | 318 | } |
319 | case ProblemPackage.CONSTANT: { | ||
320 | Constant constant = (Constant) theEObject; | ||
321 | T result = caseConstant(constant); | ||
322 | if (result == null) | ||
323 | result = defaultCase(theEObject); | ||
324 | return result; | ||
325 | } | ||
326 | case ProblemPackage.INT_CONSTANT: { | ||
327 | IntConstant intConstant = (IntConstant) theEObject; | ||
328 | T result = caseIntConstant(intConstant); | ||
329 | if (result == null) | ||
330 | result = caseConstant(intConstant); | ||
331 | if (result == null) | ||
332 | result = defaultCase(theEObject); | ||
333 | return result; | ||
334 | } | ||
335 | case ProblemPackage.REAL_CONSTANT: { | ||
336 | RealConstant realConstant = (RealConstant) theEObject; | ||
337 | T result = caseRealConstant(realConstant); | ||
338 | if (result == null) | ||
339 | result = caseConstant(realConstant); | ||
340 | if (result == null) | ||
341 | result = defaultCase(theEObject); | ||
342 | return result; | ||
343 | } | ||
344 | case ProblemPackage.STRING_CONSTANT: { | ||
345 | StringConstant stringConstant = (StringConstant) theEObject; | ||
346 | T result = caseStringConstant(stringConstant); | ||
347 | if (result == null) | ||
348 | result = caseConstant(stringConstant); | ||
349 | if (result == null) | ||
350 | result = defaultCase(theEObject); | ||
351 | return result; | ||
352 | } | ||
353 | case ProblemPackage.CONSTANT_ARGUMENT: { | ||
354 | ConstantArgument constantArgument = (ConstantArgument) theEObject; | ||
355 | T result = caseConstantArgument(constantArgument); | ||
356 | if (result == null) | ||
357 | result = caseArgument(constantArgument); | ||
358 | if (result == null) | ||
359 | result = defaultCase(theEObject); | ||
360 | return result; | ||
361 | } | ||
362 | case ProblemPackage.ARGUMENT: { | ||
363 | Argument argument = (Argument) theEObject; | ||
364 | T result = caseArgument(argument); | ||
365 | if (result == null) | ||
366 | result = defaultCase(theEObject); | ||
367 | return result; | ||
368 | } | ||
369 | case ProblemPackage.NODE_ASSERTION_ARGUMENT: { | ||
370 | NodeAssertionArgument nodeAssertionArgument = (NodeAssertionArgument) theEObject; | ||
371 | T result = caseNodeAssertionArgument(nodeAssertionArgument); | ||
372 | if (result == null) | ||
373 | result = caseAssertionArgument(nodeAssertionArgument); | ||
374 | if (result == null) | ||
375 | result = defaultCase(theEObject); | ||
376 | return result; | ||
377 | } | ||
378 | case ProblemPackage.ASSERTION_ARGUMENT: { | ||
379 | AssertionArgument assertionArgument = (AssertionArgument) theEObject; | ||
380 | T result = caseAssertionArgument(assertionArgument); | ||
381 | if (result == null) | ||
382 | result = defaultCase(theEObject); | ||
383 | return result; | ||
384 | } | ||
385 | case ProblemPackage.CONSTANT_ASSERTION_ARGUMENT: { | ||
386 | ConstantAssertionArgument constantAssertionArgument = (ConstantAssertionArgument) theEObject; | ||
387 | T result = caseConstantAssertionArgument(constantAssertionArgument); | ||
388 | if (result == null) | ||
389 | result = caseAssertionArgument(constantAssertionArgument); | ||
390 | if (result == null) | ||
391 | result = defaultCase(theEObject); | ||
392 | return result; | ||
393 | } | ||
394 | case ProblemPackage.NODE_VALUE_ASSERTION: { | ||
395 | NodeValueAssertion nodeValueAssertion = (NodeValueAssertion) theEObject; | ||
396 | T result = caseNodeValueAssertion(nodeValueAssertion); | ||
397 | if (result == null) | ||
398 | result = caseStatement(nodeValueAssertion); | ||
399 | if (result == null) | ||
400 | result = defaultCase(theEObject); | ||
401 | return result; | ||
402 | } | ||
317 | default: | 403 | default: |
318 | return defaultCase(theEObject); | 404 | return defaultCase(theEObject); |
319 | } | 405 | } |
@@ -665,6 +751,21 @@ public class ProblemSwitch<T> extends Switch<T> { | |||
665 | } | 751 | } |
666 | 752 | ||
667 | /** | 753 | /** |
754 | * Returns the result of interpreting the object as an instance of '<em>Variable Or Node Argument</em>'. | ||
755 | * <!-- begin-user-doc --> | ||
756 | * This implementation returns null; | ||
757 | * returning a non-null result will terminate the switch. | ||
758 | * <!-- end-user-doc --> | ||
759 | * @param object the target of the switch. | ||
760 | * @return the result of interpreting the object as an instance of '<em>Variable Or Node Argument</em>'. | ||
761 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
762 | * @generated | ||
763 | */ | ||
764 | public T caseVariableOrNodeArgument(VariableOrNodeArgument object) { | ||
765 | return null; | ||
766 | } | ||
767 | |||
768 | /** | ||
668 | * Returns the result of interpreting the object as an instance of '<em>Argument</em>'. | 769 | * Returns the result of interpreting the object as an instance of '<em>Argument</em>'. |
669 | * <!-- begin-user-doc --> | 770 | * <!-- begin-user-doc --> |
670 | * This implementation returns null; | 771 | * This implementation returns null; |
@@ -680,6 +781,66 @@ public class ProblemSwitch<T> extends Switch<T> { | |||
680 | } | 781 | } |
681 | 782 | ||
682 | /** | 783 | /** |
784 | * Returns the result of interpreting the object as an instance of '<em>Node Assertion Argument</em>'. | ||
785 | * <!-- begin-user-doc --> | ||
786 | * This implementation returns null; | ||
787 | * returning a non-null result will terminate the switch. | ||
788 | * <!-- end-user-doc --> | ||
789 | * @param object the target of the switch. | ||
790 | * @return the result of interpreting the object as an instance of '<em>Node Assertion Argument</em>'. | ||
791 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
792 | * @generated | ||
793 | */ | ||
794 | public T caseNodeAssertionArgument(NodeAssertionArgument object) { | ||
795 | return null; | ||
796 | } | ||
797 | |||
798 | /** | ||
799 | * Returns the result of interpreting the object as an instance of '<em>Assertion Argument</em>'. | ||
800 | * <!-- begin-user-doc --> | ||
801 | * This implementation returns null; | ||
802 | * returning a non-null result will terminate the switch. | ||
803 | * <!-- end-user-doc --> | ||
804 | * @param object the target of the switch. | ||
805 | * @return the result of interpreting the object as an instance of '<em>Assertion Argument</em>'. | ||
806 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
807 | * @generated | ||
808 | */ | ||
809 | public T caseAssertionArgument(AssertionArgument object) { | ||
810 | return null; | ||
811 | } | ||
812 | |||
813 | /** | ||
814 | * Returns the result of interpreting the object as an instance of '<em>Constant Assertion Argument</em>'. | ||
815 | * <!-- begin-user-doc --> | ||
816 | * This implementation returns null; | ||
817 | * returning a non-null result will terminate the switch. | ||
818 | * <!-- end-user-doc --> | ||
819 | * @param object the target of the switch. | ||
820 | * @return the result of interpreting the object as an instance of '<em>Constant Assertion Argument</em>'. | ||
821 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
822 | * @generated | ||
823 | */ | ||
824 | public T caseConstantAssertionArgument(ConstantAssertionArgument object) { | ||
825 | return null; | ||
826 | } | ||
827 | |||
828 | /** | ||
829 | * Returns the result of interpreting the object as an instance of '<em>Node Value Assertion</em>'. | ||
830 | * <!-- begin-user-doc --> | ||
831 | * This implementation returns null; | ||
832 | * returning a non-null result will terminate the switch. | ||
833 | * <!-- end-user-doc --> | ||
834 | * @param object the target of the switch. | ||
835 | * @return the result of interpreting the object as an instance of '<em>Node Value Assertion</em>'. | ||
836 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
837 | * @generated | ||
838 | */ | ||
839 | public T caseNodeValueAssertion(NodeValueAssertion object) { | ||
840 | return null; | ||
841 | } | ||
842 | |||
843 | /** | ||
683 | * Returns the result of interpreting the object as an instance of '<em>Enum Declaration</em>'. | 844 | * Returns the result of interpreting the object as an instance of '<em>Enum Declaration</em>'. |
684 | * <!-- begin-user-doc --> | 845 | * <!-- begin-user-doc --> |
685 | * This implementation returns null; | 846 | * This implementation returns null; |
@@ -710,6 +871,81 @@ public class ProblemSwitch<T> extends Switch<T> { | |||
710 | } | 871 | } |
711 | 872 | ||
712 | /** | 873 | /** |
874 | * Returns the result of interpreting the object as an instance of '<em>Constant</em>'. | ||
875 | * <!-- begin-user-doc --> | ||
876 | * This implementation returns null; | ||
877 | * returning a non-null result will terminate the switch. | ||
878 | * <!-- end-user-doc --> | ||
879 | * @param object the target of the switch. | ||
880 | * @return the result of interpreting the object as an instance of '<em>Constant</em>'. | ||
881 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
882 | * @generated | ||
883 | */ | ||
884 | public T caseConstant(Constant object) { | ||
885 | return null; | ||
886 | } | ||
887 | |||
888 | /** | ||
889 | * Returns the result of interpreting the object as an instance of '<em>Int Constant</em>'. | ||
890 | * <!-- begin-user-doc --> | ||
891 | * This implementation returns null; | ||
892 | * returning a non-null result will terminate the switch. | ||
893 | * <!-- end-user-doc --> | ||
894 | * @param object the target of the switch. | ||
895 | * @return the result of interpreting the object as an instance of '<em>Int Constant</em>'. | ||
896 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
897 | * @generated | ||
898 | */ | ||
899 | public T caseIntConstant(IntConstant object) { | ||
900 | return null; | ||
901 | } | ||
902 | |||
903 | /** | ||
904 | * Returns the result of interpreting the object as an instance of '<em>Real Constant</em>'. | ||
905 | * <!-- begin-user-doc --> | ||
906 | * This implementation returns null; | ||
907 | * returning a non-null result will terminate the switch. | ||
908 | * <!-- end-user-doc --> | ||
909 | * @param object the target of the switch. | ||
910 | * @return the result of interpreting the object as an instance of '<em>Real Constant</em>'. | ||
911 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
912 | * @generated | ||
913 | */ | ||
914 | public T caseRealConstant(RealConstant object) { | ||
915 | return null; | ||
916 | } | ||
917 | |||
918 | /** | ||
919 | * Returns the result of interpreting the object as an instance of '<em>String Constant</em>'. | ||
920 | * <!-- begin-user-doc --> | ||
921 | * This implementation returns null; | ||
922 | * returning a non-null result will terminate the switch. | ||
923 | * <!-- end-user-doc --> | ||
924 | * @param object the target of the switch. | ||
925 | * @return the result of interpreting the object as an instance of '<em>String Constant</em>'. | ||
926 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
927 | * @generated | ||
928 | */ | ||
929 | public T caseStringConstant(StringConstant object) { | ||
930 | return null; | ||
931 | } | ||
932 | |||
933 | /** | ||
934 | * Returns the result of interpreting the object as an instance of '<em>Constant Argument</em>'. | ||
935 | * <!-- begin-user-doc --> | ||
936 | * This implementation returns null; | ||
937 | * returning a non-null result will terminate the switch. | ||
938 | * <!-- end-user-doc --> | ||
939 | * @param object the target of the switch. | ||
940 | * @return the result of interpreting the object as an instance of '<em>Constant Argument</em>'. | ||
941 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
942 | * @generated | ||
943 | */ | ||
944 | public T caseConstantArgument(ConstantArgument object) { | ||
945 | return null; | ||
946 | } | ||
947 | |||
948 | /** | ||
713 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | 949 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
714 | * <!-- begin-user-doc --> | 950 | * <!-- begin-user-doc --> |
715 | * This implementation returns null; | 951 | * This implementation returns null; |