diff options
author | Ralf Mollik | 2017-08-28 15:40:40 +0000 |
---|---|---|
committer | Ralf Mollik | 2017-08-28 15:40:40 +0000 |
commit | 5e4e03c8e059835c009a6e811f69bc8fd556e6ce (patch) | |
tree | d68543726550b72f1fb5d863624d5099ba62ec5e | |
download | org.eclipse.osbp.xtext.dialog-5e4e03c8e059835c009a6e811f69bc8fd556e6ce.tar.gz org.eclipse.osbp.xtext.dialog-5e4e03c8e059835c009a6e811f69bc8fd556e6ce.tar.xz org.eclipse.osbp.xtext.dialog-5e4e03c8e059835c009a6e811f69bc8fd556e6ce.zip |
parallel ip - initial checkin
Signed-off-by: Ralf Mollik <ramollik@compex-commerce.com>
161 files changed, 68574 insertions, 0 deletions
diff --git a/.project b/.project new file mode 100644 index 0000000..2b7a69d --- /dev/null +++ b/.project @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osbp.xtext.dialogdsl.aggregator</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.sonarlint.eclipse.core.sonarlintBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/about.html b/about.html new file mode 100644 index 0000000..64c0598 --- /dev/null +++ b/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 1, 2016</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/jenkins.build.config.xml b/jenkins.build.config.xml new file mode 100644 index 0000000..e616f6f --- /dev/null +++ b/jenkins.build.config.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--#======================================================================= --> +<!--# Copyright (c) 2016 - Loetz GmbH&Co.KG --> +<!--# All rights reserved. This program and the accompanying materials --> +<!--# are made available under the terms of the Eclipse Public License v1.0 --> +<!--# which accompanies this distribution, and is available at --> +<!--# http://www.eclipse.org/legal/epl-v10.html --> +<!--# --> +<!--# Contributors: --> +<!--# Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation --> +<!--#======================================================================= --> +<!--# Module specific parameters for the Jenkins Job --> +<!--#======================================================================= --> + +<jenkins> + <!-- DO NOT EDIT BELOW THIS LINE --> + <jenkins.build.dependencies> + <jenkins.build.dependency>org.eclipse.osbp.authentication</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.autowireHelper</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.dsl</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.ecview.addons</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.ecview.core</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.ecview.extension</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.ecview.extension.api</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.eventbroker</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.i18n.common</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.osgi.hybrid.api</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.persistence</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.preferences</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.runtime</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.runtime.web</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.ui.api</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.ui.common</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.utils</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.utils.ui</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.vaaclipse</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.vaaclipse.common.ecview</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.webserver.messagequeue</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.xtext.action</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.xtext.addons</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.xtext.basic</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.xtext.functionlibrary</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.xtext.i18n</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.xtext.message</jenkins.build.dependency> + <jenkins.build.dependency>org.eclipse.osbp.xtext.strategy</jenkins.build.dependency> + </jenkins.build.dependencies> +</jenkins> diff --git a/notice.html b/notice.html new file mode 100644 index 0000000..c3d34c3 --- /dev/null +++ b/notice.html @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>Eclipse Foundation Software User Agreement</title> +</head> + +<body lang="EN-US"> +<h2>Eclipse Foundation Software User Agreement</h2> +<p>April 9, 2014</p> + +<h3>Usage Of Content</h3> + +<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p> + +<h3>Applicable Licenses</h3> + +<p>Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. + For purposes of the EPL, "Program" will mean the Content.</p> + +<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").</p> + +<ul> + <li>Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").</li> + <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li> + <li>A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.</li> + <li>Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.</li> +</ul> + +<p>The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:</p> + +<ul> + <li>The top-level (root) directory</li> + <li>Plug-in and Fragment directories</li> + <li>Inside Plug-ins and Fragments packaged as JARs</li> + <li>Sub-directories of the directory named "src" of certain Plug-ins</li> + <li>Feature directories</li> +</ul> + +<p>Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.</p> + +<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p> + +<ul> + <li>Eclipse Distribution License Version 1.0 (available at <a href="http://www.eclipse.org/licenses/edl-v10.html">http://www.eclipse.org/licenses/edl-v1.0.html</a>)</li> + <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li> + <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li> + <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li> + <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li> +</ul> + +<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.</p> + + +<h3>Use of Provisioning Technology</h3> + +<p>The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at <a + href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a> + ("Specification").</p> + +<p>You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:</p> + +<ol> + <li>A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.</li> + <li>During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.</li> + <li>Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.</li> +</ol> + +<h3>Cryptography</h3> + +<p>Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.</p> + +<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p> +</body> +</html> diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/.project b/org.eclipse.osbp.xtext.dialogdsl.feature/.project new file mode 100644 index 0000000..b665c52 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/.project @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osbp.xtext.dialogdsl.feature</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.xtext.ui.shared.xtextBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.FeatureBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.sonarlint.eclipse.core.sonarlintBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.FeatureNature</nature> + </natures> +</projectDescription> diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/LICENSE.txt b/org.eclipse.osbp.xtext.dialogdsl.feature/LICENSE.txt new file mode 100644 index 0000000..ff42ad4 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/LICENSE.txt @@ -0,0 +1,161 @@ +Eclipse Public License -v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION +OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. +A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone +acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate +modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not +derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of +its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute +and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code +form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the +Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the +combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such +addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not +apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no +assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity +based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property +rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the +Program, it is Recipient's responsibility to acquire that license before distributing the Program. + +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to +grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and + +b) its license agreement: + +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including +warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and +fitness for a particular purpose; + +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any +other party; and + +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it +in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and + +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and +the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes +the Program in a commercial product offering should do so in a manner which does not create potential liability for +other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions +brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such +Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual +property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the +Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is +then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties +related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. +Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to +those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, +the Commercial Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for +determining the appropriateness of using and distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance +with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such +Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such +litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such +noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution +of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement +is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish +new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the +right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the +Agreement will be given a distinguishing version number. The Program (including Contributions) may always be +distributed subject to the version of the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the +new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States +of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause +of action arose. Each party waives its rights to a jury trial in any resulting litigation.
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/build.properties b/org.eclipse.osbp.xtext.dialogdsl.feature/build.properties new file mode 100644 index 0000000..b8920ff --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/build.properties @@ -0,0 +1,2 @@ +bin.includes = license.html, epl-v10.html, feature.xml,\ + feature.properties diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/epl-v10.html b/org.eclipse.osbp.xtext.dialogdsl.feature/epl-v10.html new file mode 100644 index 0000000..b398acc --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/epl-v10.html @@ -0,0 +1,259 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Public License - Version 1.0</title> +<style type="text/css"> + body { + size: 8.5in 11.0in; + margin: 0.25in 0.5in 0.25in 0.5in; + tab-interval: 0.5in; + } + p { + margin-left: auto; + margin-top: 0.5em; + margin-bottom: 0.5em; + } + p.list { + margin-left: 0.5in; + margin-top: 0.05em; + margin-bottom: 0.05em; + } + </style> + +</head> + +<body lang="EN-US"> + +<h2>Eclipse Public License - v 1.0</h2> + +<p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.</p> + +<p><b>1. DEFINITIONS</b></p> + +<p>"Contribution" means:</p> + +<p class="list">a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and</p> +<p class="list">b) in the case of each subsequent Contributor:</p> +<p class="list">i) changes to the Program, and</p> +<p class="list">ii) additions to the Program;</p> +<p class="list">where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.</p> + +<p>"Contributor" means any person or entity that distributes +the Program.</p> + +<p>"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.</p> + +<p>"Program" means the Contributions distributed in accordance +with this Agreement.</p> + +<p>"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.</p> + +<p><b>2. GRANT OF RIGHTS</b></p> + +<p class="list">a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.</p> + +<p class="list">b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.</p> + +<p class="list">c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.</p> + +<p class="list">d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.</p> + +<p><b>3. REQUIREMENTS</b></p> + +<p>A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:</p> + +<p class="list">a) it complies with the terms and conditions of this +Agreement; and</p> + +<p class="list">b) its license agreement:</p> + +<p class="list">i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;</p> + +<p class="list">ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;</p> + +<p class="list">iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and</p> + +<p class="list">iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.</p> + +<p>When the Program is made available in source code form:</p> + +<p class="list">a) it must be made available under this Agreement; and</p> + +<p class="list">b) a copy of this Agreement must be included with each +copy of the Program.</p> + +<p>Contributors may not remove or alter any copyright notices contained +within the Program.</p> + +<p>Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.</p> + +<p><b>4. COMMERCIAL DISTRIBUTION</b></p> + +<p>Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.</p> + +<p>For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.</p> + +<p><b>5. NO WARRANTY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.</p> + +<p><b>6. DISCLAIMER OF LIABILITY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p> + +<p><b>7. GENERAL</b></p> + +<p>If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.</p> + +<p>If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.</p> + +<p>All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.</p> + +<p>Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.</p> + +<p>This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.</p> + + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/feature.properties b/org.eclipse.osbp.xtext.dialogdsl.feature/feature.properties new file mode 100644 index 0000000..de03349 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/feature.properties @@ -0,0 +1,169 @@ +############################################################################### +# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany). +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Cristiano Gavião - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName =OSBP DSL: Dialog + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse OSBP + +# "description" property - description of the feature +description=This feature provides the bundles for the OSBP DialogDSL. + +# "updateSiteName" property - label for the update site +updateSiteName= + +# "copyright" property - text of the "Feature Update Copyright" +copyright=\ +Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) \n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +################ end of copyright property #################################### + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/feature.xml b/org.eclipse.osbp.xtext.dialogdsl.feature/feature.xml new file mode 100644 index 0000000..05f7304 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/feature.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--#======================================================================= --> +<!--# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) --> +<!--# All rights reserved. This program and the accompanying materials --> +<!--# are made available under the terms of the Eclipse Public License v1.0 --> +<!--# which accompanies this distribution, and is available at --> +<!--# http://www.eclipse.org/legal/epl-v10.html --> +<!--# --> +<!--# Contributors: --> +<!--# Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation --> +<!--#======================================================================= --> + +<feature + id="org.eclipse.osbp.xtext.dialogdsl.feature" + label="%featureName" + version="0.9.0.qualifier" + provider-name="%providerName"> + + <description> + %description + </description> + + <copyright> + %copyright + </copyright> + + <license url="%licenseURL"> + %license + </license> + + <plugin + id="org.eclipse.osbp.xtext.dialogdsl" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.osbp.xtext.dialogdsl.tests" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.osbp.xtext.dialogdsl.ui" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + +</feature> diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/license.html b/org.eclipse.osbp.xtext.dialogdsl.feature/license.html new file mode 100644 index 0000000..6e579a5 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/license.html @@ -0,0 +1,164 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Foundation Software User Agreement</title> +</head> + +<body lang="EN-US"> +<h2>Eclipse Foundation Software User Agreement</h2> +<p>February 1, 2011</p> + +<h3>Usage Of Content</h3> + +<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p> + +<h3>Applicable Licenses</h3> + +<p>Unless otherwise indicated, all Content made available by the Eclipse + Foundation is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also + available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. + For purposes of the EPL, "Program" will mean the Content.</p> + +<p>Content includes, but is not limited to, source code, object code, +documentation and other files maintained in the Eclipse Foundation +source code + repository ("Repository") in software modules ("Modules") and made +available as downloadable archives ("Downloads").</p> + +<ul> + <li>Content may be structured and packaged into modules to +facilitate delivering, extending, and upgrading the Content. Typical +modules may include plug-ins ("Plug-ins"), plug-in fragments +("Fragments"), and features ("Features").</li> + <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li> + <li>A Feature is a bundle of one or more Plug-ins and/or +Fragments and associated material. Each Feature may be packaged as a +sub-directory in a directory named "features". Within a Feature, files +named "feature.xml" may contain a list of the names and version numbers +of the Plug-ins + and/or Fragments associated with that Feature.</li> + <li>Features may also include other Features ("Included +Features"). Within a Feature, files named "feature.xml" may contain a +list of the names and version numbers of Included Features.</li> +</ul> + +<p>The terms and conditions governing Plug-ins and Fragments should be +contained in files named "about.html" ("Abouts"). The terms and +conditions governing Features and +Included Features should be contained in files named "license.html" +("Feature Licenses"). Abouts and Feature Licenses may be located in any + directory of a Download or Module +including, but not limited to the following locations:</p> + +<ul> + <li>The top-level (root) directory</li> + <li>Plug-in and Fragment directories</li> + <li>Inside Plug-ins and Fragments packaged as JARs</li> + <li>Sub-directories of the directory named "src" of certain Plug-ins</li> + <li>Feature directories</li> +</ul> + +<p>Note: if a Feature made available by the Eclipse Foundation is +installed using the Provisioning Technology (as defined below), you must + agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the +Feature Update License should either provide you with the terms and +conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be +found in the "license" property of files named "feature.properties" +found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the +terms and conditions (or references to such terms and conditions) that +govern your use of the associated Content in +that directory.</p> + +<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. + SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p> + +<ul> + <li>Eclipse Distribution License Version 1.0 (available at <a href="http://www.eclipse.org/licenses/edl-v10.html">http://www.eclipse.org/licenses/edl-v1.0.html</a>)</li> + <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li> + <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li> + <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li> + <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li> + <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li> +</ul> + +<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND +CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, +or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions +govern that particular Content.</p> + + +<h3>Use of Provisioning Technology</h3> + +<p>The Eclipse Foundation makes available provisioning software, +examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of +allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This +capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about +packaging Installable Software is available at <a href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a> + ("Specification").</p> + +<p>You may use Provisioning Technology to allow other parties to install + Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to + be presented to, and accepted by, the users of the Provisioning +Technology + in accordance with the Specification. By using Provisioning +Technology in such a manner and making it available in accordance with +the + Specification, you further acknowledge your agreement to, and the +acquisition of all necessary rights to permit the following:</p> + +<ol> + <li>A series of actions may occur ("Provisioning Process") in +which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, +extending or updating the functionality of an Eclipse-based + product.</li> + <li>During the Provisioning Process, the Provisioning Technology +may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.</li> + <li>Pursuant to the Specification, you will provide to the user +the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable +Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable +Software Agreement must inform the user of the terms and conditions that + govern + the Installable Software and must solicit acceptance by the end +user in the manner prescribed in such Installable Software Agreement. +Upon such + indication of agreement by the user, the provisioning Technology +will complete installation of the Installable Software.</li> +</ol> + +<h3>Cryptography</h3> + +<p>Content may contain encryption software. The country in which you are + currently may have restrictions on the import, possession, and use, +and/or re-export to + another country, of encryption software. BEFORE using any encryption +software, please check the country's laws, regulations and policies +concerning the import, + possession, or use, and re-export of encryption software, to see if +this is permitted.</p> + +<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p> + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/pom.xml b/org.eclipse.osbp.xtext.dialogdsl.feature/pom.xml new file mode 100644 index 0000000..a1e3750 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/pom.xml @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--#======================================================================= --> +<!--# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany). --> +<!--# All rights reserved. This program and the accompanying materials --> +<!--# are made available under the terms of the Eclipse Public License v1.0 --> +<!--# which accompanies this distribution, and is available at --> +<!--# http://www.eclipse.org/legal/epl-v10.html --> +<!--# --> +<!--# Contributors: --> +<!--# Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation API and implementation --> +<!--#======================================================================= --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.eclipse.osbp.xtext.dialogdsl</groupId> + <artifactId>org.eclipse.osbp.xtext.dialogdsl.aggregator</artifactId> + <version>0.9.0-SNAPSHOT</version> + </parent> + + <artifactId>org.eclipse.osbp.xtext.dialogdsl.feature</artifactId> + <packaging>eclipse-feature</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho.extras</groupId> + <artifactId>tycho-source-feature-plugin</artifactId> + <version>${tychoExtrasVersion}</version> + <executions> + <execution> + <id>source-feature</id> + <phase>package</phase> + <goals> + <goal>source-feature</goal> + </goals> + </execution> + </executions> + <configuration> + <labelSuffix> (source)</labelSuffix> + </configuration> + </plugin> + <plugin> + <!-- workaround while bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=398250 + is not fixed --> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-p2-plugin</artifactId> + <version>${tycho-version}</version> + <executions> + <execution> + <id>attached-p2-metadata</id> + <phase>package</phase> + <goals> + <goal>p2-metadata</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <id>javadoc-jar</id> + <phase>package</phase> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.eclipse.osbp.xtext.dialogdsl</groupId> + <artifactId>org.eclipse.osbp.xtext.dialogdsl</artifactId> + <version>0.9.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.eclipse.osbp.xtext.dialogdsl</groupId> + <artifactId>org.eclipse.osbp.xtext.dialogdsl.tests</artifactId> + <version>0.9.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.eclipse.osbp.xtext.dialogdsl</groupId> + <artifactId>org.eclipse.osbp.xtext.dialogdsl.ui</artifactId> + <version>0.9.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + </dependencies> + +</project> diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/src/main/javadoc/README.txt b/org.eclipse.osbp.xtext.dialogdsl.feature/src/main/javadoc/README.txt new file mode 100644 index 0000000..831da7e --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/src/main/javadoc/README.txt @@ -0,0 +1 @@ +Resource folder for javadoc resources.
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.feature/src/overview.html b/org.eclipse.osbp.xtext.dialogdsl.feature/src/overview.html new file mode 100644 index 0000000..83e12ce --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.feature/src/overview.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title>OSBP Tools Graphical Entity</title> +</head> +<body> +<p>The <strong>OSBP Xtext Dialog DSL </strong>implements the dialog DSL.</p> + +<p> </p> +</body> +</html> diff --git a/org.eclipse.osbp.xtext.dialogdsl.sdk/.project b/org.eclipse.osbp.xtext.dialogdsl.sdk/.project new file mode 100644 index 0000000..f4acc2e --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.sdk/.project @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osbp.xtext.dialogdsl.sdk</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.FeatureBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.babel.editor.rbeBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.FeatureNature</nature> + <nature>org.eclipse.babel.editor.rbeNature</nature> + </natures> +</projectDescription> diff --git a/org.eclipse.osbp.xtext.dialogdsl.sdk/LICENSE.txt b/org.eclipse.osbp.xtext.dialogdsl.sdk/LICENSE.txt new file mode 100644 index 0000000..ff42ad4 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.sdk/LICENSE.txt @@ -0,0 +1,161 @@ +Eclipse Public License -v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION +OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. +A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone +acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate +modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not +derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of +its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute +and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code +form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the +Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the +combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such +addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not +apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no +assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity +based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property +rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the +Program, it is Recipient's responsibility to acquire that license before distributing the Program. + +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to +grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and + +b) its license agreement: + +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including +warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and +fitness for a particular purpose; + +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any +other party; and + +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it +in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and + +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and +the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes +the Program in a commercial product offering should do so in a manner which does not create potential liability for +other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions +brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such +Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual +property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the +Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is +then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties +related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. +Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to +those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, +the Commercial Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for +determining the appropriateness of using and distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance +with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such +Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such +litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such +noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution +of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement +is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish +new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the +right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the +Agreement will be given a distinguishing version number. The Program (including Contributions) may always be +distributed subject to the version of the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the +new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States +of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause +of action arose. Each party waives its rights to a jury trial in any resulting litigation.
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.sdk/about.html b/org.eclipse.osbp.xtext.dialogdsl.sdk/about.html new file mode 100644 index 0000000..64c0598 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.sdk/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 1, 2016</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.sdk/epl-v10.html b/org.eclipse.osbp.xtext.dialogdsl.sdk/epl-v10.html new file mode 100644 index 0000000..b398acc --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.sdk/epl-v10.html @@ -0,0 +1,259 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Public License - Version 1.0</title> +<style type="text/css"> + body { + size: 8.5in 11.0in; + margin: 0.25in 0.5in 0.25in 0.5in; + tab-interval: 0.5in; + } + p { + margin-left: auto; + margin-top: 0.5em; + margin-bottom: 0.5em; + } + p.list { + margin-left: 0.5in; + margin-top: 0.05em; + margin-bottom: 0.05em; + } + </style> + +</head> + +<body lang="EN-US"> + +<h2>Eclipse Public License - v 1.0</h2> + +<p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.</p> + +<p><b>1. DEFINITIONS</b></p> + +<p>"Contribution" means:</p> + +<p class="list">a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and</p> +<p class="list">b) in the case of each subsequent Contributor:</p> +<p class="list">i) changes to the Program, and</p> +<p class="list">ii) additions to the Program;</p> +<p class="list">where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.</p> + +<p>"Contributor" means any person or entity that distributes +the Program.</p> + +<p>"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.</p> + +<p>"Program" means the Contributions distributed in accordance +with this Agreement.</p> + +<p>"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.</p> + +<p><b>2. GRANT OF RIGHTS</b></p> + +<p class="list">a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.</p> + +<p class="list">b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.</p> + +<p class="list">c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.</p> + +<p class="list">d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.</p> + +<p><b>3. REQUIREMENTS</b></p> + +<p>A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:</p> + +<p class="list">a) it complies with the terms and conditions of this +Agreement; and</p> + +<p class="list">b) its license agreement:</p> + +<p class="list">i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;</p> + +<p class="list">ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;</p> + +<p class="list">iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and</p> + +<p class="list">iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.</p> + +<p>When the Program is made available in source code form:</p> + +<p class="list">a) it must be made available under this Agreement; and</p> + +<p class="list">b) a copy of this Agreement must be included with each +copy of the Program.</p> + +<p>Contributors may not remove or alter any copyright notices contained +within the Program.</p> + +<p>Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.</p> + +<p><b>4. COMMERCIAL DISTRIBUTION</b></p> + +<p>Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.</p> + +<p>For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.</p> + +<p><b>5. NO WARRANTY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.</p> + +<p><b>6. DISCLAIMER OF LIABILITY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p> + +<p><b>7. GENERAL</b></p> + +<p>If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.</p> + +<p>If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.</p> + +<p>All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.</p> + +<p>Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.</p> + +<p>This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.</p> + + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.sdk/license.html b/org.eclipse.osbp.xtext.dialogdsl.sdk/license.html new file mode 100644 index 0000000..6e579a5 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.sdk/license.html @@ -0,0 +1,164 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Foundation Software User Agreement</title> +</head> + +<body lang="EN-US"> +<h2>Eclipse Foundation Software User Agreement</h2> +<p>February 1, 2011</p> + +<h3>Usage Of Content</h3> + +<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p> + +<h3>Applicable Licenses</h3> + +<p>Unless otherwise indicated, all Content made available by the Eclipse + Foundation is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also + available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. + For purposes of the EPL, "Program" will mean the Content.</p> + +<p>Content includes, but is not limited to, source code, object code, +documentation and other files maintained in the Eclipse Foundation +source code + repository ("Repository") in software modules ("Modules") and made +available as downloadable archives ("Downloads").</p> + +<ul> + <li>Content may be structured and packaged into modules to +facilitate delivering, extending, and upgrading the Content. Typical +modules may include plug-ins ("Plug-ins"), plug-in fragments +("Fragments"), and features ("Features").</li> + <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li> + <li>A Feature is a bundle of one or more Plug-ins and/or +Fragments and associated material. Each Feature may be packaged as a +sub-directory in a directory named "features". Within a Feature, files +named "feature.xml" may contain a list of the names and version numbers +of the Plug-ins + and/or Fragments associated with that Feature.</li> + <li>Features may also include other Features ("Included +Features"). Within a Feature, files named "feature.xml" may contain a +list of the names and version numbers of Included Features.</li> +</ul> + +<p>The terms and conditions governing Plug-ins and Fragments should be +contained in files named "about.html" ("Abouts"). The terms and +conditions governing Features and +Included Features should be contained in files named "license.html" +("Feature Licenses"). Abouts and Feature Licenses may be located in any + directory of a Download or Module +including, but not limited to the following locations:</p> + +<ul> + <li>The top-level (root) directory</li> + <li>Plug-in and Fragment directories</li> + <li>Inside Plug-ins and Fragments packaged as JARs</li> + <li>Sub-directories of the directory named "src" of certain Plug-ins</li> + <li>Feature directories</li> +</ul> + +<p>Note: if a Feature made available by the Eclipse Foundation is +installed using the Provisioning Technology (as defined below), you must + agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the +Feature Update License should either provide you with the terms and +conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be +found in the "license" property of files named "feature.properties" +found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the +terms and conditions (or references to such terms and conditions) that +govern your use of the associated Content in +that directory.</p> + +<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. + SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p> + +<ul> + <li>Eclipse Distribution License Version 1.0 (available at <a href="http://www.eclipse.org/licenses/edl-v10.html">http://www.eclipse.org/licenses/edl-v1.0.html</a>)</li> + <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li> + <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li> + <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li> + <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li> + <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li> +</ul> + +<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND +CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, +or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions +govern that particular Content.</p> + + +<h3>Use of Provisioning Technology</h3> + +<p>The Eclipse Foundation makes available provisioning software, +examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of +allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This +capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about +packaging Installable Software is available at <a href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a> + ("Specification").</p> + +<p>You may use Provisioning Technology to allow other parties to install + Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to + be presented to, and accepted by, the users of the Provisioning +Technology + in accordance with the Specification. By using Provisioning +Technology in such a manner and making it available in accordance with +the + Specification, you further acknowledge your agreement to, and the +acquisition of all necessary rights to permit the following:</p> + +<ol> + <li>A series of actions may occur ("Provisioning Process") in +which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, +extending or updating the functionality of an Eclipse-based + product.</li> + <li>During the Provisioning Process, the Provisioning Technology +may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.</li> + <li>Pursuant to the Specification, you will provide to the user +the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable +Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable +Software Agreement must inform the user of the terms and conditions that + govern + the Installable Software and must solicit acceptance by the end +user in the manner prescribed in such Installable Software Agreement. +Upon such + indication of agreement by the user, the provisioning Technology +will complete installation of the Installable Software.</li> +</ol> + +<h3>Cryptography</h3> + +<p>Content may contain encryption software. The country in which you are + currently may have restrictions on the import, possession, and use, +and/or re-export to + another country, of encryption software. BEFORE using any encryption +software, please check the country's laws, regulations and policies +concerning the import, + possession, or use, and re-export of encryption software, to see if +this is permitted.</p> + +<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p> + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.sdk/notice.html b/org.eclipse.osbp.xtext.dialogdsl.sdk/notice.html new file mode 100644 index 0000000..c3d34c3 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.sdk/notice.html @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>Eclipse Foundation Software User Agreement</title> +</head> + +<body lang="EN-US"> +<h2>Eclipse Foundation Software User Agreement</h2> +<p>April 9, 2014</p> + +<h3>Usage Of Content</h3> + +<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p> + +<h3>Applicable Licenses</h3> + +<p>Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. + For purposes of the EPL, "Program" will mean the Content.</p> + +<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").</p> + +<ul> + <li>Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").</li> + <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li> + <li>A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.</li> + <li>Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.</li> +</ul> + +<p>The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:</p> + +<ul> + <li>The top-level (root) directory</li> + <li>Plug-in and Fragment directories</li> + <li>Inside Plug-ins and Fragments packaged as JARs</li> + <li>Sub-directories of the directory named "src" of certain Plug-ins</li> + <li>Feature directories</li> +</ul> + +<p>Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.</p> + +<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p> + +<ul> + <li>Eclipse Distribution License Version 1.0 (available at <a href="http://www.eclipse.org/licenses/edl-v10.html">http://www.eclipse.org/licenses/edl-v1.0.html</a>)</li> + <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li> + <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li> + <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li> + <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li> +</ul> + +<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.</p> + + +<h3>Use of Provisioning Technology</h3> + +<p>The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at <a + href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a> + ("Specification").</p> + +<p>You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:</p> + +<ol> + <li>A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.</li> + <li>During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.</li> + <li>Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.</li> +</ol> + +<h3>Cryptography</h3> + +<p>Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.</p> + +<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p> +</body> +</html> diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/.project b/org.eclipse.osbp.xtext.dialogdsl.tests/.project new file mode 100644 index 0000000..924b1e7 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/.project @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osbp.xtext.dialogdsl.tests</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.xtext.ui.shared.xtextBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.babel.editor.rbeBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.sonarlint.eclipse.core.sonarlintBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> + <nature>org.eclipse.babel.editor.rbeNature</nature> + </natures> +</projectDescription> diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/LICENSE.txt b/org.eclipse.osbp.xtext.dialogdsl.tests/LICENSE.txt new file mode 100644 index 0000000..ff42ad4 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/LICENSE.txt @@ -0,0 +1,161 @@ +Eclipse Public License -v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION +OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. +A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone +acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate +modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not +derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of +its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute +and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code +form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the +Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the +combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such +addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not +apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no +assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity +based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property +rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the +Program, it is Recipient's responsibility to acquire that license before distributing the Program. + +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to +grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and + +b) its license agreement: + +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including +warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and +fitness for a particular purpose; + +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any +other party; and + +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it +in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and + +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and +the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes +the Program in a commercial product offering should do so in a manner which does not create potential liability for +other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions +brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such +Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual +property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the +Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is +then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties +related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. +Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to +those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, +the Commercial Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for +determining the appropriateness of using and distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance +with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such +Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such +litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such +noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution +of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement +is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish +new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the +right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the +Agreement will be given a distinguishing version number. The Program (including Contributions) may always be +distributed subject to the version of the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the +new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States +of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause +of action arose. Each party waives its rights to a jury trial in any resulting litigation.
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/META-INF/MANIFEST.MF b/org.eclipse.osbp.xtext.dialogdsl.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..9c73970 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.osbp.xtext.dialogdsl.tests +Bundle-Vendor: Eclipse OSBP +Bundle-Version: 0.9.0.qualifier +Bundle-SymbolicName: org.eclipse.osbp.xtext.dialogdsl.tests;singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: com.google.inject;bundle-version="3.0.0", + org.eclipse.core.runtime, + org.eclipse.xtext.junit4;bundle-version="[2.7.3,2.8.0)", + org.eclipse.ui.workbench;resolution:=optional, + org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional, + org.eclipse.osbp.xtext.dialogdsl;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.dialogdsl.ui;bundle-version="[0.9.0,0.10.0)" +Import-Package: org.apache.log4j, + org.junit;version="4.5.0", + org.junit.runner;version="4.5.0", + org.junit.runner.manipulation;version="4.5.0", + org.junit.runner.notification;version="4.5.0", + org.junit.runners;version="4.5.0", + org.junit.runners.model;version="4.5.0", + org.hamcrest.core +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.osbp.xtext.dialogdsl;version="0.9.0" diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/about.html b/org.eclipse.osbp.xtext.dialogdsl.tests/about.html new file mode 100644 index 0000000..64c0598 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 1, 2016</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/about.ini b/org.eclipse.osbp.xtext.dialogdsl.tests/about.ini new file mode 100644 index 0000000..7df671f --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/about.ini @@ -0,0 +1,17 @@ +# about.ini +# contains information about a feature +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# "%key" are externalized strings defined in about.properties +# This file does not need to be translated. + +# Property "aboutText" contains blurb for "About" dialog (translated) +aboutText=%featureText + +# Property "featureImage" contains path to feature image (32x32) +featureImage= + +# Property "appName" contains name of the application (translated) +appName=%featureName + +# Property "welcomePage" contains path to welcome page (special XML-based format) +welcomePage= diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/about.mappings b/org.eclipse.osbp.xtext.dialogdsl.tests/about.mappings new file mode 100644 index 0000000..4511a0a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/about.mappings @@ -0,0 +1,6 @@ +# about.mappings +# contains fill-ins for about.properties +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file does not need to be translated. + +0=qualifier diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/about.properties b/org.eclipse.osbp.xtext.dialogdsl.tests/about.properties new file mode 100644 index 0000000..832e6d0 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/about.properties @@ -0,0 +1,26 @@ +# +# Copyright (c) 2012, 2016 - Loetz GmbH&Co.KG (Heidelberg) +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation +# + +# NLS_MESSAGEFORMAT_VAR + +featureName=org.eclipse.osbp.xtext.dialogdsl.tests + +################ blurb property #################################### +featureText=\ +Copyright (c) 2012-2016 - Loetz GmbH&Co.KG \n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +Contributors:\n\ + Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation\n +################ end of blurb property #################################### diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/build.properties b/org.eclipse.osbp.xtext.dialogdsl.tests/build.properties new file mode 100644 index 0000000..a5c1ea8 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/build.properties @@ -0,0 +1,14 @@ +source.. = src/,\ + src-gen/ +bin.includes = about.properties, about.mappings, about.ini, about.html, META-INF/,\ + .,\ + .settings/,\ + .project,\ + .classpath,\ + license.html,\ + LICENSE.txt,\ + epl-v10.html +src.excludes = xtend-gen/,\ + license.html,\ + LICENSE.txt,\ + epl-v10.html diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/epl-v10.html b/org.eclipse.osbp.xtext.dialogdsl.tests/epl-v10.html new file mode 100644 index 0000000..b398acc --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/epl-v10.html @@ -0,0 +1,259 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Public License - Version 1.0</title> +<style type="text/css"> + body { + size: 8.5in 11.0in; + margin: 0.25in 0.5in 0.25in 0.5in; + tab-interval: 0.5in; + } + p { + margin-left: auto; + margin-top: 0.5em; + margin-bottom: 0.5em; + } + p.list { + margin-left: 0.5in; + margin-top: 0.05em; + margin-bottom: 0.05em; + } + </style> + +</head> + +<body lang="EN-US"> + +<h2>Eclipse Public License - v 1.0</h2> + +<p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.</p> + +<p><b>1. DEFINITIONS</b></p> + +<p>"Contribution" means:</p> + +<p class="list">a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and</p> +<p class="list">b) in the case of each subsequent Contributor:</p> +<p class="list">i) changes to the Program, and</p> +<p class="list">ii) additions to the Program;</p> +<p class="list">where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.</p> + +<p>"Contributor" means any person or entity that distributes +the Program.</p> + +<p>"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.</p> + +<p>"Program" means the Contributions distributed in accordance +with this Agreement.</p> + +<p>"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.</p> + +<p><b>2. GRANT OF RIGHTS</b></p> + +<p class="list">a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.</p> + +<p class="list">b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.</p> + +<p class="list">c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.</p> + +<p class="list">d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.</p> + +<p><b>3. REQUIREMENTS</b></p> + +<p>A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:</p> + +<p class="list">a) it complies with the terms and conditions of this +Agreement; and</p> + +<p class="list">b) its license agreement:</p> + +<p class="list">i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;</p> + +<p class="list">ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;</p> + +<p class="list">iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and</p> + +<p class="list">iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.</p> + +<p>When the Program is made available in source code form:</p> + +<p class="list">a) it must be made available under this Agreement; and</p> + +<p class="list">b) a copy of this Agreement must be included with each +copy of the Program.</p> + +<p>Contributors may not remove or alter any copyright notices contained +within the Program.</p> + +<p>Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.</p> + +<p><b>4. COMMERCIAL DISTRIBUTION</b></p> + +<p>Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.</p> + +<p>For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.</p> + +<p><b>5. NO WARRANTY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.</p> + +<p><b>6. DISCLAIMER OF LIABILITY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p> + +<p><b>7. GENERAL</b></p> + +<p>If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.</p> + +<p>If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.</p> + +<p>All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.</p> + +<p>Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.</p> + +<p>This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.</p> + + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/license.html b/org.eclipse.osbp.xtext.dialogdsl.tests/license.html new file mode 100644 index 0000000..6e579a5 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/license.html @@ -0,0 +1,164 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Foundation Software User Agreement</title> +</head> + +<body lang="EN-US"> +<h2>Eclipse Foundation Software User Agreement</h2> +<p>February 1, 2011</p> + +<h3>Usage Of Content</h3> + +<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p> + +<h3>Applicable Licenses</h3> + +<p>Unless otherwise indicated, all Content made available by the Eclipse + Foundation is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also + available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. + For purposes of the EPL, "Program" will mean the Content.</p> + +<p>Content includes, but is not limited to, source code, object code, +documentation and other files maintained in the Eclipse Foundation +source code + repository ("Repository") in software modules ("Modules") and made +available as downloadable archives ("Downloads").</p> + +<ul> + <li>Content may be structured and packaged into modules to +facilitate delivering, extending, and upgrading the Content. Typical +modules may include plug-ins ("Plug-ins"), plug-in fragments +("Fragments"), and features ("Features").</li> + <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li> + <li>A Feature is a bundle of one or more Plug-ins and/or +Fragments and associated material. Each Feature may be packaged as a +sub-directory in a directory named "features". Within a Feature, files +named "feature.xml" may contain a list of the names and version numbers +of the Plug-ins + and/or Fragments associated with that Feature.</li> + <li>Features may also include other Features ("Included +Features"). Within a Feature, files named "feature.xml" may contain a +list of the names and version numbers of Included Features.</li> +</ul> + +<p>The terms and conditions governing Plug-ins and Fragments should be +contained in files named "about.html" ("Abouts"). The terms and +conditions governing Features and +Included Features should be contained in files named "license.html" +("Feature Licenses"). Abouts and Feature Licenses may be located in any + directory of a Download or Module +including, but not limited to the following locations:</p> + +<ul> + <li>The top-level (root) directory</li> + <li>Plug-in and Fragment directories</li> + <li>Inside Plug-ins and Fragments packaged as JARs</li> + <li>Sub-directories of the directory named "src" of certain Plug-ins</li> + <li>Feature directories</li> +</ul> + +<p>Note: if a Feature made available by the Eclipse Foundation is +installed using the Provisioning Technology (as defined below), you must + agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the +Feature Update License should either provide you with the terms and +conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be +found in the "license" property of files named "feature.properties" +found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the +terms and conditions (or references to such terms and conditions) that +govern your use of the associated Content in +that directory.</p> + +<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. + SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p> + +<ul> + <li>Eclipse Distribution License Version 1.0 (available at <a href="http://www.eclipse.org/licenses/edl-v10.html">http://www.eclipse.org/licenses/edl-v1.0.html</a>)</li> + <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li> + <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li> + <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li> + <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li> + <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li> +</ul> + +<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND +CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, +or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions +govern that particular Content.</p> + + +<h3>Use of Provisioning Technology</h3> + +<p>The Eclipse Foundation makes available provisioning software, +examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of +allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This +capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about +packaging Installable Software is available at <a href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a> + ("Specification").</p> + +<p>You may use Provisioning Technology to allow other parties to install + Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to + be presented to, and accepted by, the users of the Provisioning +Technology + in accordance with the Specification. By using Provisioning +Technology in such a manner and making it available in accordance with +the + Specification, you further acknowledge your agreement to, and the +acquisition of all necessary rights to permit the following:</p> + +<ol> + <li>A series of actions may occur ("Provisioning Process") in +which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, +extending or updating the functionality of an Eclipse-based + product.</li> + <li>During the Provisioning Process, the Provisioning Technology +may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.</li> + <li>Pursuant to the Specification, you will provide to the user +the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable +Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable +Software Agreement must inform the user of the terms and conditions that + govern + the Installable Software and must solicit acceptance by the end +user in the manner prescribed in such Installable Software Agreement. +Upon such + indication of agreement by the user, the provisioning Technology +will complete installation of the Installable Software.</li> +</ol> + +<h3>Cryptography</h3> + +<p>Content may contain encryption software. The country in which you are + currently may have restrictions on the import, possession, and use, +and/or re-export to + another country, of encryption software. BEFORE using any encryption +software, please check the country's laws, regulations and policies +concerning the import, + possession, or use, and re-export of encryption software, to see if +this is permitted.</p> + +<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p> + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/org.eclipse.osbp.xtext.dialogdsl.tests.launch b/org.eclipse.osbp.xtext.dialogdsl.tests/org.eclipse.osbp.xtext.dialogdsl.tests.launch new file mode 100644 index 0000000..fdb8ecb --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/org.eclipse.osbp.xtext.dialogdsl.tests.launch @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<launchConfiguration type="org.eclipse.jdt.junit.launchconfig"> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> +<listEntry value="/org.eclipse.osbp.xtext.dialogdsl.tests"/> +</listAttribute> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> +<listEntry value="4"/> +</listAttribute> +<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value="=org.eclipse.osbp.xtext.dialogdsl.tests"/> +<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> +<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/> +<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/> +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.osbp.xtext.dialogdsl.tests"/> +<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/> +</launchConfiguration> diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/pom.xml b/org.eclipse.osbp.xtext.dialogdsl.tests/pom.xml new file mode 100644 index 0000000..e44e35c --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/pom.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--#======================================================================= --> +<!--# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) --> +<!--# All rights reserved. This program and the accompanying materials --> +<!--# are made available under the terms of the Eclipse Public License v1.0 --> +<!--# which accompanies this distribution, and is available at --> +<!--# http://www.eclipse.org/legal/epl-v10.html --> +<!--# --> +<!--# Contributors: --> +<!--# Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation --> +<!--#======================================================================= --> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <artifactId>org.eclipse.osbp.xtext.dialogdsl.tests</artifactId> + <packaging>eclipse-plugin</packaging> + <parent> + <groupId>org.eclipse.osbp.xtext.dialogdsl</groupId> + <artifactId>org.eclipse.osbp.xtext.dialogdsl.aggregator</artifactId> + <version>0.9.0-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> +</project> diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/src-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDslInjectorProvider.java b/org.eclipse.osbp.xtext.dialogdsl.tests/src-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDslInjectorProvider.java new file mode 100644 index 0000000..71317b2 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/src-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDslInjectorProvider.java @@ -0,0 +1,57 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.xtext.junit4.GlobalRegistries; +import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento; +import org.eclipse.xtext.junit4.IInjectorProvider; +import org.eclipse.xtext.junit4.IRegistryConfigurator; + +import com.google.inject.Injector; + +public class DialogDslInjectorProvider implements IInjectorProvider, IRegistryConfigurator { + + protected GlobalStateMemento stateBeforeInjectorCreation; + protected GlobalStateMemento stateAfterInjectorCreation; + protected Injector injector; + + static { + GlobalRegistries.initializeDefaults(); + } + + public Injector getInjector() + { + if (injector == null) { + stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + this.injector = internalCreateInjector(); + stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + } + return injector; + } + + protected Injector internalCreateInjector() { + return new DialogDslStandaloneSetup().createInjectorAndDoEMFRegistration(); + } + + public void restoreRegistry() { + stateBeforeInjectorCreation.restoreGlobalState(); + } + + public void setupRegistry() { + getInjector(); + stateAfterInjectorCreation.restoreGlobalState(); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/src-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDslUiInjectorProvider.java b/org.eclipse.osbp.xtext.dialogdsl.tests/src-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDslUiInjectorProvider.java new file mode 100644 index 0000000..ae7ee66 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/src-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDslUiInjectorProvider.java @@ -0,0 +1,28 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.xtext.junit4.IInjectorProvider; + +import com.google.inject.Injector; + +public class DialogDslUiInjectorProvider implements IInjectorProvider { + + public Injector getInjector() { + return org.eclipse.osbp.xtext.dialogdsl.ui.internal.DialogDslActivator.getInstance().getInjector("org.eclipse.osbp.xtext.dialogdsl.DialogDsl"); + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.tests/src/README.txt b/org.eclipse.osbp.xtext.dialogdsl.tests/src/README.txt new file mode 100644 index 0000000..7b4d68d --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.tests/src/README.txt @@ -0,0 +1 @@ +empty
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/.project b/org.eclipse.osbp.xtext.dialogdsl.ui/.project new file mode 100644 index 0000000..75d138a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/.project @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osbp.xtext.dialogdsl.ui</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.xtext.ui.shared.xtextBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.babel.editor.rbeBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.sonarlint.eclipse.core.sonarlintBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> + <nature>org.eclipse.babel.editor.rbeNature</nature> + </natures> +</projectDescription> diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/LICENSE.txt b/org.eclipse.osbp.xtext.dialogdsl.ui/LICENSE.txt new file mode 100644 index 0000000..ff42ad4 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/LICENSE.txt @@ -0,0 +1,161 @@ +Eclipse Public License -v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION +OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. +A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone +acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate +modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not +derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of +its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute +and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code +form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the +Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the +combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such +addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not +apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no +assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity +based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property +rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the +Program, it is Recipient's responsibility to acquire that license before distributing the Program. + +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to +grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and + +b) its license agreement: + +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including +warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and +fitness for a particular purpose; + +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any +other party; and + +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it +in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and + +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and +the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes +the Program in a commercial product offering should do so in a manner which does not create potential liability for +other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions +brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such +Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual +property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the +Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is +then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties +related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. +Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to +those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, +the Commercial Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for +determining the appropriateness of using and distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance +with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such +Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such +litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such +noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution +of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement +is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish +new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the +right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the +Agreement will be given a distinguishing version number. The Program (including Contributions) may always be +distributed subject to the version of the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the +new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States +of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause +of action arose. Each party waives its rights to a jury trial in any resulting litigation.
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/META-INF/MANIFEST.MF b/org.eclipse.osbp.xtext.dialogdsl.ui/META-INF/MANIFEST.MF new file mode 100644 index 0000000..aa2068d --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/META-INF/MANIFEST.MF @@ -0,0 +1,46 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.osbp.xtext.dialogdsl.ui +Bundle-Vendor: Eclipse OSBP +Bundle-Version: 0.9.0.qualifier +Bundle-SymbolicName: org.eclipse.osbp.xtext.dialogdsl.ui;singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.slf4j.api;bundle-version="1.7.2", + org.apache.log4j;bundle-version="1.2.15", + org.eclipse.ui, + org.eclipse.ui.editors;bundle-version="3.5.0", + org.eclipse.ui.ide;bundle-version="3.5.0", + javax.annotation;bundle-version="[1.1.0,1.2.0)", + org.antlr.runtime, + com.google.inject;bundle-version="3.0.0", + org.eclipse.xtext.ui;bundle-version="[2.7.3,2.8.0)", + org.eclipse.xtext.ui.shared;bundle-version="[2.7.3,2.8.0)", + org.eclipse.xtext.xbase.ui;bundle-version="[2.7.3,2.8.0)", + org.eclipse.xtext.builder;bundle-version="[2.7.3,2.8.0)", + org.eclipse.xtext.common.types.ui;bundle-version="[2.7.3,2.8.0)", + org.eclipse.xtext.ui.codetemplates.ui;bundle-version="[2.7.3,2.8.0)", + org.eclipse.compare, + org.eclipse.xtext.xbase.lib;bundle-version="[2.7.3,2.8.0)", + org.eclipse.jdt.debug.ui, + org.eclipse.osbp.preferences;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.utils;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.eventbroker;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.persistence;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.utils.ui;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.authentication;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.autowireHelper;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.dialogdsl;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.basic.ui;bundle-version="[0.9.0,0.10.0)" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.osbp.xtext.dialogdsl.ui;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.ui.contentassist;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.ui.internal;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.ui.labeling;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.ui.outline;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.ui.quickfix;version="0.9.0" +Bundle-Activator: org.eclipse.osbp.xtext.dialogdsl.ui.internal.DialogDslActivator +Import-Package: javax.validation;version="1.1.0", + javax.validation.constraints;version="1.1.0", + org.apache.log4j diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/about.html b/org.eclipse.osbp.xtext.dialogdsl.ui/about.html new file mode 100644 index 0000000..64c0598 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 1, 2016</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/about.ini b/org.eclipse.osbp.xtext.dialogdsl.ui/about.ini new file mode 100644 index 0000000..7df671f --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/about.ini @@ -0,0 +1,17 @@ +# about.ini +# contains information about a feature +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# "%key" are externalized strings defined in about.properties +# This file does not need to be translated. + +# Property "aboutText" contains blurb for "About" dialog (translated) +aboutText=%featureText + +# Property "featureImage" contains path to feature image (32x32) +featureImage= + +# Property "appName" contains name of the application (translated) +appName=%featureName + +# Property "welcomePage" contains path to welcome page (special XML-based format) +welcomePage= diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/about.mappings b/org.eclipse.osbp.xtext.dialogdsl.ui/about.mappings new file mode 100644 index 0000000..4511a0a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/about.mappings @@ -0,0 +1,6 @@ +# about.mappings +# contains fill-ins for about.properties +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file does not need to be translated. + +0=qualifier diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/about.properties b/org.eclipse.osbp.xtext.dialogdsl.ui/about.properties new file mode 100644 index 0000000..7f06dcc --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/about.properties @@ -0,0 +1,26 @@ +# +# Copyright (c) 2012, 2016 - Loetz GmbH&Co.KG (Heidelberg) +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation +# + +# NLS_MESSAGEFORMAT_VAR + +featureName=org.eclipse.osbp.xtext.dialogdsl.ui + +################ blurb property #################################### +featureText=\ +Copyright (c) 2012-2016 - Loetz GmbH&Co.KG \n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +Contributors:\n\ + Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation\n +################ end of blurb property #################################### diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/build.properties b/org.eclipse.osbp.xtext.dialogdsl.ui/build.properties new file mode 100644 index 0000000..608091b --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/build.properties @@ -0,0 +1,18 @@ +source.. = src/,\ + src-gen/,\ + xtend-gen/ +bin.includes = about.properties, about.mappings, about.ini, about.html, META-INF/,\ + .,\ + plugin.xml,\ + .classpath,\ + .project,\ + .settings/,\ + templates/,\ + i18n/,\ + icons/,\ + license.html,\ + LICENSE.txt +src.includes = about.properties, about.mappings, about.ini, about.html, icons/,\ + LICENSE.txt,\ + license.html + diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/epl-v10.html b/org.eclipse.osbp.xtext.dialogdsl.ui/epl-v10.html new file mode 100644 index 0000000..b398acc --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/epl-v10.html @@ -0,0 +1,259 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Public License - Version 1.0</title> +<style type="text/css"> + body { + size: 8.5in 11.0in; + margin: 0.25in 0.5in 0.25in 0.5in; + tab-interval: 0.5in; + } + p { + margin-left: auto; + margin-top: 0.5em; + margin-bottom: 0.5em; + } + p.list { + margin-left: 0.5in; + margin-top: 0.05em; + margin-bottom: 0.05em; + } + </style> + +</head> + +<body lang="EN-US"> + +<h2>Eclipse Public License - v 1.0</h2> + +<p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.</p> + +<p><b>1. DEFINITIONS</b></p> + +<p>"Contribution" means:</p> + +<p class="list">a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and</p> +<p class="list">b) in the case of each subsequent Contributor:</p> +<p class="list">i) changes to the Program, and</p> +<p class="list">ii) additions to the Program;</p> +<p class="list">where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.</p> + +<p>"Contributor" means any person or entity that distributes +the Program.</p> + +<p>"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.</p> + +<p>"Program" means the Contributions distributed in accordance +with this Agreement.</p> + +<p>"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.</p> + +<p><b>2. GRANT OF RIGHTS</b></p> + +<p class="list">a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.</p> + +<p class="list">b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.</p> + +<p class="list">c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.</p> + +<p class="list">d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.</p> + +<p><b>3. REQUIREMENTS</b></p> + +<p>A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:</p> + +<p class="list">a) it complies with the terms and conditions of this +Agreement; and</p> + +<p class="list">b) its license agreement:</p> + +<p class="list">i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;</p> + +<p class="list">ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;</p> + +<p class="list">iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and</p> + +<p class="list">iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.</p> + +<p>When the Program is made available in source code form:</p> + +<p class="list">a) it must be made available under this Agreement; and</p> + +<p class="list">b) a copy of this Agreement must be included with each +copy of the Program.</p> + +<p>Contributors may not remove or alter any copyright notices contained +within the Program.</p> + +<p>Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.</p> + +<p><b>4. COMMERCIAL DISTRIBUTION</b></p> + +<p>Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.</p> + +<p>For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.</p> + +<p><b>5. NO WARRANTY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.</p> + +<p><b>6. DISCLAIMER OF LIABILITY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p> + +<p><b>7. GENERAL</b></p> + +<p>If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.</p> + +<p>If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.</p> + +<p>All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.</p> + +<p>Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.</p> + +<p>This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.</p> + + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/i18n/I18N.properties b/org.eclipse.osbp.xtext.dialogdsl.ui/i18n/I18N.properties new file mode 100644 index 0000000..575a079 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/i18n/I18N.properties @@ -0,0 +1,52 @@ +# +#Mon Jan 16 15:50:21 CET 2017 +org.eclipse.osbp.xtext.dialogdsl.CCDialog=Dialog configuration. The specification of a name and a 'ui model' is mandatory.\nOptionally the following features can be assigned to the dialog\:\n<ul>\n<li>embedded</li>\n<li>toolbar</li>\n<li>handler</li>\n<li>refreshingView</li>\n</ul>\nContent assist available. +org.eclipse.osbp.xtext.dialogdsl.CCDialog.described\ by=Further description of the dialog. +org.eclipse.osbp.xtext.dialogdsl.CCDialog.dialog=Define a dialog configuration. +org.eclipse.osbp.xtext.dialogdsl.CCDialog.embedded=Dialog only available for OSBP applications. +org.eclipse.osbp.xtext.dialogdsl.CCDialog.handler=(obsolete) Event handler for the toolbar. +org.eclipse.osbp.xtext.dialogdsl.CCDialog.refreshingView=(obsolete) Specify table which shell be refreshed according to invoked event. +org.eclipse.osbp.xtext.dialogdsl.CCDialog.toolbar=Choose an action toolbar which shell be provided for the dialog.\nAction bars are created by the 'ActionDSL'. +org.eclipse.osbp.xtext.dialogdsl.CCDialog.view=Specify the 'ui model' which underlies the dialog.\nA ui model is defined within an appropriate *.uimodel file by determining the DTO models which are used to establish the data exchange with the database. +org.eclipse.osbp.xtext.dialogdsl.CCDialogHandler=(obsolete) Specify an event handler for the dialog. The following events can be handled\:\n<ul>\n<li>Default (initial state of the dialog)</li>\n<li>New</li>\n<li>Save</li>\n<li>Delete</li>\n<li>Cancel</li>\n</ul>\nContent assist available. +org.eclipse.osbp.xtext.dialogdsl.CCDialogHandlerEnum=(obsolete) Handling events. +org.eclipse.osbp.xtext.dialogdsl.CCDialogHandlerEnum.cancel=(obsolete) 'Cancel' event +org.eclipse.osbp.xtext.dialogdsl.CCDialogHandlerEnum.default=(obsolete) Initialisation actions for the dialog +org.eclipse.osbp.xtext.dialogdsl.CCDialogHandlerEnum.delete=(obsolete) 'Delete' event +org.eclipse.osbp.xtext.dialogdsl.CCDialogHandlerEnum.new=(obsolete) 'New' event +org.eclipse.osbp.xtext.dialogdsl.CCDialogHandlerEnum.save=(obsolete) 'Save' event +org.eclipse.osbp.xtext.dialogdsl.CCDialogImport=Required external model or Java class. +org.eclipse.osbp.xtext.dialogdsl.CCDialogImport.import=Import external models or Java classes. +org.eclipse.osbp.xtext.dialogdsl.CCDialogModel= +org.eclipse.osbp.xtext.dialogdsl.CCDialogPackage=Specify the package the dialog shell be added to. +org.eclipse.osbp.xtext.dialogdsl.CCDialogPackage.package=Root element that contains all the other elements. A model can contain multiple packages. +org.eclipse.osbp.xtext.dialogdsl.CCDialogQualifiedNameWithWildCard= +org.eclipse.osbp.xtext.dialogdsl.Dialog= +org.eclipse.osbp.xtext.dialogdsl.Dialog.autobinding= +org.eclipse.osbp.xtext.dialogdsl.Dialog.autowire= +org.eclipse.osbp.xtext.dialogdsl.Dialog.described\ by= +org.eclipse.osbp.xtext.dialogdsl.Dialog.dialog= +org.eclipse.osbp.xtext.dialogdsl.Dialog.ecview= +org.eclipse.osbp.xtext.dialogdsl.Dialog.embedded= +org.eclipse.osbp.xtext.dialogdsl.Dialog.handler= +org.eclipse.osbp.xtext.dialogdsl.Dialog.manual= +org.eclipse.osbp.xtext.dialogdsl.Dialog.pure= +org.eclipse.osbp.xtext.dialogdsl.Dialog.refreshingView= +org.eclipse.osbp.xtext.dialogdsl.Dialog.stateful= +org.eclipse.osbp.xtext.dialogdsl.Dialog.toolbar= +org.eclipse.osbp.xtext.dialogdsl.Dialog.view= +org.eclipse.osbp.xtext.dialogdsl.DialogHandler= +org.eclipse.osbp.xtext.dialogdsl.DialogHandlerEnum= +org.eclipse.osbp.xtext.dialogdsl.DialogHandlerEnum.cancel= +org.eclipse.osbp.xtext.dialogdsl.DialogHandlerEnum.default= +org.eclipse.osbp.xtext.dialogdsl.DialogHandlerEnum.delete= +org.eclipse.osbp.xtext.dialogdsl.DialogHandlerEnum.new= +org.eclipse.osbp.xtext.dialogdsl.DialogHandlerEnum.save= +org.eclipse.osbp.xtext.dialogdsl.DialogImport= +org.eclipse.osbp.xtext.dialogdsl.DialogImport.import= +org.eclipse.osbp.xtext.dialogdsl.DialogModel= +org.eclipse.osbp.xtext.dialogdsl.DialogPackage= +org.eclipse.osbp.xtext.dialogdsl.DialogPackage.package= +org.eclipse.osbp.xtext.dialogdsl.DialogQualifiedNameWithWildCard= +org.eclipse.osbp.xtext.dialogdsl.TRANSLATABLESTRING= +org.eclipse.osbp.xtext.dialogdsl.TYPE_CROSS_REFERENCE= diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/icons/dsl_dialog.gif b/org.eclipse.osbp.xtext.dialogdsl.ui/icons/dsl_dialog.gif Binary files differnew file mode 100644 index 0000000..307645e --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/icons/dsl_dialog.gif diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/icons/dsl_import.png b/org.eclipse.osbp.xtext.dialogdsl.ui/icons/dsl_import.png Binary files differnew file mode 100644 index 0000000..f4fdcc9 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/icons/dsl_import.png diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/icons/model.png b/org.eclipse.osbp.xtext.dialogdsl.ui/icons/model.png Binary files differnew file mode 100644 index 0000000..cffb857 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/icons/model.png diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/icons/package.gif b/org.eclipse.osbp.xtext.dialogdsl.ui/icons/package.gif Binary files differnew file mode 100644 index 0000000..34506fb --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/icons/package.gif diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/license.html b/org.eclipse.osbp.xtext.dialogdsl.ui/license.html new file mode 100644 index 0000000..6e579a5 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/license.html @@ -0,0 +1,164 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Foundation Software User Agreement</title> +</head> + +<body lang="EN-US"> +<h2>Eclipse Foundation Software User Agreement</h2> +<p>February 1, 2011</p> + +<h3>Usage Of Content</h3> + +<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p> + +<h3>Applicable Licenses</h3> + +<p>Unless otherwise indicated, all Content made available by the Eclipse + Foundation is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also + available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. + For purposes of the EPL, "Program" will mean the Content.</p> + +<p>Content includes, but is not limited to, source code, object code, +documentation and other files maintained in the Eclipse Foundation +source code + repository ("Repository") in software modules ("Modules") and made +available as downloadable archives ("Downloads").</p> + +<ul> + <li>Content may be structured and packaged into modules to +facilitate delivering, extending, and upgrading the Content. Typical +modules may include plug-ins ("Plug-ins"), plug-in fragments +("Fragments"), and features ("Features").</li> + <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li> + <li>A Feature is a bundle of one or more Plug-ins and/or +Fragments and associated material. Each Feature may be packaged as a +sub-directory in a directory named "features". Within a Feature, files +named "feature.xml" may contain a list of the names and version numbers +of the Plug-ins + and/or Fragments associated with that Feature.</li> + <li>Features may also include other Features ("Included +Features"). Within a Feature, files named "feature.xml" may contain a +list of the names and version numbers of Included Features.</li> +</ul> + +<p>The terms and conditions governing Plug-ins and Fragments should be +contained in files named "about.html" ("Abouts"). The terms and +conditions governing Features and +Included Features should be contained in files named "license.html" +("Feature Licenses"). Abouts and Feature Licenses may be located in any + directory of a Download or Module +including, but not limited to the following locations:</p> + +<ul> + <li>The top-level (root) directory</li> + <li>Plug-in and Fragment directories</li> + <li>Inside Plug-ins and Fragments packaged as JARs</li> + <li>Sub-directories of the directory named "src" of certain Plug-ins</li> + <li>Feature directories</li> +</ul> + +<p>Note: if a Feature made available by the Eclipse Foundation is +installed using the Provisioning Technology (as defined below), you must + agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the +Feature Update License should either provide you with the terms and +conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be +found in the "license" property of files named "feature.properties" +found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the +terms and conditions (or references to such terms and conditions) that +govern your use of the associated Content in +that directory.</p> + +<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. + SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p> + +<ul> + <li>Eclipse Distribution License Version 1.0 (available at <a href="http://www.eclipse.org/licenses/edl-v10.html">http://www.eclipse.org/licenses/edl-v1.0.html</a>)</li> + <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li> + <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li> + <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li> + <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li> + <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li> +</ul> + +<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND +CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, +or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions +govern that particular Content.</p> + + +<h3>Use of Provisioning Technology</h3> + +<p>The Eclipse Foundation makes available provisioning software, +examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of +allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This +capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about +packaging Installable Software is available at <a href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a> + ("Specification").</p> + +<p>You may use Provisioning Technology to allow other parties to install + Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to + be presented to, and accepted by, the users of the Provisioning +Technology + in accordance with the Specification. By using Provisioning +Technology in such a manner and making it available in accordance with +the + Specification, you further acknowledge your agreement to, and the +acquisition of all necessary rights to permit the following:</p> + +<ol> + <li>A series of actions may occur ("Provisioning Process") in +which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, +extending or updating the functionality of an Eclipse-based + product.</li> + <li>During the Provisioning Process, the Provisioning Technology +may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.</li> + <li>Pursuant to the Specification, you will provide to the user +the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable +Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable +Software Agreement must inform the user of the terms and conditions that + govern + the Installable Software and must solicit acceptance by the end +user in the manner prescribed in such Installable Software Agreement. +Upon such + indication of agreement by the user, the provisioning Technology +will complete installation of the Installable Software.</li> +</ol> + +<h3>Cryptography</h3> + +<p>Content may contain encryption software. The country in which you are + currently may have restrictions on the import, possession, and use, +and/or re-export to + another country, of encryption software. BEFORE using any encryption +software, please check the country's laws, regulations and policies +concerning the import, + possession, or use, and re-export of encryption software, to see if +this is permitted.</p> + +<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p> + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/plugin.xml b/org.eclipse.osbp.xtext.dialogdsl.ui/plugin.xml new file mode 100644 index 0000000..bd5b4b9 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/plugin.xml @@ -0,0 +1,404 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> +<plugin> + <extension + point="org.eclipse.ui.editors"> + <editor + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor" + contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor" + default="true" + extensions="dialog" + icon="icons/dsl_dialog.gif" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + name="OSBP DialogDsl Editor"> + </editor> + </extension> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler" + commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler" + commandId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.validate"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + <!-- copy qualified name --> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler" + commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"> + <activeWhen> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened" /> + </activeWhen> + </handler> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler" + commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"> + <activeWhen> + <and> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.XtextEditor.opened" /> + <iterate> + <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> + </iterate> + </and> + </activeWhen> + </handler> + </extension> + <extension point="org.eclipse.core.expressions.definitions"> + <definition id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + <and> + <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/> + <with variable="activeEditor"> + <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" + value="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + forcePluginActivation="true"/> + </with> + </and> + </definition> + <definition id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.XtextEditor.opened"> + <and> + <reference definitionId="isXtextEditorActive"/> + <with variable="activeEditor"> + <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" + value="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + forcePluginActivation="true"/> + </with> + </and> + </definition> + </extension> + <extension + point="org.eclipse.ui.preferencePages"> + <page + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + icon="icons/dsl_dialog.gif" + name="OSBP DialogDsl"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.coloring" + icon="icons/dsl_dialog.gif" + name="Syntax Coloring"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.templates" + icon="icons/dsl_dialog.gif" + name="Templates"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + </extension> + <extension + point="org.eclipse.ui.propertyPages"> + <page + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + icon="icons/dsl_dialog.gif" + name="OSBP DialogDsl"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + <enabledWhen> + <adapt type="org.eclipse.core.resources.IProject"/> + </enabledWhen> + <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> + </page> + </extension> + <extension + point="org.eclipse.ui.keywords"> + <keyword + id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl" + label="OSBP DialogDsl"/> + </extension> + <extension + point="org.eclipse.ui.commands"> + <command + description="Trigger expensive validation" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.validate" + name="Validate"> + </command> + <!-- copy qualified name --> + <command + id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" + categoryId="org.eclipse.ui.category.edit" + description="Copy the qualified name for the selected element" + name="Copy Qualified Name"> + </command> + <command + id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" + categoryId="org.eclipse.ui.category.edit" + description="Copy the qualified name for the selected element" + name="Copy Qualified Name"> + </command> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.edit"> + <command + commandId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.validate" + style="push" + tooltip="Trigger expensive validation"> + <visibleWhen checkEnabled="false"> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </visibleWhen> + </command> + </menuContribution> + <!-- copy qualified name --> + <menuContribution locationURI="popup:#TextEditorContext?after=copy"> + <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" + style="push" tooltip="Copy Qualified Name"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened" /> + </visibleWhen> + </command> + </menuContribution> + <menuContribution locationURI="menu:edit?after=copy"> + <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" + style="push" tooltip="Copy Qualified Name"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened" /> + </visibleWhen> + </command> + </menuContribution> + <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions"> + <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" + style="push" tooltip="Copy Qualified Name"> + <visibleWhen checkEnabled="false"> + <and> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.XtextEditor.opened" /> + <iterate> + <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> + </iterate> + </and> + </visibleWhen> + </command> + </menuContribution> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution locationURI="popup:#TextEditorContext?endof=group.find"> + <command commandId="org.eclipse.xtext.ui.editor.FindReferences"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </visibleWhen> + </command> + </menuContribution> + </extension> + <extension point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler" + commandId="org.eclipse.xtext.ui.editor.FindReferences"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + +<!-- adding resource factories --> + + <extension + point="org.eclipse.emf.ecore.extension_parser"> + <parser + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory" + type="dialog"> + </parser> + </extension> + <extension point="org.eclipse.xtext.extension_resourceServiceProvider"> + <resourceServiceProvider + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider" + uriExtension="dialog"> + </resourceServiceProvider> + </extension> + + + <!-- marker definitions for org.eclipse.osbp.xtext.dialogdsl.DialogDsl --> + <extension + id="dialogdsl.check.fast" + name="OSBP DialogDsl Problem" + point="org.eclipse.core.resources.markers"> + <super type="org.eclipse.xtext.ui.check.fast"/> + <persistent value="true"/> + </extension> + <extension + id="dialogdsl.check.normal" + name="OSBP DialogDsl Problem" + point="org.eclipse.core.resources.markers"> + <super type="org.eclipse.xtext.ui.check.normal"/> + <persistent value="true"/> + </extension> + <extension + id="dialogdsl.check.expensive" + name="OSBP DialogDsl Problem" + point="org.eclipse.core.resources.markers"> + <super type="org.eclipse.xtext.ui.check.expensive"/> + <persistent value="true"/> + </extension> + + <extension + point="org.eclipse.xtext.builder.participant"> + <participant + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant" + fileExtensions="dialog" + > + </participant> + </extension> + <extension + point="org.eclipse.ui.preferencePages"> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.compiler.preferencePage" + icon="icons/dsl_dialog.gif" + name="Compiler"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + </extension> + <extension + point="org.eclipse.ui.propertyPages"> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.compiler.propertyPage" + icon="icons/dsl_dialog.gif" + name="Compiler"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + <enabledWhen> + <adapt type="org.eclipse.core.resources.IProject"/> + </enabledWhen> + <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> + </page> + </extension> + + <!-- Quick Outline --> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" + commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + <extension + point="org.eclipse.ui.commands"> + <command + description="Open the quick outline." + id="org.eclipse.xtext.ui.editor.outline.QuickOutline" + name="Quick Outline"> + </command> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.open"> + <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" + style="push" + tooltip="Open Quick Outline"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"/> + </visibleWhen> + </command> + </menuContribution> + </extension> + <!-- quickfix marker resolution generator for org.eclipse.osbp.xtext.dialogdsl.DialogDsl --> + <extension + point="org.eclipse.ui.ide.markerResolution"> + <markerResolutionGenerator + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" + markerType="org.eclipse.osbp.xtext.dialogdsl.ui.dialogdsl.check.fast"> + <attribute + name="FIXABLE_KEY" + value="true"> + </attribute> + </markerResolutionGenerator> + <markerResolutionGenerator + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" + markerType="org.eclipse.osbp.xtext.dialogdsl.ui.dialogdsl.check.normal"> + <attribute + name="FIXABLE_KEY" + value="true"> + </attribute> + </markerResolutionGenerator> + <markerResolutionGenerator + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" + markerType="org.eclipse.osbp.xtext.dialogdsl.ui.dialogdsl.check.expensive"> + <attribute + name="FIXABLE_KEY" + value="true"> + </attribute> + </markerResolutionGenerator> + </extension> + <!-- Rename Refactoring --> + <extension point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler" + commandId="org.eclipse.xtext.ui.refactoring.RenameElement"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.edit"> + <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement" + style="push"> + <visibleWhen checkEnabled="false"> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </visibleWhen> + </command> + </menuContribution> + </extension> + <extension point="org.eclipse.ui.preferencePages"> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.refactoring" + icon="icons/dsl_dialog.gif" + name="Refactoring"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + </extension> + + <extension point="org.eclipse.compare.contentViewers"> + <viewer id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.compare.contentViewers" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" + extensions="dialog"> + </viewer> + </extension> + <extension point="org.eclipse.compare.contentMergeViewers"> + <viewer id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.compare.contentMergeViewers" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" + extensions="dialog" label="DialogDsl Compare"> + </viewer> + </extension> + <extension point="org.eclipse.ui.editors.documentProviders"> + <provider id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.editors.documentProviders" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider" + extensions="dialog"> + </provider> + </extension> + +</plugin> diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/plugin.xml_gen b/org.eclipse.osbp.xtext.dialogdsl.ui/plugin.xml_gen new file mode 100644 index 0000000..8515e75 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/plugin.xml_gen @@ -0,0 +1,562 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> + +<plugin> + + <extension + point="org.eclipse.ui.editors"> + <editor + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor" + contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor" + default="true" + extensions="dialog" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + matchingStrategy="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.xbase.ui.editor.JavaEditorInputMatcher" + name="DialogDsl Editor"> + </editor> + </extension> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler" + commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler" + commandId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.validate"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + <!-- copy qualified name --> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler" + commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"> + <activeWhen> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened" /> + </activeWhen> + </handler> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler" + commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"> + <activeWhen> + <and> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.XtextEditor.opened" /> + <iterate> + <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> + </iterate> + </and> + </activeWhen> + </handler> + </extension> + <extension point="org.eclipse.core.expressions.definitions"> + <definition id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + <and> + <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/> + <with variable="activeEditor"> + <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" + value="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + forcePluginActivation="true"/> + </with> + </and> + </definition> + <definition id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.XtextEditor.opened"> + <and> + <reference definitionId="isXtextEditorActive"/> + <with variable="activeEditor"> + <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" + value="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + forcePluginActivation="true"/> + </with> + </and> + </definition> + </extension> + <extension + point="org.eclipse.ui.preferencePages"> + <page + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + name="DialogDsl"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.coloring" + name="Syntax Coloring"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.templates" + name="Templates"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + </extension> + <extension + point="org.eclipse.ui.propertyPages"> + <page + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + name="DialogDsl"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + <enabledWhen> + <adapt type="org.eclipse.core.resources.IProject"/> + </enabledWhen> + <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> + </page> + </extension> + <extension + point="org.eclipse.ui.keywords"> + <keyword + id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl" + label="DialogDsl"/> + </extension> + <extension + point="org.eclipse.ui.commands"> + <command + description="Trigger expensive validation" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.validate" + name="Validate"> + </command> + <!-- copy qualified name --> + <command + id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" + categoryId="org.eclipse.ui.category.edit" + description="Copy the qualified name for the selected element" + name="Copy Qualified Name"> + </command> + <command + id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" + categoryId="org.eclipse.ui.category.edit" + description="Copy the qualified name for the selected element" + name="Copy Qualified Name"> + </command> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.edit"> + <command + commandId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.validate" + style="push" + tooltip="Trigger expensive validation"> + <visibleWhen checkEnabled="false"> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </visibleWhen> + </command> + </menuContribution> + <!-- copy qualified name --> + <menuContribution locationURI="popup:#TextEditorContext?after=copy"> + <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" + style="push" tooltip="Copy Qualified Name"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened" /> + </visibleWhen> + </command> + </menuContribution> + <menuContribution locationURI="menu:edit?after=copy"> + <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" + style="push" tooltip="Copy Qualified Name"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened" /> + </visibleWhen> + </command> + </menuContribution> + <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions"> + <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" + style="push" tooltip="Copy Qualified Name"> + <visibleWhen checkEnabled="false"> + <and> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.XtextEditor.opened" /> + <iterate> + <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> + </iterate> + </and> + </visibleWhen> + </command> + </menuContribution> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution locationURI="popup:#TextEditorContext?endof=group.find"> + <command commandId="org.eclipse.xtext.ui.editor.FindReferences"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </visibleWhen> + </command> + </menuContribution> + </extension> + <extension point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler" + commandId="org.eclipse.xtext.ui.editor.FindReferences"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + +<!-- adding resource factories --> + + <extension + point="org.eclipse.emf.ecore.extension_parser"> + <parser + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory" + type="dialog"> + </parser> + </extension> + <extension point="org.eclipse.xtext.extension_resourceServiceProvider"> + <resourceServiceProvider + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider" + uriExtension="dialog"> + </resourceServiceProvider> + </extension> + + + <!-- marker definitions for org.eclipse.osbp.xtext.dialogdsl.DialogDsl --> + <extension + id="dialogdsl.check.fast" + name="DialogDsl Problem" + point="org.eclipse.core.resources.markers"> + <super type="org.eclipse.xtext.ui.check.fast"/> + <persistent value="true"/> + </extension> + <extension + id="dialogdsl.check.normal" + name="DialogDsl Problem" + point="org.eclipse.core.resources.markers"> + <super type="org.eclipse.xtext.ui.check.normal"/> + <persistent value="true"/> + </extension> + <extension + id="dialogdsl.check.expensive" + name="DialogDsl Problem" + point="org.eclipse.core.resources.markers"> + <super type="org.eclipse.xtext.ui.check.expensive"/> + <persistent value="true"/> + </extension> + + <extension + point="org.eclipse.xtext.builder.participant"> + <participant + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant" + fileExtensions="dialog" + > + </participant> + </extension> + <extension + point="org.eclipse.ui.preferencePages"> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.compiler.preferencePage" + name="Compiler"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + </extension> + <extension + point="org.eclipse.ui.propertyPages"> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.compiler.propertyPage" + name="Compiler"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + <enabledWhen> + <adapt type="org.eclipse.core.resources.IProject"/> + </enabledWhen> + <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> + </page> + </extension> + + <!-- Quick Outline --> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" + commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + <extension + point="org.eclipse.ui.commands"> + <command + description="Open the quick outline." + id="org.eclipse.xtext.ui.editor.outline.QuickOutline" + name="Quick Outline"> + </command> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.open"> + <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" + style="push" + tooltip="Open Quick Outline"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"/> + </visibleWhen> + </command> + </menuContribution> + </extension> + <!-- quickfix marker resolution generator for org.eclipse.osbp.xtext.dialogdsl.DialogDsl --> + <extension + point="org.eclipse.ui.ide.markerResolution"> + <markerResolutionGenerator + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" + markerType="org.eclipse.osbp.xtext.dialogdsl.ui.dialogdsl.check.fast"> + <attribute + name="FIXABLE_KEY" + value="true"> + </attribute> + </markerResolutionGenerator> + <markerResolutionGenerator + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" + markerType="org.eclipse.osbp.xtext.dialogdsl.ui.dialogdsl.check.normal"> + <attribute + name="FIXABLE_KEY" + value="true"> + </attribute> + </markerResolutionGenerator> + <markerResolutionGenerator + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" + markerType="org.eclipse.osbp.xtext.dialogdsl.ui.dialogdsl.check.expensive"> + <attribute + name="FIXABLE_KEY" + value="true"> + </attribute> + </markerResolutionGenerator> + </extension> + <!-- Rename Refactoring --> + <extension point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler" + commandId="org.eclipse.xtext.ui.refactoring.RenameElement"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.edit"> + <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement" + style="push"> + <visibleWhen checkEnabled="false"> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </visibleWhen> + </command> + </menuContribution> + </extension> + <extension point="org.eclipse.ui.preferencePages"> + <page + category="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.refactoring" + name="Refactoring"> + <keywordReference id="org.eclipse.osbp.xtext.dialogdsl.ui.keyword_DialogDsl"/> + </page> + </extension> + +<!-- Type Hierarchy --> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.xbase.ui.hierarchy.OpenTypeHierarchyHandler" + commandId="org.eclipse.xtext.xbase.ui.hierarchy.OpenTypeHierarchy"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.xbase.ui.hierarchy.QuickTypeHierarchyHandler" + commandId="org.eclipse.jdt.ui.edit.text.java.open.hierarchy"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.open"> + <command commandId="org.eclipse.xtext.xbase.ui.hierarchy.OpenTypeHierarchy" + style="push" + tooltip="Open Type Hierarchy"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"/> + </visibleWhen> + </command> + </menuContribution> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.open"> + <command commandId="org.eclipse.jdt.ui.edit.text.java.open.hierarchy" + style="push" + tooltip="Quick Type Hierarchy"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"/> + </visibleWhen> + </command> + </menuContribution> + </extension> + <!-- Call Hierachy --> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.xbase.ui.hierarchy.OpenCallHierachyHandler" + commandId="org.eclipse.xtext.xbase.ui.hierarchy.OpenCallHierarchy"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.open"> + <command commandId="org.eclipse.xtext.xbase.ui.hierarchy.OpenCallHierarchy" + style="push" + tooltip="Open Call Hierarchy"> + <visibleWhen checkEnabled="false"> + <reference definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"/> + </visibleWhen> + </command> + </menuContribution> + </extension> + <extension + point="org.eclipse.core.runtime.adapters"> + <factory class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.builder.smap.StratumBreakpointAdapterFactory" + adaptableType="org.eclipse.xtext.ui.editor.XtextEditor"> + <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/> + </factory> + </extension> + <extension point="org.eclipse.ui.editorActions"> + <editorContribution targetID="org.eclipse.osbp.xtext.dialogdsl.DialogDsl" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.rulerActions"> + <action + label="Not Used" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate" + style="push" + actionID="RulerDoubleClick" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.doubleClickBreakpointAction"/> + </editorContribution> + </extension> + <extension point="org.eclipse.ui.popupMenus"> + <viewerContribution + targetID="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.RulerContext" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.RulerPopupActions"> + <action + label="Toggle Breakpoint" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate" + menubarPath="debug" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.rulerContextMenu.toggleBreakpointAction"> + </action> + <action + label="Not used" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate" + menubarPath="debug" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.rulerContextMenu.enableDisableBreakpointAction"> + </action> + <action + label="Breakpoint Properties" + helpContextId="breakpoint_properties_action_context" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.jdt.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate" + menubarPath="group.properties" + id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.rulerContextMenu.openBreapointPropertiesAction"> + </action> + </viewerContribution> + </extension> + <!-- Introduce Local Variable Refactoring --> + <extension point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.xbase.ui.refactoring.ExtractVariableHandler" + commandId="org.eclipse.xtext.xbase.ui.refactoring.ExtractLocalVariable"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:#TextEditorContext?after=group.edit"> + <command commandId="org.eclipse.xtext.xbase.ui.refactoring.ExtractLocalVariable" + style="push"> + <visibleWhen checkEnabled="false"> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </visibleWhen> + </command> + </menuContribution> + </extension> + <!-- Open implementation --> + <extension point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.xbase.ui.navigation.OpenImplementationHandler" + commandId="org.eclipse.xtext.xbase.ui.OpenImplementationCommand"> + <activeWhen> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </activeWhen> + </handler> + </extension> + <extension point="org.eclipse.ui.menus"> + <menuContribution + locationURI="menu:navigate?after=open.ext4"> + <command commandId="org.eclipse.xtext.xbase.ui.OpenImplementationCommand"> + <visibleWhen checkEnabled="false"> + <reference + definitionId="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.Editor.opened"> + </reference> + </visibleWhen> + </command> + </menuContribution> + </extension> + + <extension point="org.eclipse.compare.contentViewers"> + <viewer id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.compare.contentViewers" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" + extensions="dialog"> + </viewer> + </extension> + <extension point="org.eclipse.compare.contentMergeViewers"> + <viewer id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.compare.contentMergeViewers" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" + extensions="dialog" label="DialogDsl Compare"> + </viewer> + </extension> + <extension point="org.eclipse.ui.editors.documentProviders"> + <provider id="org.eclipse.osbp.xtext.dialogdsl.DialogDsl.editors.documentProviders" + class="org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider" + extensions="dialog"> + </provider> + </extension> + +</plugin> diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/pom.xml b/org.eclipse.osbp.xtext.dialogdsl.ui/pom.xml new file mode 100644 index 0000000..deb48ff --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/pom.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--#======================================================================= --> +<!--# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) --> +<!--# All rights reserved. This program and the accompanying materials --> +<!--# are made available under the terms of the Eclipse Public License v1.0 --> +<!--# which accompanies this distribution, and is available at --> +<!--# http://www.eclipse.org/legal/epl-v10.html --> +<!--# --> +<!--# Contributors: --> +<!--# Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation --> +<!--#======================================================================= --> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <artifactId>org.eclipse.osbp.xtext.dialogdsl.ui</artifactId> + <packaging>eclipse-plugin</packaging> + <parent> + <groupId>org.eclipse.osbp.xtext.dialogdsl</groupId> + <artifactId>org.eclipse.osbp.xtext.dialogdsl.aggregator</artifactId> + <version>0.9.0-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> +</project> diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/AbstractDialogDslUiModule.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/AbstractDialogDslUiModule.java new file mode 100644 index 0000000..ccfc4b3 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/AbstractDialogDslUiModule.java @@ -0,0 +1,376 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui; + +import org.eclipse.xtext.ui.DefaultUiModule; +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * Manual modifications go to {org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslUiModule} + */ +@SuppressWarnings("all") +public abstract class AbstractDialogDslUiModule extends DefaultUiModule { + + public AbstractDialogDslUiModule(AbstractUIPlugin plugin) { + super(plugin); + } + + + // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment + public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() { + return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); + } + + // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment + public Class<? extends org.eclipse.xtext.ui.editor.XtextEditor> bindXtextEditor() { + return org.eclipse.xtext.xbase.ui.editor.XbaseEditor.class; + } + + // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment + public Class<? extends org.eclipse.xtext.ui.editor.model.XtextDocumentProvider> bindXtextDocumentProvider() { + return org.eclipse.xtext.xbase.ui.editor.XbaseDocumentProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() { + return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureHighlightingLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal.InternalDialogDslLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() { + return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() { + return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class; + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public Class<? extends org.eclipse.xtext.builder.IXtextBuilderParticipant> bindIXtextBuilderParticipant() { + return org.eclipse.xtext.builder.BuilderParticipant.class; + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() { + return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot(); + } + + // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment + public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment + public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() { + return org.eclipse.osbp.xtext.dialogdsl.ui.labeling.DialogDslLabelProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment + public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.osbp.xtext.dialogdsl.ui.labeling.DialogDslDescriptionLabelProvider.class); + } + + // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment + public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() { + return org.eclipse.osbp.xtext.dialogdsl.ui.outline.DialogDslOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment + public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() { + return org.eclipse.osbp.xtext.dialogdsl.ui.outline.DialogDslOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment + public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() { + return org.eclipse.osbp.xtext.dialogdsl.ui.quickfix.DialogDslQuickfixProvider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.contentAssist.ContentAssistFragment + public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() { + return org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.DialogDslProposalProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() { + return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() { + return org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.DialogDslParser.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal.InternalDialogDslLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal.InternalDialogDslLexer.class)); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment + public void configureContentAssistLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal.InternalDialogDslLexer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class); + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameSupport.Factory> bindIRenameSupport$Factory() { + return org.eclipse.xtext.common.types.ui.refactoring.JdtRenameSupport.Factory.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameStrategy.Provider> bindIRenameStrategy$Provider() { + return org.eclipse.xtext.common.types.ui.refactoring.participant.JvmMemberRenameStrategy.Provider.class; + } + + // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment + public void configureJvmMemberRenameStrategy$Provider$Delegate(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.ui.refactoring.IRenameStrategy.Provider.class).annotatedWith(org.eclipse.xtext.common.types.ui.refactoring.participant.JvmMemberRenameStrategy.Provider.Delegate.class).to(org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategyProvider.class); + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public java.lang.ClassLoader bindClassLoaderToInstance() { + return getClass().getClassLoader(); + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.access.IJvmTypeProvider.Factory> bindIJvmTypeProvider$Factory() { + return org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider> bindAbstractTypeScopeProvider() { + return org.eclipse.xtext.common.types.xtext.ui.JdtBasedSimpleTypeScopeProvider.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.xtext.ui.ITypesProposalProvider> bindITypesProposalProvider() { + return org.eclipse.xtext.common.types.xtext.ui.JdtTypesProposalProvider.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.access.jdt.IJavaProjectProvider> bindIJavaProjectProvider() { + return org.eclipse.xtext.common.types.xtext.ui.XtextResourceSetBasedProjectProvider.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher() { + return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.IValidationJobScheduler> bindIValidationJobScheduler() { + return org.eclipse.xtext.common.types.xtext.ui.JdtValidationJobScheduler.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.refactoring.impl.RefactoringResourceSetProvider> bindRefactoringResourceSetProvider() { + return org.eclipse.xtext.common.types.ui.refactoring.JvmRefactoringResourceSetProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper> bindAbstractAntlrTokenToAttributeIdMapper() { + return org.eclipse.xtext.xbase.ui.syntaxcoloring.XbaseTokenToAttributeIdMapper.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator> bindAbstractJavaBasedContentProposalProvider$ReferenceProposalCreator() { + return org.eclipse.xtext.xbase.ui.contentassist.XbaseReferenceProposalCreator.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.jface.text.contentassist.IContentAssistProcessor> bindIContentAssistProcessor() { + return org.eclipse.xtext.ui.editor.contentassist.RepeatedContentAssistProcessor.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.ISemanticHighlightingCalculator> bindISemanticHighlightingCalculator() { + return org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfiguration> bindIHighlightingConfiguration() { + return org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingConfiguration.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider> bindIEObjectHoverProvider() { + return org.eclipse.xtext.xbase.ui.hover.XbaseHoverProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.hover.IEObjectHover> bindIEObjectHover() { + return org.eclipse.xtext.xbase.ui.hover.XbaseDispatchingEObjectTextHover.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.hover.html.IEObjectHoverDocumentationProvider> bindIEObjectHoverDocumentationProvider() { + return org.eclipse.xtext.xbase.ui.hover.XbaseHoverDocumentationProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider.CrossRefResolutionConverter> bindDefaultQuickfixProvider$CrossRefResolutionConverter() { + return org.eclipse.xtext.xbase.ui.quickfix.XbaseCrossRefResolutionConverter.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.xtext.xbase.ui.validation.XbaseUIValidator> bindXbaseUIValidator() { + return org.eclipse.xtext.xbase.ui.validation.XbaseUIValidator.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkHelper> bindIHyperlinkHelper() { + return org.eclipse.xtext.xbase.ui.navigation.TypeLiteralAwareHyperlinkHelper.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.typesystem.internal.IFeatureScopeTracker.Provider> bindIFeatureScopeTracker$Provider() { + return org.eclipse.xtext.xbase.typesystem.internal.OptimizingFeatureScopeTrackerProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler> bindFindReferencesHandler() { + return org.eclipse.xtext.xbase.ui.jvmmodel.findrefs.JvmModelFindReferenceHandler.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.findrefs.ReferenceQueryExecutor> bindReferenceQueryExecutor() { + return org.eclipse.xtext.xbase.ui.jvmmodel.findrefs.JvmModelReferenceQueryExecutor.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() { + return org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.JvmModelDependentElementsCalculator.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider> bindIRenameRefactoringProvider() { + return org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.jdt.CombinedJvmJdtRenameRefactoringProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.refactoring.IReferenceUpdater> bindIReferenceUpdater() { + return org.eclipse.xtext.xbase.ui.refactoring.XbaseReferenceUpdater.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameContextFactory> bindIRenameContextFactory() { + return org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.jdt.CombinedJvmJdtRenameContextFactory.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.ui.refactoring.participant.JdtRenameParticipant.ContextFactory> bindJdtRenameParticipant$ContextFactory() { + return org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.JvmModelJdtRenameParticipantContext.ContextFactory.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameStrategy> bindIRenameStrategy() { + return org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.DefaultJvmModelRenameStrategy.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.OutlineNodeElementOpener> bindOutlineNodeElementOpener() { + return org.eclipse.xtext.xbase.ui.jvmmodel.outline.JvmOutlineNodeElementOpener.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.GlobalURIEditorOpener> bindGlobalURIEditorOpener() { + return org.eclipse.xtext.common.types.ui.navigation.GlobalDerivedMemberAwareURIEditorOpener.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.occurrences.IOccurrenceComputer> bindIOccurrenceComputer() { + return org.eclipse.xtext.xbase.ui.jvmmodel.occurrence.JvmModelOccurrenceComputer.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.ui.query.IJavaSearchParticipation> bindIJavaSearchParticipation() { + return org.eclipse.xtext.common.types.ui.query.IJavaSearchParticipation.No.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public void configureLanguageSpecificURIEditorOpener(com.google.inject.Binder binder) { + if (org.eclipse.ui.PlatformUI.isWorkbenchRunning()) { + binder.bind(org.eclipse.xtext.ui.editor.IURIEditorOpener.class).annotatedWith(org.eclipse.xtext.ui.LanguageSpecific.class).to(org.eclipse.xtext.xbase.ui.jvmmodel.navigation.DerivedMemberAwareEditorOpener.class); + binder.bind(org.eclipse.xtext.common.types.ui.navigation.IDerivedMemberAwareEditorOpener.class).to(org.eclipse.xtext.xbase.ui.jvmmodel.navigation.DerivedMemberAwareEditorOpener.class); + }; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.jface.text.hyperlink.IHyperlinkDetector> bindIHyperlinkDetector() { + return org.eclipse.xtext.xbase.ui.navigation.XbaseHyperlinkDetector.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.ui.quickfix.JavaTypeQuickfixes> bindJavaTypeQuickfixes() { + return org.eclipse.xtext.xbase.ui.quickfix.JavaTypeQuickfixesNoImportSection.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() { + return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry> provideLanguageRegistry() { + return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry(); + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar> bindLanguageRegistrar() { + return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() { + return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class; + } + + // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment + public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser> bindIPartialContentAssistParser() { + return org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.PartialDialogDslContentAssistParser.class; + } + + // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment + public Class<? extends org.eclipse.compare.IViewerCreator> bindIViewerCreator() { + return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class; + } + + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDslExecutableExtensionFactory.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDslExecutableExtensionFactory.java new file mode 100644 index 0000000..6d24063 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDslExecutableExtensionFactory.java @@ -0,0 +1,41 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui; + +import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; +import org.osgi.framework.Bundle; + +import com.google.inject.Injector; + +import org.eclipse.osbp.xtext.dialogdsl.ui.internal.DialogDslActivator; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class DialogDslExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { + + @Override + protected Bundle getBundle() { + return DialogDslActivator.getInstance().getBundle(); + } + + @Override + protected Injector getInjector() { + return DialogDslActivator.getInstance().getInjector(DialogDslActivator.ORG_ECLIPSE_OSBP_XTEXT_DIALOGDSL_DIALOGDSL); + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/AbstractDialogDslProposalProvider.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/AbstractDialogDslProposalProvider.java new file mode 100644 index 0000000..d36ccfc --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/AbstractDialogDslProposalProvider.java @@ -0,0 +1,98 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.contentassist; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.*; +import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; + +/** + * Represents a generated, default implementation of superclass {@link org.eclipse.xtext.xbase.annotations.ui.contentassist.XbaseWithAnnotationsProposalProvider}. + * Methods are dynamically dispatched on the first parameter, i.e., you can override them + * with a more concrete subtype. + */ +@SuppressWarnings("all") +public class AbstractDialogDslProposalProvider extends org.eclipse.xtext.xbase.annotations.ui.contentassist.XbaseWithAnnotationsProposalProvider { + + public void completeDialogModel_Pckg(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeDialogPackage_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeDialogPackage_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeDialogPackage_Dialogs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeDialogImport_ImportedNamespace(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeDialog_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeDialog_Description(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeDialog_DescriptionValue(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeDialog_UiView(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeDialog_Autowire(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeDialog_Dto(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeDialog_Embedded(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeDialog_Pure(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeDialog_Stateful(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeDialog_Toolbar(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + + public void complete_DialogModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_DialogPackage(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_DialogImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Dialog(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_DialogQualifiedNameWithWildCard(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_TRANSLATABLESTRING(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_TYPE_CROSS_REFERENCE(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/DialogDslParser.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/DialogDslParser.java new file mode 100644 index 0000000..f847e9b --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/DialogDslParser.java @@ -0,0 +1,507 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr; + +import java.util.Collection; +import java.util.Map; +import java.util.HashMap; + +import org.antlr.runtime.RecognitionException; +import org.eclipse.xtext.AbstractElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; + +import com.google.inject.Inject; + +import org.eclipse.osbp.xtext.dialogdsl.services.DialogDslGrammarAccess; + +public class DialogDslParser extends AbstractContentAssistParser { + + @Inject + private DialogDslGrammarAccess grammarAccess; + + private Map<AbstractElement, String> nameMappings; + + @Override + protected org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal.InternalDialogDslParser createParser() { + org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal.InternalDialogDslParser result = new org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal.InternalDialogDslParser(null); + result.setGrammarAccess(grammarAccess); + return result; + } + + @Override + protected String getRuleName(AbstractElement element) { + if (nameMappings == null) { + nameMappings = new HashMap<AbstractElement, String>() { + private static final long serialVersionUID = 1L; + { + put(grammarAccess.getDialogAccess().getAlternatives_4(), "rule__Dialog__Alternatives_4"); + put(grammarAccess.getDialogAccess().getAlternatives_5_0(), "rule__Dialog__Alternatives_5_0"); + put(grammarAccess.getXAnnotationAccess().getAlternatives_3_1(), "rule__XAnnotation__Alternatives_3_1"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getAlternatives(), "rule__XAnnotationElementValueOrCommaList__Alternatives"); + put(grammarAccess.getXAnnotationElementValueAccess().getAlternatives(), "rule__XAnnotationElementValue__Alternatives"); + put(grammarAccess.getXAnnotationOrExpressionAccess().getAlternatives(), "rule__XAnnotationOrExpression__Alternatives"); + put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); + put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + put(grammarAccess.getDialogModelAccess().getGroup(), "rule__DialogModel__Group__0"); + put(grammarAccess.getDialogPackageAccess().getGroup(), "rule__DialogPackage__Group__0"); + put(grammarAccess.getDialogPackageAccess().getGroup_2(), "rule__DialogPackage__Group_2__0"); + put(grammarAccess.getDialogImportAccess().getGroup(), "rule__DialogImport__Group__0"); + put(grammarAccess.getDialogAccess().getGroup(), "rule__Dialog__Group__0"); + put(grammarAccess.getDialogAccess().getGroup_3(), "rule__Dialog__Group_3__0"); + put(grammarAccess.getDialogAccess().getGroup_4_0(), "rule__Dialog__Group_4_0__0"); + put(grammarAccess.getDialogAccess().getGroup_4_1(), "rule__Dialog__Group_4_1__0"); + put(grammarAccess.getDialogAccess().getGroup_5_2(), "rule__Dialog__Group_5_2__0"); + put(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getGroup(), "rule__DialogQualifiedNameWithWildCard__Group__0"); + put(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getGroup_1(), "rule__DialogQualifiedNameWithWildCard__Group_1__0"); + put(grammarAccess.getXAnnotationAccess().getGroup(), "rule__XAnnotation__Group__0"); + put(grammarAccess.getXAnnotationAccess().getGroup_3(), "rule__XAnnotation__Group_3__0"); + put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0(), "rule__XAnnotation__Group_3_1_0__0"); + put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0_1(), "rule__XAnnotation__Group_3_1_0_1__0"); + put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup(), "rule__XAnnotationElementValuePair__Group__0"); + put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0(), "rule__XAnnotationElementValuePair__Group_0__0"); + put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0_0(), "rule__XAnnotationElementValuePair__Group_0_0__0"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0(), "rule__XAnnotationElementValueOrCommaList__Group_0__0"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0__0"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1__0"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1(), "rule__XAnnotationElementValueOrCommaList__Group_1__0"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1__0"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0"); + put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0(), "rule__XAnnotationElementValue__Group_0__0"); + put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0(), "rule__XAnnotationElementValue__Group_0_0__0"); + put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0_0(), "rule__XAnnotationElementValue__Group_0_0_0__0"); + put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1(), "rule__XAnnotationElementValue__Group_0_1__0"); + put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1_1(), "rule__XAnnotationElementValue__Group_0_1_1__0"); + put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); + put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); + put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); + put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + put(grammarAccess.getDialogModelAccess().getPckgAssignment_1(), "rule__DialogModel__PckgAssignment_1"); + put(grammarAccess.getDialogPackageAccess().getNameAssignment_1(), "rule__DialogPackage__NameAssignment_1"); + put(grammarAccess.getDialogPackageAccess().getImportsAssignment_2_1(), "rule__DialogPackage__ImportsAssignment_2_1"); + put(grammarAccess.getDialogPackageAccess().getDialogsAssignment_2_2(), "rule__DialogPackage__DialogsAssignment_2_2"); + put(grammarAccess.getDialogImportAccess().getImportedNamespaceAssignment_1(), "rule__DialogImport__ImportedNamespaceAssignment_1"); + put(grammarAccess.getDialogAccess().getNameAssignment_2(), "rule__Dialog__NameAssignment_2"); + put(grammarAccess.getDialogAccess().getDescriptionAssignment_3_0(), "rule__Dialog__DescriptionAssignment_3_0"); + put(grammarAccess.getDialogAccess().getDescriptionValueAssignment_3_1(), "rule__Dialog__DescriptionValueAssignment_3_1"); + put(grammarAccess.getDialogAccess().getUiViewAssignment_4_0_1(), "rule__Dialog__UiViewAssignment_4_0_1"); + put(grammarAccess.getDialogAccess().getAutowireAssignment_4_1_0(), "rule__Dialog__AutowireAssignment_4_1_0"); + put(grammarAccess.getDialogAccess().getDtoAssignment_4_1_1(), "rule__Dialog__DtoAssignment_4_1_1"); + put(grammarAccess.getDialogAccess().getEmbeddedAssignment_5_0_0(), "rule__Dialog__EmbeddedAssignment_5_0_0"); + put(grammarAccess.getDialogAccess().getPureAssignment_5_0_1(), "rule__Dialog__PureAssignment_5_0_1"); + put(grammarAccess.getDialogAccess().getStatefulAssignment_5_1(), "rule__Dialog__StatefulAssignment_5_1"); + put(grammarAccess.getDialogAccess().getToolbarAssignment_5_2_1(), "rule__Dialog__ToolbarAssignment_5_2_1"); + put(grammarAccess.getXAnnotationAccess().getAnnotationTypeAssignment_2(), "rule__XAnnotation__AnnotationTypeAssignment_2"); + put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_0(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_0"); + put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_1_1(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_1_1"); + put(grammarAccess.getXAnnotationAccess().getValueAssignment_3_1_1(), "rule__XAnnotation__ValueAssignment_3_1_1"); + put(grammarAccess.getXAnnotationElementValuePairAccess().getElementAssignment_0_0_0(), "rule__XAnnotationElementValuePair__ElementAssignment_0_0_0"); + put(grammarAccess.getXAnnotationElementValuePairAccess().getValueAssignment_1(), "rule__XAnnotationElementValuePair__ValueAssignment_1"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_0"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_1_1"); + put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_1_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_1_1_1_1"); + put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_0"); + put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_1_1"); + put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); + put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); + put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); + put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); + put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + put(grammarAccess.getDialogAccess().getUnorderedGroup_5(), "rule__Dialog__UnorderedGroup_5"); + } + }; + } + return nameMappings.get(element); + } + + @Override + protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { + try { + org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal.InternalDialogDslParser typedParser = (org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal.InternalDialogDslParser) parser; + typedParser.entryRuleDialogModel(); + return typedParser.getFollowElements(); + } catch(RecognitionException ex) { + throw new RuntimeException(ex); + } + } + + @Override + protected String[] getInitialHiddenTokens() { + return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" }; + } + + public DialogDslGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(DialogDslGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/PartialDialogDslContentAssistParser.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/PartialDialogDslContentAssistParser.java new file mode 100644 index 0000000..7f68663 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/PartialDialogDslContentAssistParser.java @@ -0,0 +1,50 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr; + +import java.util.Collection; +import java.util.Collections; + +import org.eclipse.xtext.AbstractRule; +import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.util.PolymorphicDispatcher; + +/** + * @author Sebastian Zarnekow - Initial contribution and API + */ +@SuppressWarnings("restriction") +public class PartialDialogDslContentAssistParser extends DialogDslParser implements IPartialContentAssistParser { + + private AbstractRule rule; + + public void initializeFor(AbstractRule rule) { + this.rule = rule; + } + + @Override + protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { + if (rule == null || rule.eIsProxy()) + return Collections.emptyList(); + String methodName = "entryRule" + rule.getName(); + PolymorphicDispatcher<Collection<FollowElement>> dispatcher = + new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser)); + dispatcher.invoke(); + return parser.getFollowElements(); + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g new file mode 100644 index 0000000..0844282 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g @@ -0,0 +1,10016 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +grammar InternalDialogDsl; + +options { + superClass=AbstractInternalContentAssistParser; + backtrack=true; + +} + +@lexer::header { +package org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; +} + +@parser::header { +package org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; +import org.eclipse.osbp.xtext.dialogdsl.services.DialogDslGrammarAccess; + +} + +@parser::members { + + private DialogDslGrammarAccess grammarAccess; + + public void setGrammarAccess(DialogDslGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + +} + + + + +// Entry rule entryRuleDialogModel +entryRuleDialogModel +: +{ before(grammarAccess.getDialogModelRule()); } + ruleDialogModel +{ after(grammarAccess.getDialogModelRule()); } + EOF +; + +// Rule DialogModel +ruleDialogModel + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getDialogModelAccess().getGroup()); } +(rule__DialogModel__Group__0) +{ after(grammarAccess.getDialogModelAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleDialogPackage +entryRuleDialogPackage +: +{ before(grammarAccess.getDialogPackageRule()); } + ruleDialogPackage +{ after(grammarAccess.getDialogPackageRule()); } + EOF +; + +// Rule DialogPackage +ruleDialogPackage + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getDialogPackageAccess().getGroup()); } +(rule__DialogPackage__Group__0) +{ after(grammarAccess.getDialogPackageAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleDialogImport +entryRuleDialogImport +: +{ before(grammarAccess.getDialogImportRule()); } + ruleDialogImport +{ after(grammarAccess.getDialogImportRule()); } + EOF +; + +// Rule DialogImport +ruleDialogImport + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getDialogImportAccess().getGroup()); } +(rule__DialogImport__Group__0) +{ after(grammarAccess.getDialogImportAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleDialog +entryRuleDialog +: +{ before(grammarAccess.getDialogRule()); } + ruleDialog +{ after(grammarAccess.getDialogRule()); } + EOF +; + +// Rule Dialog +ruleDialog + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getDialogAccess().getGroup()); } +(rule__Dialog__Group__0) +{ after(grammarAccess.getDialogAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleDialogQualifiedNameWithWildCard +entryRuleDialogQualifiedNameWithWildCard +: +{ before(grammarAccess.getDialogQualifiedNameWithWildCardRule()); } + ruleDialogQualifiedNameWithWildCard +{ after(grammarAccess.getDialogQualifiedNameWithWildCardRule()); } + EOF +; + +// Rule DialogQualifiedNameWithWildCard +ruleDialogQualifiedNameWithWildCard + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getGroup()); } +(rule__DialogQualifiedNameWithWildCard__Group__0) +{ after(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleTRANSLATABLESTRING +entryRuleTRANSLATABLESTRING +: +{ before(grammarAccess.getTRANSLATABLESTRINGRule()); } + ruleTRANSLATABLESTRING +{ after(grammarAccess.getTRANSLATABLESTRINGRule()); } + EOF +; + +// Rule TRANSLATABLESTRING +ruleTRANSLATABLESTRING + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall()); } + RULE_STRING +{ after(grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleTYPE_CROSS_REFERENCE +entryRuleTYPE_CROSS_REFERENCE +: +{ before(grammarAccess.getTYPE_CROSS_REFERENCERule()); } + ruleTYPE_CROSS_REFERENCE +{ after(grammarAccess.getTYPE_CROSS_REFERENCERule()); } + EOF +; + +// Rule TYPE_CROSS_REFERENCE +ruleTYPE_CROSS_REFERENCE + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getTYPE_CROSS_REFERENCEAccess().getIDTerminalRuleCall()); } + RULE_ID +{ after(grammarAccess.getTYPE_CROSS_REFERENCEAccess().getIDTerminalRuleCall()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXAnnotation +entryRuleXAnnotation +: +{ before(grammarAccess.getXAnnotationRule()); } + ruleXAnnotation +{ after(grammarAccess.getXAnnotationRule()); } + EOF +; + +// Rule XAnnotation +ruleXAnnotation + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXAnnotationAccess().getGroup()); } +(rule__XAnnotation__Group__0) +{ after(grammarAccess.getXAnnotationAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXAnnotationElementValuePair +entryRuleXAnnotationElementValuePair +: +{ before(grammarAccess.getXAnnotationElementValuePairRule()); } + ruleXAnnotationElementValuePair +{ after(grammarAccess.getXAnnotationElementValuePairRule()); } + EOF +; + +// Rule XAnnotationElementValuePair +ruleXAnnotationElementValuePair + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXAnnotationElementValuePairAccess().getGroup()); } +(rule__XAnnotationElementValuePair__Group__0) +{ after(grammarAccess.getXAnnotationElementValuePairAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXAnnotationElementValueOrCommaList +entryRuleXAnnotationElementValueOrCommaList +: +{ before(grammarAccess.getXAnnotationElementValueOrCommaListRule()); } + ruleXAnnotationElementValueOrCommaList +{ after(grammarAccess.getXAnnotationElementValueOrCommaListRule()); } + EOF +; + +// Rule XAnnotationElementValueOrCommaList +ruleXAnnotationElementValueOrCommaList + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getAlternatives()); } +(rule__XAnnotationElementValueOrCommaList__Alternatives) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXAnnotationElementValue +entryRuleXAnnotationElementValue +: +{ before(grammarAccess.getXAnnotationElementValueRule()); } + ruleXAnnotationElementValue +{ after(grammarAccess.getXAnnotationElementValueRule()); } + EOF +; + +// Rule XAnnotationElementValue +ruleXAnnotationElementValue + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getAlternatives()); } +(rule__XAnnotationElementValue__Alternatives) +{ after(grammarAccess.getXAnnotationElementValueAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXAnnotationOrExpression +entryRuleXAnnotationOrExpression +: +{ before(grammarAccess.getXAnnotationOrExpressionRule()); } + ruleXAnnotationOrExpression +{ after(grammarAccess.getXAnnotationOrExpressionRule()); } + EOF +; + +// Rule XAnnotationOrExpression +ruleXAnnotationOrExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXAnnotationOrExpressionAccess().getAlternatives()); } +(rule__XAnnotationOrExpression__Alternatives) +{ after(grammarAccess.getXAnnotationOrExpressionAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXExpression +entryRuleXExpression +: +{ before(grammarAccess.getXExpressionRule()); } + ruleXExpression +{ after(grammarAccess.getXExpressionRule()); } + EOF +; + +// Rule XExpression +ruleXExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); } + ruleXAssignment +{ after(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXAssignment +entryRuleXAssignment +: +{ before(grammarAccess.getXAssignmentRule()); } + ruleXAssignment +{ after(grammarAccess.getXAssignmentRule()); } + EOF +; + +// Rule XAssignment +ruleXAssignment + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXAssignmentAccess().getAlternatives()); } +(rule__XAssignment__Alternatives) +{ after(grammarAccess.getXAssignmentAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpSingleAssign +entryRuleOpSingleAssign +: +{ before(grammarAccess.getOpSingleAssignRule()); } + ruleOpSingleAssign +{ after(grammarAccess.getOpSingleAssignRule()); } + EOF +; + +// Rule OpSingleAssign +ruleOpSingleAssign + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword()); } + + '=' + +{ after(grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpMultiAssign +entryRuleOpMultiAssign +: +{ before(grammarAccess.getOpMultiAssignRule()); } + ruleOpMultiAssign +{ after(grammarAccess.getOpMultiAssignRule()); } + EOF +; + +// Rule OpMultiAssign +ruleOpMultiAssign + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpMultiAssignAccess().getAlternatives()); } +(rule__OpMultiAssign__Alternatives) +{ after(grammarAccess.getOpMultiAssignAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXOrExpression +entryRuleXOrExpression +: +{ before(grammarAccess.getXOrExpressionRule()); } + ruleXOrExpression +{ after(grammarAccess.getXOrExpressionRule()); } + EOF +; + +// Rule XOrExpression +ruleXOrExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXOrExpressionAccess().getGroup()); } +(rule__XOrExpression__Group__0) +{ after(grammarAccess.getXOrExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpOr +entryRuleOpOr +: +{ before(grammarAccess.getOpOrRule()); } + ruleOpOr +{ after(grammarAccess.getOpOrRule()); } + EOF +; + +// Rule OpOr +ruleOpOr + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword()); } + + '||' + +{ after(grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXAndExpression +entryRuleXAndExpression +: +{ before(grammarAccess.getXAndExpressionRule()); } + ruleXAndExpression +{ after(grammarAccess.getXAndExpressionRule()); } + EOF +; + +// Rule XAndExpression +ruleXAndExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXAndExpressionAccess().getGroup()); } +(rule__XAndExpression__Group__0) +{ after(grammarAccess.getXAndExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpAnd +entryRuleOpAnd +: +{ before(grammarAccess.getOpAndRule()); } + ruleOpAnd +{ after(grammarAccess.getOpAndRule()); } + EOF +; + +// Rule OpAnd +ruleOpAnd + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword()); } + + '&&' + +{ after(grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXEqualityExpression +entryRuleXEqualityExpression +: +{ before(grammarAccess.getXEqualityExpressionRule()); } + ruleXEqualityExpression +{ after(grammarAccess.getXEqualityExpressionRule()); } + EOF +; + +// Rule XEqualityExpression +ruleXEqualityExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXEqualityExpressionAccess().getGroup()); } +(rule__XEqualityExpression__Group__0) +{ after(grammarAccess.getXEqualityExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpEquality +entryRuleOpEquality +: +{ before(grammarAccess.getOpEqualityRule()); } + ruleOpEquality +{ after(grammarAccess.getOpEqualityRule()); } + EOF +; + +// Rule OpEquality +ruleOpEquality + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpEqualityAccess().getAlternatives()); } +(rule__OpEquality__Alternatives) +{ after(grammarAccess.getOpEqualityAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXRelationalExpression +entryRuleXRelationalExpression +: +{ before(grammarAccess.getXRelationalExpressionRule()); } + ruleXRelationalExpression +{ after(grammarAccess.getXRelationalExpressionRule()); } + EOF +; + +// Rule XRelationalExpression +ruleXRelationalExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXRelationalExpressionAccess().getGroup()); } +(rule__XRelationalExpression__Group__0) +{ after(grammarAccess.getXRelationalExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpCompare +entryRuleOpCompare +: +{ before(grammarAccess.getOpCompareRule()); } + ruleOpCompare +{ after(grammarAccess.getOpCompareRule()); } + EOF +; + +// Rule OpCompare +ruleOpCompare + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpCompareAccess().getAlternatives()); } +(rule__OpCompare__Alternatives) +{ after(grammarAccess.getOpCompareAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXOtherOperatorExpression +entryRuleXOtherOperatorExpression +: +{ before(grammarAccess.getXOtherOperatorExpressionRule()); } + ruleXOtherOperatorExpression +{ after(grammarAccess.getXOtherOperatorExpressionRule()); } + EOF +; + +// Rule XOtherOperatorExpression +ruleXOtherOperatorExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXOtherOperatorExpressionAccess().getGroup()); } +(rule__XOtherOperatorExpression__Group__0) +{ after(grammarAccess.getXOtherOperatorExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpOther +entryRuleOpOther +: +{ before(grammarAccess.getOpOtherRule()); } + ruleOpOther +{ after(grammarAccess.getOpOtherRule()); } + EOF +; + +// Rule OpOther +ruleOpOther + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpOtherAccess().getAlternatives()); } +(rule__OpOther__Alternatives) +{ after(grammarAccess.getOpOtherAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXAdditiveExpression +entryRuleXAdditiveExpression +: +{ before(grammarAccess.getXAdditiveExpressionRule()); } + ruleXAdditiveExpression +{ after(grammarAccess.getXAdditiveExpressionRule()); } + EOF +; + +// Rule XAdditiveExpression +ruleXAdditiveExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXAdditiveExpressionAccess().getGroup()); } +(rule__XAdditiveExpression__Group__0) +{ after(grammarAccess.getXAdditiveExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpAdd +entryRuleOpAdd +: +{ before(grammarAccess.getOpAddRule()); } + ruleOpAdd +{ after(grammarAccess.getOpAddRule()); } + EOF +; + +// Rule OpAdd +ruleOpAdd + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpAddAccess().getAlternatives()); } +(rule__OpAdd__Alternatives) +{ after(grammarAccess.getOpAddAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXMultiplicativeExpression +entryRuleXMultiplicativeExpression +: +{ before(grammarAccess.getXMultiplicativeExpressionRule()); } + ruleXMultiplicativeExpression +{ after(grammarAccess.getXMultiplicativeExpressionRule()); } + EOF +; + +// Rule XMultiplicativeExpression +ruleXMultiplicativeExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXMultiplicativeExpressionAccess().getGroup()); } +(rule__XMultiplicativeExpression__Group__0) +{ after(grammarAccess.getXMultiplicativeExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpMulti +entryRuleOpMulti +: +{ before(grammarAccess.getOpMultiRule()); } + ruleOpMulti +{ after(grammarAccess.getOpMultiRule()); } + EOF +; + +// Rule OpMulti +ruleOpMulti + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpMultiAccess().getAlternatives()); } +(rule__OpMulti__Alternatives) +{ after(grammarAccess.getOpMultiAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXUnaryOperation +entryRuleXUnaryOperation +: +{ before(grammarAccess.getXUnaryOperationRule()); } + ruleXUnaryOperation +{ after(grammarAccess.getXUnaryOperationRule()); } + EOF +; + +// Rule XUnaryOperation +ruleXUnaryOperation + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXUnaryOperationAccess().getAlternatives()); } +(rule__XUnaryOperation__Alternatives) +{ after(grammarAccess.getXUnaryOperationAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpUnary +entryRuleOpUnary +: +{ before(grammarAccess.getOpUnaryRule()); } + ruleOpUnary +{ after(grammarAccess.getOpUnaryRule()); } + EOF +; + +// Rule OpUnary +ruleOpUnary + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpUnaryAccess().getAlternatives()); } +(rule__OpUnary__Alternatives) +{ after(grammarAccess.getOpUnaryAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXCastedExpression +entryRuleXCastedExpression +: +{ before(grammarAccess.getXCastedExpressionRule()); } + ruleXCastedExpression +{ after(grammarAccess.getXCastedExpressionRule()); } + EOF +; + +// Rule XCastedExpression +ruleXCastedExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXCastedExpressionAccess().getGroup()); } +(rule__XCastedExpression__Group__0) +{ after(grammarAccess.getXCastedExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXPostfixOperation +entryRuleXPostfixOperation +: +{ before(grammarAccess.getXPostfixOperationRule()); } + ruleXPostfixOperation +{ after(grammarAccess.getXPostfixOperationRule()); } + EOF +; + +// Rule XPostfixOperation +ruleXPostfixOperation + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXPostfixOperationAccess().getGroup()); } +(rule__XPostfixOperation__Group__0) +{ after(grammarAccess.getXPostfixOperationAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleOpPostfix +entryRuleOpPostfix +: +{ before(grammarAccess.getOpPostfixRule()); } + ruleOpPostfix +{ after(grammarAccess.getOpPostfixRule()); } + EOF +; + +// Rule OpPostfix +ruleOpPostfix + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getOpPostfixAccess().getAlternatives()); } +(rule__OpPostfix__Alternatives) +{ after(grammarAccess.getOpPostfixAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXMemberFeatureCall +entryRuleXMemberFeatureCall +: +{ before(grammarAccess.getXMemberFeatureCallRule()); } + ruleXMemberFeatureCall +{ after(grammarAccess.getXMemberFeatureCallRule()); } + EOF +; + +// Rule XMemberFeatureCall +ruleXMemberFeatureCall + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup()); } +(rule__XMemberFeatureCall__Group__0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXPrimaryExpression +entryRuleXPrimaryExpression +: +{ before(grammarAccess.getXPrimaryExpressionRule()); } + ruleXPrimaryExpression +{ after(grammarAccess.getXPrimaryExpressionRule()); } + EOF +; + +// Rule XPrimaryExpression +ruleXPrimaryExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXPrimaryExpressionAccess().getAlternatives()); } +(rule__XPrimaryExpression__Alternatives) +{ after(grammarAccess.getXPrimaryExpressionAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXLiteral +entryRuleXLiteral +: +{ before(grammarAccess.getXLiteralRule()); } + ruleXLiteral +{ after(grammarAccess.getXLiteralRule()); } + EOF +; + +// Rule XLiteral +ruleXLiteral + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXLiteralAccess().getAlternatives()); } +(rule__XLiteral__Alternatives) +{ after(grammarAccess.getXLiteralAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXCollectionLiteral +entryRuleXCollectionLiteral +: +{ before(grammarAccess.getXCollectionLiteralRule()); } + ruleXCollectionLiteral +{ after(grammarAccess.getXCollectionLiteralRule()); } + EOF +; + +// Rule XCollectionLiteral +ruleXCollectionLiteral + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXCollectionLiteralAccess().getAlternatives()); } +(rule__XCollectionLiteral__Alternatives) +{ after(grammarAccess.getXCollectionLiteralAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXSetLiteral +entryRuleXSetLiteral +: +{ before(grammarAccess.getXSetLiteralRule()); } + ruleXSetLiteral +{ after(grammarAccess.getXSetLiteralRule()); } + EOF +; + +// Rule XSetLiteral +ruleXSetLiteral + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXSetLiteralAccess().getGroup()); } +(rule__XSetLiteral__Group__0) +{ after(grammarAccess.getXSetLiteralAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXListLiteral +entryRuleXListLiteral +: +{ before(grammarAccess.getXListLiteralRule()); } + ruleXListLiteral +{ after(grammarAccess.getXListLiteralRule()); } + EOF +; + +// Rule XListLiteral +ruleXListLiteral + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXListLiteralAccess().getGroup()); } +(rule__XListLiteral__Group__0) +{ after(grammarAccess.getXListLiteralAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXClosure +entryRuleXClosure +: +{ before(grammarAccess.getXClosureRule()); } + ruleXClosure +{ after(grammarAccess.getXClosureRule()); } + EOF +; + +// Rule XClosure +ruleXClosure + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXClosureAccess().getGroup()); } +(rule__XClosure__Group__0) +{ after(grammarAccess.getXClosureAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXExpressionInClosure +entryRuleXExpressionInClosure +: +{ before(grammarAccess.getXExpressionInClosureRule()); } + ruleXExpressionInClosure +{ after(grammarAccess.getXExpressionInClosureRule()); } + EOF +; + +// Rule XExpressionInClosure +ruleXExpressionInClosure + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXExpressionInClosureAccess().getGroup()); } +(rule__XExpressionInClosure__Group__0) +{ after(grammarAccess.getXExpressionInClosureAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXShortClosure +entryRuleXShortClosure +: +{ before(grammarAccess.getXShortClosureRule()); } + ruleXShortClosure +{ after(grammarAccess.getXShortClosureRule()); } + EOF +; + +// Rule XShortClosure +ruleXShortClosure + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXShortClosureAccess().getGroup()); } +(rule__XShortClosure__Group__0) +{ after(grammarAccess.getXShortClosureAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXParenthesizedExpression +entryRuleXParenthesizedExpression +: +{ before(grammarAccess.getXParenthesizedExpressionRule()); } + ruleXParenthesizedExpression +{ after(grammarAccess.getXParenthesizedExpressionRule()); } + EOF +; + +// Rule XParenthesizedExpression +ruleXParenthesizedExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXParenthesizedExpressionAccess().getGroup()); } +(rule__XParenthesizedExpression__Group__0) +{ after(grammarAccess.getXParenthesizedExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXIfExpression +entryRuleXIfExpression +: +{ before(grammarAccess.getXIfExpressionRule()); } + ruleXIfExpression +{ after(grammarAccess.getXIfExpressionRule()); } + EOF +; + +// Rule XIfExpression +ruleXIfExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXIfExpressionAccess().getGroup()); } +(rule__XIfExpression__Group__0) +{ after(grammarAccess.getXIfExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXSwitchExpression +entryRuleXSwitchExpression +: +{ before(grammarAccess.getXSwitchExpressionRule()); } + ruleXSwitchExpression +{ after(grammarAccess.getXSwitchExpressionRule()); } + EOF +; + +// Rule XSwitchExpression +ruleXSwitchExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXSwitchExpressionAccess().getGroup()); } +(rule__XSwitchExpression__Group__0) +{ after(grammarAccess.getXSwitchExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXCasePart +entryRuleXCasePart +: +{ before(grammarAccess.getXCasePartRule()); } + ruleXCasePart +{ after(grammarAccess.getXCasePartRule()); } + EOF +; + +// Rule XCasePart +ruleXCasePart + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXCasePartAccess().getGroup()); } +(rule__XCasePart__Group__0) +{ after(grammarAccess.getXCasePartAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXForLoopExpression +entryRuleXForLoopExpression +: +{ before(grammarAccess.getXForLoopExpressionRule()); } + ruleXForLoopExpression +{ after(grammarAccess.getXForLoopExpressionRule()); } + EOF +; + +// Rule XForLoopExpression +ruleXForLoopExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXForLoopExpressionAccess().getGroup()); } +(rule__XForLoopExpression__Group__0) +{ after(grammarAccess.getXForLoopExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXBasicForLoopExpression +entryRuleXBasicForLoopExpression +: +{ before(grammarAccess.getXBasicForLoopExpressionRule()); } + ruleXBasicForLoopExpression +{ after(grammarAccess.getXBasicForLoopExpressionRule()); } + EOF +; + +// Rule XBasicForLoopExpression +ruleXBasicForLoopExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXBasicForLoopExpressionAccess().getGroup()); } +(rule__XBasicForLoopExpression__Group__0) +{ after(grammarAccess.getXBasicForLoopExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXWhileExpression +entryRuleXWhileExpression +: +{ before(grammarAccess.getXWhileExpressionRule()); } + ruleXWhileExpression +{ after(grammarAccess.getXWhileExpressionRule()); } + EOF +; + +// Rule XWhileExpression +ruleXWhileExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXWhileExpressionAccess().getGroup()); } +(rule__XWhileExpression__Group__0) +{ after(grammarAccess.getXWhileExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXDoWhileExpression +entryRuleXDoWhileExpression +: +{ before(grammarAccess.getXDoWhileExpressionRule()); } + ruleXDoWhileExpression +{ after(grammarAccess.getXDoWhileExpressionRule()); } + EOF +; + +// Rule XDoWhileExpression +ruleXDoWhileExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXDoWhileExpressionAccess().getGroup()); } +(rule__XDoWhileExpression__Group__0) +{ after(grammarAccess.getXDoWhileExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXBlockExpression +entryRuleXBlockExpression +: +{ before(grammarAccess.getXBlockExpressionRule()); } + ruleXBlockExpression +{ after(grammarAccess.getXBlockExpressionRule()); } + EOF +; + +// Rule XBlockExpression +ruleXBlockExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXBlockExpressionAccess().getGroup()); } +(rule__XBlockExpression__Group__0) +{ after(grammarAccess.getXBlockExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXExpressionOrVarDeclaration +entryRuleXExpressionOrVarDeclaration +: +{ before(grammarAccess.getXExpressionOrVarDeclarationRule()); } + ruleXExpressionOrVarDeclaration +{ after(grammarAccess.getXExpressionOrVarDeclarationRule()); } + EOF +; + +// Rule XExpressionOrVarDeclaration +ruleXExpressionOrVarDeclaration + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives()); } +(rule__XExpressionOrVarDeclaration__Alternatives) +{ after(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXVariableDeclaration +entryRuleXVariableDeclaration +: +{ before(grammarAccess.getXVariableDeclarationRule()); } + ruleXVariableDeclaration +{ after(grammarAccess.getXVariableDeclarationRule()); } + EOF +; + +// Rule XVariableDeclaration +ruleXVariableDeclaration + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXVariableDeclarationAccess().getGroup()); } +(rule__XVariableDeclaration__Group__0) +{ after(grammarAccess.getXVariableDeclarationAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleJvmFormalParameter +entryRuleJvmFormalParameter +: +{ before(grammarAccess.getJvmFormalParameterRule()); } + ruleJvmFormalParameter +{ after(grammarAccess.getJvmFormalParameterRule()); } + EOF +; + +// Rule JvmFormalParameter +ruleJvmFormalParameter + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getJvmFormalParameterAccess().getGroup()); } +(rule__JvmFormalParameter__Group__0) +{ after(grammarAccess.getJvmFormalParameterAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleFullJvmFormalParameter +entryRuleFullJvmFormalParameter +: +{ before(grammarAccess.getFullJvmFormalParameterRule()); } + ruleFullJvmFormalParameter +{ after(grammarAccess.getFullJvmFormalParameterRule()); } + EOF +; + +// Rule FullJvmFormalParameter +ruleFullJvmFormalParameter + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getFullJvmFormalParameterAccess().getGroup()); } +(rule__FullJvmFormalParameter__Group__0) +{ after(grammarAccess.getFullJvmFormalParameterAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXFeatureCall +entryRuleXFeatureCall +: +{ before(grammarAccess.getXFeatureCallRule()); } + ruleXFeatureCall +{ after(grammarAccess.getXFeatureCallRule()); } + EOF +; + +// Rule XFeatureCall +ruleXFeatureCall + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXFeatureCallAccess().getGroup()); } +(rule__XFeatureCall__Group__0) +{ after(grammarAccess.getXFeatureCallAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleFeatureCallID +entryRuleFeatureCallID +: +{ before(grammarAccess.getFeatureCallIDRule()); } + ruleFeatureCallID +{ after(grammarAccess.getFeatureCallIDRule()); } + EOF +; + +// Rule FeatureCallID +ruleFeatureCallID + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getFeatureCallIDAccess().getAlternatives()); } +(rule__FeatureCallID__Alternatives) +{ after(grammarAccess.getFeatureCallIDAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleIdOrSuper +entryRuleIdOrSuper +: +{ before(grammarAccess.getIdOrSuperRule()); } + ruleIdOrSuper +{ after(grammarAccess.getIdOrSuperRule()); } + EOF +; + +// Rule IdOrSuper +ruleIdOrSuper + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getIdOrSuperAccess().getAlternatives()); } +(rule__IdOrSuper__Alternatives) +{ after(grammarAccess.getIdOrSuperAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXConstructorCall +entryRuleXConstructorCall +: +{ before(grammarAccess.getXConstructorCallRule()); } + ruleXConstructorCall +{ after(grammarAccess.getXConstructorCallRule()); } + EOF +; + +// Rule XConstructorCall +ruleXConstructorCall + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXConstructorCallAccess().getGroup()); } +(rule__XConstructorCall__Group__0) +{ after(grammarAccess.getXConstructorCallAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXBooleanLiteral +entryRuleXBooleanLiteral +: +{ before(grammarAccess.getXBooleanLiteralRule()); } + ruleXBooleanLiteral +{ after(grammarAccess.getXBooleanLiteralRule()); } + EOF +; + +// Rule XBooleanLiteral +ruleXBooleanLiteral + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXBooleanLiteralAccess().getGroup()); } +(rule__XBooleanLiteral__Group__0) +{ after(grammarAccess.getXBooleanLiteralAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXNullLiteral +entryRuleXNullLiteral +: +{ before(grammarAccess.getXNullLiteralRule()); } + ruleXNullLiteral +{ after(grammarAccess.getXNullLiteralRule()); } + EOF +; + +// Rule XNullLiteral +ruleXNullLiteral + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXNullLiteralAccess().getGroup()); } +(rule__XNullLiteral__Group__0) +{ after(grammarAccess.getXNullLiteralAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXNumberLiteral +entryRuleXNumberLiteral +: +{ before(grammarAccess.getXNumberLiteralRule()); } + ruleXNumberLiteral +{ after(grammarAccess.getXNumberLiteralRule()); } + EOF +; + +// Rule XNumberLiteral +ruleXNumberLiteral + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXNumberLiteralAccess().getGroup()); } +(rule__XNumberLiteral__Group__0) +{ after(grammarAccess.getXNumberLiteralAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXStringLiteral +entryRuleXStringLiteral +: +{ before(grammarAccess.getXStringLiteralRule()); } + ruleXStringLiteral +{ after(grammarAccess.getXStringLiteralRule()); } + EOF +; + +// Rule XStringLiteral +ruleXStringLiteral + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXStringLiteralAccess().getGroup()); } +(rule__XStringLiteral__Group__0) +{ after(grammarAccess.getXStringLiteralAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXTypeLiteral +entryRuleXTypeLiteral +: +{ before(grammarAccess.getXTypeLiteralRule()); } + ruleXTypeLiteral +{ after(grammarAccess.getXTypeLiteralRule()); } + EOF +; + +// Rule XTypeLiteral +ruleXTypeLiteral + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXTypeLiteralAccess().getGroup()); } +(rule__XTypeLiteral__Group__0) +{ after(grammarAccess.getXTypeLiteralAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXThrowExpression +entryRuleXThrowExpression +: +{ before(grammarAccess.getXThrowExpressionRule()); } + ruleXThrowExpression +{ after(grammarAccess.getXThrowExpressionRule()); } + EOF +; + +// Rule XThrowExpression +ruleXThrowExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXThrowExpressionAccess().getGroup()); } +(rule__XThrowExpression__Group__0) +{ after(grammarAccess.getXThrowExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXReturnExpression +entryRuleXReturnExpression +: +{ before(grammarAccess.getXReturnExpressionRule()); } + ruleXReturnExpression +{ after(grammarAccess.getXReturnExpressionRule()); } + EOF +; + +// Rule XReturnExpression +ruleXReturnExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXReturnExpressionAccess().getGroup()); } +(rule__XReturnExpression__Group__0) +{ after(grammarAccess.getXReturnExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXTryCatchFinallyExpression +entryRuleXTryCatchFinallyExpression +: +{ before(grammarAccess.getXTryCatchFinallyExpressionRule()); } + ruleXTryCatchFinallyExpression +{ after(grammarAccess.getXTryCatchFinallyExpressionRule()); } + EOF +; + +// Rule XTryCatchFinallyExpression +ruleXTryCatchFinallyExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup()); } +(rule__XTryCatchFinallyExpression__Group__0) +{ after(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXSynchronizedExpression +entryRuleXSynchronizedExpression +: +{ before(grammarAccess.getXSynchronizedExpressionRule()); } + ruleXSynchronizedExpression +{ after(grammarAccess.getXSynchronizedExpressionRule()); } + EOF +; + +// Rule XSynchronizedExpression +ruleXSynchronizedExpression + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXSynchronizedExpressionAccess().getGroup()); } +(rule__XSynchronizedExpression__Group__0) +{ after(grammarAccess.getXSynchronizedExpressionAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXCatchClause +entryRuleXCatchClause +: +{ before(grammarAccess.getXCatchClauseRule()); } + ruleXCatchClause +{ after(grammarAccess.getXCatchClauseRule()); } + EOF +; + +// Rule XCatchClause +ruleXCatchClause + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXCatchClauseAccess().getGroup()); } +(rule__XCatchClause__Group__0) +{ after(grammarAccess.getXCatchClauseAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleQualifiedName +entryRuleQualifiedName +: +{ before(grammarAccess.getQualifiedNameRule()); } + ruleQualifiedName +{ after(grammarAccess.getQualifiedNameRule()); } + EOF +; + +// Rule QualifiedName +ruleQualifiedName + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getQualifiedNameAccess().getGroup()); } +(rule__QualifiedName__Group__0) +{ after(grammarAccess.getQualifiedNameAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleNumber +entryRuleNumber +@init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); +} +: +{ before(grammarAccess.getNumberRule()); } + ruleNumber +{ after(grammarAccess.getNumberRule()); } + EOF +; +finally { + myHiddenTokenState.restore(); +} + +// Rule Number +ruleNumber + @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getNumberAccess().getAlternatives()); } +(rule__Number__Alternatives) +{ after(grammarAccess.getNumberAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); + myHiddenTokenState.restore(); +} + + + + + +// Entry rule entryRuleJvmTypeReference +entryRuleJvmTypeReference +: +{ before(grammarAccess.getJvmTypeReferenceRule()); } + ruleJvmTypeReference +{ after(grammarAccess.getJvmTypeReferenceRule()); } + EOF +; + +// Rule JvmTypeReference +ruleJvmTypeReference + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getJvmTypeReferenceAccess().getAlternatives()); } +(rule__JvmTypeReference__Alternatives) +{ after(grammarAccess.getJvmTypeReferenceAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleArrayBrackets +entryRuleArrayBrackets +: +{ before(grammarAccess.getArrayBracketsRule()); } + ruleArrayBrackets +{ after(grammarAccess.getArrayBracketsRule()); } + EOF +; + +// Rule ArrayBrackets +ruleArrayBrackets + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getArrayBracketsAccess().getGroup()); } +(rule__ArrayBrackets__Group__0) +{ after(grammarAccess.getArrayBracketsAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleXFunctionTypeRef +entryRuleXFunctionTypeRef +: +{ before(grammarAccess.getXFunctionTypeRefRule()); } + ruleXFunctionTypeRef +{ after(grammarAccess.getXFunctionTypeRefRule()); } + EOF +; + +// Rule XFunctionTypeRef +ruleXFunctionTypeRef + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXFunctionTypeRefAccess().getGroup()); } +(rule__XFunctionTypeRef__Group__0) +{ after(grammarAccess.getXFunctionTypeRefAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleJvmParameterizedTypeReference +entryRuleJvmParameterizedTypeReference +: +{ before(grammarAccess.getJvmParameterizedTypeReferenceRule()); } + ruleJvmParameterizedTypeReference +{ after(grammarAccess.getJvmParameterizedTypeReferenceRule()); } + EOF +; + +// Rule JvmParameterizedTypeReference +ruleJvmParameterizedTypeReference + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup()); } +(rule__JvmParameterizedTypeReference__Group__0) +{ after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleJvmArgumentTypeReference +entryRuleJvmArgumentTypeReference +: +{ before(grammarAccess.getJvmArgumentTypeReferenceRule()); } + ruleJvmArgumentTypeReference +{ after(grammarAccess.getJvmArgumentTypeReferenceRule()); } + EOF +; + +// Rule JvmArgumentTypeReference +ruleJvmArgumentTypeReference + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives()); } +(rule__JvmArgumentTypeReference__Alternatives) +{ after(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleJvmWildcardTypeReference +entryRuleJvmWildcardTypeReference +: +{ before(grammarAccess.getJvmWildcardTypeReferenceRule()); } + ruleJvmWildcardTypeReference +{ after(grammarAccess.getJvmWildcardTypeReferenceRule()); } + EOF +; + +// Rule JvmWildcardTypeReference +ruleJvmWildcardTypeReference + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup()); } +(rule__JvmWildcardTypeReference__Group__0) +{ after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleJvmUpperBound +entryRuleJvmUpperBound +: +{ before(grammarAccess.getJvmUpperBoundRule()); } + ruleJvmUpperBound +{ after(grammarAccess.getJvmUpperBoundRule()); } + EOF +; + +// Rule JvmUpperBound +ruleJvmUpperBound + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getJvmUpperBoundAccess().getGroup()); } +(rule__JvmUpperBound__Group__0) +{ after(grammarAccess.getJvmUpperBoundAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleJvmUpperBoundAnded +entryRuleJvmUpperBoundAnded +: +{ before(grammarAccess.getJvmUpperBoundAndedRule()); } + ruleJvmUpperBoundAnded +{ after(grammarAccess.getJvmUpperBoundAndedRule()); } + EOF +; + +// Rule JvmUpperBoundAnded +ruleJvmUpperBoundAnded + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getJvmUpperBoundAndedAccess().getGroup()); } +(rule__JvmUpperBoundAnded__Group__0) +{ after(grammarAccess.getJvmUpperBoundAndedAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleJvmLowerBound +entryRuleJvmLowerBound +: +{ before(grammarAccess.getJvmLowerBoundRule()); } + ruleJvmLowerBound +{ after(grammarAccess.getJvmLowerBoundRule()); } + EOF +; + +// Rule JvmLowerBound +ruleJvmLowerBound + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getJvmLowerBoundAccess().getGroup()); } +(rule__JvmLowerBound__Group__0) +{ after(grammarAccess.getJvmLowerBoundAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleJvmLowerBoundAnded +entryRuleJvmLowerBoundAnded +: +{ before(grammarAccess.getJvmLowerBoundAndedRule()); } + ruleJvmLowerBoundAnded +{ after(grammarAccess.getJvmLowerBoundAndedRule()); } + EOF +; + +// Rule JvmLowerBoundAnded +ruleJvmLowerBoundAnded + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getJvmLowerBoundAndedAccess().getGroup()); } +(rule__JvmLowerBoundAnded__Group__0) +{ after(grammarAccess.getJvmLowerBoundAndedAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + +// Entry rule entryRuleQualifiedNameWithWildcard +entryRuleQualifiedNameWithWildcard +: +{ before(grammarAccess.getQualifiedNameWithWildcardRule()); } + ruleQualifiedNameWithWildcard +{ after(grammarAccess.getQualifiedNameWithWildcardRule()); } + EOF +; + +// Rule QualifiedNameWithWildcard +ruleQualifiedNameWithWildcard + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); } +(rule__QualifiedNameWithWildcard__Group__0) +{ after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleValidID +entryRuleValidID +: +{ before(grammarAccess.getValidIDRule()); } + ruleValidID +{ after(grammarAccess.getValidIDRule()); } + EOF +; + +// Rule ValidID +ruleValidID + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); } + RULE_ID +{ after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + +// Entry rule entryRuleXImportDeclaration +entryRuleXImportDeclaration +: +{ before(grammarAccess.getXImportDeclarationRule()); } + ruleXImportDeclaration +{ after(grammarAccess.getXImportDeclarationRule()); } + EOF +; + +// Rule XImportDeclaration +ruleXImportDeclaration + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getXImportDeclarationAccess().getGroup()); } +(rule__XImportDeclaration__Group__0) +{ after(grammarAccess.getXImportDeclarationAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleQualifiedNameInStaticImport +entryRuleQualifiedNameInStaticImport +: +{ before(grammarAccess.getQualifiedNameInStaticImportRule()); } + ruleQualifiedNameInStaticImport +{ after(grammarAccess.getQualifiedNameInStaticImportRule()); } + EOF +; + +// Rule QualifiedNameInStaticImport +ruleQualifiedNameInStaticImport + @init { + int stackSize = keepStackSize(); + } + : +( +( +{ before(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); } +(rule__QualifiedNameInStaticImport__Group__0) +{ after(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); } +) +( +{ before(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); } +(rule__QualifiedNameInStaticImport__Group__0)* +{ after(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); } +) +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__Dialog__Alternatives_4 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getGroup_4_0()); } +(rule__Dialog__Group_4_0__0) +{ after(grammarAccess.getDialogAccess().getGroup_4_0()); } +) + + |( +{ before(grammarAccess.getDialogAccess().getGroup_4_1()); } +(rule__Dialog__Group_4_1__0) +{ after(grammarAccess.getDialogAccess().getGroup_4_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Alternatives_5_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getEmbeddedAssignment_5_0_0()); } +(rule__Dialog__EmbeddedAssignment_5_0_0) +{ after(grammarAccess.getDialogAccess().getEmbeddedAssignment_5_0_0()); } +) + + |( +{ before(grammarAccess.getDialogAccess().getPureAssignment_5_0_1()); } +(rule__Dialog__PureAssignment_5_0_1) +{ after(grammarAccess.getDialogAccess().getPureAssignment_5_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Alternatives_3_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getGroup_3_1_0()); } +(rule__XAnnotation__Group_3_1_0__0) +{ after(grammarAccess.getXAnnotationAccess().getGroup_3_1_0()); } +) + + |( +{ before(grammarAccess.getXAnnotationAccess().getValueAssignment_3_1_1()); } +(rule__XAnnotation__ValueAssignment_3_1_1) +{ after(grammarAccess.getXAnnotationAccess().getValueAssignment_3_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0()); } +(rule__XAnnotationElementValueOrCommaList__Group_0__0) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0()); } +) + + |( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1()); } +(rule__XAnnotationElementValueOrCommaList__Group_1__0) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0()); } +(rule__XAnnotationElementValue__Group_0__0) +{ after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0()); } +) + + |( +{ before(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); } + ruleXAnnotationOrExpression +{ after(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationOrExpression__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); } + ruleXAnnotation +{ after(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); } +) + + |( +{ before(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); } + ruleXExpression +{ after(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getGroup_0()); } +(rule__XAssignment__Group_0__0) +{ after(grammarAccess.getXAssignmentAccess().getGroup_0()); } +) + + |( +{ before(grammarAccess.getXAssignmentAccess().getGroup_1()); } +(rule__XAssignment__Group_1__0) +{ after(grammarAccess.getXAssignmentAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpMultiAssign__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0()); } + + '+=' + +{ after(grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0()); } +) + + |( +{ before(grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1()); } + + '-=' + +{ after(grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1()); } +) + + |( +{ before(grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2()); } + + '*=' + +{ after(grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2()); } +) + + |( +{ before(grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3()); } + + '/=' + +{ after(grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3()); } +) + + |( +{ before(grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4()); } + + '%=' + +{ after(grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4()); } +) + + |( +{ before(grammarAccess.getOpMultiAssignAccess().getGroup_5()); } +(rule__OpMultiAssign__Group_5__0) +{ after(grammarAccess.getOpMultiAssignAccess().getGroup_5()); } +) + + |( +{ before(grammarAccess.getOpMultiAssignAccess().getGroup_6()); } +(rule__OpMultiAssign__Group_6__0) +{ after(grammarAccess.getOpMultiAssignAccess().getGroup_6()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpEquality__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0()); } + + '==' + +{ after(grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0()); } +) + + |( +{ before(grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1()); } + + '!=' + +{ after(grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1()); } +) + + |( +{ before(grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2()); } + + '===' + +{ after(grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2()); } +) + + |( +{ before(grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3()); } + + '!==' + +{ after(grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0()); } +(rule__XRelationalExpression__Group_1_0__0) +{ after(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0()); } +) + + |( +{ before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1()); } +(rule__XRelationalExpression__Group_1_1__0) +{ after(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpCompare__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0()); } + + '>=' + +{ after(grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0()); } +) + + |( +{ before(grammarAccess.getOpCompareAccess().getGroup_1()); } +(rule__OpCompare__Group_1__0) +{ after(grammarAccess.getOpCompareAccess().getGroup_1()); } +) + + |( +{ before(grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2()); } + + '>' + +{ after(grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2()); } +) + + |( +{ before(grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3()); } + + '<' + +{ after(grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); } + + '->' + +{ after(grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1()); } + + '..<' + +{ after(grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getGroup_2()); } +(rule__OpOther__Group_2__0) +{ after(grammarAccess.getOpOtherAccess().getGroup_2()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3()); } + + '..' + +{ after(grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4()); } + + '=>' + +{ after(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getGroup_5()); } +(rule__OpOther__Group_5__0) +{ after(grammarAccess.getOpOtherAccess().getGroup_5()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getGroup_6()); } +(rule__OpOther__Group_6__0) +{ after(grammarAccess.getOpOtherAccess().getGroup_6()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7()); } + + '<>' + +{ after(grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8()); } + + '?:' + +{ after(grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Alternatives_5_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getGroup_5_1_0()); } +(rule__OpOther__Group_5_1_0__0) +{ after(grammarAccess.getOpOtherAccess().getGroup_5_1_0()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1()); } + + '>' + +{ after(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Alternatives_6_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getGroup_6_1_0()); } +(rule__OpOther__Group_6_1_0__0) +{ after(grammarAccess.getOpOtherAccess().getGroup_6_1_0()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1()); } + + '<' + +{ after(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1()); } +) + + |( +{ before(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2()); } + + '=>' + +{ after(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpAdd__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpAddAccess().getPlusSignKeyword_0()); } + + '+' + +{ after(grammarAccess.getOpAddAccess().getPlusSignKeyword_0()); } +) + + |( +{ before(grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1()); } + + '-' + +{ after(grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpMulti__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpMultiAccess().getAsteriskKeyword_0()); } + + '*' + +{ after(grammarAccess.getOpMultiAccess().getAsteriskKeyword_0()); } +) + + |( +{ before(grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1()); } + + '**' + +{ after(grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1()); } +) + + |( +{ before(grammarAccess.getOpMultiAccess().getSolidusKeyword_2()); } + + '/' + +{ after(grammarAccess.getOpMultiAccess().getSolidusKeyword_2()); } +) + + |( +{ before(grammarAccess.getOpMultiAccess().getPercentSignKeyword_3()); } + + '%' + +{ after(grammarAccess.getOpMultiAccess().getPercentSignKeyword_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XUnaryOperation__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXUnaryOperationAccess().getGroup_0()); } +(rule__XUnaryOperation__Group_0__0) +{ after(grammarAccess.getXUnaryOperationAccess().getGroup_0()); } +) + + |( +{ before(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1()); } + ruleXCastedExpression +{ after(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpUnary__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0()); } + + '!' + +{ after(grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0()); } +) + + |( +{ before(grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1()); } + + '-' + +{ after(grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1()); } +) + + |( +{ before(grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2()); } + + '+' + +{ after(grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__OpPostfix__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0()); } + + '++' + +{ after(grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0()); } +) + + |( +{ before(grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1()); } + + '--' + +{ after(grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0()); } +(rule__XMemberFeatureCall__Group_1_0__0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0()); } +) + + |( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1()); } +(rule__XMemberFeatureCall__Group_1_1__0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Alternatives_1_0_0_0_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0()); } + + '.' + +{ after(grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0()); } +) + + |( +{ before(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1()); } +(rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1) +{ after(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Alternatives_1_1_0_0_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0()); } + + '.' + +{ after(grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0()); } +) + + |( +{ before(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1()); } +(rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1) +{ after(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1()); } +) + + |( +{ before(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2()); } +(rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2) +{ after(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Alternatives_1_1_3_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0()); } +(rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0()); } +) + + |( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1()); } +(rule__XMemberFeatureCall__Group_1_1_3_1_1__0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XPrimaryExpression__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0()); } + ruleXConstructorCall +{ after(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1()); } + ruleXBlockExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2()); } + ruleXSwitchExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3()); } +( ruleXSynchronizedExpression) +{ after(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4()); } + ruleXFeatureCall +{ after(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5()); } + ruleXLiteral +{ after(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6()); } + ruleXIfExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7()); } +( ruleXForLoopExpression) +{ after(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8()); } + ruleXBasicForLoopExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9()); } + ruleXWhileExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10()); } + ruleXDoWhileExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11()); } + ruleXThrowExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12()); } + ruleXReturnExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13()); } + ruleXTryCatchFinallyExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13()); } +) + + |( +{ before(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14()); } + ruleXParenthesizedExpression +{ after(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XLiteral__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0()); } + ruleXCollectionLiteral +{ after(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0()); } +) + + |( +{ before(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1()); } +( ruleXClosure) +{ after(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1()); } +) + + |( +{ before(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2()); } + ruleXBooleanLiteral +{ after(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2()); } +) + + |( +{ before(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3()); } + ruleXNumberLiteral +{ after(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3()); } +) + + |( +{ before(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4()); } + ruleXNullLiteral +{ after(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4()); } +) + + |( +{ before(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5()); } + ruleXStringLiteral +{ after(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5()); } +) + + |( +{ before(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6()); } + ruleXTypeLiteral +{ after(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XCollectionLiteral__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0()); } + ruleXSetLiteral +{ after(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0()); } +) + + |( +{ before(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1()); } + ruleXListLiteral +{ after(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XSwitchExpression__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); } +(rule__XSwitchExpression__Group_2_0__0) +{ after(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); } +) + + |( +{ before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); } +(rule__XSwitchExpression__Group_2_1__0) +{ after(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XCasePart__Alternatives_3 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXCasePartAccess().getGroup_3_0()); } +(rule__XCasePart__Group_3_0__0) +{ after(grammarAccess.getXCasePartAccess().getGroup_3_0()); } +) + + |( +{ before(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1()); } +(rule__XCasePart__FallThroughAssignment_3_1) +{ after(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XExpressionOrVarDeclaration__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXExpressionOrVarDeclarationAccess().getXVariableDeclarationParserRuleCall_0()); } + ruleXVariableDeclaration +{ after(grammarAccess.getXExpressionOrVarDeclarationAccess().getXVariableDeclarationParserRuleCall_0()); } +) + + |( +{ before(grammarAccess.getXExpressionOrVarDeclarationAccess().getXExpressionParserRuleCall_1()); } + ruleXExpression +{ after(grammarAccess.getXExpressionOrVarDeclarationAccess().getXExpressionParserRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XVariableDeclaration__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0()); } +(rule__XVariableDeclaration__WriteableAssignment_1_0) +{ after(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0()); } +) + + |( +{ before(grammarAccess.getXVariableDeclarationAccess().getValKeyword_1_1()); } + + 'val' + +{ after(grammarAccess.getXVariableDeclarationAccess().getValKeyword_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XVariableDeclaration__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0()); } +(rule__XVariableDeclaration__Group_2_0__0) +{ after(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0()); } +) + + |( +{ before(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1()); } +(rule__XVariableDeclaration__NameAssignment_2_1) +{ after(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XFeatureCall__Alternatives_3_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0()); } +(rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0) +{ after(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0()); } +) + + |( +{ before(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1()); } +(rule__XFeatureCall__Group_3_1_1__0) +{ after(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__FeatureCallID__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getFeatureCallIDAccess().getValidIDParserRuleCall_0()); } + ruleValidID +{ after(grammarAccess.getFeatureCallIDAccess().getValidIDParserRuleCall_0()); } +) + + |( +{ before(grammarAccess.getFeatureCallIDAccess().getExtendsKeyword_1()); } + + 'extends' + +{ after(grammarAccess.getFeatureCallIDAccess().getExtendsKeyword_1()); } +) + + |( +{ before(grammarAccess.getFeatureCallIDAccess().getStaticKeyword_2()); } + + 'static' + +{ after(grammarAccess.getFeatureCallIDAccess().getStaticKeyword_2()); } +) + + |( +{ before(grammarAccess.getFeatureCallIDAccess().getImportKeyword_3()); } + + 'import' + +{ after(grammarAccess.getFeatureCallIDAccess().getImportKeyword_3()); } +) + + |( +{ before(grammarAccess.getFeatureCallIDAccess().getExtensionKeyword_4()); } + + 'extension' + +{ after(grammarAccess.getFeatureCallIDAccess().getExtensionKeyword_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__IdOrSuper__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getIdOrSuperAccess().getFeatureCallIDParserRuleCall_0()); } + ruleFeatureCallID +{ after(grammarAccess.getIdOrSuperAccess().getFeatureCallIDParserRuleCall_0()); } +) + + |( +{ before(grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); } + + 'super' + +{ after(grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XConstructorCall__Alternatives_4_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0()); } +(rule__XConstructorCall__ArgumentsAssignment_4_1_0) +{ after(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0()); } +) + + |( +{ before(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1()); } +(rule__XConstructorCall__Group_4_1_1__0) +{ after(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XBooleanLiteral__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); } + + 'false' + +{ after(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); } +) + + |( +{ before(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); } +(rule__XBooleanLiteral__IsTrueAssignment_1_1) +{ after(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XTryCatchFinallyExpression__Alternatives_3 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0()); } +(rule__XTryCatchFinallyExpression__Group_3_0__0) +{ after(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0()); } +) + + |( +{ before(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1()); } +(rule__XTryCatchFinallyExpression__Group_3_1__0) +{ after(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__Number__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getNumberAccess().getHEXTerminalRuleCall_0()); } + RULE_HEX +{ after(grammarAccess.getNumberAccess().getHEXTerminalRuleCall_0()); } +) + + |( +{ before(grammarAccess.getNumberAccess().getGroup_1()); } +(rule__Number__Group_1__0) +{ after(grammarAccess.getNumberAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__Number__Alternatives_1_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_0_0()); } + RULE_INT +{ after(grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_0_0()); } +) + + |( +{ before(grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_0_1()); } + RULE_DECIMAL +{ after(grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__Number__Alternatives_1_1_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_1_1_0()); } + RULE_INT +{ after(grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_1_1_0()); } +) + + |( +{ before(grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_1_1_1()); } + RULE_DECIMAL +{ after(grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_1_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__JvmTypeReference__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getJvmTypeReferenceAccess().getGroup_0()); } +(rule__JvmTypeReference__Group_0__0) +{ after(grammarAccess.getJvmTypeReferenceAccess().getGroup_0()); } +) + + |( +{ before(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); } + ruleXFunctionTypeRef +{ after(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__JvmArgumentTypeReference__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); } + ruleJvmTypeReference +{ after(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); } +) + + |( +{ before(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); } + ruleJvmWildcardTypeReference +{ after(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__JvmWildcardTypeReference__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0()); } +(rule__JvmWildcardTypeReference__Group_2_0__0) +{ after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0()); } +) + + |( +{ before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1()); } +(rule__JvmWildcardTypeReference__Group_2_1__0) +{ after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XImportDeclaration__Alternatives_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXImportDeclarationAccess().getGroup_1_0()); } +(rule__XImportDeclaration__Group_1_0__0) +{ after(grammarAccess.getXImportDeclarationAccess().getGroup_1_0()); } +) + + |( +{ before(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1()); } +(rule__XImportDeclaration__ImportedTypeAssignment_1_1) +{ after(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1()); } +) + + |( +{ before(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2()); } +(rule__XImportDeclaration__ImportedNamespaceAssignment_1_2) +{ after(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__XImportDeclaration__Alternatives_1_0_3 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0()); } +(rule__XImportDeclaration__WildcardAssignment_1_0_3_0) +{ after(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0()); } +) + + |( +{ before(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1()); } +(rule__XImportDeclaration__MemberNameAssignment_1_0_3_1) +{ after(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +rule__DialogModel__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogModel__Group__0__Impl + rule__DialogModel__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogModel__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogModelAccess().getDialogModelAction_0()); } +( + +) +{ after(grammarAccess.getDialogModelAccess().getDialogModelAction_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__DialogModel__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogModel__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogModel__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogModelAccess().getPckgAssignment_1()); } +(rule__DialogModel__PckgAssignment_1) +{ after(grammarAccess.getDialogModelAccess().getPckgAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__DialogPackage__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogPackage__Group__0__Impl + rule__DialogPackage__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogPackage__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogPackageAccess().getPackageKeyword_0()); } + + 'package' + +{ after(grammarAccess.getDialogPackageAccess().getPackageKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__DialogPackage__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogPackage__Group__1__Impl + rule__DialogPackage__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogPackage__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogPackageAccess().getNameAssignment_1()); } +(rule__DialogPackage__NameAssignment_1) +{ after(grammarAccess.getDialogPackageAccess().getNameAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__DialogPackage__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogPackage__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogPackage__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogPackageAccess().getGroup_2()); } +(rule__DialogPackage__Group_2__0)? +{ after(grammarAccess.getDialogPackageAccess().getGroup_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + +rule__DialogPackage__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogPackage__Group_2__0__Impl + rule__DialogPackage__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogPackage__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogPackageAccess().getLeftCurlyBracketKeyword_2_0()); } + + '{' + +{ after(grammarAccess.getDialogPackageAccess().getLeftCurlyBracketKeyword_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__DialogPackage__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogPackage__Group_2__1__Impl + rule__DialogPackage__Group_2__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogPackage__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogPackageAccess().getImportsAssignment_2_1()); } +(rule__DialogPackage__ImportsAssignment_2_1)* +{ after(grammarAccess.getDialogPackageAccess().getImportsAssignment_2_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__DialogPackage__Group_2__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogPackage__Group_2__2__Impl + rule__DialogPackage__Group_2__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogPackage__Group_2__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogPackageAccess().getDialogsAssignment_2_2()); } +(rule__DialogPackage__DialogsAssignment_2_2)* +{ after(grammarAccess.getDialogPackageAccess().getDialogsAssignment_2_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__DialogPackage__Group_2__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogPackage__Group_2__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogPackage__Group_2__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogPackageAccess().getRightCurlyBracketKeyword_2_3()); } + + '}' + +{ after(grammarAccess.getDialogPackageAccess().getRightCurlyBracketKeyword_2_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + +rule__DialogImport__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogImport__Group__0__Impl + rule__DialogImport__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogImport__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogImportAccess().getImportKeyword_0()); } + + 'import' + +{ after(grammarAccess.getDialogImportAccess().getImportKeyword_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__DialogImport__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogImport__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogImport__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogImportAccess().getImportedNamespaceAssignment_1()); } +(rule__DialogImport__ImportedNamespaceAssignment_1) +{ after(grammarAccess.getDialogImportAccess().getImportedNamespaceAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__Dialog__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group__0__Impl + rule__Dialog__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getDialogAction_0()); } +( + +) +{ after(grammarAccess.getDialogAccess().getDialogAction_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Dialog__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group__1__Impl + rule__Dialog__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getDialogKeyword_1()); } + + 'dialog' + +{ after(grammarAccess.getDialogAccess().getDialogKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Dialog__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group__2__Impl + rule__Dialog__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getNameAssignment_2()); } +(rule__Dialog__NameAssignment_2) +{ after(grammarAccess.getDialogAccess().getNameAssignment_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Dialog__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group__3__Impl + rule__Dialog__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getGroup_3()); } +(rule__Dialog__Group_3__0)? +{ after(grammarAccess.getDialogAccess().getGroup_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Dialog__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group__4__Impl + rule__Dialog__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getAlternatives_4()); } +(rule__Dialog__Alternatives_4) +{ after(grammarAccess.getDialogAccess().getAlternatives_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Dialog__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group__5__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getUnorderedGroup_5()); } +(rule__Dialog__UnorderedGroup_5) +{ after(grammarAccess.getDialogAccess().getUnorderedGroup_5()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + + + +rule__Dialog__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group_3__0__Impl + rule__Dialog__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getDescriptionAssignment_3_0()); } +(rule__Dialog__DescriptionAssignment_3_0) +{ after(grammarAccess.getDialogAccess().getDescriptionAssignment_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Dialog__Group_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getDescriptionValueAssignment_3_1()); } +(rule__Dialog__DescriptionValueAssignment_3_1) +{ after(grammarAccess.getDialogAccess().getDescriptionValueAssignment_3_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__Dialog__Group_4_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group_4_0__0__Impl + rule__Dialog__Group_4_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group_4_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getViewKeyword_4_0_0()); } + + 'view' + +{ after(grammarAccess.getDialogAccess().getViewKeyword_4_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Dialog__Group_4_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group_4_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group_4_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getUiViewAssignment_4_0_1()); } +(rule__Dialog__UiViewAssignment_4_0_1) +{ after(grammarAccess.getDialogAccess().getUiViewAssignment_4_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__Dialog__Group_4_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group_4_1__0__Impl + rule__Dialog__Group_4_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group_4_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getAutowireAssignment_4_1_0()); } +(rule__Dialog__AutowireAssignment_4_1_0) +{ after(grammarAccess.getDialogAccess().getAutowireAssignment_4_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Dialog__Group_4_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group_4_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group_4_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getDtoAssignment_4_1_1()); } +(rule__Dialog__DtoAssignment_4_1_1) +{ after(grammarAccess.getDialogAccess().getDtoAssignment_4_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__Dialog__Group_5_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group_5_2__0__Impl + rule__Dialog__Group_5_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group_5_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getToolbarKeyword_5_2_0()); } + + 'toolbar' + +{ after(grammarAccess.getDialogAccess().getToolbarKeyword_5_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Dialog__Group_5_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Dialog__Group_5_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Dialog__Group_5_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogAccess().getToolbarAssignment_5_2_1()); } +(rule__Dialog__ToolbarAssignment_5_2_1) +{ after(grammarAccess.getDialogAccess().getToolbarAssignment_5_2_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__DialogQualifiedNameWithWildCard__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogQualifiedNameWithWildCard__Group__0__Impl + rule__DialogQualifiedNameWithWildCard__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogQualifiedNameWithWildCard__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0()); } + ruleQualifiedName +{ after(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__DialogQualifiedNameWithWildCard__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogQualifiedNameWithWildCard__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogQualifiedNameWithWildCard__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getGroup_1()); } +(rule__DialogQualifiedNameWithWildCard__Group_1__0)? +{ after(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__DialogQualifiedNameWithWildCard__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogQualifiedNameWithWildCard__Group_1__0__Impl + rule__DialogQualifiedNameWithWildCard__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogQualifiedNameWithWildCard__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0()); } + + '.' + +{ after(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__DialogQualifiedNameWithWildCard__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DialogQualifiedNameWithWildCard__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DialogQualifiedNameWithWildCard__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1()); } + + '*' + +{ after(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotation__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group__0__Impl + rule__XAnnotation__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getXAnnotationAction_0()); } +( + +) +{ after(grammarAccess.getXAnnotationAccess().getXAnnotationAction_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotation__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group__1__Impl + rule__XAnnotation__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1()); } + + '@' + +{ after(grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotation__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group__2__Impl + rule__XAnnotation__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getAnnotationTypeAssignment_2()); } +(rule__XAnnotation__AnnotationTypeAssignment_2) +{ after(grammarAccess.getXAnnotationAccess().getAnnotationTypeAssignment_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotation__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getGroup_3()); } +(rule__XAnnotation__Group_3__0)? +{ after(grammarAccess.getXAnnotationAccess().getGroup_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + +rule__XAnnotation__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group_3__0__Impl + rule__XAnnotation__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()); } +( + '(' +) +{ after(grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotation__Group_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group_3__1__Impl + rule__XAnnotation__Group_3__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getAlternatives_3_1()); } +(rule__XAnnotation__Alternatives_3_1)? +{ after(grammarAccess.getXAnnotationAccess().getAlternatives_3_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotation__Group_3__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group_3__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group_3__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2()); } + + ')' + +{ after(grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + +rule__XAnnotation__Group_3_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group_3_1_0__0__Impl + rule__XAnnotation__Group_3_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group_3_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_0()); } +(rule__XAnnotation__ElementValuePairsAssignment_3_1_0_0) +{ after(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotation__Group_3_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group_3_1_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group_3_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getGroup_3_1_0_1()); } +(rule__XAnnotation__Group_3_1_0_1__0)* +{ after(grammarAccess.getXAnnotationAccess().getGroup_3_1_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotation__Group_3_1_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group_3_1_0_1__0__Impl + rule__XAnnotation__Group_3_1_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group_3_1_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0()); } + + ',' + +{ after(grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotation__Group_3_1_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotation__Group_3_1_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotation__Group_3_1_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_1_1()); } +(rule__XAnnotation__ElementValuePairsAssignment_3_1_0_1_1) +{ after(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotationElementValuePair__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValuePair__Group__0__Impl + rule__XAnnotationElementValuePair__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValuePair__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0()); } +(rule__XAnnotationElementValuePair__Group_0__0) +{ after(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValuePair__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValuePair__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValuePair__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValuePairAccess().getValueAssignment_1()); } +(rule__XAnnotationElementValuePair__ValueAssignment_1) +{ after(grammarAccess.getXAnnotationElementValuePairAccess().getValueAssignment_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotationElementValuePair__Group_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValuePair__Group_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValuePair__Group_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0_0()); } +(rule__XAnnotationElementValuePair__Group_0_0__0) +{ after(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XAnnotationElementValuePair__Group_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValuePair__Group_0_0__0__Impl + rule__XAnnotationElementValuePair__Group_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValuePair__Group_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValuePairAccess().getElementAssignment_0_0_0()); } +(rule__XAnnotationElementValuePair__ElementAssignment_0_0_0) +{ after(grammarAccess.getXAnnotationElementValuePairAccess().getElementAssignment_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValuePair__Group_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValuePair__Group_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValuePair__Group_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1()); } + + '=' + +{ after(grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotationElementValueOrCommaList__Group_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0__0__Impl + rule__XAnnotationElementValueOrCommaList__Group_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0()); } +(rule__XAnnotationElementValueOrCommaList__Group_0_0__0) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValueOrCommaList__Group_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0__1__Impl + rule__XAnnotationElementValueOrCommaList__Group_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1()); } +(rule__XAnnotationElementValueOrCommaList__Group_0_1__0)? +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValueOrCommaList__Group_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2()); } + + ']' + +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + +rule__XAnnotationElementValueOrCommaList__Group_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0_0()); } +(rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0__Impl + rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0()); } +( + +) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1__Impl + rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1()); } + + '#' + +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2()); } + + '[' + +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + +rule__XAnnotationElementValueOrCommaList__Group_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0_1__0__Impl + rule__XAnnotationElementValueOrCommaList__Group_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_0()); } +(rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_0) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValueOrCommaList__Group_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1_1()); } +(rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0)* +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0__Impl + rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0()); } + + ',' + +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_1_1()); } +(rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_1_1) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotationElementValueOrCommaList__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_1__0__Impl + rule__XAnnotationElementValueOrCommaList__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0()); } + ruleXAnnotationOrExpression +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValueOrCommaList__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1()); } +(rule__XAnnotationElementValueOrCommaList__Group_1_1__0)? +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotationElementValueOrCommaList__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_1_1__0__Impl + rule__XAnnotationElementValueOrCommaList__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0()); } +( + +) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValueOrCommaList__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_1_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1()); } +(rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1()); } +) +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1()); } +(rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0)* +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1()); } +) +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0__Impl + rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0()); } + + ',' + +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_1_1_1_1()); } +(rule__XAnnotationElementValueOrCommaList__ElementsAssignment_1_1_1_1) +{ after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_1_1_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotationElementValue__Group_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0__0__Impl + rule__XAnnotationElementValue__Group_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0()); } +(rule__XAnnotationElementValue__Group_0_0__0) +{ after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValue__Group_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0__1__Impl + rule__XAnnotationElementValue__Group_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1()); } +(rule__XAnnotationElementValue__Group_0_1__0)? +{ after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValue__Group_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2()); } + + ']' + +{ after(grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + +rule__XAnnotationElementValue__Group_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0_0()); } +(rule__XAnnotationElementValue__Group_0_0_0__0) +{ after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XAnnotationElementValue__Group_0_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0_0_0__0__Impl + rule__XAnnotationElementValue__Group_0_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0()); } +( + +) +{ after(grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValue__Group_0_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0_0_0__1__Impl + rule__XAnnotationElementValue__Group_0_0_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); } + + '#' + +{ after(grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValue__Group_0_0_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0_0_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0_0_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2()); } + + '[' + +{ after(grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + +rule__XAnnotationElementValue__Group_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0_1__0__Impl + rule__XAnnotationElementValue__Group_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_0()); } +(rule__XAnnotationElementValue__ElementsAssignment_0_1_0) +{ after(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValue__Group_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1_1()); } +(rule__XAnnotationElementValue__Group_0_1_1__0)* +{ after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAnnotationElementValue__Group_0_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0_1_1__0__Impl + rule__XAnnotationElementValue__Group_0_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); } + + ',' + +{ after(grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAnnotationElementValue__Group_0_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAnnotationElementValue__Group_0_1_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAnnotationElementValue__Group_0_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_1_1()); } +(rule__XAnnotationElementValue__ElementsAssignment_0_1_1_1) +{ after(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAssignment__Group_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_0__0__Impl + rule__XAssignment__Group_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0()); } +( + +) +{ after(grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAssignment__Group_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_0__1__Impl + rule__XAssignment__Group_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1()); } +(rule__XAssignment__FeatureAssignment_0_1) +{ after(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAssignment__Group_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_0__2__Impl + rule__XAssignment__Group_0__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2()); } + ruleOpSingleAssign +{ after(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAssignment__Group_0__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_0__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_0__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3()); } +(rule__XAssignment__ValueAssignment_0_3) +{ after(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + +rule__XAssignment__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_1__0__Impl + rule__XAssignment__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0()); } + ruleXOrExpression +{ after(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAssignment__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getGroup_1_1()); } +(rule__XAssignment__Group_1_1__0)? +{ after(grammarAccess.getXAssignmentAccess().getGroup_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAssignment__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_1_1__0__Impl + rule__XAssignment__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getGroup_1_1_0()); } +(rule__XAssignment__Group_1_1_0__0) +{ after(grammarAccess.getXAssignmentAccess().getGroup_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAssignment__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_1_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1()); } +(rule__XAssignment__RightOperandAssignment_1_1_1) +{ after(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAssignment__Group_1_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_1_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_1_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0()); } +(rule__XAssignment__Group_1_1_0_0__0) +{ after(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XAssignment__Group_1_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_1_1_0_0__0__Impl + rule__XAssignment__Group_1_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_1_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAssignment__Group_1_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAssignment__Group_1_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAssignment__Group_1_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1()); } +(rule__XAssignment__FeatureAssignment_1_1_0_0_1) +{ after(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__OpMultiAssign__Group_5__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpMultiAssign__Group_5__0__Impl + rule__OpMultiAssign__Group_5__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpMultiAssign__Group_5__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0()); } + + '<' + +{ after(grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpMultiAssign__Group_5__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpMultiAssign__Group_5__1__Impl + rule__OpMultiAssign__Group_5__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpMultiAssign__Group_5__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1()); } + + '<' + +{ after(grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpMultiAssign__Group_5__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpMultiAssign__Group_5__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpMultiAssign__Group_5__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2()); } + + '=' + +{ after(grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + +rule__OpMultiAssign__Group_6__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpMultiAssign__Group_6__0__Impl + rule__OpMultiAssign__Group_6__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpMultiAssign__Group_6__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0()); } + + '>' + +{ after(grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpMultiAssign__Group_6__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpMultiAssign__Group_6__1__Impl + rule__OpMultiAssign__Group_6__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpMultiAssign__Group_6__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1()); } +( + '>' +)? +{ after(grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpMultiAssign__Group_6__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpMultiAssign__Group_6__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpMultiAssign__Group_6__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2()); } + + '>=' + +{ after(grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + +rule__XOrExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOrExpression__Group__0__Impl + rule__XOrExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XOrExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0()); } + ruleXAndExpression +{ after(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XOrExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOrExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XOrExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOrExpressionAccess().getGroup_1()); } +(rule__XOrExpression__Group_1__0)* +{ after(grammarAccess.getXOrExpressionAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XOrExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOrExpression__Group_1__0__Impl + rule__XOrExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XOrExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOrExpressionAccess().getGroup_1_0()); } +(rule__XOrExpression__Group_1_0__0) +{ after(grammarAccess.getXOrExpressionAccess().getGroup_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XOrExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOrExpression__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XOrExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1()); } +(rule__XOrExpression__RightOperandAssignment_1_1) +{ after(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XOrExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOrExpression__Group_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XOrExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0()); } +(rule__XOrExpression__Group_1_0_0__0) +{ after(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XOrExpression__Group_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOrExpression__Group_1_0_0__0__Impl + rule__XOrExpression__Group_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XOrExpression__Group_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XOrExpression__Group_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOrExpression__Group_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XOrExpression__Group_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1()); } +(rule__XOrExpression__FeatureAssignment_1_0_0_1) +{ after(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAndExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAndExpression__Group__0__Impl + rule__XAndExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAndExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0()); } + ruleXEqualityExpression +{ after(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAndExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAndExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAndExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAndExpressionAccess().getGroup_1()); } +(rule__XAndExpression__Group_1__0)* +{ after(grammarAccess.getXAndExpressionAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAndExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAndExpression__Group_1__0__Impl + rule__XAndExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAndExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAndExpressionAccess().getGroup_1_0()); } +(rule__XAndExpression__Group_1_0__0) +{ after(grammarAccess.getXAndExpressionAccess().getGroup_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAndExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAndExpression__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAndExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1()); } +(rule__XAndExpression__RightOperandAssignment_1_1) +{ after(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAndExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAndExpression__Group_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAndExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0()); } +(rule__XAndExpression__Group_1_0_0__0) +{ after(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XAndExpression__Group_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAndExpression__Group_1_0_0__0__Impl + rule__XAndExpression__Group_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAndExpression__Group_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAndExpression__Group_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAndExpression__Group_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAndExpression__Group_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1()); } +(rule__XAndExpression__FeatureAssignment_1_0_0_1) +{ after(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XEqualityExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XEqualityExpression__Group__0__Impl + rule__XEqualityExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XEqualityExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0()); } + ruleXRelationalExpression +{ after(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XEqualityExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XEqualityExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XEqualityExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXEqualityExpressionAccess().getGroup_1()); } +(rule__XEqualityExpression__Group_1__0)* +{ after(grammarAccess.getXEqualityExpressionAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XEqualityExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XEqualityExpression__Group_1__0__Impl + rule__XEqualityExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XEqualityExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0()); } +(rule__XEqualityExpression__Group_1_0__0) +{ after(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XEqualityExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XEqualityExpression__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XEqualityExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1()); } +(rule__XEqualityExpression__RightOperandAssignment_1_1) +{ after(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XEqualityExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XEqualityExpression__Group_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XEqualityExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0()); } +(rule__XEqualityExpression__Group_1_0_0__0) +{ after(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XEqualityExpression__Group_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XEqualityExpression__Group_1_0_0__0__Impl + rule__XEqualityExpression__Group_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XEqualityExpression__Group_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XEqualityExpression__Group_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XEqualityExpression__Group_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XEqualityExpression__Group_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1()); } +(rule__XEqualityExpression__FeatureAssignment_1_0_0_1) +{ after(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XRelationalExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group__0__Impl + rule__XRelationalExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getXOtherOperatorExpressionParserRuleCall_0()); } + ruleXOtherOperatorExpression +{ after(grammarAccess.getXRelationalExpressionAccess().getXOtherOperatorExpressionParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XRelationalExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1()); } +(rule__XRelationalExpression__Alternatives_1)* +{ after(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XRelationalExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_0__0__Impl + rule__XRelationalExpression__Group_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0()); } +(rule__XRelationalExpression__Group_1_0_0__0) +{ after(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XRelationalExpression__Group_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1()); } +(rule__XRelationalExpression__TypeAssignment_1_0_1) +{ after(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XRelationalExpression__Group_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_0_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0()); } +(rule__XRelationalExpression__Group_1_0_0_0__0) +{ after(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XRelationalExpression__Group_1_0_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_0_0_0__0__Impl + rule__XRelationalExpression__Group_1_0_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_0_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0()); } +( + +) +{ after(grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XRelationalExpression__Group_1_0_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_0_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_0_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1()); } + + 'instanceof' + +{ after(grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XRelationalExpression__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_1__0__Impl + rule__XRelationalExpression__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0()); } +(rule__XRelationalExpression__Group_1_1_0__0) +{ after(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XRelationalExpression__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1()); } +(rule__XRelationalExpression__RightOperandAssignment_1_1_1) +{ after(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XRelationalExpression__Group_1_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0()); } +(rule__XRelationalExpression__Group_1_1_0_0__0) +{ after(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XRelationalExpression__Group_1_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_1_0_0__0__Impl + rule__XRelationalExpression__Group_1_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XRelationalExpression__Group_1_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XRelationalExpression__Group_1_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XRelationalExpression__Group_1_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1()); } +(rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1) +{ after(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__OpCompare__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpCompare__Group_1__0__Impl + rule__OpCompare__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpCompare__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0()); } + + '<' + +{ after(grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpCompare__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpCompare__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpCompare__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1()); } + + '=' + +{ after(grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XOtherOperatorExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOtherOperatorExpression__Group__0__Impl + rule__XOtherOperatorExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XOtherOperatorExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0()); } + ruleXAdditiveExpression +{ after(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XOtherOperatorExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOtherOperatorExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XOtherOperatorExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1()); } +(rule__XOtherOperatorExpression__Group_1__0)* +{ after(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XOtherOperatorExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOtherOperatorExpression__Group_1__0__Impl + rule__XOtherOperatorExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XOtherOperatorExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0()); } +(rule__XOtherOperatorExpression__Group_1_0__0) +{ after(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XOtherOperatorExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOtherOperatorExpression__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XOtherOperatorExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1()); } +(rule__XOtherOperatorExpression__RightOperandAssignment_1_1) +{ after(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XOtherOperatorExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOtherOperatorExpression__Group_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XOtherOperatorExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0()); } +(rule__XOtherOperatorExpression__Group_1_0_0__0) +{ after(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XOtherOperatorExpression__Group_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOtherOperatorExpression__Group_1_0_0__0__Impl + rule__XOtherOperatorExpression__Group_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XOtherOperatorExpression__Group_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XOtherOperatorExpression__Group_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XOtherOperatorExpression__Group_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XOtherOperatorExpression__Group_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1()); } +(rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1) +{ after(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__OpOther__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_2__0__Impl + rule__OpOther__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0()); } + + '>' + +{ after(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpOther__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1()); } + + '..' + +{ after(grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__OpOther__Group_5__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_5__0__Impl + rule__OpOther__Group_5__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_5__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0()); } + + '>' + +{ after(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpOther__Group_5__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_5__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_5__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getAlternatives_5_1()); } +(rule__OpOther__Alternatives_5_1) +{ after(grammarAccess.getOpOtherAccess().getAlternatives_5_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__OpOther__Group_5_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_5_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_5_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0()); } +(rule__OpOther__Group_5_1_0_0__0) +{ after(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__OpOther__Group_5_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_5_1_0_0__0__Impl + rule__OpOther__Group_5_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_5_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_0()); } + + '>' + +{ after(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpOther__Group_5_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_5_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_5_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1()); } + + '>' + +{ after(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__OpOther__Group_6__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_6__0__Impl + rule__OpOther__Group_6__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_6__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0()); } + + '<' + +{ after(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpOther__Group_6__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_6__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_6__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getAlternatives_6_1()); } +(rule__OpOther__Alternatives_6_1) +{ after(grammarAccess.getOpOtherAccess().getAlternatives_6_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__OpOther__Group_6_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_6_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_6_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0()); } +(rule__OpOther__Group_6_1_0_0__0) +{ after(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__OpOther__Group_6_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_6_1_0_0__0__Impl + rule__OpOther__Group_6_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_6_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0()); } + + '<' + +{ after(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__OpOther__Group_6_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__OpOther__Group_6_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OpOther__Group_6_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1()); } + + '<' + +{ after(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAdditiveExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAdditiveExpression__Group__0__Impl + rule__XAdditiveExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAdditiveExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0()); } + ruleXMultiplicativeExpression +{ after(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAdditiveExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAdditiveExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAdditiveExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAdditiveExpressionAccess().getGroup_1()); } +(rule__XAdditiveExpression__Group_1__0)* +{ after(grammarAccess.getXAdditiveExpressionAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAdditiveExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAdditiveExpression__Group_1__0__Impl + rule__XAdditiveExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAdditiveExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0()); } +(rule__XAdditiveExpression__Group_1_0__0) +{ after(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAdditiveExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAdditiveExpression__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAdditiveExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1()); } +(rule__XAdditiveExpression__RightOperandAssignment_1_1) +{ after(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XAdditiveExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAdditiveExpression__Group_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAdditiveExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0()); } +(rule__XAdditiveExpression__Group_1_0_0__0) +{ after(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XAdditiveExpression__Group_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAdditiveExpression__Group_1_0_0__0__Impl + rule__XAdditiveExpression__Group_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XAdditiveExpression__Group_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XAdditiveExpression__Group_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XAdditiveExpression__Group_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XAdditiveExpression__Group_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1()); } +(rule__XAdditiveExpression__FeatureAssignment_1_0_0_1) +{ after(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XMultiplicativeExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMultiplicativeExpression__Group__0__Impl + rule__XMultiplicativeExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMultiplicativeExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0()); } + ruleXUnaryOperation +{ after(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMultiplicativeExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMultiplicativeExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMultiplicativeExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1()); } +(rule__XMultiplicativeExpression__Group_1__0)* +{ after(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XMultiplicativeExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMultiplicativeExpression__Group_1__0__Impl + rule__XMultiplicativeExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMultiplicativeExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0()); } +(rule__XMultiplicativeExpression__Group_1_0__0) +{ after(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMultiplicativeExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMultiplicativeExpression__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMultiplicativeExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1()); } +(rule__XMultiplicativeExpression__RightOperandAssignment_1_1) +{ after(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XMultiplicativeExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMultiplicativeExpression__Group_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMultiplicativeExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0()); } +(rule__XMultiplicativeExpression__Group_1_0_0__0) +{ after(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XMultiplicativeExpression__Group_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMultiplicativeExpression__Group_1_0_0__0__Impl + rule__XMultiplicativeExpression__Group_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMultiplicativeExpression__Group_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMultiplicativeExpression__Group_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMultiplicativeExpression__Group_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMultiplicativeExpression__Group_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1()); } +(rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1) +{ after(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XUnaryOperation__Group_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XUnaryOperation__Group_0__0__Impl + rule__XUnaryOperation__Group_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XUnaryOperation__Group_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0()); } +( + +) +{ after(grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XUnaryOperation__Group_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XUnaryOperation__Group_0__1__Impl + rule__XUnaryOperation__Group_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XUnaryOperation__Group_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1()); } +(rule__XUnaryOperation__FeatureAssignment_0_1) +{ after(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XUnaryOperation__Group_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XUnaryOperation__Group_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XUnaryOperation__Group_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2()); } +(rule__XUnaryOperation__OperandAssignment_0_2) +{ after(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + +rule__XCastedExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XCastedExpression__Group__0__Impl + rule__XCastedExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XCastedExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0()); } + ruleXPostfixOperation +{ after(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XCastedExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XCastedExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XCastedExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXCastedExpressionAccess().getGroup_1()); } +(rule__XCastedExpression__Group_1__0)* +{ after(grammarAccess.getXCastedExpressionAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XCastedExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XCastedExpression__Group_1__0__Impl + rule__XCastedExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XCastedExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXCastedExpressionAccess().getGroup_1_0()); } +(rule__XCastedExpression__Group_1_0__0) +{ after(grammarAccess.getXCastedExpressionAccess().getGroup_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XCastedExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XCastedExpression__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XCastedExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1()); } +(rule__XCastedExpression__TypeAssignment_1_1) +{ after(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XCastedExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XCastedExpression__Group_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XCastedExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0()); } +(rule__XCastedExpression__Group_1_0_0__0) +{ after(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XCastedExpression__Group_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XCastedExpression__Group_1_0_0__0__Impl + rule__XCastedExpression__Group_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XCastedExpression__Group_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XCastedExpression__Group_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XCastedExpression__Group_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XCastedExpression__Group_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1()); } + + 'as' + +{ after(grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XPostfixOperation__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XPostfixOperation__Group__0__Impl + rule__XPostfixOperation__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XPostfixOperation__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0()); } + ruleXMemberFeatureCall +{ after(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XPostfixOperation__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XPostfixOperation__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XPostfixOperation__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXPostfixOperationAccess().getGroup_1()); } +(rule__XPostfixOperation__Group_1__0)? +{ after(grammarAccess.getXPostfixOperationAccess().getGroup_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XPostfixOperation__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XPostfixOperation__Group_1__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XPostfixOperation__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXPostfixOperationAccess().getGroup_1_0()); } +(rule__XPostfixOperation__Group_1_0__0) +{ after(grammarAccess.getXPostfixOperationAccess().getGroup_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XPostfixOperation__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XPostfixOperation__Group_1_0__0__Impl + rule__XPostfixOperation__Group_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XPostfixOperation__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0()); } +( + +) +{ after(grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XPostfixOperation__Group_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XPostfixOperation__Group_1_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XPostfixOperation__Group_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1()); } +(rule__XPostfixOperation__FeatureAssignment_1_0_1) +{ after(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XMemberFeatureCall__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group__0__Impl + rule__XMemberFeatureCall__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0()); } + ruleXPrimaryExpression +{ after(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1()); } +(rule__XMemberFeatureCall__Alternatives_1)* +{ after(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XMemberFeatureCall__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_0__0__Impl + rule__XMemberFeatureCall__Group_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0()); } +(rule__XMemberFeatureCall__Group_1_0_0__0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1()); } +(rule__XMemberFeatureCall__ValueAssignment_1_0_1) +{ after(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XMemberFeatureCall__Group_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_0_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0()); } +(rule__XMemberFeatureCall__Group_1_0_0_0__0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XMemberFeatureCall__Group_1_0_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_0_0_0__0__Impl + rule__XMemberFeatureCall__Group_1_0_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_0_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0()); } +( + +) +{ after(grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_0_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_0_0_0__1__Impl + rule__XMemberFeatureCall__Group_1_0_0_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_0_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1()); } +(rule__XMemberFeatureCall__Alternatives_1_0_0_0_1) +{ after(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_0_0_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_0_0_0__2__Impl + rule__XMemberFeatureCall__Group_1_0_0_0__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_0_0_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2()); } +(rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2) +{ after(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_0_0_0__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_0_0_0__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_0_0_0__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3()); } + ruleOpSingleAssign +{ after(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + +rule__XMemberFeatureCall__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1__0__Impl + rule__XMemberFeatureCall__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0()); } +(rule__XMemberFeatureCall__Group_1_1_0__0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1__1__Impl + rule__XMemberFeatureCall__Group_1_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1()); } +(rule__XMemberFeatureCall__Group_1_1_1__0)? +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1__2__Impl + rule__XMemberFeatureCall__Group_1_1__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2()); } +(rule__XMemberFeatureCall__FeatureAssignment_1_1_2) +{ after(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1__3__Impl + rule__XMemberFeatureCall__Group_1_1__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3()); } +(rule__XMemberFeatureCall__Group_1_1_3__0)? +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4()); } +(rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4)? +{ after(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + +rule__XMemberFeatureCall__Group_1_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_0__0__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0()); } +(rule__XMemberFeatureCall__Group_1_1_0_0__0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + +rule__XMemberFeatureCall__Group_1_1_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_0_0__0__Impl + rule__XMemberFeatureCall__Group_1_1_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0()); } +( + +) +{ after(grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_0_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1()); } +(rule__XMemberFeatureCall__Alternatives_1_1_0_0_1) +{ after(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XMemberFeatureCall__Group_1_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_1__0__Impl + rule__XMemberFeatureCall__Group_1_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0()); } + + '<' + +{ after(grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_1__1__Impl + rule__XMemberFeatureCall__Group_1_1_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1()); } +(rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1) +{ after(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_1__2__Impl + rule__XMemberFeatureCall__Group_1_1_1__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2()); } +(rule__XMemberFeatureCall__Group_1_1_1_2__0)* +{ after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1_1__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_1__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_1__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3()); } + + '>' + +{ after(grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + +rule__XMemberFeatureCall__Group_1_1_1_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_1_2__0__Impl + rule__XMemberFeatureCall__Group_1_1_1_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_1_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0()); } + + ',' + +{ after(grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1_1_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_1_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_1_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1()); } +(rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1) +{ after(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__XMemberFeatureCall__Group_1_1_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__XMemberFeatureCall__Group_1_1_3__0__Impl + rule__XMemberFeatureCall__Group_1_1_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__XMemberFeatureCall__Group_1_1_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0()); } +(rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0) +{ after(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__XMemberFeatureCall__Group_1_1_3__1 diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.tokens b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.tokens new file mode 100644 index 0000000..8ed8ebe --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.tokens @@ -0,0 +1,177 @@ +'!'=40 +'!='=22 +'!=='=24 +'#'=62 +'%'=39 +'%='=20 +'&&'=15 +'&'=86 +'('=58 +')'=59 +'*'=36 +'**'=37 +'*='=18 +'+'=34 +'++'=41 +'+='=16 +','=60 +'-'=35 +'--'=42 +'-='=17 +'->'=28 +'.'=43 +'..'=30 +'..<'=29 +'/'=38 +'/='=19 +':'=70 +'::'=92 +';'=66 +'<'=27 +'<>'=32 +'='=13 +'=='=21 +'==='=23 +'=>'=31 +'>'=26 +'>='=25 +'?'=85 +'?.'=93 +'?:'=33 +'@'=57 +'['=63 +']'=61 +'as'=65 +'autobinding'=88 +'case'=72 +'catch'=84 +'default'=71 +'described by'=87 +'dialog'=54 +'do'=75 +'else'=68 +'embedded'=89 +'extends'=45 +'extension'=48 +'false'=50 +'finally'=82 +'for'=73 +'if'=67 +'import'=47 +'instanceof'=64 +'new'=76 +'null'=77 +'package'=51 +'pure'=90 +'return'=80 +'stateful'=91 +'static'=46 +'super'=49 +'switch'=69 +'synchronized'=83 +'throw'=79 +'toolbar'=56 +'true'=96 +'try'=81 +'typeof'=78 +'val'=44 +'var'=95 +'view'=55 +'while'=74 +'{'=52 +'|'=94 +'||'=14 +'}'=53 +RULE_ANY_OTHER=12 +RULE_DECIMAL=8 +RULE_HEX=6 +RULE_ID=5 +RULE_INT=7 +RULE_ML_COMMENT=9 +RULE_SL_COMMENT=10 +RULE_STRING=4 +RULE_WS=11 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__26=26 +T__27=27 +T__28=28 +T__29=29 +T__30=30 +T__31=31 +T__32=32 +T__33=33 +T__34=34 +T__35=35 +T__36=36 +T__37=37 +T__38=38 +T__39=39 +T__40=40 +T__41=41 +T__42=42 +T__43=43 +T__44=44 +T__45=45 +T__46=46 +T__47=47 +T__48=48 +T__49=49 +T__50=50 +T__51=51 +T__52=52 +T__53=53 +T__54=54 +T__55=55 +T__56=56 +T__57=57 +T__58=58 +T__59=59 +T__60=60 +T__61=61 +T__62=62 +T__63=63 +T__64=64 +T__65=65 +T__66=66 +T__67=67 +T__68=68 +T__69=69 +T__70=70 +T__71=71 +T__72=72 +T__73=73 +T__74=74 +T__75=75 +T__76=76 +T__77=77 +T__78=78 +T__79=79 +T__80=80 +T__81=81 +T__82=82 +T__83=83 +T__84=84 +T__85=85 +T__86=86 +T__87=87 +T__88=88 +T__89=89 +T__90=90 +T__91=91 +T__92=92 +T__93=93 +T__94=94 +T__95=95 +T__96=96 diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDslLexer.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDslLexer.java new file mode 100644 index 0000000..7f65731 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDslLexer.java @@ -0,0 +1,3959 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalDialogDslLexer extends Lexer { + public static final int RULE_HEX=6; + public static final int T__50=50; + public static final int T__59=59; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=5; + public static final int RULE_INT=7; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=9; + public static final int T__67=67; + public static final int T__68=68; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__63=63; + public static final int T__64=64; + public static final int T__65=65; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__91=91; + public static final int T__92=92; + public static final int T__93=93; + public static final int T__94=94; + public static final int T__90=90; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__13=13; + public static final int T__14=14; + public static final int T__95=95; + public static final int T__96=96; + public static final int RULE_DECIMAL=8; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int T__29=29; + public static final int T__22=22; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + public static final int T__70=70; + public static final int T__71=71; + public static final int T__72=72; + public static final int RULE_STRING=4; + public static final int RULE_SL_COMMENT=10; + public static final int T__77=77; + public static final int T__78=78; + public static final int T__79=79; + public static final int T__73=73; + public static final int EOF=-1; + public static final int T__74=74; + public static final int T__75=75; + public static final int T__76=76; + public static final int T__80=80; + public static final int T__81=81; + public static final int T__82=82; + public static final int T__83=83; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; + public static final int T__88=88; + public static final int T__89=89; + public static final int T__84=84; + public static final int T__85=85; + public static final int T__86=86; + public static final int T__87=87; + + // delegates + // delegators + + public InternalDialogDslLexer() {;} + public InternalDialogDslLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalDialogDslLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g"; } + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:11:7: ( '=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:11:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:12:7: ( '||' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:12:9: '||' + { + match("||"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:13:7: ( '&&' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:13:9: '&&' + { + match("&&"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:14:7: ( '+=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:14:9: '+=' + { + match("+="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:15:7: ( '-=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:15:9: '-=' + { + match("-="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:16:7: ( '*=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:16:9: '*=' + { + match("*="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:17:7: ( '/=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:17:9: '/=' + { + match("/="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:18:7: ( '%=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:18:9: '%=' + { + match("%="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:19:7: ( '==' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:19:9: '==' + { + match("=="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:20:7: ( '!=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:20:9: '!=' + { + match("!="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:21:7: ( '===' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:21:9: '===' + { + match("==="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22:7: ( '!==' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22:9: '!==' + { + match("!=="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:23:7: ( '>=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:23:9: '>=' + { + match(">="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:24:7: ( '>' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:24:9: '>' + { + match('>'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:25:7: ( '<' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:25:9: '<' + { + match('<'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:26:7: ( '->' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:26:9: '->' + { + match("->"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:27:7: ( '..<' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:27:9: '..<' + { + match("..<"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:28:7: ( '..' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:28:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:29:7: ( '=>' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:29:9: '=>' + { + match("=>"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:30:7: ( '<>' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:30:9: '<>' + { + match("<>"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:31:7: ( '?:' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:31:9: '?:' + { + match("?:"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:32:7: ( '+' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:32:9: '+' + { + match('+'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:33:7: ( '-' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:33:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:34:7: ( '*' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:34:9: '*' + { + match('*'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__36" + + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:35:7: ( '**' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:35:9: '**' + { + match("**"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" + + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { + try { + int _type = T__38; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:36:7: ( '/' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:36:9: '/' + { + match('/'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__38" + + // $ANTLR start "T__39" + public final void mT__39() throws RecognitionException { + try { + int _type = T__39; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:37:7: ( '%' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:37:9: '%' + { + match('%'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__39" + + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { + try { + int _type = T__40; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:38:7: ( '!' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:38:9: '!' + { + match('!'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__40" + + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { + try { + int _type = T__41; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:39:7: ( '++' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:39:9: '++' + { + match("++"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__41" + + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { + try { + int _type = T__42; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:40:7: ( '--' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:40:9: '--' + { + match("--"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__42" + + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:41:7: ( '.' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:41:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__43" + + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:42:7: ( 'val' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:42:9: 'val' + { + match("val"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__44" + + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { + try { + int _type = T__45; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:43:7: ( 'extends' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:43:9: 'extends' + { + match("extends"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__45" + + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { + try { + int _type = T__46; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:44:7: ( 'static' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:44:9: 'static' + { + match("static"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__46" + + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { + try { + int _type = T__47; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:45:7: ( 'import' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:45:9: 'import' + { + match("import"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__47" + + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { + try { + int _type = T__48; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:46:7: ( 'extension' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:46:9: 'extension' + { + match("extension"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__48" + + // $ANTLR start "T__49" + public final void mT__49() throws RecognitionException { + try { + int _type = T__49; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:47:7: ( 'super' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:47:9: 'super' + { + match("super"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__49" + + // $ANTLR start "T__50" + public final void mT__50() throws RecognitionException { + try { + int _type = T__50; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:48:7: ( 'false' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:48:9: 'false' + { + match("false"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:49:7: ( 'package' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:49:9: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:50:7: ( '{' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:50:9: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:51:7: ( '}' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:51:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:52:7: ( 'dialog' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:52:9: 'dialog' + { + match("dialog"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:53:7: ( 'view' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:53:9: 'view' + { + match("view"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:54:7: ( 'toolbar' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:54:9: 'toolbar' + { + match("toolbar"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:55:7: ( '@' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:55:9: '@' + { + match('@'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:56:7: ( '(' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:56:9: '(' + { + match('('); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:57:7: ( ')' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:57:9: ')' + { + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:58:7: ( ',' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:58:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:59:7: ( ']' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:59:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:60:7: ( '#' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:60:9: '#' + { + match('#'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:61:7: ( '[' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:61:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "T__64" + public final void mT__64() throws RecognitionException { + try { + int _type = T__64; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:62:7: ( 'instanceof' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:62:9: 'instanceof' + { + match("instanceof"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__64" + + // $ANTLR start "T__65" + public final void mT__65() throws RecognitionException { + try { + int _type = T__65; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:63:7: ( 'as' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:63:9: 'as' + { + match("as"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__65" + + // $ANTLR start "T__66" + public final void mT__66() throws RecognitionException { + try { + int _type = T__66; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:64:7: ( ';' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:64:9: ';' + { + match(';'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__66" + + // $ANTLR start "T__67" + public final void mT__67() throws RecognitionException { + try { + int _type = T__67; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:65:7: ( 'if' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:65:9: 'if' + { + match("if"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__67" + + // $ANTLR start "T__68" + public final void mT__68() throws RecognitionException { + try { + int _type = T__68; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:66:7: ( 'else' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:66:9: 'else' + { + match("else"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__68" + + // $ANTLR start "T__69" + public final void mT__69() throws RecognitionException { + try { + int _type = T__69; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:67:7: ( 'switch' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:67:9: 'switch' + { + match("switch"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__69" + + // $ANTLR start "T__70" + public final void mT__70() throws RecognitionException { + try { + int _type = T__70; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:68:7: ( ':' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:68:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__70" + + // $ANTLR start "T__71" + public final void mT__71() throws RecognitionException { + try { + int _type = T__71; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:69:7: ( 'default' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:69:9: 'default' + { + match("default"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__71" + + // $ANTLR start "T__72" + public final void mT__72() throws RecognitionException { + try { + int _type = T__72; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:70:7: ( 'case' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:70:9: 'case' + { + match("case"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__72" + + // $ANTLR start "T__73" + public final void mT__73() throws RecognitionException { + try { + int _type = T__73; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:71:7: ( 'for' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:71:9: 'for' + { + match("for"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__73" + + // $ANTLR start "T__74" + public final void mT__74() throws RecognitionException { + try { + int _type = T__74; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:72:7: ( 'while' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:72:9: 'while' + { + match("while"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__74" + + // $ANTLR start "T__75" + public final void mT__75() throws RecognitionException { + try { + int _type = T__75; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:73:7: ( 'do' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:73:9: 'do' + { + match("do"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__75" + + // $ANTLR start "T__76" + public final void mT__76() throws RecognitionException { + try { + int _type = T__76; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:74:7: ( 'new' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:74:9: 'new' + { + match("new"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__76" + + // $ANTLR start "T__77" + public final void mT__77() throws RecognitionException { + try { + int _type = T__77; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:75:7: ( 'null' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:75:9: 'null' + { + match("null"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__77" + + // $ANTLR start "T__78" + public final void mT__78() throws RecognitionException { + try { + int _type = T__78; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:76:7: ( 'typeof' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:76:9: 'typeof' + { + match("typeof"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__78" + + // $ANTLR start "T__79" + public final void mT__79() throws RecognitionException { + try { + int _type = T__79; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:77:7: ( 'throw' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:77:9: 'throw' + { + match("throw"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__79" + + // $ANTLR start "T__80" + public final void mT__80() throws RecognitionException { + try { + int _type = T__80; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:78:7: ( 'return' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:78:9: 'return' + { + match("return"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__80" + + // $ANTLR start "T__81" + public final void mT__81() throws RecognitionException { + try { + int _type = T__81; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:79:7: ( 'try' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:79:9: 'try' + { + match("try"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__81" + + // $ANTLR start "T__82" + public final void mT__82() throws RecognitionException { + try { + int _type = T__82; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:80:7: ( 'finally' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:80:9: 'finally' + { + match("finally"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__82" + + // $ANTLR start "T__83" + public final void mT__83() throws RecognitionException { + try { + int _type = T__83; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:81:7: ( 'synchronized' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:81:9: 'synchronized' + { + match("synchronized"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__83" + + // $ANTLR start "T__84" + public final void mT__84() throws RecognitionException { + try { + int _type = T__84; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:82:7: ( 'catch' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:82:9: 'catch' + { + match("catch"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__84" + + // $ANTLR start "T__85" + public final void mT__85() throws RecognitionException { + try { + int _type = T__85; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:83:7: ( '?' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:83:9: '?' + { + match('?'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__85" + + // $ANTLR start "T__86" + public final void mT__86() throws RecognitionException { + try { + int _type = T__86; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:84:7: ( '&' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:84:9: '&' + { + match('&'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__86" + + // $ANTLR start "T__87" + public final void mT__87() throws RecognitionException { + try { + int _type = T__87; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:85:7: ( 'described by' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:85:9: 'described by' + { + match("described by"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__87" + + // $ANTLR start "T__88" + public final void mT__88() throws RecognitionException { + try { + int _type = T__88; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:86:7: ( 'autobinding' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:86:9: 'autobinding' + { + match("autobinding"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__88" + + // $ANTLR start "T__89" + public final void mT__89() throws RecognitionException { + try { + int _type = T__89; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:87:7: ( 'embedded' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:87:9: 'embedded' + { + match("embedded"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__89" + + // $ANTLR start "T__90" + public final void mT__90() throws RecognitionException { + try { + int _type = T__90; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:88:7: ( 'pure' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:88:9: 'pure' + { + match("pure"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__90" + + // $ANTLR start "T__91" + public final void mT__91() throws RecognitionException { + try { + int _type = T__91; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:89:7: ( 'stateful' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:89:9: 'stateful' + { + match("stateful"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__91" + + // $ANTLR start "T__92" + public final void mT__92() throws RecognitionException { + try { + int _type = T__92; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:90:7: ( '::' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:90:9: '::' + { + match("::"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__92" + + // $ANTLR start "T__93" + public final void mT__93() throws RecognitionException { + try { + int _type = T__93; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:91:7: ( '?.' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:91:9: '?.' + { + match("?."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__93" + + // $ANTLR start "T__94" + public final void mT__94() throws RecognitionException { + try { + int _type = T__94; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:92:7: ( '|' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:92:9: '|' + { + match('|'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__94" + + // $ANTLR start "T__95" + public final void mT__95() throws RecognitionException { + try { + int _type = T__95; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:93:7: ( 'var' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:93:9: 'var' + { + match("var"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__95" + + // $ANTLR start "T__96" + public final void mT__96() throws RecognitionException { + try { + int _type = T__96; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:94:7: ( 'true' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:94:9: 'true' + { + match("true"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__96" + + // $ANTLR start "RULE_HEX" + public final void mRULE_HEX() throws RecognitionException { + try { + int _type = RULE_HEX; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ ( '#' ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) )? ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ ( '#' ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) )? + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:12: ( '0x' | '0X' ) + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='0') ) { + int LA1_1 = input.LA(2); + + if ( (LA1_1=='x') ) { + alt1=1; + } + else if ( (LA1_1=='X') ) { + alt1=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 1, 1, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 1, 0, input); + + throw nvae; + } + switch (alt1) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:13: '0x' + { + match("0x"); + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:18: '0X' + { + match("0X"); + + + } + break; + + } + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + int cnt2=0; + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='F')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='f')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='f') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt2 >= 1 ) break loop2; + EarlyExitException eee = + new EarlyExitException(2, input); + throw eee; + } + cnt2++; + } while (true); + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:58: ( '#' ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) )? + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='#') ) { + alt4=1; + } + switch (alt4) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:59: '#' ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) + { + match('#'); + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:63: ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0=='B'||LA3_0=='b') ) { + alt3=1; + } + else if ( (LA3_0=='L'||LA3_0=='l') ) { + alt3=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + switch (alt3) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:64: ( 'b' | 'B' ) ( 'i' | 'I' ) + { + if ( input.LA(1)=='B'||input.LA(1)=='b' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + if ( input.LA(1)=='I'||input.LA(1)=='i' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22562:84: ( 'l' | 'L' ) + { + if ( input.LA(1)=='L'||input.LA(1)=='l' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_HEX" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22564:10: ( '0' .. '9' ( '0' .. '9' | '_' )* ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22564:12: '0' .. '9' ( '0' .. '9' | '_' )* + { + matchRange('0','9'); + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22564:21: ( '0' .. '9' | '_' )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='0' && LA5_0<='9')||LA5_0=='_') ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||input.LA(1)=='_' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop5; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_DECIMAL" + public final void mRULE_DECIMAL() throws RecognitionException { + try { + int _type = RULE_DECIMAL; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22566:14: ( RULE_INT ( ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT )? ( ( 'b' | 'B' ) ( 'i' | 'I' | 'd' | 'D' ) | ( 'l' | 'L' | 'd' | 'D' | 'f' | 'F' ) )? ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22566:16: RULE_INT ( ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT )? ( ( 'b' | 'B' ) ( 'i' | 'I' | 'd' | 'D' ) | ( 'l' | 'L' | 'd' | 'D' | 'f' | 'F' ) )? + { + mRULE_INT(); + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22566:25: ( ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0=='E'||LA7_0=='e') ) { + alt7=1; + } + switch (alt7) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22566:26: ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT + { + if ( input.LA(1)=='E'||input.LA(1)=='e' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22566:36: ( '+' | '-' )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0=='+'||LA6_0=='-') ) { + alt6=1; + } + switch (alt6) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g: + { + if ( input.LA(1)=='+'||input.LA(1)=='-' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + mRULE_INT(); + + } + break; + + } + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22566:58: ( ( 'b' | 'B' ) ( 'i' | 'I' | 'd' | 'D' ) | ( 'l' | 'L' | 'd' | 'D' | 'f' | 'F' ) )? + int alt8=3; + int LA8_0 = input.LA(1); + + if ( (LA8_0=='B'||LA8_0=='b') ) { + alt8=1; + } + else if ( (LA8_0=='D'||LA8_0=='F'||LA8_0=='L'||LA8_0=='d'||LA8_0=='f'||LA8_0=='l') ) { + alt8=2; + } + switch (alt8) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22566:59: ( 'b' | 'B' ) ( 'i' | 'I' | 'd' | 'D' ) + { + if ( input.LA(1)=='B'||input.LA(1)=='b' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + if ( input.LA(1)=='D'||input.LA(1)=='I'||input.LA(1)=='d'||input.LA(1)=='i' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22566:87: ( 'l' | 'L' | 'd' | 'D' | 'f' | 'F' ) + { + if ( input.LA(1)=='D'||input.LA(1)=='F'||input.LA(1)=='L'||input.LA(1)=='d'||input.LA(1)=='f'||input.LA(1)=='l' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_DECIMAL" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22568:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22568:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22568:11: ( '^' )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0=='^') ) { + alt9=1; + } + switch (alt9) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22568:11: '^' + { + match('^'); + + } + break; + + } + + if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22568:44: ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='$'||(LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) { + alt10=1; + } + + + switch (alt10) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g: + { + if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop10; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0=='\"') ) { + alt15=1; + } + else if ( (LA15_0=='\'') ) { + alt15=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + switch (alt15) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? + { + match('\"'); + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop11: + do { + int alt11=3; + int LA11_0 = input.LA(1); + + if ( (LA11_0=='\\') ) { + alt11=1; + } + else if ( ((LA11_0>='\u0000' && LA11_0<='!')||(LA11_0>='#' && LA11_0<='[')||(LA11_0>=']' && LA11_0<='\uFFFF')) ) { + alt11=2; + } + + + switch (alt11) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:21: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:28: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop11; + } + } while (true); + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:44: ( '\"' )? + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0=='\"') ) { + alt12=1; + } + switch (alt12) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:44: '\"' + { + match('\"'); + + } + break; + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:49: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? + { + match('\''); + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:54: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop13: + do { + int alt13=3; + int LA13_0 = input.LA(1); + + if ( (LA13_0=='\\') ) { + alt13=1; + } + else if ( ((LA13_0>='\u0000' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) { + alt13=2; + } + + + switch (alt13) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:55: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:62: ~ ( ( '\\\\' | '\\'' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop13; + } + } while (true); + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:79: ( '\\'' )? + int alt14=2; + int LA14_0 = input.LA(1); + + if ( (LA14_0=='\'') ) { + alt14=1; + } + switch (alt14) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22570:79: '\\'' + { + match('\''); + + } + break; + + } + + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22572:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22572:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22572:24: ( options {greedy=false; } : . )* + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0=='*') ) { + int LA16_1 = input.LA(2); + + if ( (LA16_1=='/') ) { + alt16=2; + } + else if ( ((LA16_1>='\u0000' && LA16_1<='.')||(LA16_1>='0' && LA16_1<='\uFFFF')) ) { + alt16=1; + } + + + } + else if ( ((LA16_0>='\u0000' && LA16_0<=')')||(LA16_0>='+' && LA16_0<='\uFFFF')) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22572:52: . + { + matchAny(); + + } + break; + + default : + break loop16; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + try { + int _type = RULE_SL_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22574:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22574:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22574:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop17: + do { + int alt17=2; + int LA17_0 = input.LA(1); + + if ( ((LA17_0>='\u0000' && LA17_0<='\t')||(LA17_0>='\u000B' && LA17_0<='\f')||(LA17_0>='\u000E' && LA17_0<='\uFFFF')) ) { + alt17=1; + } + + + switch (alt17) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22574:24: ~ ( ( '\\n' | '\\r' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop17; + } + } while (true); + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22574:40: ( ( '\\r' )? '\\n' )? + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0=='\n'||LA19_0=='\r') ) { + alt19=1; + } + switch (alt19) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22574:41: ( '\\r' )? '\\n' + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22574:41: ( '\\r' )? + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0=='\r') ) { + alt18=1; + } + switch (alt18) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22574:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22576:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22576:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22576:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt20=0; + loop20: + do { + int alt20=2; + int LA20_0 = input.LA(1); + + if ( ((LA20_0>='\t' && LA20_0<='\n')||LA20_0=='\r'||LA20_0==' ') ) { + alt20=1; + } + + + switch (alt20) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt20 >= 1 ) break loop20; + EarlyExitException eee = + new EarlyExitException(20, input); + throw eee; + } + cnt20++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ANY_OTHER" + public final void mRULE_ANY_OTHER() throws RecognitionException { + try { + int _type = RULE_ANY_OTHER; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22578:16: ( . ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:22578:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt21=93; + alt21 = dfa21.predict(input); + switch (alt21) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:10: T__13 + { + mT__13(); + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:16: T__14 + { + mT__14(); + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:22: T__15 + { + mT__15(); + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:28: T__16 + { + mT__16(); + + } + break; + case 5 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:34: T__17 + { + mT__17(); + + } + break; + case 6 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:40: T__18 + { + mT__18(); + + } + break; + case 7 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:46: T__19 + { + mT__19(); + + } + break; + case 8 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:52: T__20 + { + mT__20(); + + } + break; + case 9 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:58: T__21 + { + mT__21(); + + } + break; + case 10 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:64: T__22 + { + mT__22(); + + } + break; + case 11 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:70: T__23 + { + mT__23(); + + } + break; + case 12 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:76: T__24 + { + mT__24(); + + } + break; + case 13 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:82: T__25 + { + mT__25(); + + } + break; + case 14 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:88: T__26 + { + mT__26(); + + } + break; + case 15 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:94: T__27 + { + mT__27(); + + } + break; + case 16 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:100: T__28 + { + mT__28(); + + } + break; + case 17 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:106: T__29 + { + mT__29(); + + } + break; + case 18 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:112: T__30 + { + mT__30(); + + } + break; + case 19 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:118: T__31 + { + mT__31(); + + } + break; + case 20 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:124: T__32 + { + mT__32(); + + } + break; + case 21 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:130: T__33 + { + mT__33(); + + } + break; + case 22 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:136: T__34 + { + mT__34(); + + } + break; + case 23 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:142: T__35 + { + mT__35(); + + } + break; + case 24 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:148: T__36 + { + mT__36(); + + } + break; + case 25 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:154: T__37 + { + mT__37(); + + } + break; + case 26 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:160: T__38 + { + mT__38(); + + } + break; + case 27 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:166: T__39 + { + mT__39(); + + } + break; + case 28 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:172: T__40 + { + mT__40(); + + } + break; + case 29 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:178: T__41 + { + mT__41(); + + } + break; + case 30 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:184: T__42 + { + mT__42(); + + } + break; + case 31 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:190: T__43 + { + mT__43(); + + } + break; + case 32 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:196: T__44 + { + mT__44(); + + } + break; + case 33 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:202: T__45 + { + mT__45(); + + } + break; + case 34 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:208: T__46 + { + mT__46(); + + } + break; + case 35 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:214: T__47 + { + mT__47(); + + } + break; + case 36 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:220: T__48 + { + mT__48(); + + } + break; + case 37 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:226: T__49 + { + mT__49(); + + } + break; + case 38 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:232: T__50 + { + mT__50(); + + } + break; + case 39 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:238: T__51 + { + mT__51(); + + } + break; + case 40 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:244: T__52 + { + mT__52(); + + } + break; + case 41 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:250: T__53 + { + mT__53(); + + } + break; + case 42 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:256: T__54 + { + mT__54(); + + } + break; + case 43 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:262: T__55 + { + mT__55(); + + } + break; + case 44 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:268: T__56 + { + mT__56(); + + } + break; + case 45 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:274: T__57 + { + mT__57(); + + } + break; + case 46 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:280: T__58 + { + mT__58(); + + } + break; + case 47 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:286: T__59 + { + mT__59(); + + } + break; + case 48 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:292: T__60 + { + mT__60(); + + } + break; + case 49 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:298: T__61 + { + mT__61(); + + } + break; + case 50 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:304: T__62 + { + mT__62(); + + } + break; + case 51 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:310: T__63 + { + mT__63(); + + } + break; + case 52 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:316: T__64 + { + mT__64(); + + } + break; + case 53 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:322: T__65 + { + mT__65(); + + } + break; + case 54 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:328: T__66 + { + mT__66(); + + } + break; + case 55 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:334: T__67 + { + mT__67(); + + } + break; + case 56 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:340: T__68 + { + mT__68(); + + } + break; + case 57 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:346: T__69 + { + mT__69(); + + } + break; + case 58 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:352: T__70 + { + mT__70(); + + } + break; + case 59 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:358: T__71 + { + mT__71(); + + } + break; + case 60 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:364: T__72 + { + mT__72(); + + } + break; + case 61 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:370: T__73 + { + mT__73(); + + } + break; + case 62 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:376: T__74 + { + mT__74(); + + } + break; + case 63 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:382: T__75 + { + mT__75(); + + } + break; + case 64 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:388: T__76 + { + mT__76(); + + } + break; + case 65 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:394: T__77 + { + mT__77(); + + } + break; + case 66 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:400: T__78 + { + mT__78(); + + } + break; + case 67 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:406: T__79 + { + mT__79(); + + } + break; + case 68 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:412: T__80 + { + mT__80(); + + } + break; + case 69 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:418: T__81 + { + mT__81(); + + } + break; + case 70 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:424: T__82 + { + mT__82(); + + } + break; + case 71 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:430: T__83 + { + mT__83(); + + } + break; + case 72 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:436: T__84 + { + mT__84(); + + } + break; + case 73 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:442: T__85 + { + mT__85(); + + } + break; + case 74 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:448: T__86 + { + mT__86(); + + } + break; + case 75 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:454: T__87 + { + mT__87(); + + } + break; + case 76 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:460: T__88 + { + mT__88(); + + } + break; + case 77 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:466: T__89 + { + mT__89(); + + } + break; + case 78 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:472: T__90 + { + mT__90(); + + } + break; + case 79 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:478: T__91 + { + mT__91(); + + } + break; + case 80 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:484: T__92 + { + mT__92(); + + } + break; + case 81 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:490: T__93 + { + mT__93(); + + } + break; + case 82 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:496: T__94 + { + mT__94(); + + } + break; + case 83 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:502: T__95 + { + mT__95(); + + } + break; + case 84 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:508: T__96 + { + mT__96(); + + } + break; + case 85 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:514: RULE_HEX + { + mRULE_HEX(); + + } + break; + case 86 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:523: RULE_INT + { + mRULE_INT(); + + } + break; + case 87 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:532: RULE_DECIMAL + { + mRULE_DECIMAL(); + + } + break; + case 88 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:545: RULE_ID + { + mRULE_ID(); + + } + break; + case 89 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:553: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 90 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:565: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 91 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:581: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 92 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:597: RULE_WS + { + mRULE_WS(); + + } + break; + case 93 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1:605: RULE_ANY_OTHER + { + mRULE_ANY_OTHER(); + + } + break; + + } + + } + + + protected DFA21 dfa21 = new DFA21(this); + static final String DFA21_eotS = + "\1\uffff\1\60\1\62\1\64\1\67\1\73\1\76\1\102\1\104\1\106\1\110"+ + "\1\112\1\114\1\117\6\122\2\uffff\2\122\7\uffff\1\122\1\uffff\1\166"+ + "\4\122\2\176\1\55\5\uffff\1\u0083\26\uffff\1\u0085\5\uffff\1\u0087"+ + "\4\uffff\2\122\1\uffff\11\122\1\u0094\5\122\2\uffff\2\122\1\u009d"+ + "\4\122\7\uffff\1\u00a3\1\122\3\uffff\5\122\1\uffff\1\176\12\uffff"+ + "\1\u00ab\1\u00ac\12\122\1\uffff\1\122\1\u00b8\6\122\1\uffff\3\122"+ + "\1\u00c2\1\122\1\uffff\4\122\1\u00c8\2\122\2\uffff\1\u00cb\1\122"+ + "\1\u00cd\10\122\1\uffff\2\122\1\u00d9\6\122\1\uffff\1\u00e0\1\122"+ + "\1\u00e2\2\122\1\uffff\1\u00e5\1\122\1\uffff\1\122\1\uffff\3\122"+ + "\1\u00ec\4\122\1\u00f1\2\122\1\uffff\5\122\1\u00f9\1\uffff\1\122"+ + "\1\uffff\1\u00fb\1\u00fc\1\uffff\4\122\1\u0101\1\122\1\uffff\1\u0103"+ + "\1\122\1\u0105\1\122\1\uffff\2\122\1\u0109\3\122\1\u010d\1\uffff"+ + "\1\122\2\uffff\1\u010f\1\u0110\2\122\1\uffff\1\122\1\uffff\1\122"+ + "\1\uffff\1\122\1\u0116\1\u0117\1\uffff\1\u0118\1\122\1\u011a\1\uffff"+ + "\1\122\2\uffff\1\122\1\u011d\1\u011e\2\122\3\uffff\1\122\1\uffff"+ + "\1\122\1\u0123\2\uffff\4\122\1\uffff\1\122\1\u0129\1\uffff\2\122"+ + "\1\uffff\1\u012c\1\u012d\2\uffff"; + static final String DFA21_eofS = + "\u012e\uffff"; + static final String DFA21_minS = + "\1\0\1\75\1\174\1\46\1\53\1\55\2\52\3\75\1\76\2\56\1\141\1\154"+ + "\1\164\1\146\2\141\2\uffff\1\145\1\150\7\uffff\1\163\1\uffff\1\72"+ + "\1\141\1\150\2\145\2\60\1\44\5\uffff\1\75\26\uffff\1\75\5\uffff"+ + "\1\74\4\uffff\1\154\1\145\1\uffff\1\164\1\163\1\142\1\141\1\160"+ + "\1\151\1\156\1\160\1\163\1\44\1\154\1\162\1\156\1\143\1\162\2\uffff"+ + "\1\141\1\146\1\44\1\157\1\160\1\162\1\165\7\uffff\1\44\1\164\3\uffff"+ + "\1\163\1\151\1\167\1\154\1\164\1\uffff\1\60\12\uffff\2\44\1\167"+ + "\3\145\1\164\1\145\1\164\1\143\1\157\1\164\1\uffff\1\163\1\44\1"+ + "\141\1\153\1\145\1\154\1\141\1\143\1\uffff\1\154\1\145\1\157\1\44"+ + "\1\145\1\uffff\1\157\1\145\1\143\1\154\1\44\1\154\1\165\2\uffff"+ + "\1\44\1\156\1\44\1\144\1\145\1\162\1\143\1\150\1\162\1\141\1\145"+ + "\1\uffff\1\154\1\141\1\44\1\157\1\165\1\162\1\142\1\157\1\167\1"+ + "\uffff\1\44\1\142\1\44\1\150\1\145\1\uffff\1\44\1\162\1\uffff\1"+ + "\144\1\uffff\1\144\1\143\1\146\1\44\1\150\1\162\1\164\1\156\1\44"+ + "\1\154\1\147\1\uffff\1\147\1\154\1\151\1\141\1\146\1\44\1\uffff"+ + "\1\151\1\uffff\2\44\1\uffff\1\156\1\163\1\151\1\145\1\44\1\165\1"+ + "\uffff\1\44\1\157\1\44\1\143\1\uffff\1\171\1\145\1\44\1\164\1\142"+ + "\1\162\1\44\1\uffff\1\156\2\uffff\2\44\1\157\1\144\1\uffff\1\154"+ + "\1\uffff\1\156\1\uffff\1\145\2\44\1\uffff\1\44\1\145\1\44\1\uffff"+ + "\1\144\2\uffff\1\156\2\44\1\151\1\157\3\uffff\1\144\1\uffff\1\151"+ + "\1\44\2\uffff\1\172\1\146\1\40\1\156\1\uffff\1\145\1\44\1\uffff"+ + "\1\147\1\144\1\uffff\2\44\2\uffff"; + static final String DFA21_maxS = + "\1\uffff\1\76\1\174\1\46\1\75\1\76\5\75\1\76\1\56\1\72\1\151\1"+ + "\170\1\171\1\156\1\157\1\165\2\uffff\1\157\1\171\7\uffff\1\165\1"+ + "\uffff\1\72\1\141\1\150\1\165\1\145\1\170\1\154\1\172\5\uffff\1"+ + "\75\26\uffff\1\75\5\uffff\1\74\4\uffff\1\162\1\145\1\uffff\1\164"+ + "\1\163\1\142\1\141\1\160\1\151\1\156\1\160\1\163\1\172\1\154\1\162"+ + "\1\156\1\143\1\162\2\uffff\1\141\1\163\1\172\1\157\1\160\1\162\1"+ + "\171\7\uffff\1\172\1\164\3\uffff\1\164\1\151\1\167\1\154\1\164\1"+ + "\uffff\1\154\12\uffff\2\172\1\167\3\145\1\164\1\145\1\164\1\143"+ + "\1\157\1\164\1\uffff\1\163\1\172\1\141\1\153\1\145\1\154\1\141\1"+ + "\143\1\uffff\1\154\1\145\1\157\1\172\1\145\1\uffff\1\157\1\145\1"+ + "\143\1\154\1\172\1\154\1\165\2\uffff\1\172\1\156\1\172\1\144\1\151"+ + "\1\162\1\143\1\150\1\162\1\141\1\145\1\uffff\1\154\1\141\1\172\1"+ + "\157\1\165\1\162\1\142\1\157\1\167\1\uffff\1\172\1\142\1\172\1\150"+ + "\1\145\1\uffff\1\172\1\162\1\uffff\1\163\1\uffff\1\144\1\143\1\146"+ + "\1\172\1\150\1\162\1\164\1\156\1\172\1\154\1\147\1\uffff\1\147\1"+ + "\154\1\151\1\141\1\146\1\172\1\uffff\1\151\1\uffff\2\172\1\uffff"+ + "\1\156\1\163\1\151\1\145\1\172\1\165\1\uffff\1\172\1\157\1\172\1"+ + "\143\1\uffff\1\171\1\145\1\172\1\164\1\142\1\162\1\172\1\uffff\1"+ + "\156\2\uffff\2\172\1\157\1\144\1\uffff\1\154\1\uffff\1\156\1\uffff"+ + "\1\145\2\172\1\uffff\1\172\1\145\1\172\1\uffff\1\144\2\uffff\1\156"+ + "\2\172\1\151\1\157\3\uffff\1\144\1\uffff\1\151\1\172\2\uffff\1\172"+ + "\1\146\1\40\1\156\1\uffff\1\145\1\172\1\uffff\1\147\1\144\1\uffff"+ + "\2\172\2\uffff"; + static final String DFA21_acceptS = + "\24\uffff\1\50\1\51\2\uffff\1\55\1\56\1\57\1\60\1\61\1\62\1\63"+ + "\1\uffff\1\66\10\uffff\1\130\2\131\1\134\1\135\1\uffff\1\23\1\1"+ + "\1\2\1\122\1\3\1\112\1\4\1\35\1\26\1\5\1\20\1\36\1\27\1\6\1\31\1"+ + "\30\1\7\1\132\1\133\1\32\1\10\1\33\1\uffff\1\34\1\15\1\16\1\24\1"+ + "\17\1\uffff\1\37\1\25\1\121\1\111\2\uffff\1\130\17\uffff\1\50\1"+ + "\51\7\uffff\1\55\1\56\1\57\1\60\1\61\1\62\1\63\2\uffff\1\66\1\120"+ + "\1\72\5\uffff\1\125\1\uffff\1\126\1\127\1\131\1\134\1\13\1\11\1"+ + "\14\1\12\1\21\1\22\14\uffff\1\67\10\uffff\1\77\5\uffff\1\65\7\uffff"+ + "\1\40\1\123\13\uffff\1\75\11\uffff\1\105\5\uffff\1\100\2\uffff\1"+ + "\53\1\uffff\1\70\13\uffff\1\116\6\uffff\1\124\1\uffff\1\74\2\uffff"+ + "\1\101\6\uffff\1\45\4\uffff\1\46\7\uffff\1\103\1\uffff\1\110\1\76"+ + "\4\uffff\1\42\1\uffff\1\71\1\uffff\1\43\3\uffff\1\52\3\uffff\1\102"+ + "\1\uffff\1\104\1\41\5\uffff\1\106\1\47\1\73\1\uffff\1\54\2\uffff"+ + "\1\115\1\117\4\uffff\1\44\2\uffff\1\113\2\uffff\1\64\2\uffff\1\114"+ + "\1\107"; + static final String DFA21_specialS = + "\1\0\u012d\uffff}>"; + static final String[] DFA21_transitionS = { + "\11\55\2\54\2\55\1\54\22\55\1\54\1\11\1\52\1\35\1\51\1\10\1"+ + "\3\1\53\1\31\1\32\1\6\1\4\1\33\1\5\1\14\1\7\1\46\11\47\1\41"+ + "\1\40\1\13\1\1\1\12\1\15\1\30\32\51\1\36\1\55\1\34\1\50\1\51"+ + "\1\55\1\37\1\51\1\42\1\26\1\17\1\22\2\51\1\21\4\51\1\44\1\51"+ + "\1\23\1\51\1\45\1\20\1\27\1\51\1\16\1\43\3\51\1\24\1\2\1\25"+ + "\uff82\55", + "\1\56\1\57", + "\1\61", + "\1\63", + "\1\66\21\uffff\1\65", + "\1\72\17\uffff\1\70\1\71", + "\1\75\22\uffff\1\74", + "\1\100\4\uffff\1\101\15\uffff\1\77", + "\1\103", + "\1\105", + "\1\107", + "\1\111", + "\1\113", + "\1\116\13\uffff\1\115", + "\1\120\7\uffff\1\121", + "\1\124\1\125\12\uffff\1\123", + "\1\126\1\127\1\uffff\1\130\1\uffff\1\131", + "\1\134\6\uffff\1\132\1\133", + "\1\135\7\uffff\1\137\5\uffff\1\136", + "\1\140\23\uffff\1\141", + "", + "", + "\1\145\3\uffff\1\144\5\uffff\1\146", + "\1\151\6\uffff\1\147\2\uffff\1\152\6\uffff\1\150", + "", + "", + "", + "", + "", + "", + "", + "\1\162\1\uffff\1\163", + "", + "\1\165", + "\1\167", + "\1\170", + "\1\171\17\uffff\1\172", + "\1\173", + "\12\175\10\uffff\1\177\1\uffff\3\177\5\uffff\1\177\13\uffff"+ + "\1\174\6\uffff\1\175\2\uffff\1\177\1\uffff\3\177\5\uffff\1\177"+ + "\13\uffff\1\174", + "\12\175\10\uffff\1\177\1\uffff\3\177\5\uffff\1\177\22\uffff"+ + "\1\175\2\uffff\1\177\1\uffff\3\177\5\uffff\1\177", + "\1\122\34\uffff\32\122\4\uffff\1\122\1\uffff\32\122", + "", + "", + "", + "", + "", + "\1\u0082", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\1\u0084", + "", + "", + "", + "", + "", + "\1\u0086", + "", + "", + "", + "", + "\1\u0088\5\uffff\1\u0089", + "\1\u008a", + "", + "\1\u008b", + "\1\u008c", + "\1\u008d", + "\1\u008e", + "\1\u008f", + "\1\u0090", + "\1\u0091", + "\1\u0092", + "\1\u0093", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u0095", + "\1\u0096", + "\1\u0097", + "\1\u0098", + "\1\u0099", + "", + "", + "\1\u009a", + "\1\u009b\14\uffff\1\u009c", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u009e", + "\1\u009f", + "\1\u00a0", + "\1\u00a2\3\uffff\1\u00a1", + "", + "", + "", + "", + "", + "", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00a4", + "", + "", + "", + "\1\u00a5\1\u00a6", + "\1\u00a7", + "\1\u00a8", + "\1\u00a9", + "\1\u00aa", + "", + "\12\175\10\uffff\1\177\1\uffff\3\177\5\uffff\1\177\22\uffff"+ + "\1\175\2\uffff\1\177\1\uffff\3\177\5\uffff\1\177", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00ad", + "\1\u00ae", + "\1\u00af", + "\1\u00b0", + "\1\u00b1", + "\1\u00b2", + "\1\u00b3", + "\1\u00b4", + "\1\u00b5", + "\1\u00b6", + "", + "\1\u00b7", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00b9", + "\1\u00ba", + "\1\u00bb", + "\1\u00bc", + "\1\u00bd", + "\1\u00be", + "", + "\1\u00bf", + "\1\u00c0", + "\1\u00c1", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00c3", + "", + "\1\u00c4", + "\1\u00c5", + "\1\u00c6", + "\1\u00c7", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00c9", + "\1\u00ca", + "", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00cc", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00ce", + "\1\u00d0\3\uffff\1\u00cf", + "\1\u00d1", + "\1\u00d2", + "\1\u00d3", + "\1\u00d4", + "\1\u00d5", + "\1\u00d6", + "", + "\1\u00d7", + "\1\u00d8", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00da", + "\1\u00db", + "\1\u00dc", + "\1\u00dd", + "\1\u00de", + "\1\u00df", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00e1", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00e3", + "\1\u00e4", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00e6", + "", + "\1\u00e7\16\uffff\1\u00e8", + "", + "\1\u00e9", + "\1\u00ea", + "\1\u00eb", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00ed", + "\1\u00ee", + "\1\u00ef", + "\1\u00f0", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u00f2", + "\1\u00f3", + "", + "\1\u00f4", + "\1\u00f5", + "\1\u00f6", + "\1\u00f7", + "\1\u00f8", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "", + "\1\u00fa", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "", + "\1\u00fd", + "\1\u00fe", + "\1\u00ff", + "\1\u0100", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u0102", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u0104", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u0106", + "", + "\1\u0107", + "\1\u0108", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u010a", + "\1\u010b", + "\1\u010c", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "", + "\1\u010e", + "", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u0111", + "\1\u0112", + "", + "\1\u0113", + "", + "\1\u0114", + "", + "\1\u0115", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u0119", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "", + "\1\u011b", + "", + "", + "\1\u011c", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\u011f", + "\1\u0120", + "", + "", + "", + "\1\u0121", + "", + "\1\u0122", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "", + "", + "\1\u0124", + "\1\u0125", + "\1\u0126", + "\1\u0127", + "", + "\1\u0128", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "", + "\1\u012a", + "\1\u012b", + "", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "\1\122\13\uffff\12\122\7\uffff\32\122\4\uffff\1\122\1\uffff"+ + "\32\122", + "", + "" + }; + + static final short[] DFA21_eot = DFA.unpackEncodedString(DFA21_eotS); + static final short[] DFA21_eof = DFA.unpackEncodedString(DFA21_eofS); + static final char[] DFA21_min = DFA.unpackEncodedStringToUnsignedChars(DFA21_minS); + static final char[] DFA21_max = DFA.unpackEncodedStringToUnsignedChars(DFA21_maxS); + static final short[] DFA21_accept = DFA.unpackEncodedString(DFA21_acceptS); + static final short[] DFA21_special = DFA.unpackEncodedString(DFA21_specialS); + static final short[][] DFA21_transition; + + static { + int numStates = DFA21_transitionS.length; + DFA21_transition = new short[numStates][]; + for (int i=0; i<numStates; i++) { + DFA21_transition[i] = DFA.unpackEncodedString(DFA21_transitionS[i]); + } + } + + class DFA21 extends DFA { + + public DFA21(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 21; + this.eot = DFA21_eot; + this.eof = DFA21_eof; + this.min = DFA21_min; + this.max = DFA21_max; + this.accept = DFA21_accept; + this.special = DFA21_special; + this.transition = DFA21_transition; + } + public String getDescription() { + return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + IntStream input = _input; + int _s = s; + switch ( s ) { + case 0 : + int LA21_0 = input.LA(1); + + s = -1; + if ( (LA21_0=='=') ) {s = 1;} + + else if ( (LA21_0=='|') ) {s = 2;} + + else if ( (LA21_0=='&') ) {s = 3;} + + else if ( (LA21_0=='+') ) {s = 4;} + + else if ( (LA21_0=='-') ) {s = 5;} + + else if ( (LA21_0=='*') ) {s = 6;} + + else if ( (LA21_0=='/') ) {s = 7;} + + else if ( (LA21_0=='%') ) {s = 8;} + + else if ( (LA21_0=='!') ) {s = 9;} + + else if ( (LA21_0=='>') ) {s = 10;} + + else if ( (LA21_0=='<') ) {s = 11;} + + else if ( (LA21_0=='.') ) {s = 12;} + + else if ( (LA21_0=='?') ) {s = 13;} + + else if ( (LA21_0=='v') ) {s = 14;} + + else if ( (LA21_0=='e') ) {s = 15;} + + else if ( (LA21_0=='s') ) {s = 16;} + + else if ( (LA21_0=='i') ) {s = 17;} + + else if ( (LA21_0=='f') ) {s = 18;} + + else if ( (LA21_0=='p') ) {s = 19;} + + else if ( (LA21_0=='{') ) {s = 20;} + + else if ( (LA21_0=='}') ) {s = 21;} + + else if ( (LA21_0=='d') ) {s = 22;} + + else if ( (LA21_0=='t') ) {s = 23;} + + else if ( (LA21_0=='@') ) {s = 24;} + + else if ( (LA21_0=='(') ) {s = 25;} + + else if ( (LA21_0==')') ) {s = 26;} + + else if ( (LA21_0==',') ) {s = 27;} + + else if ( (LA21_0==']') ) {s = 28;} + + else if ( (LA21_0=='#') ) {s = 29;} + + else if ( (LA21_0=='[') ) {s = 30;} + + else if ( (LA21_0=='a') ) {s = 31;} + + else if ( (LA21_0==';') ) {s = 32;} + + else if ( (LA21_0==':') ) {s = 33;} + + else if ( (LA21_0=='c') ) {s = 34;} + + else if ( (LA21_0=='w') ) {s = 35;} + + else if ( (LA21_0=='n') ) {s = 36;} + + else if ( (LA21_0=='r') ) {s = 37;} + + else if ( (LA21_0=='0') ) {s = 38;} + + else if ( ((LA21_0>='1' && LA21_0<='9')) ) {s = 39;} + + else if ( (LA21_0=='^') ) {s = 40;} + + else if ( (LA21_0=='$'||(LA21_0>='A' && LA21_0<='Z')||LA21_0=='_'||LA21_0=='b'||(LA21_0>='g' && LA21_0<='h')||(LA21_0>='j' && LA21_0<='m')||LA21_0=='o'||LA21_0=='q'||LA21_0=='u'||(LA21_0>='x' && LA21_0<='z')) ) {s = 41;} + + else if ( (LA21_0=='\"') ) {s = 42;} + + else if ( (LA21_0=='\'') ) {s = 43;} + + else if ( ((LA21_0>='\t' && LA21_0<='\n')||LA21_0=='\r'||LA21_0==' ') ) {s = 44;} + + else if ( ((LA21_0>='\u0000' && LA21_0<='\b')||(LA21_0>='\u000B' && LA21_0<='\f')||(LA21_0>='\u000E' && LA21_0<='\u001F')||LA21_0=='\\'||LA21_0=='`'||(LA21_0>='~' && LA21_0<='\uFFFF')) ) {s = 45;} + + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 21, _s, input); + error(nvae); + throw nvae; + } + } + + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDslParser.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDslParser.java new file mode 100644 index 0000000..3d2ed3c --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDslParser.java @@ -0,0 +1,10016 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; +import org.eclipse.osbp.xtext.dialogdsl.services.DialogDslGrammarAccess; + + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +@SuppressWarnings("all") +public class InternalDialogDslParser extends AbstractInternalContentAssistParser { + public static final String[] tokenNames = new String[] { + "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_HEX", "RULE_INT", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'='", "'||'", "'&&'", "'+='", "'-='", "'*='", "'/='", "'%='", "'=='", "'!='", "'==='", "'!=='", "'>='", "'>'", "'<'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'-'", "'*'", "'**'", "'/'", "'%'", "'!'", "'++'", "'--'", "'.'", "'val'", "'extends'", "'static'", "'import'", "'extension'", "'super'", "'false'", "'package'", "'{'", "'}'", "'dialog'", "'view'", "'toolbar'", "'@'", "'('", "')'", "','", "']'", "'#'", "'['", "'instanceof'", "'as'", "';'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'new'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'described by'", "'autobinding'", "'embedded'", "'pure'", "'stateful'", "'::'", "'?.'", "'|'", "'var'", "'true'" + }; + public static final int RULE_HEX=6; + public static final int T__50=50; + public static final int T__59=59; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=5; + public static final int RULE_INT=7; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=9; + public static final int T__67=67; + public static final int T__68=68; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__63=63; + public static final int T__64=64; + public static final int T__65=65; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__91=91; + public static final int T__92=92; + public static final int T__93=93; + public static final int T__94=94; + public static final int T__90=90; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__13=13; + public static final int T__14=14; + public static final int T__95=95; + public static final int T__96=96; + public static final int RULE_DECIMAL=8; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int T__29=29; + public static final int T__22=22; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + public static final int T__70=70; + public static final int T__71=71; + public static final int T__72=72; + public static final int RULE_STRING=4; + public static final int RULE_SL_COMMENT=10; + public static final int T__77=77; + public static final int T__78=78; + public static final int T__79=79; + public static final int T__73=73; + public static final int EOF=-1; + public static final int T__74=74; + public static final int T__75=75; + public static final int T__76=76; + public static final int T__80=80; + public static final int T__81=81; + public static final int T__82=82; + public static final int T__83=83; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; + public static final int T__88=88; + public static final int T__89=89; + public static final int T__84=84; + public static final int T__85=85; + public static final int T__86=86; + public static final int T__87=87; + + // delegates + // delegators + + + public InternalDialogDslParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalDialogDslParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalDialogDslParser.tokenNames; } + public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g"; } + + + + private DialogDslGrammarAccess grammarAccess; + + public void setGrammarAccess(DialogDslGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + + + + + // $ANTLR start "entryRuleDialogModel" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:61:1: entryRuleDialogModel : ruleDialogModel EOF ; + public final void entryRuleDialogModel() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:62:1: ( ruleDialogModel EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:63:1: ruleDialogModel EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogModelRule()); + } + pushFollow(FOLLOW_ruleDialogModel_in_entryRuleDialogModel67); + ruleDialogModel(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogModelRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialogModel74); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDialogModel" + + + // $ANTLR start "ruleDialogModel" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:70:1: ruleDialogModel : ( ( rule__DialogModel__Group__0 ) ) ; + public final void ruleDialogModel() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:74:2: ( ( ( rule__DialogModel__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:75:1: ( ( rule__DialogModel__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:75:1: ( ( rule__DialogModel__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:76:1: ( rule__DialogModel__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogModelAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:77:1: ( rule__DialogModel__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:77:2: rule__DialogModel__Group__0 + { + pushFollow(FOLLOW_rule__DialogModel__Group__0_in_ruleDialogModel100); + rule__DialogModel__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogModelAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDialogModel" + + + // $ANTLR start "entryRuleDialogPackage" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:89:1: entryRuleDialogPackage : ruleDialogPackage EOF ; + public final void entryRuleDialogPackage() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:90:1: ( ruleDialogPackage EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:91:1: ruleDialogPackage EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogPackageRule()); + } + pushFollow(FOLLOW_ruleDialogPackage_in_entryRuleDialogPackage127); + ruleDialogPackage(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogPackageRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialogPackage134); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDialogPackage" + + + // $ANTLR start "ruleDialogPackage" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:98:1: ruleDialogPackage : ( ( rule__DialogPackage__Group__0 ) ) ; + public final void ruleDialogPackage() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:102:2: ( ( ( rule__DialogPackage__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:103:1: ( ( rule__DialogPackage__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:103:1: ( ( rule__DialogPackage__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:104:1: ( rule__DialogPackage__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogPackageAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:105:1: ( rule__DialogPackage__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:105:2: rule__DialogPackage__Group__0 + { + pushFollow(FOLLOW_rule__DialogPackage__Group__0_in_ruleDialogPackage160); + rule__DialogPackage__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogPackageAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDialogPackage" + + + // $ANTLR start "entryRuleDialogImport" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:117:1: entryRuleDialogImport : ruleDialogImport EOF ; + public final void entryRuleDialogImport() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:118:1: ( ruleDialogImport EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:119:1: ruleDialogImport EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogImportRule()); + } + pushFollow(FOLLOW_ruleDialogImport_in_entryRuleDialogImport187); + ruleDialogImport(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogImportRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialogImport194); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDialogImport" + + + // $ANTLR start "ruleDialogImport" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:126:1: ruleDialogImport : ( ( rule__DialogImport__Group__0 ) ) ; + public final void ruleDialogImport() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:130:2: ( ( ( rule__DialogImport__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:131:1: ( ( rule__DialogImport__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:131:1: ( ( rule__DialogImport__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:132:1: ( rule__DialogImport__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogImportAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:133:1: ( rule__DialogImport__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:133:2: rule__DialogImport__Group__0 + { + pushFollow(FOLLOW_rule__DialogImport__Group__0_in_ruleDialogImport220); + rule__DialogImport__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogImportAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDialogImport" + + + // $ANTLR start "entryRuleDialog" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:145:1: entryRuleDialog : ruleDialog EOF ; + public final void entryRuleDialog() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:146:1: ( ruleDialog EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:147:1: ruleDialog EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogRule()); + } + pushFollow(FOLLOW_ruleDialog_in_entryRuleDialog247); + ruleDialog(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialog254); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDialog" + + + // $ANTLR start "ruleDialog" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:154:1: ruleDialog : ( ( rule__Dialog__Group__0 ) ) ; + public final void ruleDialog() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:158:2: ( ( ( rule__Dialog__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:159:1: ( ( rule__Dialog__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:159:1: ( ( rule__Dialog__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:160:1: ( rule__Dialog__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:161:1: ( rule__Dialog__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:161:2: rule__Dialog__Group__0 + { + pushFollow(FOLLOW_rule__Dialog__Group__0_in_ruleDialog280); + rule__Dialog__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDialog" + + + // $ANTLR start "entryRuleDialogQualifiedNameWithWildCard" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:173:1: entryRuleDialogQualifiedNameWithWildCard : ruleDialogQualifiedNameWithWildCard EOF ; + public final void entryRuleDialogQualifiedNameWithWildCard() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:174:1: ( ruleDialogQualifiedNameWithWildCard EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:175:1: ruleDialogQualifiedNameWithWildCard EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogQualifiedNameWithWildCardRule()); + } + pushFollow(FOLLOW_ruleDialogQualifiedNameWithWildCard_in_entryRuleDialogQualifiedNameWithWildCard307); + ruleDialogQualifiedNameWithWildCard(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogQualifiedNameWithWildCardRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialogQualifiedNameWithWildCard314); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDialogQualifiedNameWithWildCard" + + + // $ANTLR start "ruleDialogQualifiedNameWithWildCard" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:182:1: ruleDialogQualifiedNameWithWildCard : ( ( rule__DialogQualifiedNameWithWildCard__Group__0 ) ) ; + public final void ruleDialogQualifiedNameWithWildCard() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:186:2: ( ( ( rule__DialogQualifiedNameWithWildCard__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:187:1: ( ( rule__DialogQualifiedNameWithWildCard__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:187:1: ( ( rule__DialogQualifiedNameWithWildCard__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:188:1: ( rule__DialogQualifiedNameWithWildCard__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:189:1: ( rule__DialogQualifiedNameWithWildCard__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:189:2: rule__DialogQualifiedNameWithWildCard__Group__0 + { + pushFollow(FOLLOW_rule__DialogQualifiedNameWithWildCard__Group__0_in_ruleDialogQualifiedNameWithWildCard340); + rule__DialogQualifiedNameWithWildCard__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDialogQualifiedNameWithWildCard" + + + // $ANTLR start "entryRuleTRANSLATABLESTRING" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:201:1: entryRuleTRANSLATABLESTRING : ruleTRANSLATABLESTRING EOF ; + public final void entryRuleTRANSLATABLESTRING() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:202:1: ( ruleTRANSLATABLESTRING EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:203:1: ruleTRANSLATABLESTRING EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getTRANSLATABLESTRINGRule()); + } + pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_entryRuleTRANSLATABLESTRING367); + ruleTRANSLATABLESTRING(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTRANSLATABLESTRINGRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleTRANSLATABLESTRING374); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleTRANSLATABLESTRING" + + + // $ANTLR start "ruleTRANSLATABLESTRING" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:210:1: ruleTRANSLATABLESTRING : ( RULE_STRING ) ; + public final void ruleTRANSLATABLESTRING() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:214:2: ( ( RULE_STRING ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:215:1: ( RULE_STRING ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:215:1: ( RULE_STRING ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:216:1: RULE_STRING + { + if ( state.backtracking==0 ) { + before(grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall()); + } + match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTRANSLATABLESTRING400); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleTRANSLATABLESTRING" + + + // $ANTLR start "entryRuleTYPE_CROSS_REFERENCE" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:229:1: entryRuleTYPE_CROSS_REFERENCE : ruleTYPE_CROSS_REFERENCE EOF ; + public final void entryRuleTYPE_CROSS_REFERENCE() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:230:1: ( ruleTYPE_CROSS_REFERENCE EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:231:1: ruleTYPE_CROSS_REFERENCE EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getTYPE_CROSS_REFERENCERule()); + } + pushFollow(FOLLOW_ruleTYPE_CROSS_REFERENCE_in_entryRuleTYPE_CROSS_REFERENCE426); + ruleTYPE_CROSS_REFERENCE(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTYPE_CROSS_REFERENCERule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleTYPE_CROSS_REFERENCE433); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleTYPE_CROSS_REFERENCE" + + + // $ANTLR start "ruleTYPE_CROSS_REFERENCE" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:238:1: ruleTYPE_CROSS_REFERENCE : ( RULE_ID ) ; + public final void ruleTYPE_CROSS_REFERENCE() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:242:2: ( ( RULE_ID ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:243:1: ( RULE_ID ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:243:1: ( RULE_ID ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:244:1: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getTYPE_CROSS_REFERENCEAccess().getIDTerminalRuleCall()); + } + match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTYPE_CROSS_REFERENCE459); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getTYPE_CROSS_REFERENCEAccess().getIDTerminalRuleCall()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleTYPE_CROSS_REFERENCE" + + + // $ANTLR start "entryRuleXAnnotation" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:257:1: entryRuleXAnnotation : ruleXAnnotation EOF ; + public final void entryRuleXAnnotation() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:258:1: ( ruleXAnnotation EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:259:1: ruleXAnnotation EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationRule()); + } + pushFollow(FOLLOW_ruleXAnnotation_in_entryRuleXAnnotation485); + ruleXAnnotation(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotation492); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXAnnotation" + + + // $ANTLR start "ruleXAnnotation" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:266:1: ruleXAnnotation : ( ( rule__XAnnotation__Group__0 ) ) ; + public final void ruleXAnnotation() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:270:2: ( ( ( rule__XAnnotation__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:271:1: ( ( rule__XAnnotation__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:271:1: ( ( rule__XAnnotation__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:272:1: ( rule__XAnnotation__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:273:1: ( rule__XAnnotation__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:273:2: rule__XAnnotation__Group__0 + { + pushFollow(FOLLOW_rule__XAnnotation__Group__0_in_ruleXAnnotation518); + rule__XAnnotation__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXAnnotation" + + + // $ANTLR start "entryRuleXAnnotationElementValuePair" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:285:1: entryRuleXAnnotationElementValuePair : ruleXAnnotationElementValuePair EOF ; + public final void entryRuleXAnnotationElementValuePair() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:286:1: ( ruleXAnnotationElementValuePair EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:287:1: ruleXAnnotationElementValuePair EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValuePairRule()); + } + pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_entryRuleXAnnotationElementValuePair545); + ruleXAnnotationElementValuePair(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValuePairRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValuePair552); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXAnnotationElementValuePair" + + + // $ANTLR start "ruleXAnnotationElementValuePair" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:294:1: ruleXAnnotationElementValuePair : ( ( rule__XAnnotationElementValuePair__Group__0 ) ) ; + public final void ruleXAnnotationElementValuePair() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:298:2: ( ( ( rule__XAnnotationElementValuePair__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:299:1: ( ( rule__XAnnotationElementValuePair__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:299:1: ( ( rule__XAnnotationElementValuePair__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:300:1: ( rule__XAnnotationElementValuePair__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValuePairAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:301:1: ( rule__XAnnotationElementValuePair__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:301:2: rule__XAnnotationElementValuePair__Group__0 + { + pushFollow(FOLLOW_rule__XAnnotationElementValuePair__Group__0_in_ruleXAnnotationElementValuePair578); + rule__XAnnotationElementValuePair__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValuePairAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXAnnotationElementValuePair" + + + // $ANTLR start "entryRuleXAnnotationElementValueOrCommaList" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:313:1: entryRuleXAnnotationElementValueOrCommaList : ruleXAnnotationElementValueOrCommaList EOF ; + public final void entryRuleXAnnotationElementValueOrCommaList() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:314:1: ( ruleXAnnotationElementValueOrCommaList EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:315:1: ruleXAnnotationElementValueOrCommaList EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValueOrCommaListRule()); + } + pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_entryRuleXAnnotationElementValueOrCommaList605); + ruleXAnnotationElementValueOrCommaList(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValueOrCommaListRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValueOrCommaList612); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXAnnotationElementValueOrCommaList" + + + // $ANTLR start "ruleXAnnotationElementValueOrCommaList" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:322:1: ruleXAnnotationElementValueOrCommaList : ( ( rule__XAnnotationElementValueOrCommaList__Alternatives ) ) ; + public final void ruleXAnnotationElementValueOrCommaList() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:326:2: ( ( ( rule__XAnnotationElementValueOrCommaList__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:327:1: ( ( rule__XAnnotationElementValueOrCommaList__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:327:1: ( ( rule__XAnnotationElementValueOrCommaList__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:328:1: ( rule__XAnnotationElementValueOrCommaList__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:329:1: ( rule__XAnnotationElementValueOrCommaList__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:329:2: rule__XAnnotationElementValueOrCommaList__Alternatives + { + pushFollow(FOLLOW_rule__XAnnotationElementValueOrCommaList__Alternatives_in_ruleXAnnotationElementValueOrCommaList638); + rule__XAnnotationElementValueOrCommaList__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXAnnotationElementValueOrCommaList" + + + // $ANTLR start "entryRuleXAnnotationElementValue" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:341:1: entryRuleXAnnotationElementValue : ruleXAnnotationElementValue EOF ; + public final void entryRuleXAnnotationElementValue() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:342:1: ( ruleXAnnotationElementValue EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:343:1: ruleXAnnotationElementValue EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValueRule()); + } + pushFollow(FOLLOW_ruleXAnnotationElementValue_in_entryRuleXAnnotationElementValue665); + ruleXAnnotationElementValue(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValueRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValue672); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXAnnotationElementValue" + + + // $ANTLR start "ruleXAnnotationElementValue" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:350:1: ruleXAnnotationElementValue : ( ( rule__XAnnotationElementValue__Alternatives ) ) ; + public final void ruleXAnnotationElementValue() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:354:2: ( ( ( rule__XAnnotationElementValue__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:355:1: ( ( rule__XAnnotationElementValue__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:355:1: ( ( rule__XAnnotationElementValue__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:356:1: ( rule__XAnnotationElementValue__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValueAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:357:1: ( rule__XAnnotationElementValue__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:357:2: rule__XAnnotationElementValue__Alternatives + { + pushFollow(FOLLOW_rule__XAnnotationElementValue__Alternatives_in_ruleXAnnotationElementValue698); + rule__XAnnotationElementValue__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValueAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXAnnotationElementValue" + + + // $ANTLR start "entryRuleXAnnotationOrExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:369:1: entryRuleXAnnotationOrExpression : ruleXAnnotationOrExpression EOF ; + public final void entryRuleXAnnotationOrExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:370:1: ( ruleXAnnotationOrExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:371:1: ruleXAnnotationOrExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationOrExpressionRule()); + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_entryRuleXAnnotationOrExpression725); + ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationOrExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationOrExpression732); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXAnnotationOrExpression" + + + // $ANTLR start "ruleXAnnotationOrExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:378:1: ruleXAnnotationOrExpression : ( ( rule__XAnnotationOrExpression__Alternatives ) ) ; + public final void ruleXAnnotationOrExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:382:2: ( ( ( rule__XAnnotationOrExpression__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:383:1: ( ( rule__XAnnotationOrExpression__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:383:1: ( ( rule__XAnnotationOrExpression__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:384:1: ( rule__XAnnotationOrExpression__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationOrExpressionAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:385:1: ( rule__XAnnotationOrExpression__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:385:2: rule__XAnnotationOrExpression__Alternatives + { + pushFollow(FOLLOW_rule__XAnnotationOrExpression__Alternatives_in_ruleXAnnotationOrExpression758); + rule__XAnnotationOrExpression__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationOrExpressionAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXAnnotationOrExpression" + + + // $ANTLR start "entryRuleXExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:397:1: entryRuleXExpression : ruleXExpression EOF ; + public final void entryRuleXExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:398:1: ( ruleXExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:399:1: ruleXExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXExpressionRule()); + } + pushFollow(FOLLOW_ruleXExpression_in_entryRuleXExpression785); + ruleXExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXExpression792); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXExpression" + + + // $ANTLR start "ruleXExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:406:1: ruleXExpression : ( ruleXAssignment ) ; + public final void ruleXExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:410:2: ( ( ruleXAssignment ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:411:1: ( ruleXAssignment ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:411:1: ( ruleXAssignment ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:412:1: ruleXAssignment + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); + } + pushFollow(FOLLOW_ruleXAssignment_in_ruleXExpression818); + ruleXAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXExpression" + + + // $ANTLR start "entryRuleXAssignment" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:425:1: entryRuleXAssignment : ruleXAssignment EOF ; + public final void entryRuleXAssignment() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:426:1: ( ruleXAssignment EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:427:1: ruleXAssignment EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAssignmentRule()); + } + pushFollow(FOLLOW_ruleXAssignment_in_entryRuleXAssignment844); + ruleXAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAssignmentRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAssignment851); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXAssignment" + + + // $ANTLR start "ruleXAssignment" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:434:1: ruleXAssignment : ( ( rule__XAssignment__Alternatives ) ) ; + public final void ruleXAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:438:2: ( ( ( rule__XAssignment__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:439:1: ( ( rule__XAssignment__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:439:1: ( ( rule__XAssignment__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:440:1: ( rule__XAssignment__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAssignmentAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:441:1: ( rule__XAssignment__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:441:2: rule__XAssignment__Alternatives + { + pushFollow(FOLLOW_rule__XAssignment__Alternatives_in_ruleXAssignment877); + rule__XAssignment__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAssignmentAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXAssignment" + + + // $ANTLR start "entryRuleOpSingleAssign" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:453:1: entryRuleOpSingleAssign : ruleOpSingleAssign EOF ; + public final void entryRuleOpSingleAssign() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:454:1: ( ruleOpSingleAssign EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:455:1: ruleOpSingleAssign EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpSingleAssignRule()); + } + pushFollow(FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign904); + ruleOpSingleAssign(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpSingleAssignRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpSingleAssign911); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpSingleAssign" + + + // $ANTLR start "ruleOpSingleAssign" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:462:1: ruleOpSingleAssign : ( '=' ) ; + public final void ruleOpSingleAssign() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:466:2: ( ( '=' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:467:1: ( '=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:467:1: ( '=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:468:1: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword()); + } + match(input,13,FOLLOW_13_in_ruleOpSingleAssign938); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpSingleAssign" + + + // $ANTLR start "entryRuleOpMultiAssign" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:483:1: entryRuleOpMultiAssign : ruleOpMultiAssign EOF ; + public final void entryRuleOpMultiAssign() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:484:1: ( ruleOpMultiAssign EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:485:1: ruleOpMultiAssign EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAssignRule()); + } + pushFollow(FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign966); + ruleOpMultiAssign(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAssignRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpMultiAssign973); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpMultiAssign" + + + // $ANTLR start "ruleOpMultiAssign" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:492:1: ruleOpMultiAssign : ( ( rule__OpMultiAssign__Alternatives ) ) ; + public final void ruleOpMultiAssign() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:496:2: ( ( ( rule__OpMultiAssign__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:497:1: ( ( rule__OpMultiAssign__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:497:1: ( ( rule__OpMultiAssign__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:498:1: ( rule__OpMultiAssign__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAssignAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:499:1: ( rule__OpMultiAssign__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:499:2: rule__OpMultiAssign__Alternatives + { + pushFollow(FOLLOW_rule__OpMultiAssign__Alternatives_in_ruleOpMultiAssign999); + rule__OpMultiAssign__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAssignAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpMultiAssign" + + + // $ANTLR start "entryRuleXOrExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:511:1: entryRuleXOrExpression : ruleXOrExpression EOF ; + public final void entryRuleXOrExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:512:1: ( ruleXOrExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:513:1: ruleXOrExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXOrExpressionRule()); + } + pushFollow(FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression1026); + ruleXOrExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXOrExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXOrExpression1033); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXOrExpression" + + + // $ANTLR start "ruleXOrExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:520:1: ruleXOrExpression : ( ( rule__XOrExpression__Group__0 ) ) ; + public final void ruleXOrExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:524:2: ( ( ( rule__XOrExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:525:1: ( ( rule__XOrExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:525:1: ( ( rule__XOrExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:526:1: ( rule__XOrExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXOrExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:527:1: ( rule__XOrExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:527:2: rule__XOrExpression__Group__0 + { + pushFollow(FOLLOW_rule__XOrExpression__Group__0_in_ruleXOrExpression1059); + rule__XOrExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXOrExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXOrExpression" + + + // $ANTLR start "entryRuleOpOr" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:539:1: entryRuleOpOr : ruleOpOr EOF ; + public final void entryRuleOpOr() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:540:1: ( ruleOpOr EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:541:1: ruleOpOr EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOrRule()); + } + pushFollow(FOLLOW_ruleOpOr_in_entryRuleOpOr1086); + ruleOpOr(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOrRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpOr1093); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpOr" + + + // $ANTLR start "ruleOpOr" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:548:1: ruleOpOr : ( '||' ) ; + public final void ruleOpOr() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:552:2: ( ( '||' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:553:1: ( '||' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:553:1: ( '||' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:554:1: '||' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword()); + } + match(input,14,FOLLOW_14_in_ruleOpOr1120); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpOr" + + + // $ANTLR start "entryRuleXAndExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:569:1: entryRuleXAndExpression : ruleXAndExpression EOF ; + public final void entryRuleXAndExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:570:1: ( ruleXAndExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:571:1: ruleXAndExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAndExpressionRule()); + } + pushFollow(FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression1148); + ruleXAndExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAndExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAndExpression1155); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXAndExpression" + + + // $ANTLR start "ruleXAndExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:578:1: ruleXAndExpression : ( ( rule__XAndExpression__Group__0 ) ) ; + public final void ruleXAndExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:582:2: ( ( ( rule__XAndExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:583:1: ( ( rule__XAndExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:583:1: ( ( rule__XAndExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:584:1: ( rule__XAndExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAndExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:585:1: ( rule__XAndExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:585:2: rule__XAndExpression__Group__0 + { + pushFollow(FOLLOW_rule__XAndExpression__Group__0_in_ruleXAndExpression1181); + rule__XAndExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAndExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXAndExpression" + + + // $ANTLR start "entryRuleOpAnd" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:597:1: entryRuleOpAnd : ruleOpAnd EOF ; + public final void entryRuleOpAnd() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:598:1: ( ruleOpAnd EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:599:1: ruleOpAnd EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpAndRule()); + } + pushFollow(FOLLOW_ruleOpAnd_in_entryRuleOpAnd1208); + ruleOpAnd(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpAndRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpAnd1215); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpAnd" + + + // $ANTLR start "ruleOpAnd" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:606:1: ruleOpAnd : ( '&&' ) ; + public final void ruleOpAnd() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:610:2: ( ( '&&' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:611:1: ( '&&' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:611:1: ( '&&' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:612:1: '&&' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword()); + } + match(input,15,FOLLOW_15_in_ruleOpAnd1242); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpAnd" + + + // $ANTLR start "entryRuleXEqualityExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:627:1: entryRuleXEqualityExpression : ruleXEqualityExpression EOF ; + public final void entryRuleXEqualityExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:628:1: ( ruleXEqualityExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:629:1: ruleXEqualityExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXEqualityExpressionRule()); + } + pushFollow(FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression1270); + ruleXEqualityExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXEqualityExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXEqualityExpression1277); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXEqualityExpression" + + + // $ANTLR start "ruleXEqualityExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:636:1: ruleXEqualityExpression : ( ( rule__XEqualityExpression__Group__0 ) ) ; + public final void ruleXEqualityExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:640:2: ( ( ( rule__XEqualityExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:641:1: ( ( rule__XEqualityExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:641:1: ( ( rule__XEqualityExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:642:1: ( rule__XEqualityExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXEqualityExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:643:1: ( rule__XEqualityExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:643:2: rule__XEqualityExpression__Group__0 + { + pushFollow(FOLLOW_rule__XEqualityExpression__Group__0_in_ruleXEqualityExpression1303); + rule__XEqualityExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXEqualityExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXEqualityExpression" + + + // $ANTLR start "entryRuleOpEquality" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:655:1: entryRuleOpEquality : ruleOpEquality EOF ; + public final void entryRuleOpEquality() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:656:1: ( ruleOpEquality EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:657:1: ruleOpEquality EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpEqualityRule()); + } + pushFollow(FOLLOW_ruleOpEquality_in_entryRuleOpEquality1330); + ruleOpEquality(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpEqualityRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpEquality1337); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpEquality" + + + // $ANTLR start "ruleOpEquality" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:664:1: ruleOpEquality : ( ( rule__OpEquality__Alternatives ) ) ; + public final void ruleOpEquality() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:668:2: ( ( ( rule__OpEquality__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:669:1: ( ( rule__OpEquality__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:669:1: ( ( rule__OpEquality__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:670:1: ( rule__OpEquality__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpEqualityAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:671:1: ( rule__OpEquality__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:671:2: rule__OpEquality__Alternatives + { + pushFollow(FOLLOW_rule__OpEquality__Alternatives_in_ruleOpEquality1363); + rule__OpEquality__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpEqualityAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpEquality" + + + // $ANTLR start "entryRuleXRelationalExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:683:1: entryRuleXRelationalExpression : ruleXRelationalExpression EOF ; + public final void entryRuleXRelationalExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:684:1: ( ruleXRelationalExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:685:1: ruleXRelationalExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXRelationalExpressionRule()); + } + pushFollow(FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression1390); + ruleXRelationalExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXRelationalExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationalExpression1397); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXRelationalExpression" + + + // $ANTLR start "ruleXRelationalExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:692:1: ruleXRelationalExpression : ( ( rule__XRelationalExpression__Group__0 ) ) ; + public final void ruleXRelationalExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:696:2: ( ( ( rule__XRelationalExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:697:1: ( ( rule__XRelationalExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:697:1: ( ( rule__XRelationalExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:698:1: ( rule__XRelationalExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXRelationalExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:699:1: ( rule__XRelationalExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:699:2: rule__XRelationalExpression__Group__0 + { + pushFollow(FOLLOW_rule__XRelationalExpression__Group__0_in_ruleXRelationalExpression1423); + rule__XRelationalExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXRelationalExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXRelationalExpression" + + + // $ANTLR start "entryRuleOpCompare" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:711:1: entryRuleOpCompare : ruleOpCompare EOF ; + public final void entryRuleOpCompare() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:712:1: ( ruleOpCompare EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:713:1: ruleOpCompare EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpCompareRule()); + } + pushFollow(FOLLOW_ruleOpCompare_in_entryRuleOpCompare1450); + ruleOpCompare(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpCompareRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpCompare1457); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpCompare" + + + // $ANTLR start "ruleOpCompare" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:720:1: ruleOpCompare : ( ( rule__OpCompare__Alternatives ) ) ; + public final void ruleOpCompare() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:724:2: ( ( ( rule__OpCompare__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:725:1: ( ( rule__OpCompare__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:725:1: ( ( rule__OpCompare__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:726:1: ( rule__OpCompare__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpCompareAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:727:1: ( rule__OpCompare__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:727:2: rule__OpCompare__Alternatives + { + pushFollow(FOLLOW_rule__OpCompare__Alternatives_in_ruleOpCompare1483); + rule__OpCompare__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpCompareAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpCompare" + + + // $ANTLR start "entryRuleXOtherOperatorExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:739:1: entryRuleXOtherOperatorExpression : ruleXOtherOperatorExpression EOF ; + public final void entryRuleXOtherOperatorExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:740:1: ( ruleXOtherOperatorExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:741:1: ruleXOtherOperatorExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXOtherOperatorExpressionRule()); + } + pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression1510); + ruleXOtherOperatorExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXOtherOperatorExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXOtherOperatorExpression1517); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXOtherOperatorExpression" + + + // $ANTLR start "ruleXOtherOperatorExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:748:1: ruleXOtherOperatorExpression : ( ( rule__XOtherOperatorExpression__Group__0 ) ) ; + public final void ruleXOtherOperatorExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:752:2: ( ( ( rule__XOtherOperatorExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:753:1: ( ( rule__XOtherOperatorExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:753:1: ( ( rule__XOtherOperatorExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:754:1: ( rule__XOtherOperatorExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXOtherOperatorExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:755:1: ( rule__XOtherOperatorExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:755:2: rule__XOtherOperatorExpression__Group__0 + { + pushFollow(FOLLOW_rule__XOtherOperatorExpression__Group__0_in_ruleXOtherOperatorExpression1543); + rule__XOtherOperatorExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXOtherOperatorExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXOtherOperatorExpression" + + + // $ANTLR start "entryRuleOpOther" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:767:1: entryRuleOpOther : ruleOpOther EOF ; + public final void entryRuleOpOther() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:768:1: ( ruleOpOther EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:769:1: ruleOpOther EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherRule()); + } + pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther1570); + ruleOpOther(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther1577); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpOther" + + + // $ANTLR start "ruleOpOther" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:776:1: ruleOpOther : ( ( rule__OpOther__Alternatives ) ) ; + public final void ruleOpOther() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:780:2: ( ( ( rule__OpOther__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:781:1: ( ( rule__OpOther__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:781:1: ( ( rule__OpOther__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:782:1: ( rule__OpOther__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:783:1: ( rule__OpOther__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:783:2: rule__OpOther__Alternatives + { + pushFollow(FOLLOW_rule__OpOther__Alternatives_in_ruleOpOther1603); + rule__OpOther__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpOther" + + + // $ANTLR start "entryRuleXAdditiveExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:795:1: entryRuleXAdditiveExpression : ruleXAdditiveExpression EOF ; + public final void entryRuleXAdditiveExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:796:1: ( ruleXAdditiveExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:797:1: ruleXAdditiveExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAdditiveExpressionRule()); + } + pushFollow(FOLLOW_ruleXAdditiveExpression_in_entryRuleXAdditiveExpression1630); + ruleXAdditiveExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAdditiveExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAdditiveExpression1637); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXAdditiveExpression" + + + // $ANTLR start "ruleXAdditiveExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:804:1: ruleXAdditiveExpression : ( ( rule__XAdditiveExpression__Group__0 ) ) ; + public final void ruleXAdditiveExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:808:2: ( ( ( rule__XAdditiveExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:809:1: ( ( rule__XAdditiveExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:809:1: ( ( rule__XAdditiveExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:810:1: ( rule__XAdditiveExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAdditiveExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:811:1: ( rule__XAdditiveExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:811:2: rule__XAdditiveExpression__Group__0 + { + pushFollow(FOLLOW_rule__XAdditiveExpression__Group__0_in_ruleXAdditiveExpression1663); + rule__XAdditiveExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAdditiveExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXAdditiveExpression" + + + // $ANTLR start "entryRuleOpAdd" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:823:1: entryRuleOpAdd : ruleOpAdd EOF ; + public final void entryRuleOpAdd() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:824:1: ( ruleOpAdd EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:825:1: ruleOpAdd EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpAddRule()); + } + pushFollow(FOLLOW_ruleOpAdd_in_entryRuleOpAdd1690); + ruleOpAdd(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpAddRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpAdd1697); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpAdd" + + + // $ANTLR start "ruleOpAdd" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:832:1: ruleOpAdd : ( ( rule__OpAdd__Alternatives ) ) ; + public final void ruleOpAdd() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:836:2: ( ( ( rule__OpAdd__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:837:1: ( ( rule__OpAdd__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:837:1: ( ( rule__OpAdd__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:838:1: ( rule__OpAdd__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpAddAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:839:1: ( rule__OpAdd__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:839:2: rule__OpAdd__Alternatives + { + pushFollow(FOLLOW_rule__OpAdd__Alternatives_in_ruleOpAdd1723); + rule__OpAdd__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpAddAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpAdd" + + + // $ANTLR start "entryRuleXMultiplicativeExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:851:1: entryRuleXMultiplicativeExpression : ruleXMultiplicativeExpression EOF ; + public final void entryRuleXMultiplicativeExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:852:1: ( ruleXMultiplicativeExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:853:1: ruleXMultiplicativeExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXMultiplicativeExpressionRule()); + } + pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_entryRuleXMultiplicativeExpression1750); + ruleXMultiplicativeExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXMultiplicativeExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXMultiplicativeExpression1757); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXMultiplicativeExpression" + + + // $ANTLR start "ruleXMultiplicativeExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:860:1: ruleXMultiplicativeExpression : ( ( rule__XMultiplicativeExpression__Group__0 ) ) ; + public final void ruleXMultiplicativeExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:864:2: ( ( ( rule__XMultiplicativeExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:865:1: ( ( rule__XMultiplicativeExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:865:1: ( ( rule__XMultiplicativeExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:866:1: ( rule__XMultiplicativeExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXMultiplicativeExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:867:1: ( rule__XMultiplicativeExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:867:2: rule__XMultiplicativeExpression__Group__0 + { + pushFollow(FOLLOW_rule__XMultiplicativeExpression__Group__0_in_ruleXMultiplicativeExpression1783); + rule__XMultiplicativeExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXMultiplicativeExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXMultiplicativeExpression" + + + // $ANTLR start "entryRuleOpMulti" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:879:1: entryRuleOpMulti : ruleOpMulti EOF ; + public final void entryRuleOpMulti() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:880:1: ( ruleOpMulti EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:881:1: ruleOpMulti EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiRule()); + } + pushFollow(FOLLOW_ruleOpMulti_in_entryRuleOpMulti1810); + ruleOpMulti(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpMulti1817); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpMulti" + + + // $ANTLR start "ruleOpMulti" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:888:1: ruleOpMulti : ( ( rule__OpMulti__Alternatives ) ) ; + public final void ruleOpMulti() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:892:2: ( ( ( rule__OpMulti__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:893:1: ( ( rule__OpMulti__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:893:1: ( ( rule__OpMulti__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:894:1: ( rule__OpMulti__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:895:1: ( rule__OpMulti__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:895:2: rule__OpMulti__Alternatives + { + pushFollow(FOLLOW_rule__OpMulti__Alternatives_in_ruleOpMulti1843); + rule__OpMulti__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpMulti" + + + // $ANTLR start "entryRuleXUnaryOperation" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:907:1: entryRuleXUnaryOperation : ruleXUnaryOperation EOF ; + public final void entryRuleXUnaryOperation() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:908:1: ( ruleXUnaryOperation EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:909:1: ruleXUnaryOperation EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXUnaryOperationRule()); + } + pushFollow(FOLLOW_ruleXUnaryOperation_in_entryRuleXUnaryOperation1870); + ruleXUnaryOperation(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXUnaryOperationRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXUnaryOperation1877); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXUnaryOperation" + + + // $ANTLR start "ruleXUnaryOperation" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:916:1: ruleXUnaryOperation : ( ( rule__XUnaryOperation__Alternatives ) ) ; + public final void ruleXUnaryOperation() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:920:2: ( ( ( rule__XUnaryOperation__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:921:1: ( ( rule__XUnaryOperation__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:921:1: ( ( rule__XUnaryOperation__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:922:1: ( rule__XUnaryOperation__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXUnaryOperationAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:923:1: ( rule__XUnaryOperation__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:923:2: rule__XUnaryOperation__Alternatives + { + pushFollow(FOLLOW_rule__XUnaryOperation__Alternatives_in_ruleXUnaryOperation1903); + rule__XUnaryOperation__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXUnaryOperationAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXUnaryOperation" + + + // $ANTLR start "entryRuleOpUnary" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:935:1: entryRuleOpUnary : ruleOpUnary EOF ; + public final void entryRuleOpUnary() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:936:1: ( ruleOpUnary EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:937:1: ruleOpUnary EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpUnaryRule()); + } + pushFollow(FOLLOW_ruleOpUnary_in_entryRuleOpUnary1930); + ruleOpUnary(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpUnaryRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpUnary1937); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpUnary" + + + // $ANTLR start "ruleOpUnary" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:944:1: ruleOpUnary : ( ( rule__OpUnary__Alternatives ) ) ; + public final void ruleOpUnary() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:948:2: ( ( ( rule__OpUnary__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:949:1: ( ( rule__OpUnary__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:949:1: ( ( rule__OpUnary__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:950:1: ( rule__OpUnary__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpUnaryAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:951:1: ( rule__OpUnary__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:951:2: rule__OpUnary__Alternatives + { + pushFollow(FOLLOW_rule__OpUnary__Alternatives_in_ruleOpUnary1963); + rule__OpUnary__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpUnaryAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpUnary" + + + // $ANTLR start "entryRuleXCastedExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:963:1: entryRuleXCastedExpression : ruleXCastedExpression EOF ; + public final void entryRuleXCastedExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:964:1: ( ruleXCastedExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:965:1: ruleXCastedExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXCastedExpressionRule()); + } + pushFollow(FOLLOW_ruleXCastedExpression_in_entryRuleXCastedExpression1990); + ruleXCastedExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXCastedExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXCastedExpression1997); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXCastedExpression" + + + // $ANTLR start "ruleXCastedExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:972:1: ruleXCastedExpression : ( ( rule__XCastedExpression__Group__0 ) ) ; + public final void ruleXCastedExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:976:2: ( ( ( rule__XCastedExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:977:1: ( ( rule__XCastedExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:977:1: ( ( rule__XCastedExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:978:1: ( rule__XCastedExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXCastedExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:979:1: ( rule__XCastedExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:979:2: rule__XCastedExpression__Group__0 + { + pushFollow(FOLLOW_rule__XCastedExpression__Group__0_in_ruleXCastedExpression2023); + rule__XCastedExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXCastedExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXCastedExpression" + + + // $ANTLR start "entryRuleXPostfixOperation" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:991:1: entryRuleXPostfixOperation : ruleXPostfixOperation EOF ; + public final void entryRuleXPostfixOperation() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:992:1: ( ruleXPostfixOperation EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:993:1: ruleXPostfixOperation EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXPostfixOperationRule()); + } + pushFollow(FOLLOW_ruleXPostfixOperation_in_entryRuleXPostfixOperation2050); + ruleXPostfixOperation(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXPostfixOperationRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXPostfixOperation2057); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXPostfixOperation" + + + // $ANTLR start "ruleXPostfixOperation" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1000:1: ruleXPostfixOperation : ( ( rule__XPostfixOperation__Group__0 ) ) ; + public final void ruleXPostfixOperation() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1004:2: ( ( ( rule__XPostfixOperation__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1005:1: ( ( rule__XPostfixOperation__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1005:1: ( ( rule__XPostfixOperation__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1006:1: ( rule__XPostfixOperation__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXPostfixOperationAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1007:1: ( rule__XPostfixOperation__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1007:2: rule__XPostfixOperation__Group__0 + { + pushFollow(FOLLOW_rule__XPostfixOperation__Group__0_in_ruleXPostfixOperation2083); + rule__XPostfixOperation__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXPostfixOperationAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXPostfixOperation" + + + // $ANTLR start "entryRuleOpPostfix" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1019:1: entryRuleOpPostfix : ruleOpPostfix EOF ; + public final void entryRuleOpPostfix() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1020:1: ( ruleOpPostfix EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1021:1: ruleOpPostfix EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpPostfixRule()); + } + pushFollow(FOLLOW_ruleOpPostfix_in_entryRuleOpPostfix2110); + ruleOpPostfix(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpPostfixRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpPostfix2117); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOpPostfix" + + + // $ANTLR start "ruleOpPostfix" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1028:1: ruleOpPostfix : ( ( rule__OpPostfix__Alternatives ) ) ; + public final void ruleOpPostfix() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1032:2: ( ( ( rule__OpPostfix__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1033:1: ( ( rule__OpPostfix__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1033:1: ( ( rule__OpPostfix__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1034:1: ( rule__OpPostfix__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpPostfixAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1035:1: ( rule__OpPostfix__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1035:2: rule__OpPostfix__Alternatives + { + pushFollow(FOLLOW_rule__OpPostfix__Alternatives_in_ruleOpPostfix2143); + rule__OpPostfix__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpPostfixAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOpPostfix" + + + // $ANTLR start "entryRuleXMemberFeatureCall" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1047:1: entryRuleXMemberFeatureCall : ruleXMemberFeatureCall EOF ; + public final void entryRuleXMemberFeatureCall() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1048:1: ( ruleXMemberFeatureCall EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1049:1: ruleXMemberFeatureCall EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXMemberFeatureCallRule()); + } + pushFollow(FOLLOW_ruleXMemberFeatureCall_in_entryRuleXMemberFeatureCall2170); + ruleXMemberFeatureCall(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXMemberFeatureCallRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXMemberFeatureCall2177); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXMemberFeatureCall" + + + // $ANTLR start "ruleXMemberFeatureCall" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1056:1: ruleXMemberFeatureCall : ( ( rule__XMemberFeatureCall__Group__0 ) ) ; + public final void ruleXMemberFeatureCall() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1060:2: ( ( ( rule__XMemberFeatureCall__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1061:1: ( ( rule__XMemberFeatureCall__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1061:1: ( ( rule__XMemberFeatureCall__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1062:1: ( rule__XMemberFeatureCall__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXMemberFeatureCallAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1063:1: ( rule__XMemberFeatureCall__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1063:2: rule__XMemberFeatureCall__Group__0 + { + pushFollow(FOLLOW_rule__XMemberFeatureCall__Group__0_in_ruleXMemberFeatureCall2203); + rule__XMemberFeatureCall__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXMemberFeatureCallAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXMemberFeatureCall" + + + // $ANTLR start "entryRuleXPrimaryExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1075:1: entryRuleXPrimaryExpression : ruleXPrimaryExpression EOF ; + public final void entryRuleXPrimaryExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1076:1: ( ruleXPrimaryExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1077:1: ruleXPrimaryExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXPrimaryExpressionRule()); + } + pushFollow(FOLLOW_ruleXPrimaryExpression_in_entryRuleXPrimaryExpression2230); + ruleXPrimaryExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXPrimaryExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXPrimaryExpression2237); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXPrimaryExpression" + + + // $ANTLR start "ruleXPrimaryExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1084:1: ruleXPrimaryExpression : ( ( rule__XPrimaryExpression__Alternatives ) ) ; + public final void ruleXPrimaryExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1088:2: ( ( ( rule__XPrimaryExpression__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1089:1: ( ( rule__XPrimaryExpression__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1089:1: ( ( rule__XPrimaryExpression__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1090:1: ( rule__XPrimaryExpression__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXPrimaryExpressionAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1091:1: ( rule__XPrimaryExpression__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1091:2: rule__XPrimaryExpression__Alternatives + { + pushFollow(FOLLOW_rule__XPrimaryExpression__Alternatives_in_ruleXPrimaryExpression2263); + rule__XPrimaryExpression__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXPrimaryExpressionAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXPrimaryExpression" + + + // $ANTLR start "entryRuleXLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1103:1: entryRuleXLiteral : ruleXLiteral EOF ; + public final void entryRuleXLiteral() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1104:1: ( ruleXLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1105:1: ruleXLiteral EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXLiteralRule()); + } + pushFollow(FOLLOW_ruleXLiteral_in_entryRuleXLiteral2290); + ruleXLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXLiteralRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXLiteral2297); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXLiteral" + + + // $ANTLR start "ruleXLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1112:1: ruleXLiteral : ( ( rule__XLiteral__Alternatives ) ) ; + public final void ruleXLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1116:2: ( ( ( rule__XLiteral__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1117:1: ( ( rule__XLiteral__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1117:1: ( ( rule__XLiteral__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1118:1: ( rule__XLiteral__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXLiteralAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1119:1: ( rule__XLiteral__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1119:2: rule__XLiteral__Alternatives + { + pushFollow(FOLLOW_rule__XLiteral__Alternatives_in_ruleXLiteral2323); + rule__XLiteral__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXLiteralAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXLiteral" + + + // $ANTLR start "entryRuleXCollectionLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1131:1: entryRuleXCollectionLiteral : ruleXCollectionLiteral EOF ; + public final void entryRuleXCollectionLiteral() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1132:1: ( ruleXCollectionLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1133:1: ruleXCollectionLiteral EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXCollectionLiteralRule()); + } + pushFollow(FOLLOW_ruleXCollectionLiteral_in_entryRuleXCollectionLiteral2350); + ruleXCollectionLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXCollectionLiteralRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXCollectionLiteral2357); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXCollectionLiteral" + + + // $ANTLR start "ruleXCollectionLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1140:1: ruleXCollectionLiteral : ( ( rule__XCollectionLiteral__Alternatives ) ) ; + public final void ruleXCollectionLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1144:2: ( ( ( rule__XCollectionLiteral__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1145:1: ( ( rule__XCollectionLiteral__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1145:1: ( ( rule__XCollectionLiteral__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1146:1: ( rule__XCollectionLiteral__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXCollectionLiteralAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1147:1: ( rule__XCollectionLiteral__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1147:2: rule__XCollectionLiteral__Alternatives + { + pushFollow(FOLLOW_rule__XCollectionLiteral__Alternatives_in_ruleXCollectionLiteral2383); + rule__XCollectionLiteral__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXCollectionLiteralAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXCollectionLiteral" + + + // $ANTLR start "entryRuleXSetLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1159:1: entryRuleXSetLiteral : ruleXSetLiteral EOF ; + public final void entryRuleXSetLiteral() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1160:1: ( ruleXSetLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1161:1: ruleXSetLiteral EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXSetLiteralRule()); + } + pushFollow(FOLLOW_ruleXSetLiteral_in_entryRuleXSetLiteral2410); + ruleXSetLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXSetLiteralRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXSetLiteral2417); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXSetLiteral" + + + // $ANTLR start "ruleXSetLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1168:1: ruleXSetLiteral : ( ( rule__XSetLiteral__Group__0 ) ) ; + public final void ruleXSetLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1172:2: ( ( ( rule__XSetLiteral__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1173:1: ( ( rule__XSetLiteral__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1173:1: ( ( rule__XSetLiteral__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1174:1: ( rule__XSetLiteral__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXSetLiteralAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1175:1: ( rule__XSetLiteral__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1175:2: rule__XSetLiteral__Group__0 + { + pushFollow(FOLLOW_rule__XSetLiteral__Group__0_in_ruleXSetLiteral2443); + rule__XSetLiteral__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXSetLiteralAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXSetLiteral" + + + // $ANTLR start "entryRuleXListLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1187:1: entryRuleXListLiteral : ruleXListLiteral EOF ; + public final void entryRuleXListLiteral() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1188:1: ( ruleXListLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1189:1: ruleXListLiteral EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXListLiteralRule()); + } + pushFollow(FOLLOW_ruleXListLiteral_in_entryRuleXListLiteral2470); + ruleXListLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXListLiteralRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXListLiteral2477); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXListLiteral" + + + // $ANTLR start "ruleXListLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1196:1: ruleXListLiteral : ( ( rule__XListLiteral__Group__0 ) ) ; + public final void ruleXListLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1200:2: ( ( ( rule__XListLiteral__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1201:1: ( ( rule__XListLiteral__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1201:1: ( ( rule__XListLiteral__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1202:1: ( rule__XListLiteral__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXListLiteralAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1203:1: ( rule__XListLiteral__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1203:2: rule__XListLiteral__Group__0 + { + pushFollow(FOLLOW_rule__XListLiteral__Group__0_in_ruleXListLiteral2503); + rule__XListLiteral__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXListLiteralAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXListLiteral" + + + // $ANTLR start "entryRuleXClosure" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1215:1: entryRuleXClosure : ruleXClosure EOF ; + public final void entryRuleXClosure() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1216:1: ( ruleXClosure EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1217:1: ruleXClosure EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXClosureRule()); + } + pushFollow(FOLLOW_ruleXClosure_in_entryRuleXClosure2530); + ruleXClosure(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXClosureRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXClosure2537); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXClosure" + + + // $ANTLR start "ruleXClosure" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1224:1: ruleXClosure : ( ( rule__XClosure__Group__0 ) ) ; + public final void ruleXClosure() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1228:2: ( ( ( rule__XClosure__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1229:1: ( ( rule__XClosure__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1229:1: ( ( rule__XClosure__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1230:1: ( rule__XClosure__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXClosureAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1231:1: ( rule__XClosure__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1231:2: rule__XClosure__Group__0 + { + pushFollow(FOLLOW_rule__XClosure__Group__0_in_ruleXClosure2563); + rule__XClosure__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXClosureAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXClosure" + + + // $ANTLR start "entryRuleXExpressionInClosure" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1243:1: entryRuleXExpressionInClosure : ruleXExpressionInClosure EOF ; + public final void entryRuleXExpressionInClosure() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1244:1: ( ruleXExpressionInClosure EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1245:1: ruleXExpressionInClosure EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXExpressionInClosureRule()); + } + pushFollow(FOLLOW_ruleXExpressionInClosure_in_entryRuleXExpressionInClosure2590); + ruleXExpressionInClosure(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXExpressionInClosureRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXExpressionInClosure2597); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXExpressionInClosure" + + + // $ANTLR start "ruleXExpressionInClosure" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1252:1: ruleXExpressionInClosure : ( ( rule__XExpressionInClosure__Group__0 ) ) ; + public final void ruleXExpressionInClosure() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1256:2: ( ( ( rule__XExpressionInClosure__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1257:1: ( ( rule__XExpressionInClosure__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1257:1: ( ( rule__XExpressionInClosure__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1258:1: ( rule__XExpressionInClosure__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXExpressionInClosureAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1259:1: ( rule__XExpressionInClosure__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1259:2: rule__XExpressionInClosure__Group__0 + { + pushFollow(FOLLOW_rule__XExpressionInClosure__Group__0_in_ruleXExpressionInClosure2623); + rule__XExpressionInClosure__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXExpressionInClosureAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXExpressionInClosure" + + + // $ANTLR start "entryRuleXShortClosure" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1271:1: entryRuleXShortClosure : ruleXShortClosure EOF ; + public final void entryRuleXShortClosure() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1272:1: ( ruleXShortClosure EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1273:1: ruleXShortClosure EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXShortClosureRule()); + } + pushFollow(FOLLOW_ruleXShortClosure_in_entryRuleXShortClosure2650); + ruleXShortClosure(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXShortClosureRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXShortClosure2657); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXShortClosure" + + + // $ANTLR start "ruleXShortClosure" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1280:1: ruleXShortClosure : ( ( rule__XShortClosure__Group__0 ) ) ; + public final void ruleXShortClosure() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1284:2: ( ( ( rule__XShortClosure__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1285:1: ( ( rule__XShortClosure__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1285:1: ( ( rule__XShortClosure__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1286:1: ( rule__XShortClosure__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXShortClosureAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1287:1: ( rule__XShortClosure__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1287:2: rule__XShortClosure__Group__0 + { + pushFollow(FOLLOW_rule__XShortClosure__Group__0_in_ruleXShortClosure2683); + rule__XShortClosure__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXShortClosureAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXShortClosure" + + + // $ANTLR start "entryRuleXParenthesizedExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1299:1: entryRuleXParenthesizedExpression : ruleXParenthesizedExpression EOF ; + public final void entryRuleXParenthesizedExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1300:1: ( ruleXParenthesizedExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1301:1: ruleXParenthesizedExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXParenthesizedExpressionRule()); + } + pushFollow(FOLLOW_ruleXParenthesizedExpression_in_entryRuleXParenthesizedExpression2710); + ruleXParenthesizedExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXParenthesizedExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXParenthesizedExpression2717); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXParenthesizedExpression" + + + // $ANTLR start "ruleXParenthesizedExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1308:1: ruleXParenthesizedExpression : ( ( rule__XParenthesizedExpression__Group__0 ) ) ; + public final void ruleXParenthesizedExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1312:2: ( ( ( rule__XParenthesizedExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1313:1: ( ( rule__XParenthesizedExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1313:1: ( ( rule__XParenthesizedExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1314:1: ( rule__XParenthesizedExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXParenthesizedExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1315:1: ( rule__XParenthesizedExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1315:2: rule__XParenthesizedExpression__Group__0 + { + pushFollow(FOLLOW_rule__XParenthesizedExpression__Group__0_in_ruleXParenthesizedExpression2743); + rule__XParenthesizedExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXParenthesizedExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXParenthesizedExpression" + + + // $ANTLR start "entryRuleXIfExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1327:1: entryRuleXIfExpression : ruleXIfExpression EOF ; + public final void entryRuleXIfExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1328:1: ( ruleXIfExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1329:1: ruleXIfExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXIfExpressionRule()); + } + pushFollow(FOLLOW_ruleXIfExpression_in_entryRuleXIfExpression2770); + ruleXIfExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXIfExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXIfExpression2777); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXIfExpression" + + + // $ANTLR start "ruleXIfExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1336:1: ruleXIfExpression : ( ( rule__XIfExpression__Group__0 ) ) ; + public final void ruleXIfExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1340:2: ( ( ( rule__XIfExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1341:1: ( ( rule__XIfExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1341:1: ( ( rule__XIfExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1342:1: ( rule__XIfExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXIfExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1343:1: ( rule__XIfExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1343:2: rule__XIfExpression__Group__0 + { + pushFollow(FOLLOW_rule__XIfExpression__Group__0_in_ruleXIfExpression2803); + rule__XIfExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXIfExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXIfExpression" + + + // $ANTLR start "entryRuleXSwitchExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1355:1: entryRuleXSwitchExpression : ruleXSwitchExpression EOF ; + public final void entryRuleXSwitchExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1356:1: ( ruleXSwitchExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1357:1: ruleXSwitchExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXSwitchExpressionRule()); + } + pushFollow(FOLLOW_ruleXSwitchExpression_in_entryRuleXSwitchExpression2830); + ruleXSwitchExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXSwitchExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXSwitchExpression2837); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXSwitchExpression" + + + // $ANTLR start "ruleXSwitchExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1364:1: ruleXSwitchExpression : ( ( rule__XSwitchExpression__Group__0 ) ) ; + public final void ruleXSwitchExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1368:2: ( ( ( rule__XSwitchExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1369:1: ( ( rule__XSwitchExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1369:1: ( ( rule__XSwitchExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1370:1: ( rule__XSwitchExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXSwitchExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1371:1: ( rule__XSwitchExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1371:2: rule__XSwitchExpression__Group__0 + { + pushFollow(FOLLOW_rule__XSwitchExpression__Group__0_in_ruleXSwitchExpression2863); + rule__XSwitchExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXSwitchExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXSwitchExpression" + + + // $ANTLR start "entryRuleXCasePart" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1383:1: entryRuleXCasePart : ruleXCasePart EOF ; + public final void entryRuleXCasePart() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1384:1: ( ruleXCasePart EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1385:1: ruleXCasePart EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXCasePartRule()); + } + pushFollow(FOLLOW_ruleXCasePart_in_entryRuleXCasePart2890); + ruleXCasePart(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXCasePartRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXCasePart2897); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXCasePart" + + + // $ANTLR start "ruleXCasePart" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1392:1: ruleXCasePart : ( ( rule__XCasePart__Group__0 ) ) ; + public final void ruleXCasePart() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1396:2: ( ( ( rule__XCasePart__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1397:1: ( ( rule__XCasePart__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1397:1: ( ( rule__XCasePart__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1398:1: ( rule__XCasePart__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXCasePartAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1399:1: ( rule__XCasePart__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1399:2: rule__XCasePart__Group__0 + { + pushFollow(FOLLOW_rule__XCasePart__Group__0_in_ruleXCasePart2923); + rule__XCasePart__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXCasePartAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXCasePart" + + + // $ANTLR start "entryRuleXForLoopExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1411:1: entryRuleXForLoopExpression : ruleXForLoopExpression EOF ; + public final void entryRuleXForLoopExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1412:1: ( ruleXForLoopExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1413:1: ruleXForLoopExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXForLoopExpressionRule()); + } + pushFollow(FOLLOW_ruleXForLoopExpression_in_entryRuleXForLoopExpression2950); + ruleXForLoopExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXForLoopExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXForLoopExpression2957); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXForLoopExpression" + + + // $ANTLR start "ruleXForLoopExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1420:1: ruleXForLoopExpression : ( ( rule__XForLoopExpression__Group__0 ) ) ; + public final void ruleXForLoopExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1424:2: ( ( ( rule__XForLoopExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1425:1: ( ( rule__XForLoopExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1425:1: ( ( rule__XForLoopExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1426:1: ( rule__XForLoopExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXForLoopExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1427:1: ( rule__XForLoopExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1427:2: rule__XForLoopExpression__Group__0 + { + pushFollow(FOLLOW_rule__XForLoopExpression__Group__0_in_ruleXForLoopExpression2983); + rule__XForLoopExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXForLoopExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXForLoopExpression" + + + // $ANTLR start "entryRuleXBasicForLoopExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1439:1: entryRuleXBasicForLoopExpression : ruleXBasicForLoopExpression EOF ; + public final void entryRuleXBasicForLoopExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1440:1: ( ruleXBasicForLoopExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1441:1: ruleXBasicForLoopExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXBasicForLoopExpressionRule()); + } + pushFollow(FOLLOW_ruleXBasicForLoopExpression_in_entryRuleXBasicForLoopExpression3010); + ruleXBasicForLoopExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXBasicForLoopExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXBasicForLoopExpression3017); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXBasicForLoopExpression" + + + // $ANTLR start "ruleXBasicForLoopExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1448:1: ruleXBasicForLoopExpression : ( ( rule__XBasicForLoopExpression__Group__0 ) ) ; + public final void ruleXBasicForLoopExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1452:2: ( ( ( rule__XBasicForLoopExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1453:1: ( ( rule__XBasicForLoopExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1453:1: ( ( rule__XBasicForLoopExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1454:1: ( rule__XBasicForLoopExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXBasicForLoopExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1455:1: ( rule__XBasicForLoopExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1455:2: rule__XBasicForLoopExpression__Group__0 + { + pushFollow(FOLLOW_rule__XBasicForLoopExpression__Group__0_in_ruleXBasicForLoopExpression3043); + rule__XBasicForLoopExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXBasicForLoopExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXBasicForLoopExpression" + + + // $ANTLR start "entryRuleXWhileExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1467:1: entryRuleXWhileExpression : ruleXWhileExpression EOF ; + public final void entryRuleXWhileExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1468:1: ( ruleXWhileExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1469:1: ruleXWhileExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXWhileExpressionRule()); + } + pushFollow(FOLLOW_ruleXWhileExpression_in_entryRuleXWhileExpression3070); + ruleXWhileExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXWhileExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXWhileExpression3077); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXWhileExpression" + + + // $ANTLR start "ruleXWhileExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1476:1: ruleXWhileExpression : ( ( rule__XWhileExpression__Group__0 ) ) ; + public final void ruleXWhileExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1480:2: ( ( ( rule__XWhileExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1481:1: ( ( rule__XWhileExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1481:1: ( ( rule__XWhileExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1482:1: ( rule__XWhileExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXWhileExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1483:1: ( rule__XWhileExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1483:2: rule__XWhileExpression__Group__0 + { + pushFollow(FOLLOW_rule__XWhileExpression__Group__0_in_ruleXWhileExpression3103); + rule__XWhileExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXWhileExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXWhileExpression" + + + // $ANTLR start "entryRuleXDoWhileExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1495:1: entryRuleXDoWhileExpression : ruleXDoWhileExpression EOF ; + public final void entryRuleXDoWhileExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1496:1: ( ruleXDoWhileExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1497:1: ruleXDoWhileExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXDoWhileExpressionRule()); + } + pushFollow(FOLLOW_ruleXDoWhileExpression_in_entryRuleXDoWhileExpression3130); + ruleXDoWhileExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXDoWhileExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXDoWhileExpression3137); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXDoWhileExpression" + + + // $ANTLR start "ruleXDoWhileExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1504:1: ruleXDoWhileExpression : ( ( rule__XDoWhileExpression__Group__0 ) ) ; + public final void ruleXDoWhileExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1508:2: ( ( ( rule__XDoWhileExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1509:1: ( ( rule__XDoWhileExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1509:1: ( ( rule__XDoWhileExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1510:1: ( rule__XDoWhileExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXDoWhileExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1511:1: ( rule__XDoWhileExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1511:2: rule__XDoWhileExpression__Group__0 + { + pushFollow(FOLLOW_rule__XDoWhileExpression__Group__0_in_ruleXDoWhileExpression3163); + rule__XDoWhileExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXDoWhileExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXDoWhileExpression" + + + // $ANTLR start "entryRuleXBlockExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1523:1: entryRuleXBlockExpression : ruleXBlockExpression EOF ; + public final void entryRuleXBlockExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1524:1: ( ruleXBlockExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1525:1: ruleXBlockExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXBlockExpressionRule()); + } + pushFollow(FOLLOW_ruleXBlockExpression_in_entryRuleXBlockExpression3190); + ruleXBlockExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXBlockExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXBlockExpression3197); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXBlockExpression" + + + // $ANTLR start "ruleXBlockExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1532:1: ruleXBlockExpression : ( ( rule__XBlockExpression__Group__0 ) ) ; + public final void ruleXBlockExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1536:2: ( ( ( rule__XBlockExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1537:1: ( ( rule__XBlockExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1537:1: ( ( rule__XBlockExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1538:1: ( rule__XBlockExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXBlockExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1539:1: ( rule__XBlockExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1539:2: rule__XBlockExpression__Group__0 + { + pushFollow(FOLLOW_rule__XBlockExpression__Group__0_in_ruleXBlockExpression3223); + rule__XBlockExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXBlockExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXBlockExpression" + + + // $ANTLR start "entryRuleXExpressionOrVarDeclaration" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1551:1: entryRuleXExpressionOrVarDeclaration : ruleXExpressionOrVarDeclaration EOF ; + public final void entryRuleXExpressionOrVarDeclaration() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1552:1: ( ruleXExpressionOrVarDeclaration EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1553:1: ruleXExpressionOrVarDeclaration EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXExpressionOrVarDeclarationRule()); + } + pushFollow(FOLLOW_ruleXExpressionOrVarDeclaration_in_entryRuleXExpressionOrVarDeclaration3250); + ruleXExpressionOrVarDeclaration(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXExpressionOrVarDeclarationRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXExpressionOrVarDeclaration3257); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXExpressionOrVarDeclaration" + + + // $ANTLR start "ruleXExpressionOrVarDeclaration" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1560:1: ruleXExpressionOrVarDeclaration : ( ( rule__XExpressionOrVarDeclaration__Alternatives ) ) ; + public final void ruleXExpressionOrVarDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1564:2: ( ( ( rule__XExpressionOrVarDeclaration__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1565:1: ( ( rule__XExpressionOrVarDeclaration__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1565:1: ( ( rule__XExpressionOrVarDeclaration__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1566:1: ( rule__XExpressionOrVarDeclaration__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1567:1: ( rule__XExpressionOrVarDeclaration__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1567:2: rule__XExpressionOrVarDeclaration__Alternatives + { + pushFollow(FOLLOW_rule__XExpressionOrVarDeclaration__Alternatives_in_ruleXExpressionOrVarDeclaration3283); + rule__XExpressionOrVarDeclaration__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXExpressionOrVarDeclaration" + + + // $ANTLR start "entryRuleXVariableDeclaration" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1579:1: entryRuleXVariableDeclaration : ruleXVariableDeclaration EOF ; + public final void entryRuleXVariableDeclaration() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1580:1: ( ruleXVariableDeclaration EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1581:1: ruleXVariableDeclaration EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXVariableDeclarationRule()); + } + pushFollow(FOLLOW_ruleXVariableDeclaration_in_entryRuleXVariableDeclaration3310); + ruleXVariableDeclaration(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXVariableDeclarationRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXVariableDeclaration3317); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXVariableDeclaration" + + + // $ANTLR start "ruleXVariableDeclaration" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1588:1: ruleXVariableDeclaration : ( ( rule__XVariableDeclaration__Group__0 ) ) ; + public final void ruleXVariableDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1592:2: ( ( ( rule__XVariableDeclaration__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1593:1: ( ( rule__XVariableDeclaration__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1593:1: ( ( rule__XVariableDeclaration__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1594:1: ( rule__XVariableDeclaration__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXVariableDeclarationAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1595:1: ( rule__XVariableDeclaration__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1595:2: rule__XVariableDeclaration__Group__0 + { + pushFollow(FOLLOW_rule__XVariableDeclaration__Group__0_in_ruleXVariableDeclaration3343); + rule__XVariableDeclaration__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXVariableDeclarationAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXVariableDeclaration" + + + // $ANTLR start "entryRuleJvmFormalParameter" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1607:1: entryRuleJvmFormalParameter : ruleJvmFormalParameter EOF ; + public final void entryRuleJvmFormalParameter() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1608:1: ( ruleJvmFormalParameter EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1609:1: ruleJvmFormalParameter EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmFormalParameterRule()); + } + pushFollow(FOLLOW_ruleJvmFormalParameter_in_entryRuleJvmFormalParameter3370); + ruleJvmFormalParameter(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmFormalParameterRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleJvmFormalParameter3377); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleJvmFormalParameter" + + + // $ANTLR start "ruleJvmFormalParameter" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1616:1: ruleJvmFormalParameter : ( ( rule__JvmFormalParameter__Group__0 ) ) ; + public final void ruleJvmFormalParameter() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1620:2: ( ( ( rule__JvmFormalParameter__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1621:1: ( ( rule__JvmFormalParameter__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1621:1: ( ( rule__JvmFormalParameter__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1622:1: ( rule__JvmFormalParameter__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmFormalParameterAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1623:1: ( rule__JvmFormalParameter__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1623:2: rule__JvmFormalParameter__Group__0 + { + pushFollow(FOLLOW_rule__JvmFormalParameter__Group__0_in_ruleJvmFormalParameter3403); + rule__JvmFormalParameter__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmFormalParameterAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleJvmFormalParameter" + + + // $ANTLR start "entryRuleFullJvmFormalParameter" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1635:1: entryRuleFullJvmFormalParameter : ruleFullJvmFormalParameter EOF ; + public final void entryRuleFullJvmFormalParameter() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1636:1: ( ruleFullJvmFormalParameter EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1637:1: ruleFullJvmFormalParameter EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getFullJvmFormalParameterRule()); + } + pushFollow(FOLLOW_ruleFullJvmFormalParameter_in_entryRuleFullJvmFormalParameter3430); + ruleFullJvmFormalParameter(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getFullJvmFormalParameterRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleFullJvmFormalParameter3437); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFullJvmFormalParameter" + + + // $ANTLR start "ruleFullJvmFormalParameter" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1644:1: ruleFullJvmFormalParameter : ( ( rule__FullJvmFormalParameter__Group__0 ) ) ; + public final void ruleFullJvmFormalParameter() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1648:2: ( ( ( rule__FullJvmFormalParameter__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1649:1: ( ( rule__FullJvmFormalParameter__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1649:1: ( ( rule__FullJvmFormalParameter__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1650:1: ( rule__FullJvmFormalParameter__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getFullJvmFormalParameterAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1651:1: ( rule__FullJvmFormalParameter__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1651:2: rule__FullJvmFormalParameter__Group__0 + { + pushFollow(FOLLOW_rule__FullJvmFormalParameter__Group__0_in_ruleFullJvmFormalParameter3463); + rule__FullJvmFormalParameter__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getFullJvmFormalParameterAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFullJvmFormalParameter" + + + // $ANTLR start "entryRuleXFeatureCall" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1663:1: entryRuleXFeatureCall : ruleXFeatureCall EOF ; + public final void entryRuleXFeatureCall() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1664:1: ( ruleXFeatureCall EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1665:1: ruleXFeatureCall EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXFeatureCallRule()); + } + pushFollow(FOLLOW_ruleXFeatureCall_in_entryRuleXFeatureCall3490); + ruleXFeatureCall(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXFeatureCallRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXFeatureCall3497); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXFeatureCall" + + + // $ANTLR start "ruleXFeatureCall" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1672:1: ruleXFeatureCall : ( ( rule__XFeatureCall__Group__0 ) ) ; + public final void ruleXFeatureCall() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1676:2: ( ( ( rule__XFeatureCall__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1677:1: ( ( rule__XFeatureCall__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1677:1: ( ( rule__XFeatureCall__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1678:1: ( rule__XFeatureCall__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXFeatureCallAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1679:1: ( rule__XFeatureCall__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1679:2: rule__XFeatureCall__Group__0 + { + pushFollow(FOLLOW_rule__XFeatureCall__Group__0_in_ruleXFeatureCall3523); + rule__XFeatureCall__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXFeatureCallAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXFeatureCall" + + + // $ANTLR start "entryRuleFeatureCallID" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1691:1: entryRuleFeatureCallID : ruleFeatureCallID EOF ; + public final void entryRuleFeatureCallID() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1692:1: ( ruleFeatureCallID EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1693:1: ruleFeatureCallID EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getFeatureCallIDRule()); + } + pushFollow(FOLLOW_ruleFeatureCallID_in_entryRuleFeatureCallID3550); + ruleFeatureCallID(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getFeatureCallIDRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleFeatureCallID3557); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFeatureCallID" + + + // $ANTLR start "ruleFeatureCallID" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1700:1: ruleFeatureCallID : ( ( rule__FeatureCallID__Alternatives ) ) ; + public final void ruleFeatureCallID() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1704:2: ( ( ( rule__FeatureCallID__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1705:1: ( ( rule__FeatureCallID__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1705:1: ( ( rule__FeatureCallID__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1706:1: ( rule__FeatureCallID__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getFeatureCallIDAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1707:1: ( rule__FeatureCallID__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1707:2: rule__FeatureCallID__Alternatives + { + pushFollow(FOLLOW_rule__FeatureCallID__Alternatives_in_ruleFeatureCallID3583); + rule__FeatureCallID__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getFeatureCallIDAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFeatureCallID" + + + // $ANTLR start "entryRuleIdOrSuper" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1719:1: entryRuleIdOrSuper : ruleIdOrSuper EOF ; + public final void entryRuleIdOrSuper() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1720:1: ( ruleIdOrSuper EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1721:1: ruleIdOrSuper EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIdOrSuperRule()); + } + pushFollow(FOLLOW_ruleIdOrSuper_in_entryRuleIdOrSuper3610); + ruleIdOrSuper(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIdOrSuperRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleIdOrSuper3617); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleIdOrSuper" + + + // $ANTLR start "ruleIdOrSuper" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1728:1: ruleIdOrSuper : ( ( rule__IdOrSuper__Alternatives ) ) ; + public final void ruleIdOrSuper() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1732:2: ( ( ( rule__IdOrSuper__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1733:1: ( ( rule__IdOrSuper__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1733:1: ( ( rule__IdOrSuper__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1734:1: ( rule__IdOrSuper__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIdOrSuperAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1735:1: ( rule__IdOrSuper__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1735:2: rule__IdOrSuper__Alternatives + { + pushFollow(FOLLOW_rule__IdOrSuper__Alternatives_in_ruleIdOrSuper3643); + rule__IdOrSuper__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getIdOrSuperAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleIdOrSuper" + + + // $ANTLR start "entryRuleXConstructorCall" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1747:1: entryRuleXConstructorCall : ruleXConstructorCall EOF ; + public final void entryRuleXConstructorCall() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1748:1: ( ruleXConstructorCall EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1749:1: ruleXConstructorCall EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXConstructorCallRule()); + } + pushFollow(FOLLOW_ruleXConstructorCall_in_entryRuleXConstructorCall3670); + ruleXConstructorCall(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXConstructorCallRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXConstructorCall3677); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXConstructorCall" + + + // $ANTLR start "ruleXConstructorCall" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1756:1: ruleXConstructorCall : ( ( rule__XConstructorCall__Group__0 ) ) ; + public final void ruleXConstructorCall() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1760:2: ( ( ( rule__XConstructorCall__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1761:1: ( ( rule__XConstructorCall__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1761:1: ( ( rule__XConstructorCall__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1762:1: ( rule__XConstructorCall__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXConstructorCallAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1763:1: ( rule__XConstructorCall__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1763:2: rule__XConstructorCall__Group__0 + { + pushFollow(FOLLOW_rule__XConstructorCall__Group__0_in_ruleXConstructorCall3703); + rule__XConstructorCall__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXConstructorCallAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXConstructorCall" + + + // $ANTLR start "entryRuleXBooleanLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1775:1: entryRuleXBooleanLiteral : ruleXBooleanLiteral EOF ; + public final void entryRuleXBooleanLiteral() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1776:1: ( ruleXBooleanLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1777:1: ruleXBooleanLiteral EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXBooleanLiteralRule()); + } + pushFollow(FOLLOW_ruleXBooleanLiteral_in_entryRuleXBooleanLiteral3730); + ruleXBooleanLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXBooleanLiteralRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXBooleanLiteral3737); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXBooleanLiteral" + + + // $ANTLR start "ruleXBooleanLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1784:1: ruleXBooleanLiteral : ( ( rule__XBooleanLiteral__Group__0 ) ) ; + public final void ruleXBooleanLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1788:2: ( ( ( rule__XBooleanLiteral__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1789:1: ( ( rule__XBooleanLiteral__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1789:1: ( ( rule__XBooleanLiteral__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1790:1: ( rule__XBooleanLiteral__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXBooleanLiteralAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1791:1: ( rule__XBooleanLiteral__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1791:2: rule__XBooleanLiteral__Group__0 + { + pushFollow(FOLLOW_rule__XBooleanLiteral__Group__0_in_ruleXBooleanLiteral3763); + rule__XBooleanLiteral__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXBooleanLiteralAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXBooleanLiteral" + + + // $ANTLR start "entryRuleXNullLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1803:1: entryRuleXNullLiteral : ruleXNullLiteral EOF ; + public final void entryRuleXNullLiteral() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1804:1: ( ruleXNullLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1805:1: ruleXNullLiteral EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXNullLiteralRule()); + } + pushFollow(FOLLOW_ruleXNullLiteral_in_entryRuleXNullLiteral3790); + ruleXNullLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXNullLiteralRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXNullLiteral3797); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXNullLiteral" + + + // $ANTLR start "ruleXNullLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1812:1: ruleXNullLiteral : ( ( rule__XNullLiteral__Group__0 ) ) ; + public final void ruleXNullLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1816:2: ( ( ( rule__XNullLiteral__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1817:1: ( ( rule__XNullLiteral__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1817:1: ( ( rule__XNullLiteral__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1818:1: ( rule__XNullLiteral__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXNullLiteralAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1819:1: ( rule__XNullLiteral__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1819:2: rule__XNullLiteral__Group__0 + { + pushFollow(FOLLOW_rule__XNullLiteral__Group__0_in_ruleXNullLiteral3823); + rule__XNullLiteral__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXNullLiteralAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXNullLiteral" + + + // $ANTLR start "entryRuleXNumberLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1831:1: entryRuleXNumberLiteral : ruleXNumberLiteral EOF ; + public final void entryRuleXNumberLiteral() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1832:1: ( ruleXNumberLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1833:1: ruleXNumberLiteral EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXNumberLiteralRule()); + } + pushFollow(FOLLOW_ruleXNumberLiteral_in_entryRuleXNumberLiteral3850); + ruleXNumberLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXNumberLiteralRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXNumberLiteral3857); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXNumberLiteral" + + + // $ANTLR start "ruleXNumberLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1840:1: ruleXNumberLiteral : ( ( rule__XNumberLiteral__Group__0 ) ) ; + public final void ruleXNumberLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1844:2: ( ( ( rule__XNumberLiteral__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1845:1: ( ( rule__XNumberLiteral__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1845:1: ( ( rule__XNumberLiteral__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1846:1: ( rule__XNumberLiteral__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXNumberLiteralAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1847:1: ( rule__XNumberLiteral__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1847:2: rule__XNumberLiteral__Group__0 + { + pushFollow(FOLLOW_rule__XNumberLiteral__Group__0_in_ruleXNumberLiteral3883); + rule__XNumberLiteral__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXNumberLiteralAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXNumberLiteral" + + + // $ANTLR start "entryRuleXStringLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1859:1: entryRuleXStringLiteral : ruleXStringLiteral EOF ; + public final void entryRuleXStringLiteral() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1860:1: ( ruleXStringLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1861:1: ruleXStringLiteral EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXStringLiteralRule()); + } + pushFollow(FOLLOW_ruleXStringLiteral_in_entryRuleXStringLiteral3910); + ruleXStringLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXStringLiteralRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXStringLiteral3917); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXStringLiteral" + + + // $ANTLR start "ruleXStringLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1868:1: ruleXStringLiteral : ( ( rule__XStringLiteral__Group__0 ) ) ; + public final void ruleXStringLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1872:2: ( ( ( rule__XStringLiteral__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1873:1: ( ( rule__XStringLiteral__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1873:1: ( ( rule__XStringLiteral__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1874:1: ( rule__XStringLiteral__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXStringLiteralAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1875:1: ( rule__XStringLiteral__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1875:2: rule__XStringLiteral__Group__0 + { + pushFollow(FOLLOW_rule__XStringLiteral__Group__0_in_ruleXStringLiteral3943); + rule__XStringLiteral__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXStringLiteralAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXStringLiteral" + + + // $ANTLR start "entryRuleXTypeLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1887:1: entryRuleXTypeLiteral : ruleXTypeLiteral EOF ; + public final void entryRuleXTypeLiteral() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1888:1: ( ruleXTypeLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1889:1: ruleXTypeLiteral EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXTypeLiteralRule()); + } + pushFollow(FOLLOW_ruleXTypeLiteral_in_entryRuleXTypeLiteral3970); + ruleXTypeLiteral(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXTypeLiteralRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXTypeLiteral3977); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXTypeLiteral" + + + // $ANTLR start "ruleXTypeLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1896:1: ruleXTypeLiteral : ( ( rule__XTypeLiteral__Group__0 ) ) ; + public final void ruleXTypeLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1900:2: ( ( ( rule__XTypeLiteral__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1901:1: ( ( rule__XTypeLiteral__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1901:1: ( ( rule__XTypeLiteral__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1902:1: ( rule__XTypeLiteral__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXTypeLiteralAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1903:1: ( rule__XTypeLiteral__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1903:2: rule__XTypeLiteral__Group__0 + { + pushFollow(FOLLOW_rule__XTypeLiteral__Group__0_in_ruleXTypeLiteral4003); + rule__XTypeLiteral__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXTypeLiteralAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXTypeLiteral" + + + // $ANTLR start "entryRuleXThrowExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1915:1: entryRuleXThrowExpression : ruleXThrowExpression EOF ; + public final void entryRuleXThrowExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1916:1: ( ruleXThrowExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1917:1: ruleXThrowExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXThrowExpressionRule()); + } + pushFollow(FOLLOW_ruleXThrowExpression_in_entryRuleXThrowExpression4030); + ruleXThrowExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXThrowExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXThrowExpression4037); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXThrowExpression" + + + // $ANTLR start "ruleXThrowExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1924:1: ruleXThrowExpression : ( ( rule__XThrowExpression__Group__0 ) ) ; + public final void ruleXThrowExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1928:2: ( ( ( rule__XThrowExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1929:1: ( ( rule__XThrowExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1929:1: ( ( rule__XThrowExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1930:1: ( rule__XThrowExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXThrowExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1931:1: ( rule__XThrowExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1931:2: rule__XThrowExpression__Group__0 + { + pushFollow(FOLLOW_rule__XThrowExpression__Group__0_in_ruleXThrowExpression4063); + rule__XThrowExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXThrowExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXThrowExpression" + + + // $ANTLR start "entryRuleXReturnExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1943:1: entryRuleXReturnExpression : ruleXReturnExpression EOF ; + public final void entryRuleXReturnExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1944:1: ( ruleXReturnExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1945:1: ruleXReturnExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXReturnExpressionRule()); + } + pushFollow(FOLLOW_ruleXReturnExpression_in_entryRuleXReturnExpression4090); + ruleXReturnExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXReturnExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXReturnExpression4097); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXReturnExpression" + + + // $ANTLR start "ruleXReturnExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1952:1: ruleXReturnExpression : ( ( rule__XReturnExpression__Group__0 ) ) ; + public final void ruleXReturnExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1956:2: ( ( ( rule__XReturnExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1957:1: ( ( rule__XReturnExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1957:1: ( ( rule__XReturnExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1958:1: ( rule__XReturnExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXReturnExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1959:1: ( rule__XReturnExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1959:2: rule__XReturnExpression__Group__0 + { + pushFollow(FOLLOW_rule__XReturnExpression__Group__0_in_ruleXReturnExpression4123); + rule__XReturnExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXReturnExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXReturnExpression" + + + // $ANTLR start "entryRuleXTryCatchFinallyExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1971:1: entryRuleXTryCatchFinallyExpression : ruleXTryCatchFinallyExpression EOF ; + public final void entryRuleXTryCatchFinallyExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1972:1: ( ruleXTryCatchFinallyExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1973:1: ruleXTryCatchFinallyExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXTryCatchFinallyExpressionRule()); + } + pushFollow(FOLLOW_ruleXTryCatchFinallyExpression_in_entryRuleXTryCatchFinallyExpression4150); + ruleXTryCatchFinallyExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXTryCatchFinallyExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXTryCatchFinallyExpression4157); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXTryCatchFinallyExpression" + + + // $ANTLR start "ruleXTryCatchFinallyExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1980:1: ruleXTryCatchFinallyExpression : ( ( rule__XTryCatchFinallyExpression__Group__0 ) ) ; + public final void ruleXTryCatchFinallyExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1984:2: ( ( ( rule__XTryCatchFinallyExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1985:1: ( ( rule__XTryCatchFinallyExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1985:1: ( ( rule__XTryCatchFinallyExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1986:1: ( rule__XTryCatchFinallyExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1987:1: ( rule__XTryCatchFinallyExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1987:2: rule__XTryCatchFinallyExpression__Group__0 + { + pushFollow(FOLLOW_rule__XTryCatchFinallyExpression__Group__0_in_ruleXTryCatchFinallyExpression4183); + rule__XTryCatchFinallyExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXTryCatchFinallyExpression" + + + // $ANTLR start "entryRuleXSynchronizedExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:1999:1: entryRuleXSynchronizedExpression : ruleXSynchronizedExpression EOF ; + public final void entryRuleXSynchronizedExpression() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2000:1: ( ruleXSynchronizedExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2001:1: ruleXSynchronizedExpression EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXSynchronizedExpressionRule()); + } + pushFollow(FOLLOW_ruleXSynchronizedExpression_in_entryRuleXSynchronizedExpression4210); + ruleXSynchronizedExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXSynchronizedExpressionRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXSynchronizedExpression4217); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXSynchronizedExpression" + + + // $ANTLR start "ruleXSynchronizedExpression" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2008:1: ruleXSynchronizedExpression : ( ( rule__XSynchronizedExpression__Group__0 ) ) ; + public final void ruleXSynchronizedExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2012:2: ( ( ( rule__XSynchronizedExpression__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2013:1: ( ( rule__XSynchronizedExpression__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2013:1: ( ( rule__XSynchronizedExpression__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2014:1: ( rule__XSynchronizedExpression__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXSynchronizedExpressionAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2015:1: ( rule__XSynchronizedExpression__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2015:2: rule__XSynchronizedExpression__Group__0 + { + pushFollow(FOLLOW_rule__XSynchronizedExpression__Group__0_in_ruleXSynchronizedExpression4243); + rule__XSynchronizedExpression__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXSynchronizedExpressionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXSynchronizedExpression" + + + // $ANTLR start "entryRuleXCatchClause" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2027:1: entryRuleXCatchClause : ruleXCatchClause EOF ; + public final void entryRuleXCatchClause() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2028:1: ( ruleXCatchClause EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2029:1: ruleXCatchClause EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXCatchClauseRule()); + } + pushFollow(FOLLOW_ruleXCatchClause_in_entryRuleXCatchClause4270); + ruleXCatchClause(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXCatchClauseRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXCatchClause4277); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXCatchClause" + + + // $ANTLR start "ruleXCatchClause" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2036:1: ruleXCatchClause : ( ( rule__XCatchClause__Group__0 ) ) ; + public final void ruleXCatchClause() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2040:2: ( ( ( rule__XCatchClause__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2041:1: ( ( rule__XCatchClause__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2041:1: ( ( rule__XCatchClause__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2042:1: ( rule__XCatchClause__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXCatchClauseAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2043:1: ( rule__XCatchClause__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2043:2: rule__XCatchClause__Group__0 + { + pushFollow(FOLLOW_rule__XCatchClause__Group__0_in_ruleXCatchClause4303); + rule__XCatchClause__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXCatchClauseAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXCatchClause" + + + // $ANTLR start "entryRuleQualifiedName" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2055:1: entryRuleQualifiedName : ruleQualifiedName EOF ; + public final void entryRuleQualifiedName() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2056:1: ( ruleQualifiedName EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2057:1: ruleQualifiedName EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameRule()); + } + pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName4330); + ruleQualifiedName(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName4337); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleQualifiedName" + + + // $ANTLR start "ruleQualifiedName" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2064:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; + public final void ruleQualifiedName() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2068:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2069:1: ( ( rule__QualifiedName__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2069:1: ( ( rule__QualifiedName__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2070:1: ( rule__QualifiedName__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2071:1: ( rule__QualifiedName__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2071:2: rule__QualifiedName__Group__0 + { + pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName4363); + rule__QualifiedName__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleQualifiedName" + + + // $ANTLR start "entryRuleNumber" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2083:1: entryRuleNumber : ruleNumber EOF ; + public final void entryRuleNumber() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2087:1: ( ruleNumber EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2088:1: ruleNumber EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getNumberRule()); + } + pushFollow(FOLLOW_ruleNumber_in_entryRuleNumber4395); + ruleNumber(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getNumberRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleNumber4402); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "entryRuleNumber" + + + // $ANTLR start "ruleNumber" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2098:1: ruleNumber : ( ( rule__Number__Alternatives ) ) ; + public final void ruleNumber() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2103:2: ( ( ( rule__Number__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2104:1: ( ( rule__Number__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2104:1: ( ( rule__Number__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2105:1: ( rule__Number__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getNumberAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2106:1: ( rule__Number__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2106:2: rule__Number__Alternatives + { + pushFollow(FOLLOW_rule__Number__Alternatives_in_ruleNumber4432); + rule__Number__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getNumberAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "ruleNumber" + + + // $ANTLR start "entryRuleJvmTypeReference" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2121:1: entryRuleJvmTypeReference : ruleJvmTypeReference EOF ; + public final void entryRuleJvmTypeReference() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2122:1: ( ruleJvmTypeReference EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2123:1: ruleJvmTypeReference EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmTypeReferenceRule()); + } + pushFollow(FOLLOW_ruleJvmTypeReference_in_entryRuleJvmTypeReference4461); + ruleJvmTypeReference(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmTypeReferenceRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleJvmTypeReference4468); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleJvmTypeReference" + + + // $ANTLR start "ruleJvmTypeReference" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2130:1: ruleJvmTypeReference : ( ( rule__JvmTypeReference__Alternatives ) ) ; + public final void ruleJvmTypeReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2134:2: ( ( ( rule__JvmTypeReference__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2135:1: ( ( rule__JvmTypeReference__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2135:1: ( ( rule__JvmTypeReference__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2136:1: ( rule__JvmTypeReference__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmTypeReferenceAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2137:1: ( rule__JvmTypeReference__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2137:2: rule__JvmTypeReference__Alternatives + { + pushFollow(FOLLOW_rule__JvmTypeReference__Alternatives_in_ruleJvmTypeReference4494); + rule__JvmTypeReference__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmTypeReferenceAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleJvmTypeReference" + + + // $ANTLR start "entryRuleArrayBrackets" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2149:1: entryRuleArrayBrackets : ruleArrayBrackets EOF ; + public final void entryRuleArrayBrackets() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2150:1: ( ruleArrayBrackets EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2151:1: ruleArrayBrackets EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getArrayBracketsRule()); + } + pushFollow(FOLLOW_ruleArrayBrackets_in_entryRuleArrayBrackets4521); + ruleArrayBrackets(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getArrayBracketsRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleArrayBrackets4528); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleArrayBrackets" + + + // $ANTLR start "ruleArrayBrackets" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2158:1: ruleArrayBrackets : ( ( rule__ArrayBrackets__Group__0 ) ) ; + public final void ruleArrayBrackets() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2162:2: ( ( ( rule__ArrayBrackets__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2163:1: ( ( rule__ArrayBrackets__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2163:1: ( ( rule__ArrayBrackets__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2164:1: ( rule__ArrayBrackets__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getArrayBracketsAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2165:1: ( rule__ArrayBrackets__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2165:2: rule__ArrayBrackets__Group__0 + { + pushFollow(FOLLOW_rule__ArrayBrackets__Group__0_in_ruleArrayBrackets4554); + rule__ArrayBrackets__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getArrayBracketsAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleArrayBrackets" + + + // $ANTLR start "entryRuleXFunctionTypeRef" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2177:1: entryRuleXFunctionTypeRef : ruleXFunctionTypeRef EOF ; + public final void entryRuleXFunctionTypeRef() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2178:1: ( ruleXFunctionTypeRef EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2179:1: ruleXFunctionTypeRef EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXFunctionTypeRefRule()); + } + pushFollow(FOLLOW_ruleXFunctionTypeRef_in_entryRuleXFunctionTypeRef4581); + ruleXFunctionTypeRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXFunctionTypeRefRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXFunctionTypeRef4588); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXFunctionTypeRef" + + + // $ANTLR start "ruleXFunctionTypeRef" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2186:1: ruleXFunctionTypeRef : ( ( rule__XFunctionTypeRef__Group__0 ) ) ; + public final void ruleXFunctionTypeRef() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2190:2: ( ( ( rule__XFunctionTypeRef__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2191:1: ( ( rule__XFunctionTypeRef__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2191:1: ( ( rule__XFunctionTypeRef__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2192:1: ( rule__XFunctionTypeRef__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXFunctionTypeRefAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2193:1: ( rule__XFunctionTypeRef__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2193:2: rule__XFunctionTypeRef__Group__0 + { + pushFollow(FOLLOW_rule__XFunctionTypeRef__Group__0_in_ruleXFunctionTypeRef4614); + rule__XFunctionTypeRef__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXFunctionTypeRefAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXFunctionTypeRef" + + + // $ANTLR start "entryRuleJvmParameterizedTypeReference" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2205:1: entryRuleJvmParameterizedTypeReference : ruleJvmParameterizedTypeReference EOF ; + public final void entryRuleJvmParameterizedTypeReference() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2206:1: ( ruleJvmParameterizedTypeReference EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2207:1: ruleJvmParameterizedTypeReference EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmParameterizedTypeReferenceRule()); + } + pushFollow(FOLLOW_ruleJvmParameterizedTypeReference_in_entryRuleJvmParameterizedTypeReference4641); + ruleJvmParameterizedTypeReference(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmParameterizedTypeReferenceRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleJvmParameterizedTypeReference4648); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleJvmParameterizedTypeReference" + + + // $ANTLR start "ruleJvmParameterizedTypeReference" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2214:1: ruleJvmParameterizedTypeReference : ( ( rule__JvmParameterizedTypeReference__Group__0 ) ) ; + public final void ruleJvmParameterizedTypeReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2218:2: ( ( ( rule__JvmParameterizedTypeReference__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2219:1: ( ( rule__JvmParameterizedTypeReference__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2219:1: ( ( rule__JvmParameterizedTypeReference__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2220:1: ( rule__JvmParameterizedTypeReference__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2221:1: ( rule__JvmParameterizedTypeReference__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2221:2: rule__JvmParameterizedTypeReference__Group__0 + { + pushFollow(FOLLOW_rule__JvmParameterizedTypeReference__Group__0_in_ruleJvmParameterizedTypeReference4674); + rule__JvmParameterizedTypeReference__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleJvmParameterizedTypeReference" + + + // $ANTLR start "entryRuleJvmArgumentTypeReference" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2233:1: entryRuleJvmArgumentTypeReference : ruleJvmArgumentTypeReference EOF ; + public final void entryRuleJvmArgumentTypeReference() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2234:1: ( ruleJvmArgumentTypeReference EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2235:1: ruleJvmArgumentTypeReference EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmArgumentTypeReferenceRule()); + } + pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_entryRuleJvmArgumentTypeReference4701); + ruleJvmArgumentTypeReference(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmArgumentTypeReferenceRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleJvmArgumentTypeReference4708); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleJvmArgumentTypeReference" + + + // $ANTLR start "ruleJvmArgumentTypeReference" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2242:1: ruleJvmArgumentTypeReference : ( ( rule__JvmArgumentTypeReference__Alternatives ) ) ; + public final void ruleJvmArgumentTypeReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2246:2: ( ( ( rule__JvmArgumentTypeReference__Alternatives ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2247:1: ( ( rule__JvmArgumentTypeReference__Alternatives ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2247:1: ( ( rule__JvmArgumentTypeReference__Alternatives ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2248:1: ( rule__JvmArgumentTypeReference__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2249:1: ( rule__JvmArgumentTypeReference__Alternatives ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2249:2: rule__JvmArgumentTypeReference__Alternatives + { + pushFollow(FOLLOW_rule__JvmArgumentTypeReference__Alternatives_in_ruleJvmArgumentTypeReference4734); + rule__JvmArgumentTypeReference__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleJvmArgumentTypeReference" + + + // $ANTLR start "entryRuleJvmWildcardTypeReference" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2261:1: entryRuleJvmWildcardTypeReference : ruleJvmWildcardTypeReference EOF ; + public final void entryRuleJvmWildcardTypeReference() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2262:1: ( ruleJvmWildcardTypeReference EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2263:1: ruleJvmWildcardTypeReference EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmWildcardTypeReferenceRule()); + } + pushFollow(FOLLOW_ruleJvmWildcardTypeReference_in_entryRuleJvmWildcardTypeReference4761); + ruleJvmWildcardTypeReference(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmWildcardTypeReferenceRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleJvmWildcardTypeReference4768); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleJvmWildcardTypeReference" + + + // $ANTLR start "ruleJvmWildcardTypeReference" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2270:1: ruleJvmWildcardTypeReference : ( ( rule__JvmWildcardTypeReference__Group__0 ) ) ; + public final void ruleJvmWildcardTypeReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2274:2: ( ( ( rule__JvmWildcardTypeReference__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2275:1: ( ( rule__JvmWildcardTypeReference__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2275:1: ( ( rule__JvmWildcardTypeReference__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2276:1: ( rule__JvmWildcardTypeReference__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2277:1: ( rule__JvmWildcardTypeReference__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2277:2: rule__JvmWildcardTypeReference__Group__0 + { + pushFollow(FOLLOW_rule__JvmWildcardTypeReference__Group__0_in_ruleJvmWildcardTypeReference4794); + rule__JvmWildcardTypeReference__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleJvmWildcardTypeReference" + + + // $ANTLR start "entryRuleJvmUpperBound" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2289:1: entryRuleJvmUpperBound : ruleJvmUpperBound EOF ; + public final void entryRuleJvmUpperBound() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2290:1: ( ruleJvmUpperBound EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2291:1: ruleJvmUpperBound EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmUpperBoundRule()); + } + pushFollow(FOLLOW_ruleJvmUpperBound_in_entryRuleJvmUpperBound4821); + ruleJvmUpperBound(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmUpperBoundRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleJvmUpperBound4828); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleJvmUpperBound" + + + // $ANTLR start "ruleJvmUpperBound" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2298:1: ruleJvmUpperBound : ( ( rule__JvmUpperBound__Group__0 ) ) ; + public final void ruleJvmUpperBound() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2302:2: ( ( ( rule__JvmUpperBound__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2303:1: ( ( rule__JvmUpperBound__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2303:1: ( ( rule__JvmUpperBound__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2304:1: ( rule__JvmUpperBound__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmUpperBoundAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2305:1: ( rule__JvmUpperBound__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2305:2: rule__JvmUpperBound__Group__0 + { + pushFollow(FOLLOW_rule__JvmUpperBound__Group__0_in_ruleJvmUpperBound4854); + rule__JvmUpperBound__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmUpperBoundAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleJvmUpperBound" + + + // $ANTLR start "entryRuleJvmUpperBoundAnded" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2317:1: entryRuleJvmUpperBoundAnded : ruleJvmUpperBoundAnded EOF ; + public final void entryRuleJvmUpperBoundAnded() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2318:1: ( ruleJvmUpperBoundAnded EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2319:1: ruleJvmUpperBoundAnded EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmUpperBoundAndedRule()); + } + pushFollow(FOLLOW_ruleJvmUpperBoundAnded_in_entryRuleJvmUpperBoundAnded4881); + ruleJvmUpperBoundAnded(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmUpperBoundAndedRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleJvmUpperBoundAnded4888); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleJvmUpperBoundAnded" + + + // $ANTLR start "ruleJvmUpperBoundAnded" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2326:1: ruleJvmUpperBoundAnded : ( ( rule__JvmUpperBoundAnded__Group__0 ) ) ; + public final void ruleJvmUpperBoundAnded() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2330:2: ( ( ( rule__JvmUpperBoundAnded__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2331:1: ( ( rule__JvmUpperBoundAnded__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2331:1: ( ( rule__JvmUpperBoundAnded__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2332:1: ( rule__JvmUpperBoundAnded__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmUpperBoundAndedAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2333:1: ( rule__JvmUpperBoundAnded__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2333:2: rule__JvmUpperBoundAnded__Group__0 + { + pushFollow(FOLLOW_rule__JvmUpperBoundAnded__Group__0_in_ruleJvmUpperBoundAnded4914); + rule__JvmUpperBoundAnded__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmUpperBoundAndedAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleJvmUpperBoundAnded" + + + // $ANTLR start "entryRuleJvmLowerBound" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2345:1: entryRuleJvmLowerBound : ruleJvmLowerBound EOF ; + public final void entryRuleJvmLowerBound() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2346:1: ( ruleJvmLowerBound EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2347:1: ruleJvmLowerBound EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmLowerBoundRule()); + } + pushFollow(FOLLOW_ruleJvmLowerBound_in_entryRuleJvmLowerBound4941); + ruleJvmLowerBound(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmLowerBoundRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleJvmLowerBound4948); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleJvmLowerBound" + + + // $ANTLR start "ruleJvmLowerBound" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2354:1: ruleJvmLowerBound : ( ( rule__JvmLowerBound__Group__0 ) ) ; + public final void ruleJvmLowerBound() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2358:2: ( ( ( rule__JvmLowerBound__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2359:1: ( ( rule__JvmLowerBound__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2359:1: ( ( rule__JvmLowerBound__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2360:1: ( rule__JvmLowerBound__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmLowerBoundAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2361:1: ( rule__JvmLowerBound__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2361:2: rule__JvmLowerBound__Group__0 + { + pushFollow(FOLLOW_rule__JvmLowerBound__Group__0_in_ruleJvmLowerBound4974); + rule__JvmLowerBound__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmLowerBoundAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleJvmLowerBound" + + + // $ANTLR start "entryRuleJvmLowerBoundAnded" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2373:1: entryRuleJvmLowerBoundAnded : ruleJvmLowerBoundAnded EOF ; + public final void entryRuleJvmLowerBoundAnded() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2374:1: ( ruleJvmLowerBoundAnded EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2375:1: ruleJvmLowerBoundAnded EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmLowerBoundAndedRule()); + } + pushFollow(FOLLOW_ruleJvmLowerBoundAnded_in_entryRuleJvmLowerBoundAnded5001); + ruleJvmLowerBoundAnded(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmLowerBoundAndedRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleJvmLowerBoundAnded5008); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleJvmLowerBoundAnded" + + + // $ANTLR start "ruleJvmLowerBoundAnded" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2382:1: ruleJvmLowerBoundAnded : ( ( rule__JvmLowerBoundAnded__Group__0 ) ) ; + public final void ruleJvmLowerBoundAnded() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2386:2: ( ( ( rule__JvmLowerBoundAnded__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2387:1: ( ( rule__JvmLowerBoundAnded__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2387:1: ( ( rule__JvmLowerBoundAnded__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2388:1: ( rule__JvmLowerBoundAnded__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getJvmLowerBoundAndedAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2389:1: ( rule__JvmLowerBoundAnded__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2389:2: rule__JvmLowerBoundAnded__Group__0 + { + pushFollow(FOLLOW_rule__JvmLowerBoundAnded__Group__0_in_ruleJvmLowerBoundAnded5034); + rule__JvmLowerBoundAnded__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getJvmLowerBoundAndedAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleJvmLowerBoundAnded" + + + // $ANTLR start "entryRuleQualifiedNameWithWildcard" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2403:1: entryRuleQualifiedNameWithWildcard : ruleQualifiedNameWithWildcard EOF ; + public final void entryRuleQualifiedNameWithWildcard() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2404:1: ( ruleQualifiedNameWithWildcard EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2405:1: ruleQualifiedNameWithWildcard EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameWithWildcardRule()); + } + pushFollow(FOLLOW_ruleQualifiedNameWithWildcard_in_entryRuleQualifiedNameWithWildcard5063); + ruleQualifiedNameWithWildcard(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameWithWildcardRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedNameWithWildcard5070); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleQualifiedNameWithWildcard" + + + // $ANTLR start "ruleQualifiedNameWithWildcard" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2412:1: ruleQualifiedNameWithWildcard : ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ; + public final void ruleQualifiedNameWithWildcard() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2416:2: ( ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2417:1: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2417:1: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2418:1: ( rule__QualifiedNameWithWildcard__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2419:1: ( rule__QualifiedNameWithWildcard__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2419:2: rule__QualifiedNameWithWildcard__Group__0 + { + pushFollow(FOLLOW_rule__QualifiedNameWithWildcard__Group__0_in_ruleQualifiedNameWithWildcard5096); + rule__QualifiedNameWithWildcard__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleQualifiedNameWithWildcard" + + + // $ANTLR start "entryRuleValidID" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2431:1: entryRuleValidID : ruleValidID EOF ; + public final void entryRuleValidID() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2432:1: ( ruleValidID EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2433:1: ruleValidID EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getValidIDRule()); + } + pushFollow(FOLLOW_ruleValidID_in_entryRuleValidID5123); + ruleValidID(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getValidIDRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleValidID5130); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleValidID" + + + // $ANTLR start "ruleValidID" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2440:1: ruleValidID : ( RULE_ID ) ; + public final void ruleValidID() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2444:2: ( ( RULE_ID ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2445:1: ( RULE_ID ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2445:1: ( RULE_ID ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2446:1: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); + } + match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValidID5156); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleValidID" + + + // $ANTLR start "entryRuleXImportDeclaration" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2461:1: entryRuleXImportDeclaration : ruleXImportDeclaration EOF ; + public final void entryRuleXImportDeclaration() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2462:1: ( ruleXImportDeclaration EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2463:1: ruleXImportDeclaration EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXImportDeclarationRule()); + } + pushFollow(FOLLOW_ruleXImportDeclaration_in_entryRuleXImportDeclaration5184); + ruleXImportDeclaration(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXImportDeclarationRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXImportDeclaration5191); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleXImportDeclaration" + + + // $ANTLR start "ruleXImportDeclaration" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2470:1: ruleXImportDeclaration : ( ( rule__XImportDeclaration__Group__0 ) ) ; + public final void ruleXImportDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2474:2: ( ( ( rule__XImportDeclaration__Group__0 ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2475:1: ( ( rule__XImportDeclaration__Group__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2475:1: ( ( rule__XImportDeclaration__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2476:1: ( rule__XImportDeclaration__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXImportDeclarationAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2477:1: ( rule__XImportDeclaration__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2477:2: rule__XImportDeclaration__Group__0 + { + pushFollow(FOLLOW_rule__XImportDeclaration__Group__0_in_ruleXImportDeclaration5217); + rule__XImportDeclaration__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXImportDeclarationAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleXImportDeclaration" + + + // $ANTLR start "entryRuleQualifiedNameInStaticImport" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2489:1: entryRuleQualifiedNameInStaticImport : ruleQualifiedNameInStaticImport EOF ; + public final void entryRuleQualifiedNameInStaticImport() throws RecognitionException { + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2490:1: ( ruleQualifiedNameInStaticImport EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2491:1: ruleQualifiedNameInStaticImport EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameInStaticImportRule()); + } + pushFollow(FOLLOW_ruleQualifiedNameInStaticImport_in_entryRuleQualifiedNameInStaticImport5244); + ruleQualifiedNameInStaticImport(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameInStaticImportRule()); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedNameInStaticImport5251); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleQualifiedNameInStaticImport" + + + // $ANTLR start "ruleQualifiedNameInStaticImport" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2498:1: ruleQualifiedNameInStaticImport : ( ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) ) ; + public final void ruleQualifiedNameInStaticImport() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2502:2: ( ( ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2503:1: ( ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2503:1: ( ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2504:1: ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2504:1: ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2505:1: ( rule__QualifiedNameInStaticImport__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2506:1: ( rule__QualifiedNameInStaticImport__Group__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2506:2: rule__QualifiedNameInStaticImport__Group__0 + { + pushFollow(FOLLOW_rule__QualifiedNameInStaticImport__Group__0_in_ruleQualifiedNameInStaticImport5279); + rule__QualifiedNameInStaticImport__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2509:1: ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2510:1: ( rule__QualifiedNameInStaticImport__Group__0 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2511:1: ( rule__QualifiedNameInStaticImport__Group__0 )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==RULE_ID) ) { + int LA1_2 = input.LA(2); + + if ( (LA1_2==43) ) { + alt1=1; + } + + + } + + + switch (alt1) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2511:2: rule__QualifiedNameInStaticImport__Group__0 + { + pushFollow(FOLLOW_rule__QualifiedNameInStaticImport__Group__0_in_ruleQualifiedNameInStaticImport5291); + rule__QualifiedNameInStaticImport__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop1; + } + } while (true); + + if ( state.backtracking==0 ) { + after(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); + } + + } + + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleQualifiedNameInStaticImport" + + + // $ANTLR start "rule__Dialog__Alternatives_4" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2524:1: rule__Dialog__Alternatives_4 : ( ( ( rule__Dialog__Group_4_0__0 ) ) | ( ( rule__Dialog__Group_4_1__0 ) ) ); + public final void rule__Dialog__Alternatives_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2528:1: ( ( ( rule__Dialog__Group_4_0__0 ) ) | ( ( rule__Dialog__Group_4_1__0 ) ) ) + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==55) ) { + alt2=1; + } + else if ( (LA2_0==88) ) { + alt2=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 2, 0, input); + + throw nvae; + } + switch (alt2) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2529:1: ( ( rule__Dialog__Group_4_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2529:1: ( ( rule__Dialog__Group_4_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2530:1: ( rule__Dialog__Group_4_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogAccess().getGroup_4_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2531:1: ( rule__Dialog__Group_4_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2531:2: rule__Dialog__Group_4_0__0 + { + pushFollow(FOLLOW_rule__Dialog__Group_4_0__0_in_rule__Dialog__Alternatives_45330); + rule__Dialog__Group_4_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogAccess().getGroup_4_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2535:6: ( ( rule__Dialog__Group_4_1__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2535:6: ( ( rule__Dialog__Group_4_1__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2536:1: ( rule__Dialog__Group_4_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogAccess().getGroup_4_1()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2537:1: ( rule__Dialog__Group_4_1__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2537:2: rule__Dialog__Group_4_1__0 + { + pushFollow(FOLLOW_rule__Dialog__Group_4_1__0_in_rule__Dialog__Alternatives_45348); + rule__Dialog__Group_4_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogAccess().getGroup_4_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Dialog__Alternatives_4" + + + // $ANTLR start "rule__Dialog__Alternatives_5_0" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2546:1: rule__Dialog__Alternatives_5_0 : ( ( ( rule__Dialog__EmbeddedAssignment_5_0_0 ) ) | ( ( rule__Dialog__PureAssignment_5_0_1 ) ) ); + public final void rule__Dialog__Alternatives_5_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2550:1: ( ( ( rule__Dialog__EmbeddedAssignment_5_0_0 ) ) | ( ( rule__Dialog__PureAssignment_5_0_1 ) ) ) + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==89) ) { + alt3=1; + } + else if ( (LA3_0==90) ) { + alt3=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + switch (alt3) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2551:1: ( ( rule__Dialog__EmbeddedAssignment_5_0_0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2551:1: ( ( rule__Dialog__EmbeddedAssignment_5_0_0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2552:1: ( rule__Dialog__EmbeddedAssignment_5_0_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogAccess().getEmbeddedAssignment_5_0_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2553:1: ( rule__Dialog__EmbeddedAssignment_5_0_0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2553:2: rule__Dialog__EmbeddedAssignment_5_0_0 + { + pushFollow(FOLLOW_rule__Dialog__EmbeddedAssignment_5_0_0_in_rule__Dialog__Alternatives_5_05381); + rule__Dialog__EmbeddedAssignment_5_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogAccess().getEmbeddedAssignment_5_0_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2557:6: ( ( rule__Dialog__PureAssignment_5_0_1 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2557:6: ( ( rule__Dialog__PureAssignment_5_0_1 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2558:1: ( rule__Dialog__PureAssignment_5_0_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDialogAccess().getPureAssignment_5_0_1()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2559:1: ( rule__Dialog__PureAssignment_5_0_1 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2559:2: rule__Dialog__PureAssignment_5_0_1 + { + pushFollow(FOLLOW_rule__Dialog__PureAssignment_5_0_1_in_rule__Dialog__Alternatives_5_05399); + rule__Dialog__PureAssignment_5_0_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDialogAccess().getPureAssignment_5_0_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Dialog__Alternatives_5_0" + + + // $ANTLR start "rule__XAnnotation__Alternatives_3_1" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2568:1: rule__XAnnotation__Alternatives_3_1 : ( ( ( rule__XAnnotation__Group_3_1_0__0 ) ) | ( ( rule__XAnnotation__ValueAssignment_3_1_1 ) ) ); + public final void rule__XAnnotation__Alternatives_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2572:1: ( ( ( rule__XAnnotation__Group_3_1_0__0 ) ) | ( ( rule__XAnnotation__ValueAssignment_3_1_1 ) ) ) + int alt4=2; + alt4 = dfa4.predict(input); + switch (alt4) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2573:1: ( ( rule__XAnnotation__Group_3_1_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2573:1: ( ( rule__XAnnotation__Group_3_1_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2574:1: ( rule__XAnnotation__Group_3_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationAccess().getGroup_3_1_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2575:1: ( rule__XAnnotation__Group_3_1_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2575:2: rule__XAnnotation__Group_3_1_0__0 + { + pushFollow(FOLLOW_rule__XAnnotation__Group_3_1_0__0_in_rule__XAnnotation__Alternatives_3_15432); + rule__XAnnotation__Group_3_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationAccess().getGroup_3_1_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2579:6: ( ( rule__XAnnotation__ValueAssignment_3_1_1 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2579:6: ( ( rule__XAnnotation__ValueAssignment_3_1_1 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2580:1: ( rule__XAnnotation__ValueAssignment_3_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationAccess().getValueAssignment_3_1_1()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2581:1: ( rule__XAnnotation__ValueAssignment_3_1_1 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2581:2: rule__XAnnotation__ValueAssignment_3_1_1 + { + pushFollow(FOLLOW_rule__XAnnotation__ValueAssignment_3_1_1_in_rule__XAnnotation__Alternatives_3_15450); + rule__XAnnotation__ValueAssignment_3_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationAccess().getValueAssignment_3_1_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__XAnnotation__Alternatives_3_1" + + + // $ANTLR start "rule__XAnnotationElementValueOrCommaList__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2590:1: rule__XAnnotationElementValueOrCommaList__Alternatives : ( ( ( rule__XAnnotationElementValueOrCommaList__Group_0__0 ) ) | ( ( rule__XAnnotationElementValueOrCommaList__Group_1__0 ) ) ); + public final void rule__XAnnotationElementValueOrCommaList__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2594:1: ( ( ( rule__XAnnotationElementValueOrCommaList__Group_0__0 ) ) | ( ( rule__XAnnotationElementValueOrCommaList__Group_1__0 ) ) ) + int alt5=2; + alt5 = dfa5.predict(input); + switch (alt5) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2595:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2595:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2596:1: ( rule__XAnnotationElementValueOrCommaList__Group_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2597:1: ( rule__XAnnotationElementValueOrCommaList__Group_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2597:2: rule__XAnnotationElementValueOrCommaList__Group_0__0 + { + pushFollow(FOLLOW_rule__XAnnotationElementValueOrCommaList__Group_0__0_in_rule__XAnnotationElementValueOrCommaList__Alternatives5483); + rule__XAnnotationElementValueOrCommaList__Group_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2601:6: ( ( rule__XAnnotationElementValueOrCommaList__Group_1__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2601:6: ( ( rule__XAnnotationElementValueOrCommaList__Group_1__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2602:1: ( rule__XAnnotationElementValueOrCommaList__Group_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2603:1: ( rule__XAnnotationElementValueOrCommaList__Group_1__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2603:2: rule__XAnnotationElementValueOrCommaList__Group_1__0 + { + pushFollow(FOLLOW_rule__XAnnotationElementValueOrCommaList__Group_1__0_in_rule__XAnnotationElementValueOrCommaList__Alternatives5501); + rule__XAnnotationElementValueOrCommaList__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__XAnnotationElementValueOrCommaList__Alternatives" + + + // $ANTLR start "rule__XAnnotationElementValue__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2612:1: rule__XAnnotationElementValue__Alternatives : ( ( ( rule__XAnnotationElementValue__Group_0__0 ) ) | ( ruleXAnnotationOrExpression ) ); + public final void rule__XAnnotationElementValue__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2616:1: ( ( ( rule__XAnnotationElementValue__Group_0__0 ) ) | ( ruleXAnnotationOrExpression ) ) + int alt6=2; + alt6 = dfa6.predict(input); + switch (alt6) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2617:1: ( ( rule__XAnnotationElementValue__Group_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2617:1: ( ( rule__XAnnotationElementValue__Group_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2618:1: ( rule__XAnnotationElementValue__Group_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2619:1: ( rule__XAnnotationElementValue__Group_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2619:2: rule__XAnnotationElementValue__Group_0__0 + { + pushFollow(FOLLOW_rule__XAnnotationElementValue__Group_0__0_in_rule__XAnnotationElementValue__Alternatives5534); + rule__XAnnotationElementValue__Group_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2623:6: ( ruleXAnnotationOrExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2623:6: ( ruleXAnnotationOrExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2624:1: ruleXAnnotationOrExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_rule__XAnnotationElementValue__Alternatives5552); + ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__XAnnotationElementValue__Alternatives" + + + // $ANTLR start "rule__XAnnotationOrExpression__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2634:1: rule__XAnnotationOrExpression__Alternatives : ( ( ruleXAnnotation ) | ( ruleXExpression ) ); + public final void rule__XAnnotationOrExpression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2638:1: ( ( ruleXAnnotation ) | ( ruleXExpression ) ) + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==57) ) { + alt7=1; + } + else if ( ((LA7_0>=RULE_STRING && LA7_0<=RULE_DECIMAL)||LA7_0==27||(LA7_0>=34 && LA7_0<=35)||LA7_0==40||(LA7_0>=45 && LA7_0<=50)||LA7_0==52||LA7_0==58||(LA7_0>=62 && LA7_0<=63)||LA7_0==67||LA7_0==69||(LA7_0>=73 && LA7_0<=81)||LA7_0==83||LA7_0==96) ) { + alt7=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + switch (alt7) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2639:1: ( ruleXAnnotation ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2639:1: ( ruleXAnnotation ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2640:1: ruleXAnnotation + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); + } + pushFollow(FOLLOW_ruleXAnnotation_in_rule__XAnnotationOrExpression__Alternatives5584); + ruleXAnnotation(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2645:6: ( ruleXExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2645:6: ( ruleXExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2646:1: ruleXExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); + } + pushFollow(FOLLOW_ruleXExpression_in_rule__XAnnotationOrExpression__Alternatives5601); + ruleXExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__XAnnotationOrExpression__Alternatives" + + + // $ANTLR start "rule__XAssignment__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2656:1: rule__XAssignment__Alternatives : ( ( ( rule__XAssignment__Group_0__0 ) ) | ( ( rule__XAssignment__Group_1__0 ) ) ); + public final void rule__XAssignment__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2660:1: ( ( ( rule__XAssignment__Group_0__0 ) ) | ( ( rule__XAssignment__Group_1__0 ) ) ) + int alt8=2; + switch ( input.LA(1) ) { + case RULE_ID: + { + int LA8_1 = input.LA(2); + + if ( (LA8_1==EOF||(LA8_1>=RULE_STRING && LA8_1<=RULE_DECIMAL)||(LA8_1>=14 && LA8_1<=50)||(LA8_1>=52 && LA8_1<=53)||(LA8_1>=58 && LA8_1<=84)||(LA8_1>=92 && LA8_1<=93)||(LA8_1>=95 && LA8_1<=96)) ) { + alt8=2; + } + else if ( (LA8_1==13) ) { + alt8=1; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 8, 1, input); + + throw nvae; + } + } + break; + case 45: + { + int LA8_2 = input.LA(2); + + if ( (LA8_2==EOF||(LA8_2>=RULE_STRING && LA8_2<=RULE_DECIMAL)||(LA8_2>=14 && LA8_2<=50)||(LA8_2>=52 && LA8_2<=53)||(LA8_2>=58 && LA8_2<=84)||(LA8_2>=92 && LA8_2<=93)||(LA8_2>=95 && LA8_2<=96)) ) { + alt8=2; + } + else if ( (LA8_2==13) ) { + alt8=1; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 8, 2, input); + + throw nvae; + } + } + break; + case 46: + { + int LA8_3 = input.LA(2); + + if ( (LA8_3==EOF||(LA8_3>=RULE_STRING && LA8_3<=RULE_DECIMAL)||(LA8_3>=14 && LA8_3<=50)||(LA8_3>=52 && LA8_3<=53)||(LA8_3>=58 && LA8_3<=84)||(LA8_3>=92 && LA8_3<=93)||(LA8_3>=95 && LA8_3<=96)) ) { + alt8=2; + } + else if ( (LA8_3==13) ) { + alt8=1; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 8, 3, input); + + throw nvae; + } + } + break; + case 47: + { + int LA8_4 = input.LA(2); + + if ( (LA8_4==EOF||(LA8_4>=RULE_STRING && LA8_4<=RULE_DECIMAL)||(LA8_4>=14 && LA8_4<=50)||(LA8_4>=52 && LA8_4<=53)||(LA8_4>=58 && LA8_4<=84)||(LA8_4>=92 && LA8_4<=93)||(LA8_4>=95 && LA8_4<=96)) ) { + alt8=2; + } + else if ( (LA8_4==13) ) { + alt8=1; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 8, 4, input); + + throw nvae; + } + } + break; + case 48: + { + int LA8_5 = input.LA(2); + + if ( (LA8_5==EOF||(LA8_5>=RULE_STRING && LA8_5<=RULE_DECIMAL)||(LA8_5>=14 && LA8_5<=50)||(LA8_5>=52 && LA8_5<=53)||(LA8_5>=58 && LA8_5<=84)||(LA8_5>=92 && LA8_5<=93)||(LA8_5>=95 && LA8_5<=96)) ) { + alt8=2; + } + else if ( (LA8_5==13) ) { + alt8=1; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 8, 5, input); + + throw nvae; + } + } + break; + case RULE_STRING: + case RULE_HEX: + case RULE_INT: + case RULE_DECIMAL: + case 27: + case 34: + case 35: + case 40: + case 49: + case 50: + case 52: + case 58: + case 62: + case 63: + case 67: + case 69: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: + case 80: + case 81: + case 83: + case 96: + { + alt8=2; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 8, 0, input); + + throw nvae; + } + + switch (alt8) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2661:1: ( ( rule__XAssignment__Group_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2661:1: ( ( rule__XAssignment__Group_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2662:1: ( rule__XAssignment__Group_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAssignmentAccess().getGroup_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2663:1: ( rule__XAssignment__Group_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2663:2: rule__XAssignment__Group_0__0 + { + pushFollow(FOLLOW_rule__XAssignment__Group_0__0_in_rule__XAssignment__Alternatives5633); + rule__XAssignment__Group_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAssignmentAccess().getGroup_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2667:6: ( ( rule__XAssignment__Group_1__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2667:6: ( ( rule__XAssignment__Group_1__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2668:1: ( rule__XAssignment__Group_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXAssignmentAccess().getGroup_1()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2669:1: ( rule__XAssignment__Group_1__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2669:2: rule__XAssignment__Group_1__0 + { + pushFollow(FOLLOW_rule__XAssignment__Group_1__0_in_rule__XAssignment__Alternatives5651); + rule__XAssignment__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXAssignmentAccess().getGroup_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__XAssignment__Alternatives" + + + // $ANTLR start "rule__OpMultiAssign__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2678:1: rule__OpMultiAssign__Alternatives : ( ( '+=' ) | ( '-=' ) | ( '*=' ) | ( '/=' ) | ( '%=' ) | ( ( rule__OpMultiAssign__Group_5__0 ) ) | ( ( rule__OpMultiAssign__Group_6__0 ) ) ); + public final void rule__OpMultiAssign__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2682:1: ( ( '+=' ) | ( '-=' ) | ( '*=' ) | ( '/=' ) | ( '%=' ) | ( ( rule__OpMultiAssign__Group_5__0 ) ) | ( ( rule__OpMultiAssign__Group_6__0 ) ) ) + int alt9=7; + switch ( input.LA(1) ) { + case 16: + { + alt9=1; + } + break; + case 17: + { + alt9=2; + } + break; + case 18: + { + alt9=3; + } + break; + case 19: + { + alt9=4; + } + break; + case 20: + { + alt9=5; + } + break; + case 27: + { + alt9=6; + } + break; + case 26: + { + alt9=7; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 9, 0, input); + + throw nvae; + } + + switch (alt9) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2683:1: ( '+=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2683:1: ( '+=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2684:1: '+=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0()); + } + match(input,16,FOLLOW_16_in_rule__OpMultiAssign__Alternatives5685); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2691:6: ( '-=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2691:6: ( '-=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2692:1: '-=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1()); + } + match(input,17,FOLLOW_17_in_rule__OpMultiAssign__Alternatives5705); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1()); + } + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2699:6: ( '*=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2699:6: ( '*=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2700:1: '*=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2()); + } + match(input,18,FOLLOW_18_in_rule__OpMultiAssign__Alternatives5725); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2()); + } + + } + + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2707:6: ( '/=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2707:6: ( '/=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2708:1: '/=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3()); + } + match(input,19,FOLLOW_19_in_rule__OpMultiAssign__Alternatives5745); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3()); + } + + } + + + } + break; + case 5 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2715:6: ( '%=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2715:6: ( '%=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2716:1: '%=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4()); + } + match(input,20,FOLLOW_20_in_rule__OpMultiAssign__Alternatives5765); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4()); + } + + } + + + } + break; + case 6 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2723:6: ( ( rule__OpMultiAssign__Group_5__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2723:6: ( ( rule__OpMultiAssign__Group_5__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2724:1: ( rule__OpMultiAssign__Group_5__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAssignAccess().getGroup_5()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2725:1: ( rule__OpMultiAssign__Group_5__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2725:2: rule__OpMultiAssign__Group_5__0 + { + pushFollow(FOLLOW_rule__OpMultiAssign__Group_5__0_in_rule__OpMultiAssign__Alternatives5784); + rule__OpMultiAssign__Group_5__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAssignAccess().getGroup_5()); + } + + } + + + } + break; + case 7 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2729:6: ( ( rule__OpMultiAssign__Group_6__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2729:6: ( ( rule__OpMultiAssign__Group_6__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2730:1: ( rule__OpMultiAssign__Group_6__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAssignAccess().getGroup_6()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2731:1: ( rule__OpMultiAssign__Group_6__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2731:2: rule__OpMultiAssign__Group_6__0 + { + pushFollow(FOLLOW_rule__OpMultiAssign__Group_6__0_in_rule__OpMultiAssign__Alternatives5802); + rule__OpMultiAssign__Group_6__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAssignAccess().getGroup_6()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpMultiAssign__Alternatives" + + + // $ANTLR start "rule__OpEquality__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2740:1: rule__OpEquality__Alternatives : ( ( '==' ) | ( '!=' ) | ( '===' ) | ( '!==' ) ); + public final void rule__OpEquality__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2744:1: ( ( '==' ) | ( '!=' ) | ( '===' ) | ( '!==' ) ) + int alt10=4; + switch ( input.LA(1) ) { + case 21: + { + alt10=1; + } + break; + case 22: + { + alt10=2; + } + break; + case 23: + { + alt10=3; + } + break; + case 24: + { + alt10=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 10, 0, input); + + throw nvae; + } + + switch (alt10) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2745:1: ( '==' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2745:1: ( '==' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2746:1: '==' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0()); + } + match(input,21,FOLLOW_21_in_rule__OpEquality__Alternatives5836); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2753:6: ( '!=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2753:6: ( '!=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2754:1: '!=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1()); + } + match(input,22,FOLLOW_22_in_rule__OpEquality__Alternatives5856); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1()); + } + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2761:6: ( '===' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2761:6: ( '===' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2762:1: '===' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2()); + } + match(input,23,FOLLOW_23_in_rule__OpEquality__Alternatives5876); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2()); + } + + } + + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2769:6: ( '!==' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2769:6: ( '!==' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2770:1: '!==' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3()); + } + match(input,24,FOLLOW_24_in_rule__OpEquality__Alternatives5896); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpEquality__Alternatives" + + + // $ANTLR start "rule__XRelationalExpression__Alternatives_1" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2782:1: rule__XRelationalExpression__Alternatives_1 : ( ( ( rule__XRelationalExpression__Group_1_0__0 ) ) | ( ( rule__XRelationalExpression__Group_1_1__0 ) ) ); + public final void rule__XRelationalExpression__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2786:1: ( ( ( rule__XRelationalExpression__Group_1_0__0 ) ) | ( ( rule__XRelationalExpression__Group_1_1__0 ) ) ) + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==64) ) { + alt11=1; + } + else if ( ((LA11_0>=25 && LA11_0<=27)) ) { + alt11=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 11, 0, input); + + throw nvae; + } + switch (alt11) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2787:1: ( ( rule__XRelationalExpression__Group_1_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2787:1: ( ( rule__XRelationalExpression__Group_1_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2788:1: ( rule__XRelationalExpression__Group_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2789:1: ( rule__XRelationalExpression__Group_1_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2789:2: rule__XRelationalExpression__Group_1_0__0 + { + pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0__0_in_rule__XRelationalExpression__Alternatives_15930); + rule__XRelationalExpression__Group_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2793:6: ( ( rule__XRelationalExpression__Group_1_1__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2793:6: ( ( rule__XRelationalExpression__Group_1_1__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2794:1: ( rule__XRelationalExpression__Group_1_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2795:1: ( rule__XRelationalExpression__Group_1_1__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2795:2: rule__XRelationalExpression__Group_1_1__0 + { + pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1__0_in_rule__XRelationalExpression__Alternatives_15948); + rule__XRelationalExpression__Group_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__XRelationalExpression__Alternatives_1" + + + // $ANTLR start "rule__OpCompare__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2804:1: rule__OpCompare__Alternatives : ( ( '>=' ) | ( ( rule__OpCompare__Group_1__0 ) ) | ( '>' ) | ( '<' ) ); + public final void rule__OpCompare__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2808:1: ( ( '>=' ) | ( ( rule__OpCompare__Group_1__0 ) ) | ( '>' ) | ( '<' ) ) + int alt12=4; + switch ( input.LA(1) ) { + case 25: + { + alt12=1; + } + break; + case 27: + { + int LA12_2 = input.LA(2); + + if ( (LA12_2==13) ) { + alt12=2; + } + else if ( (LA12_2==EOF||(LA12_2>=RULE_STRING && LA12_2<=RULE_DECIMAL)||LA12_2==27||(LA12_2>=34 && LA12_2<=35)||LA12_2==40||(LA12_2>=45 && LA12_2<=50)||LA12_2==52||LA12_2==58||(LA12_2>=62 && LA12_2<=63)||LA12_2==67||LA12_2==69||(LA12_2>=73 && LA12_2<=81)||LA12_2==83||LA12_2==96) ) { + alt12=4; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 12, 2, input); + + throw nvae; + } + } + break; + case 26: + { + alt12=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 12, 0, input); + + throw nvae; + } + + switch (alt12) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2809:1: ( '>=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2809:1: ( '>=' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2810:1: '>=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0()); + } + match(input,25,FOLLOW_25_in_rule__OpCompare__Alternatives5982); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2817:6: ( ( rule__OpCompare__Group_1__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2817:6: ( ( rule__OpCompare__Group_1__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2818:1: ( rule__OpCompare__Group_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpCompareAccess().getGroup_1()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2819:1: ( rule__OpCompare__Group_1__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2819:2: rule__OpCompare__Group_1__0 + { + pushFollow(FOLLOW_rule__OpCompare__Group_1__0_in_rule__OpCompare__Alternatives6001); + rule__OpCompare__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpCompareAccess().getGroup_1()); + } + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2823:6: ( '>' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2823:6: ( '>' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2824:1: '>' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2()); + } + match(input,26,FOLLOW_26_in_rule__OpCompare__Alternatives6020); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2()); + } + + } + + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2831:6: ( '<' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2831:6: ( '<' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2832:1: '<' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3()); + } + match(input,27,FOLLOW_27_in_rule__OpCompare__Alternatives6040); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpCompare__Alternatives" + + + // $ANTLR start "rule__OpOther__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2844:1: rule__OpOther__Alternatives : ( ( '->' ) | ( '..<' ) | ( ( rule__OpOther__Group_2__0 ) ) | ( '..' ) | ( '=>' ) | ( ( rule__OpOther__Group_5__0 ) ) | ( ( rule__OpOther__Group_6__0 ) ) | ( '<>' ) | ( '?:' ) ); + public final void rule__OpOther__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2848:1: ( ( '->' ) | ( '..<' ) | ( ( rule__OpOther__Group_2__0 ) ) | ( '..' ) | ( '=>' ) | ( ( rule__OpOther__Group_5__0 ) ) | ( ( rule__OpOther__Group_6__0 ) ) | ( '<>' ) | ( '?:' ) ) + int alt13=9; + alt13 = dfa13.predict(input); + switch (alt13) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2849:1: ( '->' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2849:1: ( '->' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2850:1: '->' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); + } + match(input,28,FOLLOW_28_in_rule__OpOther__Alternatives6075); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2857:6: ( '..<' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2857:6: ( '..<' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2858:1: '..<' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1()); + } + match(input,29,FOLLOW_29_in_rule__OpOther__Alternatives6095); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1()); + } + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2865:6: ( ( rule__OpOther__Group_2__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2865:6: ( ( rule__OpOther__Group_2__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2866:1: ( rule__OpOther__Group_2__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getGroup_2()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2867:1: ( rule__OpOther__Group_2__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2867:2: rule__OpOther__Group_2__0 + { + pushFollow(FOLLOW_rule__OpOther__Group_2__0_in_rule__OpOther__Alternatives6114); + rule__OpOther__Group_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getGroup_2()); + } + + } + + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2871:6: ( '..' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2871:6: ( '..' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2872:1: '..' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3()); + } + match(input,30,FOLLOW_30_in_rule__OpOther__Alternatives6133); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3()); + } + + } + + + } + break; + case 5 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2879:6: ( '=>' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2879:6: ( '=>' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2880:1: '=>' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4()); + } + match(input,31,FOLLOW_31_in_rule__OpOther__Alternatives6153); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4()); + } + + } + + + } + break; + case 6 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2887:6: ( ( rule__OpOther__Group_5__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2887:6: ( ( rule__OpOther__Group_5__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2888:1: ( rule__OpOther__Group_5__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getGroup_5()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2889:1: ( rule__OpOther__Group_5__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2889:2: rule__OpOther__Group_5__0 + { + pushFollow(FOLLOW_rule__OpOther__Group_5__0_in_rule__OpOther__Alternatives6172); + rule__OpOther__Group_5__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getGroup_5()); + } + + } + + + } + break; + case 7 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2893:6: ( ( rule__OpOther__Group_6__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2893:6: ( ( rule__OpOther__Group_6__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2894:1: ( rule__OpOther__Group_6__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getGroup_6()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2895:1: ( rule__OpOther__Group_6__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2895:2: rule__OpOther__Group_6__0 + { + pushFollow(FOLLOW_rule__OpOther__Group_6__0_in_rule__OpOther__Alternatives6190); + rule__OpOther__Group_6__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getGroup_6()); + } + + } + + + } + break; + case 8 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2899:6: ( '<>' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2899:6: ( '<>' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2900:1: '<>' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7()); + } + match(input,32,FOLLOW_32_in_rule__OpOther__Alternatives6209); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7()); + } + + } + + + } + break; + case 9 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2907:6: ( '?:' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2907:6: ( '?:' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2908:1: '?:' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8()); + } + match(input,33,FOLLOW_33_in_rule__OpOther__Alternatives6229); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpOther__Alternatives" + + + // $ANTLR start "rule__OpOther__Alternatives_5_1" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2920:1: rule__OpOther__Alternatives_5_1 : ( ( ( rule__OpOther__Group_5_1_0__0 ) ) | ( '>' ) ); + public final void rule__OpOther__Alternatives_5_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2924:1: ( ( ( rule__OpOther__Group_5_1_0__0 ) ) | ( '>' ) ) + int alt14=2; + int LA14_0 = input.LA(1); + + if ( (LA14_0==26) ) { + int LA14_1 = input.LA(2); + + if ( (LA14_1==EOF||(LA14_1>=RULE_STRING && LA14_1<=RULE_DECIMAL)||LA14_1==27||(LA14_1>=34 && LA14_1<=35)||LA14_1==40||(LA14_1>=45 && LA14_1<=50)||LA14_1==52||LA14_1==58||(LA14_1>=62 && LA14_1<=63)||LA14_1==67||LA14_1==69||(LA14_1>=73 && LA14_1<=81)||LA14_1==83||LA14_1==96) ) { + alt14=2; + } + else if ( (LA14_1==26) ) { + alt14=1; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 14, 1, input); + + throw nvae; + } + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 14, 0, input); + + throw nvae; + } + switch (alt14) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2925:1: ( ( rule__OpOther__Group_5_1_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2925:1: ( ( rule__OpOther__Group_5_1_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2926:1: ( rule__OpOther__Group_5_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getGroup_5_1_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2927:1: ( rule__OpOther__Group_5_1_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2927:2: rule__OpOther__Group_5_1_0__0 + { + pushFollow(FOLLOW_rule__OpOther__Group_5_1_0__0_in_rule__OpOther__Alternatives_5_16263); + rule__OpOther__Group_5_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getGroup_5_1_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2931:6: ( '>' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2931:6: ( '>' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2932:1: '>' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1()); + } + match(input,26,FOLLOW_26_in_rule__OpOther__Alternatives_5_16282); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpOther__Alternatives_5_1" + + + // $ANTLR start "rule__OpOther__Alternatives_6_1" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2944:1: rule__OpOther__Alternatives_6_1 : ( ( ( rule__OpOther__Group_6_1_0__0 ) ) | ( '<' ) | ( '=>' ) ); + public final void rule__OpOther__Alternatives_6_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2948:1: ( ( ( rule__OpOther__Group_6_1_0__0 ) ) | ( '<' ) | ( '=>' ) ) + int alt15=3; + int LA15_0 = input.LA(1); + + if ( (LA15_0==27) ) { + int LA15_1 = input.LA(2); + + if ( (synpred31_InternalDialogDsl()) ) { + alt15=1; + } + else if ( (synpred32_InternalDialogDsl()) ) { + alt15=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 15, 1, input); + + throw nvae; + } + } + else if ( (LA15_0==31) ) { + alt15=3; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + switch (alt15) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2949:1: ( ( rule__OpOther__Group_6_1_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2949:1: ( ( rule__OpOther__Group_6_1_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2950:1: ( rule__OpOther__Group_6_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getGroup_6_1_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2951:1: ( rule__OpOther__Group_6_1_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2951:2: rule__OpOther__Group_6_1_0__0 + { + pushFollow(FOLLOW_rule__OpOther__Group_6_1_0__0_in_rule__OpOther__Alternatives_6_16316); + rule__OpOther__Group_6_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getGroup_6_1_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2955:6: ( '<' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2955:6: ( '<' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2956:1: '<' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1()); + } + match(input,27,FOLLOW_27_in_rule__OpOther__Alternatives_6_16335); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1()); + } + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2963:6: ( '=>' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2963:6: ( '=>' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2964:1: '=>' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2()); + } + match(input,31,FOLLOW_31_in_rule__OpOther__Alternatives_6_16355); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpOther__Alternatives_6_1" + + + // $ANTLR start "rule__OpAdd__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2976:1: rule__OpAdd__Alternatives : ( ( '+' ) | ( '-' ) ); + public final void rule__OpAdd__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2980:1: ( ( '+' ) | ( '-' ) ) + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0==34) ) { + alt16=1; + } + else if ( (LA16_0==35) ) { + alt16=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 16, 0, input); + + throw nvae; + } + switch (alt16) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2981:1: ( '+' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2981:1: ( '+' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2982:1: '+' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpAddAccess().getPlusSignKeyword_0()); + } + match(input,34,FOLLOW_34_in_rule__OpAdd__Alternatives6390); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpAddAccess().getPlusSignKeyword_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2989:6: ( '-' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2989:6: ( '-' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:2990:1: '-' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1()); + } + match(input,35,FOLLOW_35_in_rule__OpAdd__Alternatives6410); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpAdd__Alternatives" + + + // $ANTLR start "rule__OpMulti__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3002:1: rule__OpMulti__Alternatives : ( ( '*' ) | ( '**' ) | ( '/' ) | ( '%' ) ); + public final void rule__OpMulti__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3006:1: ( ( '*' ) | ( '**' ) | ( '/' ) | ( '%' ) ) + int alt17=4; + switch ( input.LA(1) ) { + case 36: + { + alt17=1; + } + break; + case 37: + { + alt17=2; + } + break; + case 38: + { + alt17=3; + } + break; + case 39: + { + alt17=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 17, 0, input); + + throw nvae; + } + + switch (alt17) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3007:1: ( '*' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3007:1: ( '*' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3008:1: '*' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAccess().getAsteriskKeyword_0()); + } + match(input,36,FOLLOW_36_in_rule__OpMulti__Alternatives6445); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAccess().getAsteriskKeyword_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3015:6: ( '**' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3015:6: ( '**' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3016:1: '**' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1()); + } + match(input,37,FOLLOW_37_in_rule__OpMulti__Alternatives6465); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1()); + } + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3023:6: ( '/' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3023:6: ( '/' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3024:1: '/' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAccess().getSolidusKeyword_2()); + } + match(input,38,FOLLOW_38_in_rule__OpMulti__Alternatives6485); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAccess().getSolidusKeyword_2()); + } + + } + + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3031:6: ( '%' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3031:6: ( '%' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3032:1: '%' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpMultiAccess().getPercentSignKeyword_3()); + } + match(input,39,FOLLOW_39_in_rule__OpMulti__Alternatives6505); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpMultiAccess().getPercentSignKeyword_3()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpMulti__Alternatives" + + + // $ANTLR start "rule__XUnaryOperation__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3044:1: rule__XUnaryOperation__Alternatives : ( ( ( rule__XUnaryOperation__Group_0__0 ) ) | ( ruleXCastedExpression ) ); + public final void rule__XUnaryOperation__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3048:1: ( ( ( rule__XUnaryOperation__Group_0__0 ) ) | ( ruleXCastedExpression ) ) + int alt18=2; + int LA18_0 = input.LA(1); + + if ( ((LA18_0>=34 && LA18_0<=35)||LA18_0==40) ) { + alt18=1; + } + else if ( ((LA18_0>=RULE_STRING && LA18_0<=RULE_DECIMAL)||LA18_0==27||(LA18_0>=45 && LA18_0<=50)||LA18_0==52||LA18_0==58||(LA18_0>=62 && LA18_0<=63)||LA18_0==67||LA18_0==69||(LA18_0>=73 && LA18_0<=81)||LA18_0==83||LA18_0==96) ) { + alt18=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 18, 0, input); + + throw nvae; + } + switch (alt18) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3049:1: ( ( rule__XUnaryOperation__Group_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3049:1: ( ( rule__XUnaryOperation__Group_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3050:1: ( rule__XUnaryOperation__Group_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXUnaryOperationAccess().getGroup_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3051:1: ( rule__XUnaryOperation__Group_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3051:2: rule__XUnaryOperation__Group_0__0 + { + pushFollow(FOLLOW_rule__XUnaryOperation__Group_0__0_in_rule__XUnaryOperation__Alternatives6539); + rule__XUnaryOperation__Group_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXUnaryOperationAccess().getGroup_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3055:6: ( ruleXCastedExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3055:6: ( ruleXCastedExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3056:1: ruleXCastedExpression + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1()); + } + pushFollow(FOLLOW_ruleXCastedExpression_in_rule__XUnaryOperation__Alternatives6557); + ruleXCastedExpression(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__XUnaryOperation__Alternatives" + + + // $ANTLR start "rule__OpUnary__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3066:1: rule__OpUnary__Alternatives : ( ( '!' ) | ( '-' ) | ( '+' ) ); + public final void rule__OpUnary__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3070:1: ( ( '!' ) | ( '-' ) | ( '+' ) ) + int alt19=3; + switch ( input.LA(1) ) { + case 40: + { + alt19=1; + } + break; + case 35: + { + alt19=2; + } + break; + case 34: + { + alt19=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 19, 0, input); + + throw nvae; + } + + switch (alt19) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3071:1: ( '!' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3071:1: ( '!' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3072:1: '!' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0()); + } + match(input,40,FOLLOW_40_in_rule__OpUnary__Alternatives6590); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3079:6: ( '-' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3079:6: ( '-' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3080:1: '-' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1()); + } + match(input,35,FOLLOW_35_in_rule__OpUnary__Alternatives6610); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1()); + } + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3087:6: ( '+' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3087:6: ( '+' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3088:1: '+' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2()); + } + match(input,34,FOLLOW_34_in_rule__OpUnary__Alternatives6630); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpUnary__Alternatives" + + + // $ANTLR start "rule__OpPostfix__Alternatives" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3100:1: rule__OpPostfix__Alternatives : ( ( '++' ) | ( '--' ) ); + public final void rule__OpPostfix__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3104:1: ( ( '++' ) | ( '--' ) ) + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==41) ) { + alt20=1; + } + else if ( (LA20_0==42) ) { + alt20=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 20, 0, input); + + throw nvae; + } + switch (alt20) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3105:1: ( '++' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3105:1: ( '++' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3106:1: '++' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0()); + } + match(input,41,FOLLOW_41_in_rule__OpPostfix__Alternatives6665); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3113:6: ( '--' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3113:6: ( '--' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3114:1: '--' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1()); + } + match(input,42,FOLLOW_42_in_rule__OpPostfix__Alternatives6685); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OpPostfix__Alternatives" + + + // $ANTLR start "rule__XMemberFeatureCall__Alternatives_1" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3126:1: rule__XMemberFeatureCall__Alternatives_1 : ( ( ( rule__XMemberFeatureCall__Group_1_0__0 ) ) | ( ( rule__XMemberFeatureCall__Group_1_1__0 ) ) ); + public final void rule__XMemberFeatureCall__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3130:1: ( ( ( rule__XMemberFeatureCall__Group_1_0__0 ) ) | ( ( rule__XMemberFeatureCall__Group_1_1__0 ) ) ) + int alt21=2; + alt21 = dfa21.predict(input); + switch (alt21) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3131:1: ( ( rule__XMemberFeatureCall__Group_1_0__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3131:1: ( ( rule__XMemberFeatureCall__Group_1_0__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3132:1: ( rule__XMemberFeatureCall__Group_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3133:1: ( rule__XMemberFeatureCall__Group_1_0__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3133:2: rule__XMemberFeatureCall__Group_1_0__0 + { + pushFollow(FOLLOW_rule__XMemberFeatureCall__Group_1_0__0_in_rule__XMemberFeatureCall__Alternatives_16719); + rule__XMemberFeatureCall__Group_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3137:6: ( ( rule__XMemberFeatureCall__Group_1_1__0 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3137:6: ( ( rule__XMemberFeatureCall__Group_1_1__0 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3138:1: ( rule__XMemberFeatureCall__Group_1_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1()); + } + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3139:1: ( rule__XMemberFeatureCall__Group_1_1__0 ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3139:2: rule__XMemberFeatureCall__Group_1_1__0 + { + pushFollow(FOLLOW_rule__XMemberFeatureCall__Group_1_1__0_in_rule__XMemberFeatureCall__Alternatives_16737); + rule__XMemberFeatureCall__Group_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__XMemberFeatureCall__Alternatives_1" + + + // $ANTLR start "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1" + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3148:1: rule__XMemberFeatureCall__Alternatives_1_0_0_0_1 : ( ( '.' ) | ( ( rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1 ) ) ); + public final void rule__XMemberFeatureCall__Alternatives_1_0_0_0_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3152:1: ( ( '.' ) | ( ( rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1 ) ) ) + int alt22=2; + int LA22_0 = input.LA(1); + + if ( (LA22_0==43) ) { + alt22=1; + } + else if ( (LA22_0==92) ) { + alt22=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 22, 0, input); + + throw nvae; + } + switch (alt22) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3153:1: ( '.' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3153:1: ( '.' ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3154:1: '.' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0()); + } + match(input,43,FOLLOW_43_in_rule__XMemberFeatureCall__Alternatives_1_0_0_0_16771); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0()); + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3161:6: ( ( rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1 ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3161:6: ( ( rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1 ) ) + // ../org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/antlr/internal/InternalDialogDsl.g:3162:1: ( rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1()); diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/internal/DialogDslActivator.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/internal/DialogDslActivator.java new file mode 100644 index 0000000..70f3b64 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src-gen/org/eclipse/osbp/xtext/dialogdsl/ui/internal/DialogDslActivator.java @@ -0,0 +1,107 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.internal; + +import java.util.Collections; +import java.util.Map; + +import org.apache.log4j.Logger; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.ui.shared.SharedStateModule; +import org.eclipse.xtext.util.Modules2; +import org.osgi.framework.BundleContext; + +import com.google.common.collect.Maps; +import com.google.inject.Guice; +import com.google.inject.Injector; +import com.google.inject.Module; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class DialogDslActivator extends AbstractUIPlugin { + + public static final String ORG_ECLIPSE_OSBP_XTEXT_DIALOGDSL_DIALOGDSL = "org.eclipse.osbp.xtext.dialogdsl.DialogDsl"; + + private static final Logger logger = Logger.getLogger(DialogDslActivator.class); + + private static DialogDslActivator INSTANCE; + + private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1)); + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + INSTANCE = this; + } + + @Override + public void stop(BundleContext context) throws Exception { + injectors.clear(); + INSTANCE = null; + super.stop(context); + } + + public static DialogDslActivator getInstance() { + return INSTANCE; + } + + public Injector getInjector(String language) { + synchronized (injectors) { + Injector injector = injectors.get(language); + if (injector == null) { + injectors.put(language, injector = createInjector(language)); + } + return injector; + } + } + + protected Injector createInjector(String language) { + try { + Module runtimeModule = getRuntimeModule(language); + Module sharedStateModule = getSharedStateModule(); + Module uiModule = getUiModule(language); + Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); + return Guice.createInjector(mergedModule); + } catch (Exception e) { + logger.error("Failed to create injector for " + language); + logger.error(e.getMessage(), e); + throw new RuntimeException("Failed to create injector for " + language, e); + } + } + + protected Module getRuntimeModule(String grammar) { + if (ORG_ECLIPSE_OSBP_XTEXT_DIALOGDSL_DIALOGDSL.equals(grammar)) { + return new org.eclipse.osbp.xtext.dialogdsl.DialogDslRuntimeModule(); + } + + throw new IllegalArgumentException(grammar); + } + + protected Module getUiModule(String grammar) { + if (ORG_ECLIPSE_OSBP_XTEXT_DIALOGDSL_DIALOGDSL.equals(grammar)) { + return new org.eclipse.osbp.xtext.dialogdsl.ui.DialogDslUiModule(this); + } + + throw new IllegalArgumentException(grammar); + } + + protected Module getSharedStateModule() { + return new SharedStateModule(); + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLDocumentationTranslator.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLDocumentationTranslator.java new file mode 100644 index 0000000..39b6242 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLDocumentationTranslator.java @@ -0,0 +1,48 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ + +package org.eclipse.osbp.xtext.dialogdsl.ui; + +import java.util.ResourceBundle; + +import org.eclipse.osbp.utils.constants.GeneratorConstants; +import org.eclipse.osbp.xtext.basic.ui.BasicDSLDocumentationTranslator; + +// TODO: Auto-generated Javadoc +/** + * The Class DialogDSLDocumentationTranslator. + */ +public class DialogDSLDocumentationTranslator extends BasicDSLDocumentationTranslator { + + /** The instance. */ + private static DialogDSLDocumentationTranslator INSTANCE = new DialogDSLDocumentationTranslator(); + + /** + * Instance. + * + * @return the basic dsl documentation translator + */ + public static BasicDSLDocumentationTranslator instance() { + return INSTANCE; + } + + /* (non-Javadoc) + * @see org.eclipse.osbp.xtext.basic.ui.BasicDSLDocumentationTranslator#getResourceBundle() + */ + @Override + protected ResourceBundle getResourceBundle() { + return java.util.ResourceBundle.getBundle(GeneratorConstants.I18N_RESOURCE_FULL_BUNDLE_NAME, getLocale(), getClass().getClassLoader()); + } +} + diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLEObjectHover.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLEObjectHover.java new file mode 100644 index 0000000..8adebec --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLEObjectHover.java @@ -0,0 +1,27 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ + +package org.eclipse.osbp.xtext.dialogdsl.ui; + +import org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider; + +import org.eclipse.osbp.xtext.basic.ui.BasicDSLEObjectHover; + +public class DialogDSLEObjectHover extends BasicDSLEObjectHover { + + @Override + public IEObjectHoverProvider getHoverProvider() { + return DialogDSLEObjectHoverProvider.instance(); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLEObjectHoverDocumentationProvider.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLEObjectHoverDocumentationProvider.java new file mode 100644 index 0000000..4db72b6 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLEObjectHoverDocumentationProvider.java @@ -0,0 +1,37 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ + +package org.eclipse.osbp.xtext.dialogdsl.ui; + +import org.eclipse.osbp.xtext.basic.ui.BasicDSLDocumentationTranslator; +import org.eclipse.osbp.xtext.basic.ui.BasicDSLEObjectHoverDocumentationProvider; + +public class DialogDSLEObjectHoverDocumentationProvider extends BasicDSLEObjectHoverDocumentationProvider { + + private static DialogDSLEObjectHoverDocumentationProvider INSTANCE; + + public static DialogDSLEObjectHoverDocumentationProvider instance() { + return INSTANCE; + } + + public DialogDSLEObjectHoverDocumentationProvider() { + super(); + INSTANCE = this; + } + + @Override + protected BasicDSLDocumentationTranslator getTranslator() { + return DialogDSLDocumentationTranslator.instance(); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLEObjectHoverProvider.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLEObjectHoverProvider.java new file mode 100644 index 0000000..33d8d99 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDSLEObjectHoverProvider.java @@ -0,0 +1,38 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ + +package org.eclipse.osbp.xtext.dialogdsl.ui; + +import org.eclipse.xtext.ui.editor.hover.html.IEObjectHoverDocumentationProvider; + +import org.eclipse.osbp.xtext.basic.ui.BasicDSLEObjectHoverProvider; + +public class DialogDSLEObjectHoverProvider extends BasicDSLEObjectHoverProvider { + + private static DialogDSLEObjectHoverProvider INSTANCE; + + public static DialogDSLEObjectHoverProvider instance() { + return INSTANCE; + } + + public DialogDSLEObjectHoverProvider() { + super(); + INSTANCE = this; + } + + @Override + public IEObjectHoverDocumentationProvider getDocumentationHoverProvider() { + return DialogDSLEObjectHoverDocumentationProvider.instance(); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDslUiModule.java b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDslUiModule.java new file mode 100644 index 0000000..d171528 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/DialogDslUiModule.java @@ -0,0 +1,51 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.ui.editor.hover.IEObjectHover; +import org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider; +import org.eclipse.xtext.ui.editor.hover.html.IEObjectHoverDocumentationProvider; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import org.eclipse.osbp.xtext.basic.ui.BasicDSLUiModuleHelper; + +/** + * Use this class to register components to be used within the IDE. + */ +public class DialogDslUiModule extends org.eclipse.osbp.xtext.dialogdsl.ui.AbstractDialogDslUiModule { + + private static Logger LOGGER = LoggerFactory.getLogger(DialogDslUiModule.class); + + public DialogDslUiModule(AbstractUIPlugin plugin) { + super(plugin); + BasicDSLUiModuleHelper.unitTestTemplates(plugin, LOGGER); + } + + @Override + public Class<? extends IEObjectHover> bindIEObjectHover() { + return DialogDSLEObjectHover.class; + } + + @Override + public Class<? extends IEObjectHoverProvider> bindIEObjectHoverProvider() { + return DialogDSLEObjectHoverProvider.class; + } + + @Override + public Class<? extends IEObjectHoverDocumentationProvider> bindIEObjectHoverDocumentationProvider() { + return DialogDSLEObjectHoverDocumentationProvider.class; + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/DialogDslProposalProvider.xtend b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/DialogDslProposalProvider.xtend new file mode 100644 index 0000000..aac6c15 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/DialogDslProposalProvider.xtend @@ -0,0 +1,76 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.contentassist + +import com.google.inject.Inject +import org.eclipse.emf.ecore.EObject +import org.eclipse.jface.viewers.StyledString +import org.eclipse.osbp.xtext.basic.ui.contentassist.BasicDSLProposalProviderHelper +import org.eclipse.osbp.xtext.dialogdsl.ui.DialogDSLDocumentationTranslator +import org.eclipse.xtext.Keyword +import org.eclipse.xtext.RuleCall +import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext +import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor + +/** + * see http://www.eclipse.org/Xtext/documentation.html#contentAssist on how to customize content assistant + */ +class DialogDslProposalProvider extends AbstractDialogDslProposalProvider { + + @Inject TerminalsProposalProvider provider + @Inject BasicDSLProposalProviderHelper providerHelper + + override protected StyledString getKeywordDisplayString(Keyword keyword) { + return BasicDSLProposalProviderHelper.getKeywordDisplayString(keyword, DialogDSLDocumentationTranslator.instance()) + } + + /** + * This override will enable 1 length non letter characters as keyword. + */ + override protected boolean isKeywordWorthyToPropose(Keyword keyword) { + return true; + } + + override protected boolean isValidProposal(String proposal, String prefix, ContentAssistContext context) { + var result = super.isValidProposal(proposal, prefix, context); + return result + } + + // ------------------------ delegates to BasicDSLProposalProviderHelper ----------------- + override public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, + ICompletionProposalAcceptor acceptor) { + providerHelper.complete_PackageName(model, ruleCall, context, acceptor, this) + } + + override public void complete_DialogQualifiedNameWithWildCard(EObject model, RuleCall ruleCall, + ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + providerHelper.complete_PackageName(model, ruleCall, context, acceptor, this) + } + + + // ------------------------ delegates to TerminalsProposalProvider ----------------- + override public void complete_TRANSLATABLESTRING(EObject model, RuleCall ruleCall, ContentAssistContext context, + ICompletionProposalAcceptor acceptor) { + provider.complete_STRING(model, ruleCall, context, acceptor) + } + + override public void complete_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, + ICompletionProposalAcceptor acceptor) { + provider.complete_ID(model, ruleCall, context, acceptor) + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslDescriptionLabelProvider.xtend b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslDescriptionLabelProvider.xtend new file mode 100644 index 0000000..11cea37 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslDescriptionLabelProvider.xtend @@ -0,0 +1,36 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.labeling + +//import org.eclipse.xtext.resource.IEObjectDescription + +/** + * Provides labels for a IEObjectDescriptions and IResourceDescriptions. + * + * see http://www.eclipse.org/Xtext/documentation.html#labelProvider + */ +class DialogDslDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { + + // Labels and icons can be computed like this: + +// override text(IEObjectDescription ele) { +// ele.name.toString +// } +// +// override image(IEObjectDescription ele) { +// ele.EClass.name + '.gif' +// } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslLabelProvider.xtend b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslLabelProvider.xtend new file mode 100644 index 0000000..36f35bd --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslLabelProvider.xtend @@ -0,0 +1,54 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.labeling + +import com.google.inject.Inject +import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider +import org.eclipse.osbp.xtext.basic.ui.labeling.BasicDSLLabelProvider +import org.eclipse.osbp.xtext.dialogdsl.Dialog +import org.eclipse.osbp.xtext.dialogdsl.DialogModel + +/** + * Provides labels for a EObjects. + * + * see http://www.eclipse.org/Xtext/documentation.html#labelProvider + */ +class DialogDslLabelProvider extends BasicDSLLabelProvider { + + @Inject + new(AdapterFactoryLabelProvider delegate) { + super(delegate); + } + + // Labels and icons can be computed like this: + + override text ( Object o ) { + switch (o) { + Dialog : generateText( o, 'dialog' , o.name ) +// DialogHandler : generateText( o, 'handler' ) + default : super.text( o ) + } + } + + override image ( Object o ) { + switch (o) { + DialogModel : getInternalImage( 'model.png' , class ) + Dialog : getInternalImage( 'dsl_dialog.gif', class ) + default : super.image( o ) + } + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/outline/DialogDslOutlineTreeProvider.xtend b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/outline/DialogDslOutlineTreeProvider.xtend new file mode 100644 index 0000000..d8fdd0c --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/outline/DialogDslOutlineTreeProvider.xtend @@ -0,0 +1,25 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.outline + +/** + * Customization of the default outline structure. + * + * see http://www.eclipse.org/Xtext/documentation.html#outline + */ +class DialogDslOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/quickfix/DialogDslQuickfixProvider.xtend b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/quickfix/DialogDslQuickfixProvider.xtend new file mode 100644 index 0000000..a6a0890 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/src/org/eclipse/osbp/xtext/dialogdsl/ui/quickfix/DialogDslQuickfixProvider.xtend @@ -0,0 +1,38 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.ui.quickfix + +//import org.eclipse.xtext.ui.editor.quickfix.Fix +//import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor +//import org.eclipse.xtext.validation.Issue + +/** + * Custom quickfixes. + * + * see http://www.eclipse.org/Xtext/documentation.html#quickfixes + */ +class DialogDslQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider { + +// @Fix(MyDslValidator::INVALID_NAME) +// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { +// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ +// context | +// val xtextDocument = context.xtextDocument +// val firstLetter = xtextDocument.get(issue.offset, 1) +// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) +// ] +// } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/templates/ReadMe.txt b/org.eclipse.osbp.xtext.dialogdsl.ui/templates/ReadMe.txt new file mode 100644 index 0000000..56207f8 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/templates/ReadMe.txt @@ -0,0 +1 @@ +place templates for designtime here
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/DialogDslProposalProvider.java b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/DialogDslProposalProvider.java new file mode 100644 index 0000000..a33a5b6 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/contentassist/DialogDslProposalProvider.java @@ -0,0 +1,73 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.ui.contentassist; + +import com.google.inject.Inject; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.jface.viewers.StyledString; +import org.eclipse.osbp.xtext.basic.ui.BasicDSLDocumentationTranslator; +import org.eclipse.osbp.xtext.basic.ui.contentassist.BasicDSLProposalProviderHelper; +import org.eclipse.osbp.xtext.dialogdsl.ui.DialogDSLDocumentationTranslator; +import org.eclipse.osbp.xtext.dialogdsl.ui.contentassist.AbstractDialogDslProposalProvider; +import org.eclipse.xtext.Keyword; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider; +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; +import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; + +/** + * see http://www.eclipse.org/Xtext/documentation.html#contentAssist on how to customize content assistant + */ +@SuppressWarnings("all") +public class DialogDslProposalProvider extends AbstractDialogDslProposalProvider { + @Inject + private TerminalsProposalProvider provider; + + @Inject + private BasicDSLProposalProviderHelper providerHelper; + + protected StyledString getKeywordDisplayString(final Keyword keyword) { + BasicDSLDocumentationTranslator _instance = DialogDSLDocumentationTranslator.instance(); + return BasicDSLProposalProviderHelper.getKeywordDisplayString(keyword, _instance); + } + + /** + * This override will enable 1 length non letter characters as keyword. + */ + protected boolean isKeywordWorthyToPropose(final Keyword keyword) { + return true; + } + + protected boolean isValidProposal(final String proposal, final String prefix, final ContentAssistContext context) { + boolean result = super.isValidProposal(proposal, prefix, context); + return result; + } + + public void complete_QualifiedName(final EObject model, final RuleCall ruleCall, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) { + this.providerHelper.complete_PackageName(model, ruleCall, context, acceptor, this); + } + + public void complete_DialogQualifiedNameWithWildCard(final EObject model, final RuleCall ruleCall, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) { + this.providerHelper.complete_PackageName(model, ruleCall, context, acceptor, this); + } + + public void complete_TRANSLATABLESTRING(final EObject model, final RuleCall ruleCall, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) { + this.provider.complete_STRING(model, ruleCall, context, acceptor); + } + + public void complete_ID(final EObject model, final RuleCall ruleCall, final ContentAssistContext context, final ICompletionProposalAcceptor acceptor) { + this.provider.complete_ID(model, ruleCall, context, acceptor); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslDescriptionLabelProvider.java b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslDescriptionLabelProvider.java new file mode 100644 index 0000000..40de446 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslDescriptionLabelProvider.java @@ -0,0 +1,26 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.ui.labeling; + +import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider; + +/** + * Provides labels for a IEObjectDescriptions and IResourceDescriptions. + * + * see http://www.eclipse.org/Xtext/documentation.html#labelProvider + */ +@SuppressWarnings("all") +public class DialogDslDescriptionLabelProvider extends DefaultDescriptionLabelProvider { +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslLabelProvider.java b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslLabelProvider.java new file mode 100644 index 0000000..dfeff6e --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/labeling/DialogDslLabelProvider.java @@ -0,0 +1,73 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.ui.labeling; + +import com.google.inject.Inject; +import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; +import org.eclipse.osbp.xtext.basic.ui.labeling.BasicDSLLabelProvider; +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogModel; + +/** + * Provides labels for a EObjects. + * + * see http://www.eclipse.org/Xtext/documentation.html#labelProvider + */ +@SuppressWarnings("all") +public class DialogDslLabelProvider extends BasicDSLLabelProvider { + @Inject + public DialogDslLabelProvider(final AdapterFactoryLabelProvider delegate) { + super(delegate); + } + + public Object text(final Object o) { + Object _switchResult = null; + boolean _matched = false; + if (!_matched) { + if (o instanceof Dialog) { + _matched=true; + String _name = ((Dialog)o).getName(); + _switchResult = this.generateText(o, "dialog", _name); + } + } + if (!_matched) { + _switchResult = super.text(o); + } + return _switchResult; + } + + public Object image(final Object o) { + Object _switchResult = null; + boolean _matched = false; + if (!_matched) { + if (o instanceof DialogModel) { + _matched=true; + Class<? extends DialogDslLabelProvider> _class = this.getClass(); + _switchResult = this.getInternalImage("model.png", _class); + } + } + if (!_matched) { + if (o instanceof Dialog) { + _matched=true; + Class<? extends DialogDslLabelProvider> _class = this.getClass(); + _switchResult = this.getInternalImage("dsl_dialog.gif", _class); + } + } + if (!_matched) { + _switchResult = super.image(o); + } + return _switchResult; + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/outline/DialogDslOutlineTreeProvider.java b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/outline/DialogDslOutlineTreeProvider.java new file mode 100644 index 0000000..525cbf7 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/outline/DialogDslOutlineTreeProvider.java @@ -0,0 +1,26 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.ui.outline; + +import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; + +/** + * Customization of the default outline structure. + * + * see http://www.eclipse.org/Xtext/documentation.html#outline + */ +@SuppressWarnings("all") +public class DialogDslOutlineTreeProvider extends DefaultOutlineTreeProvider { +} diff --git a/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/quickfix/DialogDslQuickfixProvider.java b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/quickfix/DialogDslQuickfixProvider.java new file mode 100644 index 0000000..ae7d56c --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl.ui/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/ui/quickfix/DialogDslQuickfixProvider.java @@ -0,0 +1,26 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.ui.quickfix; + +import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider; + +/** + * Custom quickfixes. + * + * see http://www.eclipse.org/Xtext/documentation.html#quickfixes + */ +@SuppressWarnings("all") +public class DialogDslQuickfixProvider extends DefaultQuickfixProvider { +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/.project b/org.eclipse.osbp.xtext.dialogdsl/.project new file mode 100644 index 0000000..b8e9871 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/.project @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.osbp.xtext.dialogdsl</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.xtext.ui.shared.xtextBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.babel.editor.rbeBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.sonarlint.eclipse.core.sonarlintBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> + <nature>org.eclipse.babel.editor.rbeNature</nature> + </natures> +</projectDescription> diff --git a/org.eclipse.osbp.xtext.dialogdsl/LICENSE.txt b/org.eclipse.osbp.xtext.dialogdsl/LICENSE.txt new file mode 100644 index 0000000..ff42ad4 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/LICENSE.txt @@ -0,0 +1,161 @@ +Eclipse Public License -v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION +OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. +A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone +acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate +modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not +derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of +its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute +and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code +form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the +Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the +combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such +addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not +apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no +assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity +based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property +rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the +Program, it is Recipient's responsibility to acquire that license before distributing the Program. + +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to +grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and + +b) its license agreement: + +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including +warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and +fitness for a particular purpose; + +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any +other party; and + +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it +in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and + +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and +the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes +the Program in a commercial product offering should do so in a manner which does not create potential liability for +other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions +brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such +Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual +property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the +Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is +then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties +related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. +Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to +those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, +the Commercial Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for +determining the appropriateness of using and distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance +with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such +Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such +litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such +noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution +of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement +is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish +new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the +right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the +Agreement will be given a distinguishing version number. The Program (including Contributions) may always be +distributed subject to the version of the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the +new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States +of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause +of action arose. Each party waives its rights to a jury trial in any resulting litigation.
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl/META-INF/MANIFEST.MF b/org.eclipse.osbp.xtext.dialogdsl/META-INF/MANIFEST.MF new file mode 100644 index 0000000..41b8328 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/META-INF/MANIFEST.MF @@ -0,0 +1,120 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.osbp.xtext.dialogdsl +Bundle-Vendor: Eclipse OSBP +Bundle-Localization: plugin +Bundle-Version: 0.9.0.qualifier +Bundle-ClassPath: . +Bundle-SymbolicName: org.eclipse.osbp.xtext.dialogdsl;singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.slf4j.api;bundle-version="1.7.2", + org.apache.log4j;bundle-version="1.2.15", + org.apache.xerces;bundle-version="2.9.0", + javax.annotation;bundle-version="[1.1.0,1.2.0)", + org.eclipse.core.runtime, + ca.ecliptical.pde.ds.lib;bundle-version="1.0.0", + org.eclipse.xtext;bundle-version="[2.7.3,2.8.0)", + org.eclipse.xtext.generator;bundle-version="[2.7.3,2.8.0)", + org.eclipse.xtext.xbase;bundle-version="[2.7.3,2.8.0)";visibility:=reexport, + org.eclipse.emf.common, + org.eclipse.emf.ecore;visibility:=reexport, + org.eclipse.emf.ecore.xcore.lib;bundle-version="1.1.0", + org.eclipse.emf.codegen.ecore, + org.eclipse.emf.mwe.utils;resolution:=optional, + org.eclipse.emf.ecore.xcore, + org.eclipse.e4.core.contexts;bundle-version="1.3.0", + org.eclipse.e4.core.di;bundle-version="1.4.0", + org.eclipse.e4.core.di.extensions;bundle-version="0.12.0", + org.eclipse.e4.core.services;bundle-version="1.1.0", + org.eclipse.e4.ui.workbench;bundle-version="1.2.1", + org.eclipse.e4.ui.model.workbench;bundle-version="1.0.0", + org.objectweb.asm;bundle-version="[5.0.1,6.0.0)", + org.antlr.runtime, + com.vaadin.shared;bundle-version="[7.5.7,7.7.0)", + com.vaadin.server;bundle-version="[7.5.7,7.7.0)", + org.eclipse.xtext.xbase.lib;bundle-version="[2.7.3,2.8.0)", + org.eclipse.xtext.common.types;bundle-version="[2.7.3,2.8.0)";visibility:=reexport, + org.eclipse.core.databinding.beans;bundle-version="1.2.200", + org.eclipse.osbp.xtext.builder.types.loader.api;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.runtime.common;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.core.common;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.core.util.emf;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.core.common.editparts.emf;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.dsl;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.uisemantics;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.messagedsl;bundle-version="[0.9.0,0.10.0)";visibility:=reexport, + org.eclipse.osbp.runtime.web.vaadin.databinding;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.runtime.web.ecview.presentation.vaadin;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.dsl.common.xtext;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.dsl.dto.xtext;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.dsl.entity.xtext;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.dsl.dto.lib;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.dsl.xtext.lazyresolver;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.dsl.xtext.lazyresolver.api;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.i18n;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.functionlibrarydsl;bundle-version="[0.9.0,0.10.0)";visibility:=reexport, + org.eclipse.osbp.utils;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.osgi.hybrid.api;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.extension.model;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.extension.api;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.extension.editparts;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.extension.editparts.emf;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.ecview.extension.strategy;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.eventbroker;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.persistence;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.authentication;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.basic;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.action;bundle-version="0.1.0";visibility:=reexport, + org.eclipse.osbp.xtext.addons;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.strategy;bundle-version="0.1.0", + org.eclipse.emf.mwe2.launch;bundle-version="2.7.1";resolution:=optional, + org.eclipse.osbp.dsl.mwe;bundle-version="[0.9.0,0.10.0)";resolution:=optional, + org.eclipse.osbp.gitinfo;bundle-version="[0.9.0,0.10.0)", + org.apache.commons.lang;bundle-version="2.6.0", + org.eclipse.osbp.ecview.extension.presentation.vaadin;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.dsl.datatype.lib;bundle-version="[0.9.0,0.10.0)", + org.eclipse.core.databinding;bundle-version="1.4.2", + org.eclipse.osbp.vaaclipse.common.ecview;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.vaaclipse.common.ecview.api;bundle-version="[0.9.0,0.10.0)", + org.eclipse.xtext.util, + org.eclipse.osbp.runtime.web.vaadin.components, + org.eclipse.osbp.runtime.web.vaadin.common, + org.eclipse.osbp.xtext.builder.types.bundles;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.builder.types.loader.api;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.builder.types.loader.runtime;bundle-version="[0.9.0,0.10.0)", + org.eclipse.osbp.xtext.builder.xbase.setups;bundle-version="[0.9.0,0.10.0)" +Import-Package: javax.validation;version="1.1.0", + javax.validation.constraints;version="1.1.0", + org.apache.log4j, + org.eclipse.osbp.i18n.common;version="0.9.0", + org.eclipse.osbp.runtime.web.vaadin.common, + org.eclipse.osbp.ui.api.contextfunction, + org.eclipse.osbp.ui.api.metadata;version="0.9.0", + org.eclipse.osbp.ui.api.report;version="0.9.0", + org.eclipse.osbp.ui.api.statemachine;version="0.9.0", + org.eclipse.osbp.ui.api.themes;version="0.9.0", + org.eclipse.osbp.ui.api.user;version="0.9.0", + org.eclipse.osbp.ui.api.useraccess, + org.eclipse.osbp.ui.common.helper;version="0.9.0", + org.eclipse.osbp.ui.common.helper.impl;version="0.9.0", + org.eclipse.osbp.user;version="0.9.0", + org.eclipse.osbp.utils.vaadin;version="0.9.0", + org.eclipse.osbp.webserver.messagequeue;version="0.9.0", + org.osgi.service.event +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.osbp.xtext.dialogdsl;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.common;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.constants;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.formatting;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.generator;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.impl;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.jvmmodel;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.mapper;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.parser.antlr;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.scoping;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.serializer;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.services;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.util;version="0.9.0", + org.eclipse.osbp.xtext.dialogdsl.validation;version="0.9.0" +Bundle-Activator: org.eclipse.osbp.xtext.dialogdsl.Activator diff --git a/org.eclipse.osbp.xtext.dialogdsl/OSGI-INF/eobjectloader.xml b/org.eclipse.osbp.xtext.dialogdsl/OSGI-INF/eobjectloader.xml new file mode 100644 index 0000000..93f0a7f --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/OSGI-INF/eobjectloader.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.eclipse.osbp.xtext.dialogdsl.EObjectLoader"> + <implementation class="org.eclipse.osbp.xtext.dialogdsl.ServiceListener"/> + <reference bind="bindEObjectLoaderService" cardinality="0..n" interface="org.eclipse.osbp.utils.classloader.IEObjectLoader" policy="dynamic" name="IEObjectLoader" unbind="unbindEObjectLoaderService"/> +</scr:component> diff --git a/org.eclipse.osbp.xtext.dialogdsl/about.html b/org.eclipse.osbp.xtext.dialogdsl/about.html new file mode 100644 index 0000000..64c0598 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 1, 2016</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl/about.ini b/org.eclipse.osbp.xtext.dialogdsl/about.ini new file mode 100644 index 0000000..7df671f --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/about.ini @@ -0,0 +1,17 @@ +# about.ini +# contains information about a feature +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# "%key" are externalized strings defined in about.properties +# This file does not need to be translated. + +# Property "aboutText" contains blurb for "About" dialog (translated) +aboutText=%featureText + +# Property "featureImage" contains path to feature image (32x32) +featureImage= + +# Property "appName" contains name of the application (translated) +appName=%featureName + +# Property "welcomePage" contains path to welcome page (special XML-based format) +welcomePage= diff --git a/org.eclipse.osbp.xtext.dialogdsl/about.mappings b/org.eclipse.osbp.xtext.dialogdsl/about.mappings new file mode 100644 index 0000000..4511a0a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/about.mappings @@ -0,0 +1,6 @@ +# about.mappings +# contains fill-ins for about.properties +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file does not need to be translated. + +0=qualifier diff --git a/org.eclipse.osbp.xtext.dialogdsl/about.properties b/org.eclipse.osbp.xtext.dialogdsl/about.properties new file mode 100644 index 0000000..7155f2c --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/about.properties @@ -0,0 +1,26 @@ +# +# Copyright (c) 2012, 2016 - Loetz GmbH&Co.KG (Heidelberg) +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation +# + +# NLS_MESSAGEFORMAT_VAR + +featureName=org.eclipse.osbp.xtext.dialogdsl + +################ blurb property #################################### +featureText=\ +Copyright (c) 2012-2016 - Loetz GmbH&Co.KG \n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +Contributors:\n\ + Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation\n +################ end of blurb property #################################### diff --git a/org.eclipse.osbp.xtext.dialogdsl/build.properties b/org.eclipse.osbp.xtext.dialogdsl/build.properties new file mode 100644 index 0000000..924a479 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/build.properties @@ -0,0 +1,35 @@ +# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Based on ideas from Xtext, Xtend, Xcore +# +# Contributors: +# Joerg Riegel - Initial implementation +# + +bin.includes = about.properties, about.mappings, about.ini, about.html, .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties,\ + OSGI-INF/,\ + .classpath,\ + .project,\ + .settings/,\ + license.html,\ + LICENSE.txt +jars.compile.order = . +source.. = emf-gen/,\ + src-gen/,\ + src/,\ + xtend-gen/ +output.. = target/classes/ +src.includes = about.properties,\ + about.mappings,\ + about.ini,\ + about.html,\ + LICENSE.txt,\ + license.html diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/Dialog.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/Dialog.java new file mode 100644 index 0000000..e9734cd --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/Dialog.java @@ -0,0 +1,271 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.osbp.dsl.semantic.dto.LDto; + +import org.eclipse.osbp.ecview.semantic.uimodel.UiView; + +import org.eclipse.osbp.xtext.action.ActionToolbar; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Dialog</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getDescriptionValue <em>Description Value</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getUiView <em>Ui View</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getToolbar <em>Toolbar</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isEmbedded <em>Embedded</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isPure <em>Pure</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isStateful <em>Stateful</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isAutowire <em>Autowire</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getDto <em>Dto</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog() + * @generated + */ +public interface Dialog extends DialogBase { + /** + * Returns the value of the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' attribute. + * @see #setDescription(boolean) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog_Description() + * @generated + */ + boolean isDescription(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isDescription <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Description</em>' attribute. + * @see #isDescription() + * @generated + */ + void setDescription(boolean value); + + /** + * Returns the value of the '<em><b>Description Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description Value</em>' attribute. + * @see #setDescriptionValue(String) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog_DescriptionValue() + * @generated + */ + String getDescriptionValue(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getDescriptionValue <em>Description Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Description Value</em>' attribute. + * @see #getDescriptionValue() + * @generated + */ + void setDescriptionValue(String value); + + /** + * Returns the value of the '<em><b>Ui View</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Ui View</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Ui View</em>' reference. + * @see #setUiView(UiView) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog_UiView() + * @generated + */ + UiView getUiView(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getUiView <em>Ui View</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Ui View</em>' reference. + * @see #getUiView() + * @generated + */ + void setUiView(UiView value); + + /** + * Returns the value of the '<em><b>Toolbar</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Toolbar</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Toolbar</em>' reference. + * @see #setToolbar(ActionToolbar) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog_Toolbar() + * @generated + */ + ActionToolbar getToolbar(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getToolbar <em>Toolbar</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Toolbar</em>' reference. + * @see #getToolbar() + * @generated + */ + void setToolbar(ActionToolbar value); + + /** + * Returns the value of the '<em><b>Embedded</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Embedded</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Embedded</em>' attribute. + * @see #setEmbedded(boolean) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog_Embedded() + * @generated + */ + boolean isEmbedded(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isEmbedded <em>Embedded</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Embedded</em>' attribute. + * @see #isEmbedded() + * @generated + */ + void setEmbedded(boolean value); + + /** + * Returns the value of the '<em><b>Pure</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Pure</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Pure</em>' attribute. + * @see #setPure(boolean) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog_Pure() + * @generated + */ + boolean isPure(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isPure <em>Pure</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Pure</em>' attribute. + * @see #isPure() + * @generated + */ + void setPure(boolean value); + + /** + * Returns the value of the '<em><b>Stateful</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Stateful</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Stateful</em>' attribute. + * @see #setStateful(boolean) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog_Stateful() + * @generated + */ + boolean isStateful(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isStateful <em>Stateful</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Stateful</em>' attribute. + * @see #isStateful() + * @generated + */ + void setStateful(boolean value); + + /** + * Returns the value of the '<em><b>Autowire</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Autowire</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Autowire</em>' attribute. + * @see #setAutowire(boolean) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog_Autowire() + * @generated + */ + boolean isAutowire(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isAutowire <em>Autowire</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Autowire</em>' attribute. + * @see #isAutowire() + * @generated + */ + void setAutowire(boolean value); + + /** + * Returns the value of the '<em><b>Dto</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Dto</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Dto</em>' reference. + * @see #setDto(LDto) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialog_Dto() + * @generated + */ + LDto getDto(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getDto <em>Dto</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Dto</em>' reference. + * @see #getDto() + * @generated + */ + void setDto(LDto value); + +} // Dialog diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogBase.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogBase.java new file mode 100644 index 0000000..c02429a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogBase.java @@ -0,0 +1,58 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Dialog Base</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.DialogBase#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialogBase() + * @generated + */ +public interface DialogBase extends DialogLazyResolver { + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialogBase_Name() + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.DialogBase#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // DialogBase diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDSLFactory.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDSLFactory.java new file mode 100644 index 0000000..24a30ca --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDSLFactory.java @@ -0,0 +1,89 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage + * @generated + */ +public interface DialogDSLFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + DialogDSLFactory eINSTANCE = org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Dialog Model</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Dialog Model</em>'. + * @generated + */ + DialogModel createDialogModel(); + + /** + * Returns a new object of class '<em>Dialog Lazy Resolver</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Dialog Lazy Resolver</em>'. + * @generated + */ + DialogLazyResolver createDialogLazyResolver(); + + /** + * Returns a new object of class '<em>Dialog Base</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Dialog Base</em>'. + * @generated + */ + DialogBase createDialogBase(); + + /** + * Returns a new object of class '<em>Dialog Package</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Dialog Package</em>'. + * @generated + */ + DialogPackage createDialogPackage(); + + /** + * Returns a new object of class '<em>Dialog</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Dialog</em>'. + * @generated + */ + Dialog createDialog(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + DialogDSLPackage getDialogDSLPackage(); + +} //DialogDSLFactory diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDSLPackage.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDSLPackage.java new file mode 100644 index 0000000..e1dd171 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDSLPackage.java @@ -0,0 +1,803 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * ***************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + * ============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + * **************************************************************************** + * <!-- end-model-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLFactory + * @generated + */ +public interface DialogDSLPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "dialogdsl"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://osbp.eclipse.org/xtext/dialogdsl/DialogDSL"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "dialogdsl"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + DialogDSLPackage eINSTANCE = org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogModelImpl <em>Dialog Model</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogModelImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialogModel() + * @generated + */ + int DIALOG_MODEL = 0; + + /** + * The feature id for the '<em><b>Pckg</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_MODEL__PCKG = 0; + + /** + * The number of structural features of the '<em>Dialog Model</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_MODEL_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Dialog Model</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_MODEL_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogLazyResolverImpl <em>Dialog Lazy Resolver</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogLazyResolverImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialogLazyResolver() + * @generated + */ + int DIALOG_LAZY_RESOLVER = 1; + + /** + * The number of structural features of the '<em>Dialog Lazy Resolver</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_LAZY_RESOLVER_FEATURE_COUNT = 0; + + /** + * The operation id for the '<em>EResolve Proxy</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_LAZY_RESOLVER___ERESOLVE_PROXY__INTERNALEOBJECT = 0; + + /** + * The number of operations of the '<em>Dialog Lazy Resolver</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_LAZY_RESOLVER_OPERATION_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogBaseImpl <em>Dialog Base</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogBaseImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialogBase() + * @generated + */ + int DIALOG_BASE = 2; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_BASE__NAME = DIALOG_LAZY_RESOLVER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Dialog Base</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_BASE_FEATURE_COUNT = DIALOG_LAZY_RESOLVER_FEATURE_COUNT + 1; + + /** + * The operation id for the '<em>EResolve Proxy</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_BASE___ERESOLVE_PROXY__INTERNALEOBJECT = DIALOG_LAZY_RESOLVER___ERESOLVE_PROXY__INTERNALEOBJECT; + + /** + * The number of operations of the '<em>Dialog Base</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_BASE_OPERATION_COUNT = DIALOG_LAZY_RESOLVER_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogPackageImpl <em>Dialog Package</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogPackageImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialogPackage() + * @generated + */ + int DIALOG_PACKAGE = 3; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_PACKAGE__NAME = OSBPTypesPackage.LPACKAGE__NAME; + + /** + * The feature id for the '<em><b>Imports</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_PACKAGE__IMPORTS = OSBPTypesPackage.LPACKAGE__IMPORTS; + + /** + * The feature id for the '<em><b>Dialogs</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_PACKAGE__DIALOGS = OSBPTypesPackage.LPACKAGE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Dialog Package</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_PACKAGE_FEATURE_COUNT = OSBPTypesPackage.LPACKAGE_FEATURE_COUNT + 1; + + /** + * The operation id for the '<em>EResolve Proxy</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_PACKAGE___ERESOLVE_PROXY__OBJECT = OSBPTypesPackage.LPACKAGE___ERESOLVE_PROXY__INTERNALEOBJECT; + + /** + * The number of operations of the '<em>Dialog Package</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_PACKAGE_OPERATION_COUNT = OSBPTypesPackage.LPACKAGE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl <em>Dialog</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialog() + * @generated + */ + int DIALOG = 4; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__NAME = DIALOG_BASE__NAME; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__DESCRIPTION = DIALOG_BASE_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Description Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__DESCRIPTION_VALUE = DIALOG_BASE_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Ui View</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__UI_VIEW = DIALOG_BASE_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Toolbar</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__TOOLBAR = DIALOG_BASE_FEATURE_COUNT + 3; + + /** + * The feature id for the '<em><b>Embedded</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__EMBEDDED = DIALOG_BASE_FEATURE_COUNT + 4; + + /** + * The feature id for the '<em><b>Pure</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__PURE = DIALOG_BASE_FEATURE_COUNT + 5; + + /** + * The feature id for the '<em><b>Stateful</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__STATEFUL = DIALOG_BASE_FEATURE_COUNT + 6; + + /** + * The feature id for the '<em><b>Autowire</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__AUTOWIRE = DIALOG_BASE_FEATURE_COUNT + 7; + + /** + * The feature id for the '<em><b>Dto</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG__DTO = DIALOG_BASE_FEATURE_COUNT + 8; + + /** + * The number of structural features of the '<em>Dialog</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_FEATURE_COUNT = DIALOG_BASE_FEATURE_COUNT + 9; + + /** + * The operation id for the '<em>EResolve Proxy</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG___ERESOLVE_PROXY__INTERNALEOBJECT = DIALOG_BASE___ERESOLVE_PROXY__INTERNALEOBJECT; + + /** + * The number of operations of the '<em>Dialog</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIALOG_OPERATION_COUNT = DIALOG_BASE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '<em>Internal EObject</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.InternalEObject + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getInternalEObject() + * @generated + */ + int INTERNAL_EOBJECT = 5; + + + /** + * Returns the meta object for class '{@link org.eclipse.osbp.xtext.dialogdsl.DialogModel <em>Dialog Model</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Dialog Model</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogModel + * @generated + */ + EClass getDialogModel(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.osbp.xtext.dialogdsl.DialogModel#getPckg <em>Pckg</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Pckg</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogModel#getPckg() + * @see #getDialogModel() + * @generated + */ + EReference getDialogModel_Pckg(); + + /** + * Returns the meta object for class '{@link org.eclipse.osbp.xtext.dialogdsl.DialogLazyResolver <em>Dialog Lazy Resolver</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Dialog Lazy Resolver</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogLazyResolver + * @generated + */ + EClass getDialogLazyResolver(); + + /** + * Returns the meta object for the '{@link org.eclipse.osbp.xtext.dialogdsl.DialogLazyResolver#eResolveProxy(org.eclipse.emf.ecore.InternalEObject) <em>EResolve Proxy</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>EResolve Proxy</em>' operation. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogLazyResolver#eResolveProxy(org.eclipse.emf.ecore.InternalEObject) + * @generated + */ + EOperation getDialogLazyResolver__EResolveProxy__InternalEObject(); + + /** + * Returns the meta object for class '{@link org.eclipse.osbp.xtext.dialogdsl.DialogBase <em>Dialog Base</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Dialog Base</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogBase + * @generated + */ + EClass getDialogBase(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osbp.xtext.dialogdsl.DialogBase#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogBase#getName() + * @see #getDialogBase() + * @generated + */ + EAttribute getDialogBase_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.osbp.xtext.dialogdsl.DialogPackage <em>Dialog Package</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Dialog Package</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogPackage + * @generated + */ + EClass getDialogPackage(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.osbp.xtext.dialogdsl.DialogPackage#getDialogs <em>Dialogs</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Dialogs</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogPackage#getDialogs() + * @see #getDialogPackage() + * @generated + */ + EReference getDialogPackage_Dialogs(); + + /** + * Returns the meta object for class '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog <em>Dialog</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Dialog</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog + * @generated + */ + EClass getDialog(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Description</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog#isDescription() + * @see #getDialog() + * @generated + */ + EAttribute getDialog_Description(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getDescriptionValue <em>Description Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Description Value</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog#getDescriptionValue() + * @see #getDialog() + * @generated + */ + EAttribute getDialog_DescriptionValue(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getUiView <em>Ui View</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Ui View</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog#getUiView() + * @see #getDialog() + * @generated + */ + EReference getDialog_UiView(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getToolbar <em>Toolbar</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Toolbar</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog#getToolbar() + * @see #getDialog() + * @generated + */ + EReference getDialog_Toolbar(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isEmbedded <em>Embedded</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Embedded</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog#isEmbedded() + * @see #getDialog() + * @generated + */ + EAttribute getDialog_Embedded(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isPure <em>Pure</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Pure</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog#isPure() + * @see #getDialog() + * @generated + */ + EAttribute getDialog_Pure(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isStateful <em>Stateful</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Stateful</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog#isStateful() + * @see #getDialog() + * @generated + */ + EAttribute getDialog_Stateful(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#isAutowire <em>Autowire</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Autowire</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog#isAutowire() + * @see #getDialog() + * @generated + */ + EAttribute getDialog_Autowire(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog#getDto <em>Dto</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Dto</em>'. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog#getDto() + * @see #getDialog() + * @generated + */ + EReference getDialog_Dto(); + + /** + * Returns the meta object for data type '{@link org.eclipse.emf.ecore.InternalEObject <em>Internal EObject</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for data type '<em>Internal EObject</em>'. + * @see org.eclipse.emf.ecore.InternalEObject + * @generated + */ + EDataType getInternalEObject(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + DialogDSLFactory getDialogDSLFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogModelImpl <em>Dialog Model</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogModelImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialogModel() + * @generated + */ + EClass DIALOG_MODEL = eINSTANCE.getDialogModel(); + + /** + * The meta object literal for the '<em><b>Pckg</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIALOG_MODEL__PCKG = eINSTANCE.getDialogModel_Pckg(); + + /** + * The meta object literal for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogLazyResolverImpl <em>Dialog Lazy Resolver</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogLazyResolverImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialogLazyResolver() + * @generated + */ + EClass DIALOG_LAZY_RESOLVER = eINSTANCE.getDialogLazyResolver(); + + /** + * The meta object literal for the '<em><b>EResolve Proxy</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation DIALOG_LAZY_RESOLVER___ERESOLVE_PROXY__INTERNALEOBJECT = eINSTANCE.getDialogLazyResolver__EResolveProxy__InternalEObject(); + + /** + * The meta object literal for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogBaseImpl <em>Dialog Base</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogBaseImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialogBase() + * @generated + */ + EClass DIALOG_BASE = eINSTANCE.getDialogBase(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIALOG_BASE__NAME = eINSTANCE.getDialogBase_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogPackageImpl <em>Dialog Package</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogPackageImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialogPackage() + * @generated + */ + EClass DIALOG_PACKAGE = eINSTANCE.getDialogPackage(); + + /** + * The meta object literal for the '<em><b>Dialogs</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIALOG_PACKAGE__DIALOGS = eINSTANCE.getDialogPackage_Dialogs(); + + /** + * The meta object literal for the '{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl <em>Dialog</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getDialog() + * @generated + */ + EClass DIALOG = eINSTANCE.getDialog(); + + /** + * The meta object literal for the '<em><b>Description</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIALOG__DESCRIPTION = eINSTANCE.getDialog_Description(); + + /** + * The meta object literal for the '<em><b>Description Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIALOG__DESCRIPTION_VALUE = eINSTANCE.getDialog_DescriptionValue(); + + /** + * The meta object literal for the '<em><b>Ui View</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIALOG__UI_VIEW = eINSTANCE.getDialog_UiView(); + + /** + * The meta object literal for the '<em><b>Toolbar</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIALOG__TOOLBAR = eINSTANCE.getDialog_Toolbar(); + + /** + * The meta object literal for the '<em><b>Embedded</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIALOG__EMBEDDED = eINSTANCE.getDialog_Embedded(); + + /** + * The meta object literal for the '<em><b>Pure</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIALOG__PURE = eINSTANCE.getDialog_Pure(); + + /** + * The meta object literal for the '<em><b>Stateful</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIALOG__STATEFUL = eINSTANCE.getDialog_Stateful(); + + /** + * The meta object literal for the '<em><b>Autowire</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIALOG__AUTOWIRE = eINSTANCE.getDialog_Autowire(); + + /** + * The meta object literal for the '<em><b>Dto</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIALOG__DTO = eINSTANCE.getDialog_Dto(); + + /** + * The meta object literal for the '<em>Internal EObject</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.InternalEObject + * @see org.eclipse.osbp.xtext.dialogdsl.impl.DialogDSLPackageImpl#getInternalEObject() + * @generated + */ + EDataType INTERNAL_EOBJECT = eINSTANCE.getInternalEObject(); + + } + +} //DialogDSLPackage diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogLazyResolver.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogLazyResolver.java new file mode 100644 index 0000000..0a0de7a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogLazyResolver.java @@ -0,0 +1,41 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.InternalEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Dialog Lazy Resolver</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialogLazyResolver() + * @generated + */ +public interface DialogLazyResolver extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * * + * @param proxy This is the parameter proxy. + * @return + * <!-- end-model-doc --> + * @generated + */ + EObject eResolveProxy(InternalEObject proxy); + +} // DialogLazyResolver diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogModel.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogModel.java new file mode 100644 index 0000000..255f5d7 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogModel.java @@ -0,0 +1,59 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Dialog Model</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.DialogModel#getPckg <em>Pckg</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialogModel() + * @generated + */ +public interface DialogModel extends EObject { + /** + * Returns the value of the '<em><b>Pckg</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Pckg</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Pckg</em>' containment reference. + * @see #setPckg(DialogPackage) + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialogModel_Pckg() + * @generated + */ + DialogPackage getPckg(); + + /** + * Sets the value of the '{@link org.eclipse.osbp.xtext.dialogdsl.DialogModel#getPckg <em>Pckg</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Pckg</em>' containment reference. + * @see #getPckg() + * @generated + */ + void setPckg(DialogPackage value); + +} // DialogModel diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogPackage.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogPackage.java new file mode 100644 index 0000000..e0038b3 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/DialogPackage.java @@ -0,0 +1,51 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.osbp.dsl.semantic.common.types.LPackage; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Dialog Package</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.DialogPackage#getDialogs <em>Dialogs</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialogPackage() + * @generated + */ +public interface DialogPackage extends LPackage { + /** + * Returns the value of the '<em><b>Dialogs</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.osbp.xtext.dialogdsl.Dialog}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Dialogs</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Dialogs</em>' containment reference list. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#getDialogPackage_Dialogs() + * @generated + */ + EList<Dialog> getDialogs(); + +} // DialogPackage diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogBaseImpl.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogBaseImpl.java new file mode 100644 index 0000000..e15fe98 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogBaseImpl.java @@ -0,0 +1,173 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.osbp.xtext.dialogdsl.DialogBase; +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Dialog Base</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogBaseImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DialogBaseImpl extends DialogLazyResolverImpl implements DialogBase { + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DialogBaseImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DialogDSLPackage.Literals.DIALOG_BASE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG_BASE__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DialogDSLPackage.DIALOG_BASE__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DialogDSLPackage.DIALOG_BASE__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DialogDSLPackage.DIALOG_BASE__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DialogDSLPackage.DIALOG_BASE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //DialogBaseImpl diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogDSLFactoryImpl.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogDSLFactoryImpl.java new file mode 100644 index 0000000..3965d8a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogDSLFactoryImpl.java @@ -0,0 +1,200 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.osbp.xtext.dialogdsl.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class DialogDSLFactoryImpl extends EFactoryImpl implements DialogDSLFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static DialogDSLFactory init() { + try { + DialogDSLFactory theDialogDSLFactory = (DialogDSLFactory)EPackage.Registry.INSTANCE.getEFactory(DialogDSLPackage.eNS_URI); + if (theDialogDSLFactory != null) { + return theDialogDSLFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new DialogDSLFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogDSLFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case DialogDSLPackage.DIALOG_MODEL: return createDialogModel(); + case DialogDSLPackage.DIALOG_LAZY_RESOLVER: return createDialogLazyResolver(); + case DialogDSLPackage.DIALOG_BASE: return createDialogBase(); + case DialogDSLPackage.DIALOG_PACKAGE: return createDialogPackage(); + case DialogDSLPackage.DIALOG: return createDialog(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case DialogDSLPackage.INTERNAL_EOBJECT: + return createInternalEObjectFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case DialogDSLPackage.INTERNAL_EOBJECT: + return convertInternalEObjectToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogModel createDialogModel() { + DialogModelImpl dialogModel = new DialogModelImpl(); + return dialogModel; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogLazyResolver createDialogLazyResolver() { + DialogLazyResolverImpl dialogLazyResolver = new DialogLazyResolverImpl(); + return dialogLazyResolver; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogBase createDialogBase() { + DialogBaseImpl dialogBase = new DialogBaseImpl(); + return dialogBase; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogPackage createDialogPackage() { + DialogPackageImpl dialogPackage = new DialogPackageImpl(); + return dialogPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Dialog createDialog() { + DialogImpl dialog = new DialogImpl(); + return dialog; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InternalEObject createInternalEObjectFromString(EDataType eDataType, String initialValue) { + return (InternalEObject)super.createFromString(eDataType, initialValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertInternalEObjectToString(EDataType eDataType, Object instanceValue) { + return super.convertToString(eDataType, instanceValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogDSLPackage getDialogDSLPackage() { + return (DialogDSLPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static DialogDSLPackage getPackage() { + return DialogDSLPackage.eINSTANCE; + } + +} //DialogDSLFactoryImpl diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogDSLPackageImpl.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogDSLPackageImpl.java new file mode 100644 index 0000000..24fdf55 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogDSLPackageImpl.java @@ -0,0 +1,476 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage; + +import org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage; + +import org.eclipse.osbp.ecview.semantic.uimodel.UiModelPackage; + +import org.eclipse.osbp.xtext.action.ActionDSLPackage; + +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogBase; +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLFactory; +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage; +import org.eclipse.osbp.xtext.dialogdsl.DialogLazyResolver; +import org.eclipse.osbp.xtext.dialogdsl.DialogModel; +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class DialogDSLPackageImpl extends EPackageImpl implements DialogDSLPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass dialogModelEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass dialogLazyResolverEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass dialogBaseEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass dialogPackageEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass dialogEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EDataType internalEObjectEDataType = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage#eNS_URI + * @see #init() + * @generated + */ + private DialogDSLPackageImpl() { + super(eNS_URI, DialogDSLFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link DialogDSLPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static DialogDSLPackage init() { + if (isInited) return (DialogDSLPackage)EPackage.Registry.INSTANCE.getEPackage(DialogDSLPackage.eNS_URI); + + // Obtain or create and register package + DialogDSLPackageImpl theDialogDSLPackage = (DialogDSLPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DialogDSLPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DialogDSLPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + UiModelPackage.eINSTANCE.eClass(); + OSBPDtoPackage.eINSTANCE.eClass(); + ActionDSLPackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theDialogDSLPackage.createPackageContents(); + + // Initialize created meta-data + theDialogDSLPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theDialogDSLPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(DialogDSLPackage.eNS_URI, theDialogDSLPackage); + return theDialogDSLPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDialogModel() { + return dialogModelEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDialogModel_Pckg() { + return (EReference)dialogModelEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDialogLazyResolver() { + return dialogLazyResolverEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getDialogLazyResolver__EResolveProxy__InternalEObject() { + return dialogLazyResolverEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDialogBase() { + return dialogBaseEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDialogBase_Name() { + return (EAttribute)dialogBaseEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDialogPackage() { + return dialogPackageEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDialogPackage_Dialogs() { + return (EReference)dialogPackageEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDialog() { + return dialogEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDialog_Description() { + return (EAttribute)dialogEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDialog_DescriptionValue() { + return (EAttribute)dialogEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDialog_UiView() { + return (EReference)dialogEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDialog_Toolbar() { + return (EReference)dialogEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDialog_Embedded() { + return (EAttribute)dialogEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDialog_Pure() { + return (EAttribute)dialogEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDialog_Stateful() { + return (EAttribute)dialogEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDialog_Autowire() { + return (EAttribute)dialogEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDialog_Dto() { + return (EReference)dialogEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EDataType getInternalEObject() { + return internalEObjectEDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogDSLFactory getDialogDSLFactory() { + return (DialogDSLFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + dialogModelEClass = createEClass(DIALOG_MODEL); + createEReference(dialogModelEClass, DIALOG_MODEL__PCKG); + + dialogLazyResolverEClass = createEClass(DIALOG_LAZY_RESOLVER); + createEOperation(dialogLazyResolverEClass, DIALOG_LAZY_RESOLVER___ERESOLVE_PROXY__INTERNALEOBJECT); + + dialogBaseEClass = createEClass(DIALOG_BASE); + createEAttribute(dialogBaseEClass, DIALOG_BASE__NAME); + + dialogPackageEClass = createEClass(DIALOG_PACKAGE); + createEReference(dialogPackageEClass, DIALOG_PACKAGE__DIALOGS); + + dialogEClass = createEClass(DIALOG); + createEAttribute(dialogEClass, DIALOG__DESCRIPTION); + createEAttribute(dialogEClass, DIALOG__DESCRIPTION_VALUE); + createEReference(dialogEClass, DIALOG__UI_VIEW); + createEReference(dialogEClass, DIALOG__TOOLBAR); + createEAttribute(dialogEClass, DIALOG__EMBEDDED); + createEAttribute(dialogEClass, DIALOG__PURE); + createEAttribute(dialogEClass, DIALOG__STATEFUL); + createEAttribute(dialogEClass, DIALOG__AUTOWIRE); + createEReference(dialogEClass, DIALOG__DTO); + + // Create data types + internalEObjectEDataType = createEDataType(INTERNAL_EOBJECT); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); + OSBPTypesPackage theOSBPTypesPackage = (OSBPTypesPackage)EPackage.Registry.INSTANCE.getEPackage(OSBPTypesPackage.eNS_URI); + UiModelPackage theUiModelPackage = (UiModelPackage)EPackage.Registry.INSTANCE.getEPackage(UiModelPackage.eNS_URI); + ActionDSLPackage theActionDSLPackage = (ActionDSLPackage)EPackage.Registry.INSTANCE.getEPackage(ActionDSLPackage.eNS_URI); + OSBPDtoPackage theOSBPDtoPackage = (OSBPDtoPackage)EPackage.Registry.INSTANCE.getEPackage(OSBPDtoPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + dialogBaseEClass.getESuperTypes().add(this.getDialogLazyResolver()); + dialogPackageEClass.getESuperTypes().add(theOSBPTypesPackage.getLPackage()); + dialogEClass.getESuperTypes().add(this.getDialogBase()); + + // Initialize classes, features, and operations; add parameters + initEClass(dialogModelEClass, DialogModel.class, "DialogModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDialogModel_Pckg(), this.getDialogPackage(), null, "pckg", null, 0, 1, DialogModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(dialogLazyResolverEClass, DialogLazyResolver.class, "DialogLazyResolver", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + EOperation op = initEOperation(getDialogLazyResolver__EResolveProxy__InternalEObject(), theEcorePackage.getEObject(), "eResolveProxy", 0, 1, !IS_UNIQUE, IS_ORDERED); + addEParameter(op, this.getInternalEObject(), "proxy", 0, 1, !IS_UNIQUE, IS_ORDERED); + + initEClass(dialogBaseEClass, DialogBase.class, "DialogBase", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDialogBase_Name(), theEcorePackage.getEString(), "name", null, 0, 1, DialogBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(dialogPackageEClass, DialogPackage.class, "DialogPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDialogPackage_Dialogs(), this.getDialog(), null, "dialogs", null, 0, -1, DialogPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(dialogEClass, Dialog.class, "Dialog", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDialog_Description(), theEcorePackage.getEBoolean(), "description", null, 0, 1, Dialog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDialog_DescriptionValue(), theEcorePackage.getEString(), "descriptionValue", null, 0, 1, Dialog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDialog_UiView(), theUiModelPackage.getUiView(), null, "uiView", null, 0, 1, Dialog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDialog_Toolbar(), theActionDSLPackage.getActionToolbar(), null, "toolbar", null, 0, 1, Dialog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDialog_Embedded(), theEcorePackage.getEBoolean(), "embedded", null, 0, 1, Dialog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDialog_Pure(), theEcorePackage.getEBoolean(), "pure", null, 0, 1, Dialog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDialog_Stateful(), theEcorePackage.getEBoolean(), "stateful", null, 0, 1, Dialog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDialog_Autowire(), theEcorePackage.getEBoolean(), "autowire", null, 0, 1, Dialog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDialog_Dto(), theOSBPDtoPackage.getLDto(), null, "dto", null, 0, 1, Dialog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize data types + initEDataType(internalEObjectEDataType, InternalEObject.class, "InternalEObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + + // Create resource + createResource(eNS_URI); + + // Create annotations + // http://www.eclipse.org/emf/2002/Ecore + createEcoreAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createEcoreAnnotations() { + String source = "http://www.eclipse.org/emf/2002/Ecore"; + addAnnotation + (this, + source, + new String[] { + "rootPackage", "dialogdsl" + }); + } + +} //DialogDSLPackageImpl diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogImpl.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogImpl.java new file mode 100644 index 0000000..79f4f3e --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogImpl.java @@ -0,0 +1,630 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.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.osbp.dsl.semantic.dto.LDto; + +import org.eclipse.osbp.ecview.semantic.uimodel.UiView; + +import org.eclipse.osbp.xtext.action.ActionToolbar; + +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Dialog</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl#isDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl#getDescriptionValue <em>Description Value</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl#getUiView <em>Ui View</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl#getToolbar <em>Toolbar</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl#isEmbedded <em>Embedded</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl#isPure <em>Pure</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl#isStateful <em>Stateful</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl#isAutowire <em>Autowire</em>}</li> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogImpl#getDto <em>Dto</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DialogImpl extends DialogBaseImpl implements Dialog { + /** + * The default value of the '{@link #isDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isDescription() + * @generated + * @ordered + */ + protected static final boolean DESCRIPTION_EDEFAULT = false; + + /** + * The cached value of the '{@link #isDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isDescription() + * @generated + * @ordered + */ + protected boolean description = DESCRIPTION_EDEFAULT; + + /** + * The default value of the '{@link #getDescriptionValue() <em>Description Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescriptionValue() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescriptionValue() <em>Description Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescriptionValue() + * @generated + * @ordered + */ + protected String descriptionValue = DESCRIPTION_VALUE_EDEFAULT; + + /** + * The cached value of the '{@link #getUiView() <em>Ui View</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getUiView() + * @generated + * @ordered + */ + protected UiView uiView; + + /** + * The cached value of the '{@link #getToolbar() <em>Toolbar</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getToolbar() + * @generated + * @ordered + */ + protected ActionToolbar toolbar; + + /** + * The default value of the '{@link #isEmbedded() <em>Embedded</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isEmbedded() + * @generated + * @ordered + */ + protected static final boolean EMBEDDED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isEmbedded() <em>Embedded</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isEmbedded() + * @generated + * @ordered + */ + protected boolean embedded = EMBEDDED_EDEFAULT; + + /** + * The default value of the '{@link #isPure() <em>Pure</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isPure() + * @generated + * @ordered + */ + protected static final boolean PURE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isPure() <em>Pure</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isPure() + * @generated + * @ordered + */ + protected boolean pure = PURE_EDEFAULT; + + /** + * The default value of the '{@link #isStateful() <em>Stateful</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isStateful() + * @generated + * @ordered + */ + protected static final boolean STATEFUL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isStateful() <em>Stateful</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isStateful() + * @generated + * @ordered + */ + protected boolean stateful = STATEFUL_EDEFAULT; + + /** + * The default value of the '{@link #isAutowire() <em>Autowire</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isAutowire() + * @generated + * @ordered + */ + protected static final boolean AUTOWIRE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isAutowire() <em>Autowire</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isAutowire() + * @generated + * @ordered + */ + protected boolean autowire = AUTOWIRE_EDEFAULT; + + /** + * The cached value of the '{@link #getDto() <em>Dto</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDto() + * @generated + * @ordered + */ + protected LDto dto; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DialogImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DialogDSLPackage.Literals.DIALOG; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isDescription() { + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(boolean newDescription) { + boolean oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG__DESCRIPTION, oldDescription, description)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDescriptionValue() { + return descriptionValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescriptionValue(String newDescriptionValue) { + String oldDescriptionValue = descriptionValue; + descriptionValue = newDescriptionValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG__DESCRIPTION_VALUE, oldDescriptionValue, descriptionValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public UiView getUiView() { + if (uiView != null && uiView.eIsProxy()) { + InternalEObject oldUiView = (InternalEObject)uiView; + uiView = (UiView)eResolveProxy(oldUiView); + if (uiView != oldUiView) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, DialogDSLPackage.DIALOG__UI_VIEW, oldUiView, uiView)); + } + } + return uiView; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public UiView basicGetUiView() { + return uiView; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setUiView(UiView newUiView) { + UiView oldUiView = uiView; + uiView = newUiView; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG__UI_VIEW, oldUiView, uiView)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActionToolbar getToolbar() { + if (toolbar != null && toolbar.eIsProxy()) { + InternalEObject oldToolbar = (InternalEObject)toolbar; + toolbar = (ActionToolbar)eResolveProxy(oldToolbar); + if (toolbar != oldToolbar) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, DialogDSLPackage.DIALOG__TOOLBAR, oldToolbar, toolbar)); + } + } + return toolbar; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActionToolbar basicGetToolbar() { + return toolbar; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setToolbar(ActionToolbar newToolbar) { + ActionToolbar oldToolbar = toolbar; + toolbar = newToolbar; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG__TOOLBAR, oldToolbar, toolbar)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isEmbedded() { + return embedded; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEmbedded(boolean newEmbedded) { + boolean oldEmbedded = embedded; + embedded = newEmbedded; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG__EMBEDDED, oldEmbedded, embedded)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isPure() { + return pure; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPure(boolean newPure) { + boolean oldPure = pure; + pure = newPure; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG__PURE, oldPure, pure)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isStateful() { + return stateful; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setStateful(boolean newStateful) { + boolean oldStateful = stateful; + stateful = newStateful; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG__STATEFUL, oldStateful, stateful)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isAutowire() { + return autowire; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAutowire(boolean newAutowire) { + boolean oldAutowire = autowire; + autowire = newAutowire; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG__AUTOWIRE, oldAutowire, autowire)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LDto getDto() { + if (dto != null && dto.eIsProxy()) { + InternalEObject oldDto = (InternalEObject)dto; + dto = (LDto)eResolveProxy(oldDto); + if (dto != oldDto) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, DialogDSLPackage.DIALOG__DTO, oldDto, dto)); + } + } + return dto; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LDto basicGetDto() { + return dto; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDto(LDto newDto) { + LDto oldDto = dto; + dto = newDto; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG__DTO, oldDto, dto)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DialogDSLPackage.DIALOG__DESCRIPTION: + return isDescription(); + case DialogDSLPackage.DIALOG__DESCRIPTION_VALUE: + return getDescriptionValue(); + case DialogDSLPackage.DIALOG__UI_VIEW: + if (resolve) return getUiView(); + return basicGetUiView(); + case DialogDSLPackage.DIALOG__TOOLBAR: + if (resolve) return getToolbar(); + return basicGetToolbar(); + case DialogDSLPackage.DIALOG__EMBEDDED: + return isEmbedded(); + case DialogDSLPackage.DIALOG__PURE: + return isPure(); + case DialogDSLPackage.DIALOG__STATEFUL: + return isStateful(); + case DialogDSLPackage.DIALOG__AUTOWIRE: + return isAutowire(); + case DialogDSLPackage.DIALOG__DTO: + if (resolve) return getDto(); + return basicGetDto(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DialogDSLPackage.DIALOG__DESCRIPTION: + setDescription((Boolean)newValue); + return; + case DialogDSLPackage.DIALOG__DESCRIPTION_VALUE: + setDescriptionValue((String)newValue); + return; + case DialogDSLPackage.DIALOG__UI_VIEW: + setUiView((UiView)newValue); + return; + case DialogDSLPackage.DIALOG__TOOLBAR: + setToolbar((ActionToolbar)newValue); + return; + case DialogDSLPackage.DIALOG__EMBEDDED: + setEmbedded((Boolean)newValue); + return; + case DialogDSLPackage.DIALOG__PURE: + setPure((Boolean)newValue); + return; + case DialogDSLPackage.DIALOG__STATEFUL: + setStateful((Boolean)newValue); + return; + case DialogDSLPackage.DIALOG__AUTOWIRE: + setAutowire((Boolean)newValue); + return; + case DialogDSLPackage.DIALOG__DTO: + setDto((LDto)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DialogDSLPackage.DIALOG__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + case DialogDSLPackage.DIALOG__DESCRIPTION_VALUE: + setDescriptionValue(DESCRIPTION_VALUE_EDEFAULT); + return; + case DialogDSLPackage.DIALOG__UI_VIEW: + setUiView((UiView)null); + return; + case DialogDSLPackage.DIALOG__TOOLBAR: + setToolbar((ActionToolbar)null); + return; + case DialogDSLPackage.DIALOG__EMBEDDED: + setEmbedded(EMBEDDED_EDEFAULT); + return; + case DialogDSLPackage.DIALOG__PURE: + setPure(PURE_EDEFAULT); + return; + case DialogDSLPackage.DIALOG__STATEFUL: + setStateful(STATEFUL_EDEFAULT); + return; + case DialogDSLPackage.DIALOG__AUTOWIRE: + setAutowire(AUTOWIRE_EDEFAULT); + return; + case DialogDSLPackage.DIALOG__DTO: + setDto((LDto)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DialogDSLPackage.DIALOG__DESCRIPTION: + return description != DESCRIPTION_EDEFAULT; + case DialogDSLPackage.DIALOG__DESCRIPTION_VALUE: + return DESCRIPTION_VALUE_EDEFAULT == null ? descriptionValue != null : !DESCRIPTION_VALUE_EDEFAULT.equals(descriptionValue); + case DialogDSLPackage.DIALOG__UI_VIEW: + return uiView != null; + case DialogDSLPackage.DIALOG__TOOLBAR: + return toolbar != null; + case DialogDSLPackage.DIALOG__EMBEDDED: + return embedded != EMBEDDED_EDEFAULT; + case DialogDSLPackage.DIALOG__PURE: + return pure != PURE_EDEFAULT; + case DialogDSLPackage.DIALOG__STATEFUL: + return stateful != STATEFUL_EDEFAULT; + case DialogDSLPackage.DIALOG__AUTOWIRE: + return autowire != AUTOWIRE_EDEFAULT; + case DialogDSLPackage.DIALOG__DTO: + return dto != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (description: "); + result.append(description); + result.append(", descriptionValue: "); + result.append(descriptionValue); + result.append(", embedded: "); + result.append(embedded); + result.append(", pure: "); + result.append(pure); + result.append(", stateful: "); + result.append(stateful); + result.append(", autowire: "); + result.append(autowire); + result.append(')'); + return result.toString(); + } + +} //DialogImpl diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogLazyResolverImpl.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogLazyResolverImpl.java new file mode 100644 index 0000000..32f2430 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogLazyResolverImpl.java @@ -0,0 +1,88 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; + +import org.eclipse.osbp.dsl.xtext.lazyresolver.api.EcoreUtil3; + +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage; +import org.eclipse.osbp.xtext.dialogdsl.DialogLazyResolver; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Dialog Lazy Resolver</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class DialogLazyResolverImpl extends MinimalEObjectImpl.Container implements DialogLazyResolver { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DialogLazyResolverImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DialogDSLPackage.Literals.DIALOG_LAZY_RESOLVER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EObject eResolveProxy(final InternalEObject proxy) { + Resource _eResource = this.eResource(); + ResourceSet _resourceSet = _eResource.getResourceSet(); + return EcoreUtil3.resolve(proxy, _resourceSet); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case DialogDSLPackage.DIALOG_LAZY_RESOLVER___ERESOLVE_PROXY__INTERNALEOBJECT: + return eResolveProxy((InternalEObject)arguments.get(0)); + } + return super.eInvoke(operationID, arguments); + } + +} //DialogLazyResolverImpl diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogModelImpl.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogModelImpl.java new file mode 100644 index 0000000..9c792cf --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogModelImpl.java @@ -0,0 +1,187 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage; +import org.eclipse.osbp.xtext.dialogdsl.DialogModel; +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Dialog Model</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogModelImpl#getPckg <em>Pckg</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DialogModelImpl extends MinimalEObjectImpl.Container implements DialogModel { + /** + * The cached value of the '{@link #getPckg() <em>Pckg</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPckg() + * @generated + * @ordered + */ + protected DialogPackage pckg; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DialogModelImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DialogDSLPackage.Literals.DIALOG_MODEL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogPackage getPckg() { + return pckg; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPckg(DialogPackage newPckg, NotificationChain msgs) { + DialogPackage oldPckg = pckg; + pckg = newPckg; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG_MODEL__PCKG, oldPckg, newPckg); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPckg(DialogPackage newPckg) { + if (newPckg != pckg) { + NotificationChain msgs = null; + if (pckg != null) + msgs = ((InternalEObject)pckg).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DialogDSLPackage.DIALOG_MODEL__PCKG, null, msgs); + if (newPckg != null) + msgs = ((InternalEObject)newPckg).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DialogDSLPackage.DIALOG_MODEL__PCKG, null, msgs); + msgs = basicSetPckg(newPckg, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DialogDSLPackage.DIALOG_MODEL__PCKG, newPckg, newPckg)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case DialogDSLPackage.DIALOG_MODEL__PCKG: + return basicSetPckg(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DialogDSLPackage.DIALOG_MODEL__PCKG: + return getPckg(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DialogDSLPackage.DIALOG_MODEL__PCKG: + setPckg((DialogPackage)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DialogDSLPackage.DIALOG_MODEL__PCKG: + setPckg((DialogPackage)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DialogDSLPackage.DIALOG_MODEL__PCKG: + return pckg != null; + } + return super.eIsSet(featureID); + } + +} //DialogModelImpl diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogPackageImpl.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogPackageImpl.java new file mode 100644 index 0000000..dab041c --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/impl/DialogPackageImpl.java @@ -0,0 +1,163 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.osbp.dsl.semantic.common.types.impl.LPackageImpl; + +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage; +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Dialog Package</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.osbp.xtext.dialogdsl.impl.DialogPackageImpl#getDialogs <em>Dialogs</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DialogPackageImpl extends LPackageImpl implements DialogPackage { + /** + * The cached value of the '{@link #getDialogs() <em>Dialogs</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDialogs() + * @generated + * @ordered + */ + protected EList<Dialog> dialogs; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DialogPackageImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DialogDSLPackage.Literals.DIALOG_PACKAGE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Dialog> getDialogs() { + if (dialogs == null) { + dialogs = new EObjectContainmentEList<Dialog>(Dialog.class, this, DialogDSLPackage.DIALOG_PACKAGE__DIALOGS); + } + return dialogs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case DialogDSLPackage.DIALOG_PACKAGE__DIALOGS: + return ((InternalEList<?>)getDialogs()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DialogDSLPackage.DIALOG_PACKAGE__DIALOGS: + return getDialogs(); + } + 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 DialogDSLPackage.DIALOG_PACKAGE__DIALOGS: + getDialogs().clear(); + getDialogs().addAll((Collection<? extends Dialog>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DialogDSLPackage.DIALOG_PACKAGE__DIALOGS: + getDialogs().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DialogDSLPackage.DIALOG_PACKAGE__DIALOGS: + return dialogs != null && !dialogs.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //DialogPackageImpl diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/util/DialogDSLAdapterFactory.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/util/DialogDSLAdapterFactory.java new file mode 100644 index 0000000..7ba6ba4 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/util/DialogDSLAdapterFactory.java @@ -0,0 +1,242 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver; +import org.eclipse.osbp.dsl.semantic.common.types.LPackage; + +import org.eclipse.osbp.xtext.dialogdsl.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage + * @generated + */ +public class DialogDSLAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static DialogDSLPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogDSLAdapterFactory() { + if (modelPackage == null) { + modelPackage = DialogDSLPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DialogDSLSwitch<Adapter> modelSwitch = + new DialogDSLSwitch<Adapter>() { + @Override + public Adapter caseDialogModel(DialogModel object) { + return createDialogModelAdapter(); + } + @Override + public Adapter caseDialogLazyResolver(DialogLazyResolver object) { + return createDialogLazyResolverAdapter(); + } + @Override + public Adapter caseDialogBase(DialogBase object) { + return createDialogBaseAdapter(); + } + @Override + public Adapter caseDialogPackage(DialogPackage object) { + return createDialogPackageAdapter(); + } + @Override + public Adapter caseDialog(Dialog object) { + return createDialogAdapter(); + } + @Override + public Adapter caseLLazyResolver(LLazyResolver object) { + return createLLazyResolverAdapter(); + } + @Override + public Adapter caseLPackage(LPackage object) { + return createLPackageAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.dialogdsl.DialogModel <em>Dialog Model</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogModel + * @generated + */ + public Adapter createDialogModelAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.dialogdsl.DialogLazyResolver <em>Dialog Lazy Resolver</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogLazyResolver + * @generated + */ + public Adapter createDialogLazyResolverAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.dialogdsl.DialogBase <em>Dialog Base</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogBase + * @generated + */ + public Adapter createDialogBaseAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.dialogdsl.DialogPackage <em>Dialog Package</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osbp.xtext.dialogdsl.DialogPackage + * @generated + */ + public Adapter createDialogPackageAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.dialogdsl.Dialog <em>Dialog</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osbp.xtext.dialogdsl.Dialog + * @generated + */ + public Adapter createDialogAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver <em>LLazy Resolver</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver + * @generated + */ + public Adapter createLLazyResolverAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.osbp.dsl.semantic.common.types.LPackage <em>LPackage</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.osbp.dsl.semantic.common.types.LPackage + * @generated + */ + public Adapter createLPackageAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //DialogDSLAdapterFactory diff --git a/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/util/DialogDSLSwitch.java b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/util/DialogDSLSwitch.java new file mode 100644 index 0000000..91e732a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/emf-gen/org/eclipse/osbp/xtext/dialogdsl/util/DialogDSLSwitch.java @@ -0,0 +1,243 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Based on ideas from Xtext, Xtend, Xcore + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver; +import org.eclipse.osbp.dsl.semantic.common.types.LPackage; + +import org.eclipse.osbp.xtext.dialogdsl.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage + * @generated + */ +public class DialogDSLSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static DialogDSLPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DialogDSLSwitch() { + if (modelPackage == null) { + modelPackage = DialogDSLPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @parameter ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case DialogDSLPackage.DIALOG_MODEL: { + DialogModel dialogModel = (DialogModel)theEObject; + T result = caseDialogModel(dialogModel); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DialogDSLPackage.DIALOG_LAZY_RESOLVER: { + DialogLazyResolver dialogLazyResolver = (DialogLazyResolver)theEObject; + T result = caseDialogLazyResolver(dialogLazyResolver); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DialogDSLPackage.DIALOG_BASE: { + DialogBase dialogBase = (DialogBase)theEObject; + T result = caseDialogBase(dialogBase); + if (result == null) result = caseDialogLazyResolver(dialogBase); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DialogDSLPackage.DIALOG_PACKAGE: { + DialogPackage dialogPackage = (DialogPackage)theEObject; + T result = caseDialogPackage(dialogPackage); + if (result == null) result = caseLPackage(dialogPackage); + if (result == null) result = caseLLazyResolver(dialogPackage); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DialogDSLPackage.DIALOG: { + Dialog dialog = (Dialog)theEObject; + T result = caseDialog(dialog); + if (result == null) result = caseDialogBase(dialog); + if (result == null) result = caseDialogLazyResolver(dialog); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Dialog Model</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Dialog Model</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDialogModel(DialogModel object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Dialog Lazy Resolver</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Dialog Lazy Resolver</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDialogLazyResolver(DialogLazyResolver object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Dialog Base</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Dialog Base</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDialogBase(DialogBase object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Dialog Package</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Dialog Package</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDialogPackage(DialogPackage object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Dialog</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Dialog</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDialog(Dialog object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>LLazy Resolver</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>LLazy Resolver</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLLazyResolver(LLazyResolver object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>LPackage</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>LPackage</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLPackage(LPackage object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //DialogDSLSwitch diff --git a/org.eclipse.osbp.xtext.dialogdsl/epl-v10.html b/org.eclipse.osbp.xtext.dialogdsl/epl-v10.html new file mode 100644 index 0000000..b398acc --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/epl-v10.html @@ -0,0 +1,259 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Public License - Version 1.0</title> +<style type="text/css"> + body { + size: 8.5in 11.0in; + margin: 0.25in 0.5in 0.25in 0.5in; + tab-interval: 0.5in; + } + p { + margin-left: auto; + margin-top: 0.5em; + margin-bottom: 0.5em; + } + p.list { + margin-left: 0.5in; + margin-top: 0.05em; + margin-bottom: 0.05em; + } + </style> + +</head> + +<body lang="EN-US"> + +<h2>Eclipse Public License - v 1.0</h2> + +<p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.</p> + +<p><b>1. DEFINITIONS</b></p> + +<p>"Contribution" means:</p> + +<p class="list">a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and</p> +<p class="list">b) in the case of each subsequent Contributor:</p> +<p class="list">i) changes to the Program, and</p> +<p class="list">ii) additions to the Program;</p> +<p class="list">where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.</p> + +<p>"Contributor" means any person or entity that distributes +the Program.</p> + +<p>"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.</p> + +<p>"Program" means the Contributions distributed in accordance +with this Agreement.</p> + +<p>"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.</p> + +<p><b>2. GRANT OF RIGHTS</b></p> + +<p class="list">a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.</p> + +<p class="list">b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.</p> + +<p class="list">c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.</p> + +<p class="list">d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.</p> + +<p><b>3. REQUIREMENTS</b></p> + +<p>A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:</p> + +<p class="list">a) it complies with the terms and conditions of this +Agreement; and</p> + +<p class="list">b) its license agreement:</p> + +<p class="list">i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;</p> + +<p class="list">ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;</p> + +<p class="list">iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and</p> + +<p class="list">iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.</p> + +<p>When the Program is made available in source code form:</p> + +<p class="list">a) it must be made available under this Agreement; and</p> + +<p class="list">b) a copy of this Agreement must be included with each +copy of the Program.</p> + +<p>Contributors may not remove or alter any copyright notices contained +within the Program.</p> + +<p>Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.</p> + +<p><b>4. COMMERCIAL DISTRIBUTION</b></p> + +<p>Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.</p> + +<p>For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.</p> + +<p><b>5. NO WARRANTY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.</p> + +<p><b>6. DISCLAIMER OF LIABILITY</b></p> + +<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p> + +<p><b>7. GENERAL</b></p> + +<p>If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.</p> + +<p>If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.</p> + +<p>All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.</p> + +<p>Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.</p> + +<p>This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.</p> + + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl/license.html b/org.eclipse.osbp.xtext.dialogdsl/license.html new file mode 100644 index 0000000..6e579a5 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/license.html @@ -0,0 +1,164 @@ +<!--?xml version="1.0" encoding="ISO-8859-1" ?--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Eclipse Foundation Software User Agreement</title> +</head> + +<body lang="EN-US"> +<h2>Eclipse Foundation Software User Agreement</h2> +<p>February 1, 2011</p> + +<h3>Usage Of Content</h3> + +<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p> + +<h3>Applicable Licenses</h3> + +<p>Unless otherwise indicated, all Content made available by the Eclipse + Foundation is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also + available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. + For purposes of the EPL, "Program" will mean the Content.</p> + +<p>Content includes, but is not limited to, source code, object code, +documentation and other files maintained in the Eclipse Foundation +source code + repository ("Repository") in software modules ("Modules") and made +available as downloadable archives ("Downloads").</p> + +<ul> + <li>Content may be structured and packaged into modules to +facilitate delivering, extending, and upgrading the Content. Typical +modules may include plug-ins ("Plug-ins"), plug-in fragments +("Fragments"), and features ("Features").</li> + <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li> + <li>A Feature is a bundle of one or more Plug-ins and/or +Fragments and associated material. Each Feature may be packaged as a +sub-directory in a directory named "features". Within a Feature, files +named "feature.xml" may contain a list of the names and version numbers +of the Plug-ins + and/or Fragments associated with that Feature.</li> + <li>Features may also include other Features ("Included +Features"). Within a Feature, files named "feature.xml" may contain a +list of the names and version numbers of Included Features.</li> +</ul> + +<p>The terms and conditions governing Plug-ins and Fragments should be +contained in files named "about.html" ("Abouts"). The terms and +conditions governing Features and +Included Features should be contained in files named "license.html" +("Feature Licenses"). Abouts and Feature Licenses may be located in any + directory of a Download or Module +including, but not limited to the following locations:</p> + +<ul> + <li>The top-level (root) directory</li> + <li>Plug-in and Fragment directories</li> + <li>Inside Plug-ins and Fragments packaged as JARs</li> + <li>Sub-directories of the directory named "src" of certain Plug-ins</li> + <li>Feature directories</li> +</ul> + +<p>Note: if a Feature made available by the Eclipse Foundation is +installed using the Provisioning Technology (as defined below), you must + agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the +Feature Update License should either provide you with the terms and +conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be +found in the "license" property of files named "feature.properties" +found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the +terms and conditions (or references to such terms and conditions) that +govern your use of the associated Content in +that directory.</p> + +<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. + SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p> + +<ul> + <li>Eclipse Distribution License Version 1.0 (available at <a href="http://www.eclipse.org/licenses/edl-v10.html">http://www.eclipse.org/licenses/edl-v1.0.html</a>)</li> + <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li> + <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li> + <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li> + <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li> + <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li> +</ul> + +<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND +CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, +or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions +govern that particular Content.</p> + + +<h3>Use of Provisioning Technology</h3> + +<p>The Eclipse Foundation makes available provisioning software, +examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of +allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This +capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about +packaging Installable Software is available at <a href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a> + ("Specification").</p> + +<p>You may use Provisioning Technology to allow other parties to install + Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to + be presented to, and accepted by, the users of the Provisioning +Technology + in accordance with the Specification. By using Provisioning +Technology in such a manner and making it available in accordance with +the + Specification, you further acknowledge your agreement to, and the +acquisition of all necessary rights to permit the following:</p> + +<ol> + <li>A series of actions may occur ("Provisioning Process") in +which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, +extending or updating the functionality of an Eclipse-based + product.</li> + <li>During the Provisioning Process, the Provisioning Technology +may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.</li> + <li>Pursuant to the Specification, you will provide to the user +the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable +Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable +Software Agreement must inform the user of the terms and conditions that + govern + the Installable Software and must solicit acceptance by the end +user in the manner prescribed in such Installable Software Agreement. +Upon such + indication of agreement by the user, the provisioning Technology +will complete installation of the Installable Software.</li> +</ol> + +<h3>Cryptography</h3> + +<p>Content may contain encryption software. The country in which you are + currently may have restrictions on the import, possession, and use, +and/or re-export to + another country, of encryption software. BEFORE using any encryption +software, please check the country's laws, regulations and policies +concerning the import, + possession, or use, and re-export of encryption software, to see if +this is permitted.</p> + +<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p> + + +</body></html>
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl/model/DialogDSL.xcore b/org.eclipse.osbp.xtext.dialogdsl/model/DialogDSL.xcore new file mode 100644 index 0000000..aa72975 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/model/DialogDSL.xcore @@ -0,0 +1,79 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +@GenModel(fileExtensions="dialog") +@GenModel(modelName="DialogDSL") +@GenModel(prefix="DialogDSL") +@GenModel(updateClasspath="false") +@GenModel(suppressEMFModelTags="true") +@GenModel(copyrightText="Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg) + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Based on ideas from Xtext, Xtend, Xcore + + Contributors: + Joerg Riegel - Initial implementation + ") +@Ecore(nsURI="http://osbp.eclipse.org/xtext/dialogdsl/DialogDSL") +@Ecore(nsPrefix="dialogdsl") +@Ecore(rootPackage="dialogdsl") +package org.eclipse.osbp.xtext.dialogdsl + +import org.eclipse.emf.ecore.EObject +import org.eclipse.emf.ecore.InternalEObject +import org.eclipse.osbp.dsl.semantic.common.types.LPackage +import org.eclipse.osbp.dsl.xtext.lazyresolver.api.EcoreUtil3 +import org.eclipse.osbp.ecview.semantic.uimodel.UiView +import org.eclipse.osbp.xtext.action.ActionToolbar +import org.eclipse.osbp.dsl.semantic.dto.LDto + +class DialogModel { + contains DialogPackage pckg +} + +type InternalEObject wraps InternalEObject + +class DialogLazyResolver { + /** + * @param proxy This is the parameter proxy. + * @return + */ + op EObject eResolveProxy(InternalEObject proxy) { + return EcoreUtil3.resolve(proxy, this.eResource().resourceSet); + } +} + +class DialogBase extends DialogLazyResolver{ + String name +} + +class DialogPackage extends LPackage{ + contains Dialog[] dialogs +} + +class Dialog extends DialogBase{ + boolean description + String descriptionValue + refers UiView uiView + refers ActionToolbar toolbar + boolean embedded + boolean pure + boolean stateful + boolean autowire + refers LDto dto +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/plugin.properties b/org.eclipse.osbp.xtext.dialogdsl/plugin.properties new file mode 100644 index 0000000..002d755 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/plugin.properties @@ -0,0 +1,14 @@ +# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Based on ideas from Xtext, Xtend, Xcore +# +# Contributors: +# Joerg Riegel - Initial implementation +# + +pluginName = DialogDSL Model +providerName = http://www.osbp.de diff --git a/org.eclipse.osbp.xtext.dialogdsl/plugin.xml b/org.eclipse.osbp.xtext.dialogdsl/plugin.xml new file mode 100644 index 0000000..0321e1a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/plugin.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> + +<!-- + Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Based on ideas from Xtext, Xtend, Xcore + + Contributors: + Christophe Loetz (Loetz GmbH&Co) - Initial implementation + +--> + +<plugin> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated DialogDSL --> + <package + uri="http://osbp.eclipse.org/xtext/dialogdsl/DialogDSL" + class="org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage" + genModel="model/DialogDSL.xcore"/> + </extension> + +</plugin> diff --git a/org.eclipse.osbp.xtext.dialogdsl/pom.xml b/org.eclipse.osbp.xtext.dialogdsl/pom.xml new file mode 100644 index 0000000..9d1b39b --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/pom.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--#======================================================================= --> +<!--# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) --> +<!--# All rights reserved. This program and the accompanying materials --> +<!--# are made available under the terms of the Eclipse Public License v1.0 --> +<!--# which accompanies this distribution, and is available at --> +<!--# http://www.eclipse.org/legal/epl-v10.html --> +<!--# --> +<!--# Contributors: --> +<!--# Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation --> +<!--#======================================================================= --> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.osbp.xtext.dialogdsl</groupId> + <artifactId>org.eclipse.osbp.xtext.dialogdsl.aggregator</artifactId> + <version>0.9.0-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> + <artifactId>org.eclipse.osbp.xtext.dialogdsl</artifactId> + <packaging>eclipse-plugin</packaging> +</project> diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/README.txt b/org.eclipse.osbp.xtext.dialogdsl/src-gen/README.txt new file mode 100644 index 0000000..bbbe557 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/README.txt @@ -0,0 +1 @@ +dummy file needed for git for necessary but empty directories!
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/AbstractDialogDslRuntimeModule.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/AbstractDialogDslRuntimeModule.java new file mode 100644 index 0000000..75babc8 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/AbstractDialogDslRuntimeModule.java @@ -0,0 +1,354 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl; + +import java.util.Properties; + +import org.eclipse.xtext.Constants; +import org.eclipse.xtext.service.DefaultRuntimeModule; + +import com.google.inject.Binder; +import com.google.inject.name.Names; + +/** + * Manual modifications go to {org.eclipse.osbp.xtext.dialogdsl.DialogDslRuntimeModule} + */ + @SuppressWarnings("all") +public abstract class AbstractDialogDslRuntimeModule extends DefaultRuntimeModule { + + protected Properties properties = null; + + @Override + public void configure(Binder binder) { + properties = tryBindProperties(binder, "org/eclipse/osbp/xtext/dialogdsl/DialogDsl.properties"); + super.configure(binder); + } + + public void configureLanguageName(Binder binder) { + binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.osbp.xtext.dialogdsl.DialogDsl"); + } + + public void configureFileExtensions(Binder binder) { + if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) + binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("dialog"); + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class<? extends org.eclipse.xtext.serializer.sequencer.ISemanticSequencer> bindISemanticSequencer() { + return org.eclipse.osbp.xtext.dialogdsl.serializer.DialogDslSemanticSequencer.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class<? extends org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer> bindISyntacticSequencer() { + return org.eclipse.osbp.xtext.dialogdsl.serializer.DialogDslSyntacticSequencer.class; + } + + // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment + public Class<? extends org.eclipse.xtext.serializer.ISerializer> bindISerializer() { + return org.eclipse.xtext.serializer.impl.Serializer.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() { + return org.eclipse.osbp.xtext.dialogdsl.parser.antlr.DialogDslParser.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() { + return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() { + return org.eclipse.osbp.xtext.dialogdsl.parser.antlr.DialogDslAntlrTokenFileProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() { + return org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal.InternalDialogDslLexer.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public com.google.inject.Provider<org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal.InternalDialogDslLexer> provideInternalDialogDslLexer() { + return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal.InternalDialogDslLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public void configureRuntimeLexer(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal.InternalDialogDslLexer.class); + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() { + return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; + } + + // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment + public Class<? extends org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper> bindIUnorderedGroupHelper() { + return org.eclipse.xtext.parser.antlr.UnorderedGroupHelper.class; + } + + // contributed by org.eclipse.xtext.generator.validation.ValidatorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.osbp.xtext.dialogdsl.validation.DialogDslValidator> bindDialogDslValidator() { + return org.eclipse.osbp.xtext.dialogdsl.validation.DialogDslValidator.class; + } + + // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment + public void configureIgnoreCaseLinking(com.google.inject.Binder binder) { + binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() { + return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class<? extends org.eclipse.xtext.resource.containers.IAllContainersState.Provider> bindIAllContainersState$Provider() { + return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptions(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment + public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() { + return org.eclipse.osbp.xtext.dialogdsl.formatting.DialogDslFormatter.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public org.eclipse.xtext.common.types.TypesFactory bindTypesFactoryToInstance() { + return org.eclipse.xtext.common.types.TypesFactory.eINSTANCE; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.access.IJvmTypeProvider.Factory> bindIJvmTypeProvider$Factory() { + return org.eclipse.xtext.common.types.access.ClasspathTypeProviderFactory.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider> bindAbstractTypeScopeProvider() { + return org.eclipse.xtext.common.types.xtext.ClasspathBasedTypeScopeProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.interpreter.IEvaluationContext> bindIEvaluationContext() { + return org.eclipse.xtext.xbase.interpreter.impl.DefaultEvaluationContext.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.interpreter.IExpressionInterpreter> bindIExpressionInterpreter() { + return org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.naming.IQualifiedNameConverter> bindIQualifiedNameConverter() { + return org.eclipse.xtext.xbase.XbaseQualifiedNameConverter.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() { + return org.eclipse.xtext.xbase.scoping.XbaseQualifiedNameProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.conversion.IValueConverterService> bindIValueConverterService() { + return org.eclipse.xtext.xbase.conversion.XbaseValueConverterService.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() { + return org.eclipse.xtext.xbase.scoping.batch.IBatchScopeProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public void configureLinkingIScopeProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(org.eclipse.xtext.linking.LinkingScopeProviderBinding.class).to(org.eclipse.xtext.xbase.scoping.batch.IBatchScopeProvider.class); + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public void configureSerializerIScopeProvider(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(org.eclipse.xtext.serializer.tokens.SerializerScopeProviderBinding.class).to(org.eclipse.xtext.xbase.serializer.SerializerScopeProvider.class); + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { + binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.xbase.scoping.XbaseImportedNamespaceScopeProvider.class); + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.linking.ILinker> bindILinker() { + return org.eclipse.xtext.xbase.linking.XbaseLazyLinker.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.resource.XtextResource> bindXtextResource() { + return org.eclipse.xtext.xbase.resource.BatchLinkableResource.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.xtext.xbase.validation.JvmTypeReferencesValidator> bindJvmTypeReferencesValidator() { + return org.eclipse.xtext.xbase.validation.JvmTypeReferencesValidator.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.featurecalls.IdentifiableSimpleNameProvider> bindIdentifiableSimpleNameProvider() { + return org.eclipse.xtext.xbase.featurecalls.IdentifiableSimpleNameProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.resource.IDerivedStateComputer> bindIDerivedStateComputer() { + return org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.resource.IResourceDescription.Manager> bindIResourceDescription$Manager() { + return org.eclipse.xtext.resource.DerivedStateAwareResourceDescriptionManager.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.generator.IGenerator> bindIGenerator() { + return org.eclipse.xtext.xbase.compiler.JvmModelGenerator.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public org.eclipse.xtext.xtype.XtypeFactory bindXtypeFactoryToInstance() { + return org.eclipse.xtext.xtype.XtypeFactory.eINSTANCE; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.debug.IStratumBreakpointSupport> bindIStratumBreakpointSupport() { + return org.eclipse.xtext.xbase.debug.XbaseStratumBreakpointSupport.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.generator.LineSeparatorHarmonizer> bindLineSeparatorHarmonizer() { + return org.eclipse.xtext.xbase.compiler.output.TraceAwarePostProcessor.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy> bindIDefaultResourceDescriptionStrategy() { + return org.eclipse.xtext.xbase.resource.XbaseResourceDescriptionStrategy.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.validation.SeverityConverter> bindSeverityConverter() { + return org.eclipse.xtext.xbase.validation.XbaseSeverityConverter.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.validation.ConfigurableIssueCodesProvider> bindConfigurableIssueCodesProvider() { + return org.eclipse.xtext.xbase.validation.XbaseConfigurableIssueCodes.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.resource.EObjectAtOffsetHelper> bindEObjectAtOffsetHelper() { + return org.eclipse.xtext.xbase.linking.BrokenConstructorCallAwareEObjectAtOffsetHelper.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.validation.CancelableDiagnostician> bindCancelableDiagnostician() { + return org.eclipse.xtext.xbase.validation.XbaseDiagnostician.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.scoping.featurecalls.StaticImplicitMethodsFeatureForTypeProvider.ExtensionClassNameProvider> bindStaticImplicitMethodsFeatureForTypeProvider$ExtensionClassNameProvider() { + return org.eclipse.xtext.xbase.scoping.batch.ImplicitlyImportedTypesAdapter.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport> bindMutableFileSystemSupport() { + return org.eclipse.xtext.xbase.file.JavaIOFileSystemSupport.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtend.lib.macro.file.FileLocations> bindFileLocations() { + return org.eclipse.xtext.xbase.file.FileLocationsImpl.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends com.google.inject.Provider<org.eclipse.xtext.xbase.file.WorkspaceConfig>> provideWorkspaceConfig() { + return org.eclipse.xtext.xbase.file.RuntimeWorkspaceConfigProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.typesystem.computation.ITypeComputer> bindITypeComputer() { + return org.eclipse.xtext.xbase.annotations.typesystem.XbaseWithAnnotationsTypeComputer.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.scoping.batch.XbaseBatchScopeProvider> bindXbaseBatchScopeProvider() { + return org.eclipse.xtext.xbase.annotations.typesystem.XbaseWithAnnotationsBatchScopeProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider> bindILinkingDiagnosticMessageProvider() { + return org.eclipse.xtext.xbase.annotations.validation.UnresolvedAnnotationTypeAwareMessageProducer.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.resource.ILocationInFileProvider> bindILocationInFileProvider() { + return org.eclipse.xtext.xbase.jvmmodel.JvmLocationInFileProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() { + return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.validation.FeatureNameValidator> bindFeatureNameValidator() { + return org.eclipse.xtext.xbase.validation.LogicalContainerAwareFeatureNameValidator.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.typesystem.internal.DefaultBatchTypeResolver> bindDefaultBatchTypeResolver() { + return org.eclipse.xtext.xbase.typesystem.internal.LogicalContainerAwareBatchTypeResolver.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.typesystem.internal.DefaultReentrantTypeResolver> bindDefaultReentrantTypeResolver() { + return org.eclipse.xtext.xbase.typesystem.internal.LogicalContainerAwareReentrantTypeResolver.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.validation.IResourceValidator> bindIResourceValidator() { + return org.eclipse.xtext.xbase.annotations.validation.DerivedStateAwareResourceValidator.class; + } + + // contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment + public Class<? extends org.eclipse.xtext.xbase.jvmmodel.IJvmModelInferrer> bindIJvmModelInferrer() { + return org.eclipse.osbp.xtext.dialogdsl.jvmmodel.DialogDslJvmModelInferrer.class; + } + + // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment + public java.lang.ClassLoader bindClassLoaderToInstance() { + return getClass().getClassLoader(); + } + + // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment + public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() { + return org.eclipse.osbp.xtext.dialogdsl.services.DialogDslGrammarAccess.class; + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDslStandaloneSetupGenerated.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDslStandaloneSetupGenerated.java new file mode 100644 index 0000000..9ab4c9d --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/DialogDslStandaloneSetupGenerated.java @@ -0,0 +1,54 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.xtext.ISetup; +import org.eclipse.emf.ecore.resource.Resource; + +import com.google.inject.Guice; +import com.google.inject.Injector; + +/** + * Generated from StandaloneSetup.xpt! + */ +@SuppressWarnings("all") +public class DialogDslStandaloneSetupGenerated implements ISetup { + + public Injector createInjectorAndDoEMFRegistration() { + org.eclipse.xtext.xbase.annotations.XbaseWithAnnotationsStandaloneSetup.doSetup(); + + Injector injector = createInjector(); + register(injector); + return injector; + } + + public Injector createInjector() { + return Guice.createInjector(new org.eclipse.osbp.xtext.dialogdsl.DialogDslRuntimeModule()); + } + + public void register(Injector injector) { + + org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); + org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("dialog", resourceFactory); + org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("dialog", serviceProvider); + + + + + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/DialogDslAntlrTokenFileProvider.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/DialogDslAntlrTokenFileProvider.java new file mode 100644 index 0000000..26b8f54 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/DialogDslAntlrTokenFileProvider.java @@ -0,0 +1,27 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.parser.antlr; + +import java.io.InputStream; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; + +public class DialogDslAntlrTokenFileProvider implements IAntlrTokenFileProvider { + + public InputStream getAntlrTokenFile() { + ClassLoader classLoader = getClass().getClassLoader(); + return classLoader.getResourceAsStream("org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.tokens"); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/DialogDslParser.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/DialogDslParser.java new file mode 100644 index 0000000..3906900 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/DialogDslParser.java @@ -0,0 +1,51 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.parser.antlr; + +import com.google.inject.Inject; + +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.osbp.xtext.dialogdsl.services.DialogDslGrammarAccess; + +public class DialogDslParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { + + @Inject + private DialogDslGrammarAccess grammarAccess; + + @Override + protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { + tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); + } + + @Override + protected org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal.InternalDialogDslParser createParser(XtextTokenStream stream) { + return new org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal.InternalDialogDslParser(stream, getGrammarAccess()); + } + + @Override + protected String getDefaultRuleName() { + return "DialogModel"; + } + + public DialogDslGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(DialogDslGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g new file mode 100644 index 0000000..a2d9d89 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g @@ -0,0 +1,7015 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +grammar InternalDialogDsl; + +options { + superClass=AbstractInternalAntlrParser; + +} + +@lexer::header { +package org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; +} + +@parser::header { +package org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; +import org.eclipse.osbp.xtext.dialogdsl.services.DialogDslGrammarAccess; + +} + +@parser::members { + + private DialogDslGrammarAccess grammarAccess; + + public InternalDialogDslParser(TokenStream input, DialogDslGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "DialogModel"; + } + + @Override + protected DialogDslGrammarAccess getGrammarAccess() { + return grammarAccess; + } +} + +@rulecatch { + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } +} + + + + +// Entry rule entryRuleDialogModel +entryRuleDialogModel returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getDialogModelRule()); } + iv_ruleDialogModel=ruleDialogModel + { $current=$iv_ruleDialogModel.current; } + EOF +; + +// Rule DialogModel +ruleDialogModel returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getDialogModelAccess().getDialogModelAction_0(), + $current); + } +)( +( + { + newCompositeNode(grammarAccess.getDialogModelAccess().getPckgDialogPackageParserRuleCall_1_0()); + } + lv_pckg_1_0=ruleDialogPackage { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDialogModelRule()); + } + set( + $current, + "pckg", + lv_pckg_1_0, + "DialogPackage"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleDialogPackage +entryRuleDialogPackage returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getDialogPackageRule()); } + iv_ruleDialogPackage=ruleDialogPackage + { $current=$iv_ruleDialogPackage.current; } + EOF +; + +// Rule DialogPackage +ruleDialogPackage returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='package' + { + newLeafNode(otherlv_0, grammarAccess.getDialogPackageAccess().getPackageKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getDialogPackageAccess().getNameQualifiedNameParserRuleCall_1_0()); + } + lv_name_1_0=ruleQualifiedName { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDialogPackageRule()); + } + set( + $current, + "name", + lv_name_1_0, + "QualifiedName"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getDialogPackageAccess().getLeftCurlyBracketKeyword_2_0()); + } +( +( + { + newCompositeNode(grammarAccess.getDialogPackageAccess().getImportsDialogImportParserRuleCall_2_1_0()); + } + lv_imports_3_0=ruleDialogImport { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDialogPackageRule()); + } + add( + $current, + "imports", + lv_imports_3_0, + "DialogImport"); + afterParserOrEnumRuleCall(); + } + +) +)*( +( + { + newCompositeNode(grammarAccess.getDialogPackageAccess().getDialogsDialogParserRuleCall_2_2_0()); + } + lv_dialogs_4_0=ruleDialog { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDialogPackageRule()); + } + add( + $current, + "dialogs", + lv_dialogs_4_0, + "Dialog"); + afterParserOrEnumRuleCall(); + } + +) +)* otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getDialogPackageAccess().getRightCurlyBracketKeyword_2_3()); + } +)?) +; + + + + + +// Entry rule entryRuleDialogImport +entryRuleDialogImport returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getDialogImportRule()); } + iv_ruleDialogImport=ruleDialogImport + { $current=$iv_ruleDialogImport.current; } + EOF +; + +// Rule DialogImport +ruleDialogImport returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='import' + { + newLeafNode(otherlv_0, grammarAccess.getDialogImportAccess().getImportKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getDialogImportAccess().getImportedNamespaceDialogQualifiedNameWithWildCardParserRuleCall_1_0()); + } + lv_importedNamespace_1_0=ruleDialogQualifiedNameWithWildCard { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDialogImportRule()); + } + set( + $current, + "importedNamespace", + lv_importedNamespace_1_0, + "DialogQualifiedNameWithWildCard"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleDialog +entryRuleDialog returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getDialogRule()); } + iv_ruleDialog=ruleDialog + { $current=$iv_ruleDialog.current; } + EOF +; + +// Rule Dialog +ruleDialog returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getDialogAccess().getDialogAction_0(), + $current); + } +) otherlv_1='dialog' + { + newLeafNode(otherlv_1, grammarAccess.getDialogAccess().getDialogKeyword_1()); + } +( +( + lv_name_2_0=RULE_ID + { + newLeafNode(lv_name_2_0, grammarAccess.getDialogAccess().getNameIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_2_0, + "ID"); + } + +) +)(( +( + lv_description_3_0= 'described by' + { + newLeafNode(lv_description_3_0, grammarAccess.getDialogAccess().getDescriptionDescribedByKeyword_3_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed($current, "description", true, "described by"); + } + +) +)( +( + { + newCompositeNode(grammarAccess.getDialogAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0()); + } + lv_descriptionValue_4_0=ruleTRANSLATABLESTRING { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDialogRule()); + } + set( + $current, + "descriptionValue", + lv_descriptionValue_4_0, + "TRANSLATABLESTRING"); + afterParserOrEnumRuleCall(); + } + +) +))?(( otherlv_5='view' + { + newLeafNode(otherlv_5, grammarAccess.getDialogAccess().getViewKeyword_4_0_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDialogRule()); + } + } + { + newCompositeNode(grammarAccess.getDialogAccess().getUiViewUiViewCrossReference_4_0_1_0()); + } + ruleTYPE_CROSS_REFERENCE { + afterParserOrEnumRuleCall(); + } + +) +)) + |(( +( + lv_autowire_7_0= 'autobinding' + { + newLeafNode(lv_autowire_7_0, grammarAccess.getDialogAccess().getAutowireAutobindingKeyword_4_1_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed($current, "autowire", true, "autobinding"); + } + +) +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDialogRule()); + } + } + { + newCompositeNode(grammarAccess.getDialogAccess().getDtoLDtoCrossReference_4_1_1_0()); + } + ruleTYPE_CROSS_REFERENCE { + afterParserOrEnumRuleCall(); + } + +) +)))( + +( + { + getUnorderedGroupHelper().enter(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + } + ( + ( + + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0); + } + ({true}?=>(( +( + lv_embedded_10_0= 'embedded' + { + newLeafNode(lv_embedded_10_0, grammarAccess.getDialogAccess().getEmbeddedEmbeddedKeyword_5_0_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed($current, "embedded", true, "embedded"); + } + +) +) + |( +( + lv_pure_11_0= 'pure' + { + newLeafNode(lv_pure_11_0, grammarAccess.getDialogAccess().getPurePureKeyword_5_0_1_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed($current, "pure", true, "pure"); + } + +) +))) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + } + ) + ) | + + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1); + } + ({true}?=>( +( + lv_stateful_12_0= 'stateful' + { + newLeafNode(lv_stateful_12_0, grammarAccess.getDialogAccess().getStatefulStatefulKeyword_5_1_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed($current, "stateful", true, "stateful"); + } + +) +)) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + } + ) + ) | + + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2); + } + ({true}?=>( otherlv_13='toolbar' + { + newLeafNode(otherlv_13, grammarAccess.getDialogAccess().getToolbarKeyword_5_2_0()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDialogRule()); + } + } + { + newCompositeNode(grammarAccess.getDialogAccess().getToolbarActionToolbarCrossReference_5_2_1_0()); + } + ruleTYPE_CROSS_REFERENCE { + afterParserOrEnumRuleCall(); + } + +) +))) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + } + ) + ) + + )* + ) +) + { + getUnorderedGroupHelper().leave(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + } + +)) +; + + + + + +// Entry rule entryRuleDialogQualifiedNameWithWildCard +entryRuleDialogQualifiedNameWithWildCard returns [String current=null] + : + { newCompositeNode(grammarAccess.getDialogQualifiedNameWithWildCardRule()); } + iv_ruleDialogQualifiedNameWithWildCard=ruleDialogQualifiedNameWithWildCard + { $current=$iv_ruleDialogQualifiedNameWithWildCard.current.getText(); } + EOF +; + +// Rule DialogQualifiedNameWithWildCard +ruleDialogQualifiedNameWithWildCard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0()); + } + this_QualifiedName_0=ruleQualifiedName { + $current.merge(this_QualifiedName_0); + } + + { + afterParserOrEnumRuleCall(); + } +( + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDialogQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0()); + } + + kw='*' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDialogQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1()); + } +)?) + ; + + + + + +// Entry rule entryRuleTRANSLATABLESTRING +entryRuleTRANSLATABLESTRING returns [String current=null] + : + { newCompositeNode(grammarAccess.getTRANSLATABLESTRINGRule()); } + iv_ruleTRANSLATABLESTRING=ruleTRANSLATABLESTRING + { $current=$iv_ruleTRANSLATABLESTRING.current.getText(); } + EOF +; + +// Rule TRANSLATABLESTRING +ruleTRANSLATABLESTRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: + this_STRING_0=RULE_STRING { + $current.merge(this_STRING_0); + } + + { + newLeafNode(this_STRING_0, grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall()); + } + + ; + + + + + +// Entry rule entryRuleTYPE_CROSS_REFERENCE +entryRuleTYPE_CROSS_REFERENCE returns [String current=null] + : + { newCompositeNode(grammarAccess.getTYPE_CROSS_REFERENCERule()); } + iv_ruleTYPE_CROSS_REFERENCE=ruleTYPE_CROSS_REFERENCE + { $current=$iv_ruleTYPE_CROSS_REFERENCE.current.getText(); } + EOF +; + +// Rule TYPE_CROSS_REFERENCE +ruleTYPE_CROSS_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: + this_ID_0=RULE_ID { + $current.merge(this_ID_0); + } + + { + newLeafNode(this_ID_0, grammarAccess.getTYPE_CROSS_REFERENCEAccess().getIDTerminalRuleCall()); + } + + ; + + + + + +// Entry rule entryRuleXAnnotation +entryRuleXAnnotation returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXAnnotationRule()); } + iv_ruleXAnnotation=ruleXAnnotation + { $current=$iv_ruleXAnnotation.current; } + EOF +; + +// Rule XAnnotation +ruleXAnnotation returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(), + $current); + } +) otherlv_1='@' + { + newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXAnnotationRule()); + } + } + { + newCompositeNode(grammarAccess.getXAnnotationAccess().getAnnotationTypeJvmAnnotationTypeCrossReference_2_0()); + } + ruleQualifiedName { + afterParserOrEnumRuleCall(); + } + +) +)((( '(' +)=> otherlv_3='(' + { + newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()); + } +)(((((( +( + ruleValidID +) +) '=' +))=> +( + { + newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0()); + } + lv_elementValuePairs_4_0=ruleXAnnotationElementValuePair { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAnnotationRule()); + } + add( + $current, + "elementValuePairs", + lv_elementValuePairs_4_0, + "XAnnotationElementValuePair"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0()); + } +(((( +( + ruleValidID +) +) '=' +))=> +( + { + newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0()); + } + lv_elementValuePairs_6_0=ruleXAnnotationElementValuePair { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAnnotationRule()); + } + add( + $current, + "elementValuePairs", + lv_elementValuePairs_6_0, + "XAnnotationElementValuePair"); + afterParserOrEnumRuleCall(); + } + +) +))*) + |( +( + { + newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0()); + } + lv_value_7_0=ruleXAnnotationElementValueOrCommaList { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAnnotationRule()); + } + set( + $current, + "value", + lv_value_7_0, + "XAnnotationElementValueOrCommaList"); + afterParserOrEnumRuleCall(); + } + +) +))? otherlv_8=')' + { + newLeafNode(otherlv_8, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2()); + } +)?) +; + + + + + +// Entry rule entryRuleXAnnotationElementValuePair +entryRuleXAnnotationElementValuePair returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule()); } + iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair + { $current=$iv_ruleXAnnotationElementValuePair.current; } + EOF +; + +// Rule XAnnotationElementValuePair +ruleXAnnotationElementValuePair returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((((( +( + ruleValidID +) +) '=' +))=>(( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXAnnotationElementValuePairRule()); + } + } + { + newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getElementJvmOperationCrossReference_0_0_0_0()); + } + ruleValidID { + afterParserOrEnumRuleCall(); + } + +) +) otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1()); + } +))( +( + { + newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0()); + } + lv_value_2_0=ruleXAnnotationElementValue { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAnnotationElementValuePairRule()); + } + set( + $current, + "value", + lv_value_2_0, + "XAnnotationElementValue"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleXAnnotationElementValueOrCommaList +entryRuleXAnnotationElementValueOrCommaList returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule()); } + iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList + { $current=$iv_ruleXAnnotationElementValueOrCommaList.current; } + EOF +; + +// Rule XAnnotationElementValueOrCommaList +ruleXAnnotationElementValueOrCommaList returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(((((( +) '#' + '[' +))=>(( + { + $current = forceCreateModelElement( + grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(), + $current); + } +) otherlv_1='#' + { + newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1()); + } + otherlv_2='[' + { + newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2()); + } +))(( +( + { + newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); + } + lv_elements_3_0=ruleXAnnotationOrExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule()); + } + add( + $current, + "elements", + lv_elements_3_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_4=',' + { + newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); + } + lv_elements_5_0=ruleXAnnotationOrExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule()); + } + add( + $current, + "elements", + lv_elements_5_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_6=']' + { + newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2()); + } +) + |( + { + newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0()); + } + this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression + { + $current = $this_XAnnotationOrExpression_7.current; + afterParserOrEnumRuleCall(); + } +(( + { + $current = forceCreateModelElementAndAdd( + grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(), + $current); + } +)( otherlv_9=',' + { + newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0()); + } + lv_elements_10_0=ruleXAnnotationOrExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule()); + } + add( + $current, + "elements", + lv_elements_10_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + } + +) +))+)?)) +; + + + + + +// Entry rule entryRuleXAnnotationElementValue +entryRuleXAnnotationElementValue returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXAnnotationElementValueRule()); } + iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue + { $current=$iv_ruleXAnnotationElementValue.current; } + EOF +; + +// Rule XAnnotationElementValue +ruleXAnnotationElementValue returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(((((( +) '#' + '[' +))=>(( + { + $current = forceCreateModelElement( + grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(), + $current); + } +) otherlv_1='#' + { + newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); + } + otherlv_2='[' + { + newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2()); + } +))(( +( + { + newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); + } + lv_elements_3_0=ruleXAnnotationOrExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule()); + } + add( + $current, + "elements", + lv_elements_3_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_4=',' + { + newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); + } + lv_elements_5_0=ruleXAnnotationOrExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule()); + } + add( + $current, + "elements", + lv_elements_5_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_6=']' + { + newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2()); + } +) + | + { + newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); + } + this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression + { + $current = $this_XAnnotationOrExpression_7.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleXAnnotationOrExpression +entryRuleXAnnotationOrExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule()); } + iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression + { $current=$iv_ruleXAnnotationOrExpression.current; } + EOF +; + +// Rule XAnnotationOrExpression +ruleXAnnotationOrExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); + } + this_XAnnotation_0=ruleXAnnotation + { + $current = $this_XAnnotation_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); + } + this_XExpression_1=ruleXExpression + { + $current = $this_XExpression_1.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleXExpression +entryRuleXExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXExpressionRule()); } + iv_ruleXExpression=ruleXExpression + { $current=$iv_ruleXExpression.current; } + EOF +; + +// Rule XExpression +ruleXExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: + + { + newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); + } + this_XAssignment_0=ruleXAssignment + { + $current = $this_XAssignment_0.current; + afterParserOrEnumRuleCall(); + } + +; + + + + + +// Entry rule entryRuleXAssignment +entryRuleXAssignment returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXAssignmentRule()); } + iv_ruleXAssignment=ruleXAssignment + { $current=$iv_ruleXAssignment.current; } + EOF +; + +// Rule XAssignment +ruleXAssignment returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((( + { + $current = forceCreateModelElement( + grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXAssignmentRule()); + } + } + { + newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0()); + } + ruleFeatureCallID { + afterParserOrEnumRuleCall(); + } + +) +) + { + newCompositeNode(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2()); + } +ruleOpSingleAssign + { + afterParserOrEnumRuleCall(); + } +( +( + { + newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0()); + } + lv_value_3_0=ruleXAssignment { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAssignmentRule()); + } + set( + $current, + "value", + lv_value_3_0, + "XAssignment"); + afterParserOrEnumRuleCall(); + } + +) +)) + |( + { + newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0()); + } + this_XOrExpression_4=ruleXOrExpression + { + $current = $this_XOrExpression_4.current; + afterParserOrEnumRuleCall(); + } +((((( +)( +( + ruleOpMultiAssign +) +)))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXAssignmentRule()); + } + } + { + newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0()); + } + ruleOpMultiAssign { + afterParserOrEnumRuleCall(); + } + +) +)))( +( + { + newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0()); + } + lv_rightOperand_7_0=ruleXAssignment { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAssignmentRule()); + } + set( + $current, + "rightOperand", + lv_rightOperand_7_0, + "XAssignment"); + afterParserOrEnumRuleCall(); + } + +) +))?)) +; + + + + + +// Entry rule entryRuleOpSingleAssign +entryRuleOpSingleAssign returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpSingleAssignRule()); } + iv_ruleOpSingleAssign=ruleOpSingleAssign + { $current=$iv_ruleOpSingleAssign.current.getText(); } + EOF +; + +// Rule OpSingleAssign +ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: + + kw='=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword()); + } + + ; + + + + + +// Entry rule entryRuleOpMultiAssign +entryRuleOpMultiAssign returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpMultiAssignRule()); } + iv_ruleOpMultiAssign=ruleOpMultiAssign + { $current=$iv_ruleOpMultiAssign.current.getText(); } + EOF +; + +// Rule OpMultiAssign +ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + kw='+=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0()); + } + + | + kw='-=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1()); + } + + | + kw='*=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2()); + } + + | + kw='/=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3()); + } + + | + kw='%=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4()); + } + + |( + kw='<' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0()); + } + + kw='<' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1()); + } + + kw='=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2()); + } +) + |( + kw='>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0()); + } +( + kw='>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1()); + } +)? + kw='>=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2()); + } +)) + ; + + + + + +// Entry rule entryRuleXOrExpression +entryRuleXOrExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXOrExpressionRule()); } + iv_ruleXOrExpression=ruleXOrExpression + { $current=$iv_ruleXOrExpression.current; } + EOF +; + +// Rule XOrExpression +ruleXOrExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0()); + } + this_XAndExpression_0=ruleXAndExpression + { + $current = $this_XAndExpression_0.current; + afterParserOrEnumRuleCall(); + } +((((( +)( +( + ruleOpOr +) +)))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXOrExpressionRule()); + } + } + { + newCompositeNode(grammarAccess.getXOrExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + } + ruleOpOr { + afterParserOrEnumRuleCall(); + } + +) +)))( +( + { + newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0()); + } + lv_rightOperand_3_0=ruleXAndExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXOrExpressionRule()); + } + set( + $current, + "rightOperand", + lv_rightOperand_3_0, + "XAndExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*) +; + + + + + +// Entry rule entryRuleOpOr +entryRuleOpOr returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpOrRule()); } + iv_ruleOpOr=ruleOpOr + { $current=$iv_ruleOpOr.current.getText(); } + EOF +; + +// Rule OpOr +ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: + + kw='||' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword()); + } + + ; + + + + + +// Entry rule entryRuleXAndExpression +entryRuleXAndExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXAndExpressionRule()); } + iv_ruleXAndExpression=ruleXAndExpression + { $current=$iv_ruleXAndExpression.current; } + EOF +; + +// Rule XAndExpression +ruleXAndExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0()); + } + this_XEqualityExpression_0=ruleXEqualityExpression + { + $current = $this_XEqualityExpression_0.current; + afterParserOrEnumRuleCall(); + } +((((( +)( +( + ruleOpAnd +) +)))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXAndExpressionRule()); + } + } + { + newCompositeNode(grammarAccess.getXAndExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + } + ruleOpAnd { + afterParserOrEnumRuleCall(); + } + +) +)))( +( + { + newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0()); + } + lv_rightOperand_3_0=ruleXEqualityExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAndExpressionRule()); + } + set( + $current, + "rightOperand", + lv_rightOperand_3_0, + "XEqualityExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*) +; + + + + + +// Entry rule entryRuleOpAnd +entryRuleOpAnd returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpAndRule()); } + iv_ruleOpAnd=ruleOpAnd + { $current=$iv_ruleOpAnd.current.getText(); } + EOF +; + +// Rule OpAnd +ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: + + kw='&&' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword()); + } + + ; + + + + + +// Entry rule entryRuleXEqualityExpression +entryRuleXEqualityExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXEqualityExpressionRule()); } + iv_ruleXEqualityExpression=ruleXEqualityExpression + { $current=$iv_ruleXEqualityExpression.current; } + EOF +; + +// Rule XEqualityExpression +ruleXEqualityExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0()); + } + this_XRelationalExpression_0=ruleXRelationalExpression + { + $current = $this_XRelationalExpression_0.current; + afterParserOrEnumRuleCall(); + } +((((( +)( +( + ruleOpEquality +) +)))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXEqualityExpressionRule()); + } + } + { + newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + } + ruleOpEquality { + afterParserOrEnumRuleCall(); + } + +) +)))( +( + { + newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0()); + } + lv_rightOperand_3_0=ruleXRelationalExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXEqualityExpressionRule()); + } + set( + $current, + "rightOperand", + lv_rightOperand_3_0, + "XRelationalExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*) +; + + + + + +// Entry rule entryRuleOpEquality +entryRuleOpEquality returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpEqualityRule()); } + iv_ruleOpEquality=ruleOpEquality + { $current=$iv_ruleOpEquality.current.getText(); } + EOF +; + +// Rule OpEquality +ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + kw='==' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0()); + } + + | + kw='!=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1()); + } + + | + kw='===' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2()); + } + + | + kw='!==' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3()); + } +) + ; + + + + + +// Entry rule entryRuleXRelationalExpression +entryRuleXRelationalExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXRelationalExpressionRule()); } + iv_ruleXRelationalExpression=ruleXRelationalExpression + { $current=$iv_ruleXRelationalExpression.current; } + EOF +; + +// Rule XRelationalExpression +ruleXRelationalExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getXOtherOperatorExpressionParserRuleCall_0()); + } + this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression + { + $current = $this_XOtherOperatorExpression_0.current; + afterParserOrEnumRuleCall(); + } +(((((( +) 'instanceof' +))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(), + $current); + } +) otherlv_2='instanceof' + { + newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1()); + } +))( +( + { + newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0()); + } + lv_type_3_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule()); + } + set( + $current, + "type", + lv_type_3_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)) + |((((( +)( +( + ruleOpCompare +) +)))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXRelationalExpressionRule()); + } + } + { + newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0()); + } + ruleOpCompare { + afterParserOrEnumRuleCall(); + } + +) +)))( +( + { + newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0()); + } + lv_rightOperand_6_0=ruleXOtherOperatorExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule()); + } + set( + $current, + "rightOperand", + lv_rightOperand_6_0, + "XOtherOperatorExpression"); + afterParserOrEnumRuleCall(); + } + +) +)))*) +; + + + + + +// Entry rule entryRuleOpCompare +entryRuleOpCompare returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpCompareRule()); } + iv_ruleOpCompare=ruleOpCompare + { $current=$iv_ruleOpCompare.current.getText(); } + EOF +; + +// Rule OpCompare +ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + kw='>=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0()); + } + + |( + kw='<' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0()); + } + + kw='=' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1()); + } +) + | + kw='>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2()); + } + + | + kw='<' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3()); + } +) + ; + + + + + +// Entry rule entryRuleXOtherOperatorExpression +entryRuleXOtherOperatorExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule()); } + iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression + { $current=$iv_ruleXOtherOperatorExpression.current; } + EOF +; + +// Rule XOtherOperatorExpression +ruleXOtherOperatorExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0()); + } + this_XAdditiveExpression_0=ruleXAdditiveExpression + { + $current = $this_XAdditiveExpression_0.current; + afterParserOrEnumRuleCall(); + } +((((( +)( +( + ruleOpOther +) +)))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXOtherOperatorExpressionRule()); + } + } + { + newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + } + ruleOpOther { + afterParserOrEnumRuleCall(); + } + +) +)))( +( + { + newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0()); + } + lv_rightOperand_3_0=ruleXAdditiveExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXOtherOperatorExpressionRule()); + } + set( + $current, + "rightOperand", + lv_rightOperand_3_0, + "XAdditiveExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*) +; + + + + + +// Entry rule entryRuleOpOther +entryRuleOpOther returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpOtherRule()); } + iv_ruleOpOther=ruleOpOther + { $current=$iv_ruleOpOther.current.getText(); } + EOF +; + +// Rule OpOther +ruleOpOther returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + kw='->' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); + } + + | + kw='..<' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1()); + } + + |( + kw='>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0()); + } + + kw='..' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1()); + } +) + | + kw='..' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3()); + } + + | + kw='=>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4()); + } + + |( + kw='>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0()); + } +(((( + '>' + + '>' +))=>( + kw='>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_0()); + } + + kw='>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1()); + } +)) + | + kw='>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1()); + } +)) + |( + kw='<' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0()); + } +(((( + '<' + + '<' +))=>( + kw='<' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0()); + } + + kw='<' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1()); + } +)) + | + kw='<' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1()); + } + + | + kw='=>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2()); + } +)) + | + kw='<>' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7()); + } + + | + kw='?:' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8()); + } +) + ; + + + + + +// Entry rule entryRuleXAdditiveExpression +entryRuleXAdditiveExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXAdditiveExpressionRule()); } + iv_ruleXAdditiveExpression=ruleXAdditiveExpression + { $current=$iv_ruleXAdditiveExpression.current; } + EOF +; + +// Rule XAdditiveExpression +ruleXAdditiveExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0()); + } + this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression + { + $current = $this_XMultiplicativeExpression_0.current; + afterParserOrEnumRuleCall(); + } +((((( +)( +( + ruleOpAdd +) +)))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXAdditiveExpressionRule()); + } + } + { + newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + } + ruleOpAdd { + afterParserOrEnumRuleCall(); + } + +) +)))( +( + { + newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0()); + } + lv_rightOperand_3_0=ruleXMultiplicativeExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXAdditiveExpressionRule()); + } + set( + $current, + "rightOperand", + lv_rightOperand_3_0, + "XMultiplicativeExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*) +; + + + + + +// Entry rule entryRuleOpAdd +entryRuleOpAdd returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpAddRule()); } + iv_ruleOpAdd=ruleOpAdd + { $current=$iv_ruleOpAdd.current.getText(); } + EOF +; + +// Rule OpAdd +ruleOpAdd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + kw='+' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0()); + } + + | + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1()); + } +) + ; + + + + + +// Entry rule entryRuleXMultiplicativeExpression +entryRuleXMultiplicativeExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule()); } + iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression + { $current=$iv_ruleXMultiplicativeExpression.current; } + EOF +; + +// Rule XMultiplicativeExpression +ruleXMultiplicativeExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0()); + } + this_XUnaryOperation_0=ruleXUnaryOperation + { + $current = $this_XUnaryOperation_0.current; + afterParserOrEnumRuleCall(); + } +((((( +)( +( + ruleOpMulti +) +)))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXMultiplicativeExpressionRule()); + } + } + { + newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + } + ruleOpMulti { + afterParserOrEnumRuleCall(); + } + +) +)))( +( + { + newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0()); + } + lv_rightOperand_3_0=ruleXUnaryOperation { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXMultiplicativeExpressionRule()); + } + set( + $current, + "rightOperand", + lv_rightOperand_3_0, + "XUnaryOperation"); + afterParserOrEnumRuleCall(); + } + +) +))*) +; + + + + + +// Entry rule entryRuleOpMulti +entryRuleOpMulti returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpMultiRule()); } + iv_ruleOpMulti=ruleOpMulti + { $current=$iv_ruleOpMulti.current.getText(); } + EOF +; + +// Rule OpMulti +ruleOpMulti returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + kw='*' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0()); + } + + | + kw='**' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1()); + } + + | + kw='/' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2()); + } + + | + kw='%' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAccess().getPercentSignKeyword_3()); + } +) + ; + + + + + +// Entry rule entryRuleXUnaryOperation +entryRuleXUnaryOperation returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXUnaryOperationRule()); } + iv_ruleXUnaryOperation=ruleXUnaryOperation + { $current=$iv_ruleXUnaryOperation.current; } + EOF +; + +// Rule XUnaryOperation +ruleXUnaryOperation returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((( + { + $current = forceCreateModelElement( + grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXUnaryOperationRule()); + } + } + { + newCompositeNode(grammarAccess.getXUnaryOperationAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0()); + } + ruleOpUnary { + afterParserOrEnumRuleCall(); + } + +) +)( +( + { + newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0()); + } + lv_operand_2_0=ruleXUnaryOperation { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXUnaryOperationRule()); + } + set( + $current, + "operand", + lv_operand_2_0, + "XUnaryOperation"); + afterParserOrEnumRuleCall(); + } + +) +)) + | + { + newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1()); + } + this_XCastedExpression_3=ruleXCastedExpression + { + $current = $this_XCastedExpression_3.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleOpUnary +entryRuleOpUnary returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpUnaryRule()); } + iv_ruleOpUnary=ruleOpUnary + { $current=$iv_ruleOpUnary.current.getText(); } + EOF +; + +// Rule OpUnary +ruleOpUnary returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + kw='!' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0()); + } + + | + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1()); + } + + | + kw='+' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2()); + } +) + ; + + + + + +// Entry rule entryRuleXCastedExpression +entryRuleXCastedExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXCastedExpressionRule()); } + iv_ruleXCastedExpression=ruleXCastedExpression + { $current=$iv_ruleXCastedExpression.current; } + EOF +; + +// Rule XCastedExpression +ruleXCastedExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0()); + } + this_XPostfixOperation_0=ruleXPostfixOperation + { + $current = $this_XPostfixOperation_0.current; + afterParserOrEnumRuleCall(); + } +((((( +) 'as' +))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(), + $current); + } +) otherlv_2='as' + { + newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1()); + } +))( +( + { + newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0()); + } + lv_type_3_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXCastedExpressionRule()); + } + set( + $current, + "type", + lv_type_3_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +))*) +; + + + + + +// Entry rule entryRuleXPostfixOperation +entryRuleXPostfixOperation returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXPostfixOperationRule()); } + iv_ruleXPostfixOperation=ruleXPostfixOperation + { $current=$iv_ruleXPostfixOperation.current; } + EOF +; + +// Rule XPostfixOperation +ruleXPostfixOperation returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0()); + } + this_XMemberFeatureCall_0=ruleXMemberFeatureCall + { + $current = $this_XMemberFeatureCall_0.current; + afterParserOrEnumRuleCall(); + } +(((( +)( +( + ruleOpPostfix +) +)))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(), + $current); + } +)( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXPostfixOperationRule()); + } + } + { + newCompositeNode(grammarAccess.getXPostfixOperationAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_1_0()); + } + ruleOpPostfix { + afterParserOrEnumRuleCall(); + } + +) +)))?) +; + + + + + +// Entry rule entryRuleOpPostfix +entryRuleOpPostfix returns [String current=null] + : + { newCompositeNode(grammarAccess.getOpPostfixRule()); } + iv_ruleOpPostfix=ruleOpPostfix + { $current=$iv_ruleOpPostfix.current.getText(); } + EOF +; + +// Rule OpPostfix +ruleOpPostfix returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + kw='++' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0()); + } + + | + kw='--' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1()); + } +) + ; + + + + + +// Entry rule entryRuleXMemberFeatureCall +entryRuleXMemberFeatureCall returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXMemberFeatureCallRule()); } + iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall + { $current=$iv_ruleXMemberFeatureCall.current; } + EOF +; + +// Rule XMemberFeatureCall +ruleXMemberFeatureCall returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0()); + } + this_XPrimaryExpression_0=ruleXPrimaryExpression + { + $current = $this_XPrimaryExpression_0.current; + afterParserOrEnumRuleCall(); + } +(((((( +)( '.' + + |( +( + '::' + + +) +))( +( + ruleFeatureCallID +) +) ruleOpSingleAssign))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(), + $current); + } +)( otherlv_2='.' + { + newLeafNode(otherlv_2, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0()); + } + + |( +( + lv_explicitStatic_3_0= '::' + { + newLeafNode(lv_explicitStatic_3_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_0_0_0_1_1_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + setWithLastConsumed($current, "explicitStatic", true, "::"); + } + +) +))( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + } + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0()); + } + ruleFeatureCallID { + afterParserOrEnumRuleCall(); + } + +) +) + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3()); + } +ruleOpSingleAssign + { + afterParserOrEnumRuleCall(); + } +))( +( + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0()); + } + lv_value_6_0=ruleXAssignment { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + set( + $current, + "value", + lv_value_6_0, + "XAssignment"); + afterParserOrEnumRuleCall(); + } + +) +)) + |((((( +)( '.' + + |( +( + '?.' + + +) +) + |( +( + '::' + + +) +))))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(), + $current); + } +)( otherlv_8='.' + { + newLeafNode(otherlv_8, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0()); + } + + |( +( + lv_nullSafe_9_0= '?.' + { + newLeafNode(lv_nullSafe_9_0, grammarAccess.getXMemberFeatureCallAccess().getNullSafeQuestionMarkFullStopKeyword_1_1_0_0_1_1_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + setWithLastConsumed($current, "nullSafe", true, "?."); + } + +) +) + |( +( + lv_explicitStatic_10_0= '::' + { + newLeafNode(lv_explicitStatic_10_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_1_0_0_1_2_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + setWithLastConsumed($current, "explicitStatic", true, "::"); + } + +) +))))( otherlv_11='<' + { + newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0()); + } + lv_typeArguments_12_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + $current, + "typeArguments", + lv_typeArguments_12_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_13=',' + { + newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0()); + } + lv_typeArguments_14_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + $current, + "typeArguments", + lv_typeArguments_14_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +))* otherlv_15='>' + { + newLeafNode(otherlv_15, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3()); + } +)?( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + } + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0()); + } + ruleIdOrSuper { + afterParserOrEnumRuleCall(); + } + +) +)((( +( + '(' + + +) +)=> +( + lv_explicitOperationCall_17_0= '(' + { + newLeafNode(lv_explicitOperationCall_17_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + setWithLastConsumed($current, "explicitOperationCall", true, "("); + } + +) +)((((( +)(( +( +ruleJvmFormalParameter +) +)( ',' +( +( +ruleJvmFormalParameter +) +))*)?( +( + '|' + + +) +)))=> +( + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); + } + lv_memberCallArguments_18_0=ruleXShortClosure { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + $current, + "memberCallArguments", + lv_memberCallArguments_18_0, + "XShortClosure"); + afterParserOrEnumRuleCall(); + } + +) +) + |(( +( + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_0_0()); + } + lv_memberCallArguments_19_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + $current, + "memberCallArguments", + lv_memberCallArguments_19_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_20=',' + { + newLeafNode(otherlv_20, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_1_1_0()); + } + lv_memberCallArguments_21_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + $current, + "memberCallArguments", + lv_memberCallArguments_21_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*))? otherlv_22=')' + { + newLeafNode(otherlv_22, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2()); + } +)?(((( +) '[' +))=> +( + { + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0()); + } + lv_memberCallArguments_23_0=ruleXClosure { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + $current, + "memberCallArguments", + lv_memberCallArguments_23_0, + "XClosure"); + afterParserOrEnumRuleCall(); + } + +) +)?))*) +; + + + + + +// Entry rule entryRuleXPrimaryExpression +entryRuleXPrimaryExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXPrimaryExpressionRule()); } + iv_ruleXPrimaryExpression=ruleXPrimaryExpression + { $current=$iv_ruleXPrimaryExpression.current; } + EOF +; + +// Rule XPrimaryExpression +ruleXPrimaryExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0()); + } + this_XConstructorCall_0=ruleXConstructorCall + { + $current = $this_XConstructorCall_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1()); + } + this_XBlockExpression_1=ruleXBlockExpression + { + $current = $this_XBlockExpression_1.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2()); + } + this_XSwitchExpression_2=ruleXSwitchExpression + { + $current = $this_XSwitchExpression_2.current; + afterParserOrEnumRuleCall(); + } + + |(((( +) 'synchronized' + '(' +))=> + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3()); + } + this_XSynchronizedExpression_3=ruleXSynchronizedExpression + { + $current = $this_XSynchronizedExpression_3.current; + afterParserOrEnumRuleCall(); + } +) + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4()); + } + this_XFeatureCall_4=ruleXFeatureCall + { + $current = $this_XFeatureCall_4.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5()); + } + this_XLiteral_5=ruleXLiteral + { + $current = $this_XLiteral_5.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6()); + } + this_XIfExpression_6=ruleXIfExpression + { + $current = $this_XIfExpression_6.current; + afterParserOrEnumRuleCall(); + } + + |(((( +) 'for' + '(' +( +( +ruleJvmFormalParameter +) +) ':' +))=> + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7()); + } + this_XForLoopExpression_7=ruleXForLoopExpression + { + $current = $this_XForLoopExpression_7.current; + afterParserOrEnumRuleCall(); + } +) + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8()); + } + this_XBasicForLoopExpression_8=ruleXBasicForLoopExpression + { + $current = $this_XBasicForLoopExpression_8.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9()); + } + this_XWhileExpression_9=ruleXWhileExpression + { + $current = $this_XWhileExpression_9.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10()); + } + this_XDoWhileExpression_10=ruleXDoWhileExpression + { + $current = $this_XDoWhileExpression_10.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11()); + } + this_XThrowExpression_11=ruleXThrowExpression + { + $current = $this_XThrowExpression_11.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12()); + } + this_XReturnExpression_12=ruleXReturnExpression + { + $current = $this_XReturnExpression_12.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13()); + } + this_XTryCatchFinallyExpression_13=ruleXTryCatchFinallyExpression + { + $current = $this_XTryCatchFinallyExpression_13.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14()); + } + this_XParenthesizedExpression_14=ruleXParenthesizedExpression + { + $current = $this_XParenthesizedExpression_14.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleXLiteral +entryRuleXLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXLiteralRule()); } + iv_ruleXLiteral=ruleXLiteral + { $current=$iv_ruleXLiteral.current; } + EOF +; + +// Rule XLiteral +ruleXLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0()); + } + this_XCollectionLiteral_0=ruleXCollectionLiteral + { + $current = $this_XCollectionLiteral_0.current; + afterParserOrEnumRuleCall(); + } + + |(((( +) '[' +))=> + { + newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1()); + } + this_XClosure_1=ruleXClosure + { + $current = $this_XClosure_1.current; + afterParserOrEnumRuleCall(); + } +) + | + { + newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2()); + } + this_XBooleanLiteral_2=ruleXBooleanLiteral + { + $current = $this_XBooleanLiteral_2.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3()); + } + this_XNumberLiteral_3=ruleXNumberLiteral + { + $current = $this_XNumberLiteral_3.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4()); + } + this_XNullLiteral_4=ruleXNullLiteral + { + $current = $this_XNullLiteral_4.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5()); + } + this_XStringLiteral_5=ruleXStringLiteral + { + $current = $this_XStringLiteral_5.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6()); + } + this_XTypeLiteral_6=ruleXTypeLiteral + { + $current = $this_XTypeLiteral_6.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleXCollectionLiteral +entryRuleXCollectionLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXCollectionLiteralRule()); } + iv_ruleXCollectionLiteral=ruleXCollectionLiteral + { $current=$iv_ruleXCollectionLiteral.current; } + EOF +; + +// Rule XCollectionLiteral +ruleXCollectionLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0()); + } + this_XSetLiteral_0=ruleXSetLiteral + { + $current = $this_XSetLiteral_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1()); + } + this_XListLiteral_1=ruleXListLiteral + { + $current = $this_XListLiteral_1.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleXSetLiteral +entryRuleXSetLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXSetLiteralRule()); } + iv_ruleXSetLiteral=ruleXSetLiteral + { $current=$iv_ruleXSetLiteral.current; } + EOF +; + +// Rule XSetLiteral +ruleXSetLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0(), + $current); + } +) otherlv_1='#' + { + newLeafNode(otherlv_1, grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); + } + otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getXSetLiteralAccess().getLeftCurlyBracketKeyword_2()); + } +(( +( + { + newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); + } + lv_elements_3_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); + } + add( + $current, + "elements", + lv_elements_3_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_4=',' + { + newLeafNode(otherlv_4, grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); + } + lv_elements_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); + } + add( + $current, + "elements", + lv_elements_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_6='}' + { + newLeafNode(otherlv_6, grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); + } +) +; + + + + + +// Entry rule entryRuleXListLiteral +entryRuleXListLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXListLiteralRule()); } + iv_ruleXListLiteral=ruleXListLiteral + { $current=$iv_ruleXListLiteral.current; } + EOF +; + +// Rule XListLiteral +ruleXListLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXListLiteralAccess().getXListLiteralAction_0(), + $current); + } +) otherlv_1='#' + { + newLeafNode(otherlv_1, grammarAccess.getXListLiteralAccess().getNumberSignKeyword_1()); + } + otherlv_2='[' + { + newLeafNode(otherlv_2, grammarAccess.getXListLiteralAccess().getLeftSquareBracketKeyword_2()); + } +(( +( + { + newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); + } + lv_elements_3_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXListLiteralRule()); + } + add( + $current, + "elements", + lv_elements_3_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_4=',' + { + newLeafNode(otherlv_4, grammarAccess.getXListLiteralAccess().getCommaKeyword_3_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); + } + lv_elements_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXListLiteralRule()); + } + add( + $current, + "elements", + lv_elements_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_6=']' + { + newLeafNode(otherlv_6, grammarAccess.getXListLiteralAccess().getRightSquareBracketKeyword_4()); + } +) +; + + + + + +// Entry rule entryRuleXClosure +entryRuleXClosure returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXClosureRule()); } + iv_ruleXClosure=ruleXClosure + { $current=$iv_ruleXClosure.current; } + EOF +; + +// Rule XClosure +ruleXClosure returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((((( +) '[' +))=>(( + { + $current = forceCreateModelElement( + grammarAccess.getXClosureAccess().getXClosureAction_0_0_0(), + $current); + } +) otherlv_1='[' + { + newLeafNode(otherlv_1, grammarAccess.getXClosureAccess().getLeftSquareBracketKeyword_0_0_1()); + } +))((((( +( +ruleJvmFormalParameter +) +)( ',' +( +( +ruleJvmFormalParameter +) +))*)?( +( + '|' + + +) +)))=>((( +( + { + newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_0_0()); + } + lv_declaredFormalParameters_2_0=ruleJvmFormalParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXClosureRule()); + } + add( + $current, + "declaredFormalParameters", + lv_declaredFormalParameters_2_0, + "JvmFormalParameter"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getXClosureAccess().getCommaKeyword_1_0_0_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_1_1_0()); + } + lv_declaredFormalParameters_4_0=ruleJvmFormalParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXClosureRule()); + } + add( + $current, + "declaredFormalParameters", + lv_declaredFormalParameters_4_0, + "JvmFormalParameter"); + afterParserOrEnumRuleCall(); + } + +) +))*)?( +( + lv_explicitSyntax_5_0= '|' + { + newLeafNode(lv_explicitSyntax_5_0, grammarAccess.getXClosureAccess().getExplicitSyntaxVerticalLineKeyword_1_0_1_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXClosureRule()); + } + setWithLastConsumed($current, "explicitSyntax", true, "|"); + } + +) +)))?( +( + { + newCompositeNode(grammarAccess.getXClosureAccess().getExpressionXExpressionInClosureParserRuleCall_2_0()); + } + lv_expression_6_0=ruleXExpressionInClosure { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXClosureRule()); + } + set( + $current, + "expression", + lv_expression_6_0, + "XExpressionInClosure"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_7=']' + { + newLeafNode(otherlv_7, grammarAccess.getXClosureAccess().getRightSquareBracketKeyword_3()); + } +) +; + + + + + +// Entry rule entryRuleXExpressionInClosure +entryRuleXExpressionInClosure returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXExpressionInClosureRule()); } + iv_ruleXExpressionInClosure=ruleXExpressionInClosure + { $current=$iv_ruleXExpressionInClosure.current; } + EOF +; + +// Rule XExpressionInClosure +ruleXExpressionInClosure returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXExpressionInClosureAccess().getXBlockExpressionAction_0(), + $current); + } +)(( +( + { + newCompositeNode(grammarAccess.getXExpressionInClosureAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0_0()); + } + lv_expressions_1_0=ruleXExpressionOrVarDeclaration { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXExpressionInClosureRule()); + } + add( + $current, + "expressions", + lv_expressions_1_0, + "XExpressionOrVarDeclaration"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_2=';' + { + newLeafNode(otherlv_2, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1()); + } +)?)*) +; + + + + + +// Entry rule entryRuleXShortClosure +entryRuleXShortClosure returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXShortClosureRule()); } + iv_ruleXShortClosure=ruleXShortClosure + { $current=$iv_ruleXShortClosure.current; } + EOF +; + +// Rule XShortClosure +ruleXShortClosure returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((((( +)(( +( +ruleJvmFormalParameter +) +)( ',' +( +( +ruleJvmFormalParameter +) +))*)?( +( + '|' + + +) +)))=>(( + { + $current = forceCreateModelElement( + grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0(), + $current); + } +)(( +( + { + newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0()); + } + lv_declaredFormalParameters_1_0=ruleJvmFormalParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXShortClosureRule()); + } + add( + $current, + "declaredFormalParameters", + lv_declaredFormalParameters_1_0, + "JvmFormalParameter"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getXShortClosureAccess().getCommaKeyword_0_0_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0()); + } + lv_declaredFormalParameters_3_0=ruleJvmFormalParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXShortClosureRule()); + } + add( + $current, + "declaredFormalParameters", + lv_declaredFormalParameters_3_0, + "JvmFormalParameter"); + afterParserOrEnumRuleCall(); + } + +) +))*)?( +( + lv_explicitSyntax_4_0= '|' + { + newLeafNode(lv_explicitSyntax_4_0, grammarAccess.getXShortClosureAccess().getExplicitSyntaxVerticalLineKeyword_0_0_2_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXShortClosureRule()); + } + setWithLastConsumed($current, "explicitSyntax", true, "|"); + } + +) +)))( +( + { + newCompositeNode(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0()); + } + lv_expression_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXShortClosureRule()); + } + set( + $current, + "expression", + lv_expression_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleXParenthesizedExpression +entryRuleXParenthesizedExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXParenthesizedExpressionRule()); } + iv_ruleXParenthesizedExpression=ruleXParenthesizedExpression + { $current=$iv_ruleXParenthesizedExpression.current; } + EOF +; + +// Rule XParenthesizedExpression +ruleXParenthesizedExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='(' + { + newLeafNode(otherlv_0, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); + } + + { + newCompositeNode(grammarAccess.getXParenthesizedExpressionAccess().getXExpressionParserRuleCall_1()); + } + this_XExpression_1=ruleXExpression + { + $current = $this_XExpression_1.current; + afterParserOrEnumRuleCall(); + } + otherlv_2=')' + { + newLeafNode(otherlv_2, grammarAccess.getXParenthesizedExpressionAccess().getRightParenthesisKeyword_2()); + } +) +; + + + + + +// Entry rule entryRuleXIfExpression +entryRuleXIfExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXIfExpressionRule()); } + iv_ruleXIfExpression=ruleXIfExpression + { $current=$iv_ruleXIfExpression.current; } + EOF +; + +// Rule XIfExpression +ruleXIfExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXIfExpressionAccess().getXIfExpressionAction_0(), + $current); + } +) otherlv_1='if' + { + newLeafNode(otherlv_1, grammarAccess.getXIfExpressionAccess().getIfKeyword_1()); + } + otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getXIfExpressionAccess().getLeftParenthesisKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getXIfExpressionAccess().getIfXExpressionParserRuleCall_3_0()); + } + lv_if_3_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXIfExpressionRule()); + } + set( + $current, + "if", + lv_if_3_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_4=')' + { + newLeafNode(otherlv_4, grammarAccess.getXIfExpressionAccess().getRightParenthesisKeyword_4()); + } +( +( + { + newCompositeNode(grammarAccess.getXIfExpressionAccess().getThenXExpressionParserRuleCall_5_0()); + } + lv_then_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXIfExpressionRule()); + } + set( + $current, + "then", + lv_then_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)((( 'else' +)=> otherlv_6='else' + { + newLeafNode(otherlv_6, grammarAccess.getXIfExpressionAccess().getElseKeyword_6_0()); + } +)( +( + { + newCompositeNode(grammarAccess.getXIfExpressionAccess().getElseXExpressionParserRuleCall_6_1_0()); + } + lv_else_7_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXIfExpressionRule()); + } + set( + $current, + "else", + lv_else_7_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))?) +; + + + + + +// Entry rule entryRuleXSwitchExpression +entryRuleXSwitchExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXSwitchExpressionRule()); } + iv_ruleXSwitchExpression=ruleXSwitchExpression + { $current=$iv_ruleXSwitchExpression.current; } + EOF +; + +// Rule XSwitchExpression +ruleXSwitchExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0(), + $current); + } +) otherlv_1='switch' + { + newLeafNode(otherlv_1, grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1()); + } +((((( '(' +( +( +ruleJvmFormalParameter +) +) ':' +))=>( otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_0_0_0_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_0_0_0_1_0()); + } + lv_declaredParam_3_0=ruleJvmFormalParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); + } + set( + $current, + "declaredParam", + lv_declaredParam_3_0, + "JvmFormalParameter"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_4=':' + { + newLeafNode(otherlv_4, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_2()); + } +))( +( + { + newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_0_1_0()); + } + lv_switch_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); + } + set( + $current, + "switch", + lv_switch_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_6=')' + { + newLeafNode(otherlv_6, grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_0_2()); + } +) + |((((( +( +ruleJvmFormalParameter +) +) ':' +))=>(( +( + { + newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_1_0_0_0_0()); + } + lv_declaredParam_7_0=ruleJvmFormalParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); + } + set( + $current, + "declaredParam", + lv_declaredParam_7_0, + "JvmFormalParameter"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_8=':' + { + newLeafNode(otherlv_8, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_1()); + } +))?( +( + { + newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_1_1_0()); + } + lv_switch_9_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); + } + set( + $current, + "switch", + lv_switch_9_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))) otherlv_10='{' + { + newLeafNode(otherlv_10, grammarAccess.getXSwitchExpressionAccess().getLeftCurlyBracketKeyword_3()); + } +( +( + { + newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getCasesXCasePartParserRuleCall_4_0()); + } + lv_cases_11_0=ruleXCasePart { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); + } + add( + $current, + "cases", + lv_cases_11_0, + "XCasePart"); + afterParserOrEnumRuleCall(); + } + +) +)*( otherlv_12='default' + { + newLeafNode(otherlv_12, grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_5_0()); + } + otherlv_13=':' + { + newLeafNode(otherlv_13, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_1()); + } +( +( + { + newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDefaultXExpressionParserRuleCall_5_2_0()); + } + lv_default_14_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); + } + set( + $current, + "default", + lv_default_14_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))? otherlv_15='}' + { + newLeafNode(otherlv_15, grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); + } +) +; + + + + + +// Entry rule entryRuleXCasePart +entryRuleXCasePart returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXCasePartRule()); } + iv_ruleXCasePart=ruleXCasePart + { $current=$iv_ruleXCasePart.current; } + EOF +; + +// Rule XCasePart +ruleXCasePart returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXCasePartAccess().getXCasePartAction_0(), + $current); + } +)( +( + { + newCompositeNode(grammarAccess.getXCasePartAccess().getTypeGuardJvmTypeReferenceParserRuleCall_1_0()); + } + lv_typeGuard_1_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXCasePartRule()); + } + set( + $current, + "typeGuard", + lv_typeGuard_1_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)?( otherlv_2='case' + { + newLeafNode(otherlv_2, grammarAccess.getXCasePartAccess().getCaseKeyword_2_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXCasePartAccess().getCaseXExpressionParserRuleCall_2_1_0()); + } + lv_case_3_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXCasePartRule()); + } + set( + $current, + "case", + lv_case_3_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))?(( otherlv_4=':' + { + newLeafNode(otherlv_4, grammarAccess.getXCasePartAccess().getColonKeyword_3_0_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXCasePartAccess().getThenXExpressionParserRuleCall_3_0_1_0()); + } + lv_then_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXCasePartRule()); + } + set( + $current, + "then", + lv_then_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)) + |( +( + lv_fallThrough_6_0= ',' + { + newLeafNode(lv_fallThrough_6_0, grammarAccess.getXCasePartAccess().getFallThroughCommaKeyword_3_1_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXCasePartRule()); + } + setWithLastConsumed($current, "fallThrough", true, ","); + } + +) +))) +; + + + + + +// Entry rule entryRuleXForLoopExpression +entryRuleXForLoopExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXForLoopExpressionRule()); } + iv_ruleXForLoopExpression=ruleXForLoopExpression + { $current=$iv_ruleXForLoopExpression.current; } + EOF +; + +// Rule XForLoopExpression +ruleXForLoopExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((((( +) 'for' + '(' +( +( +ruleJvmFormalParameter +) +) ':' +))=>(( + { + $current = forceCreateModelElement( + grammarAccess.getXForLoopExpressionAccess().getXForLoopExpressionAction_0_0_0(), + $current); + } +) otherlv_1='for' + { + newLeafNode(otherlv_1, grammarAccess.getXForLoopExpressionAccess().getForKeyword_0_0_1()); + } + otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getXForLoopExpressionAccess().getLeftParenthesisKeyword_0_0_2()); + } +( +( + { + newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_0_0_3_0()); + } + lv_declaredParam_3_0=ruleJvmFormalParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule()); + } + set( + $current, + "declaredParam", + lv_declaredParam_3_0, + "JvmFormalParameter"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_4=':' + { + newLeafNode(otherlv_4, grammarAccess.getXForLoopExpressionAccess().getColonKeyword_0_0_4()); + } +))( +( + { + newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getForExpressionXExpressionParserRuleCall_1_0()); + } + lv_forExpression_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule()); + } + set( + $current, + "forExpression", + lv_forExpression_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_6=')' + { + newLeafNode(otherlv_6, grammarAccess.getXForLoopExpressionAccess().getRightParenthesisKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_3_0()); + } + lv_eachExpression_7_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule()); + } + set( + $current, + "eachExpression", + lv_eachExpression_7_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleXBasicForLoopExpression +entryRuleXBasicForLoopExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXBasicForLoopExpressionRule()); } + iv_ruleXBasicForLoopExpression=ruleXBasicForLoopExpression + { $current=$iv_ruleXBasicForLoopExpression.current; } + EOF +; + +// Rule XBasicForLoopExpression +ruleXBasicForLoopExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXBasicForLoopExpressionAccess().getXBasicForLoopExpressionAction_0(), + $current); + } +) otherlv_1='for' + { + newLeafNode(otherlv_1, grammarAccess.getXBasicForLoopExpressionAccess().getForKeyword_1()); + } + otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getXBasicForLoopExpressionAccess().getLeftParenthesisKeyword_2()); + } +(( +( + { + newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_0_0()); + } + lv_initExpressions_3_0=ruleXExpressionOrVarDeclaration { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); + } + add( + $current, + "initExpressions", + lv_initExpressions_3_0, + "XExpressionOrVarDeclaration"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_4=',' + { + newLeafNode(otherlv_4, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_3_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_1_1_0()); + } + lv_initExpressions_5_0=ruleXExpressionOrVarDeclaration { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); + } + add( + $current, + "initExpressions", + lv_initExpressions_5_0, + "XExpressionOrVarDeclaration"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_6=';' + { + newLeafNode(otherlv_6, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_4()); + } +( +( + { + newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionXExpressionParserRuleCall_5_0()); + } + lv_expression_7_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); + } + set( + $current, + "expression", + lv_expression_7_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)? otherlv_8=';' + { + newLeafNode(otherlv_8, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_6()); + } +(( +( + { + newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_0_0()); + } + lv_updateExpressions_9_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); + } + add( + $current, + "updateExpressions", + lv_updateExpressions_9_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_10=',' + { + newLeafNode(otherlv_10, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_7_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_1_1_0()); + } + lv_updateExpressions_11_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); + } + add( + $current, + "updateExpressions", + lv_updateExpressions_11_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_12=')' + { + newLeafNode(otherlv_12, grammarAccess.getXBasicForLoopExpressionAccess().getRightParenthesisKeyword_8()); + } +( +( + { + newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_9_0()); + } + lv_eachExpression_13_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); + } + set( + $current, + "eachExpression", + lv_eachExpression_13_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleXWhileExpression +entryRuleXWhileExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXWhileExpressionRule()); } + iv_ruleXWhileExpression=ruleXWhileExpression + { $current=$iv_ruleXWhileExpression.current; } + EOF +; + +// Rule XWhileExpression +ruleXWhileExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXWhileExpressionAccess().getXWhileExpressionAction_0(), + $current); + } +) otherlv_1='while' + { + newLeafNode(otherlv_1, grammarAccess.getXWhileExpressionAccess().getWhileKeyword_1()); + } + otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getXWhileExpressionAccess().getLeftParenthesisKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getXWhileExpressionAccess().getPredicateXExpressionParserRuleCall_3_0()); + } + lv_predicate_3_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXWhileExpressionRule()); + } + set( + $current, + "predicate", + lv_predicate_3_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_4=')' + { + newLeafNode(otherlv_4, grammarAccess.getXWhileExpressionAccess().getRightParenthesisKeyword_4()); + } +( +( + { + newCompositeNode(grammarAccess.getXWhileExpressionAccess().getBodyXExpressionParserRuleCall_5_0()); + } + lv_body_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXWhileExpressionRule()); + } + set( + $current, + "body", + lv_body_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleXDoWhileExpression +entryRuleXDoWhileExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXDoWhileExpressionRule()); } + iv_ruleXDoWhileExpression=ruleXDoWhileExpression + { $current=$iv_ruleXDoWhileExpression.current; } + EOF +; + +// Rule XDoWhileExpression +ruleXDoWhileExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXDoWhileExpressionAccess().getXDoWhileExpressionAction_0(), + $current); + } +) otherlv_1='do' + { + newLeafNode(otherlv_1, grammarAccess.getXDoWhileExpressionAccess().getDoKeyword_1()); + } +( +( + { + newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getBodyXExpressionParserRuleCall_2_0()); + } + lv_body_2_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXDoWhileExpressionRule()); + } + set( + $current, + "body", + lv_body_2_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_3='while' + { + newLeafNode(otherlv_3, grammarAccess.getXDoWhileExpressionAccess().getWhileKeyword_3()); + } + otherlv_4='(' + { + newLeafNode(otherlv_4, grammarAccess.getXDoWhileExpressionAccess().getLeftParenthesisKeyword_4()); + } +( +( + { + newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getPredicateXExpressionParserRuleCall_5_0()); + } + lv_predicate_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXDoWhileExpressionRule()); + } + set( + $current, + "predicate", + lv_predicate_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_6=')' + { + newLeafNode(otherlv_6, grammarAccess.getXDoWhileExpressionAccess().getRightParenthesisKeyword_6()); + } +) +; + + + + + +// Entry rule entryRuleXBlockExpression +entryRuleXBlockExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXBlockExpressionRule()); } + iv_ruleXBlockExpression=ruleXBlockExpression + { $current=$iv_ruleXBlockExpression.current; } + EOF +; + +// Rule XBlockExpression +ruleXBlockExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXBlockExpressionAccess().getXBlockExpressionAction_0(), + $current); + } +) otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getXBlockExpressionAccess().getLeftCurlyBracketKeyword_1()); + } +(( +( + { + newCompositeNode(grammarAccess.getXBlockExpressionAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_2_0_0()); + } + lv_expressions_2_0=ruleXExpressionOrVarDeclaration { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXBlockExpressionRule()); + } + add( + $current, + "expressions", + lv_expressions_2_0, + "XExpressionOrVarDeclaration"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_3=';' + { + newLeafNode(otherlv_3, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1()); + } +)?)* otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getXBlockExpressionAccess().getRightCurlyBracketKeyword_3()); + } +) +; + + + + + +// Entry rule entryRuleXExpressionOrVarDeclaration +entryRuleXExpressionOrVarDeclaration returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationRule()); } + iv_ruleXExpressionOrVarDeclaration=ruleXExpressionOrVarDeclaration + { $current=$iv_ruleXExpressionOrVarDeclaration.current; } + EOF +; + +// Rule XExpressionOrVarDeclaration +ruleXExpressionOrVarDeclaration returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXVariableDeclarationParserRuleCall_0()); + } + this_XVariableDeclaration_0=ruleXVariableDeclaration + { + $current = $this_XVariableDeclaration_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXExpressionParserRuleCall_1()); + } + this_XExpression_1=ruleXExpression + { + $current = $this_XExpression_1.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleXVariableDeclaration +entryRuleXVariableDeclaration returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXVariableDeclarationRule()); } + iv_ruleXVariableDeclaration=ruleXVariableDeclaration + { $current=$iv_ruleXVariableDeclaration.current; } + EOF +; + +// Rule XVariableDeclaration +ruleXVariableDeclaration returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXVariableDeclarationAccess().getXVariableDeclarationAction_0(), + $current); + } +)(( +( + lv_writeable_1_0= 'var' + { + newLeafNode(lv_writeable_1_0, grammarAccess.getXVariableDeclarationAccess().getWriteableVarKeyword_1_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXVariableDeclarationRule()); + } + setWithLastConsumed($current, "writeable", true, "var"); + } + +) +) + | otherlv_2='val' + { + newLeafNode(otherlv_2, grammarAccess.getXVariableDeclarationAccess().getValKeyword_1_1()); + } +)((((( +( +ruleJvmTypeReference +) +)( +( +ruleValidID +) +)))=>(( +( + { + newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getTypeJvmTypeReferenceParserRuleCall_2_0_0_0_0()); + } + lv_type_3_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule()); + } + set( + $current, + "type", + lv_type_3_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)( +( + { + newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_0_0_1_0()); + } + lv_name_4_0=ruleValidID { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule()); + } + set( + $current, + "name", + lv_name_4_0, + "ValidID"); + afterParserOrEnumRuleCall(); + } + +) +))) + |( +( + { + newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_1_0()); + } + lv_name_5_0=ruleValidID { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule()); + } + set( + $current, + "name", + lv_name_5_0, + "ValidID"); + afterParserOrEnumRuleCall(); + } + +) +))( otherlv_6='=' + { + newLeafNode(otherlv_6, grammarAccess.getXVariableDeclarationAccess().getEqualsSignKeyword_3_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getRightXExpressionParserRuleCall_3_1_0()); + } + lv_right_7_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule()); + } + set( + $current, + "right", + lv_right_7_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))?) +; + + + + + +// Entry rule entryRuleJvmFormalParameter +entryRuleJvmFormalParameter returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getJvmFormalParameterRule()); } + iv_ruleJvmFormalParameter=ruleJvmFormalParameter + { $current=$iv_ruleJvmFormalParameter.current; } + EOF +; + +// Rule JvmFormalParameter +ruleJvmFormalParameter returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + { + newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0()); + } + lv_parameterType_0_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmFormalParameterRule()); + } + set( + $current, + "parameterType", + lv_parameterType_0_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)?( +( + { + newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0()); + } + lv_name_1_0=ruleValidID { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmFormalParameterRule()); + } + set( + $current, + "name", + lv_name_1_0, + "ValidID"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleFullJvmFormalParameter +entryRuleFullJvmFormalParameter returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getFullJvmFormalParameterRule()); } + iv_ruleFullJvmFormalParameter=ruleFullJvmFormalParameter + { $current=$iv_ruleFullJvmFormalParameter.current; } + EOF +; + +// Rule FullJvmFormalParameter +ruleFullJvmFormalParameter returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + { + newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0()); + } + lv_parameterType_0_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFullJvmFormalParameterRule()); + } + set( + $current, + "parameterType", + lv_parameterType_0_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)( +( + { + newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0()); + } + lv_name_1_0=ruleValidID { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFullJvmFormalParameterRule()); + } + set( + $current, + "name", + lv_name_1_0, + "ValidID"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleXFeatureCall +entryRuleXFeatureCall returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXFeatureCallRule()); } + iv_ruleXFeatureCall=ruleXFeatureCall + { $current=$iv_ruleXFeatureCall.current; } + EOF +; + +// Rule XFeatureCall +ruleXFeatureCall returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXFeatureCallAccess().getXFeatureCallAction_0(), + $current); + } +)( otherlv_1='<' + { + newLeafNode(otherlv_1, grammarAccess.getXFeatureCallAccess().getLessThanSignKeyword_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); + } + lv_typeArguments_2_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); + } + add( + $current, + "typeArguments", + lv_typeArguments_2_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getXFeatureCallAccess().getCommaKeyword_1_2_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); + } + lv_typeArguments_4_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); + } + add( + $current, + "typeArguments", + lv_typeArguments_4_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +))* otherlv_5='>' + { + newLeafNode(otherlv_5, grammarAccess.getXFeatureCallAccess().getGreaterThanSignKeyword_1_3()); + } +)?( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXFeatureCallRule()); + } + } + { + newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_2_0()); + } + ruleIdOrSuper { + afterParserOrEnumRuleCall(); + } + +) +)((( +( + '(' + + +) +)=> +( + lv_explicitOperationCall_7_0= '(' + { + newLeafNode(lv_explicitOperationCall_7_0, grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_3_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXFeatureCallRule()); + } + setWithLastConsumed($current, "explicitOperationCall", true, "("); + } + +) +)((((( +)(( +( +ruleJvmFormalParameter +) +)( ',' +( +( +ruleJvmFormalParameter +) +))*)?( +( + '|' + + +) +)))=> +( + { + newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0()); + } + lv_featureCallArguments_8_0=ruleXShortClosure { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); + } + add( + $current, + "featureCallArguments", + lv_featureCallArguments_8_0, + "XShortClosure"); + afterParserOrEnumRuleCall(); + } + +) +) + |(( +( + { + newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0()); + } + lv_featureCallArguments_9_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); + } + add( + $current, + "featureCallArguments", + lv_featureCallArguments_9_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_10=',' + { + newLeafNode(otherlv_10, grammarAccess.getXFeatureCallAccess().getCommaKeyword_3_1_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0()); + } + lv_featureCallArguments_11_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); + } + add( + $current, + "featureCallArguments", + lv_featureCallArguments_11_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*))? otherlv_12=')' + { + newLeafNode(otherlv_12, grammarAccess.getXFeatureCallAccess().getRightParenthesisKeyword_3_2()); + } +)?(((( +) '[' +))=> +( + { + newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_4_0()); + } + lv_featureCallArguments_13_0=ruleXClosure { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); + } + add( + $current, + "featureCallArguments", + lv_featureCallArguments_13_0, + "XClosure"); + afterParserOrEnumRuleCall(); + } + +) +)?) +; + + + + + +// Entry rule entryRuleFeatureCallID +entryRuleFeatureCallID returns [String current=null] + : + { newCompositeNode(grammarAccess.getFeatureCallIDRule()); } + iv_ruleFeatureCallID=ruleFeatureCallID + { $current=$iv_ruleFeatureCallID.current.getText(); } + EOF +; + +// Rule FeatureCallID +ruleFeatureCallID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getFeatureCallIDAccess().getValidIDParserRuleCall_0()); + } + this_ValidID_0=ruleValidID { + $current.merge(this_ValidID_0); + } + + { + afterParserOrEnumRuleCall(); + } + + | + kw='extends' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtendsKeyword_1()); + } + + | + kw='static' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getStaticKeyword_2()); + } + + | + kw='import' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getImportKeyword_3()); + } + + | + kw='extension' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtensionKeyword_4()); + } +) + ; + + + + + +// Entry rule entryRuleIdOrSuper +entryRuleIdOrSuper returns [String current=null] + : + { newCompositeNode(grammarAccess.getIdOrSuperRule()); } + iv_ruleIdOrSuper=ruleIdOrSuper + { $current=$iv_ruleIdOrSuper.current.getText(); } + EOF +; + +// Rule IdOrSuper +ruleIdOrSuper returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getIdOrSuperAccess().getFeatureCallIDParserRuleCall_0()); + } + this_FeatureCallID_0=ruleFeatureCallID { + $current.merge(this_FeatureCallID_0); + } + + { + afterParserOrEnumRuleCall(); + } + + | + kw='super' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); + } +) + ; + + + + + +// Entry rule entryRuleXConstructorCall +entryRuleXConstructorCall returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXConstructorCallRule()); } + iv_ruleXConstructorCall=ruleXConstructorCall + { $current=$iv_ruleXConstructorCall.current; } + EOF +; + +// Rule XConstructorCall +ruleXConstructorCall returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXConstructorCallAccess().getXConstructorCallAction_0(), + $current); + } +) otherlv_1='new' + { + newLeafNode(otherlv_1, grammarAccess.getXConstructorCallAccess().getNewKeyword_1()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXConstructorCallRule()); + } + } + { + newCompositeNode(grammarAccess.getXConstructorCallAccess().getConstructorJvmConstructorCrossReference_2_0()); + } + ruleQualifiedName { + afterParserOrEnumRuleCall(); + } + +) +)((( '<' +)=> otherlv_3='<' + { + newLeafNode(otherlv_3, grammarAccess.getXConstructorCallAccess().getLessThanSignKeyword_3_0()); + } +)( +( + { + newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_1_0()); + } + lv_typeArguments_4_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); + } + add( + $current, + "typeArguments", + lv_typeArguments_4_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getXConstructorCallAccess().getCommaKeyword_3_2_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_2_1_0()); + } + lv_typeArguments_6_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); + } + add( + $current, + "typeArguments", + lv_typeArguments_6_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +))* otherlv_7='>' + { + newLeafNode(otherlv_7, grammarAccess.getXConstructorCallAccess().getGreaterThanSignKeyword_3_3()); + } +)?((( +( + '(' + + +) +)=> +( + lv_explicitConstructorCall_8_0= '(' + { + newLeafNode(lv_explicitConstructorCall_8_0, grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallLeftParenthesisKeyword_4_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXConstructorCallRule()); + } + setWithLastConsumed($current, "explicitConstructorCall", true, "("); + } + +) +)((((( +)(( +( +ruleJvmFormalParameter +) +)( ',' +( +( +ruleJvmFormalParameter +) +))*)?( +( + '|' + + +) +)))=> +( + { + newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0()); + } + lv_arguments_9_0=ruleXShortClosure { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); + } + add( + $current, + "arguments", + lv_arguments_9_0, + "XShortClosure"); + afterParserOrEnumRuleCall(); + } + +) +) + |(( +( + { + newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_0_0()); + } + lv_arguments_10_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); + } + add( + $current, + "arguments", + lv_arguments_10_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_11=',' + { + newLeafNode(otherlv_11, grammarAccess.getXConstructorCallAccess().getCommaKeyword_4_1_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_1_1_0()); + } + lv_arguments_12_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); + } + add( + $current, + "arguments", + lv_arguments_12_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))*))? otherlv_13=')' + { + newLeafNode(otherlv_13, grammarAccess.getXConstructorCallAccess().getRightParenthesisKeyword_4_2()); + } +)?(((( +) '[' +))=> +( + { + newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXClosureParserRuleCall_5_0()); + } + lv_arguments_14_0=ruleXClosure { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); + } + add( + $current, + "arguments", + lv_arguments_14_0, + "XClosure"); + afterParserOrEnumRuleCall(); + } + +) +)?) +; + + + + + +// Entry rule entryRuleXBooleanLiteral +entryRuleXBooleanLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXBooleanLiteralRule()); } + iv_ruleXBooleanLiteral=ruleXBooleanLiteral + { $current=$iv_ruleXBooleanLiteral.current; } + EOF +; + +// Rule XBooleanLiteral +ruleXBooleanLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXBooleanLiteralAccess().getXBooleanLiteralAction_0(), + $current); + } +)( otherlv_1='false' + { + newLeafNode(otherlv_1, grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); + } + + |( +( + lv_isTrue_2_0= 'true' + { + newLeafNode(lv_isTrue_2_0, grammarAccess.getXBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXBooleanLiteralRule()); + } + setWithLastConsumed($current, "isTrue", true, "true"); + } + +) +))) +; + + + + + +// Entry rule entryRuleXNullLiteral +entryRuleXNullLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXNullLiteralRule()); } + iv_ruleXNullLiteral=ruleXNullLiteral + { $current=$iv_ruleXNullLiteral.current; } + EOF +; + +// Rule XNullLiteral +ruleXNullLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXNullLiteralAccess().getXNullLiteralAction_0(), + $current); + } +) otherlv_1='null' + { + newLeafNode(otherlv_1, grammarAccess.getXNullLiteralAccess().getNullKeyword_1()); + } +) +; + + + + + +// Entry rule entryRuleXNumberLiteral +entryRuleXNumberLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXNumberLiteralRule()); } + iv_ruleXNumberLiteral=ruleXNumberLiteral + { $current=$iv_ruleXNumberLiteral.current; } + EOF +; + +// Rule XNumberLiteral +ruleXNumberLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXNumberLiteralAccess().getXNumberLiteralAction_0(), + $current); + } +)( +( + { + newCompositeNode(grammarAccess.getXNumberLiteralAccess().getValueNumberParserRuleCall_1_0()); + } + lv_value_1_0=ruleNumber { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXNumberLiteralRule()); + } + set( + $current, + "value", + lv_value_1_0, + "Number"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleXStringLiteral +entryRuleXStringLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXStringLiteralRule()); } + iv_ruleXStringLiteral=ruleXStringLiteral + { $current=$iv_ruleXStringLiteral.current; } + EOF +; + +// Rule XStringLiteral +ruleXStringLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXStringLiteralAccess().getXStringLiteralAction_0(), + $current); + } +)( +( + lv_value_1_0=RULE_STRING + { + newLeafNode(lv_value_1_0, grammarAccess.getXStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXStringLiteralRule()); + } + setWithLastConsumed( + $current, + "value", + lv_value_1_0, + "STRING"); + } + +) +)) +; + + + + + +// Entry rule entryRuleXTypeLiteral +entryRuleXTypeLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXTypeLiteralRule()); } + iv_ruleXTypeLiteral=ruleXTypeLiteral + { $current=$iv_ruleXTypeLiteral.current; } + EOF +; + +// Rule XTypeLiteral +ruleXTypeLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXTypeLiteralAccess().getXTypeLiteralAction_0(), + $current); + } +) otherlv_1='typeof' + { + newLeafNode(otherlv_1, grammarAccess.getXTypeLiteralAccess().getTypeofKeyword_1()); + } + otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getXTypeLiteralAccess().getLeftParenthesisKeyword_2()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXTypeLiteralRule()); + } + } + { + newCompositeNode(grammarAccess.getXTypeLiteralAccess().getTypeJvmTypeCrossReference_3_0()); + } + ruleQualifiedName { + afterParserOrEnumRuleCall(); + } + +) +)( +( + { + newCompositeNode(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsArrayBracketsParserRuleCall_4_0()); + } + lv_arrayDimensions_4_0=ruleArrayBrackets { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXTypeLiteralRule()); + } + add( + $current, + "arrayDimensions", + lv_arrayDimensions_4_0, + "ArrayBrackets"); + afterParserOrEnumRuleCall(); + } + +) +)* otherlv_5=')' + { + newLeafNode(otherlv_5, grammarAccess.getXTypeLiteralAccess().getRightParenthesisKeyword_5()); + } +) +; + + + + + +// Entry rule entryRuleXThrowExpression +entryRuleXThrowExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXThrowExpressionRule()); } + iv_ruleXThrowExpression=ruleXThrowExpression + { $current=$iv_ruleXThrowExpression.current; } + EOF +; + +// Rule XThrowExpression +ruleXThrowExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXThrowExpressionAccess().getXThrowExpressionAction_0(), + $current); + } +) otherlv_1='throw' + { + newLeafNode(otherlv_1, grammarAccess.getXThrowExpressionAccess().getThrowKeyword_1()); + } +( +( + { + newCompositeNode(grammarAccess.getXThrowExpressionAccess().getExpressionXExpressionParserRuleCall_2_0()); + } + lv_expression_2_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXThrowExpressionRule()); + } + set( + $current, + "expression", + lv_expression_2_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleXReturnExpression +entryRuleXReturnExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXReturnExpressionRule()); } + iv_ruleXReturnExpression=ruleXReturnExpression + { $current=$iv_ruleXReturnExpression.current; } + EOF +; + +// Rule XReturnExpression +ruleXReturnExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXReturnExpressionAccess().getXReturnExpressionAction_0(), + $current); + } +) otherlv_1='return' + { + newLeafNode(otherlv_1, grammarAccess.getXReturnExpressionAccess().getReturnKeyword_1()); + } +(( 'extends' + | 'static' + | 'import' + | 'extension' + | '!' + | '-' + | '+' + | 'new' + | '{' + | 'switch' + | 'synchronized' + | '<' + | 'super' + | '#' + | '[' + | 'false' + | 'true' + | 'null' + | 'typeof' + | 'if' + | 'for' + | 'while' + | 'do' + | 'throw' + | 'return' + | 'try' + | '(' + | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING)=> +( + { + newCompositeNode(grammarAccess.getXReturnExpressionAccess().getExpressionXExpressionParserRuleCall_2_0()); + } + lv_expression_2_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXReturnExpressionRule()); + } + set( + $current, + "expression", + lv_expression_2_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)?) +; + + + + + +// Entry rule entryRuleXTryCatchFinallyExpression +entryRuleXTryCatchFinallyExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionRule()); } + iv_ruleXTryCatchFinallyExpression=ruleXTryCatchFinallyExpression + { $current=$iv_ruleXTryCatchFinallyExpression.current; } + EOF +; + +// Rule XTryCatchFinallyExpression +ruleXTryCatchFinallyExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getXTryCatchFinallyExpressionAccess().getXTryCatchFinallyExpressionAction_0(), + $current); + } +) otherlv_1='try' + { + newLeafNode(otherlv_1, grammarAccess.getXTryCatchFinallyExpressionAccess().getTryKeyword_1()); + } +( +( + { + newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionXExpressionParserRuleCall_2_0()); + } + lv_expression_2_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule()); + } + set( + $current, + "expression", + lv_expression_2_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)(((( 'catch' +)=> +( + { + newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesXCatchClauseParserRuleCall_3_0_0_0()); + } + lv_catchClauses_3_0=ruleXCatchClause { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule()); + } + add( + $current, + "catchClauses", + lv_catchClauses_3_0, + "XCatchClause"); + afterParserOrEnumRuleCall(); + } + +) +)+((( 'finally' +)=> otherlv_4='finally' + { + newLeafNode(otherlv_4, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_0_1_0()); + } +)( +( + { + newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_0_1_1_0()); + } + lv_finallyExpression_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule()); + } + set( + $current, + "finallyExpression", + lv_finallyExpression_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +))?) + |( otherlv_6='finally' + { + newLeafNode(otherlv_6, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_1_1_0()); + } + lv_finallyExpression_7_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule()); + } + set( + $current, + "finallyExpression", + lv_finallyExpression_7_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)))) +; + + + + + +// Entry rule entryRuleXSynchronizedExpression +entryRuleXSynchronizedExpression returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXSynchronizedExpressionRule()); } + iv_ruleXSynchronizedExpression=ruleXSynchronizedExpression + { $current=$iv_ruleXSynchronizedExpression.current; } + EOF +; + +// Rule XSynchronizedExpression +ruleXSynchronizedExpression returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((((( +) 'synchronized' + '(' +))=>(( + { + $current = forceCreateModelElement( + grammarAccess.getXSynchronizedExpressionAccess().getXSynchronizedExpressionAction_0_0_0(), + $current); + } +) otherlv_1='synchronized' + { + newLeafNode(otherlv_1, grammarAccess.getXSynchronizedExpressionAccess().getSynchronizedKeyword_0_0_1()); + } + otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getXSynchronizedExpressionAccess().getLeftParenthesisKeyword_0_0_2()); + } +))( +( + { + newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getParamXExpressionParserRuleCall_1_0()); + } + lv_param_3_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule()); + } + set( + $current, + "param", + lv_param_3_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_4=')' + { + newLeafNode(otherlv_4, grammarAccess.getXSynchronizedExpressionAccess().getRightParenthesisKeyword_2()); + } +( +( + { + newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getExpressionXExpressionParserRuleCall_3_0()); + } + lv_expression_5_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule()); + } + set( + $current, + "expression", + lv_expression_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleXCatchClause +entryRuleXCatchClause returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXCatchClauseRule()); } + iv_ruleXCatchClause=ruleXCatchClause + { $current=$iv_ruleXCatchClause.current; } + EOF +; + +// Rule XCatchClause +ruleXCatchClause returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((( 'catch' +)=> otherlv_0='catch' + { + newLeafNode(otherlv_0, grammarAccess.getXCatchClauseAccess().getCatchKeyword_0()); + } +) otherlv_1='(' + { + newLeafNode(otherlv_1, grammarAccess.getXCatchClauseAccess().getLeftParenthesisKeyword_1()); + } +( +( + { + newCompositeNode(grammarAccess.getXCatchClauseAccess().getDeclaredParamFullJvmFormalParameterParserRuleCall_2_0()); + } + lv_declaredParam_2_0=ruleFullJvmFormalParameter { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXCatchClauseRule()); + } + set( + $current, + "declaredParam", + lv_declaredParam_2_0, + "FullJvmFormalParameter"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_3=')' + { + newLeafNode(otherlv_3, grammarAccess.getXCatchClauseAccess().getRightParenthesisKeyword_3()); + } +( +( + { + newCompositeNode(grammarAccess.getXCatchClauseAccess().getExpressionXExpressionParserRuleCall_4_0()); + } + lv_expression_4_0=ruleXExpression { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXCatchClauseRule()); + } + set( + $current, + "expression", + lv_expression_4_0, + "XExpression"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleQualifiedName +entryRuleQualifiedName returns [String current=null] + : + { newCompositeNode(grammarAccess.getQualifiedNameRule()); } + iv_ruleQualifiedName=ruleQualifiedName + { $current=$iv_ruleQualifiedName.current.getText(); } + EOF +; + +// Rule QualifiedName +ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0()); + } + this_ValidID_0=ruleValidID { + $current.merge(this_ValidID_0); + } + + { + afterParserOrEnumRuleCall(); + } +((( + '.' +)=> + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + } +) + { + newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1()); + } + this_ValidID_2=ruleValidID { + $current.merge(this_ValidID_2); + } + + { + afterParserOrEnumRuleCall(); + } +)*) + ; + + + + + +// Entry rule entryRuleNumber +entryRuleNumber returns [String current=null] + @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + : + { newCompositeNode(grammarAccess.getNumberRule()); } + iv_ruleNumber=ruleNumber + { $current=$iv_ruleNumber.current.getText(); } + EOF +; +finally { + myHiddenTokenState.restore(); +} + +// Rule Number +ruleNumber returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + @after { leaveRule(); }: +( this_HEX_0=RULE_HEX { + $current.merge(this_HEX_0); + } + + { + newLeafNode(this_HEX_0, grammarAccess.getNumberAccess().getHEXTerminalRuleCall_0()); + } + + |(( this_INT_1=RULE_INT { + $current.merge(this_INT_1); + } + + { + newLeafNode(this_INT_1, grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_0_0()); + } + + | this_DECIMAL_2=RULE_DECIMAL { + $current.merge(this_DECIMAL_2); + } + + { + newLeafNode(this_DECIMAL_2, grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_0_1()); + } +)( + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getNumberAccess().getFullStopKeyword_1_1_0()); + } +( this_INT_4=RULE_INT { + $current.merge(this_INT_4); + } + + { + newLeafNode(this_INT_4, grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_1_1_0()); + } + + | this_DECIMAL_5=RULE_DECIMAL { + $current.merge(this_DECIMAL_5); + } + + { + newLeafNode(this_DECIMAL_5, grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_1_1_1()); + } +))?)) + ; +finally { + myHiddenTokenState.restore(); +} + + + + + + + +// Entry rule entryRuleJvmTypeReference +entryRuleJvmTypeReference returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getJvmTypeReferenceRule()); } + iv_ruleJvmTypeReference=ruleJvmTypeReference + { $current=$iv_ruleJvmTypeReference.current; } + EOF +; + +// Rule JvmTypeReference +ruleJvmTypeReference returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0()); + } + this_JvmParameterizedTypeReference_0=ruleJvmParameterizedTypeReference + { + $current = $this_JvmParameterizedTypeReference_0.current; + afterParserOrEnumRuleCall(); + } +(((( +) ruleArrayBrackets))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0(), + $current); + } +) + { + newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1()); + } +ruleArrayBrackets + { + afterParserOrEnumRuleCall(); + } +))*) + | + { + newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); + } + this_XFunctionTypeRef_3=ruleXFunctionTypeRef + { + $current = $this_XFunctionTypeRef_3.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleArrayBrackets +entryRuleArrayBrackets returns [String current=null] + : + { newCompositeNode(grammarAccess.getArrayBracketsRule()); } + iv_ruleArrayBrackets=ruleArrayBrackets + { $current=$iv_ruleArrayBrackets.current.getText(); } + EOF +; + +// Rule ArrayBrackets +ruleArrayBrackets returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + kw='[' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0()); + } + + kw=']' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1()); + } +) + ; + + + + + +// Entry rule entryRuleXFunctionTypeRef +entryRuleXFunctionTypeRef returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXFunctionTypeRefRule()); } + iv_ruleXFunctionTypeRef=ruleXFunctionTypeRef + { $current=$iv_ruleXFunctionTypeRef.current; } + EOF +; + +// Rule XFunctionTypeRef +ruleXFunctionTypeRef returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( otherlv_0='(' + { + newLeafNode(otherlv_0, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()); + } +(( +( + { + newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0()); + } + lv_paramTypes_1_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); + } + add( + $current, + "paramTypes", + lv_paramTypes_1_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0()); + } + lv_paramTypes_3_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); + } + add( + $current, + "paramTypes", + lv_paramTypes_3_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +))*)? otherlv_4=')' + { + newLeafNode(otherlv_4, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2()); + } +)? otherlv_5='=>' + { + newLeafNode(otherlv_5, grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1()); + } +( +( + { + newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0()); + } + lv_returnType_6_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); + } + set( + $current, + "returnType", + lv_returnType_6_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleJvmParameterizedTypeReference +entryRuleJvmParameterizedTypeReference returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceRule()); } + iv_ruleJvmParameterizedTypeReference=ruleJvmParameterizedTypeReference + { $current=$iv_ruleJvmParameterizedTypeReference.current; } + EOF +; + +// Rule JvmParameterizedTypeReference +ruleJvmParameterizedTypeReference returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule()); + } + } + { + newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0()); + } + ruleQualifiedName { + afterParserOrEnumRuleCall(); + } + +) +)((( '<' +)=> otherlv_1='<' + { + newLeafNode(otherlv_1, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0()); + } +)( +( + { + newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); + } + lv_arguments_2_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); + } + add( + $current, + "arguments", + lv_arguments_2_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0()); + } +( +( + { + newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); + } + lv_arguments_4_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); + } + add( + $current, + "arguments", + lv_arguments_4_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +))* otherlv_5='>' + { + newLeafNode(otherlv_5, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3()); + } +((((( +) '.' +))=>(( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0(), + $current); + } +) otherlv_7='.' + { + newLeafNode(otherlv_7, grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1()); + } +))( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule()); + } + } + { + newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0()); + } + ruleValidID { + afterParserOrEnumRuleCall(); + } + +) +)((( '<' +)=> otherlv_9='<' + { + newLeafNode(otherlv_9, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0()); + } +)( +( + { + newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0()); + } + lv_arguments_10_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); + } + add( + $current, + "arguments", + lv_arguments_10_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_11=',' + { + newLeafNode(otherlv_11, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0()); + } +( +( + { + newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0()); + } + lv_arguments_12_0=ruleJvmArgumentTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); + } + add( + $current, + "arguments", + lv_arguments_12_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +))* otherlv_13='>' + { + newLeafNode(otherlv_13, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3()); + } +)?)*)?) +; + + + + + +// Entry rule entryRuleJvmArgumentTypeReference +entryRuleJvmArgumentTypeReference returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceRule()); } + iv_ruleJvmArgumentTypeReference=ruleJvmArgumentTypeReference + { $current=$iv_ruleJvmArgumentTypeReference.current; } + EOF +; + +// Rule JvmArgumentTypeReference +ruleJvmArgumentTypeReference returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); + } + this_JvmTypeReference_0=ruleJvmTypeReference + { + $current = $this_JvmTypeReference_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); + } + this_JvmWildcardTypeReference_1=ruleJvmWildcardTypeReference + { + $current = $this_JvmWildcardTypeReference_1.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleJvmWildcardTypeReference +entryRuleJvmWildcardTypeReference returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceRule()); } + iv_ruleJvmWildcardTypeReference=ruleJvmWildcardTypeReference + { $current=$iv_ruleJvmWildcardTypeReference.current; } + EOF +; + +// Rule JvmWildcardTypeReference +ruleJvmWildcardTypeReference returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0(), + $current); + } +) otherlv_1='?' + { + newLeafNode(otherlv_1, grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1()); + } +((( +( + { + newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0()); + } + lv_constraints_2_0=ruleJvmUpperBound { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); + } + add( + $current, + "constraints", + lv_constraints_2_0, + "JvmUpperBound"); + afterParserOrEnumRuleCall(); + } + +) +)( +( + { + newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0()); + } + lv_constraints_3_0=ruleJvmUpperBoundAnded { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); + } + add( + $current, + "constraints", + lv_constraints_3_0, + "JvmUpperBoundAnded"); + afterParserOrEnumRuleCall(); + } + +) +)*) + |(( +( + { + newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0()); + } + lv_constraints_4_0=ruleJvmLowerBound { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); + } + add( + $current, + "constraints", + lv_constraints_4_0, + "JvmLowerBound"); + afterParserOrEnumRuleCall(); + } + +) +)( +( + { + newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0()); + } + lv_constraints_5_0=ruleJvmLowerBoundAnded { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); + } + add( + $current, + "constraints", + lv_constraints_5_0, + "JvmLowerBoundAnded"); + afterParserOrEnumRuleCall(); + } + +) +)*))?) +; + + + + + +// Entry rule entryRuleJvmUpperBound +entryRuleJvmUpperBound returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getJvmUpperBoundRule()); } + iv_ruleJvmUpperBound=ruleJvmUpperBound + { $current=$iv_ruleJvmUpperBound.current; } + EOF +; + +// Rule JvmUpperBound +ruleJvmUpperBound returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='extends' + { + newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); + } + lv_typeReference_1_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmUpperBoundRule()); + } + set( + $current, + "typeReference", + lv_typeReference_1_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleJvmUpperBoundAnded +entryRuleJvmUpperBoundAnded returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getJvmUpperBoundAndedRule()); } + iv_ruleJvmUpperBoundAnded=ruleJvmUpperBoundAnded + { $current=$iv_ruleJvmUpperBoundAnded.current; } + EOF +; + +// Rule JvmUpperBoundAnded +ruleJvmUpperBoundAnded returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='&' + { + newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); + } + lv_typeReference_1_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmUpperBoundAndedRule()); + } + set( + $current, + "typeReference", + lv_typeReference_1_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleJvmLowerBound +entryRuleJvmLowerBound returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getJvmLowerBoundRule()); } + iv_ruleJvmLowerBound=ruleJvmLowerBound + { $current=$iv_ruleJvmLowerBound.current; } + EOF +; + +// Rule JvmLowerBound +ruleJvmLowerBound returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='super' + { + newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); + } + lv_typeReference_1_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmLowerBoundRule()); + } + set( + $current, + "typeReference", + lv_typeReference_1_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleJvmLowerBoundAnded +entryRuleJvmLowerBoundAnded returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getJvmLowerBoundAndedRule()); } + iv_ruleJvmLowerBoundAnded=ruleJvmLowerBoundAnded + { $current=$iv_ruleJvmLowerBoundAnded.current; } + EOF +; + +// Rule JvmLowerBoundAnded +ruleJvmLowerBoundAnded returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='&' + { + newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0()); + } +( +( + { + newCompositeNode(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); + } + lv_typeReference_1_0=ruleJvmTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getJvmLowerBoundAndedRule()); + } + set( + $current, + "typeReference", + lv_typeReference_1_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + + + +// Entry rule entryRuleQualifiedNameWithWildcard +entryRuleQualifiedNameWithWildcard returns [String current=null] + : + { newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); } + iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard + { $current=$iv_ruleQualifiedNameWithWildcard.current.getText(); } + EOF +; + +// Rule QualifiedNameWithWildcard +ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); + } + this_QualifiedName_0=ruleQualifiedName { + $current.merge(this_QualifiedName_0); + } + + { + afterParserOrEnumRuleCall(); + } + + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1()); + } + + kw='*' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2()); + } +) + ; + + + + + +// Entry rule entryRuleValidID +entryRuleValidID returns [String current=null] + : + { newCompositeNode(grammarAccess.getValidIDRule()); } + iv_ruleValidID=ruleValidID + { $current=$iv_ruleValidID.current.getText(); } + EOF +; + +// Rule ValidID +ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: + this_ID_0=RULE_ID { + $current.merge(this_ID_0); + } + + { + newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); + } + + ; + + + + + + + +// Entry rule entryRuleXImportDeclaration +entryRuleXImportDeclaration returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getXImportDeclarationRule()); } + iv_ruleXImportDeclaration=ruleXImportDeclaration + { $current=$iv_ruleXImportDeclaration.current; } + EOF +; + +// Rule XImportDeclaration +ruleXImportDeclaration returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='import' + { + newLeafNode(otherlv_0, grammarAccess.getXImportDeclarationAccess().getImportKeyword_0()); + } +((( +( + lv_static_1_0= 'static' + { + newLeafNode(lv_static_1_0, grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXImportDeclarationRule()); + } + setWithLastConsumed($current, "static", true, "static"); + } + +) +)( +( + lv_extension_2_0= 'extension' + { + newLeafNode(lv_extension_2_0, grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXImportDeclarationRule()); + } + setWithLastConsumed($current, "extension", true, "extension"); + } + +) +)?( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXImportDeclarationRule()); + } + } + { + newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_0_2_0()); + } + ruleQualifiedNameInStaticImport { + afterParserOrEnumRuleCall(); + } + +) +)(( +( + lv_wildcard_4_0= '*' + { + newLeafNode(lv_wildcard_4_0, grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXImportDeclarationRule()); + } + setWithLastConsumed($current, "wildcard", true, "*"); + } + +) +) + |( +( + { + newCompositeNode(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); + } + lv_memberName_5_0=ruleValidID { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXImportDeclarationRule()); + } + set( + $current, + "memberName", + lv_memberName_5_0, + "ValidID"); + afterParserOrEnumRuleCall(); + } + +) +))) + |( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getXImportDeclarationRule()); + } + } + { + newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_1_0()); + } + ruleQualifiedName { + afterParserOrEnumRuleCall(); + } + +) +) + |( +( + { + newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_2_0()); + } + lv_importedNamespace_7_0=ruleQualifiedNameWithWildcard { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getXImportDeclarationRule()); + } + set( + $current, + "importedNamespace", + lv_importedNamespace_7_0, + "QualifiedNameWithWildcard"); + afterParserOrEnumRuleCall(); + } + +) +))( otherlv_8=';' + { + newLeafNode(otherlv_8, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); + } +)?) +; + + + + + +// Entry rule entryRuleQualifiedNameInStaticImport +entryRuleQualifiedNameInStaticImport returns [String current=null] + : + { newCompositeNode(grammarAccess.getQualifiedNameInStaticImportRule()); } + iv_ruleQualifiedNameInStaticImport=ruleQualifiedNameInStaticImport + { $current=$iv_ruleQualifiedNameInStaticImport.current.getText(); } + EOF +; + +// Rule QualifiedNameInStaticImport +ruleQualifiedNameInStaticImport returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0()); + } + this_ValidID_0=ruleValidID { + $current.merge(this_ValidID_0); + } + + { + afterParserOrEnumRuleCall(); + } + + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1()); + } +)+ + ; + + + + + +RULE_HEX : ('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F'|'_')+ ('#' (('b'|'B') ('i'|'I')|('l'|'L')))?; + +RULE_INT : '0'..'9' ('0'..'9'|'_')*; + +RULE_DECIMAL : RULE_INT (('e'|'E') ('+'|'-')? RULE_INT)? (('b'|'B') ('i'|'I'|'d'|'D')|('l'|'L'|'d'|'D'|'f'|'F'))?; + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'$'|'_') ('a'..'z'|'A'..'Z'|'$'|'_'|'0'..'9')*; + +RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'?|'\'' ('\\' .|~(('\\'|'\'')))* '\''?); + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + +RULE_ANY_OTHER : .; + + diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.tokens b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.tokens new file mode 100644 index 0000000..79b7a3c --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.tokens @@ -0,0 +1,177 @@ +'!'=61 +'!='=46 +'!=='=48 +'#'=32 +'%'=60 +'%='=39 +'&&'=44 +'&'=96 +'('=28 +')'=30 +'*'=26 +'**'=58 +'*='=37 +'+'=56 +'++'=63 +'+='=35 +','=29 +'-'=57 +'--'=64 +'-='=36 +'->'=50 +'.'=25 +'..'=52 +'..<'=51 +'/'=59 +'/='=38 +':'=72 +'::'=65 +';'=68 +'<'=40 +'<>'=54 +'='=31 +'=='=45 +'==='=47 +'=>'=53 +'>'=41 +'>='=42 +'?'=95 +'?.'=66 +'?:'=55 +'@'=27 +'['=33 +']'=34 +'as'=62 +'autobinding'=20 +'case'=74 +'catch'=94 +'default'=73 +'described by'=18 +'dialog'=17 +'do'=77 +'else'=70 +'embedded'=21 +'extends'=80 +'extension'=82 +'false'=85 +'finally'=92 +'for'=75 +'if'=69 +'import'=16 +'instanceof'=49 +'new'=84 +'null'=87 +'package'=13 +'pure'=22 +'return'=90 +'stateful'=23 +'static'=81 +'super'=83 +'switch'=71 +'synchronized'=93 +'throw'=89 +'toolbar'=24 +'true'=86 +'try'=91 +'typeof'=88 +'val'=79 +'var'=78 +'view'=19 +'while'=76 +'{'=14 +'|'=67 +'||'=43 +'}'=15 +RULE_ANY_OTHER=12 +RULE_DECIMAL=8 +RULE_HEX=6 +RULE_ID=4 +RULE_INT=7 +RULE_ML_COMMENT=9 +RULE_SL_COMMENT=10 +RULE_STRING=5 +RULE_WS=11 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__26=26 +T__27=27 +T__28=28 +T__29=29 +T__30=30 +T__31=31 +T__32=32 +T__33=33 +T__34=34 +T__35=35 +T__36=36 +T__37=37 +T__38=38 +T__39=39 +T__40=40 +T__41=41 +T__42=42 +T__43=43 +T__44=44 +T__45=45 +T__46=46 +T__47=47 +T__48=48 +T__49=49 +T__50=50 +T__51=51 +T__52=52 +T__53=53 +T__54=54 +T__55=55 +T__56=56 +T__57=57 +T__58=58 +T__59=59 +T__60=60 +T__61=61 +T__62=62 +T__63=63 +T__64=64 +T__65=65 +T__66=66 +T__67=67 +T__68=68 +T__69=69 +T__70=70 +T__71=71 +T__72=72 +T__73=73 +T__74=74 +T__75=75 +T__76=76 +T__77=77 +T__78=78 +T__79=79 +T__80=80 +T__81=81 +T__82=82 +T__83=83 +T__84=84 +T__85=85 +T__86=86 +T__87=87 +T__88=88 +T__89=89 +T__90=90 +T__91=91 +T__92=92 +T__93=93 +T__94=94 +T__95=95 +T__96=96 diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDslLexer.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDslLexer.java new file mode 100644 index 0000000..bf2928f --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDslLexer.java @@ -0,0 +1,3956 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalDialogDslLexer extends Lexer { + public static final int RULE_HEX=6; + public static final int T__50=50; + public static final int T__59=59; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=4; + public static final int RULE_INT=7; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=9; + public static final int T__67=67; + public static final int T__68=68; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__63=63; + public static final int T__64=64; + public static final int T__65=65; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__91=91; + public static final int T__92=92; + public static final int T__93=93; + public static final int T__94=94; + public static final int T__90=90; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__13=13; + public static final int T__14=14; + public static final int T__95=95; + public static final int T__96=96; + public static final int RULE_DECIMAL=8; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int T__29=29; + public static final int T__22=22; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + public static final int T__70=70; + public static final int T__71=71; + public static final int T__72=72; + public static final int RULE_STRING=5; + public static final int RULE_SL_COMMENT=10; + public static final int T__77=77; + public static final int T__78=78; + public static final int T__79=79; + public static final int T__73=73; + public static final int EOF=-1; + public static final int T__74=74; + public static final int T__75=75; + public static final int T__76=76; + public static final int T__80=80; + public static final int T__81=81; + public static final int T__82=82; + public static final int T__83=83; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; + public static final int T__88=88; + public static final int T__89=89; + public static final int T__84=84; + public static final int T__85=85; + public static final int T__86=86; + public static final int T__87=87; + + // delegates + // delegators + + public InternalDialogDslLexer() {;} + public InternalDialogDslLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalDialogDslLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g"; } + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:11:7: ( 'package' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:11:9: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:12:7: ( '{' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:12:9: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:13:7: ( '}' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:13:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:14:7: ( 'import' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:14:9: 'import' + { + match("import"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:15:7: ( 'dialog' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:15:9: 'dialog' + { + match("dialog"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:16:7: ( 'described by' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:16:9: 'described by' + { + match("described by"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:17:7: ( 'view' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:17:9: 'view' + { + match("view"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:18:7: ( 'autobinding' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:18:9: 'autobinding' + { + match("autobinding"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:19:7: ( 'embedded' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:19:9: 'embedded' + { + match("embedded"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:20:7: ( 'pure' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:20:9: 'pure' + { + match("pure"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:21:7: ( 'stateful' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:21:9: 'stateful' + { + match("stateful"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:22:7: ( 'toolbar' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:22:9: 'toolbar' + { + match("toolbar"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:23:7: ( '.' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:23:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:24:7: ( '*' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:24:9: '*' + { + match('*'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:25:7: ( '@' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:25:9: '@' + { + match('@'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:26:7: ( '(' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:26:9: '(' + { + match('('); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:27:7: ( ',' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:27:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:28:7: ( ')' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:28:9: ')' + { + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:29:7: ( '=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:29:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:30:7: ( '#' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:30:9: '#' + { + match('#'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:31:7: ( '[' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:31:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:32:7: ( ']' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:32:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:33:7: ( '+=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:33:9: '+=' + { + match("+="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:34:7: ( '-=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:34:9: '-=' + { + match("-="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__36" + + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:35:7: ( '*=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:35:9: '*=' + { + match("*="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" + + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { + try { + int _type = T__38; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:36:7: ( '/=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:36:9: '/=' + { + match("/="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__38" + + // $ANTLR start "T__39" + public final void mT__39() throws RecognitionException { + try { + int _type = T__39; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:37:7: ( '%=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:37:9: '%=' + { + match("%="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__39" + + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { + try { + int _type = T__40; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:38:7: ( '<' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:38:9: '<' + { + match('<'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__40" + + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { + try { + int _type = T__41; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:39:7: ( '>' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:39:9: '>' + { + match('>'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__41" + + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { + try { + int _type = T__42; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:40:7: ( '>=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:40:9: '>=' + { + match(">="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__42" + + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:41:7: ( '||' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:41:9: '||' + { + match("||"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__43" + + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:42:7: ( '&&' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:42:9: '&&' + { + match("&&"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__44" + + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { + try { + int _type = T__45; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:43:7: ( '==' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:43:9: '==' + { + match("=="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__45" + + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { + try { + int _type = T__46; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:44:7: ( '!=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:44:9: '!=' + { + match("!="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__46" + + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { + try { + int _type = T__47; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:45:7: ( '===' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:45:9: '===' + { + match("==="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__47" + + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { + try { + int _type = T__48; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:46:7: ( '!==' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:46:9: '!==' + { + match("!=="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__48" + + // $ANTLR start "T__49" + public final void mT__49() throws RecognitionException { + try { + int _type = T__49; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:47:7: ( 'instanceof' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:47:9: 'instanceof' + { + match("instanceof"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__49" + + // $ANTLR start "T__50" + public final void mT__50() throws RecognitionException { + try { + int _type = T__50; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:48:7: ( '->' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:48:9: '->' + { + match("->"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:49:7: ( '..<' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:49:9: '..<' + { + match("..<"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:50:7: ( '..' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:50:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:51:7: ( '=>' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:51:9: '=>' + { + match("=>"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:52:7: ( '<>' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:52:9: '<>' + { + match("<>"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:53:7: ( '?:' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:53:9: '?:' + { + match("?:"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:54:7: ( '+' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:54:9: '+' + { + match('+'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:55:7: ( '-' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:55:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:56:7: ( '**' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:56:9: '**' + { + match("**"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:57:7: ( '/' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:57:9: '/' + { + match('/'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:58:7: ( '%' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:58:9: '%' + { + match('%'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:59:7: ( '!' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:59:9: '!' + { + match('!'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:60:7: ( 'as' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:60:9: 'as' + { + match("as"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:61:7: ( '++' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:61:9: '++' + { + match("++"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "T__64" + public final void mT__64() throws RecognitionException { + try { + int _type = T__64; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:62:7: ( '--' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:62:9: '--' + { + match("--"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__64" + + // $ANTLR start "T__65" + public final void mT__65() throws RecognitionException { + try { + int _type = T__65; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:63:7: ( '::' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:63:9: '::' + { + match("::"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__65" + + // $ANTLR start "T__66" + public final void mT__66() throws RecognitionException { + try { + int _type = T__66; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:64:7: ( '?.' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:64:9: '?.' + { + match("?."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__66" + + // $ANTLR start "T__67" + public final void mT__67() throws RecognitionException { + try { + int _type = T__67; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:65:7: ( '|' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:65:9: '|' + { + match('|'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__67" + + // $ANTLR start "T__68" + public final void mT__68() throws RecognitionException { + try { + int _type = T__68; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:66:7: ( ';' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:66:9: ';' + { + match(';'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__68" + + // $ANTLR start "T__69" + public final void mT__69() throws RecognitionException { + try { + int _type = T__69; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:67:7: ( 'if' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:67:9: 'if' + { + match("if"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__69" + + // $ANTLR start "T__70" + public final void mT__70() throws RecognitionException { + try { + int _type = T__70; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:68:7: ( 'else' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:68:9: 'else' + { + match("else"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__70" + + // $ANTLR start "T__71" + public final void mT__71() throws RecognitionException { + try { + int _type = T__71; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:69:7: ( 'switch' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:69:9: 'switch' + { + match("switch"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__71" + + // $ANTLR start "T__72" + public final void mT__72() throws RecognitionException { + try { + int _type = T__72; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:70:7: ( ':' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:70:9: ':' + { + match(':'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__72" + + // $ANTLR start "T__73" + public final void mT__73() throws RecognitionException { + try { + int _type = T__73; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:71:7: ( 'default' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:71:9: 'default' + { + match("default"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__73" + + // $ANTLR start "T__74" + public final void mT__74() throws RecognitionException { + try { + int _type = T__74; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:72:7: ( 'case' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:72:9: 'case' + { + match("case"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__74" + + // $ANTLR start "T__75" + public final void mT__75() throws RecognitionException { + try { + int _type = T__75; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:73:7: ( 'for' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:73:9: 'for' + { + match("for"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__75" + + // $ANTLR start "T__76" + public final void mT__76() throws RecognitionException { + try { + int _type = T__76; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:74:7: ( 'while' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:74:9: 'while' + { + match("while"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__76" + + // $ANTLR start "T__77" + public final void mT__77() throws RecognitionException { + try { + int _type = T__77; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:75:7: ( 'do' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:75:9: 'do' + { + match("do"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__77" + + // $ANTLR start "T__78" + public final void mT__78() throws RecognitionException { + try { + int _type = T__78; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:76:7: ( 'var' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:76:9: 'var' + { + match("var"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__78" + + // $ANTLR start "T__79" + public final void mT__79() throws RecognitionException { + try { + int _type = T__79; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:77:7: ( 'val' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:77:9: 'val' + { + match("val"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__79" + + // $ANTLR start "T__80" + public final void mT__80() throws RecognitionException { + try { + int _type = T__80; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:78:7: ( 'extends' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:78:9: 'extends' + { + match("extends"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__80" + + // $ANTLR start "T__81" + public final void mT__81() throws RecognitionException { + try { + int _type = T__81; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:79:7: ( 'static' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:79:9: 'static' + { + match("static"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__81" + + // $ANTLR start "T__82" + public final void mT__82() throws RecognitionException { + try { + int _type = T__82; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:7: ( 'extension' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:9: 'extension' + { + match("extension"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__82" + + // $ANTLR start "T__83" + public final void mT__83() throws RecognitionException { + try { + int _type = T__83; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:81:7: ( 'super' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:81:9: 'super' + { + match("super"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__83" + + // $ANTLR start "T__84" + public final void mT__84() throws RecognitionException { + try { + int _type = T__84; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:82:7: ( 'new' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:82:9: 'new' + { + match("new"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__84" + + // $ANTLR start "T__85" + public final void mT__85() throws RecognitionException { + try { + int _type = T__85; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:83:7: ( 'false' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:83:9: 'false' + { + match("false"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__85" + + // $ANTLR start "T__86" + public final void mT__86() throws RecognitionException { + try { + int _type = T__86; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:84:7: ( 'true' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:84:9: 'true' + { + match("true"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__86" + + // $ANTLR start "T__87" + public final void mT__87() throws RecognitionException { + try { + int _type = T__87; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:85:7: ( 'null' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:85:9: 'null' + { + match("null"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__87" + + // $ANTLR start "T__88" + public final void mT__88() throws RecognitionException { + try { + int _type = T__88; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:86:7: ( 'typeof' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:86:9: 'typeof' + { + match("typeof"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__88" + + // $ANTLR start "T__89" + public final void mT__89() throws RecognitionException { + try { + int _type = T__89; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:87:7: ( 'throw' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:87:9: 'throw' + { + match("throw"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__89" + + // $ANTLR start "T__90" + public final void mT__90() throws RecognitionException { + try { + int _type = T__90; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:88:7: ( 'return' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:88:9: 'return' + { + match("return"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__90" + + // $ANTLR start "T__91" + public final void mT__91() throws RecognitionException { + try { + int _type = T__91; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:89:7: ( 'try' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:89:9: 'try' + { + match("try"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__91" + + // $ANTLR start "T__92" + public final void mT__92() throws RecognitionException { + try { + int _type = T__92; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:90:7: ( 'finally' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:90:9: 'finally' + { + match("finally"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__92" + + // $ANTLR start "T__93" + public final void mT__93() throws RecognitionException { + try { + int _type = T__93; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:91:7: ( 'synchronized' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:91:9: 'synchronized' + { + match("synchronized"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__93" + + // $ANTLR start "T__94" + public final void mT__94() throws RecognitionException { + try { + int _type = T__94; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:92:7: ( 'catch' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:92:9: 'catch' + { + match("catch"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__94" + + // $ANTLR start "T__95" + public final void mT__95() throws RecognitionException { + try { + int _type = T__95; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:93:7: ( '?' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:93:9: '?' + { + match('?'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__95" + + // $ANTLR start "T__96" + public final void mT__96() throws RecognitionException { + try { + int _type = T__96; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:94:7: ( '&' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:94:9: '&' + { + match('&'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__96" + + // $ANTLR start "RULE_HEX" + public final void mRULE_HEX() throws RecognitionException { + try { + int _type = RULE_HEX; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ ( '#' ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ ( '#' ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) )? + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:12: ( '0x' | '0X' ) + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='0') ) { + int LA1_1 = input.LA(2); + + if ( (LA1_1=='x') ) { + alt1=1; + } + else if ( (LA1_1=='X') ) { + alt1=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 1, 1, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 1, 0, input); + + throw nvae; + } + switch (alt1) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:13: '0x' + { + match("0x"); + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:18: '0X' + { + match("0X"); + + + } + break; + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + int cnt2=0; + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='F')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='f')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='f') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt2 >= 1 ) break loop2; + EarlyExitException eee = + new EarlyExitException(2, input); + throw eee; + } + cnt2++; + } while (true); + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:58: ( '#' ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) )? + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='#') ) { + alt4=1; + } + switch (alt4) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:59: '#' ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) + { + match('#'); + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:63: ( ( 'b' | 'B' ) ( 'i' | 'I' ) | ( 'l' | 'L' ) ) + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0=='B'||LA3_0=='b') ) { + alt3=1; + } + else if ( (LA3_0=='L'||LA3_0=='l') ) { + alt3=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + switch (alt3) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:64: ( 'b' | 'B' ) ( 'i' | 'I' ) + { + if ( input.LA(1)=='B'||input.LA(1)=='b' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + if ( input.LA(1)=='I'||input.LA(1)=='i' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6985:84: ( 'l' | 'L' ) + { + if ( input.LA(1)=='L'||input.LA(1)=='l' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_HEX" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6987:10: ( '0' .. '9' ( '0' .. '9' | '_' )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6987:12: '0' .. '9' ( '0' .. '9' | '_' )* + { + matchRange('0','9'); + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6987:21: ( '0' .. '9' | '_' )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='0' && LA5_0<='9')||LA5_0=='_') ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||input.LA(1)=='_' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop5; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_DECIMAL" + public final void mRULE_DECIMAL() throws RecognitionException { + try { + int _type = RULE_DECIMAL; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6989:14: ( RULE_INT ( ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT )? ( ( 'b' | 'B' ) ( 'i' | 'I' | 'd' | 'D' ) | ( 'l' | 'L' | 'd' | 'D' | 'f' | 'F' ) )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6989:16: RULE_INT ( ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT )? ( ( 'b' | 'B' ) ( 'i' | 'I' | 'd' | 'D' ) | ( 'l' | 'L' | 'd' | 'D' | 'f' | 'F' ) )? + { + mRULE_INT(); + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6989:25: ( ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0=='E'||LA7_0=='e') ) { + alt7=1; + } + switch (alt7) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6989:26: ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT + { + if ( input.LA(1)=='E'||input.LA(1)=='e' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6989:36: ( '+' | '-' )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0=='+'||LA6_0=='-') ) { + alt6=1; + } + switch (alt6) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g: + { + if ( input.LA(1)=='+'||input.LA(1)=='-' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + mRULE_INT(); + + } + break; + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6989:58: ( ( 'b' | 'B' ) ( 'i' | 'I' | 'd' | 'D' ) | ( 'l' | 'L' | 'd' | 'D' | 'f' | 'F' ) )? + int alt8=3; + int LA8_0 = input.LA(1); + + if ( (LA8_0=='B'||LA8_0=='b') ) { + alt8=1; + } + else if ( (LA8_0=='D'||LA8_0=='F'||LA8_0=='L'||LA8_0=='d'||LA8_0=='f'||LA8_0=='l') ) { + alt8=2; + } + switch (alt8) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6989:59: ( 'b' | 'B' ) ( 'i' | 'I' | 'd' | 'D' ) + { + if ( input.LA(1)=='B'||input.LA(1)=='b' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + if ( input.LA(1)=='D'||input.LA(1)=='I'||input.LA(1)=='d'||input.LA(1)=='i' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6989:87: ( 'l' | 'L' | 'd' | 'D' | 'f' | 'F' ) + { + if ( input.LA(1)=='D'||input.LA(1)=='F'||input.LA(1)=='L'||input.LA(1)=='d'||input.LA(1)=='f'||input.LA(1)=='l' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_DECIMAL" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6991:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6991:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6991:11: ( '^' )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0=='^') ) { + alt9=1; + } + switch (alt9) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6991:11: '^' + { + match('^'); + + } + break; + + } + + if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6991:44: ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='$'||(LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) { + alt10=1; + } + + + switch (alt10) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g: + { + if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop10; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0=='\"') ) { + alt15=1; + } + else if ( (LA15_0=='\'') ) { + alt15=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + switch (alt15) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? + { + match('\"'); + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop11: + do { + int alt11=3; + int LA11_0 = input.LA(1); + + if ( (LA11_0=='\\') ) { + alt11=1; + } + else if ( ((LA11_0>='\u0000' && LA11_0<='!')||(LA11_0>='#' && LA11_0<='[')||(LA11_0>=']' && LA11_0<='\uFFFF')) ) { + alt11=2; + } + + + switch (alt11) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:21: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:28: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop11; + } + } while (true); + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:44: ( '\"' )? + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0=='\"') ) { + alt12=1; + } + switch (alt12) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:44: '\"' + { + match('\"'); + + } + break; + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:49: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? + { + match('\''); + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:54: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop13: + do { + int alt13=3; + int LA13_0 = input.LA(1); + + if ( (LA13_0=='\\') ) { + alt13=1; + } + else if ( ((LA13_0>='\u0000' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) { + alt13=2; + } + + + switch (alt13) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:55: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:62: ~ ( ( '\\\\' | '\\'' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop13; + } + } while (true); + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:79: ( '\\'' )? + int alt14=2; + int LA14_0 = input.LA(1); + + if ( (LA14_0=='\'') ) { + alt14=1; + } + switch (alt14) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6993:79: '\\'' + { + match('\''); + + } + break; + + } + + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6995:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6995:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6995:24: ( options {greedy=false; } : . )* + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0=='*') ) { + int LA16_1 = input.LA(2); + + if ( (LA16_1=='/') ) { + alt16=2; + } + else if ( ((LA16_1>='\u0000' && LA16_1<='.')||(LA16_1>='0' && LA16_1<='\uFFFF')) ) { + alt16=1; + } + + + } + else if ( ((LA16_0>='\u0000' && LA16_0<=')')||(LA16_0>='+' && LA16_0<='\uFFFF')) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6995:52: . + { + matchAny(); + + } + break; + + default : + break loop16; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + try { + int _type = RULE_SL_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6997:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6997:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6997:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop17: + do { + int alt17=2; + int LA17_0 = input.LA(1); + + if ( ((LA17_0>='\u0000' && LA17_0<='\t')||(LA17_0>='\u000B' && LA17_0<='\f')||(LA17_0>='\u000E' && LA17_0<='\uFFFF')) ) { + alt17=1; + } + + + switch (alt17) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6997:24: ~ ( ( '\\n' | '\\r' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop17; + } + } while (true); + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6997:40: ( ( '\\r' )? '\\n' )? + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0=='\n'||LA19_0=='\r') ) { + alt19=1; + } + switch (alt19) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6997:41: ( '\\r' )? '\\n' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6997:41: ( '\\r' )? + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0=='\r') ) { + alt18=1; + } + switch (alt18) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6997:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6999:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6999:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:6999:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt20=0; + loop20: + do { + int alt20=2; + int LA20_0 = input.LA(1); + + if ( ((LA20_0>='\t' && LA20_0<='\n')||LA20_0=='\r'||LA20_0==' ') ) { + alt20=1; + } + + + switch (alt20) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt20 >= 1 ) break loop20; + EarlyExitException eee = + new EarlyExitException(20, input); + throw eee; + } + cnt20++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ANY_OTHER" + public final void mRULE_ANY_OTHER() throws RecognitionException { + try { + int _type = RULE_ANY_OTHER; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:7001:16: ( . ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:7001:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt21=93; + alt21 = dfa21.predict(input); + switch (alt21) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:10: T__13 + { + mT__13(); + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:16: T__14 + { + mT__14(); + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:22: T__15 + { + mT__15(); + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:28: T__16 + { + mT__16(); + + } + break; + case 5 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:34: T__17 + { + mT__17(); + + } + break; + case 6 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:40: T__18 + { + mT__18(); + + } + break; + case 7 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:46: T__19 + { + mT__19(); + + } + break; + case 8 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:52: T__20 + { + mT__20(); + + } + break; + case 9 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:58: T__21 + { + mT__21(); + + } + break; + case 10 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:64: T__22 + { + mT__22(); + + } + break; + case 11 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:70: T__23 + { + mT__23(); + + } + break; + case 12 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:76: T__24 + { + mT__24(); + + } + break; + case 13 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:82: T__25 + { + mT__25(); + + } + break; + case 14 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:88: T__26 + { + mT__26(); + + } + break; + case 15 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:94: T__27 + { + mT__27(); + + } + break; + case 16 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:100: T__28 + { + mT__28(); + + } + break; + case 17 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:106: T__29 + { + mT__29(); + + } + break; + case 18 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:112: T__30 + { + mT__30(); + + } + break; + case 19 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:118: T__31 + { + mT__31(); + + } + break; + case 20 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:124: T__32 + { + mT__32(); + + } + break; + case 21 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:130: T__33 + { + mT__33(); + + } + break; + case 22 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:136: T__34 + { + mT__34(); + + } + break; + case 23 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:142: T__35 + { + mT__35(); + + } + break; + case 24 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:148: T__36 + { + mT__36(); + + } + break; + case 25 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:154: T__37 + { + mT__37(); + + } + break; + case 26 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:160: T__38 + { + mT__38(); + + } + break; + case 27 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:166: T__39 + { + mT__39(); + + } + break; + case 28 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:172: T__40 + { + mT__40(); + + } + break; + case 29 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:178: T__41 + { + mT__41(); + + } + break; + case 30 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:184: T__42 + { + mT__42(); + + } + break; + case 31 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:190: T__43 + { + mT__43(); + + } + break; + case 32 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:196: T__44 + { + mT__44(); + + } + break; + case 33 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:202: T__45 + { + mT__45(); + + } + break; + case 34 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:208: T__46 + { + mT__46(); + + } + break; + case 35 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:214: T__47 + { + mT__47(); + + } + break; + case 36 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:220: T__48 + { + mT__48(); + + } + break; + case 37 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:226: T__49 + { + mT__49(); + + } + break; + case 38 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:232: T__50 + { + mT__50(); + + } + break; + case 39 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:238: T__51 + { + mT__51(); + + } + break; + case 40 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:244: T__52 + { + mT__52(); + + } + break; + case 41 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:250: T__53 + { + mT__53(); + + } + break; + case 42 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:256: T__54 + { + mT__54(); + + } + break; + case 43 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:262: T__55 + { + mT__55(); + + } + break; + case 44 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:268: T__56 + { + mT__56(); + + } + break; + case 45 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:274: T__57 + { + mT__57(); + + } + break; + case 46 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:280: T__58 + { + mT__58(); + + } + break; + case 47 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:286: T__59 + { + mT__59(); + + } + break; + case 48 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:292: T__60 + { + mT__60(); + + } + break; + case 49 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:298: T__61 + { + mT__61(); + + } + break; + case 50 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:304: T__62 + { + mT__62(); + + } + break; + case 51 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:310: T__63 + { + mT__63(); + + } + break; + case 52 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:316: T__64 + { + mT__64(); + + } + break; + case 53 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:322: T__65 + { + mT__65(); + + } + break; + case 54 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:328: T__66 + { + mT__66(); + + } + break; + case 55 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:334: T__67 + { + mT__67(); + + } + break; + case 56 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:340: T__68 + { + mT__68(); + + } + break; + case 57 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:346: T__69 + { + mT__69(); + + } + break; + case 58 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:352: T__70 + { + mT__70(); + + } + break; + case 59 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:358: T__71 + { + mT__71(); + + } + break; + case 60 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:364: T__72 + { + mT__72(); + + } + break; + case 61 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:370: T__73 + { + mT__73(); + + } + break; + case 62 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:376: T__74 + { + mT__74(); + + } + break; + case 63 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:382: T__75 + { + mT__75(); + + } + break; + case 64 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:388: T__76 + { + mT__76(); + + } + break; + case 65 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:394: T__77 + { + mT__77(); + + } + break; + case 66 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:400: T__78 + { + mT__78(); + + } + break; + case 67 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:406: T__79 + { + mT__79(); + + } + break; + case 68 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:412: T__80 + { + mT__80(); + + } + break; + case 69 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:418: T__81 + { + mT__81(); + + } + break; + case 70 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:424: T__82 + { + mT__82(); + + } + break; + case 71 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:430: T__83 + { + mT__83(); + + } + break; + case 72 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:436: T__84 + { + mT__84(); + + } + break; + case 73 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:442: T__85 + { + mT__85(); + + } + break; + case 74 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:448: T__86 + { + mT__86(); + + } + break; + case 75 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:454: T__87 + { + mT__87(); + + } + break; + case 76 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:460: T__88 + { + mT__88(); + + } + break; + case 77 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:466: T__89 + { + mT__89(); + + } + break; + case 78 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:472: T__90 + { + mT__90(); + + } + break; + case 79 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:478: T__91 + { + mT__91(); + + } + break; + case 80 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:484: T__92 + { + mT__92(); + + } + break; + case 81 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:490: T__93 + { + mT__93(); + + } + break; + case 82 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:496: T__94 + { + mT__94(); + + } + break; + case 83 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:502: T__95 + { + mT__95(); + + } + break; + case 84 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:508: T__96 + { + mT__96(); + + } + break; + case 85 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:514: RULE_HEX + { + mRULE_HEX(); + + } + break; + case 86 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:523: RULE_INT + { + mRULE_INT(); + + } + break; + case 87 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:532: RULE_DECIMAL + { + mRULE_DECIMAL(); + + } + break; + case 88 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:545: RULE_ID + { + mRULE_ID(); + + } + break; + case 89 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:553: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 90 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:565: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 91 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:581: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 92 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:597: RULE_WS + { + mRULE_WS(); + + } + break; + case 93 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1:605: RULE_ANY_OTHER + { + mRULE_ANY_OTHER(); + + } + break; + + } + + } + + + protected DFA21 dfa21 = new DFA21(this); + static final String DFA21_eotS = + "\1\uffff\1\60\2\uffff\7\60\1\111\1\114\4\uffff\1\123\3\uffff\1"+ + "\131\1\135\1\141\1\143\1\145\1\147\1\151\1\153\1\155\1\160\1\162"+ + "\1\uffff\5\60\2\176\1\55\5\uffff\2\60\3\uffff\2\60\1\u0086\2\60"+ + "\1\u008a\3\60\1\u008f\13\60\1\u009d\10\uffff\1\u009f\32\uffff\1"+ + "\u00a1\7\uffff\10\60\1\uffff\1\176\4\uffff\4\60\1\uffff\3\60\1\uffff"+ + "\1\60\1\u00b3\1\u00b4\1\60\1\uffff\11\60\1\u00bf\2\60\6\uffff\2"+ + "\60\1\u00c4\3\60\1\u00c8\3\60\1\u00cc\5\60\1\u00d2\2\uffff\2\60"+ + "\1\u00d5\6\60\1\u00dd\1\uffff\2\60\1\u00e0\1\60\1\uffff\3\60\1\uffff"+ + "\1\u00e5\2\60\1\uffff\5\60\1\uffff\2\60\1\uffff\4\60\1\u00f4\2\60"+ + "\1\uffff\1\60\1\u00f8\1\uffff\1\u00f9\1\u00fa\1\60\1\u00fc\1\uffff"+ + "\2\60\1\u00ff\1\60\1\u0101\7\60\1\u0109\1\u010a\1\uffff\2\60\1\u010d"+ + "\3\uffff\1\60\1\uffff\1\u010f\1\u0110\1\uffff\1\60\1\uffff\1\60"+ + "\1\u0113\2\60\1\u0116\2\60\2\uffff\1\60\1\u011a\1\uffff\1\u011b"+ + "\2\uffff\2\60\1\uffff\1\60\1\u011f\1\uffff\1\60\1\u0121\1\60\2\uffff"+ + "\3\60\1\uffff\1\u0126\1\uffff\1\60\1\u0128\1\uffff\1\60\1\uffff"+ + "\1\60\1\uffff\1\u012b\1\60\1\uffff\1\u012d\1\uffff"; + static final String DFA21_eofS = + "\u012e\uffff"; + static final String DFA21_minS = + "\1\0\1\141\2\uffff\1\146\1\145\1\141\1\163\1\154\1\164\1\150\1"+ + "\56\1\52\4\uffff\1\75\3\uffff\1\53\1\55\1\52\1\75\1\76\1\75\1\174"+ + "\1\46\1\75\1\56\1\72\1\uffff\2\141\1\150\2\145\2\60\1\44\5\uffff"+ + "\1\143\1\162\3\uffff\1\160\1\163\1\44\1\141\1\146\1\44\1\145\1\154"+ + "\1\164\1\44\1\142\1\163\1\164\1\141\1\151\1\160\1\156\1\157\1\165"+ + "\1\160\1\162\1\74\10\uffff\1\75\32\uffff\1\75\7\uffff\1\163\1\162"+ + "\1\154\1\156\1\151\1\167\1\154\1\164\1\uffff\1\60\4\uffff\1\153"+ + "\1\145\1\157\1\164\1\uffff\1\154\1\143\1\141\1\uffff\1\167\2\44"+ + "\1\157\1\uffff\3\145\2\164\1\145\1\143\1\154\1\145\1\44\1\145\1"+ + "\157\6\uffff\1\145\1\143\1\44\1\163\1\141\1\154\1\44\1\154\1\165"+ + "\1\141\1\44\1\162\1\141\1\157\1\162\1\165\1\44\2\uffff\1\142\1\144"+ + "\1\44\1\156\1\145\1\143\1\162\1\150\1\142\1\44\1\uffff\1\157\1\167"+ + "\1\44\1\150\1\uffff\1\145\1\154\1\145\1\uffff\1\44\1\162\1\147\1"+ + "\uffff\1\164\1\156\1\147\1\151\1\154\1\uffff\1\151\1\144\1\uffff"+ + "\1\144\1\146\1\143\1\150\1\44\1\162\1\141\1\uffff\1\146\1\44\1\uffff"+ + "\2\44\1\154\1\44\1\uffff\1\156\1\145\1\44\1\143\1\44\1\142\1\164"+ + "\1\156\1\145\1\163\1\151\1\165\2\44\1\uffff\1\157\1\162\1\44\3\uffff"+ + "\1\171\1\uffff\2\44\1\uffff\1\145\1\uffff\1\145\1\44\2\144\1\44"+ + "\1\157\1\154\2\uffff\1\156\1\44\1\uffff\1\44\2\uffff\1\157\1\144"+ + "\1\uffff\1\151\1\44\1\uffff\1\156\1\44\1\151\2\uffff\1\146\1\40"+ + "\1\156\1\uffff\1\44\1\uffff\1\172\1\44\1\uffff\1\147\1\uffff\1\145"+ + "\1\uffff\1\44\1\144\1\uffff\1\44\1\uffff"; + static final String DFA21_maxS = + "\1\uffff\1\165\2\uffff\1\156\1\157\1\151\1\165\1\170\2\171\1\56"+ + "\1\75\4\uffff\1\76\3\uffff\1\75\1\76\2\75\1\76\1\75\1\174\1\46\1"+ + "\75\2\72\1\uffff\1\141\1\157\1\150\1\165\1\145\1\170\1\154\1\172"+ + "\5\uffff\1\143\1\162\3\uffff\1\160\1\163\1\172\1\141\1\163\1\172"+ + "\1\145\1\162\1\164\1\172\1\142\1\163\1\164\1\141\1\151\1\160\1\156"+ + "\1\157\1\171\1\160\1\162\1\74\10\uffff\1\75\32\uffff\1\75\7\uffff"+ + "\1\164\1\162\1\154\1\156\1\151\1\167\1\154\1\164\1\uffff\1\154\4"+ + "\uffff\1\153\1\145\1\157\1\164\1\uffff\1\154\1\143\1\141\1\uffff"+ + "\1\167\2\172\1\157\1\uffff\3\145\2\164\1\145\1\143\1\154\1\145\1"+ + "\172\1\145\1\157\6\uffff\1\145\1\143\1\172\1\163\1\141\1\154\1\172"+ + "\1\154\1\165\1\141\1\172\1\162\1\141\1\157\1\162\1\165\1\172\2\uffff"+ + "\1\142\1\144\1\172\1\156\1\151\1\143\1\162\1\150\1\142\1\172\1\uffff"+ + "\1\157\1\167\1\172\1\150\1\uffff\1\145\1\154\1\145\1\uffff\1\172"+ + "\1\162\1\147\1\uffff\1\164\1\156\1\147\1\151\1\154\1\uffff\1\151"+ + "\1\144\1\uffff\1\163\1\146\1\143\1\150\1\172\1\162\1\141\1\uffff"+ + "\1\146\1\172\1\uffff\2\172\1\154\1\172\1\uffff\1\156\1\145\1\172"+ + "\1\143\1\172\1\142\1\164\1\156\1\145\1\163\1\151\1\165\2\172\1\uffff"+ + "\1\157\1\162\1\172\3\uffff\1\171\1\uffff\2\172\1\uffff\1\145\1\uffff"+ + "\1\145\1\172\2\144\1\172\1\157\1\154\2\uffff\1\156\1\172\1\uffff"+ + "\1\172\2\uffff\1\157\1\144\1\uffff\1\151\1\172\1\uffff\1\156\1\172"+ + "\1\151\2\uffff\1\146\1\40\1\156\1\uffff\1\172\1\uffff\2\172\1\uffff"+ + "\1\147\1\uffff\1\145\1\uffff\1\172\1\144\1\uffff\1\172\1\uffff"; + static final String DFA21_acceptS = + "\2\uffff\1\2\1\3\11\uffff\1\17\1\20\1\21\1\22\1\uffff\1\24\1\25"+ + "\1\26\13\uffff\1\70\10\uffff\1\130\2\131\1\134\1\135\2\uffff\1\130"+ + "\1\2\1\3\26\uffff\1\15\1\31\1\56\1\16\1\17\1\20\1\21\1\22\1\uffff"+ + "\1\51\1\23\1\24\1\25\1\26\1\27\1\63\1\54\1\30\1\46\1\64\1\55\1\32"+ + "\1\132\1\133\1\57\1\33\1\60\1\52\1\34\1\36\1\35\1\37\1\67\1\40\1"+ + "\124\1\uffff\1\61\1\53\1\66\1\123\1\65\1\74\1\70\10\uffff\1\125"+ + "\1\uffff\1\126\1\127\1\131\1\134\4\uffff\1\71\3\uffff\1\101\4\uffff"+ + "\1\62\14\uffff\1\47\1\50\1\43\1\41\1\44\1\42\21\uffff\1\102\1\103"+ + "\12\uffff\1\117\4\uffff\1\77\3\uffff\1\110\3\uffff\1\12\5\uffff"+ + "\1\7\2\uffff\1\72\7\uffff\1\112\2\uffff\1\76\4\uffff\1\113\16\uffff"+ + "\1\107\3\uffff\1\115\1\122\1\111\1\uffff\1\100\2\uffff\1\4\1\uffff"+ + "\1\5\7\uffff\1\105\1\73\2\uffff\1\114\1\uffff\1\116\1\1\2\uffff"+ + "\1\75\2\uffff\1\104\3\uffff\1\14\1\120\3\uffff\1\11\1\uffff\1\13"+ + "\2\uffff\1\6\1\uffff\1\106\1\uffff\1\45\2\uffff\1\10\1\uffff\1\121"; + static final String DFA21_specialS = + "\1\0\u012d\uffff}>"; + static final String[] DFA21_transitionS = { + "\11\55\2\54\2\55\1\54\22\55\1\54\1\35\1\52\1\22\1\51\1\30\1"+ + "\34\1\53\1\16\1\20\1\14\1\25\1\17\1\26\1\13\1\27\1\46\11\47"+ + "\1\37\1\40\1\31\1\21\1\32\1\36\1\15\32\51\1\23\1\55\1\24\1\50"+ + "\1\51\1\55\1\7\1\51\1\41\1\5\1\10\1\42\2\51\1\4\4\51\1\44\1"+ + "\51\1\1\1\51\1\45\1\11\1\12\1\51\1\6\1\43\3\51\1\2\1\33\1\3"+ + "\uff82\55", + "\1\56\23\uffff\1\57", + "", + "", + "\1\65\6\uffff\1\63\1\64", + "\1\67\3\uffff\1\66\5\uffff\1\70", + "\1\72\7\uffff\1\71", + "\1\74\1\uffff\1\73", + "\1\76\1\75\12\uffff\1\77", + "\1\100\1\102\1\uffff\1\101\1\uffff\1\103", + "\1\107\6\uffff\1\104\2\uffff\1\105\6\uffff\1\106", + "\1\110", + "\1\113\22\uffff\1\112", + "", + "", + "", + "", + "\1\121\1\122", + "", + "", + "", + "\1\130\21\uffff\1\127", + "\1\134\17\uffff\1\132\1\133", + "\1\137\4\uffff\1\140\15\uffff\1\136", + "\1\142", + "\1\144", + "\1\146", + "\1\150", + "\1\152", + "\1\154", + "\1\157\13\uffff\1\156", + "\1\161", + "", + "\1\164", + "\1\166\7\uffff\1\167\5\uffff\1\165", + "\1\170", + "\1\171\17\uffff\1\172", + "\1\173", + "\12\175\10\uffff\1\177\1\uffff\3\177\5\uffff\1\177\13\uffff"+ + "\1\174\6\uffff\1\175\2\uffff\1\177\1\uffff\3\177\5\uffff\1\177"+ + "\13\uffff\1\174", + "\12\175\10\uffff\1\177\1\uffff\3\177\5\uffff\1\177\22\uffff"+ + "\1\175\2\uffff\1\177\1\uffff\3\177\5\uffff\1\177", + "\1\60\34\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "", + "", + "", + "", + "", + "\1\u0082", + "\1\u0083", + "", + "", + "", + "\1\u0084", + "\1\u0085", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u0087", + "\1\u0089\14\uffff\1\u0088", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u008b", + "\1\u008d\5\uffff\1\u008c", + "\1\u008e", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u0090", + "\1\u0091", + "\1\u0092", + "\1\u0093", + "\1\u0094", + "\1\u0095", + "\1\u0096", + "\1\u0097", + "\1\u0098\3\uffff\1\u0099", + "\1\u009a", + "\1\u009b", + "\1\u009c", + "", + "", + "", + "", + "", + "", + "", + "", + "\1\u009e", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\1\u00a0", + "", + "", + "", + "", + "", + "", + "", + "\1\u00a2\1\u00a3", + "\1\u00a4", + "\1\u00a5", + "\1\u00a6", + "\1\u00a7", + "\1\u00a8", + "\1\u00a9", + "\1\u00aa", + "", + "\12\175\10\uffff\1\177\1\uffff\3\177\5\uffff\1\177\22\uffff"+ + "\1\175\2\uffff\1\177\1\uffff\3\177\5\uffff\1\177", + "", + "", + "", + "", + "\1\u00ab", + "\1\u00ac", + "\1\u00ad", + "\1\u00ae", + "", + "\1\u00af", + "\1\u00b0", + "\1\u00b1", + "", + "\1\u00b2", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00b5", + "", + "\1\u00b6", + "\1\u00b7", + "\1\u00b8", + "\1\u00b9", + "\1\u00ba", + "\1\u00bb", + "\1\u00bc", + "\1\u00bd", + "\1\u00be", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00c0", + "\1\u00c1", + "", + "", + "", + "", + "", + "", + "\1\u00c2", + "\1\u00c3", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00c5", + "\1\u00c6", + "\1\u00c7", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00c9", + "\1\u00ca", + "\1\u00cb", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00cd", + "\1\u00ce", + "\1\u00cf", + "\1\u00d0", + "\1\u00d1", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "", + "\1\u00d3", + "\1\u00d4", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00d6", + "\1\u00d7\3\uffff\1\u00d8", + "\1\u00d9", + "\1\u00da", + "\1\u00db", + "\1\u00dc", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "\1\u00de", + "\1\u00df", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00e1", + "", + "\1\u00e2", + "\1\u00e3", + "\1\u00e4", + "", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00e6", + "\1\u00e7", + "", + "\1\u00e8", + "\1\u00e9", + "\1\u00ea", + "\1\u00eb", + "\1\u00ec", + "", + "\1\u00ed", + "\1\u00ee", + "", + "\1\u00ef\16\uffff\1\u00f0", + "\1\u00f1", + "\1\u00f2", + "\1\u00f3", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00f5", + "\1\u00f6", + "", + "\1\u00f7", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u00fb", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "\1\u00fd", + "\1\u00fe", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u0100", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u0102", + "\1\u0103", + "\1\u0104", + "\1\u0105", + "\1\u0106", + "\1\u0107", + "\1\u0108", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "\1\u010b", + "\1\u010c", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "", + "", + "\1\u010e", + "", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "\1\u0111", + "", + "\1\u0112", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u0114", + "\1\u0115", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u0117", + "\1\u0118", + "", + "", + "\1\u0119", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "", + "\1\u011c", + "\1\u011d", + "", + "\1\u011e", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "\1\u0120", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u0122", + "", + "", + "\1\u0123", + "\1\u0124", + "\1\u0125", + "", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "\1\u0127", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "", + "\1\u0129", + "", + "\1\u012a", + "", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\1\u012c", + "", + "\1\60\13\uffff\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "" + }; + + static final short[] DFA21_eot = DFA.unpackEncodedString(DFA21_eotS); + static final short[] DFA21_eof = DFA.unpackEncodedString(DFA21_eofS); + static final char[] DFA21_min = DFA.unpackEncodedStringToUnsignedChars(DFA21_minS); + static final char[] DFA21_max = DFA.unpackEncodedStringToUnsignedChars(DFA21_maxS); + static final short[] DFA21_accept = DFA.unpackEncodedString(DFA21_acceptS); + static final short[] DFA21_special = DFA.unpackEncodedString(DFA21_specialS); + static final short[][] DFA21_transition; + + static { + int numStates = DFA21_transitionS.length; + DFA21_transition = new short[numStates][]; + for (int i=0; i<numStates; i++) { + DFA21_transition[i] = DFA.unpackEncodedString(DFA21_transitionS[i]); + } + } + + class DFA21 extends DFA { + + public DFA21(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 21; + this.eot = DFA21_eot; + this.eof = DFA21_eof; + this.min = DFA21_min; + this.max = DFA21_max; + this.accept = DFA21_accept; + this.special = DFA21_special; + this.transition = DFA21_transition; + } + public String getDescription() { + return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + IntStream input = _input; + int _s = s; + switch ( s ) { + case 0 : + int LA21_0 = input.LA(1); + + s = -1; + if ( (LA21_0=='p') ) {s = 1;} + + else if ( (LA21_0=='{') ) {s = 2;} + + else if ( (LA21_0=='}') ) {s = 3;} + + else if ( (LA21_0=='i') ) {s = 4;} + + else if ( (LA21_0=='d') ) {s = 5;} + + else if ( (LA21_0=='v') ) {s = 6;} + + else if ( (LA21_0=='a') ) {s = 7;} + + else if ( (LA21_0=='e') ) {s = 8;} + + else if ( (LA21_0=='s') ) {s = 9;} + + else if ( (LA21_0=='t') ) {s = 10;} + + else if ( (LA21_0=='.') ) {s = 11;} + + else if ( (LA21_0=='*') ) {s = 12;} + + else if ( (LA21_0=='@') ) {s = 13;} + + else if ( (LA21_0=='(') ) {s = 14;} + + else if ( (LA21_0==',') ) {s = 15;} + + else if ( (LA21_0==')') ) {s = 16;} + + else if ( (LA21_0=='=') ) {s = 17;} + + else if ( (LA21_0=='#') ) {s = 18;} + + else if ( (LA21_0=='[') ) {s = 19;} + + else if ( (LA21_0==']') ) {s = 20;} + + else if ( (LA21_0=='+') ) {s = 21;} + + else if ( (LA21_0=='-') ) {s = 22;} + + else if ( (LA21_0=='/') ) {s = 23;} + + else if ( (LA21_0=='%') ) {s = 24;} + + else if ( (LA21_0=='<') ) {s = 25;} + + else if ( (LA21_0=='>') ) {s = 26;} + + else if ( (LA21_0=='|') ) {s = 27;} + + else if ( (LA21_0=='&') ) {s = 28;} + + else if ( (LA21_0=='!') ) {s = 29;} + + else if ( (LA21_0=='?') ) {s = 30;} + + else if ( (LA21_0==':') ) {s = 31;} + + else if ( (LA21_0==';') ) {s = 32;} + + else if ( (LA21_0=='c') ) {s = 33;} + + else if ( (LA21_0=='f') ) {s = 34;} + + else if ( (LA21_0=='w') ) {s = 35;} + + else if ( (LA21_0=='n') ) {s = 36;} + + else if ( (LA21_0=='r') ) {s = 37;} + + else if ( (LA21_0=='0') ) {s = 38;} + + else if ( ((LA21_0>='1' && LA21_0<='9')) ) {s = 39;} + + else if ( (LA21_0=='^') ) {s = 40;} + + else if ( (LA21_0=='$'||(LA21_0>='A' && LA21_0<='Z')||LA21_0=='_'||LA21_0=='b'||(LA21_0>='g' && LA21_0<='h')||(LA21_0>='j' && LA21_0<='m')||LA21_0=='o'||LA21_0=='q'||LA21_0=='u'||(LA21_0>='x' && LA21_0<='z')) ) {s = 41;} + + else if ( (LA21_0=='\"') ) {s = 42;} + + else if ( (LA21_0=='\'') ) {s = 43;} + + else if ( ((LA21_0>='\t' && LA21_0<='\n')||LA21_0=='\r'||LA21_0==' ') ) {s = 44;} + + else if ( ((LA21_0>='\u0000' && LA21_0<='\b')||(LA21_0>='\u000B' && LA21_0<='\f')||(LA21_0>='\u000E' && LA21_0<='\u001F')||LA21_0=='\\'||LA21_0=='`'||(LA21_0>='~' && LA21_0<='\uFFFF')) ) {s = 45;} + + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 21, _s, input); + error(nvae); + throw nvae; + } + } + + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDslParser.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDslParser.java new file mode 100644 index 0000000..d20682b --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDslParser.java @@ -0,0 +1,10016 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.parser.antlr.internal; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; +import org.eclipse.osbp.xtext.dialogdsl.services.DialogDslGrammarAccess; + + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +@SuppressWarnings("all") +public class InternalDialogDslParser extends AbstractInternalAntlrParser { + public static final String[] tokenNames = new String[] { + "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_HEX", "RULE_INT", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "'{'", "'}'", "'import'", "'dialog'", "'described by'", "'view'", "'autobinding'", "'embedded'", "'pure'", "'stateful'", "'toolbar'", "'.'", "'*'", "'@'", "'('", "','", "')'", "'='", "'#'", "'['", "']'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'-'", "'**'", "'/'", "'%'", "'!'", "'as'", "'++'", "'--'", "'::'", "'?.'", "'|'", "';'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'var'", "'val'", "'extends'", "'static'", "'extension'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'" + }; + public static final int RULE_HEX=6; + public static final int T__50=50; + public static final int T__59=59; + public static final int T__55=55; + public static final int T__56=56; + public static final int T__57=57; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=4; + public static final int RULE_INT=7; + public static final int T__66=66; + public static final int RULE_ML_COMMENT=9; + public static final int T__67=67; + public static final int T__68=68; + public static final int T__69=69; + public static final int T__62=62; + public static final int T__63=63; + public static final int T__64=64; + public static final int T__65=65; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__91=91; + public static final int T__92=92; + public static final int T__93=93; + public static final int T__94=94; + public static final int T__90=90; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__13=13; + public static final int T__14=14; + public static final int T__95=95; + public static final int T__96=96; + public static final int RULE_DECIMAL=8; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int T__29=29; + public static final int T__22=22; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__20=20; + public static final int T__21=21; + public static final int T__70=70; + public static final int T__71=71; + public static final int T__72=72; + public static final int RULE_STRING=5; + public static final int RULE_SL_COMMENT=10; + public static final int T__77=77; + public static final int T__78=78; + public static final int T__79=79; + public static final int T__73=73; + public static final int EOF=-1; + public static final int T__74=74; + public static final int T__75=75; + public static final int T__76=76; + public static final int T__80=80; + public static final int T__81=81; + public static final int T__82=82; + public static final int T__83=83; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; + public static final int T__88=88; + public static final int T__89=89; + public static final int T__84=84; + public static final int T__85=85; + public static final int T__86=86; + public static final int T__87=87; + + // delegates + // delegators + + + public InternalDialogDslParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalDialogDslParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalDialogDslParser.tokenNames; } + public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g"; } + + + + private DialogDslGrammarAccess grammarAccess; + + public InternalDialogDslParser(TokenStream input, DialogDslGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "DialogModel"; + } + + @Override + protected DialogDslGrammarAccess getGrammarAccess() { + return grammarAccess; + } + + + + // $ANTLR start "entryRuleDialogModel" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:67:1: entryRuleDialogModel returns [EObject current=null] : iv_ruleDialogModel= ruleDialogModel EOF ; + public final EObject entryRuleDialogModel() throws RecognitionException { + EObject current = null; + + EObject iv_ruleDialogModel = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:68:2: (iv_ruleDialogModel= ruleDialogModel EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:69:2: iv_ruleDialogModel= ruleDialogModel EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getDialogModelRule()); + } + pushFollow(FOLLOW_ruleDialogModel_in_entryRuleDialogModel75); + iv_ruleDialogModel=ruleDialogModel(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleDialogModel; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialogModel85); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDialogModel" + + + // $ANTLR start "ruleDialogModel" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:76:1: ruleDialogModel returns [EObject current=null] : ( () ( (lv_pckg_1_0= ruleDialogPackage ) ) ) ; + public final EObject ruleDialogModel() throws RecognitionException { + EObject current = null; + + EObject lv_pckg_1_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:79:28: ( ( () ( (lv_pckg_1_0= ruleDialogPackage ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:1: ( () ( (lv_pckg_1_0= ruleDialogPackage ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:1: ( () ( (lv_pckg_1_0= ruleDialogPackage ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:2: () ( (lv_pckg_1_0= ruleDialogPackage ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:2: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:81:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getDialogModelAccess().getDialogModelAction_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:86:2: ( (lv_pckg_1_0= ruleDialogPackage ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:87:1: (lv_pckg_1_0= ruleDialogPackage ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:87:1: (lv_pckg_1_0= ruleDialogPackage ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:88:3: lv_pckg_1_0= ruleDialogPackage + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogModelAccess().getPckgDialogPackageParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_ruleDialogPackage_in_ruleDialogModel140); + lv_pckg_1_0=ruleDialogPackage(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getDialogModelRule()); + } + set( + current, + "pckg", + lv_pckg_1_0, + "DialogPackage"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDialogModel" + + + // $ANTLR start "entryRuleDialogPackage" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:112:1: entryRuleDialogPackage returns [EObject current=null] : iv_ruleDialogPackage= ruleDialogPackage EOF ; + public final EObject entryRuleDialogPackage() throws RecognitionException { + EObject current = null; + + EObject iv_ruleDialogPackage = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:113:2: (iv_ruleDialogPackage= ruleDialogPackage EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:114:2: iv_ruleDialogPackage= ruleDialogPackage EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getDialogPackageRule()); + } + pushFollow(FOLLOW_ruleDialogPackage_in_entryRuleDialogPackage176); + iv_ruleDialogPackage=ruleDialogPackage(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleDialogPackage; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialogPackage186); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDialogPackage" + + + // $ANTLR start "ruleDialogPackage" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:121:1: ruleDialogPackage returns [EObject current=null] : (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? ) ; + public final EObject ruleDialogPackage() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_5=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; + + EObject lv_imports_3_0 = null; + + EObject lv_dialogs_4_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:124:28: ( (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:125:1: (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:125:1: (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:125:3: otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? + { + otherlv_0=(Token)match(input,13,FOLLOW_13_in_ruleDialogPackage223); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getDialogPackageAccess().getPackageKeyword_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:129:1: ( (lv_name_1_0= ruleQualifiedName ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:130:1: (lv_name_1_0= ruleQualifiedName ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:130:1: (lv_name_1_0= ruleQualifiedName ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:131:3: lv_name_1_0= ruleQualifiedName + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogPackageAccess().getNameQualifiedNameParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_ruleQualifiedName_in_ruleDialogPackage244); + lv_name_1_0=ruleQualifiedName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getDialogPackageRule()); + } + set( + current, + "name", + lv_name_1_0, + "QualifiedName"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:147:2: (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==14) ) { + alt3=1; + } + switch (alt3) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:147:4: otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' + { + otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleDialogPackage257); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getDialogPackageAccess().getLeftCurlyBracketKeyword_2_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:151:1: ( (lv_imports_3_0= ruleDialogImport ) )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==16) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:152:1: (lv_imports_3_0= ruleDialogImport ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:152:1: (lv_imports_3_0= ruleDialogImport ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:153:3: lv_imports_3_0= ruleDialogImport + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogPackageAccess().getImportsDialogImportParserRuleCall_2_1_0()); + + } + pushFollow(FOLLOW_ruleDialogImport_in_ruleDialogPackage278); + lv_imports_3_0=ruleDialogImport(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getDialogPackageRule()); + } + add( + current, + "imports", + lv_imports_3_0, + "DialogImport"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + default : + break loop1; + } + } while (true); + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:169:3: ( (lv_dialogs_4_0= ruleDialog ) )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==17) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:170:1: (lv_dialogs_4_0= ruleDialog ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:170:1: (lv_dialogs_4_0= ruleDialog ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:171:3: lv_dialogs_4_0= ruleDialog + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogPackageAccess().getDialogsDialogParserRuleCall_2_2_0()); + + } + pushFollow(FOLLOW_ruleDialog_in_ruleDialogPackage300); + lv_dialogs_4_0=ruleDialog(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getDialogPackageRule()); + } + add( + current, + "dialogs", + lv_dialogs_4_0, + "Dialog"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + default : + break loop2; + } + } while (true); + + otherlv_5=(Token)match(input,15,FOLLOW_15_in_ruleDialogPackage313); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getDialogPackageAccess().getRightCurlyBracketKeyword_2_3()); + + } + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDialogPackage" + + + // $ANTLR start "entryRuleDialogImport" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:199:1: entryRuleDialogImport returns [EObject current=null] : iv_ruleDialogImport= ruleDialogImport EOF ; + public final EObject entryRuleDialogImport() throws RecognitionException { + EObject current = null; + + EObject iv_ruleDialogImport = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:200:2: (iv_ruleDialogImport= ruleDialogImport EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:201:2: iv_ruleDialogImport= ruleDialogImport EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getDialogImportRule()); + } + pushFollow(FOLLOW_ruleDialogImport_in_entryRuleDialogImport351); + iv_ruleDialogImport=ruleDialogImport(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleDialogImport; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialogImport361); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDialogImport" + + + // $ANTLR start "ruleDialogImport" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:208:1: ruleDialogImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) ) ; + public final EObject ruleDialogImport() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:211:28: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:212:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:212:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:212:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) + { + otherlv_0=(Token)match(input,16,FOLLOW_16_in_ruleDialogImport398); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getDialogImportAccess().getImportKeyword_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:216:1: ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:217:1: (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:217:1: (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:218:3: lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogImportAccess().getImportedNamespaceDialogQualifiedNameWithWildCardParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_ruleDialogQualifiedNameWithWildCard_in_ruleDialogImport419); + lv_importedNamespace_1_0=ruleDialogQualifiedNameWithWildCard(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getDialogImportRule()); + } + set( + current, + "importedNamespace", + lv_importedNamespace_1_0, + "DialogQualifiedNameWithWildCard"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDialogImport" + + + // $ANTLR start "entryRuleDialog" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:242:1: entryRuleDialog returns [EObject current=null] : iv_ruleDialog= ruleDialog EOF ; + public final EObject entryRuleDialog() throws RecognitionException { + EObject current = null; + + EObject iv_ruleDialog = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:243:2: (iv_ruleDialog= ruleDialog EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:244:2: iv_ruleDialog= ruleDialog EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getDialogRule()); + } + pushFollow(FOLLOW_ruleDialog_in_entryRuleDialog455); + iv_ruleDialog=ruleDialog(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleDialog; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialog465); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDialog" + + + // $ANTLR start "ruleDialog" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:251:1: ruleDialog returns [EObject current=null] : ( () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) ) ; + public final EObject ruleDialog() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token lv_name_2_0=null; + Token lv_description_3_0=null; + Token otherlv_5=null; + Token lv_autowire_7_0=null; + Token lv_embedded_10_0=null; + Token lv_pure_11_0=null; + Token lv_stateful_12_0=null; + Token otherlv_13=null; + AntlrDatatypeRuleToken lv_descriptionValue_4_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:254:28: ( ( () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:255:1: ( () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:255:1: ( () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:255:2: () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:255:2: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:256:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getDialogAccess().getDialogAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,17,FOLLOW_17_in_ruleDialog511); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getDialogAccess().getDialogKeyword_1()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:265:1: ( (lv_name_2_0= RULE_ID ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:266:1: (lv_name_2_0= RULE_ID ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:266:1: (lv_name_2_0= RULE_ID ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:267:3: lv_name_2_0= RULE_ID + { + lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDialog528); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_2_0, grammarAccess.getDialogAccess().getNameIDTerminalRuleCall_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_2_0, + "ID"); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:283:2: ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==18) ) { + alt4=1; + } + switch (alt4) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:283:3: ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:283:3: ( (lv_description_3_0= 'described by' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:284:1: (lv_description_3_0= 'described by' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:284:1: (lv_description_3_0= 'described by' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:285:3: lv_description_3_0= 'described by' + { + lv_description_3_0=(Token)match(input,18,FOLLOW_18_in_ruleDialog552); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_description_3_0, grammarAccess.getDialogAccess().getDescriptionDescribedByKeyword_3_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed(current, "description", true, "described by"); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:298:2: ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:299:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:299:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:300:3: lv_descriptionValue_4_0= ruleTRANSLATABLESTRING + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0()); + + } + pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_ruleDialog586); + lv_descriptionValue_4_0=ruleTRANSLATABLESTRING(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getDialogRule()); + } + set( + current, + "descriptionValue", + lv_descriptionValue_4_0, + "TRANSLATABLESTRING"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:316:4: ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==19) ) { + alt5=1; + } + else if ( (LA5_0==20) ) { + alt5=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 5, 0, input); + + throw nvae; + } + switch (alt5) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:316:5: (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:316:5: (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:316:7: otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) + { + otherlv_5=(Token)match(input,19,FOLLOW_19_in_ruleDialog602); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getDialogAccess().getViewKeyword_4_0_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:320:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:321:1: ( ruleTYPE_CROSS_REFERENCE ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:321:1: ( ruleTYPE_CROSS_REFERENCE ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:322:3: ruleTYPE_CROSS_REFERENCE + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getDialogRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogAccess().getUiViewUiViewCrossReference_4_0_1_0()); + + } + pushFollow(FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDialog625); + ruleTYPE_CROSS_REFERENCE(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:336:6: ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:336:6: ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:336:7: ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:336:7: ( (lv_autowire_7_0= 'autobinding' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:337:1: (lv_autowire_7_0= 'autobinding' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:337:1: (lv_autowire_7_0= 'autobinding' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:338:3: lv_autowire_7_0= 'autobinding' + { + lv_autowire_7_0=(Token)match(input,20,FOLLOW_20_in_ruleDialog651); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_autowire_7_0, grammarAccess.getDialogAccess().getAutowireAutobindingKeyword_4_1_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed(current, "autowire", true, "autobinding"); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:351:2: ( ( ruleTYPE_CROSS_REFERENCE ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:352:1: ( ruleTYPE_CROSS_REFERENCE ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:352:1: ( ruleTYPE_CROSS_REFERENCE ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:353:3: ruleTYPE_CROSS_REFERENCE + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getDialogRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogAccess().getDtoLDtoCrossReference_4_1_1_0()); + + } + pushFollow(FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDialog687); + ruleTYPE_CROSS_REFERENCE(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:366:4: ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:368:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:368:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:369:2: ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) + { + getUnorderedGroupHelper().enter(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:372:2: ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:373:3: ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:373:3: ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* + loop7: + do { + int alt7=4; + int LA7_0 = input.LA(1); + + if ( LA7_0 >=21 && LA7_0<=22 && getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0) ) { + alt7=1; + } + else if ( LA7_0 ==23 && getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1) ) { + alt7=2; + } + else if ( LA7_0 ==24 && getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2) ) { + alt7=3; + } + + + switch (alt7) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:375:4: ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:375:4: ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:376:5: {...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleDialog", "getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0)"); + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:376:103: ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:377:6: ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0); + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:6: ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:7: {...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleDialog", "true"); + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:16: ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==21) ) { + alt6=1; + } + else if ( (LA6_0==22) ) { + alt6=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:17: ( (lv_embedded_10_0= 'embedded' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:17: ( (lv_embedded_10_0= 'embedded' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:381:1: (lv_embedded_10_0= 'embedded' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:381:1: (lv_embedded_10_0= 'embedded' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:382:3: lv_embedded_10_0= 'embedded' + { + lv_embedded_10_0=(Token)match(input,21,FOLLOW_21_in_ruleDialog753); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_embedded_10_0, grammarAccess.getDialogAccess().getEmbeddedEmbeddedKeyword_5_0_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed(current, "embedded", true, "embedded"); + + } + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:396:6: ( (lv_pure_11_0= 'pure' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:396:6: ( (lv_pure_11_0= 'pure' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:397:1: (lv_pure_11_0= 'pure' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:397:1: (lv_pure_11_0= 'pure' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:398:3: lv_pure_11_0= 'pure' + { + lv_pure_11_0=(Token)match(input,22,FOLLOW_22_in_ruleDialog790); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_pure_11_0, grammarAccess.getDialogAccess().getPurePureKeyword_5_0_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed(current, "pure", true, "pure"); + + } + + } + + + } + + + } + break; + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:418:4: ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:418:4: ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:419:5: {...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleDialog", "getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1)"); + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:419:103: ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:420:6: ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1); + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:423:6: ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:423:7: {...}? => ( (lv_stateful_12_0= 'stateful' ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleDialog", "true"); + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:423:16: ( (lv_stateful_12_0= 'stateful' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:424:1: (lv_stateful_12_0= 'stateful' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:424:1: (lv_stateful_12_0= 'stateful' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:425:3: lv_stateful_12_0= 'stateful' + { + lv_stateful_12_0=(Token)match(input,23,FOLLOW_23_in_ruleDialog876); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_stateful_12_0, grammarAccess.getDialogAccess().getStatefulStatefulKeyword_5_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getDialogRule()); + } + setWithLastConsumed(current, "stateful", true, "stateful"); + + } + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + + } + + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:445:4: ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:445:4: ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:446:5: {...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleDialog", "getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2)"); + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:446:103: ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:447:6: ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2); + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:450:6: ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:450:7: {...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleDialog", "true"); + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:450:16: (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:450:18: otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) + { + otherlv_13=(Token)match(input,24,FOLLOW_24_in_ruleDialog956); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_13, grammarAccess.getDialogAccess().getToolbarKeyword_5_2_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:454:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:455:1: ( ruleTYPE_CROSS_REFERENCE ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:455:1: ( ruleTYPE_CROSS_REFERENCE ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:456:3: ruleTYPE_CROSS_REFERENCE + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getDialogRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogAccess().getToolbarActionToolbarCrossReference_5_2_1_0()); + + } + pushFollow(FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDialog979); + ruleTYPE_CROSS_REFERENCE(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + + } + + + } + + + } + break; + + default : + break loop7; + } + } while (true); + + + } + + + } + + getUnorderedGroupHelper().leave(grammarAccess.getDialogAccess().getUnorderedGroup_5()); + + } + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDialog" + + + // $ANTLR start "entryRuleDialogQualifiedNameWithWildCard" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:491:1: entryRuleDialogQualifiedNameWithWildCard returns [String current=null] : iv_ruleDialogQualifiedNameWithWildCard= ruleDialogQualifiedNameWithWildCard EOF ; + public final String entryRuleDialogQualifiedNameWithWildCard() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleDialogQualifiedNameWithWildCard = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:492:2: (iv_ruleDialogQualifiedNameWithWildCard= ruleDialogQualifiedNameWithWildCard EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:493:2: iv_ruleDialogQualifiedNameWithWildCard= ruleDialogQualifiedNameWithWildCard EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getDialogQualifiedNameWithWildCardRule()); + } + pushFollow(FOLLOW_ruleDialogQualifiedNameWithWildCard_in_entryRuleDialogQualifiedNameWithWildCard1057); + iv_ruleDialogQualifiedNameWithWildCard=ruleDialogQualifiedNameWithWildCard(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleDialogQualifiedNameWithWildCard.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleDialogQualifiedNameWithWildCard1068); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDialogQualifiedNameWithWildCard" + + + // $ANTLR start "ruleDialogQualifiedNameWithWildCard" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:500:1: ruleDialogQualifiedNameWithWildCard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; + public final AntlrDatatypeRuleToken ruleDialogQualifiedNameWithWildCard() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + AntlrDatatypeRuleToken this_QualifiedName_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:503:28: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:504:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:504:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:505:5: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleQualifiedName_in_ruleDialogQualifiedNameWithWildCard1115); + this_QualifiedName_0=ruleQualifiedName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(this_QualifiedName_0); + + } + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:515:1: (kw= '.' kw= '*' )? + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==25) ) { + alt8=1; + } + switch (alt8) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:516:2: kw= '.' kw= '*' + { + kw=(Token)match(input,25,FOLLOW_25_in_ruleDialogQualifiedNameWithWildCard1134); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDialogQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0()); + + } + kw=(Token)match(input,26,FOLLOW_26_in_ruleDialogQualifiedNameWithWildCard1147); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDialogQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1()); + + } + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDialogQualifiedNameWithWildCard" + + + // $ANTLR start "entryRuleTRANSLATABLESTRING" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:535:1: entryRuleTRANSLATABLESTRING returns [String current=null] : iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF ; + public final String entryRuleTRANSLATABLESTRING() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleTRANSLATABLESTRING = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:536:2: (iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:537:2: iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getTRANSLATABLESTRINGRule()); + } + pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_entryRuleTRANSLATABLESTRING1190); + iv_ruleTRANSLATABLESTRING=ruleTRANSLATABLESTRING(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleTRANSLATABLESTRING.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleTRANSLATABLESTRING1201); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleTRANSLATABLESTRING" + + + // $ANTLR start "ruleTRANSLATABLESTRING" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:544:1: ruleTRANSLATABLESTRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + public final AntlrDatatypeRuleToken ruleTRANSLATABLESTRING() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_STRING_0=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:547:28: (this_STRING_0= RULE_STRING ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:548:5: this_STRING_0= RULE_STRING + { + this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTRANSLATABLESTRING1240); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(this_STRING_0); + + } + if ( state.backtracking==0 ) { + + newLeafNode(this_STRING_0, grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall()); + + } + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleTRANSLATABLESTRING" + + + // $ANTLR start "entryRuleTYPE_CROSS_REFERENCE" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:563:1: entryRuleTYPE_CROSS_REFERENCE returns [String current=null] : iv_ruleTYPE_CROSS_REFERENCE= ruleTYPE_CROSS_REFERENCE EOF ; + public final String entryRuleTYPE_CROSS_REFERENCE() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleTYPE_CROSS_REFERENCE = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:564:2: (iv_ruleTYPE_CROSS_REFERENCE= ruleTYPE_CROSS_REFERENCE EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:565:2: iv_ruleTYPE_CROSS_REFERENCE= ruleTYPE_CROSS_REFERENCE EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getTYPE_CROSS_REFERENCERule()); + } + pushFollow(FOLLOW_ruleTYPE_CROSS_REFERENCE_in_entryRuleTYPE_CROSS_REFERENCE1285); + iv_ruleTYPE_CROSS_REFERENCE=ruleTYPE_CROSS_REFERENCE(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleTYPE_CROSS_REFERENCE.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleTYPE_CROSS_REFERENCE1296); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleTYPE_CROSS_REFERENCE" + + + // $ANTLR start "ruleTYPE_CROSS_REFERENCE" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:572:1: ruleTYPE_CROSS_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; + public final AntlrDatatypeRuleToken ruleTYPE_CROSS_REFERENCE() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_ID_0=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:575:28: (this_ID_0= RULE_ID ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:576:5: this_ID_0= RULE_ID + { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTYPE_CROSS_REFERENCE1335); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(this_ID_0); + + } + if ( state.backtracking==0 ) { + + newLeafNode(this_ID_0, grammarAccess.getTYPE_CROSS_REFERENCEAccess().getIDTerminalRuleCall()); + + } + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleTYPE_CROSS_REFERENCE" + + + // $ANTLR start "entryRuleXAnnotation" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:591:1: entryRuleXAnnotation returns [EObject current=null] : iv_ruleXAnnotation= ruleXAnnotation EOF ; + public final EObject entryRuleXAnnotation() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXAnnotation = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:592:2: (iv_ruleXAnnotation= ruleXAnnotation EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:593:2: iv_ruleXAnnotation= ruleXAnnotation EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXAnnotationRule()); + } + pushFollow(FOLLOW_ruleXAnnotation_in_entryRuleXAnnotation1379); + iv_ruleXAnnotation=ruleXAnnotation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXAnnotation; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotation1389); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAnnotation" + + + // $ANTLR start "ruleXAnnotation" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:600:1: ruleXAnnotation returns [EObject current=null] : ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) ; + public final EObject ruleXAnnotation() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_8=null; + EObject lv_elementValuePairs_4_0 = null; + + EObject lv_elementValuePairs_6_0 = null; + + EObject lv_value_7_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:603:28: ( ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:604:1: ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:604:1: ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:604:2: () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:604:2: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:605:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,27,FOLLOW_27_in_ruleXAnnotation1435); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:614:1: ( ( ruleQualifiedName ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:615:1: ( ruleQualifiedName ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:615:1: ( ruleQualifiedName ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:616:3: ruleQualifiedName + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXAnnotationRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationAccess().getAnnotationTypeJvmAnnotationTypeCrossReference_2_0()); + + } + pushFollow(FOLLOW_ruleQualifiedName_in_ruleXAnnotation1458); + ruleQualifiedName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:629:2: ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==28) && (synpred1_InternalDialogDsl())) { + alt11=1; + } + switch (alt11) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:629:3: ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:629:3: ( ( '(' )=>otherlv_3= '(' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:629:4: ( '(' )=>otherlv_3= '(' + { + otherlv_3=(Token)match(input,28,FOLLOW_28_in_ruleXAnnotation1479); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:2: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? + int alt10=3; + alt10 = dfa10.predict(input); + switch (alt10) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:5: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:640:1: (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:641:3: lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation1523); + lv_elementValuePairs_4_0=ruleXAnnotationElementValuePair(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAnnotationRule()); + } + add( + current, + "elementValuePairs", + lv_elementValuePairs_4_0, + "XAnnotationElementValuePair"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:657:2: (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* + loop9: + do { + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==29) ) { + alt9=1; + } + + + switch (alt9) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:657:4: otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) + { + otherlv_5=(Token)match(input,29,FOLLOW_29_in_ruleXAnnotation1536); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:661:1: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:661:2: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:667:1: (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:668:3: lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation1577); + lv_elementValuePairs_6_0=ruleXAnnotationElementValuePair(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAnnotationRule()); + } + add( + current, + "elementValuePairs", + lv_elementValuePairs_6_0, + "XAnnotationElementValuePair"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop9; + } + } while (true); + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:685:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:685:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:686:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:686:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:687:3: lv_value_7_0= ruleXAnnotationElementValueOrCommaList + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_ruleXAnnotation1607); + lv_value_7_0=ruleXAnnotationElementValueOrCommaList(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAnnotationRule()); + } + set( + current, + "value", + lv_value_7_0, + "XAnnotationElementValueOrCommaList"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + } + + otherlv_8=(Token)match(input,30,FOLLOW_30_in_ruleXAnnotation1621); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_8, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2()); + + } + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAnnotation" + + + // $ANTLR start "entryRuleXAnnotationElementValuePair" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:715:1: entryRuleXAnnotationElementValuePair returns [EObject current=null] : iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ; + public final EObject entryRuleXAnnotationElementValuePair() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXAnnotationElementValuePair = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:716:2: (iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:717:2: iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule()); + } + pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_entryRuleXAnnotationElementValuePair1659); + iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXAnnotationElementValuePair; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValuePair1669); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAnnotationElementValuePair" + + + // $ANTLR start "ruleXAnnotationElementValuePair" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:724:1: ruleXAnnotationElementValuePair returns [EObject current=null] : ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) ; + public final EObject ruleXAnnotationElementValuePair() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + EObject lv_value_2_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:727:28: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:3: ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:733:5: ( ( ( ruleValidID ) ) otherlv_1= '=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:733:6: ( ( ruleValidID ) ) otherlv_1= '=' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:733:6: ( ( ruleValidID ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:734:1: ( ruleValidID ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:734:1: ( ruleValidID ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:735:3: ruleValidID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXAnnotationElementValuePairRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getElementJvmOperationCrossReference_0_0_0_0()); + + } + pushFollow(FOLLOW_ruleValidID_in_ruleXAnnotationElementValuePair1739); + ruleValidID(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleXAnnotationElementValuePair1751); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1()); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:752:3: ( (lv_value_2_0= ruleXAnnotationElementValue ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:753:1: (lv_value_2_0= ruleXAnnotationElementValue ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:753:1: (lv_value_2_0= ruleXAnnotationElementValue ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:754:3: lv_value_2_0= ruleXAnnotationElementValue + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationElementValue_in_ruleXAnnotationElementValuePair1774); + lv_value_2_0=ruleXAnnotationElementValue(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAnnotationElementValuePairRule()); + } + set( + current, + "value", + lv_value_2_0, + "XAnnotationElementValue"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAnnotationElementValuePair" + + + // $ANTLR start "entryRuleXAnnotationElementValueOrCommaList" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:778:1: entryRuleXAnnotationElementValueOrCommaList returns [EObject current=null] : iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ; + public final EObject entryRuleXAnnotationElementValueOrCommaList() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXAnnotationElementValueOrCommaList = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:779:2: (iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:780:2: iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule()); + } + pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_entryRuleXAnnotationElementValueOrCommaList1810); + iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXAnnotationElementValueOrCommaList; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValueOrCommaList1820); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAnnotationElementValueOrCommaList" + + + // $ANTLR start "ruleXAnnotationElementValueOrCommaList" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:787:1: ruleXAnnotationElementValueOrCommaList returns [EObject current=null] : ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) ; + public final EObject ruleXAnnotationElementValueOrCommaList() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_9=null; + EObject lv_elements_3_0 = null; + + EObject lv_elements_5_0 = null; + + EObject this_XAnnotationOrExpression_7 = null; + + EObject lv_elements_10_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:790:28: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) + int alt16=2; + alt16 = dfa16.predict(input); + switch (alt16) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:794:5: ( () otherlv_1= '#' otherlv_2= '[' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:794:6: () otherlv_1= '#' otherlv_2= '[' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:794:6: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:795:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleXAnnotationElementValueOrCommaList1885); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1()); + + } + otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleXAnnotationElementValueOrCommaList1897); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2()); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:808:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? + int alt13=2; + int LA13_0 = input.LA(1); + + if ( ((LA13_0>=RULE_ID && LA13_0<=RULE_DECIMAL)||LA13_0==14||LA13_0==16||(LA13_0>=27 && LA13_0<=28)||(LA13_0>=32 && LA13_0<=33)||LA13_0==40||(LA13_0>=56 && LA13_0<=57)||LA13_0==61||LA13_0==69||LA13_0==71||(LA13_0>=75 && LA13_0<=77)||(LA13_0>=80 && LA13_0<=91)||LA13_0==93) ) { + alt13=1; + } + switch (alt13) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:808:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:808:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:809:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:809:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:810:3: lv_elements_3_0= ruleXAnnotationOrExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList1921); + lv_elements_3_0=ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule()); + } + add( + current, + "elements", + lv_elements_3_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:826:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* + loop12: + do { + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0==29) ) { + alt12=1; + } + + + switch (alt12) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:826:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) + { + otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleXAnnotationElementValueOrCommaList1934); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:830:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:831:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:831:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:832:3: lv_elements_5_0= ruleXAnnotationOrExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList1955); + lv_elements_5_0=ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule()); + } + add( + current, + "elements", + lv_elements_5_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop12; + } + } while (true); + + + } + break; + + } + + otherlv_6=(Token)match(input,34,FOLLOW_34_in_ruleXAnnotationElementValueOrCommaList1971); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2()); + + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:853:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:853:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:854:5: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList2001); + this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XAnnotationOrExpression_7; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:862:1: ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==29) ) { + alt15=1; + } + switch (alt15) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:862:2: () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:862:2: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:863:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndAdd( + grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:868:2: (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ + int cnt14=0; + loop14: + do { + int alt14=2; + int LA14_0 = input.LA(1); + + if ( (LA14_0==29) ) { + alt14=1; + } + + + switch (alt14) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:868:4: otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) + { + otherlv_9=(Token)match(input,29,FOLLOW_29_in_ruleXAnnotationElementValueOrCommaList2023); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:872:1: ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:873:1: (lv_elements_10_0= ruleXAnnotationOrExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:873:1: (lv_elements_10_0= ruleXAnnotationOrExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:874:3: lv_elements_10_0= ruleXAnnotationOrExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList2044); + lv_elements_10_0=ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule()); + } + add( + current, + "elements", + lv_elements_10_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + if ( cnt14 >= 1 ) break loop14; + if (state.backtracking>0) {state.failed=true; return current;} + EarlyExitException eee = + new EarlyExitException(14, input); + throw eee; + } + cnt14++; + } while (true); + + + } + break; + + } + + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAnnotationElementValueOrCommaList" + + + // $ANTLR start "entryRuleXAnnotationElementValue" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:898:1: entryRuleXAnnotationElementValue returns [EObject current=null] : iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ; + public final EObject entryRuleXAnnotationElementValue() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXAnnotationElementValue = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:899:2: (iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:900:2: iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXAnnotationElementValueRule()); + } + pushFollow(FOLLOW_ruleXAnnotationElementValue_in_entryRuleXAnnotationElementValue2085); + iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXAnnotationElementValue; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValue2095); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAnnotationElementValue" + + + // $ANTLR start "ruleXAnnotationElementValue" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:907:1: ruleXAnnotationElementValue returns [EObject current=null] : ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) ; + public final EObject ruleXAnnotationElementValue() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + EObject lv_elements_3_0 = null; + + EObject lv_elements_5_0 = null; + + EObject this_XAnnotationOrExpression_7 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:910:28: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) + int alt19=2; + alt19 = dfa19.predict(input); + switch (alt19) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:914:5: ( () otherlv_1= '#' otherlv_2= '[' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:914:6: () otherlv_1= '#' otherlv_2= '[' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:914:6: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:915:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleXAnnotationElementValue2160); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); + + } + otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleXAnnotationElementValue2172); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2()); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:928:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? + int alt18=2; + int LA18_0 = input.LA(1); + + if ( ((LA18_0>=RULE_ID && LA18_0<=RULE_DECIMAL)||LA18_0==14||LA18_0==16||(LA18_0>=27 && LA18_0<=28)||(LA18_0>=32 && LA18_0<=33)||LA18_0==40||(LA18_0>=56 && LA18_0<=57)||LA18_0==61||LA18_0==69||LA18_0==71||(LA18_0>=75 && LA18_0<=77)||(LA18_0>=80 && LA18_0<=91)||LA18_0==93) ) { + alt18=1; + } + switch (alt18) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:928:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:928:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:929:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:929:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:930:3: lv_elements_3_0= ruleXAnnotationOrExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue2196); + lv_elements_3_0=ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule()); + } + add( + current, + "elements", + lv_elements_3_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:946:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* + loop17: + do { + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==29) ) { + alt17=1; + } + + + switch (alt17) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:946:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) + { + otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleXAnnotationElementValue2209); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:950:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:951:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:951:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:952:3: lv_elements_5_0= ruleXAnnotationOrExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); + + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue2230); + lv_elements_5_0=ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule()); + } + add( + current, + "elements", + lv_elements_5_0, + "XAnnotationOrExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop17; + } + } while (true); + + + } + break; + + } + + otherlv_6=(Token)match(input,34,FOLLOW_34_in_ruleXAnnotationElementValue2246); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2()); + + } + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:974:5: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); + + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue2275); + this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XAnnotationOrExpression_7; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAnnotationElementValue" + + + // $ANTLR start "entryRuleXAnnotationOrExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:990:1: entryRuleXAnnotationOrExpression returns [EObject current=null] : iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ; + public final EObject entryRuleXAnnotationOrExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXAnnotationOrExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:991:2: (iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:992:2: iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule()); + } + pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_entryRuleXAnnotationOrExpression2310); + iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXAnnotationOrExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationOrExpression2320); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAnnotationOrExpression" + + + // $ANTLR start "ruleXAnnotationOrExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:999:1: ruleXAnnotationOrExpression returns [EObject current=null] : (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) ; + public final EObject ruleXAnnotationOrExpression() throws RecognitionException { + EObject current = null; + + EObject this_XAnnotation_0 = null; + + EObject this_XExpression_1 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1002:28: ( (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1003:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1003:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==27) ) { + alt20=1; + } + else if ( ((LA20_0>=RULE_ID && LA20_0<=RULE_DECIMAL)||LA20_0==14||LA20_0==16||LA20_0==28||(LA20_0>=32 && LA20_0<=33)||LA20_0==40||(LA20_0>=56 && LA20_0<=57)||LA20_0==61||LA20_0==69||LA20_0==71||(LA20_0>=75 && LA20_0<=77)||(LA20_0>=80 && LA20_0<=91)||LA20_0==93) ) { + alt20=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 20, 0, input); + + throw nvae; + } + switch (alt20) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1004:5: this_XAnnotation_0= ruleXAnnotation + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXAnnotation_in_ruleXAnnotationOrExpression2367); + this_XAnnotation_0=ruleXAnnotation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XAnnotation_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1014:5: this_XExpression_1= ruleXExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); + + } + pushFollow(FOLLOW_ruleXExpression_in_ruleXAnnotationOrExpression2394); + this_XExpression_1=ruleXExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XExpression_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAnnotationOrExpression" + + + // $ANTLR start "entryRuleXExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1030:1: entryRuleXExpression returns [EObject current=null] : iv_ruleXExpression= ruleXExpression EOF ; + public final EObject entryRuleXExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1031:2: (iv_ruleXExpression= ruleXExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1032:2: iv_ruleXExpression= ruleXExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXExpressionRule()); + } + pushFollow(FOLLOW_ruleXExpression_in_entryRuleXExpression2429); + iv_ruleXExpression=ruleXExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXExpression2439); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXExpression" + + + // $ANTLR start "ruleXExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1039:1: ruleXExpression returns [EObject current=null] : this_XAssignment_0= ruleXAssignment ; + public final EObject ruleXExpression() throws RecognitionException { + EObject current = null; + + EObject this_XAssignment_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1042:28: (this_XAssignment_0= ruleXAssignment ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1044:5: this_XAssignment_0= ruleXAssignment + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); + + } + pushFollow(FOLLOW_ruleXAssignment_in_ruleXExpression2485); + this_XAssignment_0=ruleXAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XAssignment_0; + afterParserOrEnumRuleCall(); + + } + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXExpression" + + + // $ANTLR start "entryRuleXAssignment" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1060:1: entryRuleXAssignment returns [EObject current=null] : iv_ruleXAssignment= ruleXAssignment EOF ; + public final EObject entryRuleXAssignment() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXAssignment = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1061:2: (iv_ruleXAssignment= ruleXAssignment EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1062:2: iv_ruleXAssignment= ruleXAssignment EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXAssignmentRule()); + } + pushFollow(FOLLOW_ruleXAssignment_in_entryRuleXAssignment2519); + iv_ruleXAssignment=ruleXAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXAssignment; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAssignment2529); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAssignment" + + + // $ANTLR start "ruleXAssignment" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1069:1: ruleXAssignment returns [EObject current=null] : ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ; + public final EObject ruleXAssignment() throws RecognitionException { + EObject current = null; + + EObject lv_value_3_0 = null; + + EObject this_XOrExpression_4 = null; + + EObject lv_rightOperand_7_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1072:28: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) + int alt22=2; + switch ( input.LA(1) ) { + case RULE_ID: + { + int LA22_1 = input.LA(2); + + if ( (LA22_1==EOF||(LA22_1>=RULE_ID && LA22_1<=RULE_DECIMAL)||(LA22_1>=14 && LA22_1<=16)||(LA22_1>=25 && LA22_1<=26)||(LA22_1>=28 && LA22_1<=30)||(LA22_1>=32 && LA22_1<=66)||(LA22_1>=68 && LA22_1<=94)) ) { + alt22=2; + } + else if ( (LA22_1==31) ) { + alt22=1; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 22, 1, input); + + throw nvae; + } + } + break; + case 80: + { + int LA22_2 = input.LA(2); + + if ( (LA22_2==EOF||(LA22_2>=RULE_ID && LA22_2<=RULE_DECIMAL)||(LA22_2>=14 && LA22_2<=16)||(LA22_2>=25 && LA22_2<=26)||(LA22_2>=28 && LA22_2<=30)||(LA22_2>=32 && LA22_2<=66)||(LA22_2>=68 && LA22_2<=94)) ) { + alt22=2; + } + else if ( (LA22_2==31) ) { + alt22=1; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 22, 2, input); + + throw nvae; + } + } + break; + case 81: + { + int LA22_3 = input.LA(2); + + if ( (LA22_3==31) ) { + alt22=1; + } + else if ( (LA22_3==EOF||(LA22_3>=RULE_ID && LA22_3<=RULE_DECIMAL)||(LA22_3>=14 && LA22_3<=16)||(LA22_3>=25 && LA22_3<=26)||(LA22_3>=28 && LA22_3<=30)||(LA22_3>=32 && LA22_3<=66)||(LA22_3>=68 && LA22_3<=94)) ) { + alt22=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 22, 3, input); + + throw nvae; + } + } + break; + case 16: + { + int LA22_4 = input.LA(2); + + if ( (LA22_4==31) ) { + alt22=1; + } + else if ( (LA22_4==EOF||(LA22_4>=RULE_ID && LA22_4<=RULE_DECIMAL)||(LA22_4>=14 && LA22_4<=16)||(LA22_4>=25 && LA22_4<=26)||(LA22_4>=28 && LA22_4<=30)||(LA22_4>=32 && LA22_4<=66)||(LA22_4>=68 && LA22_4<=94)) ) { + alt22=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 22, 4, input); + + throw nvae; + } + } + break; + case 82: + { + int LA22_5 = input.LA(2); + + if ( (LA22_5==EOF||(LA22_5>=RULE_ID && LA22_5<=RULE_DECIMAL)||(LA22_5>=14 && LA22_5<=16)||(LA22_5>=25 && LA22_5<=26)||(LA22_5>=28 && LA22_5<=30)||(LA22_5>=32 && LA22_5<=66)||(LA22_5>=68 && LA22_5<=94)) ) { + alt22=2; + } + else if ( (LA22_5==31) ) { + alt22=1; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 22, 5, input); + + throw nvae; + } + } + break; + case RULE_STRING: + case RULE_HEX: + case RULE_INT: + case RULE_DECIMAL: + case 14: + case 28: + case 32: + case 33: + case 40: + case 56: + case 57: + case 61: + case 69: + case 71: + case 75: + case 76: + case 77: + case 83: + case 84: + case 85: + case 86: + case 87: + case 88: + case 89: + case 90: + case 91: + case 93: + { + alt22=2; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 22, 0, input); + + throw nvae; + } + + switch (alt22) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:3: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:3: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1074:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1079:2: ( ( ruleFeatureCallID ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1080:1: ( ruleFeatureCallID ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1080:1: ( ruleFeatureCallID ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1081:3: ruleFeatureCallID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXAssignmentRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0()); + + } + pushFollow(FOLLOW_ruleFeatureCallID_in_ruleXAssignment2587); + ruleFeatureCallID(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2()); + + } + pushFollow(FOLLOW_ruleOpSingleAssign_in_ruleXAssignment2603); + ruleOpSingleAssign(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1102:1: ( (lv_value_3_0= ruleXAssignment ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1103:1: (lv_value_3_0= ruleXAssignment ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1103:1: (lv_value_3_0= ruleXAssignment ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1104:3: lv_value_3_0= ruleXAssignment + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0()); + + } + pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment2623); + lv_value_3_0=ruleXAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAssignmentRule()); + } + set( + current, + "value", + lv_value_3_0, + "XAssignment"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1121:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1121:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1122:5: this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_ruleXOrExpression_in_ruleXAssignment2653); + this_XOrExpression_4=ruleXOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XOrExpression_4; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1130:1: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? + int alt21=2; + alt21 = dfa21.predict(input); + switch (alt21) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1130:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1130:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1130:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1135:6: ( () ( ( ruleOpMultiAssign ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1135:7: () ( ( ruleOpMultiAssign ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1135:7: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1136:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1141:2: ( ( ruleOpMultiAssign ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1142:1: ( ruleOpMultiAssign ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1142:1: ( ruleOpMultiAssign ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1143:3: ruleOpMultiAssign + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXAssignmentRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpMultiAssign_in_ruleXAssignment2706); + ruleOpMultiAssign(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1156:4: ( (lv_rightOperand_7_0= ruleXAssignment ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1157:1: (lv_rightOperand_7_0= ruleXAssignment ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1157:1: (lv_rightOperand_7_0= ruleXAssignment ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1158:3: lv_rightOperand_7_0= ruleXAssignment + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0()); + + } + pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment2729); + lv_rightOperand_7_0=ruleXAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAssignmentRule()); + } + set( + current, + "rightOperand", + lv_rightOperand_7_0, + "XAssignment"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAssignment" + + + // $ANTLR start "entryRuleOpSingleAssign" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1182:1: entryRuleOpSingleAssign returns [String current=null] : iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ; + public final String entryRuleOpSingleAssign() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpSingleAssign = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1183:2: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1184:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpSingleAssignRule()); + } + pushFollow(FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign2769); + iv_ruleOpSingleAssign=ruleOpSingleAssign(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpSingleAssign.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpSingleAssign2780); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpSingleAssign" + + + // $ANTLR start "ruleOpSingleAssign" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1191:1: ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ; + public final AntlrDatatypeRuleToken ruleOpSingleAssign() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1194:28: (kw= '=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1196:2: kw= '=' + { + kw=(Token)match(input,31,FOLLOW_31_in_ruleOpSingleAssign2817); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword()); + + } + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpSingleAssign" + + + // $ANTLR start "entryRuleOpMultiAssign" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1209:1: entryRuleOpMultiAssign returns [String current=null] : iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ; + public final String entryRuleOpMultiAssign() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpMultiAssign = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1210:2: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1211:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpMultiAssignRule()); + } + pushFollow(FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign2857); + iv_ruleOpMultiAssign=ruleOpMultiAssign(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpMultiAssign.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpMultiAssign2868); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpMultiAssign" + + + // $ANTLR start "ruleOpMultiAssign" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1218:1: ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ; + public final AntlrDatatypeRuleToken ruleOpMultiAssign() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1221:28: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1222:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1222:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) + int alt24=7; + switch ( input.LA(1) ) { + case 35: + { + alt24=1; + } + break; + case 36: + { + alt24=2; + } + break; + case 37: + { + alt24=3; + } + break; + case 38: + { + alt24=4; + } + break; + case 39: + { + alt24=5; + } + break; + case 40: + { + alt24=6; + } + break; + case 41: + { + alt24=7; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 24, 0, input); + + throw nvae; + } + + switch (alt24) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1223:2: kw= '+=' + { + kw=(Token)match(input,35,FOLLOW_35_in_ruleOpMultiAssign2906); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1230:2: kw= '-=' + { + kw=(Token)match(input,36,FOLLOW_36_in_ruleOpMultiAssign2925); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1()); + + } + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1237:2: kw= '*=' + { + kw=(Token)match(input,37,FOLLOW_37_in_ruleOpMultiAssign2944); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2()); + + } + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1244:2: kw= '/=' + { + kw=(Token)match(input,38,FOLLOW_38_in_ruleOpMultiAssign2963); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3()); + + } + + } + break; + case 5 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1251:2: kw= '%=' + { + kw=(Token)match(input,39,FOLLOW_39_in_ruleOpMultiAssign2982); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4()); + + } + + } + break; + case 6 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1257:6: (kw= '<' kw= '<' kw= '=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1257:6: (kw= '<' kw= '<' kw= '=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1258:2: kw= '<' kw= '<' kw= '=' + { + kw=(Token)match(input,40,FOLLOW_40_in_ruleOpMultiAssign3002); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0()); + + } + kw=(Token)match(input,40,FOLLOW_40_in_ruleOpMultiAssign3015); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1()); + + } + kw=(Token)match(input,31,FOLLOW_31_in_ruleOpMultiAssign3028); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2()); + + } + + } + + + } + break; + case 7 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1276:6: (kw= '>' (kw= '>' )? kw= '>=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1276:6: (kw= '>' (kw= '>' )? kw= '>=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1277:2: kw= '>' (kw= '>' )? kw= '>=' + { + kw=(Token)match(input,41,FOLLOW_41_in_ruleOpMultiAssign3049); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1282:1: (kw= '>' )? + int alt23=2; + int LA23_0 = input.LA(1); + + if ( (LA23_0==41) ) { + alt23=1; + } + switch (alt23) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1283:2: kw= '>' + { + kw=(Token)match(input,41,FOLLOW_41_in_ruleOpMultiAssign3063); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1()); + + } + + } + break; + + } + + kw=(Token)match(input,42,FOLLOW_42_in_ruleOpMultiAssign3078); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2()); + + } + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpMultiAssign" + + + // $ANTLR start "entryRuleXOrExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1302:1: entryRuleXOrExpression returns [EObject current=null] : iv_ruleXOrExpression= ruleXOrExpression EOF ; + public final EObject entryRuleXOrExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXOrExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1303:2: (iv_ruleXOrExpression= ruleXOrExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1304:2: iv_ruleXOrExpression= ruleXOrExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXOrExpressionRule()); + } + pushFollow(FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression3119); + iv_ruleXOrExpression=ruleXOrExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXOrExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXOrExpression3129); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXOrExpression" + + + // $ANTLR start "ruleXOrExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1311:1: ruleXOrExpression returns [EObject current=null] : (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) ; + public final EObject ruleXOrExpression() throws RecognitionException { + EObject current = null; + + EObject this_XAndExpression_0 = null; + + EObject lv_rightOperand_3_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1314:28: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1315:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1315:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1316:5: this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression3176); + this_XAndExpression_0=ruleXAndExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XAndExpression_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1324:1: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* + loop25: + do { + int alt25=2; + int LA25_0 = input.LA(1); + + if ( (LA25_0==43) ) { + int LA25_2 = input.LA(2); + + if ( (synpred8_InternalDialogDsl()) ) { + alt25=1; + } + + + } + + + switch (alt25) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1324:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1324:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1324:3: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1329:6: ( () ( ( ruleOpOr ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1329:7: () ( ( ruleOpOr ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1329:7: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1330:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1335:2: ( ( ruleOpOr ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1336:1: ( ruleOpOr ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1336:1: ( ruleOpOr ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1337:3: ruleOpOr + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXOrExpressionRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXOrExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpOr_in_ruleXOrExpression3229); + ruleOpOr(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1350:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1351:1: (lv_rightOperand_3_0= ruleXAndExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1351:1: (lv_rightOperand_3_0= ruleXAndExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1352:3: lv_rightOperand_3_0= ruleXAndExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression3252); + lv_rightOperand_3_0=ruleXAndExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXOrExpressionRule()); + } + set( + current, + "rightOperand", + lv_rightOperand_3_0, + "XAndExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop25; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXOrExpression" + + + // $ANTLR start "entryRuleOpOr" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1376:1: entryRuleOpOr returns [String current=null] : iv_ruleOpOr= ruleOpOr EOF ; + public final String entryRuleOpOr() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpOr = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1377:2: (iv_ruleOpOr= ruleOpOr EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1378:2: iv_ruleOpOr= ruleOpOr EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpOrRule()); + } + pushFollow(FOLLOW_ruleOpOr_in_entryRuleOpOr3291); + iv_ruleOpOr=ruleOpOr(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpOr.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpOr3302); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpOr" + + + // $ANTLR start "ruleOpOr" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1385:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '||' ; + public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1388:28: (kw= '||' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1390:2: kw= '||' + { + kw=(Token)match(input,43,FOLLOW_43_in_ruleOpOr3339); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword()); + + } + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpOr" + + + // $ANTLR start "entryRuleXAndExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1403:1: entryRuleXAndExpression returns [EObject current=null] : iv_ruleXAndExpression= ruleXAndExpression EOF ; + public final EObject entryRuleXAndExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXAndExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1404:2: (iv_ruleXAndExpression= ruleXAndExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1405:2: iv_ruleXAndExpression= ruleXAndExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXAndExpressionRule()); + } + pushFollow(FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression3378); + iv_ruleXAndExpression=ruleXAndExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXAndExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAndExpression3388); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAndExpression" + + + // $ANTLR start "ruleXAndExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1412:1: ruleXAndExpression returns [EObject current=null] : (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) ; + public final EObject ruleXAndExpression() throws RecognitionException { + EObject current = null; + + EObject this_XEqualityExpression_0 = null; + + EObject lv_rightOperand_3_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1415:28: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1416:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1416:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1417:5: this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression3435); + this_XEqualityExpression_0=ruleXEqualityExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XEqualityExpression_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1425:1: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* + loop26: + do { + int alt26=2; + int LA26_0 = input.LA(1); + + if ( (LA26_0==44) ) { + int LA26_2 = input.LA(2); + + if ( (synpred9_InternalDialogDsl()) ) { + alt26=1; + } + + + } + + + switch (alt26) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1425:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1425:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1425:3: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1430:6: ( () ( ( ruleOpAnd ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1430:7: () ( ( ruleOpAnd ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1430:7: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1431:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1436:2: ( ( ruleOpAnd ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1437:1: ( ruleOpAnd ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1437:1: ( ruleOpAnd ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1438:3: ruleOpAnd + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXAndExpressionRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAndExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpAnd_in_ruleXAndExpression3488); + ruleOpAnd(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1451:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1452:1: (lv_rightOperand_3_0= ruleXEqualityExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1452:1: (lv_rightOperand_3_0= ruleXEqualityExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1453:3: lv_rightOperand_3_0= ruleXEqualityExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression3511); + lv_rightOperand_3_0=ruleXEqualityExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAndExpressionRule()); + } + set( + current, + "rightOperand", + lv_rightOperand_3_0, + "XEqualityExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop26; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAndExpression" + + + // $ANTLR start "entryRuleOpAnd" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1477:1: entryRuleOpAnd returns [String current=null] : iv_ruleOpAnd= ruleOpAnd EOF ; + public final String entryRuleOpAnd() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpAnd = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1478:2: (iv_ruleOpAnd= ruleOpAnd EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1479:2: iv_ruleOpAnd= ruleOpAnd EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpAndRule()); + } + pushFollow(FOLLOW_ruleOpAnd_in_entryRuleOpAnd3550); + iv_ruleOpAnd=ruleOpAnd(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpAnd.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpAnd3561); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpAnd" + + + // $ANTLR start "ruleOpAnd" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1486:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '&&' ; + public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1489:28: (kw= '&&' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1491:2: kw= '&&' + { + kw=(Token)match(input,44,FOLLOW_44_in_ruleOpAnd3598); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword()); + + } + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpAnd" + + + // $ANTLR start "entryRuleXEqualityExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1504:1: entryRuleXEqualityExpression returns [EObject current=null] : iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ; + public final EObject entryRuleXEqualityExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXEqualityExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1505:2: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1506:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXEqualityExpressionRule()); + } + pushFollow(FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression3637); + iv_ruleXEqualityExpression=ruleXEqualityExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXEqualityExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXEqualityExpression3647); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXEqualityExpression" + + + // $ANTLR start "ruleXEqualityExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1513:1: ruleXEqualityExpression returns [EObject current=null] : (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) ; + public final EObject ruleXEqualityExpression() throws RecognitionException { + EObject current = null; + + EObject this_XRelationalExpression_0 = null; + + EObject lv_rightOperand_3_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1516:28: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1517:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1517:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1518:5: this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression3694); + this_XRelationalExpression_0=ruleXRelationalExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XRelationalExpression_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1526:1: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* + loop27: + do { + int alt27=2; + switch ( input.LA(1) ) { + case 45: + { + int LA27_2 = input.LA(2); + + if ( (synpred10_InternalDialogDsl()) ) { + alt27=1; + } + + + } + break; + case 46: + { + int LA27_3 = input.LA(2); + + if ( (synpred10_InternalDialogDsl()) ) { + alt27=1; + } + + + } + break; + case 47: + { + int LA27_4 = input.LA(2); + + if ( (synpred10_InternalDialogDsl()) ) { + alt27=1; + } + + + } + break; + case 48: + { + int LA27_5 = input.LA(2); + + if ( (synpred10_InternalDialogDsl()) ) { + alt27=1; + } + + + } + break; + + } + + switch (alt27) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1526:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1526:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1526:3: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1531:6: ( () ( ( ruleOpEquality ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1531:7: () ( ( ruleOpEquality ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1531:7: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1532:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1537:2: ( ( ruleOpEquality ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1538:1: ( ruleOpEquality ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1538:1: ( ruleOpEquality ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1539:3: ruleOpEquality + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXEqualityExpressionRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpEquality_in_ruleXEqualityExpression3747); + ruleOpEquality(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1552:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1553:1: (lv_rightOperand_3_0= ruleXRelationalExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1553:1: (lv_rightOperand_3_0= ruleXRelationalExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1554:3: lv_rightOperand_3_0= ruleXRelationalExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression3770); + lv_rightOperand_3_0=ruleXRelationalExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXEqualityExpressionRule()); + } + set( + current, + "rightOperand", + lv_rightOperand_3_0, + "XRelationalExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop27; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXEqualityExpression" + + + // $ANTLR start "entryRuleOpEquality" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1578:1: entryRuleOpEquality returns [String current=null] : iv_ruleOpEquality= ruleOpEquality EOF ; + public final String entryRuleOpEquality() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpEquality = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1579:2: (iv_ruleOpEquality= ruleOpEquality EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1580:2: iv_ruleOpEquality= ruleOpEquality EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpEqualityRule()); + } + pushFollow(FOLLOW_ruleOpEquality_in_entryRuleOpEquality3809); + iv_ruleOpEquality=ruleOpEquality(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpEquality.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpEquality3820); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpEquality" + + + // $ANTLR start "ruleOpEquality" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1587:1: ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ; + public final AntlrDatatypeRuleToken ruleOpEquality() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1590:28: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1591:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1591:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) + int alt28=4; + switch ( input.LA(1) ) { + case 45: + { + alt28=1; + } + break; + case 46: + { + alt28=2; + } + break; + case 47: + { + alt28=3; + } + break; + case 48: + { + alt28=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 28, 0, input); + + throw nvae; + } + + switch (alt28) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1592:2: kw= '==' + { + kw=(Token)match(input,45,FOLLOW_45_in_ruleOpEquality3858); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1599:2: kw= '!=' + { + kw=(Token)match(input,46,FOLLOW_46_in_ruleOpEquality3877); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1()); + + } + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1606:2: kw= '===' + { + kw=(Token)match(input,47,FOLLOW_47_in_ruleOpEquality3896); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2()); + + } + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1613:2: kw= '!==' + { + kw=(Token)match(input,48,FOLLOW_48_in_ruleOpEquality3915); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3()); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpEquality" + + + // $ANTLR start "entryRuleXRelationalExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1626:1: entryRuleXRelationalExpression returns [EObject current=null] : iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ; + public final EObject entryRuleXRelationalExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXRelationalExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1627:2: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1628:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXRelationalExpressionRule()); + } + pushFollow(FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression3955); + iv_ruleXRelationalExpression=ruleXRelationalExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXRelationalExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationalExpression3965); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXRelationalExpression" + + + // $ANTLR start "ruleXRelationalExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1635:1: ruleXRelationalExpression returns [EObject current=null] : (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) ; + public final EObject ruleXRelationalExpression() throws RecognitionException { + EObject current = null; + + Token otherlv_2=null; + EObject this_XOtherOperatorExpression_0 = null; + + EObject lv_type_3_0 = null; + + EObject lv_rightOperand_6_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1638:28: ( (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1639:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1639:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1640:5: this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getXOtherOperatorExpressionParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression4012); + this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XOtherOperatorExpression_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:1: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* + loop29: + do { + int alt29=3; + switch ( input.LA(1) ) { + case 40: + { + int LA29_2 = input.LA(2); + + if ( (synpred12_InternalDialogDsl()) ) { + alt29=2; + } + + + } + break; + case 41: + { + int LA29_3 = input.LA(2); + + if ( (synpred12_InternalDialogDsl()) ) { + alt29=2; + } + + + } + break; + case 49: + { + int LA29_4 = input.LA(2); + + if ( (synpred11_InternalDialogDsl()) ) { + alt29=1; + } + + + } + break; + case 42: + { + int LA29_5 = input.LA(2); + + if ( (synpred12_InternalDialogDsl()) ) { + alt29=2; + } + + + } + break; + + } + + switch (alt29) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:4: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1650:5: ( () otherlv_2= 'instanceof' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1650:6: () otherlv_2= 'instanceof' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1650:6: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1651:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(), + current); + + } + + } + + otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleXRelationalExpression4048); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1()); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1660:3: ( (lv_type_3_0= ruleJvmTypeReference ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1661:1: (lv_type_3_0= ruleJvmTypeReference ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1661:1: (lv_type_3_0= ruleJvmTypeReference ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1662:3: lv_type_3_0= ruleJvmTypeReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0()); + + } + pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression4071); + lv_type_3_0=ruleJvmTypeReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule()); + } + set( + current, + "type", + lv_type_3_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:8: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1684:6: ( () ( ( ruleOpCompare ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1684:7: () ( ( ruleOpCompare ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1684:7: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1685:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1690:2: ( ( ruleOpCompare ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1691:1: ( ruleOpCompare ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1691:1: ( ruleOpCompare ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1692:3: ruleOpCompare + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXRelationalExpressionRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpCompare_in_ruleXRelationalExpression4132); + ruleOpCompare(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1705:4: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1706:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1706:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1707:3: lv_rightOperand_6_0= ruleXOtherOperatorExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0()); + + } + pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression4155); + lv_rightOperand_6_0=ruleXOtherOperatorExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule()); + } + set( + current, + "rightOperand", + lv_rightOperand_6_0, + "XOtherOperatorExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + + default : + break loop29; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXRelationalExpression" + + + // $ANTLR start "entryRuleOpCompare" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1731:1: entryRuleOpCompare returns [String current=null] : iv_ruleOpCompare= ruleOpCompare EOF ; + public final String entryRuleOpCompare() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpCompare = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1732:2: (iv_ruleOpCompare= ruleOpCompare EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1733:2: iv_ruleOpCompare= ruleOpCompare EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpCompareRule()); + } + pushFollow(FOLLOW_ruleOpCompare_in_entryRuleOpCompare4195); + iv_ruleOpCompare=ruleOpCompare(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpCompare.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpCompare4206); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpCompare" + + + // $ANTLR start "ruleOpCompare" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1740:1: ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ; + public final AntlrDatatypeRuleToken ruleOpCompare() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1743:28: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1744:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1744:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) + int alt30=4; + switch ( input.LA(1) ) { + case 42: + { + alt30=1; + } + break; + case 40: + { + int LA30_2 = input.LA(2); + + if ( (LA30_2==EOF||(LA30_2>=RULE_ID && LA30_2<=RULE_DECIMAL)||LA30_2==14||LA30_2==16||LA30_2==28||(LA30_2>=32 && LA30_2<=33)||LA30_2==40||(LA30_2>=56 && LA30_2<=57)||LA30_2==61||LA30_2==69||LA30_2==71||(LA30_2>=75 && LA30_2<=77)||(LA30_2>=80 && LA30_2<=91)||LA30_2==93) ) { + alt30=4; + } + else if ( (LA30_2==31) ) { + alt30=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 30, 2, input); + + throw nvae; + } + } + break; + case 41: + { + alt30=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 30, 0, input); + + throw nvae; + } + + switch (alt30) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1745:2: kw= '>=' + { + kw=(Token)match(input,42,FOLLOW_42_in_ruleOpCompare4244); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1751:6: (kw= '<' kw= '=' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1751:6: (kw= '<' kw= '=' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1752:2: kw= '<' kw= '=' + { + kw=(Token)match(input,40,FOLLOW_40_in_ruleOpCompare4264); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0()); + + } + kw=(Token)match(input,31,FOLLOW_31_in_ruleOpCompare4277); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1()); + + } + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1765:2: kw= '>' + { + kw=(Token)match(input,41,FOLLOW_41_in_ruleOpCompare4297); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2()); + + } + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1772:2: kw= '<' + { + kw=(Token)match(input,40,FOLLOW_40_in_ruleOpCompare4316); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3()); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpCompare" + + + // $ANTLR start "entryRuleXOtherOperatorExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1785:1: entryRuleXOtherOperatorExpression returns [EObject current=null] : iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ; + public final EObject entryRuleXOtherOperatorExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXOtherOperatorExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1786:2: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1787:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule()); + } + pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression4356); + iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXOtherOperatorExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXOtherOperatorExpression4366); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXOtherOperatorExpression" + + + // $ANTLR start "ruleXOtherOperatorExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1794:1: ruleXOtherOperatorExpression returns [EObject current=null] : (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) ; + public final EObject ruleXOtherOperatorExpression() throws RecognitionException { + EObject current = null; + + EObject this_XAdditiveExpression_0 = null; + + EObject lv_rightOperand_3_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1797:28: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1798:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1798:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1799:5: this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression4413); + this_XAdditiveExpression_0=ruleXAdditiveExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XAdditiveExpression_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1807:1: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* + loop31: + do { + int alt31=2; + alt31 = dfa31.predict(input); + switch (alt31) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1807:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1807:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1807:3: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1812:6: ( () ( ( ruleOpOther ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1812:7: () ( ( ruleOpOther ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1812:7: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1813:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1818:2: ( ( ruleOpOther ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1819:1: ( ruleOpOther ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1819:1: ( ruleOpOther ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1820:3: ruleOpOther + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXOtherOperatorExpressionRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpOther_in_ruleXOtherOperatorExpression4466); + ruleOpOther(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1833:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1834:1: (lv_rightOperand_3_0= ruleXAdditiveExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1834:1: (lv_rightOperand_3_0= ruleXAdditiveExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1835:3: lv_rightOperand_3_0= ruleXAdditiveExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression4489); + lv_rightOperand_3_0=ruleXAdditiveExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXOtherOperatorExpressionRule()); + } + set( + current, + "rightOperand", + lv_rightOperand_3_0, + "XAdditiveExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop31; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXOtherOperatorExpression" + + + // $ANTLR start "entryRuleOpOther" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1859:1: entryRuleOpOther returns [String current=null] : iv_ruleOpOther= ruleOpOther EOF ; + public final String entryRuleOpOther() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpOther = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1860:2: (iv_ruleOpOther= ruleOpOther EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1861:2: iv_ruleOpOther= ruleOpOther EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpOtherRule()); + } + pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther4528); + iv_ruleOpOther=ruleOpOther(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpOther.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther4539); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpOther" + + + // $ANTLR start "ruleOpOther" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1868:1: ruleOpOther returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ; + public final AntlrDatatypeRuleToken ruleOpOther() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1871:28: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1872:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1872:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) + int alt34=9; + alt34 = dfa34.predict(input); + switch (alt34) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1873:2: kw= '->' + { + kw=(Token)match(input,50,FOLLOW_50_in_ruleOpOther4577); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1880:2: kw= '..<' + { + kw=(Token)match(input,51,FOLLOW_51_in_ruleOpOther4596); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1()); + + } + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1886:6: (kw= '>' kw= '..' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1886:6: (kw= '>' kw= '..' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1887:2: kw= '>' kw= '..' + { + kw=(Token)match(input,41,FOLLOW_41_in_ruleOpOther4616); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0()); + + } + kw=(Token)match(input,52,FOLLOW_52_in_ruleOpOther4629); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1()); + + } + + } + + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1900:2: kw= '..' + { + kw=(Token)match(input,52,FOLLOW_52_in_ruleOpOther4649); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3()); + + } + + } + break; + case 5 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1907:2: kw= '=>' + { + kw=(Token)match(input,53,FOLLOW_53_in_ruleOpOther4668); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4()); + + } + + } + break; + case 6 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1913:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1913:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1914:2: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) + { + kw=(Token)match(input,41,FOLLOW_41_in_ruleOpOther4688); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1919:1: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) + int alt32=2; + int LA32_0 = input.LA(1); + + if ( (LA32_0==41) ) { + int LA32_1 = input.LA(2); + + if ( (LA32_1==EOF||(LA32_1>=RULE_ID && LA32_1<=RULE_DECIMAL)||LA32_1==14||LA32_1==16||LA32_1==28||(LA32_1>=32 && LA32_1<=33)||LA32_1==40||(LA32_1>=56 && LA32_1<=57)||LA32_1==61||LA32_1==69||LA32_1==71||(LA32_1>=75 && LA32_1<=77)||(LA32_1>=80 && LA32_1<=91)||LA32_1==93) ) { + alt32=2; + } + else if ( (LA32_1==41) && (synpred14_InternalDialogDsl())) { + alt32=1; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 32, 1, input); + + throw nvae; + } + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 32, 0, input); + + throw nvae; + } + switch (alt32) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1919:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1919:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1919:3: ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1923:5: (kw= '>' kw= '>' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1924:2: kw= '>' kw= '>' + { + kw=(Token)match(input,41,FOLLOW_41_in_ruleOpOther4719); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_0()); + + } + kw=(Token)match(input,41,FOLLOW_41_in_ruleOpOther4732); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1()); + + } + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1937:2: kw= '>' + { + kw=(Token)match(input,41,FOLLOW_41_in_ruleOpOther4753); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1()); + + } + + } + break; + + } + + + } + + + } + break; + case 7 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1943:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1943:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1944:2: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) + { + kw=(Token)match(input,40,FOLLOW_40_in_ruleOpOther4775); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1949:1: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) + int alt33=3; + int LA33_0 = input.LA(1); + + if ( (LA33_0==40) ) { + int LA33_1 = input.LA(2); + + if ( (synpred15_InternalDialogDsl()) ) { + alt33=1; + } + else if ( (true) ) { + alt33=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 33, 1, input); + + throw nvae; + } + } + else if ( (LA33_0==53) ) { + alt33=3; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 33, 0, input); + + throw nvae; + } + switch (alt33) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1949:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1949:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1949:3: ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1953:5: (kw= '<' kw= '<' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1954:2: kw= '<' kw= '<' + { + kw=(Token)match(input,40,FOLLOW_40_in_ruleOpOther4806); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0()); + + } + kw=(Token)match(input,40,FOLLOW_40_in_ruleOpOther4819); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1()); + + } + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1967:2: kw= '<' + { + kw=(Token)match(input,40,FOLLOW_40_in_ruleOpOther4840); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1()); + + } + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1974:2: kw= '=>' + { + kw=(Token)match(input,53,FOLLOW_53_in_ruleOpOther4859); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2()); + + } + + } + break; + + } + + + } + + + } + break; + case 8 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1981:2: kw= '<>' + { + kw=(Token)match(input,54,FOLLOW_54_in_ruleOpOther4880); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7()); + + } + + } + break; + case 9 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1988:2: kw= '?:' + { + kw=(Token)match(input,55,FOLLOW_55_in_ruleOpOther4899); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8()); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpOther" + + + // $ANTLR start "entryRuleXAdditiveExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2001:1: entryRuleXAdditiveExpression returns [EObject current=null] : iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF ; + public final EObject entryRuleXAdditiveExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXAdditiveExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2002:2: (iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2003:2: iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXAdditiveExpressionRule()); + } + pushFollow(FOLLOW_ruleXAdditiveExpression_in_entryRuleXAdditiveExpression4939); + iv_ruleXAdditiveExpression=ruleXAdditiveExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXAdditiveExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXAdditiveExpression4949); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXAdditiveExpression" + + + // $ANTLR start "ruleXAdditiveExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2010:1: ruleXAdditiveExpression returns [EObject current=null] : (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) ; + public final EObject ruleXAdditiveExpression() throws RecognitionException { + EObject current = null; + + EObject this_XMultiplicativeExpression_0 = null; + + EObject lv_rightOperand_3_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2013:28: ( (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2014:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2014:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2015:5: this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression4996); + this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XMultiplicativeExpression_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2023:1: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* + loop35: + do { + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==56) ) { + int LA35_2 = input.LA(2); + + if ( (synpred16_InternalDialogDsl()) ) { + alt35=1; + } + + + } + else if ( (LA35_0==57) ) { + int LA35_3 = input.LA(2); + + if ( (synpred16_InternalDialogDsl()) ) { + alt35=1; + } + + + } + + + switch (alt35) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2023:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2023:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2023:3: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2028:6: ( () ( ( ruleOpAdd ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2028:7: () ( ( ruleOpAdd ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2028:7: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2029:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2034:2: ( ( ruleOpAdd ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2035:1: ( ruleOpAdd ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2035:1: ( ruleOpAdd ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2036:3: ruleOpAdd + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXAdditiveExpressionRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpAdd_in_ruleXAdditiveExpression5049); + ruleOpAdd(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2049:4: ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2050:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2050:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2051:3: lv_rightOperand_3_0= ruleXMultiplicativeExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression5072); + lv_rightOperand_3_0=ruleXMultiplicativeExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXAdditiveExpressionRule()); + } + set( + current, + "rightOperand", + lv_rightOperand_3_0, + "XMultiplicativeExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop35; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXAdditiveExpression" + + + // $ANTLR start "entryRuleOpAdd" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2075:1: entryRuleOpAdd returns [String current=null] : iv_ruleOpAdd= ruleOpAdd EOF ; + public final String entryRuleOpAdd() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpAdd = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2076:2: (iv_ruleOpAdd= ruleOpAdd EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2077:2: iv_ruleOpAdd= ruleOpAdd EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpAddRule()); + } + pushFollow(FOLLOW_ruleOpAdd_in_entryRuleOpAdd5111); + iv_ruleOpAdd=ruleOpAdd(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpAdd.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpAdd5122); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpAdd" + + + // $ANTLR start "ruleOpAdd" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2084:1: ruleOpAdd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+' | kw= '-' ) ; + public final AntlrDatatypeRuleToken ruleOpAdd() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2087:28: ( (kw= '+' | kw= '-' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2088:1: (kw= '+' | kw= '-' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2088:1: (kw= '+' | kw= '-' ) + int alt36=2; + int LA36_0 = input.LA(1); + + if ( (LA36_0==56) ) { + alt36=1; + } + else if ( (LA36_0==57) ) { + alt36=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 36, 0, input); + + throw nvae; + } + switch (alt36) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2089:2: kw= '+' + { + kw=(Token)match(input,56,FOLLOW_56_in_ruleOpAdd5160); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2096:2: kw= '-' + { + kw=(Token)match(input,57,FOLLOW_57_in_ruleOpAdd5179); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1()); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpAdd" + + + // $ANTLR start "entryRuleXMultiplicativeExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2109:1: entryRuleXMultiplicativeExpression returns [EObject current=null] : iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF ; + public final EObject entryRuleXMultiplicativeExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXMultiplicativeExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2110:2: (iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2111:2: iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule()); + } + pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_entryRuleXMultiplicativeExpression5219); + iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXMultiplicativeExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXMultiplicativeExpression5229); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXMultiplicativeExpression" + + + // $ANTLR start "ruleXMultiplicativeExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2118:1: ruleXMultiplicativeExpression returns [EObject current=null] : (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) ; + public final EObject ruleXMultiplicativeExpression() throws RecognitionException { + EObject current = null; + + EObject this_XUnaryOperation_0 = null; + + EObject lv_rightOperand_3_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2121:28: ( (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2122:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2122:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2123:5: this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression5276); + this_XUnaryOperation_0=ruleXUnaryOperation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XUnaryOperation_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2131:1: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* + loop37: + do { + int alt37=2; + switch ( input.LA(1) ) { + case 26: + { + int LA37_2 = input.LA(2); + + if ( (synpred17_InternalDialogDsl()) ) { + alt37=1; + } + + + } + break; + case 58: + { + int LA37_3 = input.LA(2); + + if ( (synpred17_InternalDialogDsl()) ) { + alt37=1; + } + + + } + break; + case 59: + { + int LA37_4 = input.LA(2); + + if ( (synpred17_InternalDialogDsl()) ) { + alt37=1; + } + + + } + break; + case 60: + { + int LA37_5 = input.LA(2); + + if ( (synpred17_InternalDialogDsl()) ) { + alt37=1; + } + + + } + break; + + } + + switch (alt37) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2131:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2131:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2131:3: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2136:6: ( () ( ( ruleOpMulti ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2136:7: () ( ( ruleOpMulti ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2136:7: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2137:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2142:2: ( ( ruleOpMulti ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2143:1: ( ruleOpMulti ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2143:1: ( ruleOpMulti ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2144:3: ruleOpMulti + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXMultiplicativeExpressionRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpMulti_in_ruleXMultiplicativeExpression5329); + ruleOpMulti(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2157:4: ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2158:1: (lv_rightOperand_3_0= ruleXUnaryOperation ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2158:1: (lv_rightOperand_3_0= ruleXUnaryOperation ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2159:3: lv_rightOperand_3_0= ruleXUnaryOperation + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression5352); + lv_rightOperand_3_0=ruleXUnaryOperation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXMultiplicativeExpressionRule()); + } + set( + current, + "rightOperand", + lv_rightOperand_3_0, + "XUnaryOperation"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop37; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXMultiplicativeExpression" + + + // $ANTLR start "entryRuleOpMulti" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2183:1: entryRuleOpMulti returns [String current=null] : iv_ruleOpMulti= ruleOpMulti EOF ; + public final String entryRuleOpMulti() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpMulti = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2184:2: (iv_ruleOpMulti= ruleOpMulti EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2185:2: iv_ruleOpMulti= ruleOpMulti EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpMultiRule()); + } + pushFollow(FOLLOW_ruleOpMulti_in_entryRuleOpMulti5391); + iv_ruleOpMulti=ruleOpMulti(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpMulti.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpMulti5402); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpMulti" + + + // $ANTLR start "ruleOpMulti" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2192:1: ruleOpMulti returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) ; + public final AntlrDatatypeRuleToken ruleOpMulti() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2195:28: ( (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2196:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2196:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) + int alt38=4; + switch ( input.LA(1) ) { + case 26: + { + alt38=1; + } + break; + case 58: + { + alt38=2; + } + break; + case 59: + { + alt38=3; + } + break; + case 60: + { + alt38=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 38, 0, input); + + throw nvae; + } + + switch (alt38) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2197:2: kw= '*' + { + kw=(Token)match(input,26,FOLLOW_26_in_ruleOpMulti5440); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2204:2: kw= '**' + { + kw=(Token)match(input,58,FOLLOW_58_in_ruleOpMulti5459); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1()); + + } + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2211:2: kw= '/' + { + kw=(Token)match(input,59,FOLLOW_59_in_ruleOpMulti5478); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2()); + + } + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2218:2: kw= '%' + { + kw=(Token)match(input,60,FOLLOW_60_in_ruleOpMulti5497); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpMultiAccess().getPercentSignKeyword_3()); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpMulti" + + + // $ANTLR start "entryRuleXUnaryOperation" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2231:1: entryRuleXUnaryOperation returns [EObject current=null] : iv_ruleXUnaryOperation= ruleXUnaryOperation EOF ; + public final EObject entryRuleXUnaryOperation() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXUnaryOperation = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2232:2: (iv_ruleXUnaryOperation= ruleXUnaryOperation EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2233:2: iv_ruleXUnaryOperation= ruleXUnaryOperation EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXUnaryOperationRule()); + } + pushFollow(FOLLOW_ruleXUnaryOperation_in_entryRuleXUnaryOperation5537); + iv_ruleXUnaryOperation=ruleXUnaryOperation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXUnaryOperation; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXUnaryOperation5547); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXUnaryOperation" + + + // $ANTLR start "ruleXUnaryOperation" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2240:1: ruleXUnaryOperation returns [EObject current=null] : ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) ; + public final EObject ruleXUnaryOperation() throws RecognitionException { + EObject current = null; + + EObject lv_operand_2_0 = null; + + EObject this_XCastedExpression_3 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2243:28: ( ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) + int alt39=2; + int LA39_0 = input.LA(1); + + if ( ((LA39_0>=56 && LA39_0<=57)||LA39_0==61) ) { + alt39=1; + } + else if ( ((LA39_0>=RULE_ID && LA39_0<=RULE_DECIMAL)||LA39_0==14||LA39_0==16||LA39_0==28||(LA39_0>=32 && LA39_0<=33)||LA39_0==40||LA39_0==69||LA39_0==71||(LA39_0>=75 && LA39_0<=77)||(LA39_0>=80 && LA39_0<=91)||LA39_0==93) ) { + alt39=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 39, 0, input); + + throw nvae; + } + switch (alt39) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:3: () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:3: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2245:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2250:2: ( ( ruleOpUnary ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2251:1: ( ruleOpUnary ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2251:1: ( ruleOpUnary ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2252:3: ruleOpUnary + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXUnaryOperationRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXUnaryOperationAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpUnary_in_ruleXUnaryOperation5605); + ruleOpUnary(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2265:2: ( (lv_operand_2_0= ruleXUnaryOperation ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2266:1: (lv_operand_2_0= ruleXUnaryOperation ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2266:1: (lv_operand_2_0= ruleXUnaryOperation ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2267:3: lv_operand_2_0= ruleXUnaryOperation + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0()); + + } + pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXUnaryOperation5626); + lv_operand_2_0=ruleXUnaryOperation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXUnaryOperationRule()); + } + set( + current, + "operand", + lv_operand_2_0, + "XUnaryOperation"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2285:5: this_XCastedExpression_3= ruleXCastedExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1()); + + } + pushFollow(FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation5655); + this_XCastedExpression_3=ruleXCastedExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XCastedExpression_3; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXUnaryOperation" + + + // $ANTLR start "entryRuleOpUnary" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2301:1: entryRuleOpUnary returns [String current=null] : iv_ruleOpUnary= ruleOpUnary EOF ; + public final String entryRuleOpUnary() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpUnary = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2302:2: (iv_ruleOpUnary= ruleOpUnary EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2303:2: iv_ruleOpUnary= ruleOpUnary EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpUnaryRule()); + } + pushFollow(FOLLOW_ruleOpUnary_in_entryRuleOpUnary5691); + iv_ruleOpUnary=ruleOpUnary(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpUnary.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpUnary5702); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpUnary" + + + // $ANTLR start "ruleOpUnary" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2310:1: ruleOpUnary returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '!' | kw= '-' | kw= '+' ) ; + public final AntlrDatatypeRuleToken ruleOpUnary() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2313:28: ( (kw= '!' | kw= '-' | kw= '+' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2314:1: (kw= '!' | kw= '-' | kw= '+' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2314:1: (kw= '!' | kw= '-' | kw= '+' ) + int alt40=3; + switch ( input.LA(1) ) { + case 61: + { + alt40=1; + } + break; + case 57: + { + alt40=2; + } + break; + case 56: + { + alt40=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 40, 0, input); + + throw nvae; + } + + switch (alt40) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2315:2: kw= '!' + { + kw=(Token)match(input,61,FOLLOW_61_in_ruleOpUnary5740); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2322:2: kw= '-' + { + kw=(Token)match(input,57,FOLLOW_57_in_ruleOpUnary5759); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1()); + + } + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2329:2: kw= '+' + { + kw=(Token)match(input,56,FOLLOW_56_in_ruleOpUnary5778); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2()); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpUnary" + + + // $ANTLR start "entryRuleXCastedExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2342:1: entryRuleXCastedExpression returns [EObject current=null] : iv_ruleXCastedExpression= ruleXCastedExpression EOF ; + public final EObject entryRuleXCastedExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXCastedExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2343:2: (iv_ruleXCastedExpression= ruleXCastedExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2344:2: iv_ruleXCastedExpression= ruleXCastedExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXCastedExpressionRule()); + } + pushFollow(FOLLOW_ruleXCastedExpression_in_entryRuleXCastedExpression5818); + iv_ruleXCastedExpression=ruleXCastedExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXCastedExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXCastedExpression5828); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXCastedExpression" + + + // $ANTLR start "ruleXCastedExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2351:1: ruleXCastedExpression returns [EObject current=null] : (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ; + public final EObject ruleXCastedExpression() throws RecognitionException { + EObject current = null; + + Token otherlv_2=null; + EObject this_XPostfixOperation_0 = null; + + EObject lv_type_3_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2354:28: ( (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2355:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2355:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2356:5: this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXPostfixOperation_in_ruleXCastedExpression5875); + this_XPostfixOperation_0=ruleXPostfixOperation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XPostfixOperation_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2364:1: ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* + loop41: + do { + int alt41=2; + int LA41_0 = input.LA(1); + + if ( (LA41_0==62) ) { + int LA41_2 = input.LA(2); + + if ( (synpred18_InternalDialogDsl()) ) { + alt41=1; + } + + + } + + + switch (alt41) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2364:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2364:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2364:3: ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2366:5: ( () otherlv_2= 'as' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2366:6: () otherlv_2= 'as' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2366:6: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2367:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(), + current); + + } + + } + + otherlv_2=(Token)match(input,62,FOLLOW_62_in_ruleXCastedExpression5910); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1()); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2376:3: ( (lv_type_3_0= ruleJvmTypeReference ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2377:1: (lv_type_3_0= ruleJvmTypeReference ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2377:1: (lv_type_3_0= ruleJvmTypeReference ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2378:3: lv_type_3_0= ruleJvmTypeReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXCastedExpression5933); + lv_type_3_0=ruleJvmTypeReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXCastedExpressionRule()); + } + set( + current, + "type", + lv_type_3_0, + "JvmTypeReference"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop41; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXCastedExpression" + + + // $ANTLR start "entryRuleXPostfixOperation" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2402:1: entryRuleXPostfixOperation returns [EObject current=null] : iv_ruleXPostfixOperation= ruleXPostfixOperation EOF ; + public final EObject entryRuleXPostfixOperation() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXPostfixOperation = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2403:2: (iv_ruleXPostfixOperation= ruleXPostfixOperation EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2404:2: iv_ruleXPostfixOperation= ruleXPostfixOperation EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXPostfixOperationRule()); + } + pushFollow(FOLLOW_ruleXPostfixOperation_in_entryRuleXPostfixOperation5971); + iv_ruleXPostfixOperation=ruleXPostfixOperation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXPostfixOperation; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXPostfixOperation5981); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXPostfixOperation" + + + // $ANTLR start "ruleXPostfixOperation" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2411:1: ruleXPostfixOperation returns [EObject current=null] : (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) ; + public final EObject ruleXPostfixOperation() throws RecognitionException { + EObject current = null; + + EObject this_XMemberFeatureCall_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2414:28: ( (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2415:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2415:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2416:5: this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXMemberFeatureCall_in_ruleXPostfixOperation6028); + this_XMemberFeatureCall_0=ruleXMemberFeatureCall(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XMemberFeatureCall_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2424:1: ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? + int alt42=2; + int LA42_0 = input.LA(1); + + if ( (LA42_0==63) ) { + int LA42_1 = input.LA(2); + + if ( (synpred19_InternalDialogDsl()) ) { + alt42=1; + } + } + else if ( (LA42_0==64) ) { + int LA42_2 = input.LA(2); + + if ( (synpred19_InternalDialogDsl()) ) { + alt42=1; + } + } + switch (alt42) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2424:2: ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2429:6: ( () ( ( ruleOpPostfix ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2429:7: () ( ( ruleOpPostfix ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2429:7: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2430:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2435:2: ( ( ruleOpPostfix ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2436:1: ( ruleOpPostfix ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2436:1: ( ruleOpPostfix ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2437:3: ruleOpPostfix + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXPostfixOperationRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPostfixOperationAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_1_0()); + + } + pushFollow(FOLLOW_ruleOpPostfix_in_ruleXPostfixOperation6080); + ruleOpPostfix(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXPostfixOperation" + + + // $ANTLR start "entryRuleOpPostfix" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2458:1: entryRuleOpPostfix returns [String current=null] : iv_ruleOpPostfix= ruleOpPostfix EOF ; + public final String entryRuleOpPostfix() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleOpPostfix = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2459:2: (iv_ruleOpPostfix= ruleOpPostfix EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2460:2: iv_ruleOpPostfix= ruleOpPostfix EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getOpPostfixRule()); + } + pushFollow(FOLLOW_ruleOpPostfix_in_entryRuleOpPostfix6120); + iv_ruleOpPostfix=ruleOpPostfix(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleOpPostfix.getText(); + } + match(input,EOF,FOLLOW_EOF_in_entryRuleOpPostfix6131); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOpPostfix" + + + // $ANTLR start "ruleOpPostfix" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2467:1: ruleOpPostfix returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '++' | kw= '--' ) ; + public final AntlrDatatypeRuleToken ruleOpPostfix() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2470:28: ( (kw= '++' | kw= '--' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2471:1: (kw= '++' | kw= '--' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2471:1: (kw= '++' | kw= '--' ) + int alt43=2; + int LA43_0 = input.LA(1); + + if ( (LA43_0==63) ) { + alt43=1; + } + else if ( (LA43_0==64) ) { + alt43=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 43, 0, input); + + throw nvae; + } + switch (alt43) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2472:2: kw= '++' + { + kw=(Token)match(input,63,FOLLOW_63_in_ruleOpPostfix6169); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2479:2: kw= '--' + { + kw=(Token)match(input,64,FOLLOW_64_in_ruleOpPostfix6188); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1()); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOpPostfix" + + + // $ANTLR start "entryRuleXMemberFeatureCall" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2492:1: entryRuleXMemberFeatureCall returns [EObject current=null] : iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF ; + public final EObject entryRuleXMemberFeatureCall() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXMemberFeatureCall = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2493:2: (iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2494:2: iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXMemberFeatureCallRule()); + } + pushFollow(FOLLOW_ruleXMemberFeatureCall_in_entryRuleXMemberFeatureCall6228); + iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXMemberFeatureCall; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXMemberFeatureCall6238); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXMemberFeatureCall" + + + // $ANTLR start "ruleXMemberFeatureCall" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2501:1: ruleXMemberFeatureCall returns [EObject current=null] : (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) ; + public final EObject ruleXMemberFeatureCall() throws RecognitionException { + EObject current = null; + + Token otherlv_2=null; + Token lv_explicitStatic_3_0=null; + Token otherlv_8=null; + Token lv_nullSafe_9_0=null; + Token lv_explicitStatic_10_0=null; + Token otherlv_11=null; + Token otherlv_13=null; + Token otherlv_15=null; + Token lv_explicitOperationCall_17_0=null; + Token otherlv_20=null; + Token otherlv_22=null; + EObject this_XPrimaryExpression_0 = null; + + EObject lv_value_6_0 = null; + + EObject lv_typeArguments_12_0 = null; + + EObject lv_typeArguments_14_0 = null; + + EObject lv_memberCallArguments_18_0 = null; + + EObject lv_memberCallArguments_19_0 = null; + + EObject lv_memberCallArguments_21_0 = null; + + EObject lv_memberCallArguments_23_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2504:28: ( (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2505:1: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2505:1: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2506:5: this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXPrimaryExpression_in_ruleXMemberFeatureCall6285); + this_XPrimaryExpression_0=ruleXPrimaryExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XPrimaryExpression_0; + afterParserOrEnumRuleCall(); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:1: ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* + loop52: + do { + int alt52=3; + switch ( input.LA(1) ) { + case 25: + { + int LA52_2 = input.LA(2); + + if ( (synpred20_InternalDialogDsl()) ) { + alt52=1; + } + else if ( (synpred21_InternalDialogDsl()) ) { + alt52=2; + } + + + } + break; + case 65: + { + int LA52_3 = input.LA(2); + + if ( (synpred20_InternalDialogDsl()) ) { + alt52=1; + } + else if ( (synpred21_InternalDialogDsl()) ) { + alt52=2; + } + + + } + break; + case 66: + { + int LA52_4 = input.LA(2); + + if ( (synpred21_InternalDialogDsl()) ) { + alt52=2; + } + + + } + break; + + } + + switch (alt52) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:4: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2527:25: ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2527:26: () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2527:26: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2528:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2533:2: (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) + int alt44=2; + int LA44_0 = input.LA(1); + + if ( (LA44_0==25) ) { + alt44=1; + } + else if ( (LA44_0==65) ) { + alt44=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 44, 0, input); + + throw nvae; + } + switch (alt44) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2533:4: otherlv_2= '.' + { + otherlv_2=(Token)match(input,25,FOLLOW_25_in_ruleXMemberFeatureCall6357); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2538:6: ( (lv_explicitStatic_3_0= '::' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2538:6: ( (lv_explicitStatic_3_0= '::' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2539:1: (lv_explicitStatic_3_0= '::' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2539:1: (lv_explicitStatic_3_0= '::' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2540:3: lv_explicitStatic_3_0= '::' + { + lv_explicitStatic_3_0=(Token)match(input,65,FOLLOW_65_in_ruleXMemberFeatureCall6381); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_explicitStatic_3_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_0_0_0_1_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + setWithLastConsumed(current, "explicitStatic", true, "::"); + + } + + } + + + } + + + } + break; + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2553:3: ( ( ruleFeatureCallID ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2554:1: ( ruleFeatureCallID ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2554:1: ( ruleFeatureCallID ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2555:3: ruleFeatureCallID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0()); + + } + pushFollow(FOLLOW_ruleFeatureCallID_in_ruleXMemberFeatureCall6418); + ruleFeatureCallID(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3()); + + } + pushFollow(FOLLOW_ruleOpSingleAssign_in_ruleXMemberFeatureCall6434); + ruleOpSingleAssign(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2576:3: ( (lv_value_6_0= ruleXAssignment ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2577:1: (lv_value_6_0= ruleXAssignment ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2577:1: (lv_value_6_0= ruleXAssignment ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2578:3: lv_value_6_0= ruleXAssignment + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0()); + + } + pushFollow(FOLLOW_ruleXAssignment_in_ruleXMemberFeatureCall6456); + lv_value_6_0=ruleXAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + set( + current, + "value", + lv_value_6_0, + "XAssignment"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595:6: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595:6: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595:8: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2611:7: ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2611:8: () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2611:8: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2612:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElementAndSet( + grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(), + current); + + } + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2617:2: (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) + int alt45=3; + switch ( input.LA(1) ) { + case 25: + { + alt45=1; + } + break; + case 66: + { + alt45=2; + } + break; + case 65: + { + alt45=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 45, 0, input); + + throw nvae; + } + + switch (alt45) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2617:4: otherlv_8= '.' + { + otherlv_8=(Token)match(input,25,FOLLOW_25_in_ruleXMemberFeatureCall6542); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_8, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0()); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2622:6: ( (lv_nullSafe_9_0= '?.' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2622:6: ( (lv_nullSafe_9_0= '?.' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2623:1: (lv_nullSafe_9_0= '?.' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2623:1: (lv_nullSafe_9_0= '?.' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2624:3: lv_nullSafe_9_0= '?.' + { + lv_nullSafe_9_0=(Token)match(input,66,FOLLOW_66_in_ruleXMemberFeatureCall6566); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_nullSafe_9_0, grammarAccess.getXMemberFeatureCallAccess().getNullSafeQuestionMarkFullStopKeyword_1_1_0_0_1_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + setWithLastConsumed(current, "nullSafe", true, "?."); + + } + + } + + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2638:6: ( (lv_explicitStatic_10_0= '::' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2638:6: ( (lv_explicitStatic_10_0= '::' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2639:1: (lv_explicitStatic_10_0= '::' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2639:1: (lv_explicitStatic_10_0= '::' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2640:3: lv_explicitStatic_10_0= '::' + { + lv_explicitStatic_10_0=(Token)match(input,65,FOLLOW_65_in_ruleXMemberFeatureCall6603); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_explicitStatic_10_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_1_0_0_1_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + setWithLastConsumed(current, "explicitStatic", true, "::"); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2653:5: (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? + int alt47=2; + int LA47_0 = input.LA(1); + + if ( (LA47_0==40) ) { + alt47=1; + } + switch (alt47) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2653:7: otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' + { + otherlv_11=(Token)match(input,40,FOLLOW_40_in_ruleXMemberFeatureCall6632); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2657:1: ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2658:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2658:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2659:3: lv_typeArguments_12_0= ruleJvmArgumentTypeReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0()); + + } + pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6653); + lv_typeArguments_12_0=ruleJvmArgumentTypeReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + current, + "typeArguments", + lv_typeArguments_12_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2675:2: (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* + loop46: + do { + int alt46=2; + int LA46_0 = input.LA(1); + + if ( (LA46_0==29) ) { + alt46=1; + } + + + switch (alt46) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2675:4: otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) + { + otherlv_13=(Token)match(input,29,FOLLOW_29_in_ruleXMemberFeatureCall6666); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2679:1: ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2680:1: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2680:1: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2681:3: lv_typeArguments_14_0= ruleJvmArgumentTypeReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0()); + + } + pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6687); + lv_typeArguments_14_0=ruleJvmArgumentTypeReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + current, + "typeArguments", + lv_typeArguments_14_0, + "JvmArgumentTypeReference"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop46; + } + } while (true); + + otherlv_15=(Token)match(input,41,FOLLOW_41_in_ruleXMemberFeatureCall6701); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_15, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3()); + + } + + } + break; + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2701:3: ( ( ruleIdOrSuper ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2702:1: ( ruleIdOrSuper ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2702:1: ( ruleIdOrSuper ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2703:3: ruleIdOrSuper + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0()); + + } + pushFollow(FOLLOW_ruleIdOrSuper_in_ruleXMemberFeatureCall6726); + ruleIdOrSuper(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2716:2: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? + int alt50=2; + alt50 = dfa50.predict(input); + switch (alt50) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2716:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2716:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2716:4: ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2723:1: (lv_explicitOperationCall_17_0= '(' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2724:3: lv_explicitOperationCall_17_0= '(' + { + lv_explicitOperationCall_17_0=(Token)match(input,28,FOLLOW_28_in_ruleXMemberFeatureCall6760); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_explicitOperationCall_17_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); + } + setWithLastConsumed(current, "explicitOperationCall", true, "("); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2737:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? + int alt49=3; + alt49 = dfa49.predict(input); + switch (alt49) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2737:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2737:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2737:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2754:1: (lv_memberCallArguments_18_0= ruleXShortClosure ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2755:3: lv_memberCallArguments_18_0= ruleXShortClosure + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); + + } + pushFollow(FOLLOW_ruleXShortClosure_in_ruleXMemberFeatureCall6845); + lv_memberCallArguments_18_0=ruleXShortClosure(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + current, + "memberCallArguments", + lv_memberCallArguments_18_0, + "XShortClosure"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2772:6: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2772:6: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2772:7: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2772:7: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2773:1: (lv_memberCallArguments_19_0= ruleXExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2773:1: (lv_memberCallArguments_19_0= ruleXExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2774:3: lv_memberCallArguments_19_0= ruleXExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_0_0()); + + } + pushFollow(FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6873); + lv_memberCallArguments_19_0=ruleXExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + current, + "memberCallArguments", + lv_memberCallArguments_19_0, + "XExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2790:2: (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* + loop48: + do { + int alt48=2; + int LA48_0 = input.LA(1); + + if ( (LA48_0==29) ) { + alt48=1; + } + + + switch (alt48) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2790:4: otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) + { + otherlv_20=(Token)match(input,29,FOLLOW_29_in_ruleXMemberFeatureCall6886); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_20, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2794:1: ( (lv_memberCallArguments_21_0= ruleXExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2795:1: (lv_memberCallArguments_21_0= ruleXExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2795:1: (lv_memberCallArguments_21_0= ruleXExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2796:3: lv_memberCallArguments_21_0= ruleXExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_1_1_0()); + + } + pushFollow(FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6907); + lv_memberCallArguments_21_0=ruleXExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + current, + "memberCallArguments", + lv_memberCallArguments_21_0, + "XExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop48; + } + } while (true); + + + } + + + } + break; + + } + + otherlv_22=(Token)match(input,30,FOLLOW_30_in_ruleXMemberFeatureCall6924); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_22, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2()); + + } + + } + break; + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2816:3: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? + int alt51=2; + alt51 = dfa51.predict(input); + switch (alt51) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2816:4: ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2819:1: (lv_memberCallArguments_23_0= ruleXClosure ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2820:3: lv_memberCallArguments_23_0= ruleXClosure + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0()); + + } + pushFollow(FOLLOW_ruleXClosure_in_ruleXMemberFeatureCall6959); + lv_memberCallArguments_23_0=ruleXClosure(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); + } + add( + current, + "memberCallArguments", + lv_memberCallArguments_23_0, + "XClosure"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + } + + + } + + + } + break; + + default : + break loop52; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXMemberFeatureCall" + + + // $ANTLR start "entryRuleXPrimaryExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2844:1: entryRuleXPrimaryExpression returns [EObject current=null] : iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF ; + public final EObject entryRuleXPrimaryExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXPrimaryExpression = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2845:2: (iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2846:2: iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXPrimaryExpressionRule()); + } + pushFollow(FOLLOW_ruleXPrimaryExpression_in_entryRuleXPrimaryExpression6999); + iv_ruleXPrimaryExpression=ruleXPrimaryExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXPrimaryExpression; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXPrimaryExpression7009); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXPrimaryExpression" + + + // $ANTLR start "ruleXPrimaryExpression" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2853:1: ruleXPrimaryExpression returns [EObject current=null] : (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) ; + public final EObject ruleXPrimaryExpression() throws RecognitionException { + EObject current = null; + + EObject this_XConstructorCall_0 = null; + + EObject this_XBlockExpression_1 = null; + + EObject this_XSwitchExpression_2 = null; + + EObject this_XSynchronizedExpression_3 = null; + + EObject this_XFeatureCall_4 = null; + + EObject this_XLiteral_5 = null; + + EObject this_XIfExpression_6 = null; + + EObject this_XForLoopExpression_7 = null; + + EObject this_XBasicForLoopExpression_8 = null; + + EObject this_XWhileExpression_9 = null; + + EObject this_XDoWhileExpression_10 = null; + + EObject this_XThrowExpression_11 = null; + + EObject this_XReturnExpression_12 = null; + + EObject this_XTryCatchFinallyExpression_13 = null; + + EObject this_XParenthesizedExpression_14 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2856:28: ( (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2857:1: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2857:1: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) + int alt53=15; + alt53 = dfa53.predict(input); + switch (alt53) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2858:5: this_XConstructorCall_0= ruleXConstructorCall + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXConstructorCall_in_ruleXPrimaryExpression7056); + this_XConstructorCall_0=ruleXConstructorCall(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XConstructorCall_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2868:5: this_XBlockExpression_1= ruleXBlockExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1()); + + } + pushFollow(FOLLOW_ruleXBlockExpression_in_ruleXPrimaryExpression7083); + this_XBlockExpression_1=ruleXBlockExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XBlockExpression_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2878:5: this_XSwitchExpression_2= ruleXSwitchExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2()); + + } + pushFollow(FOLLOW_ruleXSwitchExpression_in_ruleXPrimaryExpression7110); + this_XSwitchExpression_2=ruleXSwitchExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XSwitchExpression_2; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2887:6: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2887:6: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2887:7: ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3()); + + } + pushFollow(FOLLOW_ruleXSynchronizedExpression_in_ruleXPrimaryExpression7154); + this_XSynchronizedExpression_3=ruleXSynchronizedExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XSynchronizedExpression_3; + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + case 5 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2901:5: this_XFeatureCall_4= ruleXFeatureCall + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4()); + + } + pushFollow(FOLLOW_ruleXFeatureCall_in_ruleXPrimaryExpression7182); + this_XFeatureCall_4=ruleXFeatureCall(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XFeatureCall_4; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 6 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2911:5: this_XLiteral_5= ruleXLiteral + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5()); + + } + pushFollow(FOLLOW_ruleXLiteral_in_ruleXPrimaryExpression7209); + this_XLiteral_5=ruleXLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XLiteral_5; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 7 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2921:5: this_XIfExpression_6= ruleXIfExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6()); + + } + pushFollow(FOLLOW_ruleXIfExpression_in_ruleXPrimaryExpression7236); + this_XIfExpression_6=ruleXIfExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XIfExpression_6; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 8 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2930:6: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2930:6: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2930:7: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7()); + + } + pushFollow(FOLLOW_ruleXForLoopExpression_in_ruleXPrimaryExpression7293); + this_XForLoopExpression_7=ruleXForLoopExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XForLoopExpression_7; + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + case 9 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2949:5: this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8()); + + } + pushFollow(FOLLOW_ruleXBasicForLoopExpression_in_ruleXPrimaryExpression7321); + this_XBasicForLoopExpression_8=ruleXBasicForLoopExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XBasicForLoopExpression_8; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 10 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2959:5: this_XWhileExpression_9= ruleXWhileExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9()); + + } + pushFollow(FOLLOW_ruleXWhileExpression_in_ruleXPrimaryExpression7348); + this_XWhileExpression_9=ruleXWhileExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XWhileExpression_9; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 11 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2969:5: this_XDoWhileExpression_10= ruleXDoWhileExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10()); + + } + pushFollow(FOLLOW_ruleXDoWhileExpression_in_ruleXPrimaryExpression7375); + this_XDoWhileExpression_10=ruleXDoWhileExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XDoWhileExpression_10; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 12 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2979:5: this_XThrowExpression_11= ruleXThrowExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11()); + + } + pushFollow(FOLLOW_ruleXThrowExpression_in_ruleXPrimaryExpression7402); + this_XThrowExpression_11=ruleXThrowExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XThrowExpression_11; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 13 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2989:5: this_XReturnExpression_12= ruleXReturnExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12()); + + } + pushFollow(FOLLOW_ruleXReturnExpression_in_ruleXPrimaryExpression7429); + this_XReturnExpression_12=ruleXReturnExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XReturnExpression_12; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 14 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2999:5: this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13()); + + } + pushFollow(FOLLOW_ruleXTryCatchFinallyExpression_in_ruleXPrimaryExpression7456); + this_XTryCatchFinallyExpression_13=ruleXTryCatchFinallyExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XTryCatchFinallyExpression_13; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 15 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3009:5: this_XParenthesizedExpression_14= ruleXParenthesizedExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14()); + + } + pushFollow(FOLLOW_ruleXParenthesizedExpression_in_ruleXPrimaryExpression7483); + this_XParenthesizedExpression_14=ruleXParenthesizedExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XParenthesizedExpression_14; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXPrimaryExpression" + + + // $ANTLR start "entryRuleXLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3025:1: entryRuleXLiteral returns [EObject current=null] : iv_ruleXLiteral= ruleXLiteral EOF ; + public final EObject entryRuleXLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXLiteral = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3026:2: (iv_ruleXLiteral= ruleXLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3027:2: iv_ruleXLiteral= ruleXLiteral EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXLiteralRule()); + } + pushFollow(FOLLOW_ruleXLiteral_in_entryRuleXLiteral7518); + iv_ruleXLiteral=ruleXLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXLiteral; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXLiteral7528); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXLiteral" + + + // $ANTLR start "ruleXLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3034:1: ruleXLiteral returns [EObject current=null] : (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) ; + public final EObject ruleXLiteral() throws RecognitionException { + EObject current = null; + + EObject this_XCollectionLiteral_0 = null; + + EObject this_XClosure_1 = null; + + EObject this_XBooleanLiteral_2 = null; + + EObject this_XNumberLiteral_3 = null; + + EObject this_XNullLiteral_4 = null; + + EObject this_XStringLiteral_5 = null; + + EObject this_XTypeLiteral_6 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3037:28: ( (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3038:1: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3038:1: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) + int alt54=7; + int LA54_0 = input.LA(1); + + if ( (LA54_0==32) ) { + alt54=1; + } + else if ( (LA54_0==33) && (synpred27_InternalDialogDsl())) { + alt54=2; + } + else if ( ((LA54_0>=85 && LA54_0<=86)) ) { + alt54=3; + } + else if ( ((LA54_0>=RULE_HEX && LA54_0<=RULE_DECIMAL)) ) { + alt54=4; + } + else if ( (LA54_0==87) ) { + alt54=5; + } + else if ( (LA54_0==RULE_STRING) ) { + alt54=6; + } + else if ( (LA54_0==88) ) { + alt54=7; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 54, 0, input); + + throw nvae; + } + switch (alt54) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3039:5: this_XCollectionLiteral_0= ruleXCollectionLiteral + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXCollectionLiteral_in_ruleXLiteral7575); + this_XCollectionLiteral_0=ruleXCollectionLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XCollectionLiteral_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3048:6: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3048:6: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3048:7: ( ( () '[' ) )=>this_XClosure_1= ruleXClosure + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1()); + + } + pushFollow(FOLLOW_ruleXClosure_in_ruleXLiteral7615); + this_XClosure_1=ruleXClosure(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XClosure_1; + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + case 3 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3061:5: this_XBooleanLiteral_2= ruleXBooleanLiteral + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2()); + + } + pushFollow(FOLLOW_ruleXBooleanLiteral_in_ruleXLiteral7643); + this_XBooleanLiteral_2=ruleXBooleanLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XBooleanLiteral_2; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 4 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3071:5: this_XNumberLiteral_3= ruleXNumberLiteral + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3()); + + } + pushFollow(FOLLOW_ruleXNumberLiteral_in_ruleXLiteral7670); + this_XNumberLiteral_3=ruleXNumberLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XNumberLiteral_3; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 5 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3081:5: this_XNullLiteral_4= ruleXNullLiteral + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4()); + + } + pushFollow(FOLLOW_ruleXNullLiteral_in_ruleXLiteral7697); + this_XNullLiteral_4=ruleXNullLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XNullLiteral_4; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 6 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3091:5: this_XStringLiteral_5= ruleXStringLiteral + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5()); + + } + pushFollow(FOLLOW_ruleXStringLiteral_in_ruleXLiteral7724); + this_XStringLiteral_5=ruleXStringLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XStringLiteral_5; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 7 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3101:5: this_XTypeLiteral_6= ruleXTypeLiteral + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6()); + + } + pushFollow(FOLLOW_ruleXTypeLiteral_in_ruleXLiteral7751); + this_XTypeLiteral_6=ruleXTypeLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XTypeLiteral_6; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXLiteral" + + + // $ANTLR start "entryRuleXCollectionLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3117:1: entryRuleXCollectionLiteral returns [EObject current=null] : iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF ; + public final EObject entryRuleXCollectionLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXCollectionLiteral = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3118:2: (iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3119:2: iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXCollectionLiteralRule()); + } + pushFollow(FOLLOW_ruleXCollectionLiteral_in_entryRuleXCollectionLiteral7786); + iv_ruleXCollectionLiteral=ruleXCollectionLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXCollectionLiteral; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXCollectionLiteral7796); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXCollectionLiteral" + + + // $ANTLR start "ruleXCollectionLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3126:1: ruleXCollectionLiteral returns [EObject current=null] : (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) ; + public final EObject ruleXCollectionLiteral() throws RecognitionException { + EObject current = null; + + EObject this_XSetLiteral_0 = null; + + EObject this_XListLiteral_1 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3129:28: ( (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3130:1: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3130:1: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) + int alt55=2; + int LA55_0 = input.LA(1); + + if ( (LA55_0==32) ) { + int LA55_1 = input.LA(2); + + if ( (LA55_1==14) ) { + alt55=1; + } + else if ( (LA55_1==33) ) { + alt55=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 55, 1, input); + + throw nvae; + } + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 55, 0, input); + + throw nvae; + } + switch (alt55) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3131:5: this_XSetLiteral_0= ruleXSetLiteral + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0()); + + } + pushFollow(FOLLOW_ruleXSetLiteral_in_ruleXCollectionLiteral7843); + this_XSetLiteral_0=ruleXSetLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XSetLiteral_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3141:5: this_XListLiteral_1= ruleXListLiteral + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1()); + + } + pushFollow(FOLLOW_ruleXListLiteral_in_ruleXCollectionLiteral7870); + this_XListLiteral_1=ruleXListLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_XListLiteral_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXCollectionLiteral" + + + // $ANTLR start "entryRuleXSetLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3157:1: entryRuleXSetLiteral returns [EObject current=null] : iv_ruleXSetLiteral= ruleXSetLiteral EOF ; + public final EObject entryRuleXSetLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXSetLiteral = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3158:2: (iv_ruleXSetLiteral= ruleXSetLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3159:2: iv_ruleXSetLiteral= ruleXSetLiteral EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXSetLiteralRule()); + } + pushFollow(FOLLOW_ruleXSetLiteral_in_entryRuleXSetLiteral7905); + iv_ruleXSetLiteral=ruleXSetLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXSetLiteral; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXSetLiteral7915); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXSetLiteral" + + + // $ANTLR start "ruleXSetLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3166:1: ruleXSetLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) ; + public final EObject ruleXSetLiteral() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + EObject lv_elements_3_0 = null; + + EObject lv_elements_5_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3169:28: ( ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3170:1: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3170:1: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3170:2: () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3170:2: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3171:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleXSetLiteral7961); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); + + } + otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleXSetLiteral7973); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getXSetLiteralAccess().getLeftCurlyBracketKeyword_2()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3184:1: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? + int alt57=2; + int LA57_0 = input.LA(1); + + if ( ((LA57_0>=RULE_ID && LA57_0<=RULE_DECIMAL)||LA57_0==14||LA57_0==16||LA57_0==28||(LA57_0>=32 && LA57_0<=33)||LA57_0==40||(LA57_0>=56 && LA57_0<=57)||LA57_0==61||LA57_0==69||LA57_0==71||(LA57_0>=75 && LA57_0<=77)||(LA57_0>=80 && LA57_0<=91)||LA57_0==93) ) { + alt57=1; + } + switch (alt57) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3184:2: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3184:2: ( (lv_elements_3_0= ruleXExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3185:1: (lv_elements_3_0= ruleXExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3185:1: (lv_elements_3_0= ruleXExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3186:3: lv_elements_3_0= ruleXExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); + + } + pushFollow(FOLLOW_ruleXExpression_in_ruleXSetLiteral7995); + lv_elements_3_0=ruleXExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); + } + add( + current, + "elements", + lv_elements_3_0, + "XExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3202:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* + loop56: + do { + int alt56=2; + int LA56_0 = input.LA(1); + + if ( (LA56_0==29) ) { + alt56=1; + } + + + switch (alt56) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3202:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) + { + otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleXSetLiteral8008); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3206:1: ( (lv_elements_5_0= ruleXExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3207:1: (lv_elements_5_0= ruleXExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3207:1: (lv_elements_5_0= ruleXExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3208:3: lv_elements_5_0= ruleXExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); + + } + pushFollow(FOLLOW_ruleXExpression_in_ruleXSetLiteral8029); + lv_elements_5_0=ruleXExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); + } + add( + current, + "elements", + lv_elements_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop56; + } + } while (true); + + + } + break; + + } + + otherlv_6=(Token)match(input,15,FOLLOW_15_in_ruleXSetLiteral8045); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXSetLiteral" + + + // $ANTLR start "entryRuleXListLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3236:1: entryRuleXListLiteral returns [EObject current=null] : iv_ruleXListLiteral= ruleXListLiteral EOF ; + public final EObject entryRuleXListLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXListLiteral = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3237:2: (iv_ruleXListLiteral= ruleXListLiteral EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3238:2: iv_ruleXListLiteral= ruleXListLiteral EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXListLiteralRule()); + } + pushFollow(FOLLOW_ruleXListLiteral_in_entryRuleXListLiteral8081); + iv_ruleXListLiteral=ruleXListLiteral(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXListLiteral; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXListLiteral8091); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXListLiteral" + + + // $ANTLR start "ruleXListLiteral" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3245:1: ruleXListLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) ; + public final EObject ruleXListLiteral() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + EObject lv_elements_3_0 = null; + + EObject lv_elements_5_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3248:28: ( ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3249:1: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3249:1: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3249:2: () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3249:2: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3250:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getXListLiteralAccess().getXListLiteralAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleXListLiteral8137); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getXListLiteralAccess().getNumberSignKeyword_1()); + + } + otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleXListLiteral8149); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getXListLiteralAccess().getLeftSquareBracketKeyword_2()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3263:1: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? + int alt59=2; + int LA59_0 = input.LA(1); + + if ( ((LA59_0>=RULE_ID && LA59_0<=RULE_DECIMAL)||LA59_0==14||LA59_0==16||LA59_0==28||(LA59_0>=32 && LA59_0<=33)||LA59_0==40||(LA59_0>=56 && LA59_0<=57)||LA59_0==61||LA59_0==69||LA59_0==71||(LA59_0>=75 && LA59_0<=77)||(LA59_0>=80 && LA59_0<=91)||LA59_0==93) ) { + alt59=1; + } + switch (alt59) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3263:2: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3263:2: ( (lv_elements_3_0= ruleXExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3264:1: (lv_elements_3_0= ruleXExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3264:1: (lv_elements_3_0= ruleXExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3265:3: lv_elements_3_0= ruleXExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); + + } + pushFollow(FOLLOW_ruleXExpression_in_ruleXListLiteral8171); + lv_elements_3_0=ruleXExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXListLiteralRule()); + } + add( + current, + "elements", + lv_elements_3_0, + "XExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3281:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* + loop58: + do { + int alt58=2; + int LA58_0 = input.LA(1); + + if ( (LA58_0==29) ) { + alt58=1; + } + + + switch (alt58) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3281:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) + { + otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleXListLiteral8184); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getXListLiteralAccess().getCommaKeyword_3_1_0()); + + } + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3285:1: ( (lv_elements_5_0= ruleXExpression ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3286:1: (lv_elements_5_0= ruleXExpression ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3286:1: (lv_elements_5_0= ruleXExpression ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3287:3: lv_elements_5_0= ruleXExpression + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); + + } + pushFollow(FOLLOW_ruleXExpression_in_ruleXListLiteral8205); + lv_elements_5_0=ruleXExpression(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXListLiteralRule()); + } + add( + current, + "elements", + lv_elements_5_0, + "XExpression"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop58; + } + } while (true); + + + } + break; + + } + + otherlv_6=(Token)match(input,34,FOLLOW_34_in_ruleXListLiteral8221); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getXListLiteralAccess().getRightSquareBracketKeyword_4()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleXListLiteral" + + + // $ANTLR start "entryRuleXClosure" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3315:1: entryRuleXClosure returns [EObject current=null] : iv_ruleXClosure= ruleXClosure EOF ; + public final EObject entryRuleXClosure() throws RecognitionException { + EObject current = null; + + EObject iv_ruleXClosure = null; + + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3316:2: (iv_ruleXClosure= ruleXClosure EOF ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3317:2: iv_ruleXClosure= ruleXClosure EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getXClosureRule()); + } + pushFollow(FOLLOW_ruleXClosure_in_entryRuleXClosure8257); + iv_ruleXClosure=ruleXClosure(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleXClosure; + } + match(input,EOF,FOLLOW_EOF_in_entryRuleXClosure8267); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleXClosure" + + + // $ANTLR start "ruleXClosure" + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3324:1: ruleXClosure returns [EObject current=null] : ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) ; + public final EObject ruleXClosure() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + Token lv_explicitSyntax_5_0=null; + Token otherlv_7=null; + EObject lv_declaredFormalParameters_2_0 = null; + + EObject lv_declaredFormalParameters_4_0 = null; + + EObject lv_expression_6_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3327:28: ( ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:1: ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:1: ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:2: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:2: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:3: ( ( () '[' ) )=> ( () otherlv_1= '[' ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3330:5: ( () otherlv_1= '[' ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3330:6: () otherlv_1= '[' + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3330:6: () + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3331:5: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getXClosureAccess().getXClosureAction_0_0_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,33,FOLLOW_33_in_ruleXClosure8327); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getXClosureAccess().getLeftSquareBracketKeyword_0_0_1()); + + } + + } + + + } + + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3340:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? + int alt62=2; + alt62 = dfa62.predict(input); + switch (alt62) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3340:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:6: ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:7: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:7: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? + int alt61=2; + int LA61_0 = input.LA(1); + + if ( (LA61_0==RULE_ID||LA61_0==28||LA61_0==53) ) { + alt61=1; + } + switch (alt61) { + case 1 : + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:8: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:8: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3356:1: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) + { + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3356:1: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) + // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3357:3: lv_declaredFormalParameters_2_0= ruleJvmFormalParameter + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_0_0()); + + } + pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXClosure8400); + lv_declaredFormalParameters_2_0=ruleJvmFormalParameter(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getXClosureRule()); + } + add( + current, + "declaredFormalParameters", + lv_declaredFormalParameters_2_0, + "JvmFormalParameter"); + afterParserOrEnumRuleCall(); + + } + + } + + diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/serializer/DialogDslSemanticSequencer.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/serializer/DialogDslSemanticSequencer.java new file mode 100644 index 0000000..c5a9dce --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/serializer/DialogDslSemanticSequencer.java @@ -0,0 +1,1423 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.serializer; + +import com.google.inject.Inject; +import com.google.inject.Provider; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.osbp.dsl.semantic.common.types.LImport; +import org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage; +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage; +import org.eclipse.osbp.xtext.dialogdsl.DialogModel; +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage; +import org.eclipse.osbp.xtext.dialogdsl.services.DialogDslGrammarAccess; +import org.eclipse.xtext.common.types.JvmFormalParameter; +import org.eclipse.xtext.common.types.JvmGenericArrayTypeReference; +import org.eclipse.xtext.common.types.JvmInnerTypeReference; +import org.eclipse.xtext.common.types.JvmLowerBound; +import org.eclipse.xtext.common.types.JvmParameterizedTypeReference; +import org.eclipse.xtext.common.types.JvmTypeParameter; +import org.eclipse.xtext.common.types.JvmUpperBound; +import org.eclipse.xtext.common.types.JvmWildcardTypeReference; +import org.eclipse.xtext.common.types.TypesPackage; +import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor; +import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; +import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider; +import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor; +import org.eclipse.xtext.serializer.sequencer.GenericSequencer; +import org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ITransientValueService; +import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; +import org.eclipse.xtext.xbase.XAssignment; +import org.eclipse.xtext.xbase.XBasicForLoopExpression; +import org.eclipse.xtext.xbase.XBinaryOperation; +import org.eclipse.xtext.xbase.XBlockExpression; +import org.eclipse.xtext.xbase.XBooleanLiteral; +import org.eclipse.xtext.xbase.XCasePart; +import org.eclipse.xtext.xbase.XCastedExpression; +import org.eclipse.xtext.xbase.XCatchClause; +import org.eclipse.xtext.xbase.XClosure; +import org.eclipse.xtext.xbase.XConstructorCall; +import org.eclipse.xtext.xbase.XDoWhileExpression; +import org.eclipse.xtext.xbase.XFeatureCall; +import org.eclipse.xtext.xbase.XForLoopExpression; +import org.eclipse.xtext.xbase.XIfExpression; +import org.eclipse.xtext.xbase.XInstanceOfExpression; +import org.eclipse.xtext.xbase.XListLiteral; +import org.eclipse.xtext.xbase.XMemberFeatureCall; +import org.eclipse.xtext.xbase.XNullLiteral; +import org.eclipse.xtext.xbase.XNumberLiteral; +import org.eclipse.xtext.xbase.XPostfixOperation; +import org.eclipse.xtext.xbase.XReturnExpression; +import org.eclipse.xtext.xbase.XSetLiteral; +import org.eclipse.xtext.xbase.XStringLiteral; +import org.eclipse.xtext.xbase.XSwitchExpression; +import org.eclipse.xtext.xbase.XSynchronizedExpression; +import org.eclipse.xtext.xbase.XThrowExpression; +import org.eclipse.xtext.xbase.XTryCatchFinallyExpression; +import org.eclipse.xtext.xbase.XTypeLiteral; +import org.eclipse.xtext.xbase.XUnaryOperation; +import org.eclipse.xtext.xbase.XVariableDeclaration; +import org.eclipse.xtext.xbase.XWhileExpression; +import org.eclipse.xtext.xbase.XbasePackage; +import org.eclipse.xtext.xbase.annotations.serializer.XbaseWithAnnotationsSemanticSequencer; +import org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation; +import org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotationElementValuePair; +import org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotationsPackage; +import org.eclipse.xtext.xtype.XFunctionTypeRef; +import org.eclipse.xtext.xtype.XImportDeclaration; +import org.eclipse.xtext.xtype.XImportSection; +import org.eclipse.xtext.xtype.XtypePackage; + +@SuppressWarnings("all") +public class DialogDslSemanticSequencer extends XbaseWithAnnotationsSemanticSequencer { + + @Inject + private DialogDslGrammarAccess grammarAccess; + + public void createSequence(EObject context, EObject semanticObject) { + if(semanticObject.eClass().getEPackage() == DialogDSLPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case DialogDSLPackage.DIALOG: + if(context == grammarAccess.getDialogRule()) { + sequence_Dialog(context, (Dialog) semanticObject); + return; + } + else break; + case DialogDSLPackage.DIALOG_MODEL: + if(context == grammarAccess.getDialogModelRule()) { + sequence_DialogModel(context, (DialogModel) semanticObject); + return; + } + else break; + case DialogDSLPackage.DIALOG_PACKAGE: + if(context == grammarAccess.getDialogPackageRule()) { + sequence_DialogPackage(context, (DialogPackage) semanticObject); + return; + } + else break; + } + else if(semanticObject.eClass().getEPackage() == OSBPTypesPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case OSBPTypesPackage.LIMPORT: + if(context == grammarAccess.getDialogImportRule()) { + sequence_DialogImport(context, (LImport) semanticObject); + return; + } + else break; + } + else if(semanticObject.eClass().getEPackage() == TypesPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case TypesPackage.JVM_FORMAL_PARAMETER: + if(context == grammarAccess.getFullJvmFormalParameterRule()) { + sequence_FullJvmFormalParameter(context, (JvmFormalParameter) semanticObject); + return; + } + else if(context == grammarAccess.getJvmFormalParameterRule()) { + sequence_JvmFormalParameter(context, (JvmFormalParameter) semanticObject); + return; + } + else break; + case TypesPackage.JVM_GENERIC_ARRAY_TYPE_REFERENCE: + if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || + context == grammarAccess.getJvmTypeReferenceRule() || + context == grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()) { + sequence_JvmTypeReference(context, (JvmGenericArrayTypeReference) semanticObject); + return; + } + else break; + case TypesPackage.JVM_INNER_TYPE_REFERENCE: + if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || + context == grammarAccess.getJvmParameterizedTypeReferenceRule() || + context == grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0() || + context == grammarAccess.getJvmTypeReferenceRule() || + context == grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()) { + sequence_JvmParameterizedTypeReference(context, (JvmInnerTypeReference) semanticObject); + return; + } + else break; + case TypesPackage.JVM_LOWER_BOUND: + if(context == grammarAccess.getJvmLowerBoundAndedRule()) { + sequence_JvmLowerBoundAnded(context, (JvmLowerBound) semanticObject); + return; + } + else if(context == grammarAccess.getJvmLowerBoundRule()) { + sequence_JvmLowerBound(context, (JvmLowerBound) semanticObject); + return; + } + else break; + case TypesPackage.JVM_PARAMETERIZED_TYPE_REFERENCE: + if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || + context == grammarAccess.getJvmParameterizedTypeReferenceRule() || + context == grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0() || + context == grammarAccess.getJvmTypeReferenceRule() || + context == grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()) { + sequence_JvmParameterizedTypeReference(context, (JvmParameterizedTypeReference) semanticObject); + return; + } + else break; + case TypesPackage.JVM_TYPE_PARAMETER: + if(context == grammarAccess.getJvmTypeParameterRule()) { + sequence_JvmTypeParameter(context, (JvmTypeParameter) semanticObject); + return; + } + else break; + case TypesPackage.JVM_UPPER_BOUND: + if(context == grammarAccess.getJvmUpperBoundAndedRule()) { + sequence_JvmUpperBoundAnded(context, (JvmUpperBound) semanticObject); + return; + } + else if(context == grammarAccess.getJvmUpperBoundRule()) { + sequence_JvmUpperBound(context, (JvmUpperBound) semanticObject); + return; + } + else break; + case TypesPackage.JVM_WILDCARD_TYPE_REFERENCE: + if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || + context == grammarAccess.getJvmWildcardTypeReferenceRule()) { + sequence_JvmWildcardTypeReference(context, (JvmWildcardTypeReference) semanticObject); + return; + } + else break; + } + else if(semanticObject.eClass().getEPackage() == XAnnotationsPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case XAnnotationsPackage.XANNOTATION: + if(context == grammarAccess.getXAnnotationRule() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule()) { + sequence_XAnnotation(context, (XAnnotation) semanticObject); + return; + } + else break; + case XAnnotationsPackage.XANNOTATION_ELEMENT_VALUE_PAIR: + if(context == grammarAccess.getXAnnotationElementValuePairRule()) { + sequence_XAnnotationElementValuePair(context, (XAnnotationElementValuePair) semanticObject); + return; + } + else break; + } + else if(semanticObject.eClass().getEPackage() == XbasePackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case XbasePackage.XASSIGNMENT: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XAssignment_XMemberFeatureCall(context, (XAssignment) semanticObject); + return; + } + else break; + case XbasePackage.XBASIC_FOR_LOOP_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXBasicForLoopExpressionRule() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XBasicForLoopExpression(context, (XBasicForLoopExpression) semanticObject); + return; + } + else break; + case XbasePackage.XBINARY_OPERATION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XAdditiveExpression_XAndExpression_XAssignment_XEqualityExpression_XMultiplicativeExpression_XOrExpression_XOtherOperatorExpression_XRelationalExpression(context, (XBinaryOperation) semanticObject); + return; + } + else break; + case XbasePackage.XBLOCK_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXBlockExpressionRule() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XBlockExpression(context, (XBlockExpression) semanticObject); + return; + } + else if(context == grammarAccess.getXExpressionInClosureRule()) { + sequence_XExpressionInClosure(context, (XBlockExpression) semanticObject); + return; + } + else break; + case XbasePackage.XBOOLEAN_LITERAL: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXBooleanLiteralRule() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXLiteralRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XBooleanLiteral(context, (XBooleanLiteral) semanticObject); + return; + } + else break; + case XbasePackage.XCASE_PART: + if(context == grammarAccess.getXCasePartRule()) { + sequence_XCasePart(context, (XCasePart) semanticObject); + return; + } + else break; + case XbasePackage.XCASTED_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XCastedExpression(context, (XCastedExpression) semanticObject); + return; + } + else break; + case XbasePackage.XCATCH_CLAUSE: + if(context == grammarAccess.getXCatchClauseRule()) { + sequence_XCatchClause(context, (XCatchClause) semanticObject); + return; + } + else break; + case XbasePackage.XCLOSURE: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXClosureRule() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXLiteralRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XClosure(context, (XClosure) semanticObject); + return; + } + else if(context == grammarAccess.getXShortClosureRule()) { + sequence_XShortClosure(context, (XClosure) semanticObject); + return; + } + else break; + case XbasePackage.XCONSTRUCTOR_CALL: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXConstructorCallRule() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XConstructorCall(context, (XConstructorCall) semanticObject); + return; + } + else break; + case XbasePackage.XDO_WHILE_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXDoWhileExpressionRule() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XDoWhileExpression(context, (XDoWhileExpression) semanticObject); + return; + } + else break; + case XbasePackage.XFEATURE_CALL: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XFeatureCall(context, (XFeatureCall) semanticObject); + return; + } + else break; + case XbasePackage.XFOR_LOOP_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXForLoopExpressionRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XForLoopExpression(context, (XForLoopExpression) semanticObject); + return; + } + else break; + case XbasePackage.XIF_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXIfExpressionRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XIfExpression(context, (XIfExpression) semanticObject); + return; + } + else break; + case XbasePackage.XINSTANCE_OF_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XRelationalExpression(context, (XInstanceOfExpression) semanticObject); + return; + } + else break; + case XbasePackage.XLIST_LITERAL: + if(context == grammarAccess.getXAnnotationElementValueOrCommaListRule()) { + sequence_XAnnotationElementValueOrCommaList_XListLiteral(context, (XListLiteral) semanticObject); + return; + } + else if(context == grammarAccess.getXAnnotationElementValueRule()) { + sequence_XAnnotationElementValue_XListLiteral(context, (XListLiteral) semanticObject); + return; + } + else if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXCollectionLiteralRule() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXListLiteralRule() || + context == grammarAccess.getXLiteralRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XListLiteral(context, (XListLiteral) semanticObject); + return; + } + else break; + case XbasePackage.XMEMBER_FEATURE_CALL: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XMemberFeatureCall(context, (XMemberFeatureCall) semanticObject); + return; + } + else break; + case XbasePackage.XNULL_LITERAL: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXLiteralRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXNullLiteralRule() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XNullLiteral(context, (XNullLiteral) semanticObject); + return; + } + else break; + case XbasePackage.XNUMBER_LITERAL: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXLiteralRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXNumberLiteralRule() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XNumberLiteral(context, (XNumberLiteral) semanticObject); + return; + } + else break; + case XbasePackage.XPOSTFIX_OPERATION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XPostfixOperation(context, (XPostfixOperation) semanticObject); + return; + } + else break; + case XbasePackage.XRETURN_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXReturnExpressionRule() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XReturnExpression(context, (XReturnExpression) semanticObject); + return; + } + else break; + case XbasePackage.XSET_LITERAL: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXCollectionLiteralRule() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXLiteralRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXSetLiteralRule() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XSetLiteral(context, (XSetLiteral) semanticObject); + return; + } + else break; + case XbasePackage.XSTRING_LITERAL: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXLiteralRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXStringLiteralRule() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XStringLiteral(context, (XStringLiteral) semanticObject); + return; + } + else break; + case XbasePackage.XSWITCH_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXSwitchExpressionRule() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XSwitchExpression(context, (XSwitchExpression) semanticObject); + return; + } + else break; + case XbasePackage.XSYNCHRONIZED_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXSynchronizedExpressionRule() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XSynchronizedExpression(context, (XSynchronizedExpression) semanticObject); + return; + } + else break; + case XbasePackage.XTHROW_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXThrowExpressionRule() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XThrowExpression(context, (XThrowExpression) semanticObject); + return; + } + else break; + case XbasePackage.XTRY_CATCH_FINALLY_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXTryCatchFinallyExpressionRule() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XTryCatchFinallyExpression(context, (XTryCatchFinallyExpression) semanticObject); + return; + } + else break; + case XbasePackage.XTYPE_LITERAL: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXLiteralRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXTypeLiteralRule() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XTypeLiteral(context, (XTypeLiteral) semanticObject); + return; + } + else break; + case XbasePackage.XUNARY_OPERATION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule()) { + sequence_XUnaryOperation(context, (XUnaryOperation) semanticObject); + return; + } + else break; + case XbasePackage.XVARIABLE_DECLARATION: + if(context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXVariableDeclarationRule()) { + sequence_XVariableDeclaration(context, (XVariableDeclaration) semanticObject); + return; + } + else break; + case XbasePackage.XWHILE_EXPRESSION: + if(context == grammarAccess.getXAdditiveExpressionRule() || + context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAndExpressionRule() || + context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXAnnotationElementValueRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || + context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || + context == grammarAccess.getXAnnotationOrExpressionRule() || + context == grammarAccess.getXAssignmentRule() || + context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXCastedExpressionRule() || + context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || + context == grammarAccess.getXEqualityExpressionRule() || + context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXExpressionRule() || + context == grammarAccess.getXExpressionOrVarDeclarationRule() || + context == grammarAccess.getXMemberFeatureCallRule() || + context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || + context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || + context == grammarAccess.getXMultiplicativeExpressionRule() || + context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOrExpressionRule() || + context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXOtherOperatorExpressionRule() || + context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || + context == grammarAccess.getXParenthesizedExpressionRule() || + context == grammarAccess.getXPostfixOperationRule() || + context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || + context == grammarAccess.getXPrimaryExpressionRule() || + context == grammarAccess.getXRelationalExpressionRule() || + context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || + context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || + context == grammarAccess.getXUnaryOperationRule() || + context == grammarAccess.getXWhileExpressionRule()) { + sequence_XWhileExpression(context, (XWhileExpression) semanticObject); + return; + } + else break; + } + else if(semanticObject.eClass().getEPackage() == XtypePackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case XtypePackage.XFUNCTION_TYPE_REF: + if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || + context == grammarAccess.getJvmTypeReferenceRule() || + context == grammarAccess.getXFunctionTypeRefRule()) { + sequence_XFunctionTypeRef(context, (XFunctionTypeRef) semanticObject); + return; + } + else break; + case XtypePackage.XIMPORT_DECLARATION: + if(context == grammarAccess.getXImportDeclarationRule()) { + sequence_XImportDeclaration(context, (XImportDeclaration) semanticObject); + return; + } + else break; + case XtypePackage.XIMPORT_SECTION: + if(context == grammarAccess.getXImportSectionRule()) { + sequence_XImportSection(context, (XImportSection) semanticObject); + return; + } + else break; + } + if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); + } + + /** + * Constraint: + * importedNamespace=DialogQualifiedNameWithWildCard + */ + protected void sequence_DialogImport(EObject context, LImport semanticObject) { + if(errorAcceptor != null) { + if(transientValues.isValueTransient(semanticObject, OSBPTypesPackage.Literals.LIMPORT__IMPORTED_NAMESPACE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OSBPTypesPackage.Literals.LIMPORT__IMPORTED_NAMESPACE)); + } + INodesForEObjectProvider nodes = createNodeProvider(semanticObject); + SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); + feeder.accept(grammarAccess.getDialogImportAccess().getImportedNamespaceDialogQualifiedNameWithWildCardParserRuleCall_1_0(), semanticObject.getImportedNamespace()); + feeder.finish(); + } + + + /** + * Constraint: + * pckg=DialogPackage + */ + protected void sequence_DialogModel(EObject context, DialogModel semanticObject) { + if(errorAcceptor != null) { + if(transientValues.isValueTransient(semanticObject, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG)); + } + INodesForEObjectProvider nodes = createNodeProvider(semanticObject); + SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); + feeder.accept(grammarAccess.getDialogModelAccess().getPckgDialogPackageParserRuleCall_1_0(), semanticObject.getPckg()); + feeder.finish(); + } + + + /** + * Constraint: + * (name=QualifiedName (imports+=DialogImport* dialogs+=Dialog*)?) + */ + protected void sequence_DialogPackage(EObject context, DialogPackage semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * ( + * name=ID + * (description?='described by' descriptionValue=TRANSLATABLESTRING)? + * (uiView=[UiView|TYPE_CROSS_REFERENCE] | (autowire?='autobinding' dto=[LDto|TYPE_CROSS_REFERENCE])) + * (embedded?='embedded' | pure?='pure')? + * stateful?='stateful'? + * toolbar=[ActionToolbar|TYPE_CROSS_REFERENCE]? + * ) + */ + protected void sequence_Dialog(EObject context, Dialog semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/serializer/DialogDslSyntacticSequencer.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/serializer/DialogDslSyntacticSequencer.java new file mode 100644 index 0000000..51185cb --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/serializer/DialogDslSyntacticSequencer.java @@ -0,0 +1,179 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.serializer; + +import com.google.inject.Inject; +import java.util.List; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.osbp.xtext.dialogdsl.services.DialogDslGrammarAccess; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.nodemodel.INode; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.GroupAlias; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias; +import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; +import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; +import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; + +@SuppressWarnings("all") +public class DialogDslSyntacticSequencer extends AbstractSyntacticSequencer { + + protected DialogDslGrammarAccess grammarAccess; + protected AbstractElementAlias match_DialogPackage___LeftCurlyBracketKeyword_2_0_RightCurlyBracketKeyword_2_3__q; + protected AbstractElementAlias match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q; + protected AbstractElementAlias match_XBlockExpression_SemicolonKeyword_2_1_q; + protected AbstractElementAlias match_XExpressionInClosure_SemicolonKeyword_1_1_q; + protected AbstractElementAlias match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q; + protected AbstractElementAlias match_XImportDeclaration_SemicolonKeyword_2_q; + protected AbstractElementAlias match_XParenthesizedExpression_LeftParenthesisKeyword_0_a; + protected AbstractElementAlias match_XParenthesizedExpression_LeftParenthesisKeyword_0_p; + + @Inject + protected void init(IGrammarAccess access) { + grammarAccess = (DialogDslGrammarAccess) access; + match_DialogPackage___LeftCurlyBracketKeyword_2_0_RightCurlyBracketKeyword_2_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDialogPackageAccess().getLeftCurlyBracketKeyword_2_0()), new TokenAlias(false, false, grammarAccess.getDialogPackageAccess().getRightCurlyBracketKeyword_2_3())); + match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2())); + match_XBlockExpression_SemicolonKeyword_2_1_q = new TokenAlias(false, true, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1()); + match_XExpressionInClosure_SemicolonKeyword_1_1_q = new TokenAlias(false, true, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1()); + match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()), new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2())); + match_XImportDeclaration_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); + match_XParenthesizedExpression_LeftParenthesisKeyword_0_a = new TokenAlias(true, true, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); + match_XParenthesizedExpression_LeftParenthesisKeyword_0_p = new TokenAlias(true, false, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); + } + + @Override + protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { + if(ruleCall.getRule() == grammarAccess.getArrayBracketsRule()) + return getArrayBracketsToken(semanticObject, ruleCall, node); + else if(ruleCall.getRule() == grammarAccess.getOpSingleAssignRule()) + return getOpSingleAssignToken(semanticObject, ruleCall, node); + return ""; + } + + /** + * ArrayBrackets : + * '[' ']' + * ; + */ + protected String getArrayBracketsToken(EObject semanticObject, RuleCall ruleCall, INode node) { + if (node != null) + return getTokenText(node); + return "[]"; + } + + /** + * OpSingleAssign: + * '=' + * ; + */ + protected String getOpSingleAssignToken(EObject semanticObject, RuleCall ruleCall, INode node) { + if (node != null) + return getTokenText(node); + return "="; + } + + @Override + protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { + if (transition.getAmbiguousSyntaxes().isEmpty()) return; + List<INode> transitionNodes = collectNodes(fromNode, toNode); + for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { + List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); + if(match_DialogPackage___LeftCurlyBracketKeyword_2_0_RightCurlyBracketKeyword_2_3__q.equals(syntax)) + emit_DialogPackage___LeftCurlyBracketKeyword_2_0_RightCurlyBracketKeyword_2_3__q(semanticObject, getLastNavigableState(), syntaxNodes); + else if(match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q.equals(syntax)) + emit_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes); + else if(match_XBlockExpression_SemicolonKeyword_2_1_q.equals(syntax)) + emit_XBlockExpression_SemicolonKeyword_2_1_q(semanticObject, getLastNavigableState(), syntaxNodes); + else if(match_XExpressionInClosure_SemicolonKeyword_1_1_q.equals(syntax)) + emit_XExpressionInClosure_SemicolonKeyword_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes); + else if(match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q.equals(syntax)) + emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q(semanticObject, getLastNavigableState(), syntaxNodes); + else if(match_XImportDeclaration_SemicolonKeyword_2_q.equals(syntax)) + emit_XImportDeclaration_SemicolonKeyword_2_q(semanticObject, getLastNavigableState(), syntaxNodes); + else if(match_XParenthesizedExpression_LeftParenthesisKeyword_0_a.equals(syntax)) + emit_XParenthesizedExpression_LeftParenthesisKeyword_0_a(semanticObject, getLastNavigableState(), syntaxNodes); + else if(match_XParenthesizedExpression_LeftParenthesisKeyword_0_p.equals(syntax)) + emit_XParenthesizedExpression_LeftParenthesisKeyword_0_p(semanticObject, getLastNavigableState(), syntaxNodes); + else acceptNodes(getLastNavigableState(), syntaxNodes); + } + } + + /** + * Syntax: + * ('{' '}')? + */ + protected void emit_DialogPackage___LeftCurlyBracketKeyword_2_0_RightCurlyBracketKeyword_2_3__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { + acceptNodes(transition, nodes); + } + + /** + * Syntax: + * ('(' ')')? + */ + protected void emit_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { + acceptNodes(transition, nodes); + } + + /** + * Syntax: + * ';'? + */ + protected void emit_XBlockExpression_SemicolonKeyword_2_1_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { + acceptNodes(transition, nodes); + } + + /** + * Syntax: + * ';'? + */ + protected void emit_XExpressionInClosure_SemicolonKeyword_1_1_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { + acceptNodes(transition, nodes); + } + + /** + * Syntax: + * ('(' ')')? + */ + protected void emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { + acceptNodes(transition, nodes); + } + + /** + * Syntax: + * ';'? + */ + protected void emit_XImportDeclaration_SemicolonKeyword_2_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { + acceptNodes(transition, nodes); + } + + /** + * Syntax: + * '('* + */ + protected void emit_XParenthesizedExpression_LeftParenthesisKeyword_0_a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { + acceptNodes(transition, nodes); + } + + /** + * Syntax: + * '('+ + */ + protected void emit_XParenthesizedExpression_LeftParenthesisKeyword_0_p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { + acceptNodes(transition, nodes); + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/services/DialogDslGrammarAccess.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/services/DialogDslGrammarAccess.java new file mode 100644 index 0000000..4377ce2 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/services/DialogDslGrammarAccess.java @@ -0,0 +1,1398 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.services; + +import com.google.inject.Singleton; +import com.google.inject.Inject; + +import java.util.List; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.service.GrammarProvider; +import org.eclipse.xtext.service.AbstractElementFinder.*; + +import org.eclipse.xtext.xbase.annotations.services.XbaseWithAnnotationsGrammarAccess; +import org.eclipse.xtext.xbase.services.XbaseGrammarAccess; +import org.eclipse.xtext.xbase.services.XtypeGrammarAccess; + +@Singleton +public class DialogDslGrammarAccess extends AbstractGrammarElementFinder { + + + public class DialogModelElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DialogModel"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cDialogModelAction_0 = (Action)cGroup.eContents().get(0); + private final Assignment cPckgAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cPckgDialogPackageParserRuleCall_1_0 = (RuleCall)cPckgAssignment_1.eContents().get(0); + + //DialogModel: + // {DialogModel} pckg=DialogPackage; + public ParserRule getRule() { return rule; } + + //{DialogModel} pckg=DialogPackage + public Group getGroup() { return cGroup; } + + //{DialogModel} + public Action getDialogModelAction_0() { return cDialogModelAction_0; } + + //pckg=DialogPackage + public Assignment getPckgAssignment_1() { return cPckgAssignment_1; } + + //DialogPackage + public RuleCall getPckgDialogPackageParserRuleCall_1_0() { return cPckgDialogPackageParserRuleCall_1_0; } + } + + public class DialogPackageElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DialogPackage"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cLeftCurlyBracketKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cImportsAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cImportsDialogImportParserRuleCall_2_1_0 = (RuleCall)cImportsAssignment_2_1.eContents().get(0); + private final Assignment cDialogsAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); + private final RuleCall cDialogsDialogParserRuleCall_2_2_0 = (RuleCall)cDialogsAssignment_2_2.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_2_3 = (Keyword)cGroup_2.eContents().get(3); + + //DialogPackage: + // "package" name=QualifiedName ("{" imports+=DialogImport* dialogs+=Dialog* "}")?; + public ParserRule getRule() { return rule; } + + //"package" name=QualifiedName ("{" imports+=DialogImport* dialogs+=Dialog* "}")? + public Group getGroup() { return cGroup; } + + //"package" + public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } + + //name=QualifiedName + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //QualifiedName + public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } + + //("{" imports+=DialogImport* dialogs+=Dialog* "}")? + public Group getGroup_2() { return cGroup_2; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2_0() { return cLeftCurlyBracketKeyword_2_0; } + + //imports+=DialogImport* + public Assignment getImportsAssignment_2_1() { return cImportsAssignment_2_1; } + + //DialogImport + public RuleCall getImportsDialogImportParserRuleCall_2_1_0() { return cImportsDialogImportParserRuleCall_2_1_0; } + + //dialogs+=Dialog* + public Assignment getDialogsAssignment_2_2() { return cDialogsAssignment_2_2; } + + //Dialog + public RuleCall getDialogsDialogParserRuleCall_2_2_0() { return cDialogsDialogParserRuleCall_2_2_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_2_3() { return cRightCurlyBracketKeyword_2_3; } + } + + public class DialogImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DialogImport"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cImportedNamespaceAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cImportedNamespaceDialogQualifiedNameWithWildCardParserRuleCall_1_0 = (RuleCall)cImportedNamespaceAssignment_1.eContents().get(0); + + //DialogImport returns types::LImport: + // "import" importedNamespace=DialogQualifiedNameWithWildCard; + public ParserRule getRule() { return rule; } + + //"import" importedNamespace=DialogQualifiedNameWithWildCard + public Group getGroup() { return cGroup; } + + //"import" + public Keyword getImportKeyword_0() { return cImportKeyword_0; } + + //importedNamespace=DialogQualifiedNameWithWildCard + public Assignment getImportedNamespaceAssignment_1() { return cImportedNamespaceAssignment_1; } + + //DialogQualifiedNameWithWildCard + public RuleCall getImportedNamespaceDialogQualifiedNameWithWildCardParserRuleCall_1_0() { return cImportedNamespaceDialogQualifiedNameWithWildCardParserRuleCall_1_0; } + } + + public class DialogElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Dialog"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cDialogAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cDialogKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Assignment cDescriptionAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); + private final Keyword cDescriptionDescribedByKeyword_3_0_0 = (Keyword)cDescriptionAssignment_3_0.eContents().get(0); + private final Assignment cDescriptionValueAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final RuleCall cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0 = (RuleCall)cDescriptionValueAssignment_3_1.eContents().get(0); + private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4); + private final Group cGroup_4_0 = (Group)cAlternatives_4.eContents().get(0); + private final Keyword cViewKeyword_4_0_0 = (Keyword)cGroup_4_0.eContents().get(0); + private final Assignment cUiViewAssignment_4_0_1 = (Assignment)cGroup_4_0.eContents().get(1); + private final CrossReference cUiViewUiViewCrossReference_4_0_1_0 = (CrossReference)cUiViewAssignment_4_0_1.eContents().get(0); + private final RuleCall cUiViewUiViewTYPE_CROSS_REFERENCEParserRuleCall_4_0_1_0_1 = (RuleCall)cUiViewUiViewCrossReference_4_0_1_0.eContents().get(1); + private final Group cGroup_4_1 = (Group)cAlternatives_4.eContents().get(1); + private final Assignment cAutowireAssignment_4_1_0 = (Assignment)cGroup_4_1.eContents().get(0); + private final Keyword cAutowireAutobindingKeyword_4_1_0_0 = (Keyword)cAutowireAssignment_4_1_0.eContents().get(0); + private final Assignment cDtoAssignment_4_1_1 = (Assignment)cGroup_4_1.eContents().get(1); + private final CrossReference cDtoLDtoCrossReference_4_1_1_0 = (CrossReference)cDtoAssignment_4_1_1.eContents().get(0); + private final RuleCall cDtoLDtoTYPE_CROSS_REFERENCEParserRuleCall_4_1_1_0_1 = (RuleCall)cDtoLDtoCrossReference_4_1_1_0.eContents().get(1); + private final UnorderedGroup cUnorderedGroup_5 = (UnorderedGroup)cGroup.eContents().get(5); + private final Alternatives cAlternatives_5_0 = (Alternatives)cUnorderedGroup_5.eContents().get(0); + private final Assignment cEmbeddedAssignment_5_0_0 = (Assignment)cAlternatives_5_0.eContents().get(0); + private final Keyword cEmbeddedEmbeddedKeyword_5_0_0_0 = (Keyword)cEmbeddedAssignment_5_0_0.eContents().get(0); + private final Assignment cPureAssignment_5_0_1 = (Assignment)cAlternatives_5_0.eContents().get(1); + private final Keyword cPurePureKeyword_5_0_1_0 = (Keyword)cPureAssignment_5_0_1.eContents().get(0); + private final Assignment cStatefulAssignment_5_1 = (Assignment)cUnorderedGroup_5.eContents().get(1); + private final Keyword cStatefulStatefulKeyword_5_1_0 = (Keyword)cStatefulAssignment_5_1.eContents().get(0); + private final Group cGroup_5_2 = (Group)cUnorderedGroup_5.eContents().get(2); + private final Keyword cToolbarKeyword_5_2_0 = (Keyword)cGroup_5_2.eContents().get(0); + private final Assignment cToolbarAssignment_5_2_1 = (Assignment)cGroup_5_2.eContents().get(1); + private final CrossReference cToolbarActionToolbarCrossReference_5_2_1_0 = (CrossReference)cToolbarAssignment_5_2_1.eContents().get(0); + private final RuleCall cToolbarActionToolbarTYPE_CROSS_REFERENCEParserRuleCall_5_2_1_0_1 = (RuleCall)cToolbarActionToolbarCrossReference_5_2_1_0.eContents().get(1); + + //Dialog: + // {Dialog} "dialog" name=ID (description?="described by" descriptionValue=TRANSLATABLESTRING)? ("view" + // uiView=[uimodel::UiView|TYPE_CROSS_REFERENCE] | autowire?="autobinding" dto=[dto::LDto|TYPE_CROSS_REFERENCE]) + // ((embedded?="embedded" | pure?="pure")? & stateful?="stateful"? & ("toolbar" + // toolbar=[action::ActionToolbar|TYPE_CROSS_REFERENCE])?); + public ParserRule getRule() { return rule; } + + //{Dialog} "dialog" name=ID (description?="described by" descriptionValue=TRANSLATABLESTRING)? ("view" + //uiView=[uimodel::UiView|TYPE_CROSS_REFERENCE] | autowire?="autobinding" dto=[dto::LDto|TYPE_CROSS_REFERENCE]) + //((embedded?="embedded" | pure?="pure")? & stateful?="stateful"? & ("toolbar" + //toolbar=[action::ActionToolbar|TYPE_CROSS_REFERENCE])?) + public Group getGroup() { return cGroup; } + + //{Dialog} + public Action getDialogAction_0() { return cDialogAction_0; } + + //"dialog" + public Keyword getDialogKeyword_1() { return cDialogKeyword_1; } + + //name=ID + public Assignment getNameAssignment_2() { return cNameAssignment_2; } + + //ID + public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } + + //(description?="described by" descriptionValue=TRANSLATABLESTRING)? + public Group getGroup_3() { return cGroup_3; } + + //description?="described by" + public Assignment getDescriptionAssignment_3_0() { return cDescriptionAssignment_3_0; } + + //"described by" + public Keyword getDescriptionDescribedByKeyword_3_0_0() { return cDescriptionDescribedByKeyword_3_0_0; } + + //descriptionValue=TRANSLATABLESTRING + public Assignment getDescriptionValueAssignment_3_1() { return cDescriptionValueAssignment_3_1; } + + //TRANSLATABLESTRING + public RuleCall getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0() { return cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0; } + + //"view" uiView=[uimodel::UiView|TYPE_CROSS_REFERENCE] | autowire?="autobinding" dto=[dto::LDto|TYPE_CROSS_REFERENCE] + public Alternatives getAlternatives_4() { return cAlternatives_4; } + + //"view" uiView=[uimodel::UiView|TYPE_CROSS_REFERENCE] + public Group getGroup_4_0() { return cGroup_4_0; } + + //"view" + public Keyword getViewKeyword_4_0_0() { return cViewKeyword_4_0_0; } + + //uiView=[uimodel::UiView|TYPE_CROSS_REFERENCE] + public Assignment getUiViewAssignment_4_0_1() { return cUiViewAssignment_4_0_1; } + + //[uimodel::UiView|TYPE_CROSS_REFERENCE] + public CrossReference getUiViewUiViewCrossReference_4_0_1_0() { return cUiViewUiViewCrossReference_4_0_1_0; } + + //TYPE_CROSS_REFERENCE + public RuleCall getUiViewUiViewTYPE_CROSS_REFERENCEParserRuleCall_4_0_1_0_1() { return cUiViewUiViewTYPE_CROSS_REFERENCEParserRuleCall_4_0_1_0_1; } + + //autowire?="autobinding" dto=[dto::LDto|TYPE_CROSS_REFERENCE] + public Group getGroup_4_1() { return cGroup_4_1; } + + //autowire?="autobinding" + public Assignment getAutowireAssignment_4_1_0() { return cAutowireAssignment_4_1_0; } + + //"autobinding" + public Keyword getAutowireAutobindingKeyword_4_1_0_0() { return cAutowireAutobindingKeyword_4_1_0_0; } + + //dto=[dto::LDto|TYPE_CROSS_REFERENCE] + public Assignment getDtoAssignment_4_1_1() { return cDtoAssignment_4_1_1; } + + //[dto::LDto|TYPE_CROSS_REFERENCE] + public CrossReference getDtoLDtoCrossReference_4_1_1_0() { return cDtoLDtoCrossReference_4_1_1_0; } + + //TYPE_CROSS_REFERENCE + public RuleCall getDtoLDtoTYPE_CROSS_REFERENCEParserRuleCall_4_1_1_0_1() { return cDtoLDtoTYPE_CROSS_REFERENCEParserRuleCall_4_1_1_0_1; } + + //(embedded?="embedded" | pure?="pure")? & stateful?="stateful"? & ("toolbar" + //toolbar=[action::ActionToolbar|TYPE_CROSS_REFERENCE])? + public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; } + + //(embedded?="embedded" | pure?="pure")? + public Alternatives getAlternatives_5_0() { return cAlternatives_5_0; } + + //embedded?="embedded" + public Assignment getEmbeddedAssignment_5_0_0() { return cEmbeddedAssignment_5_0_0; } + + //"embedded" + public Keyword getEmbeddedEmbeddedKeyword_5_0_0_0() { return cEmbeddedEmbeddedKeyword_5_0_0_0; } + + //pure?="pure" + public Assignment getPureAssignment_5_0_1() { return cPureAssignment_5_0_1; } + + //"pure" + public Keyword getPurePureKeyword_5_0_1_0() { return cPurePureKeyword_5_0_1_0; } + + //stateful?="stateful"? + public Assignment getStatefulAssignment_5_1() { return cStatefulAssignment_5_1; } + + //"stateful" + public Keyword getStatefulStatefulKeyword_5_1_0() { return cStatefulStatefulKeyword_5_1_0; } + + //("toolbar" toolbar=[action::ActionToolbar|TYPE_CROSS_REFERENCE])? + public Group getGroup_5_2() { return cGroup_5_2; } + + //"toolbar" + public Keyword getToolbarKeyword_5_2_0() { return cToolbarKeyword_5_2_0; } + + //toolbar=[action::ActionToolbar|TYPE_CROSS_REFERENCE] + public Assignment getToolbarAssignment_5_2_1() { return cToolbarAssignment_5_2_1; } + + //[action::ActionToolbar|TYPE_CROSS_REFERENCE] + public CrossReference getToolbarActionToolbarCrossReference_5_2_1_0() { return cToolbarActionToolbarCrossReference_5_2_1_0; } + + //TYPE_CROSS_REFERENCE + public RuleCall getToolbarActionToolbarTYPE_CROSS_REFERENCEParserRuleCall_5_2_1_0_1() { return cToolbarActionToolbarTYPE_CROSS_REFERENCEParserRuleCall_5_2_1_0_1; } + } + + public class DialogQualifiedNameWithWildCardElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DialogQualifiedNameWithWildCard"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cQualifiedNameParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final Keyword cAsteriskKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); + + //DialogQualifiedNameWithWildCard: + // QualifiedName ("." "*")?; + public ParserRule getRule() { return rule; } + + //QualifiedName ("." "*")? + public Group getGroup() { return cGroup; } + + //QualifiedName + public RuleCall getQualifiedNameParserRuleCall_0() { return cQualifiedNameParserRuleCall_0; } + + //("." "*")? + public Group getGroup_1() { return cGroup_1; } + + //"." + public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + + //"*" + public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; } + } + + public class TRANSLATABLESTRINGElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TRANSLATABLESTRING"); + private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + //TRANSLATABLESTRING: + // STRING; + public ParserRule getRule() { return rule; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } + } + + public class TYPE_CROSS_REFERENCEElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TYPE_CROSS_REFERENCE"); + private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1); + + //TYPE_CROSS_REFERENCE: + // ID; + public ParserRule getRule() { return rule; } + + //ID + public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; } + } + + + private final DialogModelElements pDialogModel; + private final DialogPackageElements pDialogPackage; + private final DialogImportElements pDialogImport; + private final DialogElements pDialog; + private final DialogQualifiedNameWithWildCardElements pDialogQualifiedNameWithWildCard; + private final TRANSLATABLESTRINGElements pTRANSLATABLESTRING; + private final TYPE_CROSS_REFERENCEElements pTYPE_CROSS_REFERENCE; + + private final Grammar grammar; + + private final XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations; + + @Inject + public DialogDslGrammarAccess(GrammarProvider grammarProvider, + XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations) { + this.grammar = internalFindGrammar(grammarProvider); + this.gaXbaseWithAnnotations = gaXbaseWithAnnotations; + this.pDialogModel = new DialogModelElements(); + this.pDialogPackage = new DialogPackageElements(); + this.pDialogImport = new DialogImportElements(); + this.pDialog = new DialogElements(); + this.pDialogQualifiedNameWithWildCard = new DialogQualifiedNameWithWildCardElements(); + this.pTRANSLATABLESTRING = new TRANSLATABLESTRINGElements(); + this.pTYPE_CROSS_REFERENCE = new TYPE_CROSS_REFERENCEElements(); + } + + protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { + Grammar grammar = grammarProvider.getGrammar(this); + while (grammar != null) { + if ("org.eclipse.osbp.xtext.dialogdsl.DialogDsl".equals(grammar.getName())) { + return grammar; + } + List<Grammar> grammars = grammar.getUsedGrammars(); + if (!grammars.isEmpty()) { + grammar = grammars.iterator().next(); + } else { + return null; + } + } + return grammar; + } + + + public Grammar getGrammar() { + return grammar; + } + + + public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() { + return gaXbaseWithAnnotations; + } + + + //DialogModel: + // {DialogModel} pckg=DialogPackage; + public DialogModelElements getDialogModelAccess() { + return pDialogModel; + } + + public ParserRule getDialogModelRule() { + return getDialogModelAccess().getRule(); + } + + //DialogPackage: + // "package" name=QualifiedName ("{" imports+=DialogImport* dialogs+=Dialog* "}")?; + public DialogPackageElements getDialogPackageAccess() { + return pDialogPackage; + } + + public ParserRule getDialogPackageRule() { + return getDialogPackageAccess().getRule(); + } + + //DialogImport returns types::LImport: + // "import" importedNamespace=DialogQualifiedNameWithWildCard; + public DialogImportElements getDialogImportAccess() { + return pDialogImport; + } + + public ParserRule getDialogImportRule() { + return getDialogImportAccess().getRule(); + } + + //Dialog: + // {Dialog} "dialog" name=ID (description?="described by" descriptionValue=TRANSLATABLESTRING)? ("view" + // uiView=[uimodel::UiView|TYPE_CROSS_REFERENCE] | autowire?="autobinding" dto=[dto::LDto|TYPE_CROSS_REFERENCE]) + // ((embedded?="embedded" | pure?="pure")? & stateful?="stateful"? & ("toolbar" + // toolbar=[action::ActionToolbar|TYPE_CROSS_REFERENCE])?); + public DialogElements getDialogAccess() { + return pDialog; + } + + public ParserRule getDialogRule() { + return getDialogAccess().getRule(); + } + + //DialogQualifiedNameWithWildCard: + // QualifiedName ("." "*")?; + public DialogQualifiedNameWithWildCardElements getDialogQualifiedNameWithWildCardAccess() { + return pDialogQualifiedNameWithWildCard; + } + + public ParserRule getDialogQualifiedNameWithWildCardRule() { + return getDialogQualifiedNameWithWildCardAccess().getRule(); + } + + //TRANSLATABLESTRING: + // STRING; + public TRANSLATABLESTRINGElements getTRANSLATABLESTRINGAccess() { + return pTRANSLATABLESTRING; + } + + public ParserRule getTRANSLATABLESTRINGRule() { + return getTRANSLATABLESTRINGAccess().getRule(); + } + + //TYPE_CROSS_REFERENCE: + // ID; + public TYPE_CROSS_REFERENCEElements getTYPE_CROSS_REFERENCEAccess() { + return pTYPE_CROSS_REFERENCE; + } + + public ParserRule getTYPE_CROSS_REFERENCERule() { + return getTYPE_CROSS_REFERENCEAccess().getRule(); + } + + //XAnnotation: + // {XAnnotation} "@" annotationType=[types::JvmAnnotationType|QualifiedName] ("(" + // (elementValuePairs+=XAnnotationElementValuePair ("," elementValuePairs+=XAnnotationElementValuePair)* | + // value=XAnnotationElementValueOrCommaList)? ")")?; + public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() { + return gaXbaseWithAnnotations.getXAnnotationAccess(); + } + + public ParserRule getXAnnotationRule() { + return getXAnnotationAccess().getRule(); + } + + //XAnnotationElementValuePair: + // => (element=[types::JvmOperation|ValidID] "=") value=XAnnotationElementValue; + public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() { + return gaXbaseWithAnnotations.getXAnnotationElementValuePairAccess(); + } + + public ParserRule getXAnnotationElementValuePairRule() { + return getXAnnotationElementValuePairAccess().getRule(); + } + + //XAnnotationElementValueOrCommaList returns xbase::XExpression: + // => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" + // | XAnnotationOrExpression ({xbase::XListLiteral.elements+=current} ("," elements+=XAnnotationOrExpression)+)?; + public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() { + return gaXbaseWithAnnotations.getXAnnotationElementValueOrCommaListAccess(); + } + + public ParserRule getXAnnotationElementValueOrCommaListRule() { + return getXAnnotationElementValueOrCommaListAccess().getRule(); + } + + //XAnnotationElementValue returns xbase::XExpression: + // => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" + // | XAnnotationOrExpression; + public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() { + return gaXbaseWithAnnotations.getXAnnotationElementValueAccess(); + } + + public ParserRule getXAnnotationElementValueRule() { + return getXAnnotationElementValueAccess().getRule(); + } + + //XAnnotationOrExpression returns xbase::XExpression: + // XAnnotation | XExpression; + public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() { + return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess(); + } + + public ParserRule getXAnnotationOrExpressionRule() { + return getXAnnotationOrExpressionAccess().getRule(); + } + + //XExpression: + // XAssignment; + public XbaseGrammarAccess.XExpressionElements getXExpressionAccess() { + return gaXbaseWithAnnotations.getXExpressionAccess(); + } + + public ParserRule getXExpressionRule() { + return getXExpressionAccess().getRule(); + } + + //XAssignment returns XExpression: + // {XAssignment} feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign value=XAssignment | XOrExpression + // (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMultiAssign]) + // rightOperand=XAssignment)?; + public XbaseGrammarAccess.XAssignmentElements getXAssignmentAccess() { + return gaXbaseWithAnnotations.getXAssignmentAccess(); + } + + public ParserRule getXAssignmentRule() { + return getXAssignmentAccess().getRule(); + } + + //OpSingleAssign: + // "="; + public XbaseGrammarAccess.OpSingleAssignElements getOpSingleAssignAccess() { + return gaXbaseWithAnnotations.getOpSingleAssignAccess(); + } + + public ParserRule getOpSingleAssignRule() { + return getOpSingleAssignAccess().getRule(); + } + + //OpMultiAssign: + // "+=" | "-=" | "*=" | "/=" | "%=" | "<" "<" "=" | ">" ">"? ">="; + public XbaseGrammarAccess.OpMultiAssignElements getOpMultiAssignAccess() { + return gaXbaseWithAnnotations.getOpMultiAssignAccess(); + } + + public ParserRule getOpMultiAssignRule() { + return getOpMultiAssignAccess().getRule(); + } + + //XOrExpression returns XExpression: + // XAndExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOr]) + // rightOperand=XAndExpression)*; + public XbaseGrammarAccess.XOrExpressionElements getXOrExpressionAccess() { + return gaXbaseWithAnnotations.getXOrExpressionAccess(); + } + + public ParserRule getXOrExpressionRule() { + return getXOrExpressionAccess().getRule(); + } + + //OpOr: + // "||"; + public XbaseGrammarAccess.OpOrElements getOpOrAccess() { + return gaXbaseWithAnnotations.getOpOrAccess(); + } + + public ParserRule getOpOrRule() { + return getOpOrAccess().getRule(); + } + + //XAndExpression returns XExpression: + // XEqualityExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAnd]) + // rightOperand=XEqualityExpression)*; + public XbaseGrammarAccess.XAndExpressionElements getXAndExpressionAccess() { + return gaXbaseWithAnnotations.getXAndExpressionAccess(); + } + + public ParserRule getXAndExpressionRule() { + return getXAndExpressionAccess().getRule(); + } + + //OpAnd: + // "&&"; + public XbaseGrammarAccess.OpAndElements getOpAndAccess() { + return gaXbaseWithAnnotations.getOpAndAccess(); + } + + public ParserRule getOpAndRule() { + return getOpAndAccess().getRule(); + } + + //XEqualityExpression returns XExpression: + // XRelationalExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpEquality]) + // rightOperand=XRelationalExpression)*; + public XbaseGrammarAccess.XEqualityExpressionElements getXEqualityExpressionAccess() { + return gaXbaseWithAnnotations.getXEqualityExpressionAccess(); + } + + public ParserRule getXEqualityExpressionRule() { + return getXEqualityExpressionAccess().getRule(); + } + + //OpEquality: + // "==" | "!=" | "===" | "!=="; + public XbaseGrammarAccess.OpEqualityElements getOpEqualityAccess() { + return gaXbaseWithAnnotations.getOpEqualityAccess(); + } + + public ParserRule getOpEqualityRule() { + return getOpEqualityAccess().getRule(); + } + + //XRelationalExpression returns XExpression: + // XOtherOperatorExpression (=> ({XInstanceOfExpression.expression=current} "instanceof") type=JvmTypeReference | => + // ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpCompare]) + // rightOperand=XOtherOperatorExpression)*; + public XbaseGrammarAccess.XRelationalExpressionElements getXRelationalExpressionAccess() { + return gaXbaseWithAnnotations.getXRelationalExpressionAccess(); + } + + public ParserRule getXRelationalExpressionRule() { + return getXRelationalExpressionAccess().getRule(); + } + + //OpCompare: + // ">=" | "<" "=" | ">" | "<"; + public XbaseGrammarAccess.OpCompareElements getOpCompareAccess() { + return gaXbaseWithAnnotations.getOpCompareAccess(); + } + + public ParserRule getOpCompareRule() { + return getOpCompareAccess().getRule(); + } + + //XOtherOperatorExpression returns XExpression: + // XAdditiveExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOther]) + // rightOperand=XAdditiveExpression)*; + public XbaseGrammarAccess.XOtherOperatorExpressionElements getXOtherOperatorExpressionAccess() { + return gaXbaseWithAnnotations.getXOtherOperatorExpressionAccess(); + } + + public ParserRule getXOtherOperatorExpressionRule() { + return getXOtherOperatorExpressionAccess().getRule(); + } + + //OpOther: + // "->" | "..<" | ">" ".." | ".." | "=>" | ">" (=> (">" ">") | ">") | "<" (=> ("<" "<") | "<" | "=>") | "<>" | "?:"; + public XbaseGrammarAccess.OpOtherElements getOpOtherAccess() { + return gaXbaseWithAnnotations.getOpOtherAccess(); + } + + public ParserRule getOpOtherRule() { + return getOpOtherAccess().getRule(); + } + + //XAdditiveExpression returns XExpression: + // XMultiplicativeExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAdd]) + // rightOperand=XMultiplicativeExpression)*; + public XbaseGrammarAccess.XAdditiveExpressionElements getXAdditiveExpressionAccess() { + return gaXbaseWithAnnotations.getXAdditiveExpressionAccess(); + } + + public ParserRule getXAdditiveExpressionRule() { + return getXAdditiveExpressionAccess().getRule(); + } + + //OpAdd: + // "+" | "-"; + public XbaseGrammarAccess.OpAddElements getOpAddAccess() { + return gaXbaseWithAnnotations.getOpAddAccess(); + } + + public ParserRule getOpAddRule() { + return getOpAddAccess().getRule(); + } + + //XMultiplicativeExpression returns XExpression: + // XUnaryOperation (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMulti]) + // rightOperand=XUnaryOperation)*; + public XbaseGrammarAccess.XMultiplicativeExpressionElements getXMultiplicativeExpressionAccess() { + return gaXbaseWithAnnotations.getXMultiplicativeExpressionAccess(); + } + + public ParserRule getXMultiplicativeExpressionRule() { + return getXMultiplicativeExpressionAccess().getRule(); + } + + //OpMulti: + // "*" | "**" | "/" | "%"; + public XbaseGrammarAccess.OpMultiElements getOpMultiAccess() { + return gaXbaseWithAnnotations.getOpMultiAccess(); + } + + public ParserRule getOpMultiRule() { + return getOpMultiAccess().getRule(); + } + + //XUnaryOperation returns XExpression: + // {XUnaryOperation} feature=[types::JvmIdentifiableElement|OpUnary] operand=XUnaryOperation | XCastedExpression; + public XbaseGrammarAccess.XUnaryOperationElements getXUnaryOperationAccess() { + return gaXbaseWithAnnotations.getXUnaryOperationAccess(); + } + + public ParserRule getXUnaryOperationRule() { + return getXUnaryOperationAccess().getRule(); + } + + //OpUnary: + // "!" | "-" | "+"; + public XbaseGrammarAccess.OpUnaryElements getOpUnaryAccess() { + return gaXbaseWithAnnotations.getOpUnaryAccess(); + } + + public ParserRule getOpUnaryRule() { + return getOpUnaryAccess().getRule(); + } + + //XCastedExpression returns XExpression: + // XPostfixOperation (=> ({XCastedExpression.target=current} "as") type=JvmTypeReference)*; + public XbaseGrammarAccess.XCastedExpressionElements getXCastedExpressionAccess() { + return gaXbaseWithAnnotations.getXCastedExpressionAccess(); + } + + public ParserRule getXCastedExpressionRule() { + return getXCastedExpressionAccess().getRule(); + } + + //XPostfixOperation returns XExpression: + // XMemberFeatureCall => ({XPostfixOperation.operand=current} feature=[types::JvmIdentifiableElement|OpPostfix])?; + public XbaseGrammarAccess.XPostfixOperationElements getXPostfixOperationAccess() { + return gaXbaseWithAnnotations.getXPostfixOperationAccess(); + } + + public ParserRule getXPostfixOperationRule() { + return getXPostfixOperationAccess().getRule(); + } + + //OpPostfix: + // "++" | "--"; + public XbaseGrammarAccess.OpPostfixElements getOpPostfixAccess() { + return gaXbaseWithAnnotations.getOpPostfixAccess(); + } + + public ParserRule getOpPostfixRule() { + return getOpPostfixAccess().getRule(); + } + + //XMemberFeatureCall returns XExpression: + // XPrimaryExpression (=> ({XAssignment.assignable=current} ("." | explicitStatic?="::") + // feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign) value=XAssignment | => + // ({XMemberFeatureCall.memberCallTarget=current} ("." | nullSafe?="?." | explicitStatic?="::")) ("<" + // typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? + // feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (memberCallArguments+=XShortClosure + // | memberCallArguments+=XExpression ("," memberCallArguments+=XExpression)*)? ")")? memberCallArguments+=XClosure?)*; + public XbaseGrammarAccess.XMemberFeatureCallElements getXMemberFeatureCallAccess() { + return gaXbaseWithAnnotations.getXMemberFeatureCallAccess(); + } + + public ParserRule getXMemberFeatureCallRule() { + return getXMemberFeatureCallAccess().getRule(); + } + + //XPrimaryExpression returns XExpression: + // XConstructorCall | XBlockExpression | XSwitchExpression | XSynchronizedExpression | XFeatureCall | XLiteral | + // XIfExpression | XForLoopExpression | XBasicForLoopExpression | XWhileExpression | XDoWhileExpression | + // XThrowExpression | XReturnExpression | XTryCatchFinallyExpression | XParenthesizedExpression; + public XbaseGrammarAccess.XPrimaryExpressionElements getXPrimaryExpressionAccess() { + return gaXbaseWithAnnotations.getXPrimaryExpressionAccess(); + } + + public ParserRule getXPrimaryExpressionRule() { + return getXPrimaryExpressionAccess().getRule(); + } + + //XLiteral returns XExpression: + // XCollectionLiteral | XClosure | XBooleanLiteral | XNumberLiteral | XNullLiteral | XStringLiteral | XTypeLiteral; + public XbaseGrammarAccess.XLiteralElements getXLiteralAccess() { + return gaXbaseWithAnnotations.getXLiteralAccess(); + } + + public ParserRule getXLiteralRule() { + return getXLiteralAccess().getRule(); + } + + //XCollectionLiteral: + // XSetLiteral | XListLiteral; + public XbaseGrammarAccess.XCollectionLiteralElements getXCollectionLiteralAccess() { + return gaXbaseWithAnnotations.getXCollectionLiteralAccess(); + } + + public ParserRule getXCollectionLiteralRule() { + return getXCollectionLiteralAccess().getRule(); + } + + //XSetLiteral: + // {XSetLiteral} "#" "{" (elements+=XExpression ("," elements+=XExpression)*)? "}"; + public XbaseGrammarAccess.XSetLiteralElements getXSetLiteralAccess() { + return gaXbaseWithAnnotations.getXSetLiteralAccess(); + } + + public ParserRule getXSetLiteralRule() { + return getXSetLiteralAccess().getRule(); + } + + //XListLiteral: + // {XListLiteral} "#" "[" (elements+=XExpression ("," elements+=XExpression)*)? "]"; + public XbaseGrammarAccess.XListLiteralElements getXListLiteralAccess() { + return gaXbaseWithAnnotations.getXListLiteralAccess(); + } + + public ParserRule getXListLiteralRule() { + return getXListLiteralAccess().getRule(); + } + + //XClosure returns XExpression: + // => ({XClosure} "[") => ((declaredFormalParameters+=JvmFormalParameter ("," + // declaredFormalParameters+=JvmFormalParameter)*)? explicitSyntax?="|")? expression=XExpressionInClosure "]"; + public XbaseGrammarAccess.XClosureElements getXClosureAccess() { + return gaXbaseWithAnnotations.getXClosureAccess(); + } + + public ParserRule getXClosureRule() { + return getXClosureAccess().getRule(); + } + + //XExpressionInClosure returns XExpression: + // {XBlockExpression} (expressions+=XExpressionOrVarDeclaration ";"?)*; + public XbaseGrammarAccess.XExpressionInClosureElements getXExpressionInClosureAccess() { + return gaXbaseWithAnnotations.getXExpressionInClosureAccess(); + } + + public ParserRule getXExpressionInClosureRule() { + return getXExpressionInClosureAccess().getRule(); + } + + //XShortClosure returns XExpression: + // => ({XClosure} (declaredFormalParameters+=JvmFormalParameter ("," declaredFormalParameters+=JvmFormalParameter)*)? + // explicitSyntax?="|") expression=XExpression; + public XbaseGrammarAccess.XShortClosureElements getXShortClosureAccess() { + return gaXbaseWithAnnotations.getXShortClosureAccess(); + } + + public ParserRule getXShortClosureRule() { + return getXShortClosureAccess().getRule(); + } + + //XParenthesizedExpression returns XExpression: + // "(" XExpression ")"; + public XbaseGrammarAccess.XParenthesizedExpressionElements getXParenthesizedExpressionAccess() { + return gaXbaseWithAnnotations.getXParenthesizedExpressionAccess(); + } + + public ParserRule getXParenthesizedExpressionRule() { + return getXParenthesizedExpressionAccess().getRule(); + } + + //XIfExpression returns XExpression: + // {XIfExpression} "if" "(" if=XExpression ")" then=XExpression ("else" else=XExpression)?; + public XbaseGrammarAccess.XIfExpressionElements getXIfExpressionAccess() { + return gaXbaseWithAnnotations.getXIfExpressionAccess(); + } + + public ParserRule getXIfExpressionRule() { + return getXIfExpressionAccess().getRule(); + } + + //XSwitchExpression returns XExpression: + // {XSwitchExpression} "switch" (=> ("(" declaredParam=JvmFormalParameter ":") switch=XExpression ")" | => + // (declaredParam=JvmFormalParameter ":")? switch=XExpression) "{" cases+=XCasePart* ("default" ":" + // default=XExpression)? "}"; + public XbaseGrammarAccess.XSwitchExpressionElements getXSwitchExpressionAccess() { + return gaXbaseWithAnnotations.getXSwitchExpressionAccess(); + } + + public ParserRule getXSwitchExpressionRule() { + return getXSwitchExpressionAccess().getRule(); + } + + //XCasePart: + // {XCasePart} typeGuard=JvmTypeReference? ("case" case=XExpression)? (":" then=XExpression | fallThrough?=","); + public XbaseGrammarAccess.XCasePartElements getXCasePartAccess() { + return gaXbaseWithAnnotations.getXCasePartAccess(); + } + + public ParserRule getXCasePartRule() { + return getXCasePartAccess().getRule(); + } + + //XForLoopExpression returns XExpression: + // => ({XForLoopExpression} "for" "(" declaredParam=JvmFormalParameter ":") forExpression=XExpression ")" + // eachExpression=XExpression; + public XbaseGrammarAccess.XForLoopExpressionElements getXForLoopExpressionAccess() { + return gaXbaseWithAnnotations.getXForLoopExpressionAccess(); + } + + public ParserRule getXForLoopExpressionRule() { + return getXForLoopExpressionAccess().getRule(); + } + + //XBasicForLoopExpression returns XExpression: + // {XBasicForLoopExpression} "for" "(" (initExpressions+=XExpressionOrVarDeclaration ("," + // initExpressions+=XExpressionOrVarDeclaration)*)? ";" expression=XExpression? ";" (updateExpressions+=XExpression ("," + // updateExpressions+=XExpression)*)? ")" eachExpression=XExpression; + public XbaseGrammarAccess.XBasicForLoopExpressionElements getXBasicForLoopExpressionAccess() { + return gaXbaseWithAnnotations.getXBasicForLoopExpressionAccess(); + } + + public ParserRule getXBasicForLoopExpressionRule() { + return getXBasicForLoopExpressionAccess().getRule(); + } + + //XWhileExpression returns XExpression: + // {XWhileExpression} "while" "(" predicate=XExpression ")" body=XExpression; + public XbaseGrammarAccess.XWhileExpressionElements getXWhileExpressionAccess() { + return gaXbaseWithAnnotations.getXWhileExpressionAccess(); + } + + public ParserRule getXWhileExpressionRule() { + return getXWhileExpressionAccess().getRule(); + } + + //XDoWhileExpression returns XExpression: + // {XDoWhileExpression} "do" body=XExpression "while" "(" predicate=XExpression ")"; + public XbaseGrammarAccess.XDoWhileExpressionElements getXDoWhileExpressionAccess() { + return gaXbaseWithAnnotations.getXDoWhileExpressionAccess(); + } + + public ParserRule getXDoWhileExpressionRule() { + return getXDoWhileExpressionAccess().getRule(); + } + + //XBlockExpression returns XExpression: + // {XBlockExpression} "{" (expressions+=XExpressionOrVarDeclaration ";"?)* "}"; + public XbaseGrammarAccess.XBlockExpressionElements getXBlockExpressionAccess() { + return gaXbaseWithAnnotations.getXBlockExpressionAccess(); + } + + public ParserRule getXBlockExpressionRule() { + return getXBlockExpressionAccess().getRule(); + } + + //XExpressionOrVarDeclaration returns XExpression: + // XVariableDeclaration | XExpression; + public XbaseGrammarAccess.XExpressionOrVarDeclarationElements getXExpressionOrVarDeclarationAccess() { + return gaXbaseWithAnnotations.getXExpressionOrVarDeclarationAccess(); + } + + public ParserRule getXExpressionOrVarDeclarationRule() { + return getXExpressionOrVarDeclarationAccess().getRule(); + } + + //XVariableDeclaration returns XExpression: + // {XVariableDeclaration} (writeable?="var" | "val") (=> (type=JvmTypeReference name=ValidID) | name=ValidID) ("=" + // right=XExpression)?; + public XbaseGrammarAccess.XVariableDeclarationElements getXVariableDeclarationAccess() { + return gaXbaseWithAnnotations.getXVariableDeclarationAccess(); + } + + public ParserRule getXVariableDeclarationRule() { + return getXVariableDeclarationAccess().getRule(); + } + + //JvmFormalParameter returns types::JvmFormalParameter: + // parameterType=JvmTypeReference? name=ValidID; + public XbaseGrammarAccess.JvmFormalParameterElements getJvmFormalParameterAccess() { + return gaXbaseWithAnnotations.getJvmFormalParameterAccess(); + } + + public ParserRule getJvmFormalParameterRule() { + return getJvmFormalParameterAccess().getRule(); + } + + //FullJvmFormalParameter returns types::JvmFormalParameter: + // parameterType=JvmTypeReference name=ValidID; + public XbaseGrammarAccess.FullJvmFormalParameterElements getFullJvmFormalParameterAccess() { + return gaXbaseWithAnnotations.getFullJvmFormalParameterAccess(); + } + + public ParserRule getFullJvmFormalParameterRule() { + return getFullJvmFormalParameterAccess().getRule(); + } + + //XFeatureCall returns XExpression: + // {XFeatureCall} ("<" typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? + // feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (featureCallArguments+=XShortClosure + // | featureCallArguments+=XExpression ("," featureCallArguments+=XExpression)*)? ")")? featureCallArguments+=XClosure?; + public XbaseGrammarAccess.XFeatureCallElements getXFeatureCallAccess() { + return gaXbaseWithAnnotations.getXFeatureCallAccess(); + } + + public ParserRule getXFeatureCallRule() { + return getXFeatureCallAccess().getRule(); + } + + //FeatureCallID: + // ValidID | "extends" | "static" | "import" | "extension"; + public XbaseGrammarAccess.FeatureCallIDElements getFeatureCallIDAccess() { + return gaXbaseWithAnnotations.getFeatureCallIDAccess(); + } + + public ParserRule getFeatureCallIDRule() { + return getFeatureCallIDAccess().getRule(); + } + + //IdOrSuper: + // FeatureCallID | "super"; + public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() { + return gaXbaseWithAnnotations.getIdOrSuperAccess(); + } + + public ParserRule getIdOrSuperRule() { + return getIdOrSuperAccess().getRule(); + } + + //XConstructorCall returns XExpression: + // {XConstructorCall} "new" constructor=[types::JvmConstructor|QualifiedName] ("<" + // typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? (=> + // explicitConstructorCall?="(" (arguments+=XShortClosure | arguments+=XExpression ("," arguments+=XExpression)*)? ")")? + // arguments+=XClosure?; + public XbaseGrammarAccess.XConstructorCallElements getXConstructorCallAccess() { + return gaXbaseWithAnnotations.getXConstructorCallAccess(); + } + + public ParserRule getXConstructorCallRule() { + return getXConstructorCallAccess().getRule(); + } + + //XBooleanLiteral returns XExpression: + // {XBooleanLiteral} ("false" | isTrue?="true"); + public XbaseGrammarAccess.XBooleanLiteralElements getXBooleanLiteralAccess() { + return gaXbaseWithAnnotations.getXBooleanLiteralAccess(); + } + + public ParserRule getXBooleanLiteralRule() { + return getXBooleanLiteralAccess().getRule(); + } + + //XNullLiteral returns XExpression: + // {XNullLiteral} "null"; + public XbaseGrammarAccess.XNullLiteralElements getXNullLiteralAccess() { + return gaXbaseWithAnnotations.getXNullLiteralAccess(); + } + + public ParserRule getXNullLiteralRule() { + return getXNullLiteralAccess().getRule(); + } + + //XNumberLiteral returns XExpression: + // {XNumberLiteral} value=Number; + public XbaseGrammarAccess.XNumberLiteralElements getXNumberLiteralAccess() { + return gaXbaseWithAnnotations.getXNumberLiteralAccess(); + } + + public ParserRule getXNumberLiteralRule() { + return getXNumberLiteralAccess().getRule(); + } + + //XStringLiteral returns XExpression: + // {XStringLiteral} value=STRING; + public XbaseGrammarAccess.XStringLiteralElements getXStringLiteralAccess() { + return gaXbaseWithAnnotations.getXStringLiteralAccess(); + } + + public ParserRule getXStringLiteralRule() { + return getXStringLiteralAccess().getRule(); + } + + //XTypeLiteral returns XExpression: + // {XTypeLiteral} "typeof" "(" type=[types::JvmType|QualifiedName] arrayDimensions+=ArrayBrackets* ")"; + public XbaseGrammarAccess.XTypeLiteralElements getXTypeLiteralAccess() { + return gaXbaseWithAnnotations.getXTypeLiteralAccess(); + } + + public ParserRule getXTypeLiteralRule() { + return getXTypeLiteralAccess().getRule(); + } + + //XThrowExpression returns XExpression: + // {XThrowExpression} "throw" expression=XExpression; + public XbaseGrammarAccess.XThrowExpressionElements getXThrowExpressionAccess() { + return gaXbaseWithAnnotations.getXThrowExpressionAccess(); + } + + public ParserRule getXThrowExpressionRule() { + return getXThrowExpressionAccess().getRule(); + } + + //XReturnExpression returns XExpression: + // {XReturnExpression} "return" -> expression=XExpression?; + public XbaseGrammarAccess.XReturnExpressionElements getXReturnExpressionAccess() { + return gaXbaseWithAnnotations.getXReturnExpressionAccess(); + } + + public ParserRule getXReturnExpressionRule() { + return getXReturnExpressionAccess().getRule(); + } + + //XTryCatchFinallyExpression returns XExpression: + // {XTryCatchFinallyExpression} "try" expression=XExpression (catchClauses+=XCatchClause+ ("finally" + // finallyExpression=XExpression)? | "finally" finallyExpression=XExpression); + public XbaseGrammarAccess.XTryCatchFinallyExpressionElements getXTryCatchFinallyExpressionAccess() { + return gaXbaseWithAnnotations.getXTryCatchFinallyExpressionAccess(); + } + + public ParserRule getXTryCatchFinallyExpressionRule() { + return getXTryCatchFinallyExpressionAccess().getRule(); + } + + //XSynchronizedExpression returns XExpression: + // => ({XSynchronizedExpression} "synchronized" "(") param=XExpression ")" expression=XExpression; + public XbaseGrammarAccess.XSynchronizedExpressionElements getXSynchronizedExpressionAccess() { + return gaXbaseWithAnnotations.getXSynchronizedExpressionAccess(); + } + + public ParserRule getXSynchronizedExpressionRule() { + return getXSynchronizedExpressionAccess().getRule(); + } + + //XCatchClause: + // "catch" "(" declaredParam=FullJvmFormalParameter ")" expression=XExpression; + public XbaseGrammarAccess.XCatchClauseElements getXCatchClauseAccess() { + return gaXbaseWithAnnotations.getXCatchClauseAccess(); + } + + public ParserRule getXCatchClauseRule() { + return getXCatchClauseAccess().getRule(); + } + + //QualifiedName: + // ValidID ("." ValidID)*; + public XbaseGrammarAccess.QualifiedNameElements getQualifiedNameAccess() { + return gaXbaseWithAnnotations.getQualifiedNameAccess(); + } + + public ParserRule getQualifiedNameRule() { + return getQualifiedNameAccess().getRule(); + } + + //Number hidden(): + // HEX | (INT | DECIMAL) ("." (INT | DECIMAL))?; + public XbaseGrammarAccess.NumberElements getNumberAccess() { + return gaXbaseWithAnnotations.getNumberAccess(); + } + + public ParserRule getNumberRule() { + return getNumberAccess().getRule(); + } + + /// ** + // * Dummy rule, for "better" downwards compatibility, since GrammarAccess generates non-static inner classes, + // * which makes downstream grammars break on classloading, when a rule is removed. + // * / + //StaticQualifier: + // (ValidID "::")+; + public XbaseGrammarAccess.StaticQualifierElements getStaticQualifierAccess() { + return gaXbaseWithAnnotations.getStaticQualifierAccess(); + } + + public ParserRule getStaticQualifierRule() { + return getStaticQualifierAccess().getRule(); + } + + //terminal HEX: + // ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F" | "_")+ ("#" (("b" | "B") ("i" | "I") | ("l" | "L")))?; + public TerminalRule getHEXRule() { + return gaXbaseWithAnnotations.getHEXRule(); + } + + //terminal INT returns ecore::EInt: + // "0".."9" ("0".."9" | "_")*; + public TerminalRule getINTRule() { + return gaXbaseWithAnnotations.getINTRule(); + } + + //terminal DECIMAL: + // INT (("e" | "E") ("+" | "-")? INT)? (("b" | "B") ("i" | "I" | "d" | "D") | ("l" | "L" | "d" | "D" | "f" | "F"))?; + public TerminalRule getDECIMALRule() { + return gaXbaseWithAnnotations.getDECIMALRule(); + } + + //JvmTypeReference: + // JvmParameterizedTypeReference => ({JvmGenericArrayTypeReference.componentType=current} ArrayBrackets)* | + // XFunctionTypeRef; + public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() { + return gaXbaseWithAnnotations.getJvmTypeReferenceAccess(); + } + + public ParserRule getJvmTypeReferenceRule() { + return getJvmTypeReferenceAccess().getRule(); + } + + //ArrayBrackets: + // "[" "]"; + public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() { + return gaXbaseWithAnnotations.getArrayBracketsAccess(); + } + + public ParserRule getArrayBracketsRule() { + return getArrayBracketsAccess().getRule(); + } + + //XFunctionTypeRef: + // ("(" (paramTypes+=JvmTypeReference ("," paramTypes+=JvmTypeReference)*)? ")")? "=>" returnType=JvmTypeReference; + public XtypeGrammarAccess.XFunctionTypeRefElements getXFunctionTypeRefAccess() { + return gaXbaseWithAnnotations.getXFunctionTypeRefAccess(); + } + + public ParserRule getXFunctionTypeRefRule() { + return getXFunctionTypeRefAccess().getRule(); + } + + //JvmParameterizedTypeReference: + // type=[JvmType|QualifiedName] ("<" arguments+=JvmArgumentTypeReference ("," arguments+=JvmArgumentTypeReference)* ">" + // (=> ({JvmInnerTypeReference.outer=current} ".") type=[JvmType|ValidID] ("<" arguments+=JvmArgumentTypeReference ("," + // arguments+=JvmArgumentTypeReference)* ">")?)*)?; + public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() { + return gaXbaseWithAnnotations.getJvmParameterizedTypeReferenceAccess(); + } + + public ParserRule getJvmParameterizedTypeReferenceRule() { + return getJvmParameterizedTypeReferenceAccess().getRule(); + } + + //JvmArgumentTypeReference returns JvmTypeReference: + // JvmTypeReference | JvmWildcardTypeReference; + public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() { + return gaXbaseWithAnnotations.getJvmArgumentTypeReferenceAccess(); + } + + public ParserRule getJvmArgumentTypeReferenceRule() { + return getJvmArgumentTypeReferenceAccess().getRule(); + } + + //JvmWildcardTypeReference: + // {JvmWildcardTypeReference} "?" (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded* | + // constraints+=JvmLowerBound constraints+=JvmLowerBoundAnded*)?; + public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() { + return gaXbaseWithAnnotations.getJvmWildcardTypeReferenceAccess(); + } + + public ParserRule getJvmWildcardTypeReferenceRule() { + return getJvmWildcardTypeReferenceAccess().getRule(); + } + + //JvmUpperBound: + // "extends" typeReference=JvmTypeReference; + public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() { + return gaXbaseWithAnnotations.getJvmUpperBoundAccess(); + } + + public ParserRule getJvmUpperBoundRule() { + return getJvmUpperBoundAccess().getRule(); + } + + //JvmUpperBoundAnded returns JvmUpperBound: + // "&" typeReference=JvmTypeReference; + public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() { + return gaXbaseWithAnnotations.getJvmUpperBoundAndedAccess(); + } + + public ParserRule getJvmUpperBoundAndedRule() { + return getJvmUpperBoundAndedAccess().getRule(); + } + + //JvmLowerBound: + // "super" typeReference=JvmTypeReference; + public XtypeGrammarAccess.JvmLowerBoundElements getJvmLowerBoundAccess() { + return gaXbaseWithAnnotations.getJvmLowerBoundAccess(); + } + + public ParserRule getJvmLowerBoundRule() { + return getJvmLowerBoundAccess().getRule(); + } + + //JvmLowerBoundAnded returns JvmLowerBound: + // "&" typeReference=JvmTypeReference; + public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() { + return gaXbaseWithAnnotations.getJvmLowerBoundAndedAccess(); + } + + public ParserRule getJvmLowerBoundAndedRule() { + return getJvmLowerBoundAndedAccess().getRule(); + } + + //JvmTypeParameter: + // name=ValidID (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*)?; + public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() { + return gaXbaseWithAnnotations.getJvmTypeParameterAccess(); + } + + public ParserRule getJvmTypeParameterRule() { + return getJvmTypeParameterAccess().getRule(); + } + + //QualifiedNameWithWildcard: + // QualifiedName "." "*"; + public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() { + return gaXbaseWithAnnotations.getQualifiedNameWithWildcardAccess(); + } + + public ParserRule getQualifiedNameWithWildcardRule() { + return getQualifiedNameWithWildcardAccess().getRule(); + } + + //ValidID: + // ID; + public XtypeGrammarAccess.ValidIDElements getValidIDAccess() { + return gaXbaseWithAnnotations.getValidIDAccess(); + } + + public ParserRule getValidIDRule() { + return getValidIDAccess().getRule(); + } + + //XImportSection: + // importDeclarations+=XImportDeclaration+; + public XtypeGrammarAccess.XImportSectionElements getXImportSectionAccess() { + return gaXbaseWithAnnotations.getXImportSectionAccess(); + } + + public ParserRule getXImportSectionRule() { + return getXImportSectionAccess().getRule(); + } + + //XImportDeclaration: + // "import" (static?="static" extension?="extension"? importedType=[JvmDeclaredType|QualifiedNameInStaticImport] + // (wildcard?="*" | memberName=ValidID) | importedType=[JvmDeclaredType|QualifiedName] | + // importedNamespace=QualifiedNameWithWildcard) ";"?; + public XtypeGrammarAccess.XImportDeclarationElements getXImportDeclarationAccess() { + return gaXbaseWithAnnotations.getXImportDeclarationAccess(); + } + + public ParserRule getXImportDeclarationRule() { + return getXImportDeclarationAccess().getRule(); + } + + //QualifiedNameInStaticImport: + // (ValidID ".")+; + public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() { + return gaXbaseWithAnnotations.getQualifiedNameInStaticImportAccess(); + } + + public ParserRule getQualifiedNameInStaticImportRule() { + return getQualifiedNameInStaticImportAccess().getRule(); + } + + //terminal ID: + // "^"? ("a".."z" | "A".."Z" | "$" | "_") ("a".."z" | "A".."Z" | "$" | "_" | "0".."9")*; + public TerminalRule getIDRule() { + return gaXbaseWithAnnotations.getIDRule(); + } + + //terminal STRING: + // "\"" ("\\" . / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\""))* "\""? | "\'" ("\\" . + // / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\'"))* "\'"?; + public TerminalRule getSTRINGRule() { + return gaXbaseWithAnnotations.getSTRINGRule(); + } + + //terminal ML_COMMENT: + // "/ *"->"* /"; + public TerminalRule getML_COMMENTRule() { + return gaXbaseWithAnnotations.getML_COMMENTRule(); + } + + //terminal SL_COMMENT: + // "//" !("\n" | "\r")* ("\r"? "\n")?; + public TerminalRule getSL_COMMENTRule() { + return gaXbaseWithAnnotations.getSL_COMMENTRule(); + } + + //terminal WS: + // (" " | "\t" | "\r" | "\n")+; + public TerminalRule getWSRule() { + return gaXbaseWithAnnotations.getWSRule(); + } + + //terminal ANY_OTHER: + // .; + public TerminalRule getANY_OTHERRule() { + return gaXbaseWithAnnotations.getANY_OTHERRule(); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/validation/AbstractDialogDslValidator.java b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/validation/AbstractDialogDslValidator.java new file mode 100644 index 0000000..22d819e --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/validation/AbstractDialogDslValidator.java @@ -0,0 +1,37 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.validation; + +import java.util.ArrayList; +import java.util.List; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.xtext.validation.ComposedChecks; + +@ComposedChecks(validators= {org.eclipse.osbp.xtext.basic.validation.NamesAreUniqueValidator.class}) +public class AbstractDialogDslValidator extends org.eclipse.xtext.xbase.annotations.validation.XbaseWithAnnotationsValidator { + + @Override + protected List<EPackage> getEPackages() { + List<EPackage> result = new ArrayList<EPackage>(super.getEPackages()); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://osbp.eclipse.org/xtext/dialogdsl/DialogDSL")); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://osbp.eclipse.org/dsl/common/types/v1")); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/Xtext/Xbase/XAnnotations")); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/xtext/xbase/Xbase")); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/xtext/common/JavaVMTypes")); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/xtext/xbase/Xtype")); + return result; + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/Activator.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/Activator.java new file mode 100644 index 0000000..e881a01 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/Activator.java @@ -0,0 +1,60 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + */ +package org.eclipse.osbp.xtext.dialogdsl; + +/** + * @overview This package implements the dialog dsl. + * + */ +import org.eclipse.osbp.gitinfo.Loginfo; +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +/** + * The Class Activator. + */ +public class Activator implements BundleActivator { + + /** The context. */ + private static BundleContext context; + + /** + * Gets the context. + * + * @return the context + */ + static BundleContext getContext() { + return context; + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + @Override + public void start(BundleContext bundleContext) throws Exception { //NOSONAR + Activator.context = bundleContext; //NOSONAR + Loginfo li = new Loginfo(); + li.print( Activator.class.getCanonicalName(), Activator.class.getClassLoader()); + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + @Override + public void stop(BundleContext bundleContext) throws Exception { //NOSONAR + Activator.context = null; //NOSONAR + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDSLBundleSpaceRuntimeModule.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDSLBundleSpaceRuntimeModule.java new file mode 100644 index 0000000..841d536 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDSLBundleSpaceRuntimeModule.java @@ -0,0 +1,42 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.osbp.dsl.xtext.types.bundles.BundleSpaceTypeProviderFactory; +import org.eclipse.osbp.dsl.xtext.types.bundles.BundleSpaceTypeScopeProvider; +import org.eclipse.osbp.xtext.builder.types.loader.api.ITypeLoaderFactory; +import org.eclipse.osbp.xtext.builder.types.loader.api.ITypeLoaderProvider; +import org.eclipse.osbp.xtext.builder.types.loader.runtime.TypeLoaderFactory; +import org.eclipse.osbp.xtext.builder.types.loader.runtime.TypeLoaderProvider; + +@SuppressWarnings("restriction") +public class DialogDSLBundleSpaceRuntimeModule extends DialogDslRuntimeModule { + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.access.IJvmTypeProvider.Factory> bindIJvmTypeProvider$Factory() { + return BundleSpaceTypeProviderFactory.class; + } + + // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment + public Class<? extends org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider> bindAbstractTypeScopeProvider() { + return BundleSpaceTypeScopeProvider.class; + } + + public Class<? extends ITypeLoaderFactory> bindITypeLoaderFactory() { + return TypeLoaderFactory.class; + } + + public Class<? extends ITypeLoaderProvider> ITypeLoaderProvider() { + return TypeLoaderProvider.class; + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDSLBundleSpaceStandaloneSetup.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDSLBundleSpaceStandaloneSetup.java new file mode 100644 index 0000000..cf26f44 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDSLBundleSpaceStandaloneSetup.java @@ -0,0 +1,42 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.osbp.ecview.dsl.UIGrammarBundleSpaceStandaloneSetup; + +import com.google.inject.Guice; +import com.google.inject.Injector; + +@SuppressWarnings("restriction") +public class DialogDSLBundleSpaceStandaloneSetup extends + DialogDslStandaloneSetup { + public static void doSetup() { + new DialogDSLBundleSpaceStandaloneSetup() + .createInjectorAndDoEMFRegistration(); + } + + @Override + public Injector createInjectorAndDoEMFRegistration() { + UIGrammarBundleSpaceStandaloneSetup.doSetup(); + + Injector injector = createInjector(); + register(injector); + return injector; + } + + @Override + public Injector createInjector() { + return Guice.createInjector(new DialogDSLBundleSpaceRuntimeModule()); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDsl.xtext b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDsl.xtext new file mode 100644 index 0000000..1155d27 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDsl.xtext @@ -0,0 +1,54 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +grammar org.eclipse.osbp.xtext.dialogdsl.DialogDsl with org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations + +import "http://osbp.eclipse.org/xtext/dialogdsl/DialogDSL" + +import "http://osbp.eclipse.org/xtext/action/ActionDSL" as action +import "http://osbp.eclipse.org/dsl/common/types/v1" as types +import "http://www.eclipse.org/emf/2002/Ecore" as ecore +import "http://osbp.eclipse.org/ecview/dsl/uimodel/core" as uimodel +import "http://osbp.eclipse.org/dsl/dto/v1" as dto + +DialogModel: + {DialogModel} pckg=DialogPackage; + +DialogPackage: + 'package' name=QualifiedName ('{' (imports+=DialogImport)* (dialogs+=Dialog)* '}')?; + +DialogImport returns types::LImport: + 'import' importedNamespace=DialogQualifiedNameWithWildCard; + +Dialog: + {Dialog} 'dialog' name=ID + (description?='described by' descriptionValue=TRANSLATABLESTRING)? + ('view' uiView=[uimodel::UiView|TYPE_CROSS_REFERENCE] + | + autowire?='autobinding' dto=[dto::LDto|TYPE_CROSS_REFERENCE] + ) + (((embedded?='embedded') | (pure?='pure'))? & + (stateful?='stateful')? & + ('toolbar' toolbar=[action::ActionToolbar|TYPE_CROSS_REFERENCE])?); + +DialogQualifiedNameWithWildCard: + QualifiedName ('.' '*')?; + +TRANSLATABLESTRING: + STRING; + +TYPE_CROSS_REFERENCE: + ID; + diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDslRuntimeModule.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDslRuntimeModule.java new file mode 100644 index 0000000..4f1a67d --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDslRuntimeModule.java @@ -0,0 +1,131 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ + +package org.eclipse.osbp.xtext.dialogdsl; + +import javax.inject.Singleton; + +import org.eclipse.osbp.dsl.xtext.lazyresolver.LazyJvmTypeLinker; +import org.eclipse.osbp.dsl.xtext.lazyresolver.SemanticLoadingResource; +import org.eclipse.osbp.dsl.xtext.lazyresolver.linker.LazyJvmTypeTransientValueService; +import org.eclipse.osbp.xtext.dialogdsl.generator.DialogModelGenerator; +import org.eclipse.osbp.xtext.dialogdsl.generator.OutputConfigurationProvider; +import org.eclipse.osbp.xtext.dialogdsl.jvmmodel.DialogDslDerivedStateComputer; +import org.eclipse.osbp.xtext.dialogdsl.scoping.DialogDslScopeProvider; +import org.eclipse.osbp.xtext.dialogdsl.valueconverter.DialogQualifiedNameProvider; +import org.eclipse.osbp.xtext.dialogdsl.valueconverter.DialogValueConverterService; +import org.eclipse.xtext.conversion.IValueConverterService; +import org.eclipse.xtext.generator.IGenerator; +import org.eclipse.xtext.generator.IOutputConfigurationProvider; +import org.eclipse.xtext.scoping.IScopeProvider; + +import com.google.inject.Binder; + +// TODO: Auto-generated Javadoc +/** + * Use this class to register components to be used at runtime / without the + * Equinox extension registry. + */ +public class DialogDslRuntimeModule extends + org.eclipse.osbp.xtext.dialogdsl.AbstractDialogDslRuntimeModule { + + /* + * (non-Javadoc) + * + * @see org.eclipse.osbp.xtext.dialogdsl.AbstractDialogDslRuntimeModule# + * bindIGenerator() + */ + @Override + public Class<? extends IGenerator> bindIGenerator() { + return DialogModelGenerator.class; + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.osbp.xtext.dialogdsl.AbstractDialogDslRuntimeModule# + * bindIScopeProvider() + */ + @Override + public Class<? extends IScopeProvider> bindIScopeProvider() { + return DialogDslScopeProvider.class; + } + + public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() { + return DialogQualifiedNameProvider.class; + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.osbp.xtext.dialogdsl.AbstractDialogDslRuntimeModule# + * bindIValueConverterService() + */ + @Override + public Class<? extends IValueConverterService> bindIValueConverterService() { + return DialogValueConverterService.class; + } + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.osbp.xtext.dialogdsl.AbstractDialogDslRuntimeModule#configure + * (com.google.inject.Binder) + */ + @Override + public void configure(Binder binder) { + super.configure(binder); + binder.bind(IOutputConfigurationProvider.class) + .to(OutputConfigurationProvider.class).in(Singleton.class); + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.osbp.xtext.dialogdsl.AbstractDialogDslRuntimeModule# + * bindXtextResource() + */ + @Override + public Class<? extends org.eclipse.xtext.resource.XtextResource> bindXtextResource() { + return SemanticLoadingResource.class; + } + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.osbp.xtext.dialogdsl.AbstractDialogDslRuntimeModule#bindILinker + * () + */ + @Override + public Class<? extends org.eclipse.xtext.linking.ILinker> bindILinker() { + return LazyJvmTypeLinker.class; + } + + /** + * Bind serializer i transient value service. + * + * @return the class<? extends org.eclipse.xtext.serializer.sequencer. i + * transient value service> + */ + public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindSerializerITransientValueService() { + return LazyJvmTypeTransientValueService.class; + } + + public Class<? extends org.eclipse.xtext.resource.IDerivedStateComputer> bindIDerivedStateComputer() { + return DialogDslDerivedStateComputer.class; + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDslStandaloneSetup.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDslStandaloneSetup.java new file mode 100644 index 0000000..ac405f7 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/DialogDslStandaloneSetup.java @@ -0,0 +1,40 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.osbp.ecview.dsl.UIGrammarStandaloneSetup; + +import com.google.inject.Injector; + +// TODO: Auto-generated Javadoc +/** + * Initialization support for running Xtext languages without equinox extension + * registry. + */ +public class DialogDslStandaloneSetup extends DialogDslStandaloneSetupGenerated { + + /** + * Do setup. + */ + public static void doSetup() { + new DialogDslStandaloneSetup().createInjectorAndDoEMFRegistration(); + } + + @SuppressWarnings("restriction") + public Injector createInjectorAndDoEMFRegistration() { + UIGrammarStandaloneSetup.doSetup(); + + return super.createInjectorAndDoEMFRegistration(); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/GenerateDialogDsl.mwe2 b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/GenerateDialogDsl.mwe2 new file mode 100644 index 0000000..482e825 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/GenerateDialogDsl.mwe2 @@ -0,0 +1,174 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * based on mwe2 * + ******************************************************************************/ +module org.eclipse.osbp.xtext.dialogdsl.GenerateDialogDsl + +import org.eclipse.emf.mwe.utils.* +import org.eclipse.xtext.generator.* +import org.eclipse.xtext.ui.generator.* +import org.eclipse.osbp.dsl.mwe.* + +var projectName = "org.eclipse.osbp.xtext.dialogdsl" +var grammarURI = "platform:/resource/${projectName}/src/org/eclipse/osbp/xtext/dialogdsl/DialogDsl.xtext" +var fileExtensions = "dialog" +var runtimeProject = "../${projectName}" +var generateXtendStub = true +var encoding = "UTF-8" + +Workflow { + bean = org.eclipse.emf.ecore.xcore.XcoreStandaloneSetup : xcore {} + bean = org.eclipse.xtext.mwe.Reader { + register = xcore + } + bean = MavenStandaloneSetup { + + scanClassPath = true + platformUri = "${runtimeProject}/.." + // The following two lines can be removed, if Xbase is not used. + registerGenModelFile = "platform:/resource/org.eclipse.osbp.xtext.dialogdsl/model/DialogDSL.xcore" + registerGeneratedEPackage = "org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage" + + registerGenModelFile = "platform:/resource/org.eclipse.osbp.xtext.action/model/ActionDSL.xcore" + registerGeneratedEPackage = "org.eclipse.osbp.xtext.action.ActionDSLPackage" + + registerEcoreFile = "platform:/resource/org.eclipse.osbp.ecview.uisemantics/model/UISemanticsGrammar.ecore" + registerGenModelFile = "platform:/resource/org.eclipse.osbp.ecview.uisemantics/model/UISemanticsGrammar.genmodel" + registerEcoreFile = "platform:/resource/org.eclipse.osbp.ecview.dsl/model/UIGrammarCore.ecore" + registerGenModelFile = "platform:/resource/org.eclipse.osbp.ecview.dsl/model/UIGrammarCore.genmodel" + + registerGenModelFile = "platform:/resource/org.eclipse.osbp.dsl.dto.xtext/model/dto.xcore" + registerGeneratedEPackage = "org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage" + + registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel" + registerGenModelFile = "platform:/resource/org.eclipse.osbp.dsl.common.xtext/model/types.xcore" + registerEcoreFile = "platform:/resource/org.eclipse.osbp.dsl.common.xtext/model/types.xcore" + registerGenModelFile = "platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel" + registerEcoreFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xtype.ecore" + registerEcoreFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.ecore" + registerEcoreFile = "platform:/resource/org.eclipse.xtext.xbase/model/XAnnotations.ecore" + + } + + component = DirectoryCleaner { + directory = "${runtimeProject}/src-gen" + exclude = "README.txt" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}.ui/src-gen" + exclude = "README.txt" + } + + component = DirectoryCleaner { + directory = "${runtimeProject}.tests/src-gen" + exclude = "README.txt" + } + + component = Generator { + pathRtProject = runtimeProject + pathUiProject = "${runtimeProject}.ui" + pathTestProject = "${runtimeProject}.tests" + projectNameRt = projectName + projectNameUi = "${projectName}.ui" + encoding = encoding + language = auto-inject { + uri = grammarURI + + // Java API to access grammar elements (required by several other fragments) + fragment = grammarAccess.GrammarAccessFragment auto-inject {} + + // generates Java API for the generated EPackages + fragment = ecore.EMFGeneratorFragment auto-inject {} + + // the old serialization component + // fragment = parseTreeConstructor.ParseTreeConstructorFragment auto-inject {} + + // serializer 2.0 + fragment = serializer.SerializerFragment auto-inject { + generateStub = false + } + + // a custom ResourceFactory for use with EMF + fragment = resourceFactory.ResourceFactoryFragment auto-inject {} + + // The antlr parser generator fragment. + fragment = parser.antlr.XtextAntlrGeneratorFragment auto-inject { + // options = { + // backtrack = true + // } + } + + // Xtend-based API for validation + fragment = validation.ValidatorFragment auto-inject { + // composedCheck = "org.eclipse.xtext.validation.ImportUriValidator" + // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" + composedCheck = "org.eclipse.osbp.xtext.basic.validation.NamesAreUniqueValidator" + } + + // old scoping and exporting API + // fragment = scoping.ImportURIScopingFragment auto-inject {} + // fragment = exporting.SimpleNamesFragment auto-inject {} + + // scoping and exporting API + fragment = scoping.ImportNamespacesScopingFragment auto-inject {} + fragment = exporting.QualifiedNamesFragment auto-inject {} + fragment = builder.BuilderIntegrationFragment auto-inject {} + + // generator API + fragment = generator.GeneratorFragment auto-inject {} + + // formatter API + fragment = formatting.FormatterFragment auto-inject {} + + // labeling API + fragment = labeling.LabelProviderFragment auto-inject {} + + // outline API + fragment = outline.OutlineTreeProviderFragment auto-inject {} + fragment = outline.QuickOutlineFragment auto-inject {} + + // quickfix API + fragment = quickfix.QuickfixProviderFragment auto-inject {} + + // content assist API + fragment = contentAssist.ContentAssistFragment auto-inject {} + + // generates a more lightweight Antlr parser and lexer tailored for content assist + fragment = parser.antlr.XtextAntlrUiGeneratorFragment auto-inject {} + + // generates junit test support classes into Generator#pathTestProject + fragment = junit.Junit4Fragment auto-inject {} + + // rename refactoring + fragment = refactoring.RefactorElementNameFragment auto-inject {} + + // provides the necessary bindings for java types integration + fragment = types.TypesGeneratorFragment auto-inject {} + + // generates the required bindings only if the grammar inherits from Xbase + fragment = xbase.XbaseGeneratorFragment auto-inject {} + + // provides a preference page for template proposals + fragment = templates.CodetemplatesGeneratorFragment auto-inject {} + + // provides a compare view + fragment = compare.CompareFragment auto-inject {} + + // parse grammar and generate i18n grammar + fragment = org.eclipse.osbp.xtext.basic.generator.BasicDslGrammarI18nGenerator auto-inject {} + } + } +} + diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/XcoreResourceFactory.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/XcoreResourceFactory.java new file mode 100644 index 0000000..5a0d623 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/XcoreResourceFactory.java @@ -0,0 +1,36 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + * + */ +package org.eclipse.osbp.xtext.dialogdsl; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.xcore.resource.XcoreResource; + +// TODO: Auto-generated Javadoc +/** + * A factory for creating XcoreResource objects. + */ +public class XcoreResourceFactory implements Resource.Factory { + + /* (non-Javadoc) + * @see org.eclipse.emf.ecore.resource.Resource.Factory#createResource(org.eclipse.emf.common.util.URI) + */ + @Override + public Resource createResource(URI uri) { + XcoreResource resource = new XcoreResource(); + resource.setURI(uri); + return resource; + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/AbstractECViewDialog.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/AbstractECViewDialog.java new file mode 100644 index 0000000..4f1496d --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/AbstractECViewDialog.java @@ -0,0 +1,620 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + */ +package org.eclipse.osbp.xtext.dialogdsl.common; + +import java.util.HashMap; +import java.util.Locale; +import java.util.Map; +import java.util.UUID; + +import javax.annotation.PostConstruct; +import javax.annotation.PreDestroy; +import javax.inject.Inject; +import javax.inject.Named; + +import org.eclipse.e4.core.contexts.IEclipseContext; +import org.eclipse.e4.core.di.annotations.Optional; +import org.eclipse.e4.core.di.extensions.EventUtils; +import org.eclipse.e4.core.services.events.IEventBroker; +import org.eclipse.e4.ui.model.application.MApplication; +import org.eclipse.e4.ui.workbench.IPresentationEngine; +import org.eclipse.osbp.dsl.common.datatypes.IDto; +import org.eclipse.osbp.dsl.dto.lib.services.IDTOServiceWithMutablePersistence; +import org.eclipse.osbp.ecview.core.common.context.IViewContext; +import org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable; +import org.eclipse.osbp.ecview.core.common.model.core.YView; +import org.eclipse.osbp.ecview.core.common.notification.AbstractReloadRequestService; +import org.eclipse.osbp.ecview.core.common.notification.IReloadRequestService; +import org.eclipse.osbp.ecview.core.common.store.IViewStore; +import org.eclipse.osbp.ecview.extension.model.YStrategyLayout; +import org.eclipse.osbp.ecview.extension.presentation.vaadin.components.common.ECViewComponent; +import org.eclipse.osbp.eventbroker.EventBrokerMsg; +import org.eclipse.osbp.i18n.common.OSI18nService; +import org.eclipse.osbp.osgi.hybrid.api.AbstractHybridVaaclipseView; +import org.eclipse.osbp.persistence.IPersistenceService; +import org.eclipse.osbp.runtime.common.annotations.DirtyStateAdapter; +import org.eclipse.osbp.runtime.common.annotations.DtoUtils; +import org.eclipse.osbp.runtime.common.i18n.II18nService; +import org.eclipse.osbp.runtime.web.vaadin.common.resource.IResourceProvider; +import org.eclipse.osbp.runtime.web.vaadin.components.dialogs.AcceptLoosingDataDialog; +import org.eclipse.osbp.ui.api.metadata.IDSLMetadataService; +import org.eclipse.osbp.ui.api.report.IReportProvider; +import org.eclipse.osbp.ui.api.themes.IThemeResourceService; +import org.eclipse.osbp.ui.api.user.IUser; +import org.eclipse.osbp.ui.common.helper.ICommonUIHelper; +import org.eclipse.osbp.utils.vaadin.SelectDialog; +import org.eclipse.osbp.utils.vaadin.ViewLayoutManager; +import org.eclipse.osbp.vaaclipse.common.ecview.E4EventBrokerAdapter; +import org.eclipse.osbp.vaaclipse.common.ecview.ECViewToE4ServiceBridge; +import org.eclipse.osbp.xtext.action.common.IToolbarAction; +import org.osgi.service.event.Event; +import org.osgi.service.event.EventHandler; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.vaadin.ui.HorizontalLayout; +import com.vaadin.ui.Label; +import com.vaadin.ui.Notification; +import com.vaadin.ui.Notification.Type; +import com.vaadin.ui.UI; +import com.vaadin.ui.VerticalLayout; +import com.vaadin.ui.Window; + +/** + * The Class AbstractECViewDialog. + * + * @param <DTO> the generic type + */ +@SuppressWarnings("all") +public abstract class AbstractECViewDialog<DTO> extends AbstractHybridVaaclipseView implements IUser.UserLocaleListener { + + /** The Constant EVENT__CANCEL. */ + public static final String EVENT__CANCEL = "Cancel"; + + /** The Constant EVENT__DELETE. */ + public static final String EVENT__DELETE = "Delete"; + + /** The Constant EVENT__SAVE. */ + public static final String EVENT__SAVE = "Save"; + + /** The Constant EVENT__NEW. */ + public static final String EVENT__NEW = "New"; + + /** The Constant log. */ + private final static Logger log = LoggerFactory.getLogger("vaaclipseDialog"); + + /** The user id. */ + @Inject + @Named("userId") + @Optional + String userId; + + /** The event broker. */ + @Inject + private IEventBroker eventBroker; + + /** The rendering engine. */ + @Inject + private IPresentationEngine renderingEngine; + + /** The persistence service. */ + @Inject + private IPersistenceService persistenceService; + + /** The theme resource service. */ + @Inject + private IThemeResourceService themeResourceService; + + /** The common ui helper. */ + @Inject + private ICommonUIHelper commonUIHelper; + + /** The translator class service. */ + @Inject + private IDSLMetadataService dslMetadataService; + + /** The report provider. */ + @Inject IReportProvider reportProvider; + + /** The i18n service. */ + @Inject + private II18nService i18nService; + + /** The view store. */ + @Inject + private IViewStore viewStore; + + /** The eclipse context. */ + @Inject + private IEclipseContext eclipseContext; + + @Inject + private IUser user; + + /** The strategy event handler. */ + private StrategyEventHandler strategyEventHandler; + + /** The table selection handler. */ + private EventHandler tableSelectionHandler; + + /** The dispatch action handler. */ + private EventHandler dispatchActionHandler; + + /** The dispatch new ok handler. */ + private EventHandler dispatchNewOkHandler; + + /** The view context. */ + // ecview stuff + private IViewContext viewContext; + + /** The ecview component. */ + private ECViewComponent ecviewComponent; + + /** The rendering params. */ + private Map<String, Object> renderingParams; + + /** The dto service. */ + private IDTOServiceWithMutablePersistence<DTO> dtoService; + + /** The layout manager. */ + private ViewLayoutManager layoutManager; + + /** The toolbar helper. */ + private IToolbarAction toolbarHelper; + + /** The uuid. */ + protected String uuid = UUID.randomUUID().toString(); + private Label dialogLabel; + + private boolean newCreatedDto = false; + + private SelectDialog selectDialog; + private Window selectWindow; + + private IReloadRequestService reloadRequestService = new AbstractReloadRequestService() { + @Override + public void requestReload(YEmbeddable component, Object newDto) { + if (viewContext == null) { + return; + } + Object currentDto = viewContext.getBean(getMainBeanSlot()); + if (currentDto != null) { + boolean dirty = false; + // check if any dto in the dto tree is dirty + DirtyStateAdapter adapter = DtoUtils.getAdapter(DirtyStateAdapter.class, currentDto); + if (adapter != null) { + dirty = adapter.isDirty(); + } + if (!dirty) { + try { + // in case no adapter available, check if + // the current dto is dirty + dirty = DtoUtils.isDirty(currentDto); + } catch (IllegalAccessException e) { + } + } + if (dirty) { + showLoosingDataDialog(viewContext, currentDto, newDto); + } else { + viewContext.setBean(getMainBeanSlot(), newDto); + } + } else { + viewContext.setBean(getMainBeanSlot(), newDto); + } + } + }; + + /** + * Instantiates a new abstract ec view dialog. + * + * @param parent + * the parent + * @param context + * the context + * @param app + * the app + */ + public AbstractECViewDialog(final VerticalLayout parent, final IEclipseContext context, final MApplication app) { + super(parent, context, app); + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.osbp.osgi.hybrid.api.AbstractHybridVaaclipseView#createView (com.vaadin.ui.VerticalLayout) + */ + @Override + public void createView(final VerticalLayout parent) { + layoutManager = new ViewLayoutManager(); + layoutManager.init(parent); + + // create the toolbar + // + toolbarHelper = createToobarHelper(); + if (toolbarHelper != null) { + toolbarHelper.createToolbar(getContext(), renderingEngine, themeResourceService); + } + if (viewStore != null) { + ecviewComponent = new ECViewComponent(new ECViewComponent.ViewProviderCallback() { + @Override + public YView getView(String viewId, Map<String, Object> properties) { + // use the view store to find a user saved view + return viewStore.getMostRecentView(userId, viewId); + } + }); + } else { + ecviewComponent = new ECViewComponent(); + } + + ecviewComponent.setSizeFull(); + layoutManager.getDataArea().addComponent(ecviewComponent); + + // create the rendering params used for ECView + renderingParams = createRenderingParams(); + + // create the event handlers + strategyEventHandler = new StrategyEventHandler(); + + selectDialog = new SelectDialog(); + + tableSelectionHandler = new EventHandler() { + @Override + public void handleEvent(Event event) { + Object dto = null; + Object data = event.getProperty(org.eclipse.e4.core.di.extensions.EventUtils.DATA); + if (data instanceof IDto) { + dto = data; + } else if (data instanceof EventBrokerMsg) { + EventBrokerMsg msg = (EventBrokerMsg) data; + String id = msg.getId(); + log.debug("load bean with id:" + id); + if (id != null) { + try { + dto = dtoService.get((int) Double.parseDouble(id)); + } catch (NumberFormatException e) { + dto = dtoService.get(id); + } catch (NullPointerException e) { + dto = dtoService.get(id); + } + } + } + ecviewComponent.setValue(getViewId(), dto, renderingParams); + newCreatedDto = false; + reloadRequestService.setMode(true); + } + }; + dispatchActionHandler = new EventHandler() { + @Override + public void handleEvent(Event event) { + EventBrokerMsg msg = (EventBrokerMsg) event.getProperty(org.eclipse.e4.core.di.extensions.EventUtils.DATA); + log.debug("dispatch action received in Company for " + msg.getName()); + switch (msg.getName()) { + case EVENT__NEW: + String dtoFQN = getBaseDtoName(); + Map<String, String> subTypes = dslMetadataService.getAllTypeNames(user.getLocale().toLanguageTag(), dtoFQN); + if (subTypes.size() > 1) { + selectWindow = selectDialog.init(eventBroker, subTypes, dtoFQN, "Select SubType", "Ok", getUUID()); + UI.getCurrent().addWindow(selectWindow); + } else { + createNew(dtoFQN); + } + break; + case EVENT__SAVE: + try { + DTO savedDto = (DTO) viewContext.getBean(getMainBeanSlot()); + dtoService.update(savedDto); + DTO newInstance = dtoService.get(getIdForDto(savedDto)); + ecviewComponent.setValue(getViewId(), newInstance, renderingParams); + int insertUpdateFlag = newCreatedDto ? 1 : 0; + eventBroker.send(EventBrokerMsg.REFRESH_VIEW + getEventTopicSuffix(), new EventBrokerMsg(getIdForDtoString(savedDto), getDataName(), 0L, insertUpdateFlag)); + newCreatedDto = false; + reloadRequestService.setMode(true); + } catch (Exception ex) { + showSaveErrorMessage(ex); + } + break; + case EVENT__DELETE: + try { + DTO deletedDto = (DTO) viewContext.getBean(getMainBeanSlot()); + dtoService.delete(deletedDto); + ecviewComponent.setValue(getViewId(), null, renderingParams); + eventBroker.send(EventBrokerMsg.REFRESH_VIEW + getEventTopicSuffix(), new EventBrokerMsg(getIdForDtoString(deletedDto), getDataName())); + newCreatedDto = false; + reloadRequestService.setMode(false); + // initial state of the dialog has to be NEW. This fills + // the view context with a initial blank bean. + createNew(getBaseDtoName()); + } catch (org.eclipse.osbp.dsl.dto.lib.services.DtoServiceException dtoEx) { + showDeleteErrorMessage(dtoEx); + } + break; + case EVENT__CANCEL: + DTO canceledDto = (DTO) viewContext.getBean(getMainBeanSlot()); + DTO oldInstanceCompanyDto = dtoService.get(getIdForDto(canceledDto)); + ecviewComponent.setValue(getViewId(), oldInstanceCompanyDto, renderingParams); + reloadRequestService.setMode(false); + break; + } + } + }; + dispatchNewOkHandler = new EventHandler() { + @Override + public void handleEvent(Event event) { + if (selectWindow != null) { + selectWindow.close(); + UI.getCurrent().removeWindow(selectWindow); + selectWindow = null; + } + EventBrokerMsg msg = (EventBrokerMsg) event.getProperty(EventUtils.DATA); + createNew(msg.getName()); + } + }; + user.addUserLocaleListener(this); + } + + /** + * Creates a new dto. + * + * @param typeName + * the type name for the dto + */ + protected void createNew(String typeName) { + Object newDto = null; + Class<?> clazz = null; + try { + clazz = dslMetadataService.createType(typeName); + } catch (ClassNotFoundException e) { + log.error("{}", e); + return; + } + try { + newDto = clazz.newInstance(); + } catch (InstantiationException | IllegalAccessException e) { + log.error("{}", e); + return; + } + newCreatedDto = true; + viewContext.setBean(getMainBeanSlot(), newDto); + reloadRequestService.setMode(false); + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.osbp.osgi.hybrid.api.AbstractHybridVaaclipseView#createComponents () + */ + @Override + public void createComponents() { + registerPersistenceUnit(persistenceService); + // DTO Services (via DS) + dtoService = getDtoService(); + + // OSBP UI Code + viewContext = ecviewComponent.setValue(getViewId(), null, renderingParams); + if (viewContext == null) { + String message = "ViewContext could not be set for '" + getViewId() + "'"; + log.error(message); + Notification.show(message, Type.ERROR_MESSAGE); + } else { + viewContext.setLocale(user.getLocale()); + // enable the suggest mode of suggest textfields + reloadRequestService.setMode(true); + YView yView = (YView) viewContext.getViewEditpart().getModel(); + + if (yView == null) { + Notification.show("Dialog could not be found!", Type.ERROR_MESSAGE); + return; + } + + // render the Vaadin UI + YStrategyLayout yStrategyLayoutT = commonUIHelper.findLayout(yView); + if (yStrategyLayoutT != null) { + yStrategyLayoutT.setDefaultFocusingEnhancerId("DefaultFocusingEnhancer"); + } + + // Creating event handler for receiving events from StrategyCombo + strategyEventHandler.setViewContext(viewContext); + strategyEventHandler.setUi(UI.getCurrent()); + strategyEventHandler.setLayout(commonUIHelper.findLayout(yView)); + // initial state of the dialog has to be NEW. This fills the view + // context with a initial blank bean. + createNew(getBaseDtoName()); + } + } + + /** + * Removes the old view. + */ + private void removeOldView() { + if (viewContext != null) { + viewContext.dispose(); + } + if (layoutManager.getDataArea().getComponentCount() > 0) { + layoutManager.getDataArea().removeAllComponents(); + } + + } + + /** + * Creates the rendering parameters. + * + * @return the map + */ + protected Map<String, Object> createRenderingParams() { + Map<String, Object> params = new HashMap<String, Object>(); + Map<String, Object> services = new HashMap<String, Object>(); + params.put(IViewContext.PARAM_SERVICES, services); + params.put(ECViewComponent.PROP_SLOT, getMainBeanSlot()); + params.put(IViewContext.PARAM_THIRDPARTY_SERVICE_PROVIDER, new ECViewToE4ServiceBridge(getContext())); + services.put(org.eclipse.osbp.runtime.common.event.IEventBroker.class.getName(), new E4EventBrokerAdapter(eventBroker)); + services.put(II18nService.class.getName(), new OSI18nService(dslMetadataService, i18nService)); + services.put(IUser.class.getName(), user); + // this service will handle reload requests from YSuggestTextField + services.put(IReloadRequestService.class.getName(), reloadRequestService); + return params; + + } + + /** + * Shows a dialog which warns about loosing data. + * + * @param context + * the context + * @param currentDto + * the current dto + * @param newDto + * the new dto + */ + protected void showLoosingDataDialog(IViewContext context, Object currentDto, Object newDto) { + II18nService i18nService = context.getService(II18nService.class.getName()); + IResourceProvider resourceProvider = eclipseContext.get(IResourceProvider.class); + AcceptLoosingDataDialog.showDialog(i18nService, resourceProvider, new Runnable() { + @Override + public void run() { + viewContext.setBean(getMainBeanSlot(), newDto); + } + }, null); + } + + /** + * Gets the uuid. + * + * @return the uuid + */ + protected String getUUID() { + return uuid; + } + + @Override + public void localeChanged(final Locale locale) { + if (layoutManager != null) { + layoutManager.setLabelValue(dslMetadataService.translate(user.getLocale().toLanguageTag(), getBindingPropertyName())); + } + } + + /** + * Subscribe. + */ + @PostConstruct + protected void subscribe() { + eventBroker.subscribe(EventBrokerMsg.AUTOWIRED_ENTITY_PREFIX + getDataName(), tableSelectionHandler); + if (toolbarHelper != null) { + eventBroker.subscribe(EventBrokerMsg.ACTION_BUTTON_EXECUTE_PREFIX + toolbarHelper.getClass().getSimpleName() + getUUID(), dispatchActionHandler); + } + eventBroker.subscribe(EventBrokerMsg.DIALOG_STRATEGY_CHANGED, strategyEventHandler); + eventBroker.subscribe(EventBrokerMsg.QUERY_ANSWER + getUUID(), dispatchNewOkHandler); + } + + /** + * Unsubscribe. + */ + @PreDestroy + protected void unsubscribe() { + eventBroker.unsubscribe(dispatchActionHandler); + eventBroker.unsubscribe(tableSelectionHandler); + eventBroker.unsubscribe(strategyEventHandler); + eventBroker.unsubscribe(dispatchNewOkHandler); + } + + /** + * Gets the view id. + * + * @return the view id + */ + protected abstract String getViewId(); + + /** + * Gets the main bean slot. + * + * @return the main bean slot + */ + protected abstract String getMainBeanSlot(); + + /** + * Gets the full qualified dto name. + * + * @return the base class dto name + */ + protected abstract String getBaseDtoName(); + + /** + * Gets the id for dto string. + * + * @param savedDto + * the saved dto + * @return the id for dto string + */ + protected abstract String getIdForDtoString(DTO savedDto); + + /** + * Gets the id for dto. + * + * @param savedDto + * the saved dto + * @return the id for dto + */ + protected abstract Object getIdForDto(DTO savedDto); + + /** + * Gets the event topic suffix. + * + * @return the event topic suffix + */ + protected abstract String getEventTopicSuffix(); + + /** + * Gets the data name. + * + * @return the data name + */ + protected abstract String getDataName(); + + /** + * Gets the binding property name. + * + * @return the binding property name + */ + protected abstract String getBindingPropertyName(); + + /** + * Gets the dto service. + * + * @return the dto service + */ + protected abstract IDTOServiceWithMutablePersistence<DTO> getDtoService(); + + protected abstract void registerPersistenceUnit(IPersistenceService persistenceService); + + /** + * Creates the toobar helper. + * + * @return the i dialog toolbar action + */ + protected abstract IToolbarAction createToobarHelper(); + + /** + * Show save error message. + * + * @param ex + * the ex + */ + protected abstract void showSaveErrorMessage(Exception ex); + + /** + * Show delete error message. + * + * @param ex + * the ex + */ + protected abstract void showDeleteErrorMessage(Exception ex); +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/AbstractEmbeddedDialog.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/AbstractEmbeddedDialog.java new file mode 100644 index 0000000..e9ebafd --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/AbstractEmbeddedDialog.java @@ -0,0 +1,588 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + */ +package org.eclipse.osbp.xtext.dialogdsl.common; + +import java.util.HashMap; +import java.util.Locale; +import java.util.Map; +import java.util.UUID; + +import javax.annotation.PreDestroy; +import javax.inject.Inject; +import javax.inject.Named; + +import org.eclipse.e4.core.contexts.IEclipseContext; +import org.eclipse.e4.core.di.annotations.Optional; +import org.eclipse.e4.core.di.extensions.EventUtils; +import org.eclipse.e4.core.services.events.IEventBroker; +import org.eclipse.e4.ui.workbench.IPresentationEngine; +import org.eclipse.osbp.dsl.common.datatypes.IDto; +import org.eclipse.osbp.dsl.dto.lib.services.IDTOServiceWithMutablePersistence; +import org.eclipse.osbp.ecview.core.common.context.IViewContext; +import org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable; +import org.eclipse.osbp.ecview.core.common.model.core.YView; +import org.eclipse.osbp.ecview.core.common.notification.AbstractReloadRequestService; +import org.eclipse.osbp.ecview.core.common.notification.IReloadRequestService; +import org.eclipse.osbp.ecview.core.common.store.IViewStore; +import org.eclipse.osbp.ecview.extension.model.YStrategyLayout; +import org.eclipse.osbp.ecview.extension.presentation.vaadin.components.common.ECViewComponent; +import org.eclipse.osbp.eventbroker.EventBrokerMsg; +import org.eclipse.osbp.i18n.common.OSI18nService; +import org.eclipse.osbp.persistence.IPersistenceService; +import org.eclipse.osbp.runtime.common.annotations.DirtyStateAdapter; +import org.eclipse.osbp.runtime.common.annotations.DtoUtils; +import org.eclipse.osbp.runtime.common.i18n.II18nService; +import org.eclipse.osbp.runtime.web.vaadin.common.resource.IResourceProvider; +import org.eclipse.osbp.runtime.web.vaadin.components.dialogs.AcceptLoosingDataDialog; +import org.eclipse.osbp.ui.api.metadata.IDSLMetadataService; +import org.eclipse.osbp.ui.api.report.IReportProvider; +import org.eclipse.osbp.ui.api.themes.IThemeResourceService; +import org.eclipse.osbp.ui.api.user.IUser; +import org.eclipse.osbp.ui.common.helper.ICommonUIHelper; +import org.eclipse.osbp.utils.vaadin.SelectDialog; +import org.eclipse.osbp.utils.vaadin.ViewLayoutManager; +import org.eclipse.osbp.vaaclipse.common.ecview.E4EventBrokerAdapter; +import org.eclipse.osbp.vaaclipse.common.ecview.ECViewToE4ServiceBridge; +import org.eclipse.osbp.xtext.action.common.IToolbarAction; +import org.osgi.dto.DTO; +import org.osgi.service.event.Event; +import org.osgi.service.event.EventHandler; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.vaadin.ui.HorizontalLayout; +import com.vaadin.ui.Label; +import com.vaadin.ui.Notification; +import com.vaadin.ui.Notification.Type; +import com.vaadin.ui.UI; +import com.vaadin.ui.VerticalLayout; +import com.vaadin.ui.Window; + +/** + * The Class AbstractEmbeddedDialog. + * + * @param <DTO> the generic type + */ +@SuppressWarnings("all") +public abstract class AbstractEmbeddedDialog<DTO> implements IUser.UserLocaleListener { + + /** The Constant EVENT__CANCEL. */ + public static final String EVENT__CANCEL = "Cancel"; + + /** The Constant EVENT__DELETE. */ + public static final String EVENT__DELETE = "Delete"; + + /** The Constant EVENT__SAVE. */ + public static final String EVENT__SAVE = "Save"; + + /** The Constant EVENT__NEW. */ + public static final String EVENT__NEW = "New"; + + /** The Constant log. */ + private final static Logger log = LoggerFactory.getLogger("vaaclipseDialog"); + + /** The user id. */ + @Inject + @Named("userId") + @Optional + String userId; + + /** The event broker. */ + @Inject + private IEventBroker eventBroker; + + /** The rendering engine. */ + @Inject + private IPresentationEngine renderingEngine; + + /** The persistence service. */ + @Inject + private IPersistenceService persistenceService; + + /** The theme resource service. */ + @Inject + private IThemeResourceService themeResourceService; + + /** The common ui helper. */ + @Inject + private ICommonUIHelper commonUIHelper; + + /** The translator class service. */ + @Inject + private IDSLMetadataService dslMetadataService; + + /** The report provider. */ + @Inject IReportProvider reportProvider; + + /** The i18n service. */ + @Inject + private II18nService i18nService; + + /** The view store. */ + @Inject + private IViewStore viewStore; + + /** The eclipse context. */ + @Inject + private IEclipseContext eclipseContext; + + @Inject + private IUser user; + + /** The strategy event handler. */ + private StrategyEventHandler strategyEventHandler; + + /** The table selection handler. */ + private EventHandler tableSelectionHandler; + + /** The dispatch action handler. */ + private EventHandler dispatchActionHandler; + + /** The dispatch new ok handler. */ + private EventHandler dispatchNewOkHandler; + + /** The view context. */ + // ecview stuff + private IViewContext viewContext; + + /** The ecview component. */ + private ECViewComponent ecviewComponent; + + /** The rendering params. */ + private Map<String, Object> renderingParams; + + /** The dto service. */ + private IDTOServiceWithMutablePersistence<DTO> dtoService; + + /** The layout manager. */ + private ViewLayoutManager layoutManager; + + /** The toolbar helper. */ + private IToolbarAction toolbarHelper; + + /** The uuid. */ + protected String uuid = UUID.randomUUID().toString(); + private Label dialogLabel; + + private boolean newCreatedDto = false; + + private SelectDialog selectDialog; + private Window selectWindow; + + private IReloadRequestService reloadRequestService = new AbstractReloadRequestService() { + @Override + public void requestReload(YEmbeddable component, Object newDto) { + if (viewContext == null) { + return; + } + Object currentDto = viewContext.getBean(getMainBeanSlot()); + if (currentDto != null) { + boolean dirty = false; + // check if any dto in the dto tree is dirty + DirtyStateAdapter adapter = DtoUtils.getAdapter(DirtyStateAdapter.class, currentDto); + if (adapter != null) { + dirty = adapter.isDirty(); + } + if (!dirty) { + try { + // in case no adapter available, check if + // the current dto is dirty + dirty = DtoUtils.isDirty(currentDto); + } catch (IllegalAccessException e) { + } + } + if (dirty) { + showLoosingDataDialog(viewContext, currentDto, newDto); + } else { + viewContext.setBean(getMainBeanSlot(), newDto); + } + } else { + viewContext.setBean(getMainBeanSlot(), newDto); + } + } + }; + + /* + * (non-Javadoc) + * + * @see org.eclipse.osbp.osgi.hybrid.api.AbstractHybridVaaclipseView#createView(com.vaadin.ui.VerticalLayout) + */ + public void createView(final VerticalLayout parent) { + layoutManager = new ViewLayoutManager(); + layoutManager.init(parent); + // create the toolbar + // + toolbarHelper = createToobarHelper(); + if (toolbarHelper != null) { + toolbarHelper.createToolbar(eclipseContext, renderingEngine, themeResourceService); + } + if (viewStore != null) { + ecviewComponent = new ECViewComponent(new ECViewComponent.ViewProviderCallback() { + @Override + public YView getView(String viewId, Map<String, Object> properties) { + // use the view store to find a user saved view + return viewStore.getMostRecentView(userId, viewId); + } + }); + } else { + ecviewComponent = new ECViewComponent(); + } + + ecviewComponent.setSizeFull(); + layoutManager.getDataArea().addComponent(ecviewComponent); + + // create the rendering params used for ECView + renderingParams = createRenderingParams(); + + // create the event handlers + strategyEventHandler = new StrategyEventHandler(); + + selectDialog = new SelectDialog(); + + tableSelectionHandler = new EventHandler() { + @Override + public void handleEvent(Event event) { + Object dto = null; + Object data = event.getProperty(org.eclipse.e4.core.di.extensions.EventUtils.DATA); + if (data instanceof IDto) { + dto = data; + } else if (data instanceof EventBrokerMsg) { + EventBrokerMsg msg = (EventBrokerMsg) data; + String id = msg.getId(); + log.debug("load bean with id:" + id); + if (id != null) { + try { + dto = dtoService.get((int) Double.parseDouble(id)); + } catch (NumberFormatException e) { + dto = dtoService.get(id); + } catch (NullPointerException e) { + dto = dtoService.get(id); + } + } + } + ecviewComponent.setValue(getViewId(), dto, renderingParams); + newCreatedDto = false; + reloadRequestService.setMode(true); + } + }; + dispatchActionHandler = new EventHandler() { + @Override + public void handleEvent(Event event) { + EventBrokerMsg msg = (EventBrokerMsg) event.getProperty(org.eclipse.e4.core.di.extensions.EventUtils.DATA); + log.debug("dispatch action received in Company for " + msg.getName()); + switch (msg.getName()) { + case EVENT__NEW: + String dtoFQN = getBaseDtoName(); + Map<String, String> subTypes = dslMetadataService.getAllTypeNames(user.getLocale().toLanguageTag(), dtoFQN); + if (subTypes.size() > 1) { + selectWindow = selectDialog.init(eventBroker, subTypes, dtoFQN, "Select SubType", "Ok", getUUID()); + UI.getCurrent().addWindow(selectWindow); + } else { + createNew(dtoFQN); + } + break; + case EVENT__SAVE: + try { + DTO savedDto = (DTO) viewContext.getBean(getMainBeanSlot()); + dtoService.update(savedDto); + DTO newInstance = dtoService.get(getIdForDto(savedDto)); + ecviewComponent.setValue(getViewId(), newInstance, renderingParams); + int insertUpdateFlag = newCreatedDto ? 1 : 0; + eventBroker.send(EventBrokerMsg.REFRESH_VIEW + getEventTopicSuffix(), new EventBrokerMsg(getIdForDtoString(savedDto), getDataName(), 0L, insertUpdateFlag)); + newCreatedDto = false; + reloadRequestService.setMode(true); + } catch (Exception ex) { + showSaveErrorMessage(ex); + } + break; + case EVENT__DELETE: + try { + DTO deletedDto = (DTO) viewContext.getBean(getMainBeanSlot()); + dtoService.delete(deletedDto); + ecviewComponent.setValue(getViewId(), null, renderingParams); + eventBroker.send(EventBrokerMsg.REFRESH_VIEW + getEventTopicSuffix(), new EventBrokerMsg(getIdForDtoString(deletedDto), getDataName())); + newCreatedDto = false; + reloadRequestService.setMode(false); + // initial state of the dialog has to be NEW. This fills the view context with a initial blank bean. + createNew(getBaseDtoName()); + } catch (org.eclipse.osbp.dsl.dto.lib.services.DtoServiceException dtoEx) { + showDeleteErrorMessage(dtoEx); + } + break; + case EVENT__CANCEL: + DTO canceledDto = (DTO) viewContext.getBean(getMainBeanSlot()); + DTO oldInstanceCompanyDto = dtoService.get(getIdForDto(canceledDto)); + ecviewComponent.setValue(getViewId(), oldInstanceCompanyDto, renderingParams); + reloadRequestService.setMode(false); + break; + } + } + }; + dispatchNewOkHandler = new EventHandler() { + @Override + public void handleEvent(Event event) { + if (selectWindow != null) { + selectWindow.close(); + UI.getCurrent().removeWindow(selectWindow); + selectWindow = null; + } + EventBrokerMsg msg = (EventBrokerMsg) event.getProperty(EventUtils.DATA); + createNew(msg.getName()); + } + }; + user.addUserLocaleListener(this); + subscribe(); + } + + /** + * Creates a new dto. + * + * @param typeName + * the type name for the dto + */ + protected void createNew(String typeName) { + Object newDto = null; + Class<?> clazz = null; + try { + clazz = dslMetadataService.createType(typeName); + } catch (ClassNotFoundException e) { + log.error("{}", e); + return; + } + try { + newDto = clazz.newInstance(); + } catch (InstantiationException | IllegalAccessException e) { + log.error("{}", e); + return; + } + newCreatedDto = true; + viewContext.setBean(getMainBeanSlot(), newDto); + reloadRequestService.setMode(false); + } + + public void createComponents() { + registerPersistenceUnit(persistenceService); + // DTO Services (via DS) + dtoService = getDtoService(); + + // OSBP UI Code + viewContext = ecviewComponent.setValue(getViewId(), null, renderingParams); + viewContext.setLocale(user.getLocale()); + // enable the suggest mode of suggest textfields + reloadRequestService.setMode(true); + YView yView = (YView) viewContext.getViewEditpart().getModel(); + + if (yView == null) { + Notification.show("Dialog could not be found!", Type.ERROR_MESSAGE); + return; + } + + // render the Vaadin UI + YStrategyLayout yStrategyLayoutT = commonUIHelper.findLayout(yView); + if (yStrategyLayoutT != null) { + yStrategyLayoutT.setDefaultFocusingEnhancerId("DefaultFocusingEnhancer"); + } + + // Creating event handler for receiving events from StrategyCombo + strategyEventHandler.setViewContext(viewContext); + strategyEventHandler.setUi(UI.getCurrent()); + strategyEventHandler.setLayout(commonUIHelper.findLayout(yView)); + // initial state of the dialog has to be NEW. This fills the view context with a initial blank bean. + createNew(getBaseDtoName()); + } + + /** + * Removes the old view. + */ + private void removeOldView() { + if (viewContext != null) { + viewContext.dispose(); + } + if (layoutManager.getDataArea().getComponentCount() > 0) { + layoutManager.getDataArea().removeAllComponents(); + } + + } + + /** + * Creates the rendering parameters. + * + * @return the map + */ + protected Map<String, Object> createRenderingParams() { + Map<String, Object> params = new HashMap<String, Object>(); + Map<String, Object> services = new HashMap<String, Object>(); + params.put(IViewContext.PARAM_SERVICES, services); + params.put(ECViewComponent.PROP_SLOT, getMainBeanSlot()); + params.put(IViewContext.PARAM_THIRDPARTY_SERVICE_PROVIDER, new ECViewToE4ServiceBridge(eclipseContext)); + services.put(org.eclipse.osbp.runtime.common.event.IEventBroker.class.getName(), new E4EventBrokerAdapter(eventBroker)); + services.put(II18nService.class.getName(), new OSI18nService(dslMetadataService, i18nService)); + services.put(IUser.class.getName(), user); + // this service will handle reload requests from YSuggestTextField + services.put(IReloadRequestService.class.getName(), reloadRequestService); + return params; + + } + + /** + * Shows a dialog which warns about loosing data. + * + * @param context + * the context + * @param currentDto + * the current dto + * @param newDto + * the new dto + */ + protected void showLoosingDataDialog(IViewContext context, Object currentDto, Object newDto) { + II18nService i18nService = context.getService(II18nService.class.getName()); + IResourceProvider resourceProvider = eclipseContext.get(IResourceProvider.class); + AcceptLoosingDataDialog.showDialog(i18nService, resourceProvider, new Runnable() { + @Override + public void run() { + viewContext.setBean(getMainBeanSlot(), newDto); + } + }, null); + } + + /** + * Gets the uuid. + * + * @return the uuid + */ + protected String getUUID() { + return uuid; + } + + /** + * Subscribe. + */ + protected void subscribe() { + eventBroker.subscribe(EventBrokerMsg.AUTOWIRED_ENTITY_PREFIX + getDataName(), tableSelectionHandler); + if (toolbarHelper != null) { + eventBroker.subscribe(EventBrokerMsg.ACTION_BUTTON_EXECUTE_PREFIX + toolbarHelper.getClass().getSimpleName() + getUUID(), dispatchActionHandler); + } + eventBroker.subscribe(EventBrokerMsg.DIALOG_STRATEGY_CHANGED, strategyEventHandler); + eventBroker.subscribe(EventBrokerMsg.QUERY_ANSWER + getUUID(), dispatchNewOkHandler); + } + + /** + * Unsubscribe. + */ + @PreDestroy + protected void unsubscribe() { + eventBroker.unsubscribe(dispatchActionHandler); + eventBroker.unsubscribe(tableSelectionHandler); + eventBroker.unsubscribe(strategyEventHandler); + eventBroker.unsubscribe(dispatchNewOkHandler); + } + + /** + * Gets the view id. + * + * @return the view id + */ + protected abstract String getViewId(); + + /** + * Gets the main bean slot. + * + * @return the main bean slot + */ + protected abstract String getMainBeanSlot(); + + /** + * Gets the full qualified dto name. + * + * @return the base class dto name + */ + protected abstract String getBaseDtoName(); + + /** + * Gets the id for dto string. + * + * @param savedDto + * the saved dto + * @return the id for dto string + */ + protected abstract String getIdForDtoString(DTO savedDto); + + /** + * Gets the id for dto. + * + * @param savedDto + * the saved dto + * @return the id for dto + */ + protected abstract Object getIdForDto(DTO savedDto); + + /** + * Gets the event topic suffix. + * + * @return the event topic suffix + */ + protected abstract String getEventTopicSuffix(); + + /** + * Gets the data name. + * + * @return the data name + */ + protected abstract String getDataName(); + + /** + * Gets the binding property name. + * + * @return the binding property name + */ + protected abstract String getBindingPropertyName(); + + /** + * Gets the dto service. + * + * @return the dto service + */ + protected abstract IDTOServiceWithMutablePersistence<DTO> getDtoService(); + + protected abstract void registerPersistenceUnit(IPersistenceService persistenceService); + + /** + * Creates the toobar helper. + * + * @return the i dialog toolbar action + */ + protected abstract IToolbarAction createToobarHelper(); + + /** + * Show save error message. + * + * @param ex + * the ex + */ + protected abstract void showSaveErrorMessage(Exception ex); + + /** + * Show delete error message. + * + * @param ex + * the ex + */ + protected abstract void showDeleteErrorMessage(Exception ex); + + @Override + public void localeChanged(final Locale locale) { + if (layoutManager != null) { + layoutManager.setLabelValue(dslMetadataService.translate(user.getLocale().toLanguageTag(), getBindingPropertyName())); + } + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/AbstractUIDialog.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/AbstractUIDialog.java new file mode 100644 index 0000000..5d97add --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/AbstractUIDialog.java @@ -0,0 +1,266 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + */ +package org.eclipse.osbp.xtext.dialogdsl.common; + +import java.util.HashMap; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.UUID; + +import javax.inject.Inject; +import javax.inject.Named; + +import org.eclipse.e4.core.contexts.IEclipseContext; +import org.eclipse.e4.core.di.annotations.Optional; +import org.eclipse.e4.core.services.events.IEventBroker; +import org.eclipse.e4.ui.model.application.MApplication; +import org.eclipse.osbp.ecview.core.common.beans.ISlot; +import org.eclipse.osbp.ecview.core.common.context.IViewContext; +import org.eclipse.osbp.ecview.core.common.model.core.YView; +import org.eclipse.osbp.ecview.core.common.store.IViewStore; +import org.eclipse.osbp.ecview.extension.presentation.vaadin.components.common.ECViewComponent; +import org.eclipse.osbp.i18n.common.OSI18nService; +import org.eclipse.osbp.osgi.hybrid.api.AbstractHybridVaaclipseView; +import org.eclipse.osbp.runtime.common.i18n.II18nService; +import org.eclipse.osbp.ui.api.metadata.IDSLMetadataService; +import org.eclipse.osbp.ui.api.report.IReportProvider; +import org.eclipse.osbp.ui.api.statemachine.IPeripheral; +import org.eclipse.osbp.ui.api.themes.IThemeResourceService; +import org.eclipse.osbp.ui.api.user.IUser; +import org.eclipse.osbp.vaaclipse.common.ecview.E4EventBrokerAdapter; +import org.eclipse.osbp.vaaclipse.common.ecview.ECViewToE4ServiceBridge; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.vaadin.server.ClientConnector.AttachEvent; +import com.vaadin.server.ClientConnector.AttachListener; +import com.vaadin.server.ClientConnector.DetachEvent; +import com.vaadin.server.ClientConnector.DetachListener; +import com.vaadin.ui.Notification; +import com.vaadin.ui.Notification.Type; +import com.vaadin.ui.VerticalLayout; + +// TODO: Auto-generated Javadoc +/** + * <b>This class was auto generated! Leave it unmodified to avoid unpredictable results!</b>. + * + * @param <DTO> + * the generic type + */ +@SuppressWarnings("all") +public abstract class AbstractUIDialog extends AbstractHybridVaaclipseView + implements IUser.UserLocaleListener, DetachListener, AttachListener { + + public AbstractUIDialog(VerticalLayout parent, IEclipseContext context, MApplication app) { + super(parent, context, app); + // TODO Auto-generated constructor stub + } + + /** The Constant log. */ + private final static Logger log = LoggerFactory.getLogger("vaaclipseDialog"); + + /** The user id. */ + @Inject + @Named("userId") + @Optional + String userId; + + /** The event broker. */ + @Inject + private IEventBroker eventBroker; + + /** The theme resource service. */ + @Inject + private IThemeResourceService themeResourceService; + + /** The translator class service. */ + @Inject + private IDSLMetadataService dslMetadataService; + + /** The report provider. */ + @Inject IReportProvider reportProvider; + + /** The i18n service. */ + @Inject + private II18nService i18nService; + + /** The view store. */ + @Inject + private IViewStore viewStore; + + /** The eclipse context. */ + @Inject + private IEclipseContext eclipseContext; + + @Inject + private IUser user; + + /** The view context. */ + private IViewContext viewContext; + + /** The ecview component. */ + private ECViewComponent ecviewComponent; + + /** The rendering params. */ + private Map<String, Object> renderingParams; + + /** The uuid. */ + protected String uuid = UUID.randomUUID().toString(); + + private VerticalLayout workArea; + + /* + * (non-Javadoc) + * + * @see org.eclipse.osbp.osgi.hybrid.api.AbstractHybridVaaclipseView#createView (com.vaadin.ui.VerticalLayout) + */ + public void createView(final VerticalLayout parent) { + workArea = new VerticalLayout(); + workArea.setSizeFull(); + + parent.setPrimaryStyleName("osbp"); + parent.addStyleName("os-view"); + parent.addStyleName("os-dialog-view"); + workArea.addStyleName("os-work-area"); + parent.addComponent(workArea); + parent.setExpandRatio(workArea, 1.0f); + + if (viewStore != null) { + ecviewComponent = new ECViewComponent(new ECViewComponent.ViewProviderCallback() { + @Override + public YView getView(String viewId, Map<String, Object> properties) { + // use the view store to find a user saved view + return viewStore.getMostRecentView(userId, viewId); + } + }); + } else { + ecviewComponent = new ECViewComponent(); + } + parent.addAttachListener(this); + parent.addDetachListener(this); + + ecviewComponent.setSizeFull(); + workArea.addComponent(ecviewComponent); + + // create the rendering params used for ECView + renderingParams = createRenderingParams(); + user.addUserLocaleListener(this); + } + + public void createComponents() { + // OSBP UI Code + viewContext = ecviewComponent.setValue(getViewId(), null, renderingParams); + viewContext.setLocale(user.getLocale()); + // enable the suggest mode of suggest textfields + YView yView = (YView) viewContext.getViewEditpart().getModel(); + + if (yView == null) { + Notification.show("Dialog could not be found!", Type.ERROR_MESSAGE); + return; + } + } + + protected abstract String getViewId(); + + /** + * Removes the old view. + */ + private void removeOldView() { + if (viewContext != null) { + viewContext.dispose(); + } + if (workArea.getComponentCount() > 0) { + workArea.removeAllComponents(); + } + + } + + /** + * Creates the rendering parameters. + * + * @return the map + */ + protected Map<String, Object> createRenderingParams() { + Map<String, Object> params = new HashMap<String, Object>(); + Map<String, Object> services = new HashMap<String, Object>(); + params.put(IViewContext.PARAM_SERVICES, services); + params.put(IViewContext.PARAM_THIRDPARTY_SERVICE_PROVIDER, new ECViewToE4ServiceBridge(eclipseContext)); + services.put(org.eclipse.osbp.runtime.common.event.IEventBroker.class.getName(), new E4EventBrokerAdapter(eventBroker)); + services.put(II18nService.class.getName(), new OSI18nService(dslMetadataService, i18nService)); + services.put(IUser.class.getName(), user); + return params; + + } + + /** + * Gets the uuid. + * + * @return the uuid + */ + protected String getUUID() { + return uuid; + } + + public IViewContext getViewContext() { + return viewContext; + } + + public IUser getUser() { + return user; + } + + public IDSLMetadataService getDslMetadataService() { + return dslMetadataService; + } + + public IThemeResourceService getThemeResourceService() { + return themeResourceService; + } + + public IReportProvider getReportProvider() { + return reportProvider; + } + + @Override + abstract public void localeChanged(final Locale locale); + + /** + * if a this window is detached, we release all in the viewContext + * registered peripheral devices. + * + * @param event the event + */ + @Override + public void detach(DetachEvent event) { + if(getViewContext() != null && getViewContext().getValueBeans() != null) { + for(String selector:getViewContext().getValueBeans().keySet()) { + ISlot slot = getViewContext().getBeanSlot(selector); + if(IPeripheral.class.isAssignableFrom(slot.getValueType())) { + ((IPeripheral)slot.getValue()).releaseDevices(); + } + } + } + } + @Override + public void attach(AttachEvent event) { + if(getViewContext() != null && getViewContext().getValueBeans() != null) { + for(String selector:getViewContext().getValueBeans().keySet()) { + ISlot slot = getViewContext().getBeanSlot(selector); + if(IPeripheral.class.isAssignableFrom(slot.getValueType())) { + ((IPeripheral)slot.getValue()).initDevices(); + } + } + } + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/StrategyEventHandler.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/StrategyEventHandler.java new file mode 100644 index 0000000..c9032f7 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/StrategyEventHandler.java @@ -0,0 +1,157 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + */ +package org.eclipse.osbp.xtext.dialogdsl.common; + +import org.eclipse.osbp.ecview.core.common.context.IViewContext; +import org.eclipse.osbp.ecview.core.util.emf.ModelUtil; +import org.eclipse.osbp.ecview.extension.editparts.IStrategyLayoutEditpart; +import org.eclipse.osbp.ecview.extension.model.YDelegatingLayoutingStrategy; +import org.eclipse.osbp.ecview.extension.model.YECviewFactory; +import org.eclipse.osbp.ecview.extension.model.YStrategyLayout; +import org.eclipse.osbp.runtime.web.vaadin.databinding.VaadinObservables; + +import com.vaadin.ui.UI; + +// TODO: Auto-generated Javadoc +/** + * The Class StrategyEventHandler. + */ +public class StrategyEventHandler implements org.osgi.service.event.EventHandler { + + /** The view context. */ + private IViewContext viewContext; + + /** The ui. */ + private UI ui; + + /** The layout. */ + private YStrategyLayout layout; + + /** + * Gets the view context. + * + * @return the view context + */ + public IViewContext getViewContext() { + return viewContext; + } + + /** + * Sets the view context. + * + * @param viewContext + * the new view context + */ + public void setViewContext(IViewContext viewContext) { + this.viewContext = viewContext; + } + + /** + * Gets the ui. + * + * @return the ui + */ + public UI getUi() { + return ui; + } + + /** + * Sets the ui. + * + * @param ui + * the new ui + */ + public void setUi(UI ui) { + this.ui = ui; + } + + /** + * Gets the layout. + * + * @return the layout + */ + public YStrategyLayout getLayout() { + return layout; + } + + /** + * Sets the layout. + * + * @param layout + * the new layout + */ + public void setLayout(YStrategyLayout layout) { + this.layout = layout; + } + + /* + * (non-Javadoc) + * + * @see + * org.osgi.service.event.EventHandler#handleEvent(org.osgi.service.event + * .Event) + */ + @Override + public void handleEvent(final org.osgi.service.event.Event event) { + VaadinObservables.activateRealm(getUi()); + if (getLayout() != null) { + getViewContext().execAsync(new Runnable() { + @Override + public void run() { + VaadinObservables.activateRealm(getUi()); + StrategyProvider provider = (StrategyProvider) event.getProperty(org.eclipse.e4.core.di.extensions.EventUtils.DATA); + String providerId = provider.getLayoutingId(); + String focusingEnhancerId = provider.getFocusingEnhancerId(); + if (providerId == "Default") { + getLayout().setLayoutingStrategy(null); + IStrategyLayoutEditpart strategyEditpart = ModelUtil.findEditpart(getLayout()); + if (strategyEditpart != null) { + strategyEditpart.resetToDefaultFocusing(); + } + } else if (providerId != null && !providerId.isEmpty()) { + YDelegatingLayoutingStrategy layoutingStrategy = YECviewFactory.eINSTANCE.createYDelegatingLayoutingStrategy(); + layoutingStrategy.setDelegateStrategyId(providerId); + getLayout().setLayoutingStrategy(layoutingStrategy); + + getLayout().setDefaultFocusingEnhancerId(focusingEnhancerId); + + // IStrategyLayoutEditpart strategyEditpart = ModelUtil + // .getEditpart(getLayout()); + // IDefaultFocusingEnhancer enhancer = + // strategyEditpart.findFocusingEnhancerService(focusingEnhancerId); + // getLayout().getFocusingStrategies().clear(); + // enhancer.enhanceFocusing(getLayout()); + + // YDelegatingFocusingStrategy backwardFocusingStrategy + // = + // YECviewFactory.eINSTANCE + // .createYDelegatingFocusingStrategy(); + // YDelegatingFocusingStrategy forwardFocusingStrategy = + // YECviewFactory.eINSTANCE + // .createYDelegatingFocusingStrategy(); + // EList<YFocusingStrategy> focusingStrategies = + // getLayout() + // .getFocusingStrategies(); + // backwardFocusingStrategy + // .setDelegateStrategyId("cx.enter.backward"); + // forwardFocusingStrategy + // .setDelegateStrategyId("cx.tab.forward"); + // getLayout().getFocusingStrategies().clear(); + // focusingStrategies.add(backwardFocusingStrategy); + // focusingStrategies.add(forwardFocusingStrategy); + } + } + }); + } + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/StrategyProvider.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/StrategyProvider.java new file mode 100644 index 0000000..db59912 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/common/StrategyProvider.java @@ -0,0 +1,75 @@ +/** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + */ +package org.eclipse.osbp.xtext.dialogdsl.common; + +// TODO: Auto-generated Javadoc +/** + * The Class StrategyProvider. + */ +public class StrategyProvider { + + /** The layouting id. */ + private String layoutingId; + + /** The focusing enhancer id. */ + private String focusingEnhancerId; + + /** + * Instantiates a new strategy provider. + * + * @param layoutingId the layouting id + * @param focusingEnhancerId the focusing enhancer id + */ + public StrategyProvider(String layoutingId, String focusingEnhancerId) { + super(); + this.layoutingId = layoutingId; + this.focusingEnhancerId = focusingEnhancerId; + } + + /** + * Gets the layouting id. + * + * @return the layouting id + */ + public String getLayoutingId() { + return layoutingId; + } + + /** + * Sets the layouting id. + * + * @param layoutingId the new layouting id + */ + public void setLayoutingId(String layoutingId) { + this.layoutingId = layoutingId; + } + + /** + * Gets the focusing enhancer id. + * + * @return the focusing enhancer id + */ + public String getFocusingEnhancerId() { + return focusingEnhancerId; + } + + /** + * Sets the focusing enhancer id. + * + * @param focusingEnhancerId the new focusing enhancer id + */ + public void setFocusingEnhancerId(String focusingEnhancerId) { + this.focusingEnhancerId = focusingEnhancerId; + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/constants/DialogConstants.xtend b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/constants/DialogConstants.xtend new file mode 100644 index 0000000..301c788 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/constants/DialogConstants.xtend @@ -0,0 +1,39 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.constants + +import org.eclipse.osbp.osgi.hybrid.api.AbstractHybridVaaclipseView +import org.eclipse.osbp.ecview.core.common.visibility.IVisibilityProcessor +import org.eclipse.e4.core.contexts.IContextFunction +import org.eclipse.osbp.xtext.dialogdsl.common.AbstractECViewDialog +import org.eclipse.osbp.ui.api.contextfunction.IViewEmbeddedProvider + +class DialogConstants { + public val VAACLIPSE_VIEW_PREFIX = "Dialog"; + public val MOBILE_VIEW_PREFIX = "Mobile"; + // Actions + public val ACTION_SAVE = "org.eclipse.osbp.actions.save"; + public val ACTION_LOAD = "org.eclipse.osbp.actions.load"; + public val ACTION_DELETE = "org.eclipse.osbp.actions.delete"; + public val ACTION_FIND = "org.eclipse.osbp.actions.find"; + // + public val MOBILEVIEW_SYPERTYPE = "org.eclipse.osbp.mobile.vaadin.ecview.api.AbstractMobileView" + public val VAACLIPSEVIEW_SYPERTYPE = typeof(AbstractHybridVaaclipseView).canonicalName + public val VAACLIPSEVIEW_SYPERTYPE2 = typeof(IViewEmbeddedProvider).canonicalName + public val VAACLIPSEVIEW_SYPERTYPE3 = typeof(IContextFunction).canonicalName + public val VAACLIPSEVIEW_SYPERTYPE4 = typeof(AbstractECViewDialog).canonicalName + public val VISIBILITYPROCESSOR_SYPERTYPE = typeof(IVisibilityProcessor).canonicalName +}
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/converter/DefaultECViewDialogGenerator.xtend b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/converter/DefaultECViewDialogGenerator.xtend new file mode 100644 index 0000000..3f3b87f --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/converter/DefaultECViewDialogGenerator.xtend @@ -0,0 +1,20 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.converter + +class DefaultECViewDialogGenerator { + +}
\ No newline at end of file diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/formatting/DialogDslFormatter.xtend b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/formatting/DialogDslFormatter.xtend new file mode 100644 index 0000000..a09e86f --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/formatting/DialogDslFormatter.xtend @@ -0,0 +1,42 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.formatting + +import com.google.inject.Inject +import org.eclipse.osbp.utils.xtext.GenericFormatter +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter +import org.eclipse.xtext.formatting.impl.FormattingConfig +import org.eclipse.xtext.xbase.services.XtypeGrammarAccess + +/** + * This class contains custom formatting description. + * + * see : http://www.eclipse.org/Xtext/documentation.html#formatting + * on how and when to use it + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +class DialogDslFormatter extends AbstractDeclarativeFormatter { + + @Inject XtypeGrammarAccess grammarAccess + + override protected void configureFormatting(FormattingConfig c) { + val genericFormatter = new GenericFormatter() + + genericFormatter.formatFirstLevelBlocks( c, grammar.grammar, "Dialog", "DialogImport" ) + genericFormatter.genericFormatting( c, grammar, grammarAccess ) + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/generator/DialogDslGenerator.xtend b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/generator/DialogDslGenerator.xtend new file mode 100644 index 0000000..b0170af --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/generator/DialogDslGenerator.xtend @@ -0,0 +1,305 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.generator + +import com.google.inject.Inject +import com.vaadin.ui.ComponentContainer +import com.vaadin.ui.Label +import com.vaadin.ui.Notification +import com.vaadin.ui.Notification.Type +import com.vaadin.ui.UI +import java.io.StringWriter +import java.io.Writer +import java.util.HashMap +import java.util.Iterator +import java.util.Locale +import java.util.ResourceBundle +import java.util.Set +import java.util.UUID +import org.eclipse.core.databinding.DataBindingContext +import org.eclipse.core.databinding.UpdateValueStrategy +import org.eclipse.core.databinding.beans.BeansObservables +import org.eclipse.e4.core.contexts.ContextInjectionFactory +import org.eclipse.e4.ui.model.application.MApplication +import org.eclipse.emf.common.util.EList +import org.eclipse.emf.ecore.EObject +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.emf.ecore.util.EcoreUtil +import org.eclipse.emf.ecore.xmi.XMLResource +import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl +import org.eclipse.osbp.authentication.account.dtos.UserAccountDto +import org.eclipse.osbp.dsl.dto.lib.impl.DtoServiceAccess +import org.eclipse.osbp.dsl.dto.lib.services.IDTOService +import org.eclipse.osbp.ecview.core.common.context.ContextException +import org.eclipse.osbp.ecview.core.common.context.IConfiguration +import org.eclipse.osbp.ecview.core.common.context.IContext +import org.eclipse.osbp.ecview.core.common.context.IViewContext +import org.eclipse.osbp.ecview.core.common.model.binding.BindingFactory +import org.eclipse.osbp.ecview.core.common.model.binding.YBindingUpdateStrategy +import org.eclipse.osbp.ecview.core.common.model.binding.YValueBinding +import org.eclipse.osbp.ecview.core.common.model.binding.YVisibilityProcessorValueBindingEndpoint +import org.eclipse.osbp.ecview.core.common.model.core.CoreModelFactory +import org.eclipse.osbp.ecview.core.common.model.core.YBeanSlot +import org.eclipse.osbp.ecview.core.common.model.core.YBeanSlotValueBindingEndpoint +import org.eclipse.osbp.ecview.core.common.model.core.YView +import org.eclipse.osbp.ecview.core.common.model.visibility.VisibilityFactory +import org.eclipse.osbp.ecview.core.common.model.visibility.YVisibilityProcessor +import org.eclipse.osbp.ecview.core.^extension.model.^extension.YTable +import org.eclipse.osbp.ecview.^extension.api.ILayoutingStrategyProvider +import org.eclipse.osbp.ecview.^extension.model.YStrategyLayout +import org.eclipse.osbp.ecview.^extension.strategy.DefaultLayoutingStrategyProvider +import org.eclipse.osbp.ecview.^extension.strategy.FormLayoutLayoutingStrategy +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileView +import org.eclipse.osbp.eventbroker.EventBrokerMsg +import org.eclipse.osbp.runtime.common.i18n.II18nService +import org.eclipse.osbp.runtime.web.ecview.presentation.vaadin.VaadinRenderer +import org.eclipse.osbp.runtime.web.vaadin.databinding.VaadinObservables +import org.eclipse.osbp.ui.api.contextfunction.IViewEmbeddedProvider +import org.eclipse.osbp.ui.api.statemachine.IStateMachine +import org.eclipse.osbp.ui.api.statemachine.IStateMachineParticipant +import org.eclipse.osbp.ui.api.themes.IThemeResourceService +import org.eclipse.osbp.ui.api.themes.IThemeResourceService.ThemeResourceType +import org.eclipse.osbp.ui.api.useraccess.AbstractAuthorization.Action +import org.eclipse.osbp.ui.api.useraccess.AbstractAuthorization.Group +import org.eclipse.osbp.ui.api.useraccess.AbstractAuthorization.Permission +import org.eclipse.osbp.ui.api.useraccess.IPermissionList +import org.eclipse.osbp.ui.api.useraccess.IUserAccessService +import org.eclipse.osbp.utils.vaadin.SelectDialog +import org.eclipse.osbp.xtext.basic.generator.BasicDslGeneratorUtils +import org.eclipse.osbp.xtext.dialogdsl.Dialog +import org.eclipse.osbp.xtext.dialogdsl.DialogModel +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage +import org.eclipse.osbp.xtext.dialogdsl.constants.DialogConstants +import org.eclipse.osbp.xtext.dialogdsl.mapper.AutowireUiFactory +import org.eclipse.osbp.xtext.i18n.I18NModelGenerator +import org.eclipse.xtext.common.types.JvmGenericType +import org.eclipse.xtext.generator.IFileSystemAccess +import org.eclipse.xtext.xbase.compiler.GeneratorConfig +import org.eclipse.xtext.xbase.compiler.ImportManager +import org.osgi.framework.FrameworkUtil +import org.osgi.service.event.Event +import org.osgi.service.event.EventHandler +import org.osgi.util.tracker.ServiceTracker +import org.slf4j.Logger +import org.slf4j.LoggerFactory + +class DialogModelGenerator extends I18NModelGenerator { + @Inject extension DialogConstants + @Inject extension BasicDslGeneratorUtils + @Inject AutowireUiFactory autowireUiFactory; + + var bindPersistenceMethod = "bindPersistenceService"; + var unbindPersistenceMethod = "unbindPersistenceService"; + var bindUserAccessMethod = "bindUserAccessService"; + var unbindUserAccessMethod = "unbindUserAccessService"; + + // this name must match the one in the MANIFEST.MF + var persistenceXmlName = "PersistenceService.xml" + var authenticationXmlName = "Authentication.xml" + + /** + * @param input + * @param fsa + */ + override doGenerate(Resource input, IFileSystemAccess fsa) { + + generateDialogStuff(input, fsa) + generateAutowireECViews(input, fsa) + + super.doGenerate(input, fsa) + } + + /** + * Generates all stuff related to dialog. + */ + def generateDialogStuff(Resource input, IFileSystemAccess fsa) { + val current = input.getContents().get(0) as DialogModel + var pckg = current.pckg + for (Dialog dialog : pckg.dialogs) { + var uiview = dialog.uiView + var isMobileView = uiview instanceof UiMobileView + if (isMobileView) { + pckg.generateMobileOsgiInf(dialog, fsa) + } + } + } + + /** + * Generates the ECView-Models for autowired dialogs. + */ + def generateAutowireECViews(Resource input, IFileSystemAccess fsa) { + for (YView yView : input.contents.filter(typeof(YView))) { + val XMLResource outputRes = new XMLResourceImpl + outputRes.contents += EcoreUtil.copy(yView) + + val Writer writer = new StringWriter + outputRes.save(writer, null) + + fsa.generateFile(yView.viewName + ".ecview", "Autowire-ECViews", writer.toString) + } + } + + /** + * @param dialog + */ + def void i18nTranslator(Dialog dialog) { + for (beanslot : dialog.uiView.beanSlots) { + println(beanslot.jvmType.qualifiedName) + } + } + + /** + * @param pckg + * @param dialog + * @param fsa + */ + def void generateMobileOsgiInf(DialogPackage pckg, Dialog dialog, IFileSystemAccess fsa) { + val viewName = '''«pckg.name».«dialog.name»«MOBILE_VIEW_PREFIX»''' + var str = ''' + <?xml version="1.0" encoding="UTF-8"?> + <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="«viewName»"> + <implementation class="«viewName»$UiProvider"/> + <service> + <provide interface="org.eclipse.osbp.ecview.servlet.mobile.IMobileUiParticipant"/> + </service> + <property name="uriFragment" type="String" value="«viewName»"/> + </scr:component> + ''' + fsa.generateFile('''../OSGI-INF/«viewName».xml''', str) + str = ''' + <?xml version="1.0" encoding="UTF-8"?> + <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="«viewName»PersistenceService"> + <implementation class="«viewName»"/> + <reference bind="«bindPersistenceMethod»" cardinality="1..1" interface="org.eclipse.osbp.persistence.IPersistenceService" name="IPersistenceService" policy="static" unbind="«unbindPersistenceMethod»"/> + </scr:component> + ''' + fsa.generateFile('''../OSGI-INF/«viewName»«persistenceXmlName»''', str) + } + + /** + * @param context + * @param importManager + * @param config + */ + override createAppendable(EObject context, ImportManager importManager, GeneratorConfig config) { + if (context instanceof JvmGenericType) { + for (superType : (context as JvmGenericType).superTypes) { + if (superType.type != null) { + + // required to initialize the needed builder to avoid deprecated methods + builder = context.eResource + + // --------- + addImportFor( + importManager, + _typeReferenceBuilder, + Logger, + LoggerFactory, + UUID, + IStateMachine, + IStateMachineParticipant, + IViewContext, + IConfiguration, + IContext + ) + if (superType.type.identifier == VAACLIPSEVIEW_SYPERTYPE || + superType.type.identifier == VAACLIPSEVIEW_SYPERTYPE2 || + superType.type.identifier == VAACLIPSEVIEW_SYPERTYPE3 || + superType.type.identifier == VAACLIPSEVIEW_SYPERTYPE4) { + addImportFor( + importManager, + _typeReferenceBuilder, + YView, + VaadinRenderer, + Notification, + Notification.Type, + ContextException, + ServiceTracker, + EcoreUtil, + EObject, + Iterator, + "org.eclipse.osbp.ecview.xtext.builder.participant.IECViewAddonsMetadataService", + FrameworkUtil, + EventBrokerMsg, + DtoServiceAccess, + ComponentContainer, + YStrategyLayout, + HashMap, + ILayoutingStrategyProvider, + DefaultLayoutingStrategyProvider, + FormLayoutLayoutingStrategy, + II18nService, + UI, + "org.eclipse.osbp.i18n.common.OSI18nService", + "org.eclipse.osbp.vaaclipse.addons.softwarefactory.handler.StrategyHandler", + YVisibilityProcessor, + VisibilityFactory, + EList, + YBeanSlot, + YBeanSlotValueBindingEndpoint, + CoreModelFactory, + YVisibilityProcessorValueBindingEndpoint, + BindingFactory, + YValueBinding, + YBindingUpdateStrategy, + EventHandler, + Event, + IViewEmbeddedProvider, + MApplication, + DtoServiceAccess, + ContextInjectionFactory + // this stuff for translations + , + UI, + VaadinObservables, + DataBindingContext, + BeansObservables, + UpdateValueStrategy, + ResourceBundle, + Locale, + Label, + IThemeResourceService, + ThemeResourceType, + SelectDialog, + Set + ) + } else if (superType.type.identifier == MOBILEVIEW_SYPERTYPE) { + addImportFor( + importManager, + _typeReferenceBuilder, + YTable, + IDTOService, + Notification, + Type + ) + } else if (superType.type.identifier == VISIBILITYPROCESSOR_SYPERTYPE) { + addImportFor( + importManager, + _typeReferenceBuilder, + IUserAccessService, + UserAccountDto, + IPermissionList, + Permission, + Group, + Action + ) + } + } + } + } + super.createAppendable(context, importManager, config) + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/generator/OutputConfigurationProvider.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/generator/OutputConfigurationProvider.java new file mode 100644 index 0000000..0a568f4 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/generator/OutputConfigurationProvider.java @@ -0,0 +1,41 @@ +/** + * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Florian Pirchner - Initial implementation + */ + +package org.eclipse.osbp.xtext.dialogdsl.generator; + +import java.util.Set; + +import org.eclipse.osbp.xtext.i18n.DSLOutputConfigurationProvider; +import org.eclipse.xtext.generator.OutputConfiguration; + +public class OutputConfigurationProvider extends DSLOutputConfigurationProvider { + + /** + * @return a set of {@link OutputConfiguration} available for the generator + */ + public Set<OutputConfiguration> getOutputConfigurations() { + Set<OutputConfiguration> configs = super.getOutputConfigurations(); + + OutputConfiguration componentOutput = new OutputConfiguration( + "Autowire-ECViews"); + componentOutput.setDescription("Autowired ECViews"); + componentOutput.setOutputDirectory("./ecviews"); + componentOutput.setOverrideExistingResources(true); + componentOutput.setCreateOutputDirectory(true); + componentOutput.setCleanUpDerivedResources(true); + componentOutput.setSetDerivedProperty(true); + componentOutput.setKeepLocalHistory(true); + configs.add(componentOutput); + + return configs; + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslDerivedStateComputer.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslDerivedStateComputer.java new file mode 100644 index 0000000..c52d098 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslDerivedStateComputer.java @@ -0,0 +1,75 @@ +package org.eclipse.osbp.xtext.dialogdsl.jvmmodel; + +import java.util.Iterator; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.osbp.ecview.core.common.model.core.YView; +import org.eclipse.osbp.ecview.semantic.uimodel.UiModel; +import org.eclipse.osbp.xtext.dialogdsl.DialogModel; +import org.eclipse.osbp.xtext.dialogdsl.mapper.AutowireUiFactory; +import org.eclipse.osbp.xtext.dialogdsl.mapper.UiModelBridgingHelper; +import org.eclipse.xtext.resource.DerivedStateAwareResource; +import org.eclipse.xtext.util.internal.Stopwatches; +import org.eclipse.xtext.util.internal.Stopwatches.StoppedTask; +import org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.google.inject.Inject; + +public class DialogDslDerivedStateComputer extends JvmModelAssociator { + + private static final Logger LOGGER = LoggerFactory + .getLogger(DialogDslDerivedStateComputer.class); + + @Inject + AutowireUiFactory factory; + + @Inject + UiModelBridgingHelper uiBridge; + + @SuppressWarnings("restriction") + @Override + public void installDerivedState(DerivedStateAwareResource resource, + boolean preLinkingPhase) { + + super.installDerivedState(resource, preLinkingPhase); + + if (resource.getContents().isEmpty()) { + return; + } + + if (!preLinkingPhase) { + DialogModel dialogModel = (DialogModel) resource.getContents().get( + 0); + StoppedTask task = Stopwatches + .forTask("DialogDsl generating autowired UiModels"); + task.start(); + try { + UiModel uiModel = factory.create(dialogModel); + if (uiModel != null) { + resource.getContents().add(uiModel); + + uiBridge.installDerivedStateFor(uiModel, resource, + preLinkingPhase); + } + } catch (RuntimeException e) { + LOGGER.error("Error creating the UiModel or ECViewModel", e); + } + task.stop(); + } + } + + @Override + public void discardDerivedState(DerivedStateAwareResource resource) { + super.discardDerivedState(resource); + + for (Iterator<EObject> iterator = resource.getContents().iterator(); iterator + .hasNext();) { + EObject content = (EObject) iterator.next(); + if (content instanceof UiModel || content instanceof YView) { + iterator.remove(); + } + } + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslJvmModelInferrer.xtend b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslJvmModelInferrer.xtend new file mode 100644 index 0000000..41b98ad --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslJvmModelInferrer.xtend @@ -0,0 +1,64 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.jvmmodel + +import javax.inject.Inject +import org.eclipse.osbp.ecview.semantic.uimodel.UiIDEView +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileView +import org.eclipse.osbp.xtext.dialogdsl.Dialog +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage +import org.eclipse.osbp.xtext.dialogdsl.mapper.AutowireUiFactory +import org.eclipse.xtext.xbase.jvmmodel.AbstractModelInferrer +import org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor + +/** + * Infers a JVM model from the source model. + * + * The JVM model should contain all elements that would appear in the Java code + * which is generated from the source model. Other models link against the JVM model rather than the source model. + */ +class DialogDslJvmModelInferrer extends AbstractModelInferrer { + + /** + * convenience API to build and initialize JVM types and their members. + */ + @Inject extension DialogDslVaaclipseViewCreator + @Inject extension DialogDslMobileViewCreator + + @Inject AutowireUiFactory autowireFactory + + def dispatch void infer(DialogPackage pckg, IJvmDeclaredTypeAcceptor acceptor, boolean isPreIndexingPhase) { + println('''isPreIndexingPhase: «isPreIndexingPhase»''') + if (!isPreIndexingPhase) { + for (Dialog dialog : pckg.dialogs) { + + if (dialog.autowire) { + pckg.createVaaclipseUI(dialog, acceptor, _annotationTypesBuilder, _typeReferenceBuilder) + } else { + var uiview = dialog.uiView + var isIDEView = uiview instanceof UiIDEView + var isMobileView = uiview instanceof UiMobileView + if (isIDEView) { + pckg.createVaaclipseUI(dialog, acceptor, _annotationTypesBuilder, _typeReferenceBuilder) + } + if (isMobileView) { + pckg.createMobileUI(dialog, acceptor, _annotationTypesBuilder, _typeReferenceBuilder) + } + } + } + } + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslMobileViewCreator.xtend b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslMobileViewCreator.xtend new file mode 100644 index 0000000..b8eb16c --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslMobileViewCreator.xtend @@ -0,0 +1,650 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.jvmmodel + +import com.vaadin.ui.ComponentContainer +import com.vaadin.ui.UI +import java.util.HashMap +import java.util.List +import javax.inject.Inject +import org.eclipse.emf.common.notify.Notification +import org.eclipse.emf.common.notify.impl.AdapterImpl +import org.eclipse.emf.ecore.EObject +import org.eclipse.osbp.dsl.semantic.entity.LEntity +import org.eclipse.osbp.ecview.core.common.context.IViewContext +import org.eclipse.osbp.ecview.core.^extension.model.^extension.util.SimpleExtensionModelFactory +import org.eclipse.osbp.ecview.dsl.derivedstate.UiModelGrammarUtil +import org.eclipse.osbp.ecview.semantic.uimodel.UiBeanSlot +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileNavBarAction +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileNavigationPage +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileNavigationRoot +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileView +import org.eclipse.osbp.ecview.semantic.uimodel.UiModel +import org.eclipse.osbp.ecview.semantic.uimodel.UiTable +import org.eclipse.osbp.ecview.semantic.uimodel.UiTypeProvider +import org.eclipse.osbp.ecview.semantic.uimodel.UiView +import org.eclipse.osbp.persistence.IPersistenceService +import org.eclipse.osbp.utils.annotation.CommonUtils +import org.eclipse.osbp.utils.common.EntityUtils +import org.eclipse.osbp.utils.constants.GeneratorConstants +import org.eclipse.osbp.xtext.dialogdsl.Dialog +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage +import org.eclipse.osbp.xtext.dialogdsl.constants.DialogConstants +import org.eclipse.xtext.common.types.JvmDeclaredType +import org.eclipse.xtext.common.types.JvmField +import org.eclipse.xtext.common.types.JvmGenericType +import org.eclipse.xtext.common.types.JvmTypeReference +import org.eclipse.xtext.common.types.JvmVisibility +import org.eclipse.xtext.common.types.TypesFactory +import org.eclipse.xtext.common.types.util.TypeReferences +import org.eclipse.xtext.naming.IQualifiedNameProvider +import org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor +import org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder +import org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder +import org.eclipse.xtext.xbase.jvmmodel.JvmTypesBuilder +import org.osgi.service.component.annotations.Component +import org.slf4j.Logger + +/** + * <p>Infers a JVM model from the source model.</p> + * + * <p>The JVM model should contain all elements that would appear in the Java code + * which is generated from the source model. Other models link against the JVM model rather than the source model.</p> + */ +class DialogDslMobileViewCreator { + + /** + * convenience API to build and initialize JVM types and their members. + */ + @Inject extension JvmTypesBuilder + @Inject extension CommonUtils + @Inject extension EntityUtils + @Inject extension DialogConstants + @Inject extension IQualifiedNameProvider + @Inject + private TypeReferences references; + @Inject + private TypesFactory typesFactory; + + private JvmAnnotationReferenceBuilder _annotationTypesBuilder; + private JvmTypeReferenceBuilder _typeReferenceBuilder; + private HashMap<String, List<String>> actionMap; + + final SimpleExtensionModelFactory factory = new SimpleExtensionModelFactory + + /** + * @param element + * the model to create one or more + * {@link JvmDeclaredType declared + * types} from. + * @param acceptor + * each created + * {@link JvmDeclaredType type} + * without a container should be passed to the acceptor in order + * get attached to the current resource. The acceptor's + * {@link IJvmDeclaredTypeAcceptor#accept(org.eclipse.xtext.common.types.JvmDeclaredType) + * accept(..)} method takes the constructed empty type for the + * pre-indexing phase. This one is further initialized in the + * indexing phase using the closure you pass to the returned + * {@link IPostIndexingInitializing#initializeLater(org.eclipse.xtext.xbase.lib.Procedures.Procedure1) + * initializeLater(..)}. + * @param isPreIndexingPhase + * whether the method is called in a pre-indexing phase, i.e. + * when the global index is not yet fully updated. You must not + * rely on linking using the index if isPreIndexingPhase is + * <code>true</code>. + */ + def void createMobileUI(DialogPackage pckg, Dialog dialog, IJvmDeclaredTypeAcceptor acceptor, + JvmAnnotationReferenceBuilder annotationTypesBuilder, JvmTypeReferenceBuilder typeReferenceBuilder) { + _annotationTypesBuilder = annotationTypesBuilder + _typeReferenceBuilder = typeReferenceBuilder + val uiMobileView = dialog.uiView as UiMobileView + if (uiMobileView != null && uiMobileView.name != null && !uiMobileView.name.empty) { + println('''UIView: «dialog.getFQNView(pckg)»''') + var cls = dialog.toClass('''«dialog.getFQNView(pckg)»''') + acceptor.accept(cls, + [ + getSuperTypes().add(_typeReferenceBuilder.typeRef(MOBILEVIEW_SYPERTYPE)) + // it.addTranslatorClassesFields(dialog, null, true) + // it.addTranslatorBindingFields(dialog) + // it.toConstructor(dialog) + documentation = GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION + it.toFields(dialog, pckg) + it.toOperations(dialog, pckg) + ]) + + cls.toUiProvider(dialog, pckg, acceptor) + cls.toActionOperations(uiMobileView, acceptor) + + } + } + + /** + * build the inner class UiProvider. + * + * @param type + * @param uiMobileView + * @param acceptor + */ + def void toActionOperations(JvmGenericType type, UiMobileView uiMobileView, IJvmDeclaredTypeAcceptor acceptor) { + uiMobileView.createActionMap + if (!actionMap.empty) { + type.toInitializeMethod(uiMobileView) + type.toDisposeMethod(uiMobileView) + if (actionMap.get(ACTION_SAVE) != null) { + type.toSaveObserver(uiMobileView, acceptor) + type.toSaveFields(uiMobileView) + type.toRegSaveHandler(uiMobileView) + type.toUnRegSaveHandler(uiMobileView) + } + + } + } + + /** + * build the inner class UiProvider. + * + * @param type + * @param uiMobileView + * @param acceptor + */ + def void toSaveObserver(JvmDeclaredType type, UiMobileView uiMobileView, IJvmDeclaredTypeAcceptor acceptor) { + val dto = uiMobileView.jvmTypeRef.qualifiedName + val cls = uiMobileView.toClass("SaveActionObserver") + type.members += cls + acceptor.accept(cls, + [ + superTypes.add(_typeReferenceBuilder.typeRef(AdapterImpl)) + visibility = JvmVisibility.PRIVATE + documentation = GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION + // create notifyChanged + cls.members += uiMobileView.toMethod("notifyChanged", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + annotations += _annotationTypesBuilder.annotationRef(Override) + parameters += uiMobileView.toParameter("msg", _typeReferenceBuilder.typeRef(Notification)) + body = [ + append( + ''' + // if the navigation bar button was clicked + if (msg.getFeature() == org.eclipse.osbp.mobile.vaadin.ecview.model.VaadinMobilePackage.Literals.VM_NAVIGATION_BAR_BUTTON__LAST_CLICK_TIME) { + «FOR saveId : actionMap.get(ACTION_SAVE)» + «IF uiMobileView.isTable(saveId.navPageContainer)» + try { + YTable yTable = findTable("«saveId.navPageContainer»"); + «dto» dto = («dto») yTable.getSelection(); + ((IDTOService<«dto»>) dtoService).update(dto); + } catch (Exception e) { + e.printStackTrace(); + } + «ENDIF» + «ENDFOR» + } + ''')] + ]) + ]) + } + + /** + * @param type + * @param uiMobileView + */ + def void toSaveFields(JvmGenericType type, UiMobileView uiMobileView) { + var JvmField field = null + + // create observer + field = uiMobileView.toField("observer", _typeReferenceBuilder.typeRef("SaveActionObserver")) + field.visibility = JvmVisibility.PRIVATE + type.members += field + var idx = 0 + } + + /** + * @param type + * @param uiMobileView + */ + def void toDisposeMethod(JvmGenericType type, UiMobileView uiMobileView) { + + // create dispose + type.members += uiMobileView.toMethod("dispose", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + annotations += _annotationTypesBuilder.annotationRef(Override) + body = [ + append( + ''' + «IF (actionMap.get(ACTION_SAVE) != null)» + unregisterSaveHandler(); + «ENDIF» + super.dispose(); + ''')] + ]) + } + + /** + * @param type + * @param uiMobileView + */ + def void toUnRegSaveHandler(JvmGenericType type, UiMobileView uiMobileView) { + + // create initialize + type.members += uiMobileView.toMethod("unregisterSaveHandler", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + visibility = JvmVisibility.PRIVATE + documentation = "Unregister an observer at the EObject for the save-navigationBarAction" + body = [ + append( + '''«FOR saveId : actionMap.get(ACTION_SAVE)»unregisterHandler("«saveId»", observer); +«ENDFOR»''')] + ]) + } + + /** + * @param type + * @param uiMobileView + */ + def void toRegSaveHandler(JvmGenericType type, UiMobileView uiMobileView) { + + // create initialize + type.members += uiMobileView.toMethod("registerSaveHandler", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + visibility = JvmVisibility.PRIVATE + documentation = "Register an observer at the EObject for the save-navigationBarAction" + body = [ + append( + ''' + try { + // access the navigation bar action and register a listener at it + if (observer == null) { + observer = new SaveActionObserver(); + } + «FOR saveId : actionMap.get(ACTION_SAVE)»registerHandler("«saveId»", observer); + «ENDFOR» + } catch (Exception e) { + e.printStackTrace(); + } + ''')] + ]) + } + + /** + * @param type + * @param uMobileView + */ + def void toInitializeMethod(JvmGenericType type, UiMobileView uiMobileView) { + + // create initialize + type.members += uiMobileView.toMethod("initialize", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + visibility = JvmVisibility.PROTECTED + annotations += _annotationTypesBuilder.annotationRef(Override) + parameters += uiMobileView.toParameter("parent", _typeReferenceBuilder.typeRef(ComponentContainer)) + parameters += uiMobileView.toParameter("fragment", _typeReferenceBuilder.typeRef(String)) + body = [ + append( + ''' super.initialize(parent, fragment); + «IF (actionMap.get(ACTION_SAVE) != null)» + registerSaveHandler(); + «ENDIF»''')] + ]) + } + + /** + * <p>build the class variables.</p> + * + * @param type + * @param dialog + * @param pckg + */ + def void toFields(JvmDeclaredType type, Dialog dialog, DialogPackage pckg) { + var JvmField field = null + + // create serialVersionUID + field = dialog.toField("serialVersionUID", _typeReferenceBuilder.typeRef(typeof(long)))[ + visibility = JvmVisibility.PRIVATE static = true final = true setInitializer([append('''1L''')])] + type.members += field + field = dialog.toField("log", _typeReferenceBuilder.typeRef(Logger))[ + setInitializer([append('''LoggerFactory.getLogger("mobileDialog")''')])] + field.final = true + field.static = true + type.members += field + field = dialog.toField("persistenceService", _typeReferenceBuilder.typeRef(IPersistenceService)) + field.static = true + type.members += field + } + + /** + * <p>build the inner class UiProvider.</p> + * + * @param type + * @param dialog + * @param pckg + * @param acceptor + */ + def void toUiProvider(JvmDeclaredType type, Dialog dialog, DialogPackage pckg, IJvmDeclaredTypeAcceptor acceptor) { + var cls = dialog.toClass("UiProvider") + type.members += cls + + acceptor.accept(cls, + [ + superTypes.add( + _typeReferenceBuilder.typeRef("org.eclipse.osbp.mobile.vaadin.ecview.api.IMobileUiParticipant")) + documentation = GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION + static = true + var annotationRef = _annotationTypesBuilder.annotationRef(Component) + // var annotationRef = typesFactory.createJvmAnnotationReference() + // var annotationType = typesFactory.createJvmAnnotationType() + // annotationType. + var propContent = '''uriFragment=«dialog.getFQNView(pckg)»''' + annotationRef.addAnnAttr(dialog/* , references*/, "property", propContent) + // for (op:annotationType.declaredOperations){ + // if (op.simpleName.equals("property")) { + // // var annotationValue = typesFactory.createJvmStringAnnotationValue() + // var annotationValue = typesFactory.createJvmCustomAnnotationValue() + // annotationValue.setOperation(op) + // // annotationValue.values.add("IMobileViewUiParticipant.PROPERTY_FRAGMENT_NAME+\"=\"+FRAGMENT_NAME") + // var strArray = newArrayList("IMobileViewUiParticipant.PROPERTY_FRAGMENT_NAME").toArray() + // annotationValue.values.add(strArray) + // op.defaultValue = annotationValue + // + //// annotationRef.explicitValues.add(annotationValue) + //// annotationRef.values.add(annotationValue) + // } + //// var operation = getJvmOperation(annotationType, value.getKey()); + //// if (operation != null) { + //// annotationValue.setOperation(operation); + //// } + //// result.getValues().add(annotationValue); + // } + annotations += annotationRef + it.toUiProviderConstructor(dialog) + it.toUiProviderOperations(dialog, pckg) + ]) + + } + + /** + * + * @param type + * @param dialog + */ + def void toUiProviderConstructor(JvmGenericType type, Dialog dialog) { + type.members += dialog.toConstructor( + [ + body = [append('''super();''')] + ]) + } + + /** + * + * @param type + * @param dialog + * @param pckg + */ + def void toUiProviderOperations(JvmGenericType type, Dialog dialog, DialogPackage pckg) { + + // Method "getFragmentName" + type.members += dialog.toMethod("getFragmentName", _typeReferenceBuilder.typeRef(String), + [ + annotations += _annotationTypesBuilder.annotationRef(Override) + body = [append('''return "«dialog.getFQNView(pckg)»";''')] + ]) + + // Method "createHandle" + type.members += dialog.toMethod("createHandle", + _typeReferenceBuilder.typeRef("org.eclipse.osbp.mobile.vaadin.ecview.api.IMobileUiParticipantHandle"), + [ + annotations += _annotationTypesBuilder.annotationRef(Override) + parameters += dialog.toParameter("ui", _typeReferenceBuilder.typeRef(UI)) + parameters += dialog.toParameter("fragment", _typeReferenceBuilder.typeRef(String)) + body = [append('''return new «dialog.name»«MOBILE_VIEW_PREFIX»();''')] + ]) + } + + /** + * <p>build the methods.</p> + * + * @param type + * @param dialog + * @param pckg + */ + def void toOperations(JvmDeclaredType type, Dialog dialog, DialogPackage pckg) { + + // create getViewId + type.members += dialog.toMethod("getViewId", _typeReferenceBuilder.typeRef(String), + [ + visibility = JvmVisibility.PROTECTED + annotations += _annotationTypesBuilder.annotationRef(Override) + val uiModel = dialog.uiView.eContainer as UiModel + body = [append('''return "«uiModel.packageName».«dialog.uiView.name»";''')] + ]) + + // create getDtoClass + type.members += dialog.toMethod("getDtoClass", _typeReferenceBuilder.typeRef(Class), + [ + visibility = JvmVisibility.PROTECTED + annotations += _annotationTypesBuilder.annotationRef(Override) + body = [append('''return «dialog.jvmTypeRef.qualifiedName».class;''')] + ]) + + // + // if (dialog.handler.size > 0) { + // + // // create subscribe + //// type.members += dialog.toMethod("subscribe", dialog.newTypeRef(Void::TYPE), + //// [ + //// visibility = JvmVisibility.PROTECTED + //// annotations += _annotationTypesBuilder.annotationRef(PostConstruct) + //// body = [append('''«dialog.subscribe(pckg)»''')] + //// ]) + // } + if (dialog.uiView.beanSlots.size > 0) { + + // create doinitialize + type.members += dialog.toMethod("doInitialize", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + visibility = JvmVisibility.PROTECTED + // annotations += _annotationTypesBuilder.annotationRef(Override) + parameters += dialog.toParameter("viewContext", _typeReferenceBuilder.typeRef(IViewContext)) + parameters += dialog.toParameter("fragment", _typeReferenceBuilder.typeRef(String)) + body = [append(dialog.setBeanToViewContext)] + ]) + } + val entity = EntityUtils.getEntityFromDto(dialog.jvmTypeRef.type) as LEntity + + // bind persistence service + type.members += dialog.toMethod("bindPersistenceService", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + visibility = JvmVisibility.PUBLIC + synchronized = true + parameters += + dialog.toParameter("persistenceService", _typeReferenceBuilder.typeRef(IPersistenceService)) + body = [ + append( + ''' + this.persistenceService = persistenceService; + this.persistenceService.registerPersistenceUnit("«entity?.persistenceUnit»", «entity?.fullyQualifiedName».class); + log.debug("PersistenceService bound");''')] + ]) + + // unbind persistence service + type.members += dialog.toMethod("unbindPersistenceService", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + visibility = JvmVisibility.PUBLIC + synchronized = true + parameters += + dialog.toParameter("persistenceService", _typeReferenceBuilder.typeRef(IPersistenceService)) + body = [ + append( + ''' + this.persistenceService = null; + log.debug("PersistenceService unbound");''')] + ]) + } + + // HELPER METHODS + /** + * Method to set a default instance into the view context (for each defined datasource object in the uimodel) + * @param dialog + * @return + */ + def String setBeanToViewContext(Dialog dialog) { + var body = '''''' + for (UiBeanSlot uiBeanSlot : (dialog.uiView as UiMobileView).beanSlots) { + + // --- because the beanslot may be an inner class, replace $ in qualified name to . --- + body = '''«body» +viewContext.setBean("«uiBeanSlot.name»", new «uiBeanSlot.jvmType?.qualifiedName.replace('$', '.')»());''' + } + return body + } + + /** + * Method to get the referenced jvmType within mobile navigationPage + * + * @param dialog + * @return + */ + def JvmTypeReference getJvmTypeRef(Dialog dialog) { + var uiMobileView = dialog.uiView as UiMobileView + var uiMobileContent = uiMobileView.content + if (uiMobileContent instanceof UiMobileNavigationRoot) { + var uiMobileNavRoot = uiMobileContent as UiMobileNavigationRoot + for (uiMobileNavRootAssigment : uiMobileNavRoot.contents) { + var uiMobileElement = uiMobileNavRootAssigment.element + if (uiMobileElement instanceof UiMobileNavigationPage) { + var uiMobileNavPage = (uiMobileElement as UiMobileNavigationPage) + for (uiMobileNavPageAssigment : uiMobileNavPage.contents) { + var element = uiMobileNavPageAssigment.element + if (element instanceof UiTypeProvider) { + return (element as UiTypeProvider).jvmType + } + } + } + } + } + return null + } + + /** + * Method to get the referenced jvmType within mobile navigationPage + * + * @param uiMobileView + * @return + */ + def JvmTypeReference getJvmTypeRef(UiMobileView uiMobileView) { + var uiMobileContent = uiMobileView.content + if (uiMobileContent instanceof UiMobileNavigationRoot) { + var uiMobileNavRoot = uiMobileContent as UiMobileNavigationRoot + for (uiMobileNavRootAssigment : uiMobileNavRoot.contents) { + var uiMobileElement = uiMobileNavRootAssigment.element + if (uiMobileElement instanceof UiMobileNavigationPage) { + var uiMobileNavPage = (uiMobileElement as UiMobileNavigationPage) + for (uiMobileNavPageAssigment : uiMobileNavPage.contents) { + var element = uiMobileNavPageAssigment.element + if (element instanceof UiTypeProvider) { + return (element as UiTypeProvider).jvmType + } + } + } + } + } + return null + } + + /** + * @param uiView + */ + def void createActionMap(UiMobileView view) { + if (actionMap == null) { + actionMap = newHashMap() + } + for (EObject uiElement : view.eAllContents.toIterable) { + if (uiElement instanceof UiMobileNavBarAction) { + val UiMobileNavBarAction uiAction = uiElement + var uxActionRef = uiAction.actionReference + var actionID = uiAction.actionID + var fqn = uiAction.fullyQualifiedName + var key = "" + if (uxActionRef != null) { + key = uxActionRef.name + } else if (actionID != null) { + key = actionID + } + var actionList = actionMap.get(key) + if (actionList == null) { + actionList = newArrayList() + } + actionList.add(fqn.toString) + actionMap.put(key, actionList) + } + } + + } + + /** + * @param uiView + * @return + */ + def String getUiModelPackageName(UiView uiView) { + var parent = uiView.eContainer + while (!(parent instanceof UiModel)) { + parent = parent.eContainer + } + var uiModel = parent as UiModel + return uiModel.packageName + } + + /** + * @param navbarActionPath + * @return + */ + def String getNavPageContainer(String navbarActionPath) { + var navbarActionSplit = navbarActionPath.split("\\.") + if (navbarActionSplit.size > 2) { + var out = "" + var navbarActionPathSubList = navbarActionSplit.subList(0, navbarActionSplit.size - 2) + for (element : navbarActionPathSubList) { + out = '''«out».«element»''' + } + if(out.length > 1) return out.substring(1) + return out + } + return navbarActionPath + } + + /** + * @param uiMobileView + * @param id + * @return + */ + def boolean isTable(UiMobileView uiMobileView, String id) { + var contents = uiMobileView.eAllContents() + while (contents.hasNext()) { + var expected = contents.next() + if (expected instanceof UiTable) { + + // var UiTable table = expected + var tableId = UiModelGrammarUtil.getPathId(expected) + var tableId2 = expected.fullyQualifiedName + if (id.equals(tableId)) { + return true + } + } + } + return false; + } + + def getFQNView(Dialog dialog, DialogPackage pckg) '''«pckg.name».«dialog.name»«MOBILE_VIEW_PREFIX»''' +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslVaaclipseViewCreator.xtend b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslVaaclipseViewCreator.xtend new file mode 100644 index 0000000..0d863ff --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslVaaclipseViewCreator.xtend @@ -0,0 +1,872 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.jvmmodel + +import com.vaadin.ui.VerticalLayout +import java.util.Locale +import java.util.Map +import javax.inject.Inject +import org.eclipse.e4.core.contexts.IContextFunction +import org.eclipse.e4.core.contexts.IEclipseContext +import org.eclipse.e4.ui.model.application.MApplication +import org.eclipse.osbp.dsl.dto.lib.services.IDTOServiceWithMutablePersistence +import org.eclipse.osbp.dsl.semantic.common.types.LTypedPackage +import org.eclipse.osbp.dsl.semantic.entity.LEntity +import org.eclipse.osbp.ecview.semantic.uimodel.UiBeanSlot +import org.eclipse.osbp.ecview.semantic.uimodel.UiModel +import org.eclipse.osbp.ecview.semantic.uimodel.UiView +import org.eclipse.osbp.eventbroker.EventBrokerMsg +import org.eclipse.osbp.persistence.IPersistenceService +import org.eclipse.osbp.ui.api.contextfunction.IViewEmbeddedProvider +import org.eclipse.osbp.ui.api.statemachine.IDataProvider +import org.eclipse.osbp.ui.api.statemachine.IStateMachine +import org.eclipse.osbp.ui.api.statemachine.IStateMachineParticipant +import org.eclipse.osbp.utils.annotation.CommonUtils +import org.eclipse.osbp.utils.common.EntityUtils +import org.eclipse.osbp.utils.constants.GeneratorConstants +import org.eclipse.osbp.xtext.action.ActionDialog +import org.eclipse.osbp.xtext.action.DialogActionEnum +import org.eclipse.osbp.xtext.action.common.IToolbarAction +import org.eclipse.osbp.xtext.dialogdsl.Dialog +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage +import org.eclipse.osbp.xtext.dialogdsl.common.AbstractECViewDialog +import org.eclipse.osbp.xtext.dialogdsl.common.AbstractEmbeddedDialog +import org.eclipse.osbp.xtext.dialogdsl.common.AbstractUIDialog +import org.eclipse.osbp.xtext.dialogdsl.constants.DialogConstants +import org.eclipse.osbp.xtext.dialogdsl.mapper.AutowireUiFactory +import org.eclipse.osbp.xtext.i18n.I18NKeyGenerator +import org.eclipse.osbp.xtext.messagedsl.MessageItem +import org.eclipse.osbp.xtext.messagedsl.jvmmodel.MessageDslJvmModelInferrer +import org.eclipse.osbp.xtext.strategy.jvmmodel.StrategyDSLFocusingEnhancerCreator +import org.eclipse.xtext.common.types.JvmDeclaredType +import org.eclipse.xtext.common.types.JvmField +import org.eclipse.xtext.common.types.JvmGenericType +import org.eclipse.xtext.common.types.JvmOperation +import org.eclipse.xtext.common.types.JvmPrimitiveType +import org.eclipse.xtext.common.types.JvmType +import org.eclipse.xtext.common.types.JvmTypeReference +import org.eclipse.xtext.common.types.JvmVisibility +import org.eclipse.xtext.common.types.util.RawSuperTypes +import org.eclipse.xtext.naming.IQualifiedNameProvider +import org.eclipse.xtext.util.Strings +import org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor +import org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder +import org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder +import org.eclipse.xtext.xbase.jvmmodel.JvmTypesBuilder +import org.osgi.service.component.annotations.Component +import org.slf4j.Logger +import org.eclipse.osbp.ui.api.statemachine.IStateMachineParticipant +import org.eclipse.osbp.ui.api.statemachine.IStateMachine +import java.util.Locale +import org.eclipse.osbp.ui.api.statemachine.IPeripheral + +/** + * Infers a JVM model from the source model. + * <p> + * The JVM model should contain all elements that would appear in the Java code + * which is generated from the source model. Other models link against the JVM model rather than the source model. + */ +class DialogDslVaaclipseViewCreator { + + /** + * convenience API to build and initialize JVM types and their members. + */ + @Inject extension JvmTypesBuilder +// @Inject extension DialogDslUserAccessServiceBinderCreator + @Inject extension DialogConstants + @Inject extension IQualifiedNameProvider + @Inject extension StrategyDSLFocusingEnhancerCreator strategyFocusingEnhancerCreator + @Inject extension CommonUtils + + private JvmAnnotationReferenceBuilder _annotationTypesBuilder; + private JvmTypeReferenceBuilder _typeReferenceBuilder; + + def void createVaaclipseUI(DialogPackage pckg, Dialog dialog, IJvmDeclaredTypeAcceptor acceptor, + JvmAnnotationReferenceBuilder annotationTypesBuilder, JvmTypeReferenceBuilder typeReferenceBuilder) { + _annotationTypesBuilder = annotationTypesBuilder + _typeReferenceBuilder = typeReferenceBuilder + var uiViewName = getUiName(dialog) + if (uiViewName != null && !uiViewName.empty) { + var clsName = '''«dialog.fullyQualifiedName»«VAACLIPSE_VIEW_PREFIX»''' + if (dialog.embedded) { + clsName = '''«clsName»Embedded''' + } + var cls = dialog.toClass(clsName) + acceptor.accept(cls, + [ + documentation = GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION + if (dialog.embedded) { + superTypes += _typeReferenceBuilder.typeRef(AbstractEmbeddedDialog, + _typeReferenceBuilder.typeRef(getMainBeanslotType(dialog))) + superTypes += _typeReferenceBuilder.typeRef(IViewEmbeddedProvider) + } else if (dialog.pure) { + superTypes += _typeReferenceBuilder.typeRef(AbstractUIDialog) + + }else { + superTypes += _typeReferenceBuilder.typeRef(AbstractECViewDialog, + _typeReferenceBuilder.typeRef(getMainBeanslotType(dialog))) + } + it.toConstructor(dialog) + it.toFields(dialog) + it.toOperations(dialog, pckg) + ]) + if (dialog.embedded) { + // the context function class + var contextClassName = '''«dialog.name»«VAACLIPSE_VIEW_PREFIX»EmbeddedContextFunction''' + val contextCls = pckg.toClass(contextClassName) + val dialogClsName = clsName + contextCls.getSuperTypes().add(_typeReferenceBuilder.typeRef(IContextFunction)) + contextCls.simpleName = contextCls.simpleName.toFirstUpper + acceptor.accept(contextCls, + [ + var annotationRef = _annotationTypesBuilder.annotationRef(Component) + annotationRef.addAnnAttr(dialog, "service", _typeReferenceBuilder.typeRef(IContextFunction) as JvmTypeReference) + var propContent = '''«IContextFunction.SERVICE_CONTEXT_KEY»=«dialog.name.toFirstUpper»''' + annotationRef.addAnnAttr(dialog, "property", propContent) + annotations += annotationRef + packageName = pckg.fullyQualifiedName.toString + documentation = GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION + it.toContextOperations(dialog, dialogClsName) + ]) + } + } + } + + def getMainBeanslotType(Dialog dialog) { + if(dialog.autowire) { + return AutowireUiFactory.getDtoFQN(dialog.dto) + }else{ + return dialog.mainBeanSlot.jvmType.qualifiedName + } + } + + def getUiName(Dialog dialog) { + if(dialog.autowire) { + return AutowireUiFactory.getECViewId(dialog) + }else{ + return dialog.uiView.name + } + } + + /** + * <p>create an injectable context function to be used by an e4 application. + * + * @param type + * @param dialog + * @param clsName + */ + def void toContextOperations(JvmGenericType type, Dialog dialog, String clsName) { + var JvmOperation operation + // compute override + type.members += dialog.toMethod("compute", _typeReferenceBuilder.typeRef(Object), [ + annotations += _annotationTypesBuilder.annotationRef(Override) + visibility = JvmVisibility.PUBLIC + parameters += dialog.toParameter("context", _typeReferenceBuilder.typeRef(IEclipseContext)) + parameters += dialog.toParameter("contextKey", _typeReferenceBuilder.typeRef(String)) + body = [append( + ''' + MApplication application = context.get(MApplication.class); + IEclipseContext appCtx = application.getContext(); + IViewEmbeddedProvider provider = ContextInjectionFactory.make(«clsName».class, appCtx); + appCtx.set(IViewEmbeddedProvider.class, provider); + return provider;''')] + ]) + } + + /** + * <p>build the constructors to be used by an e4 application. + * + * @param type + * @param dialog + */ + def void toConstructor(JvmDeclaredType type, Dialog dialog) { + if(dialog.embedded) { + type.members += dialog.toConstructor( + [ + body = [append(''' + super(); + uuid = UUID.randomUUID().toString();''')] + ]) + + } else { + type.members += dialog.toConstructor( + [ + annotations += _annotationTypesBuilder.annotationRef(Inject) + parameters += dialog.toParameter("parent", _typeReferenceBuilder.typeRef(VerticalLayout)) + parameters += dialog.toParameter("context", _typeReferenceBuilder.typeRef(IEclipseContext)) + parameters += dialog.toParameter("app", _typeReferenceBuilder.typeRef(MApplication)) + body = [append(''' + super(parent,context,app); + uuid = UUID.randomUUID().toString();''')] + ]) + } + } + + /** + * <p>build the class variables. + * + * @param type + * @param dialog + */ + def void toFields(JvmDeclaredType type, Dialog dialog) { + var JvmField field = null + + // create logger + field = dialog.toField("log", _typeReferenceBuilder.typeRef(Logger))[ + setInitializer([append('''LoggerFactory.getLogger("vaaclipseDialog")''')])] + field.final = true + field.static = true + type.members += field + } + + /** + * <p>build the methods. + * + * @param type + * @param dialog + * @param pckg + */ + def void toOperations(JvmDeclaredType type, Dialog dialog, DialogPackage pckg) { + + + // getViewId + type.members += dialog.toMethod("getViewId", _typeReferenceBuilder.typeRef(String), + [ + body = [append('''return "«dialog.getUiModelPackageName».«dialog.getViewName()»";''')] + ]) + + if(dialog.stateful) { + type.members += dialog.toMethod("createRenderingParams", _typeReferenceBuilder.typeRef(Map, + _typeReferenceBuilder.typeRef(String), + _typeReferenceBuilder.typeRef(Object)), + [ + body = [append('''«dialog.uiView.createRenderingParams»''')] + ]) + type.members += dialog.toMethod("localeChanged", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + parameters += dialog.toParameter("locale", _typeReferenceBuilder.typeRef(Locale)) + body = [append('''«dialog.uiView.localeChanged»''')] + ]) + } else { + // getMainBeanSlot + val mainBeanSlot = dialog.mainBeanSlot + type.members += dialog.toMethod("getMainBeanSlot", _typeReferenceBuilder.typeRef(String), + [ + body = [append('''return "«mainBeanSlot.name»";''')] + ]) + + // getBaseDtoName + type.members += dialog.toMethod("getBaseDtoName", _typeReferenceBuilder.typeRef(String), + [ + body = [append( + '''return "«mainBeanSlot.jvmType.type.qualifiedName»";''')] + ]) + + // getIdForDtoString + type.members += dialog.toMethod("getIdForDtoString", _typeReferenceBuilder.typeRef(String), + [ + parameters += dialog.toParameter("savedDto", _typeReferenceBuilder.typeRef(mainBeanSlot.jvmType.qualifiedName)) + body = [append('''return «mainBeanSlot.idForDtoString»;''')] + ]) + + // getIdForDto + type.members += dialog.toMethod("getIdForDto", _typeReferenceBuilder.typeRef(Object), + [ + parameters += dialog.toParameter("savedDto", _typeReferenceBuilder.typeRef(mainBeanSlot.jvmType.qualifiedName)) + body = [append('''return «mainBeanSlot.idForDto»;''')] + ]) + + // getEventTopicSuffix + type.members += dialog.toMethod("getEventTopicSuffix", _typeReferenceBuilder.typeRef(String), + [ + body = [append('''return "«mainBeanSlot.jvmType.type.eventTopicSuffix»";''')] + ]) + + // getDataName + type.members += dialog.toMethod("getDataName", _typeReferenceBuilder.typeRef(String), + [ + body = [append('''return "«mainBeanSlot.jvmType.type.entityName»";''')] + ]) + + // getDtoService + type.members += dialog.toMethod("getDtoService", _typeReferenceBuilder.typeRef(IDTOServiceWithMutablePersistence, + _typeReferenceBuilder.typeRef(mainBeanSlot.jvmType.qualifiedName)), + [ + body = [append('''return (IDTOServiceWithMutablePersistence<«mainBeanSlot.jvmType.qualifiedName»>) DtoServiceAccess + .getService(«mainBeanSlot.jvmType.qualifiedName».class);''')] + ]) + + // registerPersistenceUnit + type.members += dialog.toMethod("registerPersistenceUnit", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + val entity = EntityUtils.getEntityFromDto(mainBeanSlot.jvmType.type) as LEntity + parameters += dialog.toParameter("persistenceService", _typeReferenceBuilder.typeRef(IPersistenceService)) + body = [append('''''')] + if (entity!=null){ + body = [append(''' + persistenceService.registerPersistenceUnit("«entity?.persistenceUnit»", + «entity?.fullyQualifiedName».class); + log.debug("PersistenceService registered");''')] + } + ]) + + // showSaveErrorMessage + type.members += dialog.toMethod("showSaveErrorMessage", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + parameters += dialog.toParameter("ex", _typeReferenceBuilder.typeRef(Exception)) + body = [append(''' + «dialog.saveErrorMessage»''')] + ]) + + // showDeleteErrorMessage + type.members += dialog.toMethod("showDeleteErrorMessage", _typeReferenceBuilder.typeRef(Void::TYPE), + [ + parameters += dialog.toParameter("ex", _typeReferenceBuilder.typeRef(Exception)) + body = [append(''' + «dialog.deleteErrorMessage»''')] + ]) + + // create createToobarHelper + type.members += dialog.toMethod("createToobarHelper", _typeReferenceBuilder.typeRef(IToolbarAction), + [ + body = [append('''«IF dialog.toolbar != null»return new «dialog.toolbar.fullyQualifiedName»Action(uuid);«ELSE»return null;«ENDIF»''')] + ]) + + // create getBindingPropertyName + type.members += dialog.toMethod("getBindingPropertyName", _typeReferenceBuilder.typeRef(String), + [ + annotations += _annotationTypesBuilder.annotationRef(Override) + body = [append('''return "«I18NKeyGenerator.key(dialog.descriptionValue)»";''')] + ]) + } + } + + def String appendBeanSlots(UiView view) { + var body = '''''' + var slots = view.beanSlots + for(slot:slots) { + if((slot.jvmType.type.containsSuperType(typeof(IDataProvider).name))) { + body = ''' + IDataProvider dataProvider = new «slot.jvmType.qualifiedName»(); + dataProvider.setViewContext(viewContext); + «body»viewContext.createBeanSlot("«slot.name»", «slot.jvmType.qualifiedName».class).setValue(dataProvider); + ''' + } else { + body = ''' + «body»viewContext.createBeanSlot("«slot.name»", «slot.jvmType.qualifiedName».class).setValue(new «slot.jvmType.qualifiedName»()); + ''' + } + } + return body + } + + def boolean containsSuperType(JvmType type, String fqn) { + if(!(type instanceof JvmDeclaredType)) { + return false + } + + return new RawSuperTypes().collectNames(type).contains(fqn) + } + + /** + * + * @param type + * @param dialog + * @return + */ + def String saveErrorMessage(Dialog dialog){ + var messageItem = dialog.dialogSaveMessageItem + messageItem.showSaveException + } + + /** + * + * @param dialog + * @return + */ + def String deleteErrorMessage(Dialog dialog){ + var messageItem = dialog.dialogDeleteMessageItem + messageItem.showDeleteException + } + + /** + * + * @param type + * @return + */ + def String getEventTopicSuffix(JvmType type){ + var entity = EntityUtils.getEntityFromDto(type) + if (entity != null){ + return ''' + «EventBrokerMsg.getEntityIdModifiedCategory( + (entity.eContainer as LTypedPackage).name, entity.name)»''' + } + return '''''' + + } + + /** + * + * @param type + * @return + */ + def String getEntityName(JvmType type){ + var entity = EntityUtils.getEntityFromDto(type) + return '''«entity?.name»''' + + } + + /** + * + * @param slot + * @return + */ + def String getIdForDtoString(UiBeanSlot slot){ + val type = slot.jvmType.type + if (type instanceof JvmDeclaredType){ + val idList = (type as JvmDeclaredType).findAllFeaturesByName("id") + if(idList.empty) { + return '''null''' + } else { + for (id : idList){ + if (id instanceof JvmField){ + var idField = (id as JvmField) + val idType = idField.type.type + if (idType instanceof JvmPrimitiveType){ + if (Integer.TYPE.simpleName.equals(idType.simpleName)){ + return '''new Integer(savedDto.getId()).toString()''' + } + } else if (String.simpleName.equals(idType.simpleName)){ + return '''savedDto.getId()''' + } + } + } + } + } + return '''''' + } + + /** + * + * @param slot + * @return + */ + def String getIdForDto(UiBeanSlot slot){ + val type = slot.jvmType.type + if (type instanceof JvmDeclaredType){ + val idList = (type as JvmDeclaredType).findAllFeaturesByName("id") + if(idList.empty) { + return '''null''' + } + else { + for (id : idList){ + if (id instanceof JvmField){ + return '''savedDto.getId()''' + } + } + } + } + return '''''' + } + + /** + * Provides the name of the first found bean slot defined in the ui view + * + * @param dialog + * @return + */ + def UiBeanSlot getMainBeanSlot(Dialog dialog){ + if(dialog.autowire) { + // create a dummy beanslot + val UiBeanSlot slot = AutowireUiFactory.createBeanSlot(dialog.dto) + + // we need to resolve the proxy here, due to lack of resourceset in slot + val typeRef = _typeReferenceBuilder.typeRef(AutowireUiFactory.getDtoFQN(dialog.dto)) + slot.jvmType = typeRef + + return slot + }else{ + for (UiBeanSlot uiBeanSlot : dialog.uiView.beanSlots) { + return uiBeanSlot + } + } + } + + /** + * + * @param dialog + * @return + */ + def String createDtoServices(Dialog dialog) { + var body = '''// DTO Services (via DS)''' + for (UiBeanSlot uiBeanSlot : dialog.uiView.beanSlots) { + body = ''' + «body» + dto«uiBeanSlot.jvmType.simpleName»Service = (IDTOServiceWithMutablePersistence<«uiBeanSlot.jvmType.simpleName»>)DtoServiceAccess.getService(«uiBeanSlot.jvmType.simpleName».class); + ''' + } + return body + } + + /** + * <p>build the data components. + * + * @param dialog + * @return + */ + def String removeOldView(Dialog dialog) { + return ''' + if (viewContext != null){ + viewContext.dispose(); + } + if (dataArea.getComponentCount() > 0) { + dataArea.removeAllComponents(); + } + ''' + } + + /** + * Method to subscribe the view with the event broker to receive events due to the defined in the grammar + * + * @param dialog + * @param pckg + * @return + */ + def String subscribe(Dialog dialog, DialogPackage pckg) { + var body = "" + var idx = 0; + for (UiBeanSlot uiBeanSlot : dialog.uiView.beanSlots) { + var entity = EntityUtils.getEntityFromDto(uiBeanSlot.jvmType.type) + if (entity != null) { + idx++ + // Only once required. + if (idx == 1){ + body = ''' + «body» + persistenceService.registerPersistenceUnit("«entity?.persistenceUnit»", «entity?.fullyQualifiedName».class); + log.debug("PersistenceService registered");''' + } + body = ''' + «body» + eventBroker.subscribe(EventBrokerMsg.AUTOWIRED_ENTITY_PREFIX+"«entity.name»", tableSelectionHandler); + ''' + } + } + + body = ''' + «body» +««« toolbar event subscription + «IF dialog.toolbar!=null» String uuid = (String)getContext().get("«dialog.toolbar.name»_TOOLBAR_ID"); + eventBroker.subscribe(EventBrokerMsg.ACTION_BUTTON_EXECUTE_PREFIX+"«dialog.toolbar.name»Action"+uuid, dispatchActionHandler); + «ENDIF» +««« StrategyHandler event subscription + eventBroker.subscribe(EventBrokerMsg.DIALOG_STRATEGY_CHANGED, + strategyEventHandler); + ''' + + return body + } + + /** + * Method to unsubscribe the view with the event broker to receive events due to the defined in the grammar + * + * @param dialog + * @return + */ + def unsubscribe(Dialog dialog) { + var unsubscribers = ''' + «IF dialog.toolbar!=null» + eventBroker.unsubscribe(dispatchActionHandler); + «ENDIF» + eventBroker.unsubscribe(tableSelectionHandler); + eventBroker.unsubscribe(strategyEventHandler);''' + return unsubscribers + } + + + /** + * + * @param jvmType + * @return + * + */ + def String getDtoIdGetter(JvmTypeReference jvmType) { + return getDtoIdGetter(EntityUtils.getEntityFromDto(jvmType.type)) + } + + /** + * + * @param entity + * @return + * + */ + def String getDtoIdGetter(LEntity entity) { + if (entity != null) { + for (attribute : entity.allAttributes) { + if (attribute.isId || attribute.isUuid) { + return '''get«Strings.toFirstUpper(attribute.name)»()''' + } + } + } + return '''getId()''' + } + + /** + * + * @param body + * @param type + * @param dtoName + * + */ + def String addEntityIdModificationSendForDto(String body, JvmType type, String dtoName) { + var entity = EntityUtils.getEntityFromDto(type) + return ''' + «body» + eventBroker.send(EventBrokerMsg.REFRESH_VIEW+"«EventBrokerMsg.getEntityIdModifiedCategory( + (entity?.eContainer as LTypedPackage).name, entity?.name)»", new EventBrokerMsg(«dtoName».«entity.getDtoIdGetter», "«entity?.name»")); + ''' + } + + /** + * + * @param dialog + * @return + */ + def String loadBeans(Dialog dialog) { + var body = '''''' + for (UiBeanSlot uiBeanSlot : dialog.uiView.beanSlots) { + val simpleTypeName = uiBeanSlot.jvmType.simpleName + val variableName = '''newLoaded«simpleTypeName»''' + body = ''' + «body» + «simpleTypeName» «variableName» = null; + Object data = event.getProperty(org.eclipse.e4.core.di.extensions.EventUtils.DATA); + if (data instanceof «simpleTypeName») { + «variableName» = («simpleTypeName»)data; + } + else if (data instanceof EventBrokerMsg) { + EventBrokerMsg msg = (EventBrokerMsg)data; + String id = msg.getId(); + log.debug("load bean with id:"+id); + if (id!=null){ + try { + «variableName» = dto«simpleTypeName»Service.get((int)Double.parseDouble(id)); + } catch (NumberFormatException e) { + «variableName» = dto«simpleTypeName»Service.get(id); + } catch (NullPointerException e) { + «variableName» = dto«simpleTypeName»Service.get(id); + } + } + } + ecviewComponent.setValue(VIEW_ID, «variableName», params); + ''' + } + return body + } + + def String showDeleteException(MessageItem messageItem){ + messageItem.showException("Delete of this element is not allowed!") + } + + def String showSaveException(MessageItem messageItem){ + messageItem.showException("Save of this element is not allowed!") + } + + def String showException(MessageItem messageItem, String alternateMessage){ + if (messageItem != null){ + var messageClassName = MessageDslJvmModelInferrer.getFQMessageClass(messageItem) + var messageItemName = MessageDslJvmModelInferrer.getMethodName(messageItem) + return ''' + org.eclipse.osbp.xtext.messagedsl.common.Message errorMsg = «messageClassName».«messageItemName»(ex, ex.getMessage()); + Notification.show(errorMsg.getShowMessage()); + log.error(errorMsg.getLogMessage());''' + } else { + return ''' + Notification.show("«alternateMessage»"); + log.error(ex.getClass().getSimpleName() + " - «alternateMessage»: " + ex.getMessage());''' + } + } + + def MessageItem getDialogDeleteMessageItem(Dialog dialog){ + dialog.dialogMessageItem(DialogActionEnum.DIALOG_ACTION_DELETE_VALUE) + } + + def MessageItem getDialogSaveMessageItem(Dialog dialog){ + dialog.dialogMessageItem(DialogActionEnum.DIALOG_ACTION_SAVE_VALUE) + } + + def MessageItem dialogMessageItem(Dialog dialog, int dialogActionOrdinal){ + if(dialog.toolbar != null) { + for (action : dialog.toolbar.actions){ + if (action.actionType instanceof ActionDialog){ + var osActionDialog = (action.actionType as ActionDialog) + if (dialogActionOrdinal == osActionDialog.action.ordinal){ + return action.message as MessageItem + } + } + } + } + return null + } + + def String localeChanged(UiView view) { + var body = "" + var slots = view.beanSlots + for(slot:slots) { + if(slot.jvmType.type.containsSuperType(typeof(IStateMachineParticipant).name)) { + body = ''' + «body» + if(getViewContext() != null && getViewContext().getBeanSlot("«slot.name»") != null) { + ((IStateMachineParticipant)getViewContext().getBeanSlot("«slot.name»").getValue()).setLocale(locale); + }''' + } else if(slot.jvmType.type.containsSuperType(typeof(IStateMachine).name)) { + body = ''' + «body» + if(getViewContext() != null && getViewContext().getBeanSlot("«slot.name»") != null) { + ((IStateMachine)getViewContext().getBeanSlot("«slot.name»").getValue()).setLocale(locale); + }''' + } + } + return body + } + + + def String createRenderingParams(UiView view) { + var body = ''' + Map<String, Object> params = super.createRenderingParams(); + IConfiguration config = new IConfiguration() { + @Override + public void beforeUiRendering(IContext viewContext) { + ''' + var slots = view.beanSlots + for(slot:slots) { + if(slot.jvmType.type.containsSuperType(typeof(IStateMachineParticipant).name) || + slot.jvmType.type.containsSuperType(typeof(IPeripheral).name) + ) { + body = ''' + «body» + IStateMachineParticipant «slot.name» = new «slot.jvmType.qualifiedName»(); + «slot.name».setViewContext((IViewContext)viewContext); + «slot.name».setLocale(getUser().getLocale()); + viewContext.createBeanSlot("«slot.name»", «slot.jvmType.qualifiedName».class).setValue(«slot.name»); + ''' + } else if(slot.jvmType.type.containsSuperType(typeof(IStateMachine).name)) { + body = ''' + «body» + IStateMachine «slot.name» = new «slot.jvmType.qualifiedName»(); + «slot.name».setLocale(getUser().getLocale()); + «slot.name».setUser(getUser()); + «slot.name».setDslMetadataService(getDslMetadataService()); + «slot.name».setThemeResourceService(getThemeResourceService()); + «slot.name».setReportProvider(getReportProvider()); + viewContext.createBeanSlot("«slot.name»", «slot.jvmType.qualifiedName».class).setValue(«slot.name»); + ''' + } else { + body = ''' + «body» + viewContext.createBeanSlot("«slot.name»", «slot.jvmType.qualifiedName».class).setValue(new «slot.jvmType.qualifiedName»()); + ''' + } + } + body = ''' + «body» + } + @Override + public void afterUiRendering(IContext context) { + } + @Override + public void beforeBind(IContext context) { + ''' + body = ''' + «body» + } + @Override + public void afterBind(IContext context) { + ''' + for(slot:slots) { + if((slot.jvmType.type.containsSuperType(typeof(IStateMachineParticipant).name))) { + body = ''' + «body» + ((IStateMachineParticipant)context.getBeanSlot("«slot.name»").getValue()).init(); + ''' + } + } + for(slot:slots) { + if((slot.jvmType.type.containsSuperType(typeof(IStateMachine).name))) { + body = ''' + «body» + ((IStateMachine)context.getBeanSlot("«slot.name»").getValue()).start(); + ''' + } + } + body = ''' + «body» + } + }; + params.put(IViewContext.PARAM_CONFIGURATION, config); + return params; + ''' + return body + } + + /** + * <p>create a handler for the load bean event. + * + */ + def String tableSelectionHandler(Dialog dialog) { + return ''' + tableSelectionHandler = new EventHandler() { + @Override + public void handleEvent(Event event) { + «dialog.loadBeans» + } + }; + ''' + } + + // HELPER METHODS + /** + * Method to set a default instance into the view context (for each defined datasource object in the uimodel) + */ + def String setBeanToViewContext(Dialog dialog) { + var body = '''''' + for (UiBeanSlot uiBeanSlot : dialog.uiView.beanSlots) { + body = '''«body»viewContext.setBean("«uiBeanSlot.name»",«uiBeanSlot.name»);''' + } + return body + } + + def String getViewName(Dialog dialog) { + if(dialog.autowire) { + return AutowireUiFactory.getECViewName(dialog); + } else { + return dialog.uiView.name + } + } + + def String getUiModelPackageName(Dialog dialog) { + if(dialog.autowire) { + return AutowireUiFactory.getECViewPackage(dialog); + }else{ + var parent = dialog.uiView.eContainer + while (!(parent instanceof UiModel)) { + parent = parent.eContainer + } + var uiModel = parent as UiModel + return uiModel.packageName + } + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/mapper/AutowireUiFactory.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/mapper/AutowireUiFactory.java new file mode 100644 index 0000000..2413b86 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/mapper/AutowireUiFactory.java @@ -0,0 +1,193 @@ +package org.eclipse.osbp.xtext.dialogdsl.mapper; + +import java.util.HashSet; +import java.util.Set; + +import org.eclipse.osbp.dsl.semantic.common.types.LTypedPackage; +import org.eclipse.osbp.dsl.semantic.dto.LDto; +import org.eclipse.osbp.ecview.semantic.uimodel.UiBeanSlot; +import org.eclipse.osbp.ecview.semantic.uimodel.UiBindingEndpointAssignment; +import org.eclipse.osbp.ecview.semantic.uimodel.UiHorizontalLayout; +import org.eclipse.osbp.ecview.semantic.uimodel.UiIDEView; +import org.eclipse.osbp.ecview.semantic.uimodel.UiImports; +import org.eclipse.osbp.ecview.semantic.uimodel.UiModel; +import org.eclipse.osbp.ecview.semantic.uimodel.UiModelFactory; +import org.eclipse.osbp.ecview.semantic.uimodel.UiView; +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogModel; +import org.eclipse.xtext.common.types.JvmDeclaredType; +import org.eclipse.xtext.common.types.JvmParameterizedTypeReference; +import org.eclipse.xtext.common.types.JvmType; +import org.eclipse.xtext.common.types.TypesFactory; + +import com.google.inject.Singleton; + +/** + * Generates a proper {@link UiView} for a given dialog. + */ +@Singleton +public class AutowireUiFactory { + + UiModelFactory factory = UiModelFactory.eINSTANCE; + + /** + * Generates a {@link UiModel} for the given {@link DialogModel}.<br> + * Only autowired dialogs are used. <br> + * Returns <code>null</code> if no autowired dialog is contained in the + * {@link DialogModel}. + * + * @param dialog + * @return + */ + public UiModel create(DialogModel model) { + if (model == null || model.getPckg() == null) { + return null; + } + + String dPkgName = model.getPckg().getName(); + + // create the ui model + UiModel uiModel = factory.createUiModel(); + uiModel.setPackageName(dPkgName + ".autobinded"); + + Set<String> imported = new HashSet<>(); + for (Dialog dialog : model.getPckg().getDialogs()) { + if (dialog.isAutowire()) { + // create the uiView + UiView uView = create(dialog); + uiModel.getRoots().add(uView); + + // handle imports + LDto dto = dialog.getDto(); + String importedPck = getPackage(dto).getName() + ".*"; + if (imported.add(importedPck)) { + UiImports uImport = factory.createUiImports(); + uImport.setImportedNamespace(importedPck); + uiModel.getImports().add(uImport); + } + } + } + + return uiModel.getRoots().isEmpty() ? null : uiModel; + } + + /** + * Generates a {@link UiView} for the given {@link Dialog}.<br> + * If the dialog is not "autowire", then a {@link IllegalArgumentException} + * is thrown. + * + * @param dialog + * @return + * @throws IllegalArgumentException + * if dialog is not "autowire". + */ + public UiView create(Dialog dialog) { + + if (!dialog.isAutowire()) { + throw new IllegalArgumentException("The dialog " + dialog.getName() + + " is not autowired."); + } + + LDto dto = dialog.getDto(); + + // create the view + UiIDEView uView = factory.createUiIDEView(); + uView.setName(dialog.getName()); + uView.setId(getECViewId(dialog)); + + // create the bean slot + UiBeanSlot uBeanSlot = createBeanSlot(dto); + uView.getBeanSlots().add(uBeanSlot); + + // create the autowired horizontal layout + UiHorizontalLayout uLayout = factory.createUiHorizontalLayout(); + uView.setContent(uLayout); + uLayout.setAutowire(true); + // create the binding + UiBindingEndpointAssignment uDsBinding = factory + .createUiBindingEndpointAssignment(); + uDsBinding.setTypedBindableAlias(uBeanSlot); + uLayout.setAutoWireSource(uDsBinding); + + return uView; + } + + /** + * Returns the ECView id for the given dialog. + * + * @param dialog + * @return + */ + public static String getECViewId(Dialog dialog) { + return getECViewPackage(dialog) + "." + dialog.getName(); + } + + /** + * Returns the ECView package name for the given dialog. + * + * @param dialog + * @return + */ + public static String getECViewPackage(Dialog dialog) { + DialogModel model = (DialogModel) dialog.eContainer().eContainer(); + String pkgName = model.getPckg().getName(); + return pkgName + ".autobinded"; + } + + /** + * Returns the ECView view name for the given dialog. + * + * @param dialog + * @return + */ + public static String getECViewName(Dialog dialog) { + return dialog.getName(); + } + + /** + * Creates the bean slot. + * + * @param dto + * @return + */ + public static UiBeanSlot createBeanSlot(LDto dto) { + UiBeanSlot uBeanSlot = UiModelFactory.eINSTANCE.createUiBeanSlot(); + uBeanSlot.setName("ds"); + + // lets create a JvmType proxy. The proxy is resolved later + JvmParameterizedTypeReference typeRef = TypesFactory.eINSTANCE + .createJvmParameterizedTypeReference(); + uBeanSlot.setJvmType(typeRef); + + String dtoFQN = getDtoFQN(dto); + JvmType res = (JvmType) dto.eResource().getContents().stream() + .filter(e -> { + if (e instanceof JvmDeclaredType) { + JvmDeclaredType type = (JvmDeclaredType) e; + if (type.getQualifiedName().equals(dtoFQN)) { + return true; + } + } + return false; + }).findFirst().orElse(null); + + typeRef.setType(res); + return uBeanSlot; + } + + /** + * Returns the fully qualified name of the dto. + * + * @param dto + * @return + */ + public static String getDtoFQN(LDto dto) { + LTypedPackage pkg = getPackage(dto); + return pkg.getName() + "." + dto.getName(); + } + + private static LTypedPackage getPackage(LDto dto) { + LTypedPackage pkg = (LTypedPackage) dto.eContainer(); + return pkg; + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/mapper/UiModelBridgingHelper.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/mapper/UiModelBridgingHelper.java new file mode 100644 index 0000000..654815e --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/mapper/UiModelBridgingHelper.java @@ -0,0 +1,35 @@ +package org.eclipse.osbp.xtext.dialogdsl.mapper; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.osbp.ecview.dsl.derivedstate.UiModelDerivedStateComputerx; +import org.eclipse.osbp.ecview.semantic.uimodel.UiModel; +import org.eclipse.xtext.resource.DerivedStateAwareResource; +import org.eclipse.xtext.resource.IResourceServiceProvider; + +/** + * This class is a bridging helper to call UIModel stuff from the Dialog + * classes. + */ +@SuppressWarnings("restriction") +public class UiModelBridgingHelper { + + /** + * Installs the derived state for the uiModel into the resource. + * + * @param uiModel + * @param resource + * @param preLinkingPhase + */ + public void installDerivedStateFor(UiModel uiModel, + DerivedStateAwareResource resource, boolean preLinkingPhase) { + // lets use the UiModelDerivedStateComputerx to map the + // UiModel to the ECView-Model + IResourceServiceProvider uiProvider = IResourceServiceProvider.Registry.INSTANCE + .getResourceServiceProvider(URI.createURI("tempAccess:/my.ui")); + UiModelDerivedStateComputerx derivedStateComputer = uiProvider + .get(UiModelDerivedStateComputerx.class); + derivedStateComputer.installDerivedStateFor(uiModel, resource, + preLinkingPhase); + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/scoping/DialogDslScopeProvider.xtend b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/scoping/DialogDslScopeProvider.xtend new file mode 100644 index 0000000..9ad615c --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/scoping/DialogDslScopeProvider.xtend @@ -0,0 +1,35 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.scoping + +import org.eclipse.xtext.xbase.annotations.typesystem.XbaseWithAnnotationsBatchScopeProvider +import org.eclipse.emf.ecore.EObject +import org.eclipse.emf.ecore.EReference + +/** + * This class contains custom scoping description. + * + * see : http://www.eclipse.org/Xtext/documentation.html#scoping + * on how and when to use it + * + */ +class DialogDslScopeProvider extends XbaseWithAnnotationsBatchScopeProvider { + + override getScope(EObject context, EReference reference) { + super.getScope(context, reference) + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/validation/DialogDslValidator.xtend b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/validation/DialogDslValidator.xtend new file mode 100644 index 0000000..2e8bd5e --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/validation/DialogDslValidator.xtend @@ -0,0 +1,93 @@ +/****************************************************************************** + * * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) * + * * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Eclipse Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.eclipse.org/legal/epl-v10.html * + * * + *============================================================================* + * Initial contribution: * + * Loetz GmbH & Co. KG * + * * + * generated by xtext * + ******************************************************************************/ +package org.eclipse.osbp.xtext.dialogdsl.validation + +import org.eclipse.osbp.xtext.dialogdsl.DialogModel +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage +import java.util.List +import org.eclipse.core.databinding.DataBindingContext +import org.eclipse.core.databinding.beans.BeansObservables +import org.eclipse.xtext.common.types.JvmGenericType +import org.eclipse.xtext.validation.Check + +//import org.eclipse.xtext.validation.Check + +/** + * Custom validation rules. + * + * see http://www.eclipse.org/Xtext/documentation.html#validation + */ +class DialogDslValidator extends AbstractDialogDslValidator { + +// public static val INVALID_NAME = 'invalidName' +// +// @Check +// def checkGreetingStartsWithCapital(Greeting greeting) { +// if (!Character.isUpperCase(greeting.name.charAt(0))) { +// warning('Name should start with a capital', +// MyDslPackage.Literals.GREETING__NAME, +// INVALID_NAME) +// } +// } + public static val String CODE__MISSING__L_RUNTIME_COMMON = "0_108" + public static val String CODE__MISSING__DATATYPE_LIB = "0_109" + public static val String CODE__MISSING__XBASE_LIB = "0_111" + public static val String CODE__MISSING__JDK_1_5 = "0_112" + + @Check + def checkClassPath(DialogModel dialogModel) { + var typeReferences = services.typeReferences + val listType = typeReferences.findDeclaredType(List, dialogModel) as JvmGenericType + if (listType == null || listType.getTypeParameters().isEmpty()) { + error("Couldn't find a JDK 1.5 or higher on the project's classpath.", + dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + CODE__MISSING__JDK_1_5); + } + if (typeReferences.findDeclaredType(DataBindingContext, dialogModel) == null) { + error("Couldn't find a the mandatory library 'org.eclipse.core.databinding' on the project's classpath.", + dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + ""); + } + if (typeReferences.findDeclaredType(BeansObservables, dialogModel) == null) { + error("Couldn't find a the mandatory library 'org.eclipse.core.databinding.beans' on the project's classpath.", + dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + ""); + } + if (typeReferences.findDeclaredType( + "org.eclipse.osbp.runtime.common.annotations.Dispose", dialogModel) == null) { + error("Couldn't find the mandatory library 'org.eclipse.osbp.runtime.common' on the project's classpath.", + dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + CODE__MISSING__L_RUNTIME_COMMON); + } + if (typeReferences.findDeclaredType(Extension, dialogModel) == null) { + error("Couldn't find the mandatory library 'org.eclipse.xtext.xbase.lib' 2.7.3 or higher on the project's classpath.", + dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + CODE__MISSING__XBASE_LIB); + } + if (typeReferences.findDeclaredType( + "org.eclipse.osbp.dsl.common.datatypes.IDatatypeConstants", dialogModel) == null) { + warning("Couldn't find the optional library 'org.eclipse.osbp.dsl.datatype.lib' on the project's classpath. This may cause resolving problems.", + dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + CODE__MISSING__DATATYPE_LIB); + } + if (typeReferences.findDeclaredType("javax.validation.Valid", dialogModel) == null) { + error("Couldn't find the library 'javax.validation' on the project's classpath. This may cause resolving problems.", + dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + CODE__MISSING__DATATYPE_LIB); + } + } + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/valueconverter/DialogQualifiedNameProvider.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/valueconverter/DialogQualifiedNameProvider.java new file mode 100644 index 0000000..307692d --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/valueconverter/DialogQualifiedNameProvider.java @@ -0,0 +1,40 @@ + /** + * + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation + */ +package org.eclipse.osbp.xtext.dialogdsl.valueconverter; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.xtext.naming.IQualifiedNameConverter; +import org.eclipse.xtext.naming.QualifiedName; +import org.eclipse.xtext.xbase.scoping.XbaseQualifiedNameProvider; + +import com.google.inject.Inject; + +@SuppressWarnings("restriction") +public class DialogQualifiedNameProvider extends XbaseQualifiedNameProvider { + + /** The qualified name converter. */ + @Inject + private IQualifiedNameConverter qualifiedNameConverter; + + /* (non-Javadoc) + * @see org.eclipse.xtext.xbase.scoping.XbaseQualifiedNameProvider#getFullyQualifiedName(org.eclipse.emf.ecore.EObject) + */ + @Override + public QualifiedName getFullyQualifiedName(EObject obj) { + if (obj == null) { + return QualifiedName.create(""); + } + return super.getFullyQualifiedName(obj); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/valueconverter/DialogValueConverterService.java b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/valueconverter/DialogValueConverterService.java new file mode 100644 index 0000000..578ff32 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/src/org/eclipse/osbp/xtext/dialogdsl/valueconverter/DialogValueConverterService.java @@ -0,0 +1,25 @@ +/** + * Copyright (c) 2011, 2015 - Florian Pirchner, Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Florian Pirchner - Initial implementation + */ +package org.eclipse.osbp.xtext.dialogdsl.valueconverter; + + +import org.eclipse.osbp.dsl.common.xtext.valueconverter.CommonValueConverterService; + +import com.google.inject.Singleton; + +/** + * Adds a value conversion for the QualifiedNameWithWildCard rule. + */ +@SuppressWarnings("restriction") +@Singleton +public class DialogValueConverterService extends CommonValueConverterService { + +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/constants/DialogConstants.java b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/constants/DialogConstants.java new file mode 100644 index 0000000..c0c5209 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/constants/DialogConstants.java @@ -0,0 +1,48 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.constants; + +import org.eclipse.e4.core.contexts.IContextFunction; +import org.eclipse.osbp.ecview.core.common.visibility.IVisibilityProcessor; +import org.eclipse.osbp.osgi.hybrid.api.AbstractHybridVaaclipseView; +import org.eclipse.osbp.ui.api.contextfunction.IViewEmbeddedProvider; +import org.eclipse.osbp.xtext.dialogdsl.common.AbstractECViewDialog; + +@SuppressWarnings("all") +public class DialogConstants { + public final String VAACLIPSE_VIEW_PREFIX = "Dialog"; + + public final String MOBILE_VIEW_PREFIX = "Mobile"; + + public final String ACTION_SAVE = "org.eclipse.osbp.actions.save"; + + public final String ACTION_LOAD = "org.eclipse.osbp.actions.load"; + + public final String ACTION_DELETE = "org.eclipse.osbp.actions.delete"; + + public final String ACTION_FIND = "org.eclipse.osbp.actions.find"; + + public final String MOBILEVIEW_SYPERTYPE = "org.eclipse.osbp.mobile.vaadin.ecview.api.AbstractMobileView"; + + public final String VAACLIPSEVIEW_SYPERTYPE = AbstractHybridVaaclipseView.class.getCanonicalName(); + + public final String VAACLIPSEVIEW_SYPERTYPE2 = IViewEmbeddedProvider.class.getCanonicalName(); + + public final String VAACLIPSEVIEW_SYPERTYPE3 = IContextFunction.class.getCanonicalName(); + + public final String VAACLIPSEVIEW_SYPERTYPE4 = AbstractECViewDialog.class.getCanonicalName(); + + public final String VISIBILITYPROCESSOR_SYPERTYPE = IVisibilityProcessor.class.getCanonicalName(); +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/converter/DefaultECViewDialogGenerator.java b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/converter/DefaultECViewDialogGenerator.java new file mode 100644 index 0000000..c7c4e05 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/converter/DefaultECViewDialogGenerator.java @@ -0,0 +1,19 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.converter; + +@SuppressWarnings("all") +public class DefaultECViewDialogGenerator { +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/formatting/DialogDslFormatter.java b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/formatting/DialogDslFormatter.java new file mode 100644 index 0000000..e6564aa --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/formatting/DialogDslFormatter.java @@ -0,0 +1,43 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.formatting; + +import com.google.inject.Inject; +import org.eclipse.osbp.utils.xtext.GenericFormatter; +import org.eclipse.xtext.Grammar; +import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter; +import org.eclipse.xtext.formatting.impl.FormattingConfig; +import org.eclipse.xtext.xbase.services.XtypeGrammarAccess; + +/** + * This class contains custom formatting description. + * + * see : http://www.eclipse.org/Xtext/documentation.html#formatting + * on how and when to use it + * + * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example + */ +@SuppressWarnings("all") +public class DialogDslFormatter extends AbstractDeclarativeFormatter { + @Inject + private XtypeGrammarAccess grammarAccess; + + protected void configureFormatting(final FormattingConfig c) { + final GenericFormatter genericFormatter = new GenericFormatter(); + Grammar _grammar = this.grammar.getGrammar(); + genericFormatter.formatFirstLevelBlocks(c, _grammar, "Dialog", "DialogImport"); + genericFormatter.genericFormatting(c, this.grammar, this.grammarAccess); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/generator/DialogModelGenerator.java b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/generator/DialogModelGenerator.java new file mode 100644 index 0000000..5b42dcf --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/generator/DialogModelGenerator.java @@ -0,0 +1,420 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.generator; + +import com.google.common.base.Objects; +import com.google.common.collect.Iterables; +import com.google.inject.Inject; +import com.vaadin.ui.ComponentContainer; +import com.vaadin.ui.Label; +import com.vaadin.ui.Notification; +import com.vaadin.ui.UI; +import java.io.StringWriter; +import java.io.Writer; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Locale; +import java.util.ResourceBundle; +import java.util.Set; +import java.util.UUID; +import org.eclipse.core.databinding.DataBindingContext; +import org.eclipse.core.databinding.UpdateValueStrategy; +import org.eclipse.core.databinding.beans.BeansObservables; +import org.eclipse.e4.core.contexts.ContextInjectionFactory; +import org.eclipse.e4.ui.model.application.MApplication; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.xmi.XMLResource; +import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl; +import org.eclipse.osbp.authentication.account.dtos.UserAccountDto; +import org.eclipse.osbp.dsl.dto.lib.impl.DtoServiceAccess; +import org.eclipse.osbp.dsl.dto.lib.services.IDTOService; +import org.eclipse.osbp.ecview.core.common.context.ContextException; +import org.eclipse.osbp.ecview.core.common.context.IConfiguration; +import org.eclipse.osbp.ecview.core.common.context.IContext; +import org.eclipse.osbp.ecview.core.common.context.IViewContext; +import org.eclipse.osbp.ecview.core.common.model.binding.BindingFactory; +import org.eclipse.osbp.ecview.core.common.model.binding.YBindingUpdateStrategy; +import org.eclipse.osbp.ecview.core.common.model.binding.YValueBinding; +import org.eclipse.osbp.ecview.core.common.model.binding.YVisibilityProcessorValueBindingEndpoint; +import org.eclipse.osbp.ecview.core.common.model.core.CoreModelFactory; +import org.eclipse.osbp.ecview.core.common.model.core.YBeanSlot; +import org.eclipse.osbp.ecview.core.common.model.core.YBeanSlotValueBindingEndpoint; +import org.eclipse.osbp.ecview.core.common.model.core.YView; +import org.eclipse.osbp.ecview.core.common.model.visibility.VisibilityFactory; +import org.eclipse.osbp.ecview.core.common.model.visibility.YVisibilityProcessor; +import org.eclipse.osbp.ecview.core.extension.model.extension.YTable; +import org.eclipse.osbp.ecview.extension.api.ILayoutingStrategyProvider; +import org.eclipse.osbp.ecview.extension.model.YStrategyLayout; +import org.eclipse.osbp.ecview.extension.strategy.DefaultLayoutingStrategyProvider; +import org.eclipse.osbp.ecview.extension.strategy.FormLayoutLayoutingStrategy; +import org.eclipse.osbp.ecview.semantic.uimodel.UiBeanSlot; +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileView; +import org.eclipse.osbp.ecview.semantic.uimodel.UiView; +import org.eclipse.osbp.eventbroker.EventBrokerMsg; +import org.eclipse.osbp.runtime.common.i18n.II18nService; +import org.eclipse.osbp.runtime.web.ecview.presentation.vaadin.VaadinRenderer; +import org.eclipse.osbp.runtime.web.vaadin.databinding.VaadinObservables; +import org.eclipse.osbp.ui.api.contextfunction.IViewEmbeddedProvider; +import org.eclipse.osbp.ui.api.statemachine.IStateMachine; +import org.eclipse.osbp.ui.api.statemachine.IStateMachineParticipant; +import org.eclipse.osbp.ui.api.themes.IThemeResourceService; +import org.eclipse.osbp.ui.api.useraccess.AbstractAuthorization; +import org.eclipse.osbp.ui.api.useraccess.IPermissionList; +import org.eclipse.osbp.ui.api.useraccess.IUserAccessService; +import org.eclipse.osbp.utils.vaadin.SelectDialog; +import org.eclipse.osbp.xtext.basic.generator.BasicDslGeneratorUtils; +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogModel; +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage; +import org.eclipse.osbp.xtext.dialogdsl.constants.DialogConstants; +import org.eclipse.osbp.xtext.dialogdsl.mapper.AutowireUiFactory; +import org.eclipse.osbp.xtext.i18n.I18NModelGenerator; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.common.types.JvmGenericType; +import org.eclipse.xtext.common.types.JvmType; +import org.eclipse.xtext.common.types.JvmTypeReference; +import org.eclipse.xtext.generator.IFileSystemAccess; +import org.eclipse.xtext.xbase.compiler.GeneratorConfig; +import org.eclipse.xtext.xbase.compiler.ImportManager; +import org.eclipse.xtext.xbase.compiler.output.TreeAppendable; +import org.eclipse.xtext.xbase.lib.Exceptions; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.InputOutput; +import org.osgi.framework.FrameworkUtil; +import org.osgi.service.event.Event; +import org.osgi.service.event.EventHandler; +import org.osgi.util.tracker.ServiceTracker; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings("all") +public class DialogModelGenerator extends I18NModelGenerator { + @Inject + @Extension + private DialogConstants _dialogConstants; + + @Inject + @Extension + private BasicDslGeneratorUtils _basicDslGeneratorUtils; + + @Inject + private AutowireUiFactory autowireUiFactory; + + private String bindPersistenceMethod = "bindPersistenceService"; + + private String unbindPersistenceMethod = "unbindPersistenceService"; + + private String bindUserAccessMethod = "bindUserAccessService"; + + private String unbindUserAccessMethod = "unbindUserAccessService"; + + private String persistenceXmlName = "PersistenceService.xml"; + + private String authenticationXmlName = "Authentication.xml"; + + /** + * @param input + * @param fsa + */ + public void doGenerate(final Resource input, final IFileSystemAccess fsa) { + this.generateDialogStuff(input, fsa); + this.generateAutowireECViews(input, fsa); + super.doGenerate(input, fsa); + } + + /** + * Generates all stuff related to dialog. + */ + public void generateDialogStuff(final Resource input, final IFileSystemAccess fsa) { + EList<EObject> _contents = input.getContents(); + EObject _get = _contents.get(0); + final DialogModel current = ((DialogModel) _get); + DialogPackage pckg = current.getPckg(); + EList<Dialog> _dialogs = pckg.getDialogs(); + for (final Dialog dialog : _dialogs) { + { + UiView uiview = dialog.getUiView(); + boolean isMobileView = (uiview instanceof UiMobileView); + if (isMobileView) { + this.generateMobileOsgiInf(pckg, dialog, fsa); + } + } + } + } + + /** + * Generates the ECView-Models for autowired dialogs. + */ + public void generateAutowireECViews(final Resource input, final IFileSystemAccess fsa) { + try { + EList<EObject> _contents = input.getContents(); + Iterable<YView> _filter = Iterables.<YView>filter(_contents, YView.class); + for (final YView yView : _filter) { + { + final XMLResource outputRes = new XMLResourceImpl(); + EList<EObject> _contents_1 = outputRes.getContents(); + YView _copy = EcoreUtil.<YView>copy(yView); + _contents_1.add(_copy); + final Writer writer = new StringWriter(); + outputRes.save(writer, null); + String _viewName = yView.getViewName(); + String _plus = (_viewName + ".ecview"); + String _string = writer.toString(); + fsa.generateFile(_plus, "Autowire-ECViews", _string); + } + } + } catch (Throwable _e) { + throw Exceptions.sneakyThrow(_e); + } + } + + /** + * @param dialog + */ + public void i18nTranslator(final Dialog dialog) { + UiView _uiView = dialog.getUiView(); + EList<UiBeanSlot> _beanSlots = _uiView.getBeanSlots(); + for (final UiBeanSlot beanslot : _beanSlots) { + JvmTypeReference _jvmType = beanslot.getJvmType(); + String _qualifiedName = _jvmType.getQualifiedName(); + InputOutput.<String>println(_qualifiedName); + } + } + + /** + * @param pckg + * @param dialog + * @param fsa + */ + public void generateMobileOsgiInf(final DialogPackage pckg, final Dialog dialog, final IFileSystemAccess fsa) { + StringConcatenation _builder = new StringConcatenation(); + String _name = pckg.getName(); + _builder.append(_name, ""); + _builder.append("."); + String _name_1 = dialog.getName(); + _builder.append(_name_1, ""); + _builder.append(this._dialogConstants.MOBILE_VIEW_PREFIX, ""); + final String viewName = _builder.toString(); + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); + _builder_1.newLine(); + _builder_1.append("<scr:component xmlns:scr=\"http://www.osgi.org/xmlns/scr/v1.1.0\" immediate=\"true\" name=\""); + _builder_1.append(viewName, ""); + _builder_1.append("\">"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append(" "); + _builder_1.append("<implementation class=\""); + _builder_1.append(viewName, " "); + _builder_1.append("$UiProvider\"/>"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append(" "); + _builder_1.append("<service>"); + _builder_1.newLine(); + _builder_1.append(" "); + _builder_1.append("<provide interface=\"org.eclipse.osbp.ecview.servlet.mobile.IMobileUiParticipant\"/>"); + _builder_1.newLine(); + _builder_1.append(" "); + _builder_1.append("</service>"); + _builder_1.newLine(); + _builder_1.append(" "); + _builder_1.append("<property name=\"uriFragment\" type=\"String\" value=\""); + _builder_1.append(viewName, " "); + _builder_1.append("\"/>"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("</scr:component>"); + _builder_1.newLine(); + String str = _builder_1.toString(); + StringConcatenation _builder_2 = new StringConcatenation(); + _builder_2.append("../OSGI-INF/"); + _builder_2.append(viewName, ""); + _builder_2.append(".xml"); + fsa.generateFile(_builder_2.toString(), str); + StringConcatenation _builder_3 = new StringConcatenation(); + _builder_3.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); + _builder_3.newLine(); + _builder_3.append("<scr:component xmlns:scr=\"http://www.osgi.org/xmlns/scr/v1.1.0\" name=\""); + _builder_3.append(viewName, ""); + _builder_3.append("PersistenceService\">"); + _builder_3.newLineIfNotEmpty(); + _builder_3.append("\t"); + _builder_3.append("<implementation class=\""); + _builder_3.append(viewName, "\t"); + _builder_3.append("\"/> "); + _builder_3.newLineIfNotEmpty(); + _builder_3.append("\t"); + _builder_3.append("<reference bind=\""); + _builder_3.append(this.bindPersistenceMethod, "\t"); + _builder_3.append("\" cardinality=\"1..1\" interface=\"org.eclipse.osbp.persistence.IPersistenceService\" name=\"IPersistenceService\" policy=\"static\" unbind=\""); + _builder_3.append(this.unbindPersistenceMethod, "\t"); + _builder_3.append("\"/>"); + _builder_3.newLineIfNotEmpty(); + _builder_3.append("</scr:component>"); + _builder_3.newLine(); + str = _builder_3.toString(); + StringConcatenation _builder_4 = new StringConcatenation(); + _builder_4.append("../OSGI-INF/"); + _builder_4.append(viewName, ""); + _builder_4.append(this.persistenceXmlName, ""); + fsa.generateFile(_builder_4.toString(), str); + } + + /** + * @param context + * @param importManager + * @param config + */ + public TreeAppendable createAppendable(final EObject context, final ImportManager importManager, final GeneratorConfig config) { + TreeAppendable _xblockexpression = null; + { + if ((context instanceof JvmGenericType)) { + EList<JvmTypeReference> _superTypes = ((JvmGenericType) context).getSuperTypes(); + for (final JvmTypeReference superType : _superTypes) { + JvmType _type = superType.getType(); + boolean _notEquals = (!Objects.equal(_type, null)); + if (_notEquals) { + Resource _eResource = ((JvmGenericType)context).eResource(); + this.setBuilder(_eResource); + this._basicDslGeneratorUtils.addImportFor(this, importManager, + this._typeReferenceBuilder, + Logger.class, + LoggerFactory.class, + UUID.class, + IStateMachine.class, + IStateMachineParticipant.class, + IViewContext.class, + IConfiguration.class, + IContext.class); + boolean _or = false; + boolean _or_1 = false; + boolean _or_2 = false; + JvmType _type_1 = superType.getType(); + String _identifier = _type_1.getIdentifier(); + boolean _equals = Objects.equal(_identifier, this._dialogConstants.VAACLIPSEVIEW_SYPERTYPE); + if (_equals) { + _or_2 = true; + } else { + JvmType _type_2 = superType.getType(); + String _identifier_1 = _type_2.getIdentifier(); + boolean _equals_1 = Objects.equal(_identifier_1, this._dialogConstants.VAACLIPSEVIEW_SYPERTYPE2); + _or_2 = _equals_1; + } + if (_or_2) { + _or_1 = true; + } else { + JvmType _type_3 = superType.getType(); + String _identifier_2 = _type_3.getIdentifier(); + boolean _equals_2 = Objects.equal(_identifier_2, this._dialogConstants.VAACLIPSEVIEW_SYPERTYPE3); + _or_1 = _equals_2; + } + if (_or_1) { + _or = true; + } else { + JvmType _type_4 = superType.getType(); + String _identifier_3 = _type_4.getIdentifier(); + boolean _equals_3 = Objects.equal(_identifier_3, this._dialogConstants.VAACLIPSEVIEW_SYPERTYPE4); + _or = _equals_3; + } + if (_or) { + this._basicDslGeneratorUtils.addImportFor(this, importManager, + this._typeReferenceBuilder, + YView.class, + VaadinRenderer.class, + Notification.class, + Notification.Type.class, + ContextException.class, + ServiceTracker.class, + EcoreUtil.class, + EObject.class, + Iterator.class, + "org.eclipse.osbp.ecview.xtext.builder.participant.IECViewAddonsMetadataService", + FrameworkUtil.class, + EventBrokerMsg.class, + DtoServiceAccess.class, + ComponentContainer.class, + YStrategyLayout.class, + HashMap.class, + ILayoutingStrategyProvider.class, + DefaultLayoutingStrategyProvider.class, + FormLayoutLayoutingStrategy.class, + II18nService.class, + UI.class, + "org.eclipse.osbp.i18n.common.OSI18nService", + "org.eclipse.osbp.vaaclipse.addons.softwarefactory.handler.StrategyHandler", + YVisibilityProcessor.class, + VisibilityFactory.class, + EList.class, + YBeanSlot.class, + YBeanSlotValueBindingEndpoint.class, + CoreModelFactory.class, + YVisibilityProcessorValueBindingEndpoint.class, + BindingFactory.class, + YValueBinding.class, + YBindingUpdateStrategy.class, + EventHandler.class, + Event.class, + IViewEmbeddedProvider.class, + MApplication.class, + DtoServiceAccess.class, + ContextInjectionFactory.class, + UI.class, + VaadinObservables.class, + DataBindingContext.class, + BeansObservables.class, + UpdateValueStrategy.class, + ResourceBundle.class, + Locale.class, + Label.class, + IThemeResourceService.class, + IThemeResourceService.ThemeResourceType.class, + SelectDialog.class, + Set.class); + } else { + JvmType _type_5 = superType.getType(); + String _identifier_4 = _type_5.getIdentifier(); + boolean _equals_4 = Objects.equal(_identifier_4, this._dialogConstants.MOBILEVIEW_SYPERTYPE); + if (_equals_4) { + this._basicDslGeneratorUtils.addImportFor(this, importManager, + this._typeReferenceBuilder, + YTable.class, + IDTOService.class, + Notification.class, + Notification.Type.class); + } else { + JvmType _type_6 = superType.getType(); + String _identifier_5 = _type_6.getIdentifier(); + boolean _equals_5 = Objects.equal(_identifier_5, this._dialogConstants.VISIBILITYPROCESSOR_SYPERTYPE); + if (_equals_5) { + this._basicDslGeneratorUtils.addImportFor(this, importManager, + this._typeReferenceBuilder, + IUserAccessService.class, + UserAccountDto.class, + IPermissionList.class, + AbstractAuthorization.Permission.class, + AbstractAuthorization.Group.class, + AbstractAuthorization.Action.class); + } + } + } + } + } + } + _xblockexpression = super.createAppendable(context, importManager, config); + } + return _xblockexpression; + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslJvmModelInferrer.java b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslJvmModelInferrer.java new file mode 100644 index 0000000..78ed220 --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslJvmModelInferrer.java @@ -0,0 +1,95 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.jvmmodel; + +import java.util.Arrays; +import javax.inject.Inject; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.osbp.ecview.semantic.uimodel.UiIDEView; +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileView; +import org.eclipse.osbp.ecview.semantic.uimodel.UiView; +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage; +import org.eclipse.osbp.xtext.dialogdsl.jvmmodel.DialogDslMobileViewCreator; +import org.eclipse.osbp.xtext.dialogdsl.jvmmodel.DialogDslVaaclipseViewCreator; +import org.eclipse.osbp.xtext.dialogdsl.mapper.AutowireUiFactory; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.xbase.jvmmodel.AbstractModelInferrer; +import org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.InputOutput; + +/** + * Infers a JVM model from the source model. + * + * The JVM model should contain all elements that would appear in the Java code + * which is generated from the source model. Other models link against the JVM model rather than the source model. + */ +@SuppressWarnings("all") +public class DialogDslJvmModelInferrer extends AbstractModelInferrer { + /** + * convenience API to build and initialize JVM types and their members. + */ + @Inject + @Extension + private DialogDslVaaclipseViewCreator _dialogDslVaaclipseViewCreator; + + @Inject + @Extension + private DialogDslMobileViewCreator _dialogDslMobileViewCreator; + + @Inject + private AutowireUiFactory autowireFactory; + + protected void _infer(final DialogPackage pckg, final IJvmDeclaredTypeAcceptor acceptor, final boolean isPreIndexingPhase) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("isPreIndexingPhase: "); + _builder.append(isPreIndexingPhase, ""); + InputOutput.<String>println(_builder.toString()); + if ((!isPreIndexingPhase)) { + EList<Dialog> _dialogs = pckg.getDialogs(); + for (final Dialog dialog : _dialogs) { + boolean _isAutowire = dialog.isAutowire(); + if (_isAutowire) { + this._dialogDslVaaclipseViewCreator.createVaaclipseUI(pckg, dialog, acceptor, this._annotationTypesBuilder, this._typeReferenceBuilder); + } else { + UiView uiview = dialog.getUiView(); + boolean isIDEView = (uiview instanceof UiIDEView); + boolean isMobileView = (uiview instanceof UiMobileView); + if (isIDEView) { + this._dialogDslVaaclipseViewCreator.createVaaclipseUI(pckg, dialog, acceptor, this._annotationTypesBuilder, this._typeReferenceBuilder); + } + if (isMobileView) { + this._dialogDslMobileViewCreator.createMobileUI(pckg, dialog, acceptor, this._annotationTypesBuilder, this._typeReferenceBuilder); + } + } + } + } + } + + public void infer(final EObject pckg, final IJvmDeclaredTypeAcceptor acceptor, final boolean isPreIndexingPhase) { + if (pckg instanceof DialogPackage) { + _infer((DialogPackage)pckg, acceptor, isPreIndexingPhase); + return; + } else if (pckg != null) { + _infer(pckg, acceptor, isPreIndexingPhase); + return; + } else { + throw new IllegalArgumentException("Unhandled parameter types: " + + Arrays.<Object>asList(pckg, acceptor, isPreIndexingPhase).toString()); + } + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslMobileViewCreator.java b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslMobileViewCreator.java new file mode 100644 index 0000000..c71241a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslMobileViewCreator.java @@ -0,0 +1,1052 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.jvmmodel; + +import com.google.common.base.Objects; +import com.vaadin.ui.ComponentContainer; +import com.vaadin.ui.UI; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import javax.inject.Inject; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.impl.AdapterImpl; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.osbp.dsl.semantic.entity.LEntity; +import org.eclipse.osbp.ecview.core.common.context.IViewContext; +import org.eclipse.osbp.ecview.core.extension.model.extension.util.SimpleExtensionModelFactory; +import org.eclipse.osbp.ecview.dsl.derivedstate.UiModelGrammarUtil; +import org.eclipse.osbp.ecview.semantic.uimodel.UiBeanSlot; +import org.eclipse.osbp.ecview.semantic.uimodel.UiEmbeddable; +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileEmbeddable; +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileNavBarAction; +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileNavigationPage; +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileNavigationPageAssignment; +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileNavigationRoot; +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileNavigationRootAssigment; +import org.eclipse.osbp.ecview.semantic.uimodel.UiMobileView; +import org.eclipse.osbp.ecview.semantic.uimodel.UiModel; +import org.eclipse.osbp.ecview.semantic.uimodel.UiTable; +import org.eclipse.osbp.ecview.semantic.uimodel.UiTypeProvider; +import org.eclipse.osbp.ecview.semantic.uimodel.UiView; +import org.eclipse.osbp.ecview.semantic.uisemantics.UxAction; +import org.eclipse.osbp.persistence.IPersistenceService; +import org.eclipse.osbp.utils.annotation.CommonUtils; +import org.eclipse.osbp.utils.common.EntityUtils; +import org.eclipse.osbp.utils.constants.GeneratorConstants; +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage; +import org.eclipse.osbp.xtext.dialogdsl.constants.DialogConstants; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.common.types.JvmAnnotationReference; +import org.eclipse.xtext.common.types.JvmConstructor; +import org.eclipse.xtext.common.types.JvmDeclaredType; +import org.eclipse.xtext.common.types.JvmField; +import org.eclipse.xtext.common.types.JvmFormalParameter; +import org.eclipse.xtext.common.types.JvmGenericType; +import org.eclipse.xtext.common.types.JvmMember; +import org.eclipse.xtext.common.types.JvmOperation; +import org.eclipse.xtext.common.types.JvmType; +import org.eclipse.xtext.common.types.JvmTypeReference; +import org.eclipse.xtext.common.types.JvmVisibility; +import org.eclipse.xtext.common.types.TypesFactory; +import org.eclipse.xtext.common.types.util.TypeReferences; +import org.eclipse.xtext.naming.IQualifiedNameProvider; +import org.eclipse.xtext.naming.QualifiedName; +import org.eclipse.xtext.xbase.compiler.output.ITreeAppendable; +import org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor; +import org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder; +import org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder; +import org.eclipse.xtext.xbase.jvmmodel.JvmTypesBuilder; +import org.eclipse.xtext.xbase.lib.CollectionLiterals; +import org.eclipse.xtext.xbase.lib.Conversions; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.InputOutput; +import org.eclipse.xtext.xbase.lib.IteratorExtensions; +import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; +import org.osgi.service.component.annotations.Component; +import org.slf4j.Logger; + +/** + * <p>Infers a JVM model from the source model.</p> + * + * <p>The JVM model should contain all elements that would appear in the Java code + * which is generated from the source model. Other models link against the JVM model rather than the source model.</p> + */ +@SuppressWarnings("all") +public class DialogDslMobileViewCreator { + /** + * convenience API to build and initialize JVM types and their members. + */ + @Inject + @Extension + private JvmTypesBuilder _jvmTypesBuilder; + + @Inject + @Extension + private CommonUtils _commonUtils; + + @Inject + @Extension + private EntityUtils _entityUtils; + + @Inject + @Extension + private DialogConstants _dialogConstants; + + @Inject + @Extension + private IQualifiedNameProvider _iQualifiedNameProvider; + + @Inject + private TypeReferences references; + + @Inject + private TypesFactory typesFactory; + + private JvmAnnotationReferenceBuilder _annotationTypesBuilder; + + private JvmTypeReferenceBuilder _typeReferenceBuilder; + + private HashMap<String, List<String>> actionMap; + + private final SimpleExtensionModelFactory factory = new SimpleExtensionModelFactory(); + + /** + * @param element + * the model to create one or more + * {@link JvmDeclaredType declared + * types} from. + * @param acceptor + * each created + * {@link JvmDeclaredType type} + * without a container should be passed to the acceptor in order + * get attached to the current resource. The acceptor's + * {@link IJvmDeclaredTypeAcceptor#accept(org.eclipse.xtext.common.types.JvmDeclaredType) + * accept(..)} method takes the constructed empty type for the + * pre-indexing phase. This one is further initialized in the + * indexing phase using the closure you pass to the returned + * {@link IPostIndexingInitializing#initializeLater(org.eclipse.xtext.xbase.lib.Procedures.Procedure1) + * initializeLater(..)}. + * @param isPreIndexingPhase + * whether the method is called in a pre-indexing phase, i.e. + * when the global index is not yet fully updated. You must not + * rely on linking using the index if isPreIndexingPhase is + * <code>true</code>. + */ + public void createMobileUI(final DialogPackage pckg, final Dialog dialog, final IJvmDeclaredTypeAcceptor acceptor, final JvmAnnotationReferenceBuilder annotationTypesBuilder, final JvmTypeReferenceBuilder typeReferenceBuilder) { + this._annotationTypesBuilder = annotationTypesBuilder; + this._typeReferenceBuilder = typeReferenceBuilder; + UiView _uiView = dialog.getUiView(); + final UiMobileView uiMobileView = ((UiMobileView) _uiView); + boolean _and = false; + boolean _and_1 = false; + boolean _notEquals = (!Objects.equal(uiMobileView, null)); + if (!_notEquals) { + _and_1 = false; + } else { + String _name = uiMobileView.getName(); + boolean _notEquals_1 = (!Objects.equal(_name, null)); + _and_1 = _notEquals_1; + } + if (!_and_1) { + _and = false; + } else { + String _name_1 = uiMobileView.getName(); + boolean _isEmpty = _name_1.isEmpty(); + boolean _not = (!_isEmpty); + _and = _not; + } + if (_and) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("UIView: "); + CharSequence _fQNView = this.getFQNView(dialog, pckg); + _builder.append(_fQNView, ""); + InputOutput.<String>println(_builder.toString()); + StringConcatenation _builder_1 = new StringConcatenation(); + CharSequence _fQNView_1 = this.getFQNView(dialog, pckg); + _builder_1.append(_fQNView_1, ""); + JvmGenericType cls = this._jvmTypesBuilder.toClass(dialog, _builder_1.toString()); + final Procedure1<JvmGenericType> _function = new Procedure1<JvmGenericType>() { + public void apply(final JvmGenericType it) { + EList<JvmTypeReference> _superTypes = it.getSuperTypes(); + JvmTypeReference _typeRef = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(DialogDslMobileViewCreator.this._dialogConstants.MOBILEVIEW_SYPERTYPE); + _superTypes.add(_typeRef); + DialogDslMobileViewCreator.this._jvmTypesBuilder.setDocumentation(it, GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION); + DialogDslMobileViewCreator.this.toFields(it, dialog, pckg); + DialogDslMobileViewCreator.this.toOperations(it, dialog, pckg); + } + }; + acceptor.<JvmGenericType>accept(cls, _function); + this.toUiProvider(cls, dialog, pckg, acceptor); + this.toActionOperations(cls, uiMobileView, acceptor); + } + } + + /** + * build the inner class UiProvider. + * + * @param type + * @param uiMobileView + * @param acceptor + */ + public void toActionOperations(final JvmGenericType type, final UiMobileView uiMobileView, final IJvmDeclaredTypeAcceptor acceptor) { + this.createActionMap(uiMobileView); + boolean _isEmpty = this.actionMap.isEmpty(); + boolean _not = (!_isEmpty); + if (_not) { + this.toInitializeMethod(type, uiMobileView); + this.toDisposeMethod(type, uiMobileView); + List<String> _get = this.actionMap.get(this._dialogConstants.ACTION_SAVE); + boolean _notEquals = (!Objects.equal(_get, null)); + if (_notEquals) { + this.toSaveObserver(type, uiMobileView, acceptor); + this.toSaveFields(type, uiMobileView); + this.toRegSaveHandler(type, uiMobileView); + this.toUnRegSaveHandler(type, uiMobileView); + } + } + } + + /** + * build the inner class UiProvider. + * + * @param type + * @param uiMobileView + * @param acceptor + */ + public void toSaveObserver(final JvmDeclaredType type, final UiMobileView uiMobileView, final IJvmDeclaredTypeAcceptor acceptor) { + JvmTypeReference _jvmTypeRef = this.getJvmTypeRef(uiMobileView); + final String dto = _jvmTypeRef.getQualifiedName(); + final JvmGenericType cls = this._jvmTypesBuilder.toClass(uiMobileView, "SaveActionObserver"); + EList<JvmMember> _members = type.getMembers(); + this._jvmTypesBuilder.<JvmGenericType>operator_add(_members, cls); + final Procedure1<JvmGenericType> _function = new Procedure1<JvmGenericType>() { + public void apply(final JvmGenericType it) { + EList<JvmTypeReference> _superTypes = it.getSuperTypes(); + JvmTypeReference _typeRef = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(AdapterImpl.class); + _superTypes.add(_typeRef); + it.setVisibility(JvmVisibility.PRIVATE); + DialogDslMobileViewCreator.this._jvmTypesBuilder.setDocumentation(it, GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION); + EList<JvmMember> _members = cls.getMembers(); + JvmTypeReference _typeRef_1 = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslMobileViewCreator.this._annotationTypesBuilder.annotationRef(Override.class); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(Notification.class); + JvmFormalParameter _parameter = DialogDslMobileViewCreator.this._jvmTypesBuilder.toParameter(uiMobileView, "msg", _typeRef); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("// if the navigation bar button was clicked"); + _builder.newLine(); + _builder.append("if (msg.getFeature() == org.eclipse.osbp.mobile.vaadin.ecview.model.VaadinMobilePackage.Literals.VM_NAVIGATION_BAR_BUTTON__LAST_CLICK_TIME) {"); + _builder.newLine(); + { + List<String> _get = DialogDslMobileViewCreator.this.actionMap.get(DialogDslMobileViewCreator.this._dialogConstants.ACTION_SAVE); + for(final String saveId : _get) { + { + String _navPageContainer = DialogDslMobileViewCreator.this.getNavPageContainer(saveId); + boolean _isTable = DialogDslMobileViewCreator.this.isTable(uiMobileView, _navPageContainer); + if (_isTable) { + _builder.append("try {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("YTable yTable = findTable(\""); + String _navPageContainer_1 = DialogDslMobileViewCreator.this.getNavPageContainer(saveId); + _builder.append(_navPageContainer_1, "\t"); + _builder.append("\");"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append(dto, "\t"); + _builder.append(" dto = ("); + _builder.append(dto, "\t"); + _builder.append(") yTable.getSelection();"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("((IDTOService<"); + _builder.append(dto, "\t"); + _builder.append(">) dtoService).update(dto);"); + _builder.newLineIfNotEmpty(); + _builder.append("} catch (Exception e) {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("e.printStackTrace();"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + } + } + } + } + _builder.append("}"); + _builder.newLine(); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method = DialogDslMobileViewCreator.this._jvmTypesBuilder.toMethod(uiMobileView, "notifyChanged", _typeRef_1, _function); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmOperation>operator_add(_members, _method); + } + }; + acceptor.<JvmGenericType>accept(cls, _function); + } + + /** + * @param type + * @param uiMobileView + */ + public void toSaveFields(final JvmGenericType type, final UiMobileView uiMobileView) { + JvmField field = null; + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef("SaveActionObserver"); + JvmField _field = this._jvmTypesBuilder.toField(uiMobileView, "observer", _typeRef); + field = _field; + field.setVisibility(JvmVisibility.PRIVATE); + EList<JvmMember> _members = type.getMembers(); + this._jvmTypesBuilder.<JvmField>operator_add(_members, field); + int idx = 0; + } + + /** + * @param type + * @param uiMobileView + */ + public void toDisposeMethod(final JvmGenericType type, final UiMobileView uiMobileView) { + EList<JvmMember> _members = type.getMembers(); + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslMobileViewCreator.this._annotationTypesBuilder.annotationRef(Override.class); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + { + List<String> _get = DialogDslMobileViewCreator.this.actionMap.get(DialogDslMobileViewCreator.this._dialogConstants.ACTION_SAVE); + boolean _notEquals = (!Objects.equal(_get, null)); + if (_notEquals) { + _builder.append("unregisterSaveHandler();"); + _builder.newLine(); + } + } + _builder.append("super.dispose();"); + _builder.newLine(); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method = this._jvmTypesBuilder.toMethod(uiMobileView, "dispose", _typeRef, _function); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members, _method); + } + + /** + * @param type + * @param uiMobileView + */ + public void toUnRegSaveHandler(final JvmGenericType type, final UiMobileView uiMobileView) { + EList<JvmMember> _members = type.getMembers(); + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + it.setVisibility(JvmVisibility.PRIVATE); + DialogDslMobileViewCreator.this._jvmTypesBuilder.setDocumentation(it, "Unregister an observer at the EObject for the save-navigationBarAction"); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + { + List<String> _get = DialogDslMobileViewCreator.this.actionMap.get(DialogDslMobileViewCreator.this._dialogConstants.ACTION_SAVE); + for(final String saveId : _get) { + _builder.append("unregisterHandler(\""); + _builder.append(saveId, ""); + _builder.append("\", observer);"); + _builder.newLineIfNotEmpty(); + } + } + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method = this._jvmTypesBuilder.toMethod(uiMobileView, "unregisterSaveHandler", _typeRef, _function); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members, _method); + } + + /** + * @param type + * @param uiMobileView + */ + public void toRegSaveHandler(final JvmGenericType type, final UiMobileView uiMobileView) { + EList<JvmMember> _members = type.getMembers(); + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + it.setVisibility(JvmVisibility.PRIVATE); + DialogDslMobileViewCreator.this._jvmTypesBuilder.setDocumentation(it, "Register an observer at the EObject for the save-navigationBarAction"); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("try {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// access the navigation bar action and register a listener at it"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("if (observer == null) {"); + _builder.newLine(); + _builder.append("\t\t"); + _builder.append("observer = new SaveActionObserver();"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("}"); + _builder.newLine(); + _builder.append("\t"); + { + List<String> _get = DialogDslMobileViewCreator.this.actionMap.get(DialogDslMobileViewCreator.this._dialogConstants.ACTION_SAVE); + for(final String saveId : _get) { + _builder.append("registerHandler(\""); + _builder.append(saveId, "\t"); + _builder.append("\", observer);"); + _builder.newLineIfNotEmpty(); + } + } + _builder.append("} catch (Exception e) {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("e.printStackTrace();"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method = this._jvmTypesBuilder.toMethod(uiMobileView, "registerSaveHandler", _typeRef, _function); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members, _method); + } + + /** + * @param type + * @param uMobileView + */ + public void toInitializeMethod(final JvmGenericType type, final UiMobileView uiMobileView) { + EList<JvmMember> _members = type.getMembers(); + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + it.setVisibility(JvmVisibility.PROTECTED); + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslMobileViewCreator.this._annotationTypesBuilder.annotationRef(Override.class); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(ComponentContainer.class); + JvmFormalParameter _parameter = DialogDslMobileViewCreator.this._jvmTypesBuilder.toParameter(uiMobileView, "parent", _typeRef); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + EList<JvmFormalParameter> _parameters_1 = it.getParameters(); + JvmTypeReference _typeRef_1 = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(String.class); + JvmFormalParameter _parameter_1 = DialogDslMobileViewCreator.this._jvmTypesBuilder.toParameter(uiMobileView, "fragment", _typeRef_1); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters_1, _parameter_1); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("\t"); + _builder.append("super.initialize(parent, fragment);"); + _builder.newLine(); + { + List<String> _get = DialogDslMobileViewCreator.this.actionMap.get(DialogDslMobileViewCreator.this._dialogConstants.ACTION_SAVE); + boolean _notEquals = (!Objects.equal(_get, null)); + if (_notEquals) { + _builder.append("\t\t\t\t\t\t"); + _builder.append("registerSaveHandler();"); + _builder.newLine(); + _builder.append("\t\t\t\t\t\t"); + } + } + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method = this._jvmTypesBuilder.toMethod(uiMobileView, "initialize", _typeRef, _function); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members, _method); + } + + /** + * <p>build the class variables.</p> + * + * @param type + * @param dialog + * @param pckg + */ + public void toFields(final JvmDeclaredType type, final Dialog dialog, final DialogPackage pckg) { + JvmField field = null; + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(long.class); + final Procedure1<JvmField> _function = new Procedure1<JvmField>() { + public void apply(final JvmField it) { + it.setVisibility(JvmVisibility.PRIVATE); + it.setStatic(true); + it.setFinal(true); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("1L"); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setInitializer(it, _function); + } + }; + JvmField _field = this._jvmTypesBuilder.toField(dialog, "serialVersionUID", _typeRef, _function); + field = _field; + EList<JvmMember> _members = type.getMembers(); + this._jvmTypesBuilder.<JvmField>operator_add(_members, field); + JvmTypeReference _typeRef_1 = this._typeReferenceBuilder.typeRef(Logger.class); + final Procedure1<JvmField> _function_1 = new Procedure1<JvmField>() { + public void apply(final JvmField it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("LoggerFactory.getLogger(\"mobileDialog\")"); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setInitializer(it, _function); + } + }; + JvmField _field_1 = this._jvmTypesBuilder.toField(dialog, "log", _typeRef_1, _function_1); + field = _field_1; + field.setFinal(true); + field.setStatic(true); + EList<JvmMember> _members_1 = type.getMembers(); + this._jvmTypesBuilder.<JvmField>operator_add(_members_1, field); + JvmTypeReference _typeRef_2 = this._typeReferenceBuilder.typeRef(IPersistenceService.class); + JvmField _field_2 = this._jvmTypesBuilder.toField(dialog, "persistenceService", _typeRef_2); + field = _field_2; + field.setStatic(true); + EList<JvmMember> _members_2 = type.getMembers(); + this._jvmTypesBuilder.<JvmField>operator_add(_members_2, field); + } + + /** + * <p>build the inner class UiProvider.</p> + * + * @param type + * @param dialog + * @param pckg + * @param acceptor + */ + public void toUiProvider(final JvmDeclaredType type, final Dialog dialog, final DialogPackage pckg, final IJvmDeclaredTypeAcceptor acceptor) { + JvmGenericType cls = this._jvmTypesBuilder.toClass(dialog, "UiProvider"); + EList<JvmMember> _members = type.getMembers(); + this._jvmTypesBuilder.<JvmGenericType>operator_add(_members, cls); + final Procedure1<JvmGenericType> _function = new Procedure1<JvmGenericType>() { + public void apply(final JvmGenericType it) { + EList<JvmTypeReference> _superTypes = it.getSuperTypes(); + JvmTypeReference _typeRef = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef("org.eclipse.osbp.mobile.vaadin.ecview.api.IMobileUiParticipant"); + _superTypes.add(_typeRef); + DialogDslMobileViewCreator.this._jvmTypesBuilder.setDocumentation(it, GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION); + it.setStatic(true); + JvmAnnotationReference annotationRef = DialogDslMobileViewCreator.this._annotationTypesBuilder.annotationRef(Component.class); + StringConcatenation _builder = new StringConcatenation(); + _builder.append("uriFragment="); + CharSequence _fQNView = DialogDslMobileViewCreator.this.getFQNView(dialog, pckg); + _builder.append(_fQNView, ""); + String propContent = _builder.toString(); + DialogDslMobileViewCreator.this._commonUtils.addAnnAttr(annotationRef, dialog, "property", propContent); + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, annotationRef); + DialogDslMobileViewCreator.this.toUiProviderConstructor(it, dialog); + DialogDslMobileViewCreator.this.toUiProviderOperations(it, dialog, pckg); + } + }; + acceptor.<JvmGenericType>accept(cls, _function); + } + + /** + * @param type + * @param dialog + */ + public void toUiProviderConstructor(final JvmGenericType type, final Dialog dialog) { + EList<JvmMember> _members = type.getMembers(); + final Procedure1<JvmConstructor> _function = new Procedure1<JvmConstructor>() { + public void apply(final JvmConstructor it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("super();"); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmConstructor _constructor = this._jvmTypesBuilder.toConstructor(dialog, _function); + this._jvmTypesBuilder.<JvmConstructor>operator_add(_members, _constructor); + } + + /** + * @param type + * @param dialog + * @param pckg + */ + public void toUiProviderOperations(final JvmGenericType type, final Dialog dialog, final DialogPackage pckg) { + EList<JvmMember> _members = type.getMembers(); + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(String.class); + final Procedure1<JvmOperation> _function = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslMobileViewCreator.this._annotationTypesBuilder.annotationRef(Override.class); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return \""); + CharSequence _fQNView = DialogDslMobileViewCreator.this.getFQNView(dialog, pckg); + _builder.append(_fQNView, ""); + _builder.append("\";"); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method = this._jvmTypesBuilder.toMethod(dialog, "getFragmentName", _typeRef, _function); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members, _method); + EList<JvmMember> _members_1 = type.getMembers(); + JvmTypeReference _typeRef_1 = this._typeReferenceBuilder.typeRef("org.eclipse.osbp.mobile.vaadin.ecview.api.IMobileUiParticipantHandle"); + final Procedure1<JvmOperation> _function_1 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslMobileViewCreator.this._annotationTypesBuilder.annotationRef(Override.class); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(UI.class); + JvmFormalParameter _parameter = DialogDslMobileViewCreator.this._jvmTypesBuilder.toParameter(dialog, "ui", _typeRef); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + EList<JvmFormalParameter> _parameters_1 = it.getParameters(); + JvmTypeReference _typeRef_1 = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(String.class); + JvmFormalParameter _parameter_1 = DialogDslMobileViewCreator.this._jvmTypesBuilder.toParameter(dialog, "fragment", _typeRef_1); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters_1, _parameter_1); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return new "); + String _name = dialog.getName(); + _builder.append(_name, ""); + _builder.append(DialogDslMobileViewCreator.this._dialogConstants.MOBILE_VIEW_PREFIX, ""); + _builder.append("();"); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_1 = this._jvmTypesBuilder.toMethod(dialog, "createHandle", _typeRef_1, _function_1); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_1, _method_1); + } + + /** + * <p>build the methods.</p> + * + * @param type + * @param dialog + * @param pckg + */ + public void toOperations(final JvmDeclaredType type, final Dialog dialog, final DialogPackage pckg) { + EList<JvmMember> _members = type.getMembers(); + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(String.class); + final Procedure1<JvmOperation> _function = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + it.setVisibility(JvmVisibility.PROTECTED); + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslMobileViewCreator.this._annotationTypesBuilder.annotationRef(Override.class); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + UiView _uiView = dialog.getUiView(); + EObject _eContainer = _uiView.eContainer(); + final UiModel uiModel = ((UiModel) _eContainer); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return \""); + String _packageName = uiModel.getPackageName(); + _builder.append(_packageName, ""); + _builder.append("."); + UiView _uiView = dialog.getUiView(); + String _name = _uiView.getName(); + _builder.append(_name, ""); + _builder.append("\";"); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method = this._jvmTypesBuilder.toMethod(dialog, "getViewId", _typeRef, _function); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members, _method); + EList<JvmMember> _members_1 = type.getMembers(); + JvmTypeReference _typeRef_1 = this._typeReferenceBuilder.typeRef(Class.class); + final Procedure1<JvmOperation> _function_1 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + it.setVisibility(JvmVisibility.PROTECTED); + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslMobileViewCreator.this._annotationTypesBuilder.annotationRef(Override.class); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return "); + JvmTypeReference _jvmTypeRef = DialogDslMobileViewCreator.this.getJvmTypeRef(dialog); + String _qualifiedName = _jvmTypeRef.getQualifiedName(); + _builder.append(_qualifiedName, ""); + _builder.append(".class;"); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_1 = this._jvmTypesBuilder.toMethod(dialog, "getDtoClass", _typeRef_1, _function_1); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_1, _method_1); + UiView _uiView = dialog.getUiView(); + EList<UiBeanSlot> _beanSlots = _uiView.getBeanSlots(); + int _size = _beanSlots.size(); + boolean _greaterThan = (_size > 0); + if (_greaterThan) { + EList<JvmMember> _members_2 = type.getMembers(); + JvmTypeReference _typeRef_2 = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function_2 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + it.setVisibility(JvmVisibility.PROTECTED); + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(IViewContext.class); + JvmFormalParameter _parameter = DialogDslMobileViewCreator.this._jvmTypesBuilder.toParameter(dialog, "viewContext", _typeRef); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + EList<JvmFormalParameter> _parameters_1 = it.getParameters(); + JvmTypeReference _typeRef_1 = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(String.class); + JvmFormalParameter _parameter_1 = DialogDslMobileViewCreator.this._jvmTypesBuilder.toParameter(dialog, "fragment", _typeRef_1); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters_1, _parameter_1); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + String _setBeanToViewContext = DialogDslMobileViewCreator.this.setBeanToViewContext(dialog); + it.append(_setBeanToViewContext); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_2 = this._jvmTypesBuilder.toMethod(dialog, "doInitialize", _typeRef_2, _function_2); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_2, _method_2); + } + JvmTypeReference _jvmTypeRef = this.getJvmTypeRef(dialog); + JvmType _type = _jvmTypeRef.getType(); + LEntity _entityFromDto = EntityUtils.getEntityFromDto(_type); + final LEntity entity = ((LEntity) _entityFromDto); + EList<JvmMember> _members_3 = type.getMembers(); + JvmTypeReference _typeRef_3 = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function_3 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + it.setVisibility(JvmVisibility.PUBLIC); + it.setSynchronized(true); + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(IPersistenceService.class); + JvmFormalParameter _parameter = DialogDslMobileViewCreator.this._jvmTypesBuilder.toParameter(dialog, "persistenceService", _typeRef); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("this.persistenceService = persistenceService;"); + _builder.newLine(); + _builder.append("this.persistenceService.registerPersistenceUnit(\""); + String _persistenceUnit = null; + if (entity!=null) { + _persistenceUnit=entity.getPersistenceUnit(); + } + _builder.append(_persistenceUnit, ""); + _builder.append("\", "); + QualifiedName _fullyQualifiedName = null; + if (entity!=null) { + _fullyQualifiedName=DialogDslMobileViewCreator.this._iQualifiedNameProvider.getFullyQualifiedName(entity); + } + _builder.append(_fullyQualifiedName, ""); + _builder.append(".class);"); + _builder.newLineIfNotEmpty(); + _builder.append("log.debug(\"PersistenceService bound\");"); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_3 = this._jvmTypesBuilder.toMethod(dialog, "bindPersistenceService", _typeRef_3, _function_3); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_3, _method_3); + EList<JvmMember> _members_4 = type.getMembers(); + JvmTypeReference _typeRef_4 = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function_4 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + it.setVisibility(JvmVisibility.PUBLIC); + it.setSynchronized(true); + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslMobileViewCreator.this._typeReferenceBuilder.typeRef(IPersistenceService.class); + JvmFormalParameter _parameter = DialogDslMobileViewCreator.this._jvmTypesBuilder.toParameter(dialog, "persistenceService", _typeRef); + DialogDslMobileViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("this.persistenceService = null;"); + _builder.newLine(); + _builder.append("log.debug(\"PersistenceService unbound\");"); + it.append(_builder); + } + }; + DialogDslMobileViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_4 = this._jvmTypesBuilder.toMethod(dialog, "unbindPersistenceService", _typeRef_4, _function_4); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_4, _method_4); + } + + /** + * Method to set a default instance into the view context (for each defined datasource object in the uimodel) + * @param dialog + * @return + */ + public String setBeanToViewContext(final Dialog dialog) { + StringConcatenation _builder = new StringConcatenation(); + String body = _builder.toString(); + UiView _uiView = dialog.getUiView(); + EList<UiBeanSlot> _beanSlots = ((UiMobileView) _uiView).getBeanSlots(); + for (final UiBeanSlot uiBeanSlot : _beanSlots) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append(body, ""); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("viewContext.setBean(\""); + String _name = uiBeanSlot.getName(); + _builder_1.append(_name, ""); + _builder_1.append("\", new "); + JvmTypeReference _jvmType = uiBeanSlot.getJvmType(); + String _qualifiedName = null; + if (_jvmType!=null) { + _qualifiedName=_jvmType.getQualifiedName(); + } + String _replace = _qualifiedName.replace("$", "."); + _builder_1.append(_replace, ""); + _builder_1.append("());"); + body = _builder_1.toString(); + } + return body; + } + + /** + * Method to get the referenced jvmType within mobile navigationPage + * + * @param dialog + * @return + */ + public JvmTypeReference getJvmTypeRef(final Dialog dialog) { + UiView _uiView = dialog.getUiView(); + UiMobileView uiMobileView = ((UiMobileView) _uiView); + UiEmbeddable uiMobileContent = uiMobileView.getContent(); + if ((uiMobileContent instanceof UiMobileNavigationRoot)) { + UiMobileNavigationRoot uiMobileNavRoot = ((UiMobileNavigationRoot) uiMobileContent); + EList<UiMobileNavigationRootAssigment> _contents = uiMobileNavRoot.getContents(); + for (final UiMobileNavigationRootAssigment uiMobileNavRootAssigment : _contents) { + { + UiMobileEmbeddable uiMobileElement = uiMobileNavRootAssigment.getElement(); + if ((uiMobileElement instanceof UiMobileNavigationPage)) { + UiMobileNavigationPage uiMobileNavPage = ((UiMobileNavigationPage) uiMobileElement); + EList<UiMobileNavigationPageAssignment> _contents_1 = uiMobileNavPage.getContents(); + for (final UiMobileNavigationPageAssignment uiMobileNavPageAssigment : _contents_1) { + { + UiEmbeddable element = uiMobileNavPageAssigment.getElement(); + if ((element instanceof UiTypeProvider)) { + return ((UiTypeProvider) element).getJvmType(); + } + } + } + } + } + } + } + return null; + } + + /** + * Method to get the referenced jvmType within mobile navigationPage + * + * @param uiMobileView + * @return + */ + public JvmTypeReference getJvmTypeRef(final UiMobileView uiMobileView) { + UiEmbeddable uiMobileContent = uiMobileView.getContent(); + if ((uiMobileContent instanceof UiMobileNavigationRoot)) { + UiMobileNavigationRoot uiMobileNavRoot = ((UiMobileNavigationRoot) uiMobileContent); + EList<UiMobileNavigationRootAssigment> _contents = uiMobileNavRoot.getContents(); + for (final UiMobileNavigationRootAssigment uiMobileNavRootAssigment : _contents) { + { + UiMobileEmbeddable uiMobileElement = uiMobileNavRootAssigment.getElement(); + if ((uiMobileElement instanceof UiMobileNavigationPage)) { + UiMobileNavigationPage uiMobileNavPage = ((UiMobileNavigationPage) uiMobileElement); + EList<UiMobileNavigationPageAssignment> _contents_1 = uiMobileNavPage.getContents(); + for (final UiMobileNavigationPageAssignment uiMobileNavPageAssigment : _contents_1) { + { + UiEmbeddable element = uiMobileNavPageAssigment.getElement(); + if ((element instanceof UiTypeProvider)) { + return ((UiTypeProvider) element).getJvmType(); + } + } + } + } + } + } + } + return null; + } + + /** + * @param uiView + */ + public void createActionMap(final UiMobileView view) { + boolean _equals = Objects.equal(this.actionMap, null); + if (_equals) { + HashMap<String, List<String>> _newHashMap = CollectionLiterals.<String, List<String>>newHashMap(); + this.actionMap = _newHashMap; + } + TreeIterator<EObject> _eAllContents = view.eAllContents(); + Iterable<EObject> _iterable = IteratorExtensions.<EObject>toIterable(_eAllContents); + for (final EObject uiElement : _iterable) { + if ((uiElement instanceof UiMobileNavBarAction)) { + final UiMobileNavBarAction uiAction = ((UiMobileNavBarAction)uiElement); + UxAction uxActionRef = uiAction.getActionReference(); + String actionID = uiAction.getActionID(); + QualifiedName fqn = this._iQualifiedNameProvider.getFullyQualifiedName(uiAction); + String key = ""; + boolean _notEquals = (!Objects.equal(uxActionRef, null)); + if (_notEquals) { + String _name = uxActionRef.getName(); + key = _name; + } else { + boolean _notEquals_1 = (!Objects.equal(actionID, null)); + if (_notEquals_1) { + key = actionID; + } + } + List<String> actionList = this.actionMap.get(key); + boolean _equals_1 = Objects.equal(actionList, null); + if (_equals_1) { + ArrayList<String> _newArrayList = CollectionLiterals.<String>newArrayList(); + actionList = _newArrayList; + } + String _string = fqn.toString(); + actionList.add(_string); + this.actionMap.put(key, actionList); + } + } + } + + /** + * @param uiView + * @return + */ + public String getUiModelPackageName(final UiView uiView) { + EObject parent = uiView.eContainer(); + while ((!(parent instanceof UiModel))) { + EObject _eContainer = parent.eContainer(); + parent = _eContainer; + } + UiModel uiModel = ((UiModel) parent); + return uiModel.getPackageName(); + } + + /** + * @param navbarActionPath + * @return + */ + public String getNavPageContainer(final String navbarActionPath) { + String[] navbarActionSplit = navbarActionPath.split("\\."); + final String[] _converted_navbarActionSplit = (String[])navbarActionSplit; + int _size = ((List<String>)Conversions.doWrapArray(_converted_navbarActionSplit)).size(); + boolean _greaterThan = (_size > 2); + if (_greaterThan) { + String out = ""; + final String[] _converted_navbarActionSplit_1 = (String[])navbarActionSplit; + final String[] _converted_navbarActionSplit_2 = (String[])navbarActionSplit; + int _size_1 = ((List<String>)Conversions.doWrapArray(_converted_navbarActionSplit_2)).size(); + int _minus = (_size_1 - 2); + List<String> navbarActionPathSubList = ((List<String>)Conversions.doWrapArray(_converted_navbarActionSplit_1)).subList(0, _minus); + for (final String element : navbarActionPathSubList) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append(out, ""); + _builder.append("."); + _builder.append(element, ""); + out = _builder.toString(); + } + int _length = out.length(); + boolean _greaterThan_1 = (_length > 1); + if (_greaterThan_1) { + return out.substring(1); + } + return out; + } + return navbarActionPath; + } + + /** + * @param uiMobileView + * @param id + * @return + */ + public boolean isTable(final UiMobileView uiMobileView, final String id) { + TreeIterator<EObject> contents = uiMobileView.eAllContents(); + while (contents.hasNext()) { + { + EObject expected = contents.next(); + if ((expected instanceof UiTable)) { + String tableId = UiModelGrammarUtil.getPathId(((UiEmbeddable)expected)); + QualifiedName tableId2 = this._iQualifiedNameProvider.getFullyQualifiedName(expected); + boolean _equals = id.equals(tableId); + if (_equals) { + return true; + } + } + } + } + return false; + } + + public CharSequence getFQNView(final Dialog dialog, final DialogPackage pckg) { + StringConcatenation _builder = new StringConcatenation(); + String _name = pckg.getName(); + _builder.append(_name, ""); + _builder.append("."); + String _name_1 = dialog.getName(); + _builder.append(_name_1, ""); + _builder.append(this._dialogConstants.MOBILE_VIEW_PREFIX, ""); + return _builder; + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslVaaclipseViewCreator.java b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslVaaclipseViewCreator.java new file mode 100644 index 0000000..6534c9e --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/jvmmodel/DialogDslVaaclipseViewCreator.java @@ -0,0 +1,1777 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.jvmmodel; + +import com.google.common.base.Objects; +import com.vaadin.ui.VerticalLayout; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.Set; +import javax.inject.Inject; +import org.eclipse.e4.core.contexts.IContextFunction; +import org.eclipse.e4.core.contexts.IEclipseContext; +import org.eclipse.e4.ui.model.application.MApplication; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.osbp.dsl.dto.lib.services.IDTOServiceWithMutablePersistence; +import org.eclipse.osbp.dsl.semantic.common.types.LTypedPackage; +import org.eclipse.osbp.dsl.semantic.dto.LDto; +import org.eclipse.osbp.dsl.semantic.entity.LEntity; +import org.eclipse.osbp.dsl.semantic.entity.LEntityAttribute; +import org.eclipse.osbp.ecview.semantic.uimodel.UiBeanSlot; +import org.eclipse.osbp.ecview.semantic.uimodel.UiModel; +import org.eclipse.osbp.ecview.semantic.uimodel.UiView; +import org.eclipse.osbp.eventbroker.EventBrokerMsg; +import org.eclipse.osbp.persistence.IPersistenceService; +import org.eclipse.osbp.ui.api.contextfunction.IViewEmbeddedProvider; +import org.eclipse.osbp.ui.api.statemachine.IDataProvider; +import org.eclipse.osbp.ui.api.statemachine.IPeripheral; +import org.eclipse.osbp.ui.api.statemachine.IStateMachine; +import org.eclipse.osbp.ui.api.statemachine.IStateMachineParticipant; +import org.eclipse.osbp.utils.annotation.CommonUtils; +import org.eclipse.osbp.utils.common.EntityUtils; +import org.eclipse.osbp.utils.constants.GeneratorConstants; +import org.eclipse.osbp.xtext.action.ActionButton; +import org.eclipse.osbp.xtext.action.ActionDialog; +import org.eclipse.osbp.xtext.action.ActionToolbar; +import org.eclipse.osbp.xtext.action.ActionType; +import org.eclipse.osbp.xtext.action.DialogActionEnum; +import org.eclipse.osbp.xtext.action.common.IToolbarAction; +import org.eclipse.osbp.xtext.dialogdsl.Dialog; +import org.eclipse.osbp.xtext.dialogdsl.DialogPackage; +import org.eclipse.osbp.xtext.dialogdsl.common.AbstractECViewDialog; +import org.eclipse.osbp.xtext.dialogdsl.common.AbstractEmbeddedDialog; +import org.eclipse.osbp.xtext.dialogdsl.common.AbstractUIDialog; +import org.eclipse.osbp.xtext.dialogdsl.constants.DialogConstants; +import org.eclipse.osbp.xtext.dialogdsl.mapper.AutowireUiFactory; +import org.eclipse.osbp.xtext.i18n.I18NKeyGenerator; +import org.eclipse.osbp.xtext.messagedsl.MessageItem; +import org.eclipse.osbp.xtext.messagedsl.jvmmodel.MessageDslJvmModelInferrer; +import org.eclipse.osbp.xtext.strategy.jvmmodel.StrategyDSLFocusingEnhancerCreator; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.common.types.JvmAnnotationReference; +import org.eclipse.xtext.common.types.JvmConstructor; +import org.eclipse.xtext.common.types.JvmDeclaredType; +import org.eclipse.xtext.common.types.JvmFeature; +import org.eclipse.xtext.common.types.JvmField; +import org.eclipse.xtext.common.types.JvmFormalParameter; +import org.eclipse.xtext.common.types.JvmGenericType; +import org.eclipse.xtext.common.types.JvmMember; +import org.eclipse.xtext.common.types.JvmOperation; +import org.eclipse.xtext.common.types.JvmPrimitiveType; +import org.eclipse.xtext.common.types.JvmType; +import org.eclipse.xtext.common.types.JvmTypeReference; +import org.eclipse.xtext.common.types.JvmVisibility; +import org.eclipse.xtext.common.types.util.RawSuperTypes; +import org.eclipse.xtext.naming.IQualifiedNameProvider; +import org.eclipse.xtext.naming.QualifiedName; +import org.eclipse.xtext.util.Strings; +import org.eclipse.xtext.xbase.compiler.output.ITreeAppendable; +import org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor; +import org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder; +import org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder; +import org.eclipse.xtext.xbase.jvmmodel.JvmTypesBuilder; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.IterableExtensions; +import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; +import org.eclipse.xtext.xbase.lib.StringExtensions; +import org.osgi.service.component.annotations.Component; +import org.slf4j.Logger; + +/** + * Infers a JVM model from the source model. + * <p> + * The JVM model should contain all elements that would appear in the Java code + * which is generated from the source model. Other models link against the JVM model rather than the source model. + */ +@SuppressWarnings("all") +public class DialogDslVaaclipseViewCreator { + /** + * convenience API to build and initialize JVM types and their members. + */ + @Inject + @Extension + private JvmTypesBuilder _jvmTypesBuilder; + + @Inject + @Extension + private DialogConstants _dialogConstants; + + @Inject + @Extension + private IQualifiedNameProvider _iQualifiedNameProvider; + + @Inject + @Extension + private StrategyDSLFocusingEnhancerCreator strategyFocusingEnhancerCreator; + + @Inject + @Extension + private CommonUtils _commonUtils; + + private JvmAnnotationReferenceBuilder _annotationTypesBuilder; + + private JvmTypeReferenceBuilder _typeReferenceBuilder; + + public void createVaaclipseUI(final DialogPackage pckg, final Dialog dialog, final IJvmDeclaredTypeAcceptor acceptor, final JvmAnnotationReferenceBuilder annotationTypesBuilder, final JvmTypeReferenceBuilder typeReferenceBuilder) { + this._annotationTypesBuilder = annotationTypesBuilder; + this._typeReferenceBuilder = typeReferenceBuilder; + String uiViewName = this.getUiName(dialog); + boolean _and = false; + boolean _notEquals = (!Objects.equal(uiViewName, null)); + if (!_notEquals) { + _and = false; + } else { + boolean _isEmpty = uiViewName.isEmpty(); + boolean _not = (!_isEmpty); + _and = _not; + } + if (_and) { + StringConcatenation _builder = new StringConcatenation(); + QualifiedName _fullyQualifiedName = this._iQualifiedNameProvider.getFullyQualifiedName(dialog); + _builder.append(_fullyQualifiedName, ""); + _builder.append(this._dialogConstants.VAACLIPSE_VIEW_PREFIX, ""); + String clsName = _builder.toString(); + boolean _isEmbedded = dialog.isEmbedded(); + if (_isEmbedded) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append(clsName, ""); + _builder_1.append("Embedded"); + clsName = _builder_1.toString(); + } + JvmGenericType cls = this._jvmTypesBuilder.toClass(dialog, clsName); + final Procedure1<JvmGenericType> _function = new Procedure1<JvmGenericType>() { + public void apply(final JvmGenericType it) { + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setDocumentation(it, GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION); + boolean _isEmbedded = dialog.isEmbedded(); + if (_isEmbedded) { + EList<JvmTypeReference> _superTypes = it.getSuperTypes(); + String _mainBeanslotType = DialogDslVaaclipseViewCreator.this.getMainBeanslotType(dialog); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(_mainBeanslotType); + JvmTypeReference _typeRef_1 = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(AbstractEmbeddedDialog.class, _typeRef); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmTypeReference>operator_add(_superTypes, _typeRef_1); + EList<JvmTypeReference> _superTypes_1 = it.getSuperTypes(); + JvmTypeReference _typeRef_2 = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(IViewEmbeddedProvider.class); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmTypeReference>operator_add(_superTypes_1, _typeRef_2); + } else { + boolean _isPure = dialog.isPure(); + if (_isPure) { + EList<JvmTypeReference> _superTypes_2 = it.getSuperTypes(); + JvmTypeReference _typeRef_3 = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(AbstractUIDialog.class); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmTypeReference>operator_add(_superTypes_2, _typeRef_3); + } else { + EList<JvmTypeReference> _superTypes_3 = it.getSuperTypes(); + String _mainBeanslotType_1 = DialogDslVaaclipseViewCreator.this.getMainBeanslotType(dialog); + JvmTypeReference _typeRef_4 = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(_mainBeanslotType_1); + JvmTypeReference _typeRef_5 = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(AbstractECViewDialog.class, _typeRef_4); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmTypeReference>operator_add(_superTypes_3, _typeRef_5); + } + } + DialogDslVaaclipseViewCreator.this.toConstructor(it, dialog); + DialogDslVaaclipseViewCreator.this.toFields(it, dialog); + DialogDslVaaclipseViewCreator.this.toOperations(it, dialog, pckg); + } + }; + acceptor.<JvmGenericType>accept(cls, _function); + boolean _isEmbedded_1 = dialog.isEmbedded(); + if (_isEmbedded_1) { + StringConcatenation _builder_2 = new StringConcatenation(); + String _name = dialog.getName(); + _builder_2.append(_name, ""); + _builder_2.append(this._dialogConstants.VAACLIPSE_VIEW_PREFIX, ""); + _builder_2.append("EmbeddedContextFunction"); + String contextClassName = _builder_2.toString(); + final JvmGenericType contextCls = this._jvmTypesBuilder.toClass(pckg, contextClassName); + final String dialogClsName = clsName; + EList<JvmTypeReference> _superTypes = contextCls.getSuperTypes(); + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(IContextFunction.class); + _superTypes.add(_typeRef); + String _simpleName = contextCls.getSimpleName(); + String _firstUpper = StringExtensions.toFirstUpper(_simpleName); + contextCls.setSimpleName(_firstUpper); + final Procedure1<JvmGenericType> _function_1 = new Procedure1<JvmGenericType>() { + public void apply(final JvmGenericType it) { + JvmAnnotationReference annotationRef = DialogDslVaaclipseViewCreator.this._annotationTypesBuilder.annotationRef(Component.class); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(IContextFunction.class); + DialogDslVaaclipseViewCreator.this._commonUtils.addAnnAttr(annotationRef, dialog, "service", ((JvmTypeReference) _typeRef)); + StringConcatenation _builder = new StringConcatenation(); + _builder.append(IContextFunction.SERVICE_CONTEXT_KEY, ""); + _builder.append("="); + String _name = dialog.getName(); + String _firstUpper = StringExtensions.toFirstUpper(_name); + _builder.append(_firstUpper, ""); + String propContent = _builder.toString(); + DialogDslVaaclipseViewCreator.this._commonUtils.addAnnAttr(annotationRef, dialog, "property", propContent); + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, annotationRef); + QualifiedName _fullyQualifiedName = DialogDslVaaclipseViewCreator.this._iQualifiedNameProvider.getFullyQualifiedName(pckg); + String _string = _fullyQualifiedName.toString(); + it.setPackageName(_string); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setDocumentation(it, GeneratorConstants.GENERATED_CLASSES_DOCUMENTATION); + DialogDslVaaclipseViewCreator.this.toContextOperations(it, dialog, dialogClsName); + } + }; + acceptor.<JvmGenericType>accept(contextCls, _function_1); + } + } + } + + public String getMainBeanslotType(final Dialog dialog) { + boolean _isAutowire = dialog.isAutowire(); + if (_isAutowire) { + LDto _dto = dialog.getDto(); + return AutowireUiFactory.getDtoFQN(_dto); + } else { + UiBeanSlot _mainBeanSlot = this.getMainBeanSlot(dialog); + JvmTypeReference _jvmType = _mainBeanSlot.getJvmType(); + return _jvmType.getQualifiedName(); + } + } + + public String getUiName(final Dialog dialog) { + boolean _isAutowire = dialog.isAutowire(); + if (_isAutowire) { + return AutowireUiFactory.getECViewId(dialog); + } else { + UiView _uiView = dialog.getUiView(); + return _uiView.getName(); + } + } + + /** + * <p>create an injectable context function to be used by an e4 application. + * + * @param type + * @param dialog + * @param clsName + */ + public void toContextOperations(final JvmGenericType type, final Dialog dialog, final String clsName) { + JvmOperation operation = null; + EList<JvmMember> _members = type.getMembers(); + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(Object.class); + final Procedure1<JvmOperation> _function = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslVaaclipseViewCreator.this._annotationTypesBuilder.annotationRef(Override.class); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + it.setVisibility(JvmVisibility.PUBLIC); + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(IEclipseContext.class); + JvmFormalParameter _parameter = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "context", _typeRef); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + EList<JvmFormalParameter> _parameters_1 = it.getParameters(); + JvmTypeReference _typeRef_1 = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(String.class); + JvmFormalParameter _parameter_1 = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "contextKey", _typeRef_1); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters_1, _parameter_1); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("MApplication application = context.get(MApplication.class);"); + _builder.newLine(); + _builder.append("IEclipseContext appCtx = application.getContext();"); + _builder.newLine(); + _builder.append("IViewEmbeddedProvider provider = ContextInjectionFactory.make("); + _builder.append(clsName, ""); + _builder.append(".class, appCtx);"); + _builder.newLineIfNotEmpty(); + _builder.append("appCtx.set(IViewEmbeddedProvider.class, provider);"); + _builder.newLine(); + _builder.append("return provider;"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method = this._jvmTypesBuilder.toMethod(dialog, "compute", _typeRef, _function); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members, _method); + } + + /** + * <p>build the constructors to be used by an e4 application. + * + * @param type + * @param dialog + */ + public void toConstructor(final JvmDeclaredType type, final Dialog dialog) { + boolean _isEmbedded = dialog.isEmbedded(); + if (_isEmbedded) { + EList<JvmMember> _members = type.getMembers(); + final Procedure1<JvmConstructor> _function = new Procedure1<JvmConstructor>() { + public void apply(final JvmConstructor it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("super();"); + _builder.newLine(); + _builder.append("uuid = UUID.randomUUID().toString();"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmConstructor _constructor = this._jvmTypesBuilder.toConstructor(dialog, _function); + this._jvmTypesBuilder.<JvmConstructor>operator_add(_members, _constructor); + } else { + EList<JvmMember> _members_1 = type.getMembers(); + final Procedure1<JvmConstructor> _function_1 = new Procedure1<JvmConstructor>() { + public void apply(final JvmConstructor it) { + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslVaaclipseViewCreator.this._annotationTypesBuilder.annotationRef(Inject.class); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(VerticalLayout.class); + JvmFormalParameter _parameter = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "parent", _typeRef); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + EList<JvmFormalParameter> _parameters_1 = it.getParameters(); + JvmTypeReference _typeRef_1 = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(IEclipseContext.class); + JvmFormalParameter _parameter_1 = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "context", _typeRef_1); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters_1, _parameter_1); + EList<JvmFormalParameter> _parameters_2 = it.getParameters(); + JvmTypeReference _typeRef_2 = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(MApplication.class); + JvmFormalParameter _parameter_2 = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "app", _typeRef_2); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters_2, _parameter_2); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("super(parent,context,app);"); + _builder.newLine(); + _builder.append("uuid = UUID.randomUUID().toString();"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmConstructor _constructor_1 = this._jvmTypesBuilder.toConstructor(dialog, _function_1); + this._jvmTypesBuilder.<JvmConstructor>operator_add(_members_1, _constructor_1); + } + } + + /** + * <p>build the class variables. + * + * @param type + * @param dialog + */ + public void toFields(final JvmDeclaredType type, final Dialog dialog) { + JvmField field = null; + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(Logger.class); + final Procedure1<JvmField> _function = new Procedure1<JvmField>() { + public void apply(final JvmField it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("LoggerFactory.getLogger(\"vaaclipseDialog\")"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setInitializer(it, _function); + } + }; + JvmField _field = this._jvmTypesBuilder.toField(dialog, "log", _typeRef, _function); + field = _field; + field.setFinal(true); + field.setStatic(true); + EList<JvmMember> _members = type.getMembers(); + this._jvmTypesBuilder.<JvmField>operator_add(_members, field); + } + + /** + * <p>build the methods. + * + * @param type + * @param dialog + * @param pckg + */ + public void toOperations(final JvmDeclaredType type, final Dialog dialog, final DialogPackage pckg) { + EList<JvmMember> _members = type.getMembers(); + JvmTypeReference _typeRef = this._typeReferenceBuilder.typeRef(String.class); + final Procedure1<JvmOperation> _function = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return \""); + String _uiModelPackageName = DialogDslVaaclipseViewCreator.this.getUiModelPackageName(dialog); + _builder.append(_uiModelPackageName, ""); + _builder.append("."); + String _viewName = DialogDslVaaclipseViewCreator.this.getViewName(dialog); + _builder.append(_viewName, ""); + _builder.append("\";"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method = this._jvmTypesBuilder.toMethod(dialog, "getViewId", _typeRef, _function); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members, _method); + boolean _isStateful = dialog.isStateful(); + if (_isStateful) { + EList<JvmMember> _members_1 = type.getMembers(); + JvmTypeReference _typeRef_1 = this._typeReferenceBuilder.typeRef(String.class); + JvmTypeReference _typeRef_2 = this._typeReferenceBuilder.typeRef(Object.class); + JvmTypeReference _typeRef_3 = this._typeReferenceBuilder.typeRef(Map.class, _typeRef_1, _typeRef_2); + final Procedure1<JvmOperation> _function_1 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + UiView _uiView = dialog.getUiView(); + String _createRenderingParams = DialogDslVaaclipseViewCreator.this.createRenderingParams(_uiView); + _builder.append(_createRenderingParams, ""); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_1 = this._jvmTypesBuilder.toMethod(dialog, "createRenderingParams", _typeRef_3, _function_1); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_1, _method_1); + EList<JvmMember> _members_2 = type.getMembers(); + JvmTypeReference _typeRef_4 = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function_2 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(Locale.class); + JvmFormalParameter _parameter = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "locale", _typeRef); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + UiView _uiView = dialog.getUiView(); + String _localeChanged = DialogDslVaaclipseViewCreator.this.localeChanged(_uiView); + _builder.append(_localeChanged, ""); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_2 = this._jvmTypesBuilder.toMethod(dialog, "localeChanged", _typeRef_4, _function_2); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_2, _method_2); + } else { + final UiBeanSlot mainBeanSlot = this.getMainBeanSlot(dialog); + EList<JvmMember> _members_3 = type.getMembers(); + JvmTypeReference _typeRef_5 = this._typeReferenceBuilder.typeRef(String.class); + final Procedure1<JvmOperation> _function_3 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return \""); + String _name = mainBeanSlot.getName(); + _builder.append(_name, ""); + _builder.append("\";"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_3 = this._jvmTypesBuilder.toMethod(dialog, "getMainBeanSlot", _typeRef_5, _function_3); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_3, _method_3); + EList<JvmMember> _members_4 = type.getMembers(); + JvmTypeReference _typeRef_6 = this._typeReferenceBuilder.typeRef(String.class); + final Procedure1<JvmOperation> _function_4 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return \""); + JvmTypeReference _jvmType = mainBeanSlot.getJvmType(); + JvmType _type = _jvmType.getType(); + String _qualifiedName = _type.getQualifiedName(); + _builder.append(_qualifiedName, ""); + _builder.append("\";"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_4 = this._jvmTypesBuilder.toMethod(dialog, "getBaseDtoName", _typeRef_6, _function_4); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_4, _method_4); + EList<JvmMember> _members_5 = type.getMembers(); + JvmTypeReference _typeRef_7 = this._typeReferenceBuilder.typeRef(String.class); + final Procedure1<JvmOperation> _function_5 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _jvmType = mainBeanSlot.getJvmType(); + String _qualifiedName = _jvmType.getQualifiedName(); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(_qualifiedName); + JvmFormalParameter _parameter = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "savedDto", _typeRef); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return "); + String _idForDtoString = DialogDslVaaclipseViewCreator.this.getIdForDtoString(mainBeanSlot); + _builder.append(_idForDtoString, ""); + _builder.append(";"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_5 = this._jvmTypesBuilder.toMethod(dialog, "getIdForDtoString", _typeRef_7, _function_5); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_5, _method_5); + EList<JvmMember> _members_6 = type.getMembers(); + JvmTypeReference _typeRef_8 = this._typeReferenceBuilder.typeRef(Object.class); + final Procedure1<JvmOperation> _function_6 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _jvmType = mainBeanSlot.getJvmType(); + String _qualifiedName = _jvmType.getQualifiedName(); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(_qualifiedName); + JvmFormalParameter _parameter = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "savedDto", _typeRef); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return "); + String _idForDto = DialogDslVaaclipseViewCreator.this.getIdForDto(mainBeanSlot); + _builder.append(_idForDto, ""); + _builder.append(";"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_6 = this._jvmTypesBuilder.toMethod(dialog, "getIdForDto", _typeRef_8, _function_6); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_6, _method_6); + EList<JvmMember> _members_7 = type.getMembers(); + JvmTypeReference _typeRef_9 = this._typeReferenceBuilder.typeRef(String.class); + final Procedure1<JvmOperation> _function_7 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return \""); + JvmTypeReference _jvmType = mainBeanSlot.getJvmType(); + JvmType _type = _jvmType.getType(); + String _eventTopicSuffix = DialogDslVaaclipseViewCreator.this.getEventTopicSuffix(_type); + _builder.append(_eventTopicSuffix, ""); + _builder.append("\";"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_7 = this._jvmTypesBuilder.toMethod(dialog, "getEventTopicSuffix", _typeRef_9, _function_7); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_7, _method_7); + EList<JvmMember> _members_8 = type.getMembers(); + JvmTypeReference _typeRef_10 = this._typeReferenceBuilder.typeRef(String.class); + final Procedure1<JvmOperation> _function_8 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return \""); + JvmTypeReference _jvmType = mainBeanSlot.getJvmType(); + JvmType _type = _jvmType.getType(); + String _entityName = DialogDslVaaclipseViewCreator.this.getEntityName(_type); + _builder.append(_entityName, ""); + _builder.append("\";"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_8 = this._jvmTypesBuilder.toMethod(dialog, "getDataName", _typeRef_10, _function_8); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_8, _method_8); + EList<JvmMember> _members_9 = type.getMembers(); + JvmTypeReference _jvmType = mainBeanSlot.getJvmType(); + String _qualifiedName = _jvmType.getQualifiedName(); + JvmTypeReference _typeRef_11 = this._typeReferenceBuilder.typeRef(_qualifiedName); + JvmTypeReference _typeRef_12 = this._typeReferenceBuilder.typeRef(IDTOServiceWithMutablePersistence.class, _typeRef_11); + final Procedure1<JvmOperation> _function_9 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return (IDTOServiceWithMutablePersistence<"); + JvmTypeReference _jvmType = mainBeanSlot.getJvmType(); + String _qualifiedName = _jvmType.getQualifiedName(); + _builder.append(_qualifiedName, ""); + _builder.append(">) DtoServiceAccess"); + _builder.newLineIfNotEmpty(); + _builder.append("\t\t\t\t\t"); + _builder.append(".getService("); + JvmTypeReference _jvmType_1 = mainBeanSlot.getJvmType(); + String _qualifiedName_1 = _jvmType_1.getQualifiedName(); + _builder.append(_qualifiedName_1, "\t\t\t\t\t"); + _builder.append(".class);"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_9 = this._jvmTypesBuilder.toMethod(dialog, "getDtoService", _typeRef_12, _function_9); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_9, _method_9); + EList<JvmMember> _members_10 = type.getMembers(); + JvmTypeReference _typeRef_13 = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function_10 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + JvmTypeReference _jvmType = mainBeanSlot.getJvmType(); + JvmType _type = _jvmType.getType(); + LEntity _entityFromDto = EntityUtils.getEntityFromDto(_type); + final LEntity entity = ((LEntity) _entityFromDto); + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(IPersistenceService.class); + JvmFormalParameter _parameter = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "persistenceService", _typeRef); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + boolean _notEquals = (!Objects.equal(entity, null)); + if (_notEquals) { + final Procedure1<ITreeAppendable> _function_1 = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("persistenceService.registerPersistenceUnit(\""); + String _persistenceUnit = null; + if (entity!=null) { + _persistenceUnit=entity.getPersistenceUnit(); + } + _builder.append(_persistenceUnit, ""); + _builder.append("\", "); + _builder.newLineIfNotEmpty(); + QualifiedName _fullyQualifiedName = null; + if (entity!=null) { + _fullyQualifiedName=DialogDslVaaclipseViewCreator.this._iQualifiedNameProvider.getFullyQualifiedName(entity); + } + _builder.append(_fullyQualifiedName, ""); + _builder.append(".class);"); + _builder.newLineIfNotEmpty(); + _builder.append("log.debug(\"PersistenceService registered\");"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function_1); + } + } + }; + JvmOperation _method_10 = this._jvmTypesBuilder.toMethod(dialog, "registerPersistenceUnit", _typeRef_13, _function_10); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_10, _method_10); + EList<JvmMember> _members_11 = type.getMembers(); + JvmTypeReference _typeRef_14 = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function_11 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(Exception.class); + JvmFormalParameter _parameter = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "ex", _typeRef); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + String _saveErrorMessage = DialogDslVaaclipseViewCreator.this.saveErrorMessage(dialog); + _builder.append(_saveErrorMessage, ""); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_11 = this._jvmTypesBuilder.toMethod(dialog, "showSaveErrorMessage", _typeRef_14, _function_11); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_11, _method_11); + EList<JvmMember> _members_12 = type.getMembers(); + JvmTypeReference _typeRef_15 = this._typeReferenceBuilder.typeRef(Void.TYPE); + final Procedure1<JvmOperation> _function_12 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmFormalParameter> _parameters = it.getParameters(); + JvmTypeReference _typeRef = DialogDslVaaclipseViewCreator.this._typeReferenceBuilder.typeRef(Exception.class); + JvmFormalParameter _parameter = DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.toParameter(dialog, "ex", _typeRef); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + String _deleteErrorMessage = DialogDslVaaclipseViewCreator.this.deleteErrorMessage(dialog); + _builder.append(_deleteErrorMessage, ""); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_12 = this._jvmTypesBuilder.toMethod(dialog, "showDeleteErrorMessage", _typeRef_15, _function_12); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_12, _method_12); + EList<JvmMember> _members_13 = type.getMembers(); + JvmTypeReference _typeRef_16 = this._typeReferenceBuilder.typeRef(IToolbarAction.class); + final Procedure1<JvmOperation> _function_13 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + { + ActionToolbar _toolbar = dialog.getToolbar(); + boolean _notEquals = (!Objects.equal(_toolbar, null)); + if (_notEquals) { + _builder.append("return new "); + ActionToolbar _toolbar_1 = dialog.getToolbar(); + QualifiedName _fullyQualifiedName = DialogDslVaaclipseViewCreator.this._iQualifiedNameProvider.getFullyQualifiedName(_toolbar_1); + _builder.append(_fullyQualifiedName, ""); + _builder.append("Action(uuid);"); + } else { + _builder.append("return null;"); + } + } + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_13 = this._jvmTypesBuilder.toMethod(dialog, "createToobarHelper", _typeRef_16, _function_13); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_13, _method_13); + EList<JvmMember> _members_14 = type.getMembers(); + JvmTypeReference _typeRef_17 = this._typeReferenceBuilder.typeRef(String.class); + final Procedure1<JvmOperation> _function_14 = new Procedure1<JvmOperation>() { + public void apply(final JvmOperation it) { + EList<JvmAnnotationReference> _annotations = it.getAnnotations(); + JvmAnnotationReference _annotationRef = DialogDslVaaclipseViewCreator.this._annotationTypesBuilder.annotationRef(Override.class); + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.<JvmAnnotationReference>operator_add(_annotations, _annotationRef); + final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() { + public void apply(final ITreeAppendable it) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("return \""); + String _descriptionValue = dialog.getDescriptionValue(); + String _key = I18NKeyGenerator.key(_descriptionValue); + _builder.append(_key, ""); + _builder.append("\";"); + it.append(_builder); + } + }; + DialogDslVaaclipseViewCreator.this._jvmTypesBuilder.setBody(it, _function); + } + }; + JvmOperation _method_14 = this._jvmTypesBuilder.toMethod(dialog, "getBindingPropertyName", _typeRef_17, _function_14); + this._jvmTypesBuilder.<JvmOperation>operator_add(_members_14, _method_14); + } + } + + public String appendBeanSlots(final UiView view) { + StringConcatenation _builder = new StringConcatenation(); + String body = _builder.toString(); + EList<UiBeanSlot> slots = view.getBeanSlots(); + for (final UiBeanSlot slot : slots) { + JvmTypeReference _jvmType = slot.getJvmType(); + JvmType _type = _jvmType.getType(); + String _name = IDataProvider.class.getName(); + boolean _containsSuperType = this.containsSuperType(_type, _name); + if (_containsSuperType) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("IDataProvider dataProvider = new "); + JvmTypeReference _jvmType_1 = slot.getJvmType(); + String _qualifiedName = _jvmType_1.getQualifiedName(); + _builder_1.append(_qualifiedName, ""); + _builder_1.append("();"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("dataProvider.setViewContext(viewContext);"); + _builder_1.newLine(); + _builder_1.append(body, ""); + _builder_1.append("viewContext.createBeanSlot(\""); + String _name_1 = slot.getName(); + _builder_1.append(_name_1, ""); + _builder_1.append("\", "); + JvmTypeReference _jvmType_2 = slot.getJvmType(); + String _qualifiedName_1 = _jvmType_2.getQualifiedName(); + _builder_1.append(_qualifiedName_1, ""); + _builder_1.append(".class).setValue(dataProvider);"); + _builder_1.newLineIfNotEmpty(); + body = _builder_1.toString(); + } else { + StringConcatenation _builder_2 = new StringConcatenation(); + _builder_2.append(body, ""); + _builder_2.append("viewContext.createBeanSlot(\""); + String _name_2 = slot.getName(); + _builder_2.append(_name_2, ""); + _builder_2.append("\", "); + JvmTypeReference _jvmType_3 = slot.getJvmType(); + String _qualifiedName_2 = _jvmType_3.getQualifiedName(); + _builder_2.append(_qualifiedName_2, ""); + _builder_2.append(".class).setValue(new "); + JvmTypeReference _jvmType_4 = slot.getJvmType(); + String _qualifiedName_3 = _jvmType_4.getQualifiedName(); + _builder_2.append(_qualifiedName_3, ""); + _builder_2.append("());"); + _builder_2.newLineIfNotEmpty(); + body = _builder_2.toString(); + } + } + return body; + } + + public boolean containsSuperType(final JvmType type, final String fqn) { + if ((!(type instanceof JvmDeclaredType))) { + return false; + } + RawSuperTypes _rawSuperTypes = new RawSuperTypes(); + Set<String> _collectNames = _rawSuperTypes.collectNames(type); + return _collectNames.contains(fqn); + } + + /** + * @param type + * @param dialog + * @return + */ + public String saveErrorMessage(final Dialog dialog) { + String _xblockexpression = null; + { + MessageItem messageItem = this.getDialogSaveMessageItem(dialog); + _xblockexpression = this.showSaveException(messageItem); + } + return _xblockexpression; + } + + /** + * @param dialog + * @return + */ + public String deleteErrorMessage(final Dialog dialog) { + String _xblockexpression = null; + { + MessageItem messageItem = this.getDialogDeleteMessageItem(dialog); + _xblockexpression = this.showDeleteException(messageItem); + } + return _xblockexpression; + } + + /** + * @param type + * @return + */ + public String getEventTopicSuffix(final JvmType type) { + LEntity entity = EntityUtils.getEntityFromDto(type); + boolean _notEquals = (!Objects.equal(entity, null)); + if (_notEquals) { + StringConcatenation _builder = new StringConcatenation(); + EObject _eContainer = entity.eContainer(); + String _name = ((LTypedPackage) _eContainer).getName(); + String _name_1 = entity.getName(); + String _entityIdModifiedCategory = EventBrokerMsg.getEntityIdModifiedCategory(_name, _name_1); + _builder.append(_entityIdModifiedCategory, ""); + return _builder.toString(); + } + StringConcatenation _builder_1 = new StringConcatenation(); + return _builder_1.toString(); + } + + /** + * @param type + * @return + */ + public String getEntityName(final JvmType type) { + LEntity entity = EntityUtils.getEntityFromDto(type); + StringConcatenation _builder = new StringConcatenation(); + String _name = null; + if (entity!=null) { + _name=entity.getName(); + } + _builder.append(_name, ""); + return _builder.toString(); + } + + /** + * @param slot + * @return + */ + public String getIdForDtoString(final UiBeanSlot slot) { + JvmTypeReference _jvmType = slot.getJvmType(); + final JvmType type = _jvmType.getType(); + if ((type instanceof JvmDeclaredType)) { + final Iterable<JvmFeature> idList = ((JvmDeclaredType) type).findAllFeaturesByName("id"); + boolean _isEmpty = IterableExtensions.isEmpty(idList); + if (_isEmpty) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("null"); + return _builder.toString(); + } else { + for (final JvmFeature id : idList) { + if ((id instanceof JvmField)) { + JvmField idField = ((JvmField) id); + JvmTypeReference _type = idField.getType(); + final JvmType idType = _type.getType(); + if ((idType instanceof JvmPrimitiveType)) { + String _simpleName = Integer.TYPE.getSimpleName(); + String _simpleName_1 = ((JvmPrimitiveType)idType).getSimpleName(); + boolean _equals = _simpleName.equals(_simpleName_1); + if (_equals) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("new Integer(savedDto.getId()).toString()"); + return _builder_1.toString(); + } + } else { + String _simpleName_2 = String.class.getSimpleName(); + String _simpleName_3 = idType.getSimpleName(); + boolean _equals_1 = _simpleName_2.equals(_simpleName_3); + if (_equals_1) { + StringConcatenation _builder_2 = new StringConcatenation(); + _builder_2.append("savedDto.getId()"); + return _builder_2.toString(); + } + } + } + } + } + } + StringConcatenation _builder_3 = new StringConcatenation(); + return _builder_3.toString(); + } + + /** + * @param slot + * @return + */ + public String getIdForDto(final UiBeanSlot slot) { + JvmTypeReference _jvmType = slot.getJvmType(); + final JvmType type = _jvmType.getType(); + if ((type instanceof JvmDeclaredType)) { + final Iterable<JvmFeature> idList = ((JvmDeclaredType) type).findAllFeaturesByName("id"); + boolean _isEmpty = IterableExtensions.isEmpty(idList); + if (_isEmpty) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("null"); + return _builder.toString(); + } else { + for (final JvmFeature id : idList) { + if ((id instanceof JvmField)) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("savedDto.getId()"); + return _builder_1.toString(); + } + } + } + } + StringConcatenation _builder_2 = new StringConcatenation(); + return _builder_2.toString(); + } + + /** + * Provides the name of the first found bean slot defined in the ui view + * + * @param dialog + * @return + */ + public UiBeanSlot getMainBeanSlot(final Dialog dialog) { + UiBeanSlot _xifexpression = null; + boolean _isAutowire = dialog.isAutowire(); + if (_isAutowire) { + LDto _dto = dialog.getDto(); + final UiBeanSlot slot = AutowireUiFactory.createBeanSlot(_dto); + LDto _dto_1 = dialog.getDto(); + String _dtoFQN = AutowireUiFactory.getDtoFQN(_dto_1); + final JvmTypeReference typeRef = this._typeReferenceBuilder.typeRef(_dtoFQN); + slot.setJvmType(typeRef); + return slot; + } else { + UiView _uiView = dialog.getUiView(); + EList<UiBeanSlot> _beanSlots = _uiView.getBeanSlots(); + for (final UiBeanSlot uiBeanSlot : _beanSlots) { + return uiBeanSlot; + } + } + return _xifexpression; + } + + /** + * @param dialog + * @return + */ + public String createDtoServices(final Dialog dialog) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("// DTO Services (via DS)"); + String body = _builder.toString(); + UiView _uiView = dialog.getUiView(); + EList<UiBeanSlot> _beanSlots = _uiView.getBeanSlots(); + for (final UiBeanSlot uiBeanSlot : _beanSlots) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append(body, ""); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("dto"); + JvmTypeReference _jvmType = uiBeanSlot.getJvmType(); + String _simpleName = _jvmType.getSimpleName(); + _builder_1.append(_simpleName, ""); + _builder_1.append("Service = (IDTOServiceWithMutablePersistence<"); + JvmTypeReference _jvmType_1 = uiBeanSlot.getJvmType(); + String _simpleName_1 = _jvmType_1.getSimpleName(); + _builder_1.append(_simpleName_1, ""); + _builder_1.append(">)DtoServiceAccess.getService("); + JvmTypeReference _jvmType_2 = uiBeanSlot.getJvmType(); + String _simpleName_2 = _jvmType_2.getSimpleName(); + _builder_1.append(_simpleName_2, ""); + _builder_1.append(".class);"); + _builder_1.newLineIfNotEmpty(); + body = _builder_1.toString(); + } + return body; + } + + /** + * <p>build the data components. + * + * @param dialog + * @return + */ + public String removeOldView(final Dialog dialog) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("if (viewContext != null){"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("viewContext.dispose();"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.append("if (dataArea.getComponentCount() > 0) {"); + _builder.newLine(); + _builder.append(" \t"); + _builder.append("dataArea.removeAllComponents();"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + return _builder.toString(); + } + + /** + * Method to subscribe the view with the event broker to receive events due to the defined in the grammar + * + * @param dialog + * @param pckg + * @return + */ + public String subscribe(final Dialog dialog, final DialogPackage pckg) { + String body = ""; + int idx = 0; + UiView _uiView = dialog.getUiView(); + EList<UiBeanSlot> _beanSlots = _uiView.getBeanSlots(); + for (final UiBeanSlot uiBeanSlot : _beanSlots) { + { + JvmTypeReference _jvmType = uiBeanSlot.getJvmType(); + JvmType _type = _jvmType.getType(); + LEntity entity = EntityUtils.getEntityFromDto(_type); + boolean _notEquals = (!Objects.equal(entity, null)); + if (_notEquals) { + idx++; + if ((idx == 1)) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append(body, ""); + _builder.newLineIfNotEmpty(); + _builder.append("persistenceService.registerPersistenceUnit(\""); + String _persistenceUnit = null; + if (entity!=null) { + _persistenceUnit=entity.getPersistenceUnit(); + } + _builder.append(_persistenceUnit, ""); + _builder.append("\", "); + QualifiedName _fullyQualifiedName = null; + if (entity!=null) { + _fullyQualifiedName=this._iQualifiedNameProvider.getFullyQualifiedName(entity); + } + _builder.append(_fullyQualifiedName, ""); + _builder.append(".class);"); + _builder.newLineIfNotEmpty(); + _builder.append("log.debug(\"PersistenceService registered\");"); + body = _builder.toString(); + } + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append(body, ""); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("eventBroker.subscribe(EventBrokerMsg.AUTOWIRED_ENTITY_PREFIX+\""); + String _name = entity.getName(); + _builder_1.append(_name, ""); + _builder_1.append("\", tableSelectionHandler);"); + _builder_1.newLineIfNotEmpty(); + body = _builder_1.toString(); + } + } + } + StringConcatenation _builder = new StringConcatenation(); + _builder.append("\t"); + _builder.append(body, "\t"); + _builder.newLineIfNotEmpty(); + { + ActionToolbar _toolbar = dialog.getToolbar(); + boolean _notEquals = (!Objects.equal(_toolbar, null)); + if (_notEquals) { + _builder.append("\tString uuid = (String)getContext().get(\""); + ActionToolbar _toolbar_1 = dialog.getToolbar(); + String _name = _toolbar_1.getName(); + _builder.append(_name, ""); + _builder.append("_TOOLBAR_ID\");"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("eventBroker.subscribe(EventBrokerMsg.ACTION_BUTTON_EXECUTE_PREFIX+\""); + ActionToolbar _toolbar_2 = dialog.getToolbar(); + String _name_1 = _toolbar_2.getName(); + _builder.append(_name_1, "\t"); + _builder.append("Action\"+uuid, dispatchActionHandler);"); + _builder.newLineIfNotEmpty(); + } + } + _builder.append("\t"); + _builder.append("eventBroker.subscribe(EventBrokerMsg.DIALOG_STRATEGY_CHANGED,"); + _builder.newLine(); + _builder.append("\t\t"); + _builder.append("strategyEventHandler);"); + _builder.newLine(); + body = _builder.toString(); + return body; + } + + /** + * Method to unsubscribe the view with the event broker to receive events due to the defined in the grammar + * + * @param dialog + * @return + */ + public String unsubscribe(final Dialog dialog) { + StringConcatenation _builder = new StringConcatenation(); + { + ActionToolbar _toolbar = dialog.getToolbar(); + boolean _notEquals = (!Objects.equal(_toolbar, null)); + if (_notEquals) { + _builder.append("eventBroker.unsubscribe(dispatchActionHandler);"); + _builder.newLine(); + } + } + _builder.append("eventBroker.unsubscribe(tableSelectionHandler);"); + _builder.newLine(); + _builder.append("eventBroker.unsubscribe(strategyEventHandler);"); + String unsubscribers = _builder.toString(); + return unsubscribers; + } + + /** + * @param jvmType + * @return + */ + public String getDtoIdGetter(final JvmTypeReference jvmType) { + JvmType _type = jvmType.getType(); + LEntity _entityFromDto = EntityUtils.getEntityFromDto(_type); + return this.getDtoIdGetter(_entityFromDto); + } + + /** + * @param entity + * @return + */ + public String getDtoIdGetter(final LEntity entity) { + boolean _notEquals = (!Objects.equal(entity, null)); + if (_notEquals) { + List<LEntityAttribute> _allAttributes = entity.getAllAttributes(); + for (final LEntityAttribute attribute : _allAttributes) { + boolean _or = false; + boolean _isId = attribute.isId(); + if (_isId) { + _or = true; + } else { + boolean _isUuid = attribute.isUuid(); + _or = _isUuid; + } + if (_or) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("get"); + String _name = attribute.getName(); + String _firstUpper = Strings.toFirstUpper(_name); + _builder.append(_firstUpper, ""); + _builder.append("()"); + return _builder.toString(); + } + } + } + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("getId()"); + return _builder_1.toString(); + } + + /** + * @param body + * @param type + * @param dtoName + */ + public String addEntityIdModificationSendForDto(final String body, final JvmType type, final String dtoName) { + LEntity entity = EntityUtils.getEntityFromDto(type); + StringConcatenation _builder = new StringConcatenation(); + _builder.append(body, ""); + _builder.newLineIfNotEmpty(); + _builder.append("eventBroker.send(EventBrokerMsg.REFRESH_VIEW+\""); + EObject _eContainer = null; + if (entity!=null) { + _eContainer=entity.eContainer(); + } + String _name = ((LTypedPackage) _eContainer).getName(); + String _name_1 = null; + if (entity!=null) { + _name_1=entity.getName(); + } + String _entityIdModifiedCategory = EventBrokerMsg.getEntityIdModifiedCategory(_name, _name_1); + _builder.append(_entityIdModifiedCategory, ""); + _builder.append("\", new EventBrokerMsg("); + _builder.append(dtoName, ""); + _builder.append("."); + String _dtoIdGetter = this.getDtoIdGetter(entity); + _builder.append(_dtoIdGetter, ""); + _builder.append(", \""); + String _name_2 = null; + if (entity!=null) { + _name_2=entity.getName(); + } + _builder.append(_name_2, ""); + _builder.append("\"));"); + _builder.newLineIfNotEmpty(); + return _builder.toString(); + } + + /** + * @param dialog + * @return + */ + public String loadBeans(final Dialog dialog) { + StringConcatenation _builder = new StringConcatenation(); + String body = _builder.toString(); + UiView _uiView = dialog.getUiView(); + EList<UiBeanSlot> _beanSlots = _uiView.getBeanSlots(); + for (final UiBeanSlot uiBeanSlot : _beanSlots) { + { + JvmTypeReference _jvmType = uiBeanSlot.getJvmType(); + final String simpleTypeName = _jvmType.getSimpleName(); + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("newLoaded"); + _builder_1.append(simpleTypeName, ""); + final String variableName = _builder_1.toString(); + StringConcatenation _builder_2 = new StringConcatenation(); + _builder_2.append(body, ""); + _builder_2.newLineIfNotEmpty(); + _builder_2.append(simpleTypeName, ""); + _builder_2.append(" "); + _builder_2.append(variableName, ""); + _builder_2.append(" = null; "); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("Object data = event.getProperty(org.eclipse.e4.core.di.extensions.EventUtils.DATA);"); + _builder_2.newLine(); + _builder_2.append("if\t(data instanceof "); + _builder_2.append(simpleTypeName, ""); + _builder_2.append(") {"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t"); + _builder_2.append(variableName, "\t"); + _builder_2.append(" = ("); + _builder_2.append(simpleTypeName, "\t"); + _builder_2.append(")data;"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("}"); + _builder_2.newLine(); + _builder_2.append("else if (data instanceof EventBrokerMsg) {"); + _builder_2.newLine(); + _builder_2.append("\t"); + _builder_2.append("EventBrokerMsg msg = (EventBrokerMsg)data;"); + _builder_2.newLine(); + _builder_2.append("\t"); + _builder_2.append("String id = msg.getId();"); + _builder_2.newLine(); + _builder_2.append("\t"); + _builder_2.append("log.debug(\"load bean with id:\"+id);"); + _builder_2.newLine(); + _builder_2.append("\t"); + _builder_2.append("if (id!=null){"); + _builder_2.newLine(); + _builder_2.append("\t\t"); + _builder_2.append("try {"); + _builder_2.newLine(); + _builder_2.append("\t\t\t"); + _builder_2.append(variableName, "\t\t\t"); + _builder_2.append(" = dto"); + _builder_2.append(simpleTypeName, "\t\t\t"); + _builder_2.append("Service.get((int)Double.parseDouble(id));"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t\t"); + _builder_2.append("} catch (NumberFormatException e) {"); + _builder_2.newLine(); + _builder_2.append("\t\t\t"); + _builder_2.append(variableName, "\t\t\t"); + _builder_2.append(" = dto"); + _builder_2.append(simpleTypeName, "\t\t\t"); + _builder_2.append("Service.get(id);"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t "); + _builder_2.append("} catch (NullPointerException e) {"); + _builder_2.newLine(); + _builder_2.append("\t "); + _builder_2.append(variableName, "\t "); + _builder_2.append(" = dto"); + _builder_2.append(simpleTypeName, "\t "); + _builder_2.append("Service.get(id);"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t\t"); + _builder_2.append("}"); + _builder_2.newLine(); + _builder_2.append("\t"); + _builder_2.append("}"); + _builder_2.newLine(); + _builder_2.append("}"); + _builder_2.newLine(); + _builder_2.append("ecviewComponent.setValue(VIEW_ID, "); + _builder_2.append(variableName, ""); + _builder_2.append(", params);"); + _builder_2.newLineIfNotEmpty(); + body = _builder_2.toString(); + } + } + return body; + } + + public String showDeleteException(final MessageItem messageItem) { + return this.showException(messageItem, "Delete of this element is not allowed!"); + } + + public String showSaveException(final MessageItem messageItem) { + return this.showException(messageItem, "Save of this element is not allowed!"); + } + + public String showException(final MessageItem messageItem, final String alternateMessage) { + boolean _notEquals = (!Objects.equal(messageItem, null)); + if (_notEquals) { + String messageClassName = MessageDslJvmModelInferrer.getFQMessageClass(messageItem); + String messageItemName = MessageDslJvmModelInferrer.getMethodName(messageItem); + StringConcatenation _builder = new StringConcatenation(); + _builder.append("org.eclipse.osbp.xtext.messagedsl.common.Message errorMsg = "); + _builder.append(messageClassName, ""); + _builder.append("."); + _builder.append(messageItemName, ""); + _builder.append("(ex, ex.getMessage());"); + _builder.newLineIfNotEmpty(); + _builder.append("Notification.show(errorMsg.getShowMessage());"); + _builder.newLine(); + _builder.append("log.error(errorMsg.getLogMessage());"); + return _builder.toString(); + } else { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("Notification.show(\""); + _builder_1.append(alternateMessage, ""); + _builder_1.append("\");"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("log.error(ex.getClass().getSimpleName() + \" - "); + _builder_1.append(alternateMessage, ""); + _builder_1.append(": \" + ex.getMessage());"); + return _builder_1.toString(); + } + } + + public MessageItem getDialogDeleteMessageItem(final Dialog dialog) { + return this.dialogMessageItem(dialog, DialogActionEnum.DIALOG_ACTION_DELETE_VALUE); + } + + public MessageItem getDialogSaveMessageItem(final Dialog dialog) { + return this.dialogMessageItem(dialog, DialogActionEnum.DIALOG_ACTION_SAVE_VALUE); + } + + public MessageItem dialogMessageItem(final Dialog dialog, final int dialogActionOrdinal) { + ActionToolbar _toolbar = dialog.getToolbar(); + boolean _notEquals = (!Objects.equal(_toolbar, null)); + if (_notEquals) { + ActionToolbar _toolbar_1 = dialog.getToolbar(); + EList<ActionButton> _actions = _toolbar_1.getActions(); + for (final ActionButton action : _actions) { + ActionType _actionType = action.getActionType(); + if ((_actionType instanceof ActionDialog)) { + ActionType _actionType_1 = action.getActionType(); + ActionDialog osActionDialog = ((ActionDialog) _actionType_1); + DialogActionEnum _action = osActionDialog.getAction(); + int _ordinal = _action.ordinal(); + boolean _equals = (dialogActionOrdinal == _ordinal); + if (_equals) { + MessageItem _message = action.getMessage(); + return ((MessageItem) _message); + } + } + } + } + return null; + } + + public String localeChanged(final UiView view) { + String body = ""; + EList<UiBeanSlot> slots = view.getBeanSlots(); + for (final UiBeanSlot slot : slots) { + JvmTypeReference _jvmType = slot.getJvmType(); + JvmType _type = _jvmType.getType(); + String _name = IStateMachineParticipant.class.getName(); + boolean _containsSuperType = this.containsSuperType(_type, _name); + if (_containsSuperType) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append(body, ""); + _builder.newLineIfNotEmpty(); + _builder.append("if(getViewContext() != null && getViewContext().getBeanSlot(\""); + String _name_1 = slot.getName(); + _builder.append(_name_1, ""); + _builder.append("\") != null) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("((IStateMachineParticipant)getViewContext().getBeanSlot(\""); + String _name_2 = slot.getName(); + _builder.append(_name_2, "\t"); + _builder.append("\").getValue()).setLocale(locale);"); + _builder.newLineIfNotEmpty(); + _builder.append("}"); + body = _builder.toString(); + } else { + JvmTypeReference _jvmType_1 = slot.getJvmType(); + JvmType _type_1 = _jvmType_1.getType(); + String _name_3 = IStateMachine.class.getName(); + boolean _containsSuperType_1 = this.containsSuperType(_type_1, _name_3); + if (_containsSuperType_1) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append(body, ""); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("if(getViewContext() != null && getViewContext().getBeanSlot(\""); + String _name_4 = slot.getName(); + _builder_1.append(_name_4, ""); + _builder_1.append("\") != null) {"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("\t"); + _builder_1.append("((IStateMachine)getViewContext().getBeanSlot(\""); + String _name_5 = slot.getName(); + _builder_1.append(_name_5, "\t"); + _builder_1.append("\").getValue()).setLocale(locale);"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("}"); + body = _builder_1.toString(); + } + } + } + return body; + } + + public String createRenderingParams(final UiView view) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Map<String, Object> params = super.createRenderingParams();"); + _builder.newLine(); + _builder.append("IConfiguration config = new IConfiguration() {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("@Override"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("public void beforeUiRendering(IContext viewContext) {"); + _builder.newLine(); + String body = _builder.toString(); + EList<UiBeanSlot> slots = view.getBeanSlots(); + for (final UiBeanSlot slot : slots) { + boolean _or = false; + JvmTypeReference _jvmType = slot.getJvmType(); + JvmType _type = _jvmType.getType(); + String _name = IStateMachineParticipant.class.getName(); + boolean _containsSuperType = this.containsSuperType(_type, _name); + if (_containsSuperType) { + _or = true; + } else { + JvmTypeReference _jvmType_1 = slot.getJvmType(); + JvmType _type_1 = _jvmType_1.getType(); + String _name_1 = IPeripheral.class.getName(); + boolean _containsSuperType_1 = this.containsSuperType(_type_1, _name_1); + _or = _containsSuperType_1; + } + if (_or) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append(body, ""); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("\t\t"); + _builder_1.append("IStateMachineParticipant "); + String _name_2 = slot.getName(); + _builder_1.append(_name_2, "\t\t"); + _builder_1.append(" = new "); + JvmTypeReference _jvmType_2 = slot.getJvmType(); + String _qualifiedName = _jvmType_2.getQualifiedName(); + _builder_1.append(_qualifiedName, "\t\t"); + _builder_1.append("();"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("\t\t"); + String _name_3 = slot.getName(); + _builder_1.append(_name_3, "\t\t"); + _builder_1.append(".setViewContext((IViewContext)viewContext);"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("\t\t"); + String _name_4 = slot.getName(); + _builder_1.append(_name_4, "\t\t"); + _builder_1.append(".setLocale(getUser().getLocale());"); + _builder_1.newLineIfNotEmpty(); + _builder_1.append("\t\t"); + _builder_1.append("viewContext.createBeanSlot(\""); + String _name_5 = slot.getName(); + _builder_1.append(_name_5, "\t\t"); + _builder_1.append("\", "); + JvmTypeReference _jvmType_3 = slot.getJvmType(); + String _qualifiedName_1 = _jvmType_3.getQualifiedName(); + _builder_1.append(_qualifiedName_1, "\t\t"); + _builder_1.append(".class).setValue("); + String _name_6 = slot.getName(); + _builder_1.append(_name_6, "\t\t"); + _builder_1.append(");"); + _builder_1.newLineIfNotEmpty(); + body = _builder_1.toString(); + } else { + JvmTypeReference _jvmType_4 = slot.getJvmType(); + JvmType _type_2 = _jvmType_4.getType(); + String _name_7 = IStateMachine.class.getName(); + boolean _containsSuperType_2 = this.containsSuperType(_type_2, _name_7); + if (_containsSuperType_2) { + StringConcatenation _builder_2 = new StringConcatenation(); + _builder_2.append(body, ""); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t\t"); + _builder_2.append("IStateMachine "); + String _name_8 = slot.getName(); + _builder_2.append(_name_8, "\t\t"); + _builder_2.append(" = new "); + JvmTypeReference _jvmType_5 = slot.getJvmType(); + String _qualifiedName_2 = _jvmType_5.getQualifiedName(); + _builder_2.append(_qualifiedName_2, "\t\t"); + _builder_2.append("();"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t\t"); + String _name_9 = slot.getName(); + _builder_2.append(_name_9, "\t\t"); + _builder_2.append(".setLocale(getUser().getLocale());"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t\t"); + String _name_10 = slot.getName(); + _builder_2.append(_name_10, "\t\t"); + _builder_2.append(".setUser(getUser());"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t\t"); + String _name_11 = slot.getName(); + _builder_2.append(_name_11, "\t\t"); + _builder_2.append(".setDslMetadataService(getDslMetadataService());"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t\t"); + String _name_12 = slot.getName(); + _builder_2.append(_name_12, "\t\t"); + _builder_2.append(".setThemeResourceService(getThemeResourceService());"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t\t"); + String _name_13 = slot.getName(); + _builder_2.append(_name_13, "\t\t"); + _builder_2.append(".setReportProvider(getReportProvider());"); + _builder_2.newLineIfNotEmpty(); + _builder_2.append("\t\t"); + _builder_2.append("viewContext.createBeanSlot(\""); + String _name_14 = slot.getName(); + _builder_2.append(_name_14, "\t\t"); + _builder_2.append("\", "); + JvmTypeReference _jvmType_6 = slot.getJvmType(); + String _qualifiedName_3 = _jvmType_6.getQualifiedName(); + _builder_2.append(_qualifiedName_3, "\t\t"); + _builder_2.append(".class).setValue("); + String _name_15 = slot.getName(); + _builder_2.append(_name_15, "\t\t"); + _builder_2.append(");"); + _builder_2.newLineIfNotEmpty(); + body = _builder_2.toString(); + } else { + StringConcatenation _builder_3 = new StringConcatenation(); + _builder_3.append(body, ""); + _builder_3.newLineIfNotEmpty(); + _builder_3.append("\t\t"); + _builder_3.append("viewContext.createBeanSlot(\""); + String _name_16 = slot.getName(); + _builder_3.append(_name_16, "\t\t"); + _builder_3.append("\", "); + JvmTypeReference _jvmType_7 = slot.getJvmType(); + String _qualifiedName_4 = _jvmType_7.getQualifiedName(); + _builder_3.append(_qualifiedName_4, "\t\t"); + _builder_3.append(".class).setValue(new "); + JvmTypeReference _jvmType_8 = slot.getJvmType(); + String _qualifiedName_5 = _jvmType_8.getQualifiedName(); + _builder_3.append(_qualifiedName_5, "\t\t"); + _builder_3.append("());"); + _builder_3.newLineIfNotEmpty(); + body = _builder_3.toString(); + } + } + } + StringConcatenation _builder_4 = new StringConcatenation(); + _builder_4.append(body, ""); + _builder_4.newLineIfNotEmpty(); + _builder_4.append("\t"); + _builder_4.append("}"); + _builder_4.newLine(); + _builder_4.append("\t"); + _builder_4.append("@Override"); + _builder_4.newLine(); + _builder_4.append("\t"); + _builder_4.append("public void afterUiRendering(IContext context) {"); + _builder_4.newLine(); + _builder_4.append("\t"); + _builder_4.append("}"); + _builder_4.newLine(); + _builder_4.append("\t"); + _builder_4.append("@Override"); + _builder_4.newLine(); + _builder_4.append("\t"); + _builder_4.append("public void beforeBind(IContext context) {"); + _builder_4.newLine(); + body = _builder_4.toString(); + StringConcatenation _builder_5 = new StringConcatenation(); + _builder_5.append(body, ""); + _builder_5.newLineIfNotEmpty(); + _builder_5.append("\t"); + _builder_5.append("}"); + _builder_5.newLine(); + _builder_5.append("\t"); + _builder_5.append("@Override"); + _builder_5.newLine(); + _builder_5.append("\t"); + _builder_5.append("public void afterBind(IContext context) {"); + _builder_5.newLine(); + body = _builder_5.toString(); + for (final UiBeanSlot slot_1 : slots) { + JvmTypeReference _jvmType_9 = slot_1.getJvmType(); + JvmType _type_3 = _jvmType_9.getType(); + String _name_17 = IStateMachineParticipant.class.getName(); + boolean _containsSuperType_3 = this.containsSuperType(_type_3, _name_17); + if (_containsSuperType_3) { + StringConcatenation _builder_6 = new StringConcatenation(); + _builder_6.append(body, ""); + _builder_6.newLineIfNotEmpty(); + _builder_6.append("\t\t"); + _builder_6.append("((IStateMachineParticipant)context.getBeanSlot(\""); + String _name_18 = slot_1.getName(); + _builder_6.append(_name_18, "\t\t"); + _builder_6.append("\").getValue()).init();"); + _builder_6.newLineIfNotEmpty(); + body = _builder_6.toString(); + } + } + for (final UiBeanSlot slot_2 : slots) { + JvmTypeReference _jvmType_10 = slot_2.getJvmType(); + JvmType _type_4 = _jvmType_10.getType(); + String _name_19 = IStateMachine.class.getName(); + boolean _containsSuperType_4 = this.containsSuperType(_type_4, _name_19); + if (_containsSuperType_4) { + StringConcatenation _builder_7 = new StringConcatenation(); + _builder_7.append(body, ""); + _builder_7.newLineIfNotEmpty(); + _builder_7.append("\t\t"); + _builder_7.append("((IStateMachine)context.getBeanSlot(\""); + String _name_20 = slot_2.getName(); + _builder_7.append(_name_20, "\t\t"); + _builder_7.append("\").getValue()).start();"); + _builder_7.newLineIfNotEmpty(); + body = _builder_7.toString(); + } + } + StringConcatenation _builder_8 = new StringConcatenation(); + _builder_8.append(body, ""); + _builder_8.newLineIfNotEmpty(); + _builder_8.append("\t"); + _builder_8.append("}"); + _builder_8.newLine(); + _builder_8.append("};"); + _builder_8.newLine(); + _builder_8.append("params.put(IViewContext.PARAM_CONFIGURATION, config);"); + _builder_8.newLine(); + _builder_8.append("return params;"); + _builder_8.newLine(); + body = _builder_8.toString(); + return body; + } + + /** + * <p>create a handler for the load bean event. + */ + public String tableSelectionHandler(final Dialog dialog) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("tableSelectionHandler = new EventHandler() {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("@Override"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("public void handleEvent(Event event) {"); + _builder.newLine(); + _builder.append("\t\t"); + String _loadBeans = this.loadBeans(dialog); + _builder.append(_loadBeans, "\t\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("}"); + _builder.newLine(); + _builder.append("};"); + _builder.newLine(); + return _builder.toString(); + } + + /** + * Method to set a default instance into the view context (for each defined datasource object in the uimodel) + */ + public String setBeanToViewContext(final Dialog dialog) { + StringConcatenation _builder = new StringConcatenation(); + String body = _builder.toString(); + UiView _uiView = dialog.getUiView(); + EList<UiBeanSlot> _beanSlots = _uiView.getBeanSlots(); + for (final UiBeanSlot uiBeanSlot : _beanSlots) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append(body, ""); + _builder_1.append("viewContext.setBean(\""); + String _name = uiBeanSlot.getName(); + _builder_1.append(_name, ""); + _builder_1.append("\","); + String _name_1 = uiBeanSlot.getName(); + _builder_1.append(_name_1, ""); + _builder_1.append(");"); + body = _builder_1.toString(); + } + return body; + } + + public String getViewName(final Dialog dialog) { + boolean _isAutowire = dialog.isAutowire(); + if (_isAutowire) { + return AutowireUiFactory.getECViewName(dialog); + } else { + UiView _uiView = dialog.getUiView(); + return _uiView.getName(); + } + } + + public String getUiModelPackageName(final Dialog dialog) { + boolean _isAutowire = dialog.isAutowire(); + if (_isAutowire) { + return AutowireUiFactory.getECViewPackage(dialog); + } else { + UiView _uiView = dialog.getUiView(); + EObject parent = _uiView.eContainer(); + while ((!(parent instanceof UiModel))) { + EObject _eContainer = parent.eContainer(); + parent = _eContainer; + } + UiModel uiModel = ((UiModel) parent); + return uiModel.getPackageName(); + } + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/scoping/DialogDslScopeProvider.java b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/scoping/DialogDslScopeProvider.java new file mode 100644 index 0000000..be812bc --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/scoping/DialogDslScopeProvider.java @@ -0,0 +1,33 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.scoping; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.xtext.scoping.IScope; +import org.eclipse.xtext.xbase.annotations.typesystem.XbaseWithAnnotationsBatchScopeProvider; + +/** + * This class contains custom scoping description. + * + * see : http://www.eclipse.org/Xtext/documentation.html#scoping + * on how and when to use it + */ +@SuppressWarnings("all") +public class DialogDslScopeProvider extends XbaseWithAnnotationsBatchScopeProvider { + public IScope getScope(final EObject context, final EReference reference) { + return super.getScope(context, reference); + } +} diff --git a/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/validation/DialogDslValidator.java b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/validation/DialogDslValidator.java new file mode 100644 index 0000000..37f5d9a --- /dev/null +++ b/org.eclipse.osbp.xtext.dialogdsl/xtend-gen/org/eclipse/osbp/xtext/dialogdsl/validation/DialogDslValidator.java @@ -0,0 +1,106 @@ +/** + * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * ============================================================================ + * Initial contribution: + * Loetz GmbH & Co. KG + * + * generated by xtext + */ +package org.eclipse.osbp.xtext.dialogdsl.validation; + +import com.google.common.base.Objects; +import java.util.List; +import org.eclipse.core.databinding.DataBindingContext; +import org.eclipse.core.databinding.beans.BeansObservables; +import org.eclipse.emf.common.util.EList; +import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage; +import org.eclipse.osbp.xtext.dialogdsl.DialogModel; +import org.eclipse.osbp.xtext.dialogdsl.validation.AbstractDialogDslValidator; +import org.eclipse.xtext.common.types.JvmGenericType; +import org.eclipse.xtext.common.types.JvmType; +import org.eclipse.xtext.common.types.JvmTypeParameter; +import org.eclipse.xtext.common.types.util.TypeReferences; +import org.eclipse.xtext.validation.Check; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.typesystem.util.CommonTypeComputationServices; + +/** + * Custom validation rules. + * + * see http://www.eclipse.org/Xtext/documentation.html#validation + */ +@SuppressWarnings("all") +public class DialogDslValidator extends AbstractDialogDslValidator { + public final static String CODE__MISSING__L_RUNTIME_COMMON = "0_108"; + + public final static String CODE__MISSING__DATATYPE_LIB = "0_109"; + + public final static String CODE__MISSING__XBASE_LIB = "0_111"; + + public final static String CODE__MISSING__JDK_1_5 = "0_112"; + + @Check + public void checkClassPath(final DialogModel dialogModel) { + CommonTypeComputationServices _services = this.getServices(); + TypeReferences typeReferences = _services.getTypeReferences(); + JvmType _findDeclaredType = typeReferences.findDeclaredType(List.class, dialogModel); + final JvmGenericType listType = ((JvmGenericType) _findDeclaredType); + boolean _or = false; + boolean _equals = Objects.equal(listType, null); + if (_equals) { + _or = true; + } else { + EList<JvmTypeParameter> _typeParameters = listType.getTypeParameters(); + boolean _isEmpty = _typeParameters.isEmpty(); + _or = _isEmpty; + } + if (_or) { + this.error("Couldn\'t find a JDK 1.5 or higher on the project\'s classpath.", dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + DialogDslValidator.CODE__MISSING__JDK_1_5); + } + JvmType _findDeclaredType_1 = typeReferences.findDeclaredType(DataBindingContext.class, dialogModel); + boolean _equals_1 = Objects.equal(_findDeclaredType_1, null); + if (_equals_1) { + this.error("Couldn\'t find a the mandatory library \'org.eclipse.core.databinding\' on the project\'s classpath.", dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + ""); + } + JvmType _findDeclaredType_2 = typeReferences.findDeclaredType(BeansObservables.class, dialogModel); + boolean _equals_2 = Objects.equal(_findDeclaredType_2, null); + if (_equals_2) { + this.error("Couldn\'t find a the mandatory library \'org.eclipse.core.databinding.beans\' on the project\'s classpath.", dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + ""); + } + JvmType _findDeclaredType_3 = typeReferences.findDeclaredType( + "org.eclipse.osbp.runtime.common.annotations.Dispose", dialogModel); + boolean _equals_3 = Objects.equal(_findDeclaredType_3, null); + if (_equals_3) { + this.error("Couldn\'t find the mandatory library \'org.eclipse.osbp.runtime.common\' on the project\'s classpath.", dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + DialogDslValidator.CODE__MISSING__L_RUNTIME_COMMON); + } + JvmType _findDeclaredType_4 = typeReferences.findDeclaredType(Extension.class, dialogModel); + boolean _equals_4 = Objects.equal(_findDeclaredType_4, null); + if (_equals_4) { + this.error("Couldn\'t find the mandatory library \'org.eclipse.xtext.xbase.lib\' 2.7.3 or higher on the project\'s classpath.", dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + DialogDslValidator.CODE__MISSING__XBASE_LIB); + } + JvmType _findDeclaredType_5 = typeReferences.findDeclaredType( + "org.eclipse.osbp.dsl.common.datatypes.IDatatypeConstants", dialogModel); + boolean _equals_5 = Objects.equal(_findDeclaredType_5, null); + if (_equals_5) { + this.warning("Couldn\'t find the optional library \'org.eclipse.osbp.dsl.datatype.lib\' on the project\'s classpath. This may cause resolving problems.", dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + DialogDslValidator.CODE__MISSING__DATATYPE_LIB); + } + JvmType _findDeclaredType_6 = typeReferences.findDeclaredType("javax.validation.Valid", dialogModel); + boolean _equals_6 = Objects.equal(_findDeclaredType_6, null); + if (_equals_6) { + this.error("Couldn\'t find the library \'javax.validation\' on the project\'s classpath. This may cause resolving problems.", dialogModel, DialogDSLPackage.Literals.DIALOG_MODEL__PCKG, + DialogDslValidator.CODE__MISSING__DATATYPE_LIB); + } + } +} @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--#======================================================================= --> +<!--# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany). --> +<!--# All rights reserved. This program and the accompanying materials --> +<!--# are made available under the terms of the Eclipse Public License v1.0 --> +<!--# which accompanies this distribution, and is available at --> +<!--# http://www.eclipse.org/legal/epl-v10.html --> +<!--# --> +<!--# Contributors: --> +<!--# Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation API and implementation --> +<!--#======================================================================= --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.eclipse.osbp.releng.maven</groupId> + <artifactId>org.eclipse.osbp.releng.maven.parent.tycho</artifactId> + <version>0.9.0-SNAPSHOT</version> + <relativePath /> + </parent> + + <groupId>org.eclipse.osbp.xtext.dialogdsl</groupId> + <artifactId>org.eclipse.osbp.xtext.dialogdsl.aggregator</artifactId> + <packaging>pom</packaging> + + <url>${osbp.site.repository.url}</url> + <scm> + <url>${osbp.scm.url}</url> + <connection>${osbp.scm.connection}</connection> + <developerConnection>${osbp.scm.connection.dev}</developerConnection> + <tag>HEAD</tag> + </scm> + <distributionManagement> + <site> + <id>gh-pages</id> + <name>OSBP GitHub Pages</name> + <url>${distribution.site.url}</url> + </site> + </distributionManagement> + + <properties> + <osbp.gitrepo.name>${project.groupId}</osbp.gitrepo.name> + </properties> + + <modules> + <module>org.eclipse.osbp.xtext.dialogdsl</module> + <module>org.eclipse.osbp.xtext.dialogdsl.tests</module> + <module>org.eclipse.osbp.xtext.dialogdsl.ui</module> + <module>org.eclipse.osbp.xtext.dialogdsl.feature</module> + </modules> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <resolver>p2</resolver> + <pomDependencies>consider</pomDependencies> + <environments> + <environment> + <os>win32</os> + <ws>win32</ws> + <arch>x86_64</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86</arch> + </environment> + <environment> + <os>linux</os> + <ws>gtk</ws> + <arch>x86_64</arch> + </environment> + <environment> + <os>macosx</os> + <ws>cocoa</ws> + <arch>x86_64</arch> + </environment> + </environments> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> +</project> |